pb-sxp-ui 1.3.1 → 1.3.2
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.
- package/dist/index.cjs +190 -146
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +190 -146
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +3 -3
- package/dist/index.min.cjs.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/pb-ui.js +190 -146
- package/dist/pb-ui.js.map +1 -1
- package/dist/pb-ui.min.js +3 -3
- package/dist/pb-ui.min.js.map +1 -1
- package/es/core/components/SxpPageRender/Modal/index.js +3 -3
- package/es/core/components/SxpPageRender/RenderCard.d.ts +3 -3
- package/es/core/components/SxpPageRender/RenderCard.js +17 -27
- package/es/core/components/SxpPageRender/WaterFall/List.js +20 -11
- package/es/core/components/SxpPageRender/WaterFall/WaterfallList.js +20 -11
- package/es/core/components/SxpPageRender/index.js +14 -10
- package/es/core/context/EditorDataProvider.d.ts +3 -0
- package/es/core/context/EditorDataProvider.js +2 -1
- package/es/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/es/core/context/SxpDataSourceProvider.js +43 -31
- package/es/core/utils/tool.d.ts +3 -3
- package/es/core/utils/tool.js +6 -6
- package/es/materials/sxp/HashTag/index.d.ts +3 -1
- package/es/materials/sxp/HashTag/settingRender.d.ts +7 -0
- package/es/materials/sxp/HashTag/settingRender.js +6 -0
- package/es/materials/sxp/popup/CommodityDetail/index.js +13 -14
- package/es/materials/sxp/popup/CommodityDetailDiroNew/index.js +13 -14
- package/es/materials/sxp/popup/CommodityList/index.d.ts +3 -1
- package/es/materials/sxp/popup/CommodityList/index.js +11 -7
- package/es/materials/sxp/popup/CommodityList/settingRender.d.ts +7 -0
- package/es/materials/sxp/popup/CommodityList/settingRender.js +6 -0
- package/es/materials/sxp/popup/Iframe/index.d.ts +1 -0
- package/es/materials/sxp/popup/Iframe/index.js +8 -7
- package/lib/core/components/SxpPageRender/Modal/index.js +3 -3
- package/lib/core/components/SxpPageRender/RenderCard.d.ts +3 -3
- package/lib/core/components/SxpPageRender/RenderCard.js +16 -26
- package/lib/core/components/SxpPageRender/WaterFall/List.js +20 -11
- package/lib/core/components/SxpPageRender/WaterFall/WaterfallList.js +20 -11
- package/lib/core/components/SxpPageRender/index.js +14 -10
- package/lib/core/context/EditorDataProvider.d.ts +3 -0
- package/lib/core/context/EditorDataProvider.js +2 -1
- package/lib/core/context/SxpDataSourceProvider.d.ts +1 -0
- package/lib/core/context/SxpDataSourceProvider.js +43 -31
- package/lib/core/utils/tool.d.ts +3 -3
- package/lib/core/utils/tool.js +6 -6
- package/lib/materials/sxp/HashTag/index.d.ts +3 -1
- package/lib/materials/sxp/HashTag/settingRender.d.ts +7 -0
- package/lib/materials/sxp/HashTag/settingRender.js +6 -0
- package/lib/materials/sxp/popup/CommodityDetail/index.js +13 -14
- package/lib/materials/sxp/popup/CommodityDetailDiroNew/index.js +13 -14
- package/lib/materials/sxp/popup/CommodityList/index.d.ts +3 -1
- package/lib/materials/sxp/popup/CommodityList/index.js +11 -7
- package/lib/materials/sxp/popup/CommodityList/settingRender.d.ts +7 -0
- package/lib/materials/sxp/popup/CommodityList/settingRender.js +6 -0
- package/lib/materials/sxp/popup/Iframe/index.d.ts +1 -0
- package/lib/materials/sxp/popup/Iframe/index.js +8 -7
- package/package.json +1 -1
package/dist/pb-ui.min.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
(function(Ge,Ue){typeof exports=="object"&&typeof module<"u"?Ue(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("eventemitter3"),require("@emotion/css"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","eventemitter3","@emotion/css","react-dom"],Ue):(Ge=typeof globalThis<"u"?globalThis:Ge||self,Ue(Ge.PUI={},Ge.lodash,Ge.uuid$1,Ge.pako,Ge.React,Ge.qs,Ge.EventEmitter,Ge.css,Ge.ReactDOM))})(this,function(Ge,Ue,On,Ln,o,Qt,Bn,be,ki){"use strict";function Nn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var _i=Nn(ki);function Xe(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i}function Re(t,e,i,n){function s(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function a(c){try{v(n.next(c))}catch(f){r(f)}}function d(c){try{v(n.throw(c))}catch(f){r(f)}}function v(c){c.done?l(c.value):s(c.value).then(a,d)}v((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Fn=/:\w+/g;var Pi=(t,e)=>Re(void 0,void 0,void 0,function*(){const i={},n={};for(let s=0;s<e?.length;s++){const{id:l,method:r,url:a,urlParams:d,name:v,queryString:c,headers:f,body:m}=e[s];let h=a;d&&Object.entries(d).forEach(([w,y])=>{h=h.replace(Fn,P=>P===w?y:P)}),c&&(h+=c),n[l]=v;try{const w=yield fetch(h,{method:r,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:n}});const Di="SXP_TOKEN_INFO",jn=(t,e)=>Re(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),s=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Di);let a=JSON.parse(r||"{}");if(Date.now()>((i=a?.expireTime)!==null&&i!==void 0?i:0)){const v=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":s||""}}).then(c=>c.json());if(v.success){const c=v.data;a=Object.assign(Object.assign({},c),{expireTime:Date.now()+c.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(a))}}return a});function Nt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let s;if(e=e||i.length,t)for(s=0;s<t;s++)n[s]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",s=0;s<36;s++)n[s]||(l=0|Math.random()*16,n[s]=i[s===19?l&3|8:l])}return n.join("")}const Vn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let s=0;for(;s<t;)e+=i.charAt(Math.floor(Math.random()*n)),s+=1;return e},zn=()=>{const t=On.v4();return t?.replaceAll?t.replaceAll("-",""):Vn(32)},ge=(t,e)=>{if(!t)return"";let i="";const n=e?.["fontFamily-cn"],s=e?.["fontFamily-en"];if(!n&&!s)return t;let l=t;const r=/[\u4e00-\u9fa5]/g,a=/[^\u4e00-\u9fa5]/g,d=`font-family:${n??"inherit"}`,v=`font-family:${s??"inherit"}`,c=m=>{let h=m.search(r),w=m.search(a);return h!==-1&&w!==-1&&h<w&&(i+=`<span style="${d}">${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="${d}">${m.substring(h,m?.length)}</span>`,l="",!1):!0};let f=!0;for(;f;)f=c(l);return i};function Hn(){var t,e,i,n,s,l,r;let a=self.navigator.userAgent;return a?/edge\/([\d\.]+)/i.exec(a)?`Edge ${(t=/edge\/([\d\.]+)/i.exec(a))===null||t===void 0?void 0:t[1]}`:/edg\/([\d\.]+)/i.exec(a)?`Edge(Chromium) ${(e=/edge\/([\d\.]+)/i.exec(a))===null||e===void 0?void 0:e[1]}`:/msie/i.test(a)?`Internet Explorer ${(i=/msie ([\d\.]+)/i.exec(a))===null||i===void 0?void 0:i[1]}`:/Trident/i.test(a)?`Internet Explorer ${(n=/rv:([\d\.]+)/i.exec(a))===null||n===void 0?void 0:n[1]}`:/chrome/i.test(a)?`Chrome ${(s=/chrome\/([\d\.]+)/i.exec(a))===null||s===void 0?void 0:s[1]}`:/firefox/i.test(a)?`Firefox ${(l=/firefox\/([\d\.]+)/i.exec(a))===null||l===void 0?void 0:l[1]}`:/safari/i.test(a)?`Safari ${(r=/version\/([\d\.]+)/i.exec(a))===null||r===void 0?void 0:r[1]}`:"Unknown":"Unknown"}function Un(){var t,e,i;let n=self.navigator.userAgent;return n?/iphone/i.test(n)?`IOS ${(t=n.match(/OS\s(.*?)\slike/))===null||t===void 0?void 0:t[1]}`:/android/i.test(n)?`Android ${(e=n.match(/Android\s(.*?)\;/))===null||e===void 0?void 0:e[1]}`:/windows/i.test(n)?`Windows ${(i=n.match(/Windows\s(.*?)\;/))===null||i===void 0?void 0:i[1]}`:/mac/i.test(n)?"Mac OS":"Unknown":"Unknown"}function Gn(){let t=self.navigator.userAgent;if(!t)return"Unknown";if(/iphone/i.test(t))return"iPhone";if(/android/i.test(t)){var e=t.indexOf("("),i=t.indexOf(")");if(e!==-1&&i!==-1){var n=t.substring(e+1,i);return`${n}`}}return/windows/i.test(t)?"Windows":/mac/i.test(t)?"Mac":"Unknown"}function Mi(t){const i=document.cookie.split(";");let n=null;return i.forEach(s=>{const[l,r]=s.trim().split("=");l===t&&(n=r)}),n??""}function Oi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),s=Ln.inflate(n,{to:"string"});return JSON.parse(s)}let Rt=null;const Wn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Yn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Rt)return Rt;Rt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let $e=null;const Xn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{$e||($e=new Yn),n&&$e.setApiUrl(n),$e.setAppId(t),$e.setTenantId(e),$e.setEnv(i)},getDetail:t=>{if(!$e)return;const e=$e.getTenantId(),i=$e.getAppId(),n=$e.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>Re(void 0,void 0,void 0,function*(){var l,r;const a=yield s.json(),d=Oi((l=a?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:v}=yield Pi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);a.data.data=d,Object.assign(a.data.data,{__STORE__:v})}return a}))},getSxpDetailByPageId:t=>Re(void 0,void 0,void 0,function*(){if(!$e)return;const e=$e.getTenantId(),i=$e.getAppId(),n=$e.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>Re(void 0,void 0,void 0,function*(){var l;const r=yield s.json();if(!r.success)return;const a=Oi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=a,r.data}))}),getSxpRecommendVideoData:t=>Re(void 0,void 0,void 0,function*(){if(!$e)return;const e=yield jn($e,t),i=Nt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Ue.isEmpty(n)&&(n=Nt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const s=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return s?.data||null})};function at(){return o.useContext(Yi)}function qn(){return o.useContext(Wi)}const $t="feRealSessionIdKey",Li=()=>{const t=zn();return`${Date.now()}${t}`},Jn=()=>{let t=Kn();return t||(t=Li(),window.sessionStorage.setItem($t,t)),t},Bi=()=>{const t=Li();window.sessionStorage.setItem($t,t)},Kn=()=>window.sessionStorage.getItem($t),Ni="SXP_FAKE_USER_ID",Fi="FAKE_USER_STATE",ji="AGREE_POLICY",Vi="SLIDE_SKIP_STATE",zi=()=>{let t=window.localStorage.getItem(Ni);return Ue.isEmpty(t)&&(t=Nt(36,62),window.localStorage.setItem(Ni,t)),t},Zn=()=>{const t=window.localStorage.getItem(Fi);return Ue.isEmpty(t)&&window.localStorage.setItem(Fi,"true"),Ue.isEmpty(t)},Qn=()=>{const t=window.localStorage.getItem(Vi);return Ue.isEmpty(t)},Rn=()=>{window.localStorage.setItem(Vi,"true")};function lt(t,e){const{appDomain:i}=Ee();return o.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ut=new Bn;var it;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(it||(it={}));const $n=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:s,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:a}=Ee(),d=o.useMemo(()=>{const f=location.search.slice(1),m=Qt.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=d[f])!==null&&m!==void 0?m:null};o.useEffect(()=>{a?.({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=()=>{a?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(ji,"yes")};return o.createElement("div",{className:"consent-bg"},o.createElement("div",{className:"consent"},o.createElement("div",{className:"consent-col"},o.createElement("div",{className:"consent-title"},i??"Privacy Policy"),o.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),o.createElement("div",{className:"consent-col"},o.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:c},"Agree"),o.createElement("a",{className:"consent-policy",target:"_blank",href:s?`https://${s}`:void 0},l??"More information"))))};var eo=o.memo($n);const Hi=o.createContext({rtcList:[],tagList:[]});var ei;(function(t){t[t.BFF=5]="BFF"})(ei||(ei={}));const Ft="FOR U",to=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:s,defaultSize:l,isPreview:r=!1,sxpParameter:a,appDomain:d,hashTagSize:v,loadingImage:c,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]=o.useState([]),[u,A]=o.useState([]),[T,_]=o.useState(!1),[D,M]=o.useState({rtc:"",requestId:""}),V=o.useRef(null),U=o.useRef(!1),[F,N]=o.useState(()=>!!window.localStorage.getItem(ji)),[B,Q]=o.useState(),[W,ie]=o.useState(),[K,Z]=o.useState(f),[z,ce]=o.useState([]),[ve,q]=o.useState(0),[R,oe]=o.useState(!1),[te,le]=o.useState(null),de=o.useRef(),se=o.useRef(),[ne,ye]=o.useState(Ft),Se=o.useRef(-1),Pe=o.useRef(null),Te=o.useMemo(()=>{var J,Y,he,Ie;return((Ie=(he=(Y=(J=p?.consent)===null||J===void 0?void 0:J[0])===null||Y===void 0?void 0:Y.item)===null||he===void 0?void 0:he.props)===null||Ie===void 0?void 0:Ie.privacy_necessity)&&!F&&!x||P},[F,p,P,x]),Ne=o.useCallback(J=>{var Y;const he=J?.recList;return(Y=he?.map(re=>{var _e,Fe,je,Ve,I,j;if(!((_e=re?.video)===null||_e===void 0)&&_e.bindProducts&&((je=(Fe=re?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||je===void 0?void 0:je.length)>0){const X=(j=(I=(Ve=re?.video)===null||Ve===void 0?void 0:Ve.bindProducts)===null||I===void 0?void 0:I.filter(ee=>!!ee?.bindCta))!==null&&j!==void 0?j:[];return Object.assign(Object.assign({},re),{video:Object.assign(Object.assign({},re?.video),{bindProducts:X})})}return re}))!==null&&Y!==void 0?Y:[]},[]);o.useEffect(()=>{const J=Y=>{de.current=Y};return ut.on(it.CHANGE_THEME_TAG,J),()=>{ut.off(it.CHANGE_THEME_TAG,J)}},[]),o.useEffect(()=>{Z(f)},[f]);const Le=o.useMemo(()=>e?.find(J=>J.type===ei.BFF),[e]),G=o.useCallback((J,Y)=>{if(!Le)return;const he=Le.url,Ie=zi();if(Y?.query){const re=Qt.stringify(Y.query);J=`${J}?${re}`}return Y.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${he}/api/v1${J}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Le.headers),{"x-user-id":Ie}),Y.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${he}/api/v1${J}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Ie},Le.headers),method:Y.method,body:JSON.stringify(Y.body)}).then(re=>re.json()).catch(re=>Promise.reject(re))},[Le]),fe=o.useCallback(J=>Re(void 0,void 0,void 0,function*(){var Y,he,Ie,re,_e,Fe,je;if(J=Object.assign(Object.assign({maxSize:(Y=J?.maxSize)!==null&&Y!==void 0?Y:s,defaultSize:(he=J?.defaultSize)!==null&&he!==void 0?he:l,hashTag:J?.hashTag,traceInfo:J?.traceInfo,themeTag:J?.themeTag},J?.contentFilter&&{contentFilter:`[${J?.contentFilter}]`}),J?.productFilter&&{productFilter:`[${J?.productFilter}]`}),i){const I=(_e=(re=(Ie=i?.split("&"))===null||Ie===void 0?void 0:Ie.filter(j=>{var X,ee;const ue=j.split("=")[0];return(ee=(X=b?.channels)!==null&&X!==void 0?X:[])===null||ee===void 0?void 0:ee.includes(ue)}))===null||re===void 0?void 0:re.join("&"))!==null&&_e!==void 0?_e:"";J=Object.assign(Object.assign({},J),{channel:decodeURIComponent(I)})}if(p?.enablePreview||x){if(J=Object.assign(Object.assign(Object.assign({},J),{directPage:!0,level:1}),!i&&E&&E?.length>0&&{channel:E?.[0]}),!J?.channel)return;let I=[],j=null,X=1;const ee=ue=>Re(void 0,void 0,void 0,function*(){var me,$,ae,xe;if(ue.pageNum=X,j=yield G?.("/recommend/list",{method:"GET",query:ue}),!j?.success)return;const Ce=($=(me=j?.data)===null||me===void 0?void 0:me.recList)===null||$===void 0?void 0:$[0];I=I.concat((xe=(ae=j?.data)===null||ae===void 0?void 0:ae.recList)!==null&&xe!==void 0?xe:[]),(Ce?.product||Ce?.video)&&(X=X+1,yield ee(ue))});return yield ee(J),!J?.hashTag&&j&&M({rtc:(Fe=j?.data)===null||Fe===void 0?void 0:Fe.rtc,requestId:(je=j?.data)===null||je===void 0?void 0:je.requestId}),Object.assign(Object.assign({},j.data),{recList:I})}const Ve=yield G?.("/recommend/list",{method:"GET",query:J});if(Ve?.success)return J?.hashTag||M({rtc:Ve.data.rtc,requestId:Ve.data.requestId}),Ve?.data}),[G,i,s,l,p?.enablePreview,E,x]),Ae=o.useCallback(()=>Re(void 0,void 0,void 0,function*(){var J,Y,he,Ie;if(k.length<=0)return;const re=k?.[k?.length-1],_e=yield fe(Object.assign(Object.assign(Object.assign({hashTag:W?.hashTag},((J=re?.product)===null||J===void 0?void 0:J.itemId)&&{productFilter:(Y=re?.product)===null||Y===void 0?void 0:Y.itemId}),((he=re?.video)===null||he===void 0?void 0:he.itemId)&&{contentFilter:(Ie=re?.video)===null||Ie===void 0?void 0:Ie.itemId}),{themeTag:de.current}));S(k.concat(Ne(_e))),ce(z.concat(Ne(_e)))}),[fe,k,W,z]),pe=o.useCallback(({userInfo:J,eventInfo:Y})=>{if(!n||p?.enablePreview)return;J||(J={});const he=Jn(),Ie=Object.assign(Object.assign({sessionID:he,rtc:D.rtc,requestId:D.requestId},Y),{sxpDevice:Gn(),sxpSystem:Un(),sxpBrowser:Hn()}),re=Object.entries(J).map(([Fe,je])=>({name:Fe,value:je})),_e=Object.entries(Ie).map(([Fe,je])=>je&&{name:Fe,value:je}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",J),console.log("eventInfo:",Ie),console.log("========= \u7ED3\u675F ========="),G?.("/event/report",{method:"POST",body:{userInfo:re,eventInfo:_e},type:"beacon"})},[G,D,n,p?.enablePreview]),Me=o.useCallback(J=>{var Y,he,{eventName:Ie,actionSource:re="website",eventSourceUrl:_e=(Y=window?.location)===null||Y===void 0?void 0:Y.href,externalId:Fe}=J;if(!n||!m||p?.enablePreview)return;const je=zi();return G?.("/fb/events",{method:"POST",body:{eventName:Ie,actionSource:re,eventSourceUrl:_e,userData:{externalId:je,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"})},[G,n,m,p?.enablePreview]),Oe=o.useCallback(J=>Re(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/like",{method:"POST",body:J});return Y?.success}),[G]),we=o.useCallback(J=>Re(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/unlike",{method:"POST",body:J});return Y?.success}),[G]),H=o.useCallback(J=>Re(void 0,void 0,void 0,function*(){const Y=yield G?.("/customform",{method:"POST",body:J});return Y?.success}),[G]),L=o.useCallback(()=>Re(void 0,void 0,void 0,function*(){var J,Y,he,Ie,re;if(!(!i||!y))try{const _e=(he=(Y=(J=i?.split("&"))===null||J===void 0?void 0:J.filter(je=>{var Ve,I;const j=je.split("=")[0];return(I=(Ve=b?.channels)!==null&&Ve!==void 0?Ve:[])===null||I===void 0?void 0:I.includes(j)}))===null||Y===void 0?void 0:Y.join("&"))!==null&&he!==void 0?he:"",Fe=yield G?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(_e)}});A((re=(Ie=Fe?.data)===null||Ie===void 0?void 0:Ie.tags)!==null&&re!==void 0?re:[])}catch(_e){console.log("e",_e)}}),[G,i,y]),De=o.useCallback((J,Y,he,Ie)=>{var re,_e,Fe,je,Ve,I,j,X,ee,ue,me,$,ae,xe,Ce,ze,We,Ye,Ke,Ze,ke,He,ot,qe,pt,mt,bt,yt,Be,Si,xi,Ti,Ei,Ai,Ii,Ci;const wt=he?.bindCta,pr=((re=Y?.video)===null||re===void 0?void 0:re.bindProduct)||((_e=Y?.video)===null||_e===void 0?void 0:_e.bindProducts)&&((je=(Fe=Y?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||je===void 0?void 0:je.length)>0;let Zt="";R?Zt="hashTagPage":!((Ve=Y?.video)===null||Ve===void 0)&&Ve.url?Zt="videoPage":!((j=(I=Y?.video)===null||I===void 0?void 0:I.imgUrls)===null||j===void 0)&&j.length&&(Zt="imagePage");const Mn=(xe=($=(X=he?.tags)!==null&&X!==void 0?X:(me=(ue=(ee=Y?.video)===null||ee===void 0?void 0:ee.bindProducts)===null||ue===void 0?void 0:ue[0])===null||me===void 0?void 0:me.tags)!==null&&$!==void 0?$:(ae=Y?.video)===null||ae===void 0?void 0:ae.tags)!==null&&xe!==void 0?xe:(Ce=Y?.product)===null||Ce===void 0?void 0:Ce.tags;pe?.({eventInfo:Object.assign(Object.assign({},J),{ctaId:(ze=wt?.itemId)!==null&&ze!==void 0?ze:"",ctaName:(We=wt?.title)!==null&&We!==void 0?We:"",contentTags:Mn?JSON.stringify(Mn):"",position:Ie+"",contentId:(Ke=(Ye=Y?.video)===null||Ye===void 0?void 0:Ye.itemId)!==null&&Ke!==void 0?Ke:"",productId:pr?he?.itemId:"",traceInfo:(Ii=(Ti=(bt=(ot=(Ze=wt?.traceInfo)!==null&&Ze!==void 0?Ze:(He=(ke=Y?.video)===null||ke===void 0?void 0:ke.bindCta)===null||He===void 0?void 0:He.traceInfo)!==null&&ot!==void 0?ot:(mt=(pt=(qe=Y?.video)===null||qe===void 0?void 0:qe.bindProduct)===null||pt===void 0?void 0:pt.bindCta)===null||mt===void 0?void 0:mt.traceInfo)!==null&&bt!==void 0?bt:(xi=(Si=(Be=(yt=Y?.video)===null||yt===void 0?void 0:yt.bindProducts)===null||Be===void 0?void 0:Be[0])===null||Si===void 0?void 0:Si.bindCta)===null||xi===void 0?void 0:xi.traceInfo)!==null&&Ti!==void 0?Ti:(Ai=(Ei=Y?.product)===null||Ei===void 0?void 0:Ei.bindCta)===null||Ai===void 0?void 0:Ai.traceInfo)!==null&&Ii!==void 0?Ii:"",fromKName:Zt,fromKPage:(Ci=location?.href)!==null&&Ci!==void 0?Ci:""})})},[pe,R]),rt=o.useCallback(()=>{var J,Y;const he=location.search.slice(1),Ie=Qt.parse(he.replace(/\+/g,"%2B"));for(const Fe in Ie)Ie[Fe]=Ie[Fe].replace(/%2B/g,"+");const re=Fe=>{var je;return(je=Ie[Fe])!==null&&je!==void 0?je:""},_e=new Date;se.current=_e,pe?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:re("utm_source"),utmMedium:re("utm_medium"),utmCampaign:re("utm_campaign"),utmId:re("utm_id"),utmContent:re("utm_content"),enterTime:Math.floor(_e/1e3)+"",requestId:null,enterUrl:(Y=(J=window?.location)===null||J===void 0?void 0:J.href)!==null&&Y!==void 0?Y:"",clSource:re("cl_source")}})},[pe]);o.useEffect(()=>{Te||rt()},[Te]),o.useEffect(()=>{Te||(_(!0),L(),fe().then(J=>{S(Ne(J)),ce(Ne(J))}).finally(()=>{pe({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),_(!1),U.current=!0}))},[Te]),o.useEffect(()=>{!U.current&&!x||(_(!0),L(),fe().then(J=>{S(Ne(J)),ce(Ne(J))}).finally(()=>{_(!1)}))},[L,x,fe]);const It=lt("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return o.createElement(Hi.Provider,{value:{rtcList:k,setRtcList:S,mutateLike:Oe,mutateUnlike:we,submitForm:H,popupDetailData:B,loadVideos:Ae,setPopupDetailData:Q,getRecommendVideos:fe,bffEventReport:pe,utmVal:i,isPreview:r,loading:T,sxpParameter:a,waterFallData:W,setWaterFallData:ie,ctaEvent:De,swiperRef:V,openHashtag:K,setOpenHashtag:Z,cacheRtcList:z,setCacheRtcList:ce,cacheActiveIndex:ve,setCacheActiveIndex:q,isFromHashtag:R,setIsFromHashtag:oe,appDomain:d,hashTagSize:v,loadingImage:c??It,isOpenHashTag:f,tagList:u,setLoading:_,videoRef:te,setVideoRef:le,bffFbReport:Me,isAgreePolicy:F,setIsAgreePolicy:N,curTime:se,h5EnterLink:rt,themeTag:de,isShowConsent:Te,selectTag:ne,setSelectTag:ye,globalConfig:p,popupCurTimeRef:Pe,checkCommodityIndexRef:Se}},Te?o.createElement(eo,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:we,submitForm:H,tagList:u}))};var Ui=o.memo(to);function Ee(){return o.useContext(Hi)}var Gi;(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"})(Gi||(Gi={}));const Wi=o.createContext({$store:{},options:[],configs:[]}),io=({children:t,isSsr:e,enable:i})=>{const[n,s]=o.useState([]),{schema:l}=at(),[r,a]=o.useState(l.__STORE__||{}),[d,v]=o.useState([]);o.useEffect(()=>{var m;e||Ue.isEqual(d,l?.dataSource)||v((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const c=o.useCallback(()=>Re(void 0,void 0,void 0,function*(){const{$store:m,idMapName:h}=yield Pi("",d);a(m),f(m,h)}),[d]),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)})}),s(w)};return o.useEffect(()=>{e||c()},[c,e,l]),i?o.createElement(Wi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var no=o.memo(io);const jt={id:Nt(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},ti={id:"",duration:0,name:"none"},Yi=o.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[jt],redoStack:[],popup:ti,setPopup:()=>{}}),Xi=o.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:s=!0,utmVal:l},r)=>{const[a,d]=o.useState(null),[v,c]=o.useState(n||{pointData:[jt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[f,m]=o.useState([jt]),[h,w]=o.useState([[jt]]),[y,P]=o.useState([]),[p,x]=o.useState(ti);typeof window<"u"&&(window.sxpPopup=(O,k)=>{x(Object.assign(Object.assign(Object.assign({},ti),{id:O}),k))}),typeof window<"u"&&(window.getJointUtmLink=O=>(Rn(),O?.indexOf("?")!==-1?O+(l?"&"+l:""):O+(l?"?"+l:""))),o.useEffect(()=>{w([v.pointData]),P([])},[v.type]);const b=o.useCallback(O=>{const k=Ue.cloneDeep(v);k&&(k.dataSource=O,c?.(k))},[v]),[E,C]=o.useState();o.useImperativeHandle(r,()=>({loadSchema(O){O&&(w([O.pointData]),c(O))},exportSchema(){return Ue.cloneDeep(v)},getPageInfoData(){return E},initPageInfoData(O){O&&C(O)}}));const g=o.useMemo(()=>{if(v)return v.type==="PC"?v.pcPageConf:v.mobilePageConf},[v]);return o.createElement(Yi.Provider,{value:{resolver:e,currentNode:a,schema:v,setCurrentNode:d,setSchema:c,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}},o.createElement(no,{isSsr:i,enable:s},t))});var oo=Object.freeze({__proto__:null,EditorCore:Xi}),lo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],so=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\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:n}=Ee(),s=o.useCallback((a,d,v,c,f)=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S,u,A,T,_,D,M,V,U,F,N,B,Q,W,ie,K,Z,z,ce,ve,q;let R="";e&&(!((h=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||h===void 0)&&h.length||!((w=a?.video)===null||w===void 0)&&w.bindProduct)?R="pdpPage":n?R="hashTagPage":!((y=a?.video)===null||y===void 0)&&y.url?R="videoPage":!((P=a?.video)===null||P===void 0)&&P.imgUrls&&(!((x=(p=a?.video)===null||p===void 0?void 0:p.imgUrls)===null||x===void 0)&&x.length)?R="imagePage":a?.product&&(R="productPage");const oe=(S=(O=(b=d?.tags)!==null&&b!==void 0?b:(g=(C=(E=a?.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=a?.video)===null||k===void 0?void 0:k.tags)!==null&&S!==void 0?S:(u=a?.product)===null||u===void 0?void 0:u.tags;t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(A=d?.itemId)!==null&&A!==void 0?A:"",productName:(T=d?.title)!==null&&T!==void 0?T:"",price:d?.price?d?.price+"":"0",productCollection:(_=d?.collection)!==null&&_!==void 0?_:"",fromKName:R,fromKPage:location?.href,contentTags:oe?JSON.stringify(oe):"",position:c+"",contentId:(M=(D=a?.video)===null||D===void 0?void 0:D.itemId)!==null&&M!==void 0?M:"",ctatId:(V=v?.itemId)!==null&&V!==void 0?V:"",traceInfo:(q=(z=(K=(B=(U=f??d?.traceInfo)!==null&&U!==void 0?U:(N=(F=a?.video)===null||F===void 0?void 0:F.bindProduct)===null||N===void 0?void 0:N.traceInfo)!==null&&B!==void 0?B:(ie=(W=(Q=a?.video)===null||Q===void 0?void 0:Q.bindProducts)===null||W===void 0?void 0:W[0])===null||ie===void 0?void 0:ie.traceInfo)!==null&&K!==void 0?K:(Z=a?.product)===null||Z===void 0?void 0:Z.traceInfo)!==null&&z!==void 0?z:(ve=(ce=a?.video)===null||ce===void 0?void 0:ce.bindCta)===null||ve===void 0?void 0:ve.traceInfo)!==null&&q!==void 0?q:""}})},[t,e,n]),l=o.useCallback((a,d,v,c,f)=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S;let u="";e&&(!((h=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||h===void 0)&&h.length||!((w=a?.video)===null||w===void 0)&&w.bindProduct)?u="pdpPage":a?.product&&(u="productPage"),t?.({eventInfo:{productId:d?.itemId,productName:d?.title,price:d?.price?d?.price+"":"0",productCollection:d?.collection,fromKName:u,fromKPage:location?.href,contentTags:JSON.stringify(d?.tags),position:f+"",contentId:(y=a?.video)===null||y===void 0?void 0:y.itemId,ctatId:v?.itemId,traceInfo:(S=(O=(b=(P=d?.traceInfo)!==null&&P!==void 0?P:(x=(p=a?.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=a?.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=a?.product)===null||k===void 0?void 0:k.traceInfo)!==null&&S!==void 0?S:"",timeOnSite:Math.floor((new Date-c)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=o.useCallback((a,d,v,c)=>{d&&d===Ft&&t?.({eventInfo:{lastFeed:a,themeTags:v?`['${v}']`:"",hashTags:c?`['${c}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:s,productView:l,backMainFeed:r}}const ro=({layout:t,columns:e,onChange:i})=>o.createElement(o.Fragment,null,e?.map((n,s)=>o.createElement("div",{key:s,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&o.createElement("label",{className:"pb-appoint-form-container-label"},n?.title),n?.valueType==="text"&&o.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?n?.title:"\u8BF7\u8F93\u5165",name:n?.dataIndex},i&&{onChange:i})))));var ao=o.memo(ro);const uo=t=>{var{columns:e,style:i,title:n,textStyle:s,submitBgColor:l,submitColor:r,submitText:a,layoutType:d="inline",isExternalLink:v,isPopup:c,onClick:f,onClose:m,submitButtonStyle:h}=t,w=Xe(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:y,popupDetailData:P}=Ee(),{jumpToWeb:p}=Je(),[x,b]=o.useState(!1),E=o.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),[C,g]=o.useState({}),O=o.useMemo(()=>Ue.cloneDeep(e)||E,[e,E]),k=o.useCallback(u=>{const{name:A,value:T}=u.target;g(Object.assign(Object.assign({},C),{[A]:T}))},[C]),S=Ue.debounce(()=>Re(void 0,void 0,void 0,function*(){var u,A,T,_,D;const M=C;if(!M)return;const V=(A=(u=Object.keys(M))===null||u===void 0?void 0:u.map(F=>{var N;return{name:F,value:(N=M[F])!==null&&N!==void 0?N:""}}))===null||A===void 0?void 0:A.filter(F=>F?.value);if(!V||!V?.length)return;b(!0);const U=yield y?.({attributes:V});if(b(!1),U){if(v){const F=P,N=(T=F?.video)===null||T===void 0?void 0:T.bindProduct,B=(D=(_=F?.video)===null||_===void 0?void 0:_.bindProduct)===null||D===void 0?void 0:D.bindCta,Q=P?.index;p(F,N,B,Q)}c||m?.(),f?.()}}),1e3);return o.createElement("div",{className:"pb-appoint-form"},o.createElement("div",{className:`pb-appoint-form-title ${be.css(Object.assign({},s))}`,dangerouslySetInnerHTML:{__html:ge(n,s)}}),o.createElement("div",Object.assign({className:be.css(Object.assign({},i))},w),o.createElement("div",{className:"pb-appoint-form-container"},o.createElement(ao,{columns:O,layout:d,onChange:k}))),o.createElement("div",{className:"pb-appoint-form-btn-wrapper"},o.createElement("button",{"aria-label":a,onClick:S,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},h),dangerouslySetInnerHTML:{__html:ge(x?"loading...":a,h)}})))};var co=o.memo(uo);function Qe(t,e){return t.extend=e,t}const vo=Qe(co,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:so,bindableProps:[],interactionRender:lo},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var po=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]},{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 qi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ii(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:qi(e[i])&&qi(t[i])&&Object.keys(e[i]).length>0&&ii(t[i],e[i])})}const Ji={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 ct(){const t=typeof document<"u"?document:{};return ii(t,Ji),t}const mo={document:Ji,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 et(){const t=typeof window<"u"?window:{};return ii(t,mo),t}function xt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function fo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function Ct(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function st(){return Date.now()}function ho(t){const e=et();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function go(t,e){e===void 0&&(e="x");const i=et();let n,s,l;const r=ho(t);return i.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(a=>a.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(s==="none"?"":s)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?s=l.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?s=l.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function Vt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function 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 n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!bo(n)){const s=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=s.length;l<r;l+=1){const a=s[l],d=Object.getOwnPropertyDescriptor(n,a);d!==void 0&&d.enumerable&&(Vt(t[a])&&Vt(n[a])?n[a].__swiper__?t[a]=n[a]:nt(t[a],n[a]):!Vt(t[a])&&Vt(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:nt(t[a],n[a])):t[a]=n[a])}}}return t}function zt(t,e,i){t.style.setProperty(e,i)}function Ki(t){let{swiper:e,targetPosition:i,side:n}=t;const s=et(),l=-e.translate;let r=null,a;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const v=i>l?"next":"prev",c=(m,h)=>v==="next"&&m>=h||v==="prev"&&m<=h,f=()=>{a=new Date().getTime(),r===null&&(r=a);const m=Math.max(Math.min((a-r)/d,1),0),h=.5-Math.cos(m*Math.PI)/2;let w=l+h*(i-l);if(c(w,i)&&(w=i),e.wrapperEl.scrollTo({[n]:w}),c(w,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:w})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(f)};f()}function ft(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:xt(e)),i}function yo(t){const e=et(),i=ct(),n=t.getBoundingClientRect(),s=i.body,l=t.clientTop||s.clientTop||0,r=t.clientLeft||s.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-l,left:n.left+d-r}}function wo(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function So(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Tt(t,e){return et().getComputedStyle(t,null).getPropertyValue(e)}function Ut(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function Zi(t,e){const i=[];let n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function ni(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function oi(t,e,i){const n=et();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function ht(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function xo(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=et();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,a=st(),d;const v=[];function c(b){let O=0,k=0,S=0,u=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,u=k*10,"deltaY"in b&&(u=b.deltaY),"deltaX"in b&&(S=b.deltaX),b.shiftKey&&!S&&(S=u,u=0),(S||u)&&b.deltaMode&&(b.deltaMode===1?(S*=40,u*=40):(S*=800,u*=800)),S&&!O&&(O=S<1?-1:1),u&&!k&&(k=u<1?-1:1),{spinX:O,spinY:k,pixelX:S,pixelY:u}}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&&st()-a<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&st()-a<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),s("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),s("scroll",b.raw)),a=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 u=e.rtlTranslate?-1:1,A=c(E);if(g.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))S=-A.pixelX*u;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*u:-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:st(),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:st(),delta:Math.abs(S),direction:Math.sign(S)},D=d&&_.time<d.time+500&&_.delta<=d.delta&&_.direction===d.direction;if(!D){d=void 0;let M=e.getTranslate()+S*g.sensitivity;const V=e.isBeginning,U=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(),(!V&&e.isBeginning||!U&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:_.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,v.length>=15&&v.shift();const F=v.length?v[v.length-1]:void 0,N=v[0];if(v.push(_),F&&(_.delta>F.delta||_.direction!==F.direction))v.splice(0);else if(v.length>=15&&_.time-N.time<500&&N.delta-_.delta>=1&&_.delta<=6){const B=S>0?.8:.2;d=_,v.splice(0),r=Ct(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=Ct(()=>{d=_,v.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(D||s("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}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&x(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&x()}),Object.assign(e.mousewheel,{enable:p,disable:x})}function Qi(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(s=>{if(!i[s]&&i.auto===!0){let l=ft(t.el,`.${n[s]}`)[0];l||(l=Mt("div",n[s]),l.className=n[s],t.el.append(l)),i[s]=l,e[s]=l}}),i}function kt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Gt(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,a=0;function d(){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 c(p){const x=p.target.closest(kt(e.params.pagination.bulletClass));if(!x)return;p.preventDefault();const b=Ut(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(d())return;let b=e.pagination.el;b=ht(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,u,A;if(x.dynamicBullets&&(r=oi(k[0],e.isHorizontal()?"width":"height",!0),b.forEach(T=>{T.style[e.isHorizontal()?"width":"height"]=`${r*(x.dynamicMainBullets+4)}px`}),x.dynamicMainBullets>1&&C!==void 0&&(a+=E-(C||0),a>x.dynamicMainBullets-1?a=x.dynamicMainBullets-1:a<0&&(a=0)),S=Math.max(E-a,0),u=S+(Math.min(k.length,x.dynamicMainBullets)-1),A=(u+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 _=Ut(T);_===E?T.classList.add(...x.bulletActiveClass.split(" ")):e.isElement&&T.setAttribute("part","bullet"),x.dynamicBullets&&(_>=S&&_<=u&&T.classList.add(...`${x.bulletActiveClass}-main`.split(" ")),_===S&&v(T,"prev"),_===u&&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[u];for(let M=S;M<=u;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),_=(r*T-r)/2-A*r,D=p?"right":"left";k.forEach(M=>{M.style[e.isHorizontal()?D:"top"]=`${_}px`})}}b.forEach((k,S)=>{if(x.type==="fraction"&&(k.querySelectorAll(kt(x.currentClass)).forEach(u=>{u.textContent=x.formatFractionCurrent(E+1)}),k.querySelectorAll(kt(x.totalClass)).forEach(u=>{u.textContent=x.formatFractionTotal(O)})),x.type==="progressbar"){let u;x.progressbarOpposite?u=e.isHorizontal()?"vertical":"horizontal":u=e.isHorizontal()?"horizontal":"vertical";const A=(E+1)/O;let T=1,_=1;u==="horizontal"?T=A:_=A,k.querySelectorAll(kt(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&&s("paginationRender",k)):(S===0&&s("paginationRender",k),s("paginationUpdate",k)),e.params.watchOverflow&&e.enabled&&k.classList[e.isLocked?"add":"remove"](x.lockClass)})}function m(){const p=e.params.pagination;if(d())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=ht(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(kt(p.bulletClass)))}),p.type!=="custom"&&s("paginationRender",b[0])}function h(){e.params.pagination=Qi(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=>Zi(b,".swiper")[0]===e.el)[0])),Array.isArray(x)&&x.length===1&&(x=x[0]),Object.assign(e.pagination,{el:x}),x=ht(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`),a=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&b.classList.add(p.progressbarOppositeClass),p.clickable&&b.addEventListener("click",c),e.enabled||b.classList.add(p.lockClass)}))}function w(){const p=e.params.pagination;if(d())return;let x=e.pagination.el;x&&(x=ht(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",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...p.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:x}=e.pagination;x=ht(x),x.forEach(b=>{b.classList.remove(p.horizontalClass,p.verticalClass),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?P():(h(),m(),f())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),n("snapIndexChange",()=>{f()}),n("snapGridLengthChange",()=>{m(),f()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=ht(p),p.forEach(x=>x.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{f()}),n("click",(p,x)=>{const b=x.target,E=ht(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);s(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=ht(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=ht(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 To(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=ct();let r=!1,a=null,d=null,v,c,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,V=e.params.scrollbar,U=e.params.loop?e.progressLoop:e.progress;let F=c,N=(f-c)*U;_?(N=-N,N>0?(F=c-N,N=0):-N+c>f&&(F=f+N)):N<0?(F=c+N,N=0):N+c>f&&(F=f-N),e.isHorizontal()?(D.style.transform=`translate3d(${N}px, 0, 0)`,D.style.width=`${F}px`):(D.style.transform=`translate3d(0px, ${N}px, 0)`,D.style.height=`${F}px`),V.hide&&(clearTimeout(a),M.style.opacity=1,a=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"?c=f*m:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?_.style.width=`${c}px`:_.style.height=`${c}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 V;V=(P(T)-yo(M)[e.isHorizontal()?"left":"top"]-(v!==null?v:c/2))/(f-c),V=Math.max(Math.min(V,1),0),D&&(V=1-V);const U=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*V;e.updateProgress(U),e.setTranslate(U),e.updateActiveIndex(),e.updateSlidesClasses()}function x(T){const _=e.params.scrollbar,{scrollbar:D,wrapperEl:M}=e,{el:V,dragEl:U}=D;r=!0,v=T.target===U?P(T)-T.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,T.preventDefault(),T.stopPropagation(),M.style.transitionDuration="100ms",U.style.transitionDuration="100ms",p(T),clearTimeout(d),V.style.transitionDuration="0ms",_.hide&&(V.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",T)}function b(T){const{scrollbar:_,wrapperEl:D}=e,{el:M,dragEl:V}=_;r&&(T.preventDefault&&T.cancelable?T.preventDefault():T.returnValue=!1,p(T),D.style.transitionDuration="0ms",M.style.transitionDuration="0ms",V.style.transitionDuration="0ms",s("scrollbarDragMove",T))}function E(T){const _=e.params.scrollbar,{scrollbar:D,wrapperEl:M}=e,{el:V}=D;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",M.style.transitionDuration=""),_.hide&&(clearTimeout(d),d=Ct(()=>{V.style.opacity=0,V.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",T),_.snapOnRelease&&e.slideToClosest())}function C(T){const{scrollbar:_,params:D}=e,M=_.el;if(!M)return;const V=M,U=D.passiveListeners?{passive:!1,capture:!1}:!1,F=D.passiveListeners?{passive:!0,capture:!1}:!1;if(!V)return;const N=T==="on"?"addEventListener":"removeEventListener";V[N]("pointerdown",x,U),l[N]("pointermove",b,U),l[N]("pointerup",E,F)}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=Qi(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 V;M&&(V=M.querySelector(kt(e.params.scrollbar.dragClass)),V||(V=Mt("div",e.params.scrollbar.dragClass),M.append(V))),Object.assign(T,{el:M,dragEl:V}),D.draggable&&g(),M&&M.classList[e.enabled?"remove":"add"](...xt(e.params.scrollbar.lockClass))}function S(){const T=e.params.scrollbar,_=e.scrollbar.el;_&&_.classList.remove(...xt(e.isHorizontal()?T.horizontalClass:T.verticalClass)),O()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const T=e.params.scrollbar;let{el:_}=e.scrollbar;_=ht(_),_.forEach(D=>{D.classList.remove(T.horizontalClass,T.verticalClass),D.classList.add(e.isHorizontal()?T.horizontalClass:T.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?A():(k(),y(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{y()}),n("setTranslate",()=>{h()}),n("setTransition",(T,_)=>{w(_)}),n("enable disable",()=>{const{el:T}=e.scrollbar;T&&T.classList[e.enabled?"remove":"add"](...xt(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const u=()=>{e.el.classList.remove(...xt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...xt(e.params.scrollbar.scrollbarDisabledClass)),k(),y(),h()},A=()=>{e.el.classList.add(...xt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...xt(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:u,disable:A,updateSize:y,setTranslate:h,init:k,destroy:S})}function Wt(t){let{swiper:e,extendParams:i,on:n,emit:s,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,a,d=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,c,f=new Date().getTime(),m,h,w,y,P,p,x;function b(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!(x||F.detail&&F.detail.bySwiperTouchMove)&&u())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(v=c,m=!1);const F=e.autoplay.paused?c:f+v-new Date().getTime();e.autoplay.timeLeft=F,s("autoplayTimeLeft",F,F/d),a=requestAnimationFrame(()=>{E()})},C=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},g=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),E();let N=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,v=e.params.autoplay.delay;const B=C();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(N=B,d=B,v=B),c=N;const Q=e.params.speed,W=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(Q,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,Q,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(Q,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,Q,!0,!0),s("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{g()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{W()},N)):requestAnimationFrame(()=>{W()}),N},O=()=>{f=new Date().getTime(),e.autoplay.running=!0,g(),s("autoplayStart")},k=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),s("autoplayStop")},S=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):u()};if(e.autoplay.paused=!0,N){P&&(c=e.params.autoplay.delay),P=!1,B();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),B())},u=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),p?(p=!1,g(c)):g(),e.autoplay.paused=!1,s("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const F=ct();F.visibilityState==="hidden"&&(p=!0,S(!0)),F.visibilityState==="visible"&&u()},T=F=>{F.pointerType==="mouse"&&(p=!0,x=!0,!(e.animating||e.autoplay.paused)&&S(!0))},_=F=>{F.pointerType==="mouse"&&(x=!1,e.autoplay.paused&&u())},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",_))},V=()=>{ct().addEventListener("visibilitychange",A)},U=()=>{ct().removeEventListener("visibilitychange",A)};n("init",()=>{e.params.autoplay.enabled&&(D(),V(),O())}),n("destroy",()=>{M(),U(),e.autoplay.running&&k()}),n("_freeModeStaticRelease",()=>{(w||p)&&u()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?k():S(!0,!0)}),n("beforeTransitionStart",(F,N,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?S(!0,!0):k())}),n("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)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(y),clearTimeout(r),e.params.autoplay.disableOnInteraction){w=!1,h=!1;return}w&&e.params.cssMode&&u(),w=!1,h=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(P=!0)}),Object.assign(e.autoplay,{start:O,stop:k,pause:S,resume:u})}function Eo(t){let{swiper:e,extendParams:i,emit:n,once:s}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:v}=e;d.velocities.length===0&&d.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:st()})}function a(d){let{currentPos:v}=d;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:m,snapGrid:h,touchEventsData:w}=e,P=st()-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(c.freeMode.momentum){if(w.velocities.length>1){const k=w.velocities.pop(),S=w.velocities.pop(),u=k.position-S.position,A=k.time-S.time;e.velocity=u/A,e.velocity/=2,Math.abs(e.velocity)<c.freeMode.minimumVelocity&&(e.velocity=0),(A>150||st()-k.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,w.velocities.length=0;let p=1e3*c.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*c.freeMode.momentumBounceRatio;let O;if(b<e.maxTranslate())c.freeMode.momentumBounce?(b+e.maxTranslate()<-g&&(b=e.maxTranslate()-g),C=e.maxTranslate(),E=!0,w.allowMomentumBounce=!0):b=e.maxTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(b>e.minTranslate())c.freeMode.momentumBounce?(b-e.minTranslate()>g&&(b=e.minTranslate()+g),C=e.minTranslate(),E=!0,w.allowMomentumBounce=!0):b=e.minTranslate(),c.loop&&c.centeredSlides&&(O=!0);else if(c.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&&s("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?p=Math.abs((-b-e.translate)/e.velocity):p=Math.abs((b-e.translate)/e.velocity),c.freeMode.sticky){const k=Math.abs((m?-b:b)-e.translate),S=e.slidesSizesGrid[e.activeIndex];k<S?p=c.speed:k<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(C),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ni(f,()=>{!e||e.destroyed||!w.allowMomentumBounce||(n("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(C),ni(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ni(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&n("_freeModeNoMomentumRelease");(!c.freeMode.momentum||P>=c.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:a}})}let li;function Ao(){const t=et(),e=ct();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Ri(){return li||(li=Ao()),li}let si;function Io(t){let{userAgent:e}=t===void 0?{}:t;const i=Ri(),n=et(),s=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},a=n.screen.width,d=n.screen.height,v=l.match(/(Android);?[\s\/]+([\d.]+)?/);let c=l.match(/(iPad).*OS\s([\d_]+)/);const f=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!c&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=s==="Win32";let w=s==="MacIntel";const y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&w&&i.touch&&y.indexOf(`${a}x${d}`)>=0&&(c=l.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),w=!1),v&&!h&&(r.os="android",r.android=!0),(c||m||f)&&(r.os="ios",r.ios=!0),r}function $i(t){return t===void 0&&(t={}),si||(si=Io(t)),si}let di;function Co(){const t=et(),e=$i();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[d,v]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));i=d<16||d===16&&v<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||s&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:s}}function ko(){return di||(di=Co()),di}function _o(t){let{swiper:e,on:i,emit:n}=t;const s=et();let l=null,r=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(f=>{r=s.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)&&a()})}),l.observe(e.el))},v=()=>{r&&s.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},c=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){d();return}s.addEventListener("resize",a),s.addEventListener("orientationchange",c)}),i("destroy",()=>{v(),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",c)})}function Po(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=[],r=et(),a=function(c,f){f===void 0&&(f={});const m=r.MutationObserver||r.WebkitMutationObserver,h=new m(w=>{if(e.__preventObserver__)return;if(w.length===1){s("observerUpdate",w[0]);return}const y=function(){s("observerUpdate",w[0])};r.requestAnimationFrame?r.requestAnimationFrame(y):r.setTimeout(y,0)});h.observe(c,{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)},d=()=>{if(e.params.observer){if(e.params.observeParents){const c=Zi(e.hostEl);for(let f=0;f<c.length;f+=1)a(c[f])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},v=()=>{l.forEach(c=>{c.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",v)}var Do={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const s=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][s](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function s(){n.off(t,s),s.__emitterProxy&&delete s.__emitterProxy;for(var l=arguments.length,r=new Array(l),a=0;a<l;a++)r[a]=arguments[a];e.apply(n,r)}return s.__emitterProxy=e,n.on(t,s,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((s,l)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var s=arguments.length,l=new Array(s),r=0;r<s;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(v=>{v.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(v=>{v.apply(n,i)})}),t}};function Mo(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Tt(n,"padding-left")||0,10)-parseInt(Tt(n,"padding-right")||0,10),i=i-parseInt(Tt(n,"padding-top")||0,10)-parseInt(Tt(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Oo(){const t=this;function e(u,A){return parseFloat(u.getPropertyValue(t.getDirectionLabel(A))||0)}const i=t.params,{wrapperEl:n,slidesEl:s,size:l,rtlTranslate:r,wrongRTL:a}=t,d=t.virtual&&i.virtual.enabled,v=d?t.virtual.slides.length:t.slides.length,c=ft(s,`.${t.params.slideClass}, swiper-slide`),f=d?t.virtual.slides.length:c.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,c.forEach(u=>{r?u.style.marginLeft="":u.style.marginRight="",u.style.marginBottom="",u.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(zt(n,"--swiper-centered-offset-before",""),zt(n,"--swiper-centered-offset-after",""));const O=i.grid&&i.grid.rows>1&&t.grid;O?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let k;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<f;u+=1){k=0;let A;if(c[u]&&(A=c[u]),O&&t.grid.updateSlide(u,A,c),!(c[u]&&Tt(A,"display")==="none")){if(i.slidesPerView==="auto"){S&&(c[u].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()?oi(A,"width",!0):oi(A,"height",!0);else{const M=e(T,"width"),V=e(T,"padding-left"),U=e(T,"padding-right"),F=e(T,"margin-left"),N=e(T,"margin-right"),B=T.getPropertyValue("box-sizing");if(B&&B==="border-box")k=M+F+N;else{const{clientWidth:Q,offsetWidth:W}=A;k=M+V+U+F+N+(W-Q)}}_&&(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)),c[u]&&(c[u].style[t.getDirectionLabel("width")]=`${k}px`);c[u]&&(c[u].swiperSlideSize=k),w.push(k),i.centeredSlides?(E=E+k/2+C/2+b,C===0&&u!==0&&(E=E-l/2-b),u===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,r&&a&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),O&&t.grid.updateWrapperSize(k,m),!i.centeredSlides){const u=[];for(let A=0;A<m.length;A+=1){let T=m[A];i.roundLengths&&(T=Math.floor(T)),m[A]<=t.virtualSize-l&&u.push(T)}m=u,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){const u=w[0]+b;if(i.slidesPerGroup>1){const A=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),T=u*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]+u),h.push(h[h.length-1]+u),t.virtualSize+=u}if(m.length===0&&(m=[0]),b!==0){const u=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");c.filter((A,T)=>!i.cssMode||i.loop?!0:T!==c.length-1).forEach(A=>{A.style[u]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let u=0;w.forEach(T=>{u+=T+(b||0)}),u-=b;const A=u-l;m=m.map(T=>T<=0?-y:T>A?A+P:T)}if(i.centerInsufficientSlides){let u=0;w.forEach(T=>{u+=T+(b||0)}),u-=b;const A=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(u+A<l){const T=(l-u-A)/2;m.forEach((_,D)=>{m[D]=_-T}),h.forEach((_,D)=>{h[D]=_+T})}}if(Object.assign(t,{slides:c,snapGrid:m,slidesGrid:h,slidesSizesGrid:w}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){zt(n,"--swiper-centered-offset-before",`${-m[0]}px`),zt(n,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const u=-t.snapGrid[0],A=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(T=>T+u),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"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const u=`${i.containerModifierClass}backface-hidden`,A=t.el.classList.contains(u);f<=i.maxBackfaceHiddenSlides?A||t.el.classList.add(u):A&&t.el.classList.remove(u)}}function Lo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let s=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const a=e.activeIndex+l;if(a>e.slides.length&&!n)break;i.push(r(a))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const a=i[l].offsetHeight;s=a>s?a:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function Bo(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const en=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function No(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:s,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;s&&(r=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let d=0;d<n.length;d+=1){const v=n[d];let c=v.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(c-=n[0].swiperSlideOffset);const f=(r+(i.centeredSlides?e.minTranslate():0)-c)/(v.swiperSlideSize+a),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-c)/(v.swiperSlideSize+a),h=-(r-c),w=h+e.slidesSizesGrid[d],y=h>=0&&h<=e.size-e.slidesSizesGrid[d],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(d)),en(v,P,i.slideVisibleClass),en(v,y,i.slideFullyVisibleClass),v.progress=s?-f:f,v.originalProgress=s?-m:m}}function Fo(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:l,isEnd:r,progressLoop:a}=e;const d=l,v=r;if(n===0)s=0,l=!0,r=!0;else{s=(t-e.minTranslate())/n;const c=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;l=c||s<=0,r=f||s>=1,c&&(s=0),f&&(s=1)}if(i.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[c],h=e.slidesGrid[f],w=e.slidesGrid[e.slidesGrid.length-1],y=Math.abs(t);y>=m?a=(y-m)/w:a=(y+w-h)/w,a>1&&(a-=1)}Object.assign(e,{progress:s,progressLoop:a,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!v&&e.emit("reachEnd toEdge"),(d&&!l||v&&!r)&&e.emit("fromEdge"),e.emit("progress",s)}const ri=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function jo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:s}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,a=f=>ft(n,`.${i.slideClass}${f}, swiper-slide${f}`)[0];let d,v,c;if(l)if(i.loop){let f=s-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),d=a(`[data-swiper-slide-index="${f}"]`)}else d=a(`[data-swiper-slide-index="${s}"]`);else r?(d=e.filter(f=>f.column===s)[0],c=e.filter(f=>f.column===s+1)[0],v=e.filter(f=>f.column===s-1)[0]):d=e[s];d&&(r||(c=So(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c&&(c=e[0]),v=wo(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!v===0&&(v=e[e.length-1]))),e.forEach(f=>{ri(f,f===d,i.slideActiveClass),ri(f,f===c,i.slideNextClass),ri(f,f===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}`,n=e.closest(i());if(n){let s=n.querySelector(`.${t.params.lazyPreloaderClass}`);!s&&t.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},ai=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},ui=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),s=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=s,a=[r-e];a.push(...Array.from({length:e}).map((d,v)=>r+n+v)),t.slides.forEach((d,v)=>{a.includes(d.column)&&ai(t,v)});return}const l=s+n-1;if(t.params.rewind||t.params.loop)for(let r=s-e;r<=l+e;r+=1){const a=(r%i+i)%i;(a<s||a>l)&&ai(t,a)}else for(let r=Math.max(s-e,0);r<=Math.min(l+e,i-1);r+=1)r!==s&&(r>l||r<s)&&ai(t,r)};function Vo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let s;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?s=l:n>=e[l]&&n<e[l+1]&&(s=l+1):n>=e[l]&&(s=l);return i.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function zo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:s,activeIndex:l,realIndex:r,snapIndex:a}=e;let d=t,v;const c=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 d>"u"&&(d=Vo(e)),n.indexOf(i)>=0)v=n.indexOf(i);else{const h=Math.min(s.slidesPerGroupSkip,d);v=h+Math.floor((d-h)/s.slidesPerGroup)}if(v>=n.length&&(v=n.length-1),d===l&&!e.params.loop){v!==a&&(e.snapIndex=v,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(d);return}const f=e.grid&&s.grid&&s.grid.rows>1;let m;if(e.virtual&&s.virtual.enabled&&s.loop)m=c(d);else if(f){const h=e.slides.filter(y=>y.column===d)[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/s.grid.rows)}else if(e.slides[d]){const h=e.slides[d].getAttribute("data-swiper-slide-index");h?m=parseInt(h,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:a,snapIndex:v,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:d}),e.initialized&&ui(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ho(t,e){const i=this,n=i.params;let s=t.closest(`.${n.slideClass}, swiper-slide`);!s&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(a=>{!s&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(s=a)});let l=!1,r;if(s){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===s){l=!0,r=a;break}}if(s&&l)i.clickedSlide=s,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Uo={updateSize:Mo,updateSlides:Oo,updateAutoHeight:Lo,updateSlidesOffset:Bo,updateSlidesProgress:No,updateProgress:Fo,updateSlidesClasses:jo,updateActiveIndex:zo,updateClickedSlide:Ho};function Go(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:s,wrapperEl:l}=e;if(i.virtualTranslate)return n?-s:s;if(i.cssMode)return s;let r=go(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Wo(t,e){const i=this,{rtlTranslate:n,params:s,wrapperEl:l,progress:r}=i;let a=0,d=0;const v=0;i.isHorizontal()?a=n?-t:t:d=t,s.roundLengths&&(a=Math.floor(a),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:d,s.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-d:s.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${a}px, ${d}px, ${v}px)`);let c;const f=i.maxTranslate()-i.minTranslate();f===0?c=0:c=(t-i.minTranslate())/f,c!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Yo(){return-this.snapGrid[0]}function Xo(){return-this.snapGrid[this.snapGrid.length-1]}function qo(t,e,i,n,s){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:a}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),v=l.maxTranslate();let c;if(n&&t>d?c=d:n&&t<v?c=v:c=t,l.updateProgress(c),r.cssMode){const f=l.isHorizontal();if(e===0)a[f?"scrollLeft":"scrollTop"]=-c;else{if(!l.support.smoothScroll)return Ki({swiper:l,targetPosition:-c,side:f?"left":"top"}),!0;a.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(c),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var Jo={getTranslate:Go,setTranslate:Wo,minTranslate:Yo,maxTranslate:Xo,translateTo:qo};function Ko(t,e){const i=this;i.params.cssMode||(i.wrapperEl.style.transitionDuration=`${t}ms`,i.wrapperEl.style.transitionDelay=t===0?"0ms":""),i.emit("setTransition",t,e)}function tn(t){let{swiper:e,runCallbacks:i,direction:n,step:s}=t;const{activeIndex:l,previousIndex:r}=e;let a=n;if(a||(l>r?a="next":l<r?a="prev":a="reset"),e.emit(`transition${s}`),i&&l!==r){if(a==="reset"){e.emit(`slideResetTransition${s}`);return}e.emit(`slideChangeTransition${s}`),a==="next"?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`)}}function Zo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),tn({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Qo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),tn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Ro={setTransition:Ko,transitionStart:Zo,transitionEnd:Qo};function $o(t,e,i,n,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:a,snapGrid:d,slidesGrid:v,previousIndex:c,activeIndex:f,rtlTranslate:m,wrapperEl:h,enabled:w}=l;if(!w&&!n&&!s||l.destroyed||l.animating&&a.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const y=Math.min(l.params.slidesPerGroupSkip,r);let P=y+Math.floor((r-y)/l.params.slidesPerGroup);P>=d.length&&(P=d.length-1);const p=-d[P];if(a.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?r=b:E>=C&&E<g&&(r=b+1):E>=C&&(r=b)}if(l.initialized&&r!==f&&(!l.allowSlideNext&&(m?p>l.translate&&p>l.minTranslate():p<l.translate&&p<l.minTranslate())||!l.allowSlidePrev&&p>l.translate&&p>l.maxTranslate()&&(f||0)!==r))return!1;r!==(c||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let x;if(r>f?x="next":r<f?x="prev":x="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),a.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),a.effect!=="slide"&&l.setTranslate(p),x!=="reset"&&(l.transitionStart(i,x),l.transitionEnd(i,x)),!1;if(a.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 Ki({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(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),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,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);const l=s.grid&&s.params.grid&&s.params.grid.rows>1;let r=t;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)r=r+s.virtual.slidesBefore;else{let a;if(l){const m=r*s.params.grid.rows;a=s.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=s.getSlideIndexByData(r);const d=l?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:v}=s.params;let c=s.params.slidesPerView;c==="auto"?c=s.slidesPerViewDynamic():(c=Math.ceil(parseFloat(s.params.slidesPerView,10)),v&&c%2===0&&(c=c+1));let f=d-a<c;if(v&&(f=f||a<Math.ceil(c/2)),n&&v&&s.params.slidesPerView!=="auto"&&!l&&(f=!1),f){const m=v?a<s.activeIndex?"prev":"next":a-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-d+1,slideRealIndex:m==="next"?s.realIndex:void 0})}if(l){const m=r*s.params.grid.rows;r=s.slides.filter(h=>h.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=s.getSlideIndexByData(r)}return requestAnimationFrame(()=>{s.slideTo(r,e,i,n)}),s}function tl(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:s,params:l,animating:r}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let a=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:a,v=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!v&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const n=this,{params:s,snapGrid:l,slidesGrid:r,rtlTranslate:a,enabled:d,animating:v}=n;if(!d||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const c=n.virtual&&s.virtual.enabled;if(s.loop){if(v&&!c&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const f=a?n.translate:-n.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"&&s.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=r.indexOf(y),P<0&&(P=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(P=P-n.slidesPerViewDynamic("previous",!0)+1,P=Math.max(P,0))),s.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(P,t,e,i)}),!0;return n.slideTo(P,t,e,i)}function nl(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function ol(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const s=this;if(s.destroyed)return;typeof t>"u"&&(t=s.params.speed);let l=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,l),a=r+Math.floor((l-r)/s.params.slidesPerGroup),d=s.rtlTranslate?s.translate:-s.translate;if(d>=s.snapGrid[a]){const v=s.snapGrid[a],c=s.snapGrid[a+1];d-v>(c-v)*n&&(l+=s.params.slidesPerGroup)}else{const v=s.snapGrid[a-1],c=s.snapGrid[a];d-v<=(c-v)*n&&(l-=s.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,s.slidesGrid.length-1),s.slideTo(l,t,e,i)}function ll(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let s=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=t.getSlideIndex(ft(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Ct(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=t.getSlideIndex(ft(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),Ct(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}var sl={slideTo:$o,slideToLoop:el,slideNext:tl,slidePrev:il,slideReset:nl,slideToClosest:ol,slideToClickedSlide:ll};function dl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const s=()=>{ft(n,`.${i.slideClass}, swiper-slide`).forEach((f,m)=>{f.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),a=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,v=c=>{for(let f=0;f<c;f+=1){const m=e.isElement?Mt("swiper-slide",[i.slideBlankClass]):Mt("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const c=r-e.slides.length%r;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)");s()}else if(d){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)");s()}else s();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function rl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:s,activeSlideIndex:l,byController:r,byMousewheel:a}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:v,allowSlidePrev:c,allowSlideNext:f,slidesEl:m,params:h}=d,{centeredSlides:w}=h;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&h.virtual.enabled){i&&(!h.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):h.centeredSlides&&d.snapIndex<h.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=c,d.allowSlideNext=f,d.emit("loopFix");return}let y=h.slidesPerView;y==="auto"?y=d.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,d.loopedSlides=p;const x=d.grid&&h.grid&&h.grid.rows>1;v.length<y+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"):x&&h.grid.fill==="row"&&Ht("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],E=[];let C=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(v.filter(_=>_.classList.contains(h.slideActiveClass))[0]):C=l;const g=n==="next"||!n,O=n==="prev"||!n;let k=0,S=0;const u=x?Math.ceil(v.length/h.grid.rows):v.length,T=(x?v[l].column:l)+(w&&typeof s>"u"?-y/2+.5:0);if(T<p){k=Math.max(p-T,P);for(let _=0;_<p-T;_+=1){const D=_-Math.floor(_/u)*u;if(x){const M=u-D-1;for(let V=v.length-1;V>=0;V-=1)v[V].column===M&&b.push(V)}else b.push(u-D-1)}}else if(T+y>u-p){S=Math.max(T-(u-p*2),P);for(let _=0;_<S;_+=1){const D=_-Math.floor(_/u)*u;x?v.forEach((M,V)=>{M.column===D&&E.push(V)}):E.push(D)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__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}),d.recalcSlides(),h.slidesPerView==="auto"?d.updateSlides():x&&(b.length>0&&O||E.length>0&&g)&&d.slides.forEach((_,D)=>{d.grid.updateSlide(D,_,d.slides)}),h.watchSlidesProgress&&d.updateSlidesOffset(),i){if(b.length>0&&O){if(typeof e>"u"){const _=d.slidesGrid[C],M=d.slidesGrid[C+k]-_;a?d.setTranslate(d.translate-M):(d.slideTo(C+Math.ceil(k),0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-M,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-M))}else if(s){const _=x?b.length/h.grid.rows:b.length;d.slideTo(d.activeIndex+_,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(E.length>0&&g)if(typeof e>"u"){const _=d.slidesGrid[C],M=d.slidesGrid[C-S]-_;a?d.setTranslate(d.translate-M):(d.slideTo(C-S,0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-M,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-M))}else{const _=x?E.length/h.grid.rows:E.length;d.slideTo(d.activeIndex-_,0,!1,!0)}}if(d.allowSlidePrev=c,d.allowSlideNext=f,d.controller&&d.controller.control&&!r){const _={slideRealIndex:e,direction:n,setTranslate:s,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({..._,slideTo:D.params.slidesPerView===h.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({..._,slideTo:d.controller.control.params.slidesPerView===h.slidesPerView?i:!1})}d.emit("loopFix")}function al(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(s=>{const l=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[l]=s}),t.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{i.append(s)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ul={loopCreate:dl,loopFix:rl,loopDestroy:al};function cl(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:cl,unsetGrabCursor:vl};function ml(t,e){e===void 0&&(e=this);function i(n){if(!n||n===ct()||n===et())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(t);return!s&&!n.getRootNode?null:s||i(n.getRootNode().host)}return i(e)}function nn(t,e,i){const n=et(),{params:s}=t,l=s.edgeSwipeDetection,r=s.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fl(t){const e=this,i=ct();let n=t;n.originalEvent&&(n=n.originalEvent);const s=e.touchEventsData;if(n.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(s.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){nn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:a}=e;if(!a||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||s.isTouched&&s.isMoved)return;const v=!!l.noSwipingClass&&l.noSwipingClass!=="",c=n.composedPath?n.composedPath():n.path;v&&n.target&&n.target.shadowRoot&&c&&(d=c[0]);const f=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?ml(f,d):d.closest(f))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const h=r.currentX,w=r.currentY;if(!nn(e,n,h))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=h,r.startY=w,s.touchStartTime=st(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(s.allowThresholdMove=!1);let y=!0;d.matches(s.focusableElements)&&(y=!1,d.nodeName==="SELECT"&&(s.isTouched=!1)),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const P=y&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||P)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function hl(t){const e=ct(),i=this,n=i.touchEventsData,{params:s,touches:l,rtlTranslate:r,enabled:a}=i;if(!a||!s.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let v;if(d.type==="touchmove"){if(v=[...d.changedTouches].filter(g=>g.identifier===n.touchId)[0],!v||v.identifier!==n.touchId)return}else v=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const c=v.pageX,f=v.pageY;if(d.preventedByNestedSwiper){l.startX=c,l.startY=f;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f}),n.touchStartTime=st());return}if(s.touchReleaseOnEdges&&!s.loop){if(i.isVertical()){if(f<l.startY&&i.translate<=i.maxTranslate()||f>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<l.startX&&i.translate<=i.maxTranslate()||c>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=c,l.currentY=f;const m=l.currentX-l.startX,h=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(m**2+h**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let g;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+h*h>=25&&(g=Math.atan2(Math.abs(h),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?g>s.touchAngle:90-g>s.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||d.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let w=i.isHorizontal()?m:h,y=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(w=Math.abs(w)*(r?1:-1),y=Math.abs(y)*(r?1:-1)),l.diff=w,w*=s.touchRatio,r&&(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&&!s.cssMode,x=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&x&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const g=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(g)}n.allowMomentumBounce=!1,s.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let b;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&P!==i.touchesDirection&&p&&x&&Math.abs(w)>=1){Object.assign(l,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=w+n.startTranslate;let E=!0,C=s.resistanceRatio;if(s.touchReleaseOnEdges&&(C=0),w>0?(p&&x&&!b&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(E=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+w)**C))):w<0&&(p&&x&&!b&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(s.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(E=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-w)**C))),E&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(w)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function gl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let s;if(n.type==="touchend"||n.type==="touchcancel"){if(s=[...n.changedTouches].filter(C=>C.identifier===i.touchId)[0],!s||s.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;s=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:a,rtlTranslate:d,slidesGrid:v,enabled:c}=e;if(!c||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=st(),m=f-i.touchStartTime;if(e.allowClick){const C=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(C&&C[0]||n.target,C),e.emit("tap click",n),m<300&&f-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=st(),Ct(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let h;if(r.followFinger?h=d?e.translate:-e.translate:h=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.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<r.slidesPerGroupSkip?1:r.slidesPerGroup){const g=C<r.slidesPerGroupSkip-1?1:r.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;r.rewind&&(e.isBeginning?x=r.virtual&&r.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<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:y+E):e.slideTo(y)),e.swipeDirection==="prev"&&(b>1-r.longSwipesRatio?e.slideTo(y+E):x!==null&&b<0&&Math.abs(b)>r.longSwipesRatio?e.slideTo(x):e.slideTo(y))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(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 on(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=s,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function bl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function yl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let s;const l=t.maxTranslate()-t.minTranslate();l===0?s=0:s=(t.translate-t.minTranslate())/l,s!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function wl(t){const e=this;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 ln=(t,e)=>{const i=ct(),{params:n,el:s,wrapperEl:l,device:r}=t,a=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",v=e;!s||typeof s=="string"||(i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),s[d]("touchstart",t.onTouchStart,{passive:!1}),s[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[v](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",on,!0):t[v]("observerUpdate",on,!0),s[d]("load",t.onLoad,{capture:!0}))};function xl(){const t=this,{params:e}=t;t.onTouchStart=fl.bind(t),t.onTouchMove=hl.bind(t),t.onTouchEnd=gl.bind(t),t.onDocumentTouchStart=Sl.bind(t),e.cssMode&&(t.onScroll=yl.bind(t)),t.onClick=bl.bind(t),t.onLoad=wl.bind(t),ln(t,"on")}function Tl(){ln(this,"off")}var El={attachEvents:xl,detachEvents:Tl};const sn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Al(){const t=this,{realIndex:e,initialized:i,params:n,el:s}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,v=sn(t,n),c=sn(t,d),f=t.params.grabCursor,m=d.grabCursor,h=n.enabled;v&&!c?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!v&&c&&(s.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),f&&!m?t.unsetGrabCursor():!f&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(b=>{if(typeof d[b]>"u")return;const E=n[b]&&n[b].enabled,C=d[b]&&d[b].enabled;E&&!C&&t[b].disable(),!E&&C&&t[b].enable()});const w=d.direction&&d.direction!==n.direction,y=n.loop&&(d.slidesPerView!==n.slidesPerView||w),P=n.loop;w&&i&&t.changeDirection(),nt(t.params,d);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=r,t.emit("_beforeBreakpoint",d),i&&(y?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!P&&x?(t.loopCreate(e),t.updateSlides()):P&&!x&&t.loopDestroy()),t.emit("breakpoint",d)}function Il(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const s=et(),l=e==="window"?s.innerHeight:i.clientHeight,r=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const d=parseFloat(a.substr(1));return{value:l*d,point:a}}return{value:a,point:a}});r.sort((a,d)=>parseInt(a.value,10)-parseInt(d.value,10));for(let a=0;a<r.length;a+=1){const{point:d,value:v}=r[a];e==="window"?s.matchMedia(`(min-width: ${v}px)`).matches&&(n=d):v<=i.clientWidth&&(n=d)}return n||"max"}var Cl={setBreakpoint:Al,getBreakpoint:Il};function kl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&i.push(e+s)}):typeof n=="string"&&i.push(e+n)}),i}function _l(){const t=this,{classNames:e,params:i,rtl:n,el:s,device:l}=t,r=kl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),s.classList.add(...e),t.emitContainerClasses()}function Pl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Dl={addClasses:_l,removeClasses:Pl};function Ml(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const s=t.slides.length-1,l=t.slidesGrid[s]+t.slidesSizesGrid[s]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ol={checkOverflow:Ml},ci={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Ll(t,e){return function(n){n===void 0&&(n={});const s=Object.keys(n)[0],l=n[s];if(typeof l!="object"||l===null){nt(e,n);return}if(t[s]===!0&&(t[s]={enabled:!0}),s==="navigation"&&t[s]&&t[s].enabled&&!t[s].prevEl&&!t[s].nextEl&&(t[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&t[s]&&t[s].enabled&&!t[s].el&&(t[s].auto=!0),!(s in t&&"enabled"in l)){nt(e,n);return}typeof t[s]=="object"&&!("enabled"in t[s])&&(t[s].enabled=!0),t[s]||(t[s]={enabled:!1}),nt(e,n)}}const vi={eventsEmitter:Do,update:Uo,translate:Jo,transition:Ro,slide:sl,loop:ul,grabCursor:pl,events:El,breakpoints:Cl,checkOverflow:Ol,classes:Dl},pi={};let mi=class St{constructor(){let e,i;for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?i=s[0]:[e,i]=s,i||(i={}),i=nt({},i),e&&!i.el&&(i.el=e);const r=ct();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const c=[];return r.querySelectorAll(i.el).forEach(f=>{const m=nt({},i,{el:f});c.push(new St(m))}),c}const a=this;a.__swiper__=!0,a.support=Ri(),a.device=$i({userAgent:i.userAgent}),a.browser=ko(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const d={};a.modules.forEach(c=>{c({params:i,swiper:a,extendParams:Ll(i,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const v=nt({},ci,d);return a.params=nt({},v,pi,i),a.originalParams=nt({},a.params),a.passedParams=nt({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,s=ft(i,`.${n.slideClass}, swiper-slide`),l=Ut(s[0]);return Ut(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=ft(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const s=n.minTranslate(),r=(n.maxTranslate()-s)*e+s;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const s=e.getSlideClasses(n);i.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:s,slides:l,slidesGrid:r,slidesSizesGrid:a,size:d,activeIndex:v}=n;let c=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let f=l[v]?Math.ceil(l[v].swiperSlideSize):0,m;for(let h=v+1;h<l.length;h+=1)l[h]&&!m&&(f+=Math.ceil(l[h].swiperSlideSize),c+=1,f>d&&(m=!0));for(let h=v-1;h>=0;h-=1)l[h]&&!m&&(f+=l[h].swiperSlideSize,c+=1,f>d&&(m=!0))}else if(e==="current")for(let f=v+1;f<l.length;f+=1)(i?r[f]+a[f]-r[v]<d:r[f]-r[v]<d)&&(c+=1);else for(let f=v-1;f>=0;f-=1)r[v]-r[f]<d&&(c+=1);return c}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Yt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const r=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||s()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const s=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):ft(n,s())[0];return!r&&i.params.createElements&&(r=Mt("div",i.params.wrapperClass),n.append(r),ft(n,`.${i.params.slideClass}`).forEach(a=>{r.append(a)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Tt(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Tt(n,"direction")==="rtl"),wrongRTL:Tt(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const s=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&s.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(l=>{l.complete?Yt(i,l):l.addEventListener("load",r=>{Yt(i,r.target)})}),ui(i),i.initialized=!0,ui(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:s,el:l,wrapperEl:r,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),a&&a.length&&a.forEach(d=>{d.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),fo(n)),n.destroyed=!0),null}static extendDefaults(e){nt(pi,e)}static get extendedDefaults(){return pi}static get defaults(){return ci}static installModule(e){St.prototype.__modules__||(St.prototype.__modules__=[]);const i=St.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>St.installModule(i)),St):(St.installModule(e),St)}};Object.keys(vi).forEach(t=>{Object.keys(vi[t]).forEach(e=>{mi.prototype[e]=vi[t][e]})}),mi.use([_o,Po]);const dn=["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 _t(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Et(e[n])&&Et(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:_t(t[n],e[n]):t[n]=e[n]})}function rn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function an(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function un(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function cn(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function Bl(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:n,changedParams:s,nextEl:l,prevEl:r,scrollbarEl:a,paginationEl:d}=t;const v=s.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:c,pagination:f,navigation:m,scrollbar:h,virtual:w,thumbs:y}=e;let P,p,x,b,E,C,g,O;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(P=!0),s.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(p=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(c.pagination||c.pagination===!1)&&f&&!f.el&&(x=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&h&&!h.el&&(b=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(c.navigation||c.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()),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))};s.includes("loop")&&e.isElement&&(c.loop&&!n.loop?C=!0:!c.loop&&n.loop?g=!0:O=!0),v.forEach(S=>{if(Et(c[S])&&Et(n[S]))Object.assign(c[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&k(S);else{const u=n[S];(u===!0||u===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?u===!1&&k(S):c[S]=n[S]}}),v.includes("controller")&&!p&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),s.includes("children")&&i&&w&&c.virtual.enabled?(w.slides=i,w.update(!0)):s.includes("virtual")&&w&&c.virtual.enabled&&(i&&(w.slides=i),w.update(!0)),s.includes("children")&&i&&c.loop&&(O=!0),P&&y.init()&&y.update(!0),p&&(e.controller.control=c.controller.control),x&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(c.pagination.el=d),f.init(),f.render(),f.update()),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(c.navigation.nextEl=l),r&&(c.navigation.prevEl=r),m.init(),m.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(C||O)&&e.loopDestroy(),(g||O)&&e.loopCreate(),e.update()}function Fl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},s={};_t(i,ci),i._emitClasses=!0,i.init=!1;const l={},r=dn.map(d=>d.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?Et(t[d])?(i[d]={},s[d]={},_t(i[d],t[d]),_t(s[d],t[d])):(i[d]=t[d],s[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:s,rest:l,events:n}}function jl(t,e){let{el:i,nextEl:n,prevEl:s,paginationEl:l,scrollbarEl:r,swiper:a}=t;rn(e)&&n&&s&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=s,a.originalParams.navigation.prevEl=s),an(e)&&l&&(a.params.pagination.el=l,a.originalParams.pagination.el=l),un(e)&&r&&(a.params.scrollbar.el=r,a.originalParams.scrollbar.el=r),a.init(i)}function Vl(t,e,i,n,s){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(s),v=i.map(s);d.join("")!==v.join("")&&r("children"),n.length!==i.length&&r("children")}return dn.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(Et(t[d])&&Et(e[d])){const v=Object.keys(t[d]),c=Object.keys(e[d]);v.length!==c.length?r(d):(v.forEach(f=>{t[d][f]!==e[d][f]&&r(d)}),c.forEach(f=>{t[d][f]!==e[d][f]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const zl=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 n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Xt.apply(this,arguments)}function vn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function pn(t){const e=[];return o.Children.toArray(t).forEach(i=>{vn(i)?e.push(i):i.props&&i.props.children&&pn(i.props.children).forEach(n=>e.push(n))}),e}function Hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(t).forEach(n=>{if(vn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const s=pn(n.props.children);s.length>0?s.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Ul(t,e,i){if(!i)return null;const n=c=>{let f=c;return c<0?f=e.length+c:f>=e.length&&(f=f-e.length),f},s=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,a=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,v=[];for(let c=a;c<d;c+=1)c>=l&&c<=r&&v.push(e[n(c)]);return v.map((c,f)=>o.cloneElement(c,{swiper:t,style:s,key:c.props.virtualIndex||c.key||`slide-${f}`}))}function Ot(t,e){return typeof window>"u"?o.useEffect(t,e):o.useLayoutEffect(t,e)}const fi=o.createContext(null),mn=()=>o.useContext(fi),Gl=o.createContext(null),At=o.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:s="div",children:l,onSwiper:r,...a}=t===void 0?{}:t,d=!1;const[v,c]=o.useState("swiper"),[f,m]=o.useState(null),[h,w]=o.useState(!1),y=o.useRef(!1),P=o.useRef(null),p=o.useRef(null),x=o.useRef(null),b=o.useRef(null),E=o.useRef(null),C=o.useRef(null),g=o.useRef(null),O=o.useRef(null),{params:k,passedParams:S,rest:u,events:A}=Fl(a),{slides:T,slots:_}=Hl(l),D=()=>{w(!h)};Object.assign(k.on,{_containerClasses(N,B){c(B)}});const M=()=>{Object.assign(k.on,A),d=!0;const N={...k};if(delete N.wrapperClass,p.current=new mi(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=T;const B={cache:!1,slides:T,renderExternal:m,renderExternalUpdate:!1};_t(p.current.params.virtual,B),_t(p.current.originalParams.virtual,B)}};P.current||M(),p.current&&p.current.on("_beforeBreakpoint",D);const V=()=>{d||!A||!p.current||Object.keys(A).forEach(N=>{p.current.on(N,A[N])})},U=()=>{!A||!p.current||Object.keys(A).forEach(N=>{p.current.off(N,A[N])})};o.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",D)}),o.useEffect(()=>{!y.current&&p.current&&(p.current.emitSlidesClasses(),y.current=!0)}),Ot(()=>{if(e&&(e.current=P.current),!!P.current)return p.current.destroyed&&M(),jl({el:P.current,nextEl:E.current,prevEl:C.current,paginationEl:g.current,scrollbarEl:O.current,swiper:p.current},k),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),Ot(()=>{V();const N=Vl(S,x.current,T,b.current,B=>B.key);return x.current=S,b.current=T,N.length&&p.current&&!p.current.destroyed&&Nl({swiper:p.current,slides:T,passedParams:S,changedParams:N,nextEl:E.current,prevEl:C.current,scrollbarEl:O.current,paginationEl:g.current}),()=>{U()}}),Ot(()=>{zl(p.current)},[f]);function F(){return k.virtual?Ul(p.current,T,f):T.map((N,B)=>o.cloneElement(N,{swiper:p.current,swiperSlideIndex:B}))}return o.createElement(n,Xt({ref:P,className:cn(`${v}${i?` ${i}`:""}`)},u),o.createElement(Gl.Provider,{value:p.current},_["container-start"],o.createElement(s,{className:Bl(k.wrapperClass)},_["wrapper-start"],F(),_["wrapper-end"]),rn(k)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:C,className:"swiper-button-prev"}),o.createElement("div",{ref:E,className:"swiper-button-next"})),un(k)&&o.createElement("div",{ref:O,className:"swiper-scrollbar"}),an(k)&&o.createElement("div",{ref:g,className:"swiper-pagination"}),_["container-end"]))});At.displayName="Swiper";const vt=o.forwardRef(function(t,e){let{tag:i="div",children:n,className:s="",swiper:l,zoom:r,lazy:a,virtualIndex:d,swiperSlideIndex:v,...c}=t===void 0?{}:t;const f=o.useRef(null),[m,h]=o.useState("swiper-slide"),[w,y]=o.useState(!1);function P(E,C,g){C===f.current&&h(g)}Ot(()=>{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)}}}),Ot(()=>{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 n=="function"?n(p):n,b=()=>{y(!0)};return o.createElement(i,Xt({ref:f,className:cn(`${m}${s?` ${s}`:""}`),"data-swiper-slide-index":d,onLoad:b},c),r&&o.createElement(fi.Provider,{value:p},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},x(),a&&!w&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&o.createElement(fi.Provider,{value:p},x(),a&&!w&&o.createElement("div",{className:"swiper-lazy-preloader"})))});vt.displayName="SwiperSlide";const Wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Yl=({visible:t,onClose:e,children:i,modalStyle:n,padding:s,popup:l,schema:r,fullHeight:a=window.innerHeight,isFullScreen:d=!1})=>{var v,c,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,u,A,T,_;const D=o.useRef(null),M=o.useRef(null),V=o.useRef(null),U=o.useRef(null),F=a*.2,N=d?a:a*.8,[B,Q]=o.useState(F),[W,ie]=o.useState(!1),K=o.useRef(null),{globalConfig:Z,popupDetailData:z}=Ee(),{schema:ce}=at();o.useEffect(()=>{const se=document.getElementById("sxp-render"),ne=document.getElementById("pb-modal");ne?K.current=ne:(K.current=document.createElement("div"),K.current.setAttribute("id","pb-modal"),se?.appendChild(K.current))},[]);const ve=o.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]),q=o.useMemo(()=>{var se,ne,ye;const Se=r??ce;return(ye=(ne=(se=Se?.sxpPageConf)===null||se===void 0?void 0:se.globalConfig)===null||ne===void 0?void 0:ne.popupList)===null||ye===void 0?void 0:ye.find(Te=>Te?.id===l?.id)},[l,r,ce]),R=o.useMemo(()=>{var se,ne;return((ne=(se=q?.item)===null||se===void 0?void 0:se.event)===null||ne===void 0?void 0:ne.isScrollFullScreen)||!1},[q]);if(o.useEffect(()=>{ve?ie(!0):setTimeout(()=>{ie(!1),Q(F)},l?.duration)},[ve,l]),!K.current)return null;const oe=Ue.debounce(()=>{e?.()},300),te=se=>{D.current=se.touches[0],M.current=se.touches[0],V.current=!0},le=se=>{requestAnimationFrame(()=>{var ne;if(V.current&&((ne=U?.current)===null||ne===void 0?void 0:ne.scrollTop)===0){const ye=se.touches[0].clientY,Se=se.touches[0].clientX,Pe=D.current.clientY-ye;D.current=se.touches[0];const Te=ye-M.current.clientY,Ne=Se-M.current.clientX;if(Math.abs(Ne)>Math.abs(Te))return;const Le=B-Pe;Le>0&&Q(Le)}})},de=se=>{var ne;if(V.current&&((ne=U?.current)===null||ne===void 0?void 0:ne.scrollTop)===0){const ye=se.changedTouches[0].clientY-M.current.clientY,Se=se.changedTouches[0].clientX-M.current.clientX;if(Math.abs(Se)>Math.abs(ye))return;const Pe=M.current.clientY-D.current.clientY;Pe>0?Q(0):B<F&&Pe<0?Q(F):B>=F&&Pe<0&&e?.()}V.current=!1};return _i.createPortal(o.createElement(o.Fragment,null,W&&o.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:ve?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:oe},o.createElement("div",{style:{position:"relative",left:`${(m=(f=(c=(v=q?.item)===null||v===void 0?void 0:v.props)===null||c===void 0?void 0:c.popupBg)===null||f===void 0?void 0:f.horizontalMargin)!==null&&m!==void 0?m:0}px`,right:`${(P=(y=(w=(h=q?.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=q?.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=q?.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%"}},o.createElement("div",Object.assign({className:`modal-container ${ve?"modal-popIn":"modal-popOut"}`,style:Object.assign({padding:s,animationDuration:((S=l?.duration)!==null&&S!==void 0?S:0)/1e3+"s"},R&&{transform:`translateY(${B}px)`}),onClick:se=>{se.stopPropagation(),se.preventDefault()}},R&&{onTouchMove:le,onTouchStart:te,onTouchEnd:de}),o.createElement("div",{onClick:e,className:"modal-icon-wrapper"},o.createElement("img",{src:(u=Z?.popupCloseIcon)!==null&&u!==void 0?u:Wl,alt:"close",className:"modal-icon"})),o.createElement("div",{ref:U,style:{height:(R?a:N)-((_=(T=(A=q?.item)===null||A===void 0?void 0:A.props)===null||T===void 0?void 0:T.popupBg)===null||_===void 0?void 0:_.bottomMargin),overflow:R&&B<=0||!R?"auto":"hidden"}},i))))),K.current)};var Pt=o.memo(Yl);const Xl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),s=[];for(let r=0;r<n.length&&(s.push(n[r]),!(s.join(" ").length>=e));r++);return(s.length>1&&s.length<n.length?s.slice(0,s.length-1):s).join(" ")+" "},ql=({text:t,maxStr:e=108,style:i,className:n,onClick:s,foldText:l,unfoldText:r,isPost:a,onChange:d})=>{const[v,c]=o.useState(!1),[f,m]=o.useState(!1),h=Number(i?.lineClamp||2),w=o.useRef(null),y=o.useRef(null),P=o.useCallback(()=>{c(!v)},[v,d]);return o.useMemo(()=>!v&&t.length>e?Xl(t,e)+"...":t,[t,e,v]),o.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)&&a?m(!0):m(!1),y.current.style.display="none"},[a]),o.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},o.createElement("div",{ref:w,style:{overflow:"hidden",WebkitLineClamp:!a||v?"":h,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:ge(t?.replace(/\n/g,"</br>"),i)}}),o.createElement("div",{ref:y,dangerouslySetInnerHTML:{__html:ge(t?.replace(/\n/g,"</br>"),i)}}),t&&a&&f&&o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:s??P,dangerouslySetInnerHTML:{__html:ge(v?r||"show less":l||"show more",i)}}))};var qt=o.memo(ql);const Jl=o.forwardRef((t,e)=>{const{src:i,onLoad:n,style:s,className:l,loading:r,alt:a="image"}=t,[d,v]=o.useState(),c=o.useRef(null),[f,m]=o.useState(!1);return o.useImperativeHandle(e,()=>({setSrc:h=>{h&&v(h)}})),o.useEffect(()=>{i&&v(i)},[i]),o.useEffect(()=>{const h=()=>{i&&!f&&c.current&&(c.current.src="",c.current.src=i)};return ut.on(it.PAGE_DID_SHOW,h),()=>{ut.off(it.PAGE_DID_SHOW,h)}},[i,f]),o.createElement(o.Fragment,null,!f&&o.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),d?.includes(".avif")?o.createElement("picture",null,o.createElement("source",{type:"image/avif",srcSet:d}),o.createElement("source",{type:"image/webp",srcSet:`${d}?imageMogr2/format/webp`}),o.createElement("source",{type:"image/jpeg",srcSet:`${d}?imageMogr2/format/jpg`}),o.createElement("img",{ref:c,className:l,src:d,style:Object.assign({},s),loading:r,onLoad:h=>{m(!0),n?.(h.target)},alt:a})):o.createElement("img",{ref:c,className:l,src:d,style:Object.assign({},s),loading:r,onLoad:h=>{m(!0),n?.(h.target)},alt:a}))});var tt=o.memo(Jl);const Kl=({children:t,isPadding:e=!0,style:i,enableSlideActive:n=!1})=>{const s=o.useRef(),{popupDetailData:l}=Ee();return o.useEffect(()=>{var r,a;n&&((r=s?.current)===null||r===void 0||r.swiper.slideTo((a=l?.multiCheckIndex)!==null&&a!==void 0?a:0))},[l,n]),o.createElement(At,{ref:s,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Eo,To,xo],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Lt=o.memo(Kl);const Zl=({products:t,data:e,defImg:i,style:n,onCLick:s,popupDetailData:l,check:r})=>{var a;const{productView:d}=Je(),{popupCurTimeRef:v}=Ee(),c=(f,m)=>{if(r===m)return;const h=t?.[r];d(l,h,h?.bindCta,v.current,l?.index),s?.(m)};return o.createElement(o.Fragment,null,e?.open&&(t&&t?.length>1||!l)&&o.createElement(Lt,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},n),e?.style)},(a=l?t:[0,1,2,3])===null||a===void 0?void 0:a.map((f,m)=>{var h,w,y;return o.createElement(o.Fragment,null,f?.bindCta?o.createElement(vt,{className:be.css({width:"50px",height:"50px",marginRight:"10px"}),onClick:()=>{c(f,m)},key:m},o.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:r===m?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(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 fn=o.memo(Zl);const Ql=t=>{var e,i,n,s,l,r,a,d,v,c,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,u,A,T,_,{content:D,style:M,bgImg:V,onClick:U,schema:F,isDefault:N,bottom_image:B,tipText:Q,isPost:W,viewTime:ie,rec:K,swiper:Z,commodityStyles:z,buttonStyle:ce,index:ve,commodityGroup:q,popupBg:R,iframeIcon:oe,commodityImgRatio:te}=t,le=Xe(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);const{sxpParameter:de,popupDetailData:se,isPreview:ne,bffFbReport:ye,popupCurTimeRef:Se,checkCommodityIndexRef:Pe}=Ee(),{jumpToWeb:Te,productView:Ne}=Je(),Le=o.useRef(null),[G,fe]=o.useState(!1),[Ae,pe]=o.useState(!1),[Me,Oe]=o.useState((e=se?.multiCheckIndex)!==null&&e!==void 0?e:0),we=o.useRef(),H=W?K:se;let L=W?H?.product:(n=(i=H?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=H?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],De=W?(r=H?.product)===null||r===void 0?void 0:r.bindCta:(v=(d=(a=H?.video)===null||a===void 0?void 0:a.bindProduct)===null||d===void 0?void 0:d.bindCta)!==null&&v!==void 0?v:(m=(f=(c=H?.video)===null||c===void 0?void 0:c.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const rt=W?ve:se?.index;if(!W&&q?.open&&(!((h=H?.video)===null||h===void 0)&&h.bindProducts)&&((y=(w=H?.video)===null||w===void 0?void 0:w.bindProducts)===null||y===void 0?void 0:y.length)>0){Pe.current=Me;const j=(P=H?.video)===null||P===void 0?void 0:P.bindProducts[Me];L=j,De=j?.bindCta}const It=()=>{L?.link&&(Te(H,L,De,rt),W||Ne(H,L,De,ie||Le.current,rt),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{W||ye?.({eventName:"ProductView"})},[W,ye]),o.useEffect(()=>{const j=()=>{Le.current=new Date};return j(),window.addEventListener("pageshow",j),()=>{window.removeEventListener("pageshow",j)}},[]);const J=o.useMemo(()=>{var j,X,ee,ue,me,$,ae;const xe=((j=z?.price)===null||j===void 0?void 0:j.enableFormattedPrice)===void 0||((X=z?.price)===null||X===void 0?void 0:X.enableFormattedPrice);return L?.currency&&L?.price?`${(me=(ue=(ee=L?.currency)===null||ee===void 0?void 0:ee.split("-")[1])===null||ue===void 0?void 0:ue.toUpperCase())!==null&&me!==void 0?me:""}${xe?(ae=($=L?.price)===null||$===void 0?void 0:$.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&ae!==void 0?ae:"":L?.price}`:"$7,000"},[L?.price,L?.currency,(p=z?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),Y=(ne?375:(x=M?.width)!==null&&x!==void 0?x:window.innerWidth)-((b=R?.horizontalMargin)!==null&&b!==void 0?b:0)*2,he=te?Y*(te.h/te.w):Y,Ie=({isPost:j})=>{var X,ee,ue,me;return o.createElement("div",null,o.createElement("div",{className:"pb-commondity-content-collection",style:_e(z?.collection),hidden:!!L&&(!L?.collection||L?.collection===""),dangerouslySetInnerHTML:{__html:ge((X=L?.collection)!==null&&X!==void 0?X:"Tiffany Lock",z?.collection)}}),o.createElement("div",{className:"pb-commondity-content-title",style:_e(z?.title),hidden:!!L&&!L?.title,dangerouslySetInnerHTML:{__html:ge((ee=L?.title)!==null&&ee!==void 0?ee:"Pendant in Yellow Gold with Diamonds, Medium",z?.title)}}),o.createElement("div",{className:"pb-commondity-content-price",style:_e(z?.price),hidden:!!L&&!L?.price,dangerouslySetInnerHTML:{__html:ge(J,z?.price)}}),o.createElement("div",{hidden:!!L&&!L?.taxInfo,style:_e(z?.taxInfo),dangerouslySetInnerHTML:{__html:ge((ue=L?.taxInfo)!==null&&ue!==void 0?ue:"\u7A0E\u8D39",z?.taxInfo)}}),o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(qt,{foldText:Q?.foldText,unfoldText:Q?.unfoldText,onClick:()=>fe(!0),isPost:j,text:(me=L?.info)!==null&&me!==void 0?me:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
|
1
|
+
(function(Xe,Ye){typeof exports=="object"&&typeof module<"u"?Ye(exports,require("lodash"),require("uuid"),require("pako"),require("react"),require("qs"),require("eventemitter3"),require("@emotion/css"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","lodash","uuid","pako","react","qs","eventemitter3","@emotion/css","react-dom"],Ye):(Xe=typeof globalThis<"u"?globalThis:Xe||self,Ye(Xe.PUI={},Xe.lodash,Xe.uuid$1,Xe.pako,Xe.React,Xe.qs,Xe.EventEmitter,Xe.css,Xe.ReactDOM))})(this,function(Xe,Ye,Bn,Fn,o,Rt,jn,ye,ki){"use strict";function Vn(t){var e=Object.create(null);return t&&Object.keys(t).forEach(function(i){if(i!=="default"){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}}),e.default=t,Object.freeze(e)}var _i=Vn(ki);function Ke(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i}function $e(t,e,i,n){function s(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function a(u){try{v(n.next(u))}catch(h){r(h)}}function d(u){try{v(n.throw(u))}catch(h){r(h)}}function v(u){u.done?l(u.value):s(u.value).then(a,d)}v((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const zn=/:\w+/g;var Pi=(t,e)=>$e(void 0,void 0,void 0,function*(){const i={},n={};for(let s=0;s<e?.length;s++){const{id:l,method:r,url:a,urlParams:d,name:v,queryString:u,headers:h,body:m}=e[s];let f=a;d&&Object.entries(d).forEach(([x,w])=>{f=f.replace(zn,I=>I===x?w:I)}),u&&(f+=u),n[l]=v;try{const x=yield fetch(f,{method:r,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:n}});const Di="SXP_TOKEN_INFO",Hn=(t,e)=>$e(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),s=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Di);let a=JSON.parse(r||"{}");if(Date.now()>((i=a?.expireTime)!==null&&i!==void 0?i:0)){const v=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":s||""}}).then(u=>u.json());if(v.success){const u=v.data;a=Object.assign(Object.assign({},u),{expireTime:Date.now()+u.expire*1e3}),window.localStorage.setItem(Di,JSON.stringify(a))}}return a});function Ft(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let s;if(e=e||i.length,t)for(s=0;s<t;s++)n[s]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",s=0;s<36;s++)n[s]||(l=0|Math.random()*16,n[s]=i[s===19?l&3|8:l])}return n.join("")}const Gn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let s=0;for(;s<t;)e+=i.charAt(Math.floor(Math.random()*n)),s+=1;return e},Un=()=>{const t=Bn.v4();return t?.replaceAll?t.replaceAll("-",""):Gn(32)},he=(t,e)=>{if(!t)return"";let i="";const n=e?.["fontFamily-cn"],s=e?.["fontFamily-en"];if(!n&&!s)return t;let l=t;const r=/[\u4e00-\u9fa5]/g,a=/[^\u4e00-\u9fa5]/g,d=`font-family:${n??"inherit"}`,v=`font-family:${s??"inherit"}`,u=m=>{let f=m.search(r),x=m.search(a);return f!==-1&&x!==-1&&f<x&&(i+=`<span style="${d}">${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="${d}">${m.substring(f,m?.length)}</span>`,l="",!1):!0};let h=!0;for(;h;)h=u(l);return i};function Mi(){var t,e,i,n,s,l,r;let a=self.navigator.userAgent;return a?/edge\/([\d\.]+)/i.exec(a)?`Edge ${(t=/edge\/([\d\.]+)/i.exec(a))===null||t===void 0?void 0:t[1]}`:/edg\/([\d\.]+)/i.exec(a)?`Edge(Chromium) ${(e=/edge\/([\d\.]+)/i.exec(a))===null||e===void 0?void 0:e[1]}`:/msie/i.test(a)?`Internet Explorer ${(i=/msie ([\d\.]+)/i.exec(a))===null||i===void 0?void 0:i[1]}`:/Trident/i.test(a)?`Internet Explorer ${(n=/rv:([\d\.]+)/i.exec(a))===null||n===void 0?void 0:n[1]}`:/chrome/i.test(a)?`Chrome ${(s=/chrome\/([\d\.]+)/i.exec(a))===null||s===void 0?void 0:s[1]}`:/firefox/i.test(a)?`Firefox ${(l=/firefox\/([\d\.]+)/i.exec(a))===null||l===void 0?void 0:l[1]}`:/safari/i.test(a)?`Safari ${(r=/version\/([\d\.]+)/i.exec(a))===null||r===void 0?void 0:r[1]}`:null:null}function Oi(){var t,e,i;let n=self.navigator.userAgent;return n?/iphone/i.test(n)?`IOS ${(t=n.match(/OS\s(.*?)\slike/))===null||t===void 0?void 0:t[1]}`:/android/i.test(n)?`Android ${(e=n.match(/Android\s(.*?)\;/))===null||e===void 0?void 0:e[1]}`:/windows/i.test(n)?`Windows ${(i=n.match(/Windows\s(.*?)\;/))===null||i===void 0?void 0:i[1]}`:/mac/i.test(n)?"Mac OS":null:null}function Li(){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 n=t.substring(e+1,i);return`${n}`}}return/windows/i.test(t)?"Windows":/mac/i.test(t)?"Mac":null}function Ni(t){const i=document.cookie.split(";");let n=null;return i.forEach(s=>{const[l,r]=s.trim().split("=");l===t&&(n=r)}),n??""}function Bi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),s=Fn.inflate(n,{to:"string"});return JSON.parse(s)}let $t=null;const Wn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Yn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,$t)return $t;$t=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Wn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let et=null;const Xn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{et||(et=new Yn),n&&et.setApiUrl(n),et.setAppId(t),et.setTenantId(e),et.setEnv(i)},getDetail:t=>{if(!et)return;const e=et.getTenantId(),i=et.getAppId(),n=et.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>$e(void 0,void 0,void 0,function*(){var l,r;const a=yield s.json(),d=Bi((l=a?.data)===null||l===void 0?void 0:l.data);if(d){const{$store:v}=yield Pi(n,(r=d?.dataSource)!==null&&r!==void 0?r:[]);a.data.data=d,Object.assign(a.data.data,{__STORE__:v})}return a}))},getSxpDetailByPageId:t=>$e(void 0,void 0,void 0,function*(){if(!et)return;const e=et.getTenantId(),i=et.getAppId(),n=et.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(s=>$e(void 0,void 0,void 0,function*(){var l;const r=yield s.json();if(!r.success)return;const a=Bi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=a,r.data}))}),getSxpRecommendVideoData:t=>$e(void 0,void 0,void 0,function*(){if(!et)return;const e=yield Hn(et,t),i=Ft(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Ye.isEmpty(n)&&(n=Ft(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const s=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return s?.data||null})};function ut(){return o.useContext(qi)}function Jn(){return o.useContext(Ji)}const ei="feRealSessionIdKey",Fi=()=>{const t=Un();return`${Date.now()}${t}`},qn=()=>{let t=Kn();return t||(t=Fi(),window.sessionStorage.setItem(ei,t)),t},ji=()=>{const t=Fi();window.sessionStorage.setItem(ei,t)},Kn=()=>window.sessionStorage.getItem(ei),Vi="SXP_FAKE_USER_ID",zi="FAKE_USER_STATE",Hi="AGREE_POLICY",Gi="SLIDE_SKIP_STATE",Ui=()=>{let t=window.localStorage.getItem(Vi);return Ye.isEmpty(t)&&(t=Ft(36,62),window.localStorage.setItem(Vi,t)),t},Zn=()=>{const t=window.localStorage.getItem(zi);return Ye.isEmpty(t)&&window.localStorage.setItem(zi,"true"),Ye.isEmpty(t)},Qn=()=>{const t=window.localStorage.getItem(Gi);return Ye.isEmpty(t)},Rn=()=>{window.localStorage.setItem(Gi,"true")};function st(t,e){const{appDomain:i}=ke();return o.useMemo(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const ct=new jn;var nt;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(nt||(nt={}));const $n=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:s,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:a}=ke(),d=o.useMemo(()=>{const h=location.search.slice(1),m=Rt.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=d[h])!==null&&m!==void 0?m:null};o.useEffect(()=>{a?.({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=()=>{a?.({eventInfo:{eventSubject:"userConsent",eventDescription:"\u7528\u6237\u6388\u6743\u3010\u64CD\u4F5C\u7ED3\u679C\u3011",consentResult:"0",consentTags:'["\u7CFB\u7EDF\u8FD0\u8425"]',rtc:null,requestId:null,sessionID:null}}),r?.(!0),window.localStorage.setItem(Hi,"yes")};return o.createElement("div",{className:"consent-bg"},o.createElement("div",{className:"consent"},o.createElement("div",{className:"consent-col"},o.createElement("div",{className:"consent-title"},i??"Privacy Policy"),o.createElement("div",{className:"consent-content"},n??"This site uses cookies to improve your online experience. By continuing to use the site please agree the policy first.")),o.createElement("div",{className:"consent-col"},o.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:u},"Agree"),o.createElement("a",{className:"consent-policy",target:"_blank",href:s?`https://${s}`:void 0},l??"More information"))))};var eo=o.memo($n);const Wi=o.createContext({rtcList:[],tagList:[]});var ti;(function(t){t[t.BFF=5]="BFF"})(ti||(ti={}));const jt="FOR U",to=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:s,defaultSize:l,isPreview:r=!1,sxpParameter:a,appDomain:d,hashTagSize:v,loadingImage:u,isOpenHashTag:h=!1,enabledMetaConversionApi:m=!1,consentHeight:f,consentWidth:x,isShowTag:w=!0,isOpenConsent:I=!1,globalConfig:p,isEditor:T=!1,utmParameter:b,channelQueryList:E})=>{var P,g,M;const[D,S]=o.useState([]),[c,_]=o.useState([]),[y,C]=o.useState(!1),[k,O]=o.useState({rtc:"",requestId:""}),j=o.useRef(null),z=o.useRef(!1),[F,N]=o.useState(()=>!!window.localStorage.getItem(Hi)),[B,X]=o.useState(),[H,$]=o.useState(),[Z,U]=o.useState(h),[V,ce]=o.useState([]),[be,te]=o.useState(0),[q,re]=o.useState(!1),[ne,oe]=o.useState(null),ve=o.useRef(),we=o.useRef(),[ee,fe]=o.useState(jt),Se=o.useRef(-1),De=o.useRef(null),Ce=o.useMemo(()=>{var W,Y,ge,Te;return((Te=(ge=(Y=(W=p?.consent)===null||W===void 0?void 0:W[0])===null||Y===void 0?void 0:Y.item)===null||ge===void 0?void 0:ge.props)===null||Te===void 0?void 0:Te.privacy_necessity)&&!F&&!T||I},[F,p,I,T]),Me=o.useCallback(W=>{var Y;const ge=W?.recList;return(Y=ge?.map(me=>{var Ee,Pe,je,We,ue,A;if(!((Ee=me?.video)===null||Ee===void 0)&&Ee.bindProducts&&((je=(Pe=me?.video)===null||Pe===void 0?void 0:Pe.bindProducts)===null||je===void 0?void 0:je.length)>0){const Q=(A=(ue=(We=me?.video)===null||We===void 0?void 0:We.bindProducts)===null||ue===void 0?void 0:ue.filter(R=>!!R?.bindCta))!==null&&A!==void 0?A:[];return Object.assign(Object.assign({},me),{video:Object.assign(Object.assign({},me?.video),{bindProducts:Q})})}return me}))!==null&&Y!==void 0?Y:[]},[]);o.useEffect(()=>{const W=Y=>{ve.current=Y};return ct.on(nt.CHANGE_THEME_TAG,W),()=>{ct.off(nt.CHANGE_THEME_TAG,W)}},[]),o.useEffect(()=>{U(h)},[h]);const Ne=o.useMemo(()=>e?.find(W=>W.type===ti.BFF),[e]),G=o.useCallback((W,Y)=>{if(!Ne)return;const ge=Ne.url,Te=Ui();if(Y?.query){const me=Rt.stringify(Y.query);W=`${W}?${me}`}return Y.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${ge}/api/v1${W}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},Ne.headers),{"x-user-id":Te}),Y.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${ge}/api/v1${W}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":Te},Ne.headers),method:Y.method,body:JSON.stringify(Y.body)}).then(me=>me.json()).catch(me=>Promise.reject(me))},[Ne]),pe=o.useCallback(W=>$e(void 0,void 0,void 0,function*(){var Y,ge,Te,me,Ee,Pe,je,We,ue,A,Q,R;if(W=Object.assign(Object.assign(Object.assign({maxSize:(Y=W?.maxSize)!==null&&Y!==void 0?Y:s,defaultSize:(ge=W?.defaultSize)!==null&&ge!==void 0?ge:l,hashTag:W?.hashTag,traceInfo:W?.traceInfo,themeTag:W?.themeTag},W?.contentFilter&&{contentFilter:`[${W?.contentFilter}]`}),W?.productFilter&&{productFilter:`[${W?.productFilter}]`}),{pageNum:W?.pageNum}),i){const se=(Ee=(me=(Te=i?.split("&"))===null||Te===void 0?void 0:Te.filter(de=>{var J,ae;const Ae=de.split("=")[0];return(ae=(J=b?.channels)!==null&&J!==void 0?J:[])===null||ae===void 0?void 0:ae.includes(Ae)}))===null||me===void 0?void 0:me.join("&"))!==null&&Ee!==void 0?Ee:"";W=Object.assign(Object.assign({},W),{channel:decodeURIComponent(se)})}if(p?.enablePreview&&(W=Object.assign(Object.assign({},W),{directPage:!0,level:1,pageNum:(Pe=W?.pageNum)!==null&&Pe!==void 0?Pe:1})),T){let se=1;if(W=Object.assign(Object.assign({},W),!i&&E&&E?.length>0&&{channel:E?.[0]}),!W?.channel||z.current)return;z.current=!0;let de=[],J=null;const ae=Ae=>$e(void 0,void 0,void 0,function*(){var Oe,Fe,Ue,ze,Je,qe;if(Ae.pageNum=se,J=yield G?.("/recommend/list",{method:"GET",query:Ae}),!J?.success)return;const _e=(Fe=(Oe=J?.data)===null||Oe===void 0?void 0:Oe.recList)===null||Fe===void 0?void 0:Fe.every(Ie=>Ie?.product||Ie?.video);de=de.concat((qe=(Je=(ze=(Ue=J?.data)===null||Ue===void 0?void 0:Ue.recList)===null||ze===void 0?void 0:ze.filter)===null||Je===void 0?void 0:Je.call(ze,Ie=>Ie?.product||Ie?.video))!==null&&qe!==void 0?qe:[]),_e&&(se=se+1,yield ae(Ae))});return yield ae(W),!W?.hashTag&&J&&O({rtc:(je=J?.data)===null||je===void 0?void 0:je.rtc,requestId:(We=J?.data)===null||We===void 0?void 0:We.requestId}),Object.assign(Object.assign({},J.data),{recList:de})}const ie=yield G?.("/recommend/list",{method:"GET",query:W});if(ie?.success){if(W?.hashTag||O({rtc:ie.data.rtc,requestId:ie.data.requestId}),p?.enablePreview&&!T){let se=[];return se=se.concat((R=(Q=(A=(ue=ie?.data)===null||ue===void 0?void 0:ue.recList)===null||A===void 0?void 0:A.filter)===null||Q===void 0?void 0:Q.call(A,de=>de?.product||de?.video))!==null&&R!==void 0?R:[]),Object.assign(Object.assign({},ie.data),{recList:se})}return ie?.data}}),[G,i,s,l,E]),xe=o.useCallback(W=>$e(void 0,void 0,void 0,function*(){var Y,ge,Te,me;if(D.length<=0)return;const Ee=D?.[D?.length-1],Pe=yield pe(Object.assign(Object.assign(Object.assign(Object.assign({hashTag:H?.hashTag},((Y=Ee?.product)===null||Y===void 0?void 0:Y.itemId)&&{productFilter:(ge=Ee?.product)===null||ge===void 0?void 0:ge.itemId}),((Te=Ee?.video)===null||Te===void 0?void 0:Te.itemId)&&{contentFilter:(me=Ee?.video)===null||me===void 0?void 0:me.itemId}),{themeTag:ve.current}),p?.enablePreview&&!T&&{pageNum:W}));S(D.concat(Me(Pe))),ce(V.concat(Me(Pe)))}),[pe,D,H,V]),le=o.useCallback(({userInfo:W,eventInfo:Y})=>{if(!n||p?.enablePreview)return;W||(W={});const ge=qn(),Te=Object.assign(Object.assign(Object.assign(Object.assign({sessionID:ge,rtc:k.rtc,requestId:k.requestId},Y),Li()&&{sxpDevice:Li()}),Oi()&&{sxpSystem:Oi()}),Mi()&&{sxpBrowser:Mi()}),me=Object.entries(W).map(([Pe,je])=>({name:Pe,value:je})),Ee=Object.entries(Te).map(([Pe,je])=>je&&{name:Pe,value:je}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",W),console.log("eventInfo:",Te),console.log("========= \u7ED3\u675F ========="),G?.("/event/report",{method:"POST",body:{userInfo:me,eventInfo:Ee},type:"beacon"})},[G,k,n,p?.enablePreview]),Ve=o.useCallback(W=>{var Y,ge,Te,{eventName:me,actionSource:Ee="website",eventSourceUrl:Pe=(Y=window?.location)===null||Y===void 0?void 0:Y.href,externalId:je}=W;if(!n||!m||p?.enablePreview)return;const We=Ui(),A=new URLSearchParams(window.location.search).get("fbclid");return G?.("/fb/events",{method:"POST",body:{eventName:me,actionSource:Ee,eventSourceUrl:Pe,userData:Object.assign(Object.assign(Object.assign({externalId:We},A&&{fbc:`fb.2.${new Date().getTime()}.${A}`}),Ni("_fbp")&&{fbp:`fb.2.${new Date().getTime()}.${Ni("_fbp")}`}),{client_user_agent:(Te=(ge=window?.navigator)===null||ge===void 0?void 0:ge.userAgent)!==null&&Te!==void 0?Te:""})},type:"beacon"})},[G,n,m,p?.enablePreview]),Le=o.useCallback(W=>$e(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/like",{method:"POST",body:W});return Y?.success}),[G]),He=o.useCallback(W=>$e(void 0,void 0,void 0,function*(){const Y=yield G?.("/recommend/unlike",{method:"POST",body:W});return Y?.success}),[G]),K=o.useCallback(W=>$e(void 0,void 0,void 0,function*(){const Y=yield G?.("/customform",{method:"POST",body:W});return Y?.success}),[G]),L=o.useCallback(()=>$e(void 0,void 0,void 0,function*(){var W,Y,ge,Te,me;if(!(!i||!w))try{const Ee=(ge=(Y=(W=i?.split("&"))===null||W===void 0?void 0:W.filter(je=>{var We,ue;const A=je.split("=")[0];return(ue=(We=b?.channels)!==null&&We!==void 0?We:[])===null||ue===void 0?void 0:ue.includes(A)}))===null||Y===void 0?void 0:Y.join("&"))!==null&&ge!==void 0?ge:"",Pe=yield G?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(Ee)}});_((me=(Te=Pe?.data)===null||Te===void 0?void 0:Te.tags)!==null&&me!==void 0?me:[])}catch(Ee){console.log("e",Ee)}}),[G,i,w]),Ge=o.useCallback((W,Y,ge,Te)=>{var me,Ee,Pe,je,We,ue,A,Q,R,ie,se,de,J,ae,Ae,Oe,Fe,Ue,ze,Je,qe,_e,Ie,lt,Ze,mt,ft,yt,wt,Be,xi,Ti,Ei,Ai,Ci,Ii;const St=ge?.bindCta,vd=((me=Y?.video)===null||me===void 0?void 0:me.bindProduct)||((Ee=Y?.video)===null||Ee===void 0?void 0:Ee.bindProducts)&&((je=(Pe=Y?.video)===null||Pe===void 0?void 0:Pe.bindProducts)===null||je===void 0?void 0:je.length)>0;let Qt="";q?Qt="hashTagPage":!((We=Y?.video)===null||We===void 0)&&We.url?Qt="videoPage":!((A=(ue=Y?.video)===null||ue===void 0?void 0:ue.imgUrls)===null||A===void 0)&&A.length&&(Qt="imagePage");const Nn=(ae=(de=(Q=ge?.tags)!==null&&Q!==void 0?Q:(se=(ie=(R=Y?.video)===null||R===void 0?void 0:R.bindProducts)===null||ie===void 0?void 0:ie[0])===null||se===void 0?void 0:se.tags)!==null&&de!==void 0?de:(J=Y?.video)===null||J===void 0?void 0:J.tags)!==null&&ae!==void 0?ae:(Ae=Y?.product)===null||Ae===void 0?void 0:Ae.tags;le?.({eventInfo:Object.assign(Object.assign({},W),{ctaId:(Oe=St?.itemId)!==null&&Oe!==void 0?Oe:"",ctaName:(Fe=St?.title)!==null&&Fe!==void 0?Fe:"",contentTags:Nn?JSON.stringify(Nn):"",position:Te+"",contentId:(ze=(Ue=Y?.video)===null||Ue===void 0?void 0:Ue.itemId)!==null&&ze!==void 0?ze:"",productId:vd?ge?.itemId:"",traceInfo:(Ci=(Ti=(ft=(Ie=(Je=St?.traceInfo)!==null&&Je!==void 0?Je:(_e=(qe=Y?.video)===null||qe===void 0?void 0:qe.bindCta)===null||_e===void 0?void 0:_e.traceInfo)!==null&&Ie!==void 0?Ie:(mt=(Ze=(lt=Y?.video)===null||lt===void 0?void 0:lt.bindProduct)===null||Ze===void 0?void 0:Ze.bindCta)===null||mt===void 0?void 0:mt.traceInfo)!==null&&ft!==void 0?ft:(xi=(Be=(wt=(yt=Y?.video)===null||yt===void 0?void 0:yt.bindProducts)===null||wt===void 0?void 0:wt[0])===null||Be===void 0?void 0:Be.bindCta)===null||xi===void 0?void 0:xi.traceInfo)!==null&&Ti!==void 0?Ti:(Ai=(Ei=Y?.product)===null||Ei===void 0?void 0:Ei.bindCta)===null||Ai===void 0?void 0:Ai.traceInfo)!==null&&Ci!==void 0?Ci:"",fromKName:Qt,fromKPage:(Ii=location?.href)!==null&&Ii!==void 0?Ii:""})})},[le,q]),at=o.useCallback(()=>{var W,Y;const ge=location.search.slice(1),Te=Rt.parse(ge.replace(/\+/g,"%2B"));for(const Pe in Te)Te[Pe]=Te[Pe].replace(/%2B/g,"+");const me=Pe=>{var je;return(je=Te[Pe])!==null&&je!==void 0?je:""},Ee=new Date;we.current=Ee,le?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:me("utm_source"),utmMedium:me("utm_medium"),utmCampaign:me("utm_campaign"),utmId:me("utm_id"),utmContent:me("utm_content"),enterTime:Math.floor(Ee/1e3)+"",requestId:null,enterUrl:(Y=(W=window?.location)===null||W===void 0?void 0:W.href)!==null&&Y!==void 0?Y:"",clSource:me("cl_source")}})},[le]);o.useEffect(()=>{Ce||at()},[Ce]),o.useEffect(()=>{Ce||(C(!0),L(),pe().then(W=>{S(Me(W)),ce(Me(W))}).finally(()=>{le({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),C(!1)}))},[Ce]),o.useEffect(()=>{r&&(C(!0),L(),pe().then(W=>{S(Me(W)),ce(Me(W))}).finally(()=>{le({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),C(!1)}))},[pe,L]);const At=st("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",d);return o.createElement(Wi.Provider,{value:{rtcList:D,setRtcList:S,mutateLike:Le,mutateUnlike:He,submitForm:K,popupDetailData:B,loadVideos:xe,setPopupDetailData:X,getRecommendVideos:pe,bffEventReport:le,utmVal:i,isPreview:r,loading:y,sxpParameter:a,waterFallData:H,setWaterFallData:$,ctaEvent:Ge,swiperRef:j,openHashtag:Z,setOpenHashtag:U,cacheRtcList:V,setCacheRtcList:ce,cacheActiveIndex:be,setCacheActiveIndex:te,isFromHashtag:q,setIsFromHashtag:re,appDomain:d,hashTagSize:v,loadingImage:u??At,isOpenHashTag:h,tagList:c,setLoading:C,videoRef:ne,setVideoRef:oe,bffFbReport:Ve,isAgreePolicy:F,setIsAgreePolicy:N,curTime:we,h5EnterLink:at,themeTag:ve,isShowConsent:Ce,selectTag:ee,setSelectTag:fe,globalConfig:p,popupCurTimeRef:De,checkCommodityIndexRef:Se,isEditor:T}},Ce?o.createElement(eo,Object.assign({},(M=(g=(P=p?.consent)===null||P===void 0?void 0:P[0])===null||g===void 0?void 0:g.item)===null||M===void 0?void 0:M.props)):t({rtcList:D,mutateLike:Le,mutateUnlike:He,submitForm:K,tagList:c}))};var Yi=o.memo(to);function ke(){return o.useContext(Wi)}var Xi;(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"})(Xi||(Xi={}));const Ji=o.createContext({$store:{},options:[],configs:[]}),io=({children:t,isSsr:e,enable:i})=>{const[n,s]=o.useState([]),{schema:l}=ut(),[r,a]=o.useState(l.__STORE__||{}),[d,v]=o.useState([]);o.useEffect(()=>{var m;e||Ye.isEqual(d,l?.dataSource)||v((m=l?.dataSource)!==null&&m!==void 0?m:[])},[l?.dataSource,e]);const u=o.useCallback(()=>$e(void 0,void 0,void 0,function*(){const{$store:m,idMapName:f}=yield Pi("",d);a(m),h(m,f)}),[d]),h=(m,f)=>{const x=[];Object.entries(m).forEach(([w,I])=>{Object.keys(I).forEach(p=>{const T={label:`${f[w]} - ${p}`,value:`{{ ${w}.${p} }}`};x.push(T)})}),s(x)};return o.useEffect(()=>{e||u()},[u,e,l]),i?o.createElement(Ji.Provider,{value:{$store:l.__STORE__||r,options:n,configs:d}},t):t};var no=o.memo(io);const Vt={id:Ft(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},ii={id:"",duration:0,name:"none"},qi=o.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Vt],redoStack:[],popup:ii,setPopup:()=>{}}),Ki=o.forwardRef(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:s=!0,utmVal:l},r)=>{const[a,d]=o.useState(null),[v,u]=o.useState(n||{pointData:[Vt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[h,m]=o.useState([Vt]),[f,x]=o.useState([[Vt]]),[w,I]=o.useState([]),[p,T]=o.useState(ii);typeof window<"u"&&(window.sxpPopup=(M,D)=>{T(Object.assign(Object.assign(Object.assign({},ii),{id:M}),D))}),typeof window<"u"&&(window.getJointUtmLink=M=>(Rn(),M?.indexOf("?")!==-1?M+(l?"&"+l:""):M+(l?"?"+l:""))),o.useEffect(()=>{x([v.pointData]),I([])},[v.type]);const b=o.useCallback(M=>{const D=Ye.cloneDeep(v);D&&(D.dataSource=M,u?.(D))},[v]),[E,P]=o.useState();o.useImperativeHandle(r,()=>({loadSchema(M){M&&(x([M.pointData]),u(M))},exportSchema(){return Ye.cloneDeep(v)},getPageInfoData(){return E},initPageInfoData(M){M&&P(M)}}));const g=o.useMemo(()=>{if(v)return v.type==="PC"?v.pcPageConf:v.mobilePageConf},[v]);return o.createElement(qi.Provider,{value:{resolver:e,currentNode:a,schema:v,setCurrentNode:d,setSchema:u,saveDataSource:b,prePiontData:h,setPrePiontData:m,pageInfoData:E,setPageInfoData:M=>P(Object.assign(Object.assign({},E),M)),undoStack:f,redoStack:w,setRedoStack:I,setUndoStack:x,getCurPageConf:g,popup:p,setPopup:T}},o.createElement(no,{isSsr:i,enable:s},t))});var oo=Object.freeze({__proto__:null,EditorCore:Ki}),lo=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],so=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["textStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["textStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["textStyle","color"]},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\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:n}=ke(),s=o.useCallback((a,d,v,u,h)=>{var m,f,x,w,I,p,T,b,E,P,g,M,D,S,c,_,y,C,k,O,j,z,F,N,B,X,H,$,Z,U,V,ce,be,te;let q="";e&&(!((f=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||f===void 0)&&f.length||!((x=a?.video)===null||x===void 0)&&x.bindProduct)?q="pdpPage":n?q="hashTagPage":!((w=a?.video)===null||w===void 0)&&w.url?q="videoPage":!((I=a?.video)===null||I===void 0)&&I.imgUrls&&(!((T=(p=a?.video)===null||p===void 0?void 0:p.imgUrls)===null||T===void 0)&&T.length)?q="imagePage":a?.product&&(q="productPage");const re=(S=(M=(b=d?.tags)!==null&&b!==void 0?b:(g=(P=(E=a?.video)===null||E===void 0?void 0:E.bindProducts)===null||P===void 0?void 0:P[0])===null||g===void 0?void 0:g.tags)!==null&&M!==void 0?M:(D=a?.video)===null||D===void 0?void 0:D.tags)!==null&&S!==void 0?S:(c=a?.product)===null||c===void 0?void 0:c.tags;t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(_=d?.itemId)!==null&&_!==void 0?_:"",productName:(y=d?.title)!==null&&y!==void 0?y:"",price:d?.price?d?.price+"":"0",productCollection:(C=d?.collection)!==null&&C!==void 0?C:"",fromKName:q,fromKPage:location?.href,contentTags:re?JSON.stringify(re):"",position:u+"",contentId:(O=(k=a?.video)===null||k===void 0?void 0:k.itemId)!==null&&O!==void 0?O:"",ctatId:(j=v?.itemId)!==null&&j!==void 0?j:"",traceInfo:(te=(V=(Z=(B=(z=h??d?.traceInfo)!==null&&z!==void 0?z:(N=(F=a?.video)===null||F===void 0?void 0:F.bindProduct)===null||N===void 0?void 0:N.traceInfo)!==null&&B!==void 0?B:($=(H=(X=a?.video)===null||X===void 0?void 0:X.bindProducts)===null||H===void 0?void 0:H[0])===null||$===void 0?void 0:$.traceInfo)!==null&&Z!==void 0?Z:(U=a?.product)===null||U===void 0?void 0:U.traceInfo)!==null&&V!==void 0?V:(be=(ce=a?.video)===null||ce===void 0?void 0:ce.bindCta)===null||be===void 0?void 0:be.traceInfo)!==null&&te!==void 0?te:""}})},[t,e,n]),l=o.useCallback((a,d,v,u,h)=>{var m,f,x,w,I,p,T,b,E,P,g,M,D,S;let c="";e&&(!((f=(m=a?.video)===null||m===void 0?void 0:m.bindProducts)===null||f===void 0)&&f.length||!((x=a?.video)===null||x===void 0)&&x.bindProduct)?c="pdpPage":a?.product&&(c="productPage"),t?.({eventInfo:{productId:d?.itemId,productName:d?.title,price:d?.price?d?.price+"":"0",productCollection:d?.collection,fromKName:c,fromKPage:location?.href,contentTags:JSON.stringify(d?.tags),position:h+"",contentId:(w=a?.video)===null||w===void 0?void 0:w.itemId,ctatId:v?.itemId,traceInfo:(S=(M=(b=(I=d?.traceInfo)!==null&&I!==void 0?I:(T=(p=a?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0?void 0:T.traceInfo)!==null&&b!==void 0?b:(g=(P=(E=a?.video)===null||E===void 0?void 0:E.bindProducts)===null||P===void 0?void 0:P[0])===null||g===void 0?void 0:g.traceInfo)!==null&&M!==void 0?M:(D=a?.product)===null||D===void 0?void 0:D.traceInfo)!==null&&S!==void 0?S:"",timeOnSite:Math.floor((new Date-u)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=o.useCallback((a,d,v,u)=>{d&&d===jt&&t?.({eventInfo:{lastFeed:a,themeTags:v?`['${v}']`:"",hashTags:u?`['${u}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:s,productView:l,backMainFeed:r}}const ro=({layout:t,columns:e,onChange:i})=>o.createElement(o.Fragment,null,e?.map((n,s)=>o.createElement("div",{key:s,className:"pb-appoint-form-container-item",style:{flexDirection:t==="horizontal"?"row":"column"}},t!=="inline"&&o.createElement("label",{className:"pb-appoint-form-container-label"},n?.title),n?.valueType==="text"&&o.createElement("input",Object.assign({className:"pb-appoint-form-container-input",type:"text",placeholder:t==="inline"?n?.title:"\u8BF7\u8F93\u5165",name:n?.dataIndex},i&&{onChange:i})))));var ao=o.memo(ro);const uo=t=>{var{columns:e,style:i,title:n,textStyle:s,submitBgColor:l,submitColor:r,submitText:a,layoutType:d="inline",isExternalLink:v,isPopup:u,onClick:h,onClose:m,submitButtonStyle:f}=t,x=Ke(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:w,popupDetailData:I}=ke(),{jumpToWeb:p}=Qe(),[T,b]=o.useState(!1),E=o.useMemo(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]),[P,g]=o.useState({}),M=o.useMemo(()=>Ye.cloneDeep(e)||E,[e,E]),D=o.useCallback(c=>{const{name:_,value:y}=c.target;g(Object.assign(Object.assign({},P),{[_]:y}))},[P]),S=Ye.debounce(()=>$e(void 0,void 0,void 0,function*(){var c,_,y,C,k;const O=P;if(!O)return;const j=(_=(c=Object.keys(O))===null||c===void 0?void 0:c.map(F=>{var N;return{name:F,value:(N=O[F])!==null&&N!==void 0?N:""}}))===null||_===void 0?void 0:_.filter(F=>F?.value);if(!j||!j?.length)return;b(!0);const z=yield w?.({attributes:j});if(b(!1),z){if(v){const F=I,N=(y=F?.video)===null||y===void 0?void 0:y.bindProduct,B=(k=(C=F?.video)===null||C===void 0?void 0:C.bindProduct)===null||k===void 0?void 0:k.bindCta,X=I?.index;p(F,N,B,X)}u||m?.(),h?.()}}),1e3);return o.createElement("div",{className:"pb-appoint-form"},o.createElement("div",{className:`pb-appoint-form-title ${ye.css(Object.assign({},s))}`,dangerouslySetInnerHTML:{__html:he(n,s)}}),o.createElement("div",Object.assign({className:ye.css(Object.assign({},i))},x),o.createElement("div",{className:"pb-appoint-form-container"},o.createElement(ao,{columns:M,layout:d,onChange:D}))),o.createElement("div",{className:"pb-appoint-form-btn-wrapper"},o.createElement("button",{"aria-label":a,onClick:S,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},f),dangerouslySetInnerHTML:{__html:he(T?"loading...":a,f)}})))};var co=o.memo(uo);function Re(t,e){return t.extend=e,t}const vo=Re(co,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:so,bindableProps:[],interactionRender:lo},defaulSetting:{name:"\u8868\u5355",props:{title:"Appointment Booking",submitColor:"#fff",submitBgColor:"#000",submitText:"Submit",layoutType:void 0},style:{},textStyle:{fontSize:14,color:"#000",textAlign:"center"}},w:100,h:40,sort:2});var po=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5BBD\u9AD8\u6BD4",child:[{type:"Number",name:["props","commodityImgRatio","w"],addonAfter:"w"},{type:"Number",name:["props","commodityImgRatio","h"],addonAfter:"h"}]},{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"},{label:"\u5C45\u53F3",value:"right"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u591A\u5546\u54C1\u5207\u6362\u5668",child:[{type:"Switch",name:["props","commodityGroup","open"],label:"\u5FEB\u901F\u5207\u6362\u5F00\u5173"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","commodityGroup","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",name:["props","commodityGroup","style","marginTop"],type:"Number",addonAfter:"px",initialValue:20},{label:"\u4E0B\u8FB9\u8DDD",name:["props","commodityGroup","style","marginBottom"],type:"Number",addonAfter:"px"}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]},{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 Zi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ni(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:Zi(e[i])&&Zi(t[i])&&Object.keys(e[i]).length>0&&ni(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 ni(t,Qi),t}const mo={document:Qi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function tt(){const t=typeof window<"u"?window:{};return ni(t,mo),t}function Tt(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function fo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function kt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function rt(){return Date.now()}function ho(t){const e=tt();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function go(t,e){e===void 0&&(e="x");const i=tt();let n,s,l;const r=ho(t);return i.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(a=>a.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(s==="none"?"":s)):(l=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=l.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?s=l.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?s=l.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function zt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function bo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function 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 n=i<0||arguments.length<=i?void 0:arguments[i];if(n!=null&&!bo(n)){const s=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=s.length;l<r;l+=1){const a=s[l],d=Object.getOwnPropertyDescriptor(n,a);d!==void 0&&d.enumerable&&(zt(t[a])&&zt(n[a])?n[a].__swiper__?t[a]=n[a]:ot(t[a],n[a]):!zt(t[a])&&zt(n[a])?(t[a]={},n[a].__swiper__?t[a]=n[a]:ot(t[a],n[a])):t[a]=n[a])}}}return t}function Ht(t,e,i){t.style.setProperty(e,i)}function Ri(t){let{swiper:e,targetPosition:i,side:n}=t;const s=tt(),l=-e.translate;let r=null,a;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const v=i>l?"next":"prev",u=(m,f)=>v==="next"&&m>=f||v==="prev"&&m<=f,h=()=>{a=new Date().getTime(),r===null&&(r=a);const m=Math.max(Math.min((a-r)/d,1),0),f=.5-Math.cos(m*Math.PI)/2;let x=l+f*(i-l);if(u(x,i)&&(x=i),e.wrapperEl.scrollTo({[n]:x}),u(x,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:x})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(h)};h()}function ht(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Gt(t){try{console.warn(t);return}catch{}}function Ot(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Tt(e)),i}function yo(t){const e=tt(),i=vt(),n=t.getBoundingClientRect(),s=i.body,l=t.clientTop||s.clientTop||0,r=t.clientLeft||s.clientLeft||0,a=t===e?e.scrollY:t.scrollTop,d=t===e?e.scrollX:t.scrollLeft;return{top:n.top+a-l,left:n.left+d-r}}function wo(t,e){const i=[];for(;t.previousElementSibling;){const n=t.previousElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function So(t,e){const i=[];for(;t.nextElementSibling;){const n=t.nextElementSibling;e?n.matches(e)&&i.push(n):i.push(n),t=n}return i}function Et(t,e){return tt().getComputedStyle(t,null).getPropertyValue(e)}function Ut(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 n=t.parentElement;for(;n;)e?n.matches(e)&&i.push(n):i.push(n),n=n.parentElement;return i}function oi(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function li(t,e,i){const n=tt();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function gt(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function xo(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=tt();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let r,a=rt(),d;const v=[];function u(b){let M=0,D=0,S=0,c=0;return"detail"in b&&(D=b.detail),"wheelDelta"in b&&(D=-b.wheelDelta/120),"wheelDeltaY"in b&&(D=-b.wheelDeltaY/120),"wheelDeltaX"in b&&(M=-b.wheelDeltaX/120),"axis"in b&&b.axis===b.HORIZONTAL_AXIS&&(M=D,D=0),S=M*10,c=D*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&&!M&&(M=S<1?-1:1),c&&!D&&(D=c<1?-1:1),{spinX:M,spinY:D,pixelX:S,pixelY:c}}function h(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(b){return e.params.mousewheel.thresholdDelta&&b.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&rt()-a<e.params.mousewheel.thresholdTime?!1:b.delta>=6&&rt()-a<60?!0:(b.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),s("scroll",b.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),s("scroll",b.raw)),a=new l.Date().getTime(),!1)}function x(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 w(b){let E=b,P=!0;if(!e.enabled||b.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 D=M&&M.contains(E.target);if(!e.mouseEntered&&!D&&!g.releaseOnEdges)return!0;E.originalEvent&&(E=E.originalEvent);let S=0;const c=e.rtlTranslate?-1:1,_=u(E);if(g.forceToAxis)if(e.isHorizontal())if(Math.abs(_.pixelX)>Math.abs(_.pixelY))S=-_.pixelX*c;else return!0;else if(Math.abs(_.pixelY)>Math.abs(_.pixelX))S=-_.pixelY;else return!0;else S=Math.abs(_.pixelX)>Math.abs(_.pixelY)?-_.pixelX*c:-_.pixelY;if(S===0)return!0;g.invert&&(S=-S);let y=e.getTranslate()+S*g.sensitivity;if(y>=e.minTranslate()&&(y=e.minTranslate()),y<=e.maxTranslate()&&(y=e.maxTranslate()),P=e.params.loop?!0:!(y===e.minTranslate()||y===e.maxTranslate()),P&&e.params.nested&&E.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:rt(),delta:Math.abs(S),direction:Math.sign(S),raw:b};v.length>=2&&v.shift();const k=v.length?v[v.length-1]:void 0;if(v.push(C),k?(C.direction!==k.direction||C.delta>k.delta||C.time>k.time+150)&&f(C):f(C),x(C))return!0}else{const C={time:rt(),delta:Math.abs(S),direction:Math.sign(S)},k=d&&C.time<d.time+500&&C.delta<=d.delta&&C.direction===d.direction;if(!k){d=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:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,v.length>=15&&v.shift();const F=v.length?v[v.length-1]:void 0,N=v[0];if(v.push(C),F&&(C.delta>F.delta||C.direction!==F.direction))v.splice(0);else if(v.length>=15&&C.time-N.time<500&&N.delta-C.delta>=1&&C.delta<=6){const B=S>0?.8:.2;d=C,v.splice(0),r=kt(()=>{e.slideToClosest(e.params.speed,!0,void 0,B)},0)}r||(r=kt(()=>{d=C,v.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(k||s("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 I(b){let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget)),E[b]("mouseenter",h),E[b]("mouseleave",m),E[b]("wheel",w)}function p(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(I("addEventListener"),e.mousewheel.enabled=!0,!0)}function T(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(I("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&T(),e.params.mousewheel.enabled&&p()}),n("destroy",()=>{e.params.cssMode&&p(),e.mousewheel.enabled&&T()}),Object.assign(e.mousewheel,{enable:p,disable:T})}function en(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(s=>{if(!i[s]&&i.auto===!0){let l=ht(t.el,`.${n[s]}`)[0];l||(l=Ot("div",n[s]),l.className=n[s],t.el.append(l)),i[s]=l,e[s]=l}}),i}function _t(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Wt(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,a=0;function d(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function v(p,T){const{bulletActiveClass:b}=e.params.pagination;p&&(p=p[`${T==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${b}-${T}`),p=p[`${T==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${b}-${T}-${T}`)))}function u(p){const T=p.target.closest(_t(e.params.pagination.bulletClass));if(!T)return;p.preventDefault();const b=Ut(T)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function h(){const p=e.rtl,T=e.params.pagination;if(d())return;let b=e.pagination.el;b=gt(b);let E,P;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?(P=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,P=e.previousSnapIndex):(P=e.previousIndex||0,E=e.activeIndex||0),T.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const D=e.pagination.bullets;let S,c,_;if(T.dynamicBullets&&(r=li(D[0],e.isHorizontal()?"width":"height",!0),b.forEach(y=>{y.style[e.isHorizontal()?"width":"height"]=`${r*(T.dynamicMainBullets+4)}px`}),T.dynamicMainBullets>1&&P!==void 0&&(a+=E-(P||0),a>T.dynamicMainBullets-1?a=T.dynamicMainBullets-1:a<0&&(a=0)),S=Math.max(E-a,0),c=S+(Math.min(D.length,T.dynamicMainBullets)-1),_=(c+S)/2),D.forEach(y=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(k=>`${T.bulletActiveClass}${k}`)].map(k=>typeof k=="string"&&k.includes(" ")?k.split(" "):k).flat();y.classList.remove(...C)}),b.length>1)D.forEach(y=>{const C=Ut(y);C===E?y.classList.add(...T.bulletActiveClass.split(" ")):e.isElement&&y.setAttribute("part","bullet"),T.dynamicBullets&&(C>=S&&C<=c&&y.classList.add(...`${T.bulletActiveClass}-main`.split(" ")),C===S&&v(y,"prev"),C===c&&v(y,"next"))});else{const y=D[E];if(y&&y.classList.add(...T.bulletActiveClass.split(" ")),e.isElement&&D.forEach((C,k)=>{C.setAttribute("part",k===E?"bullet-active":"bullet")}),T.dynamicBullets){const C=D[S],k=D[c];for(let O=S;O<=c;O+=1)D[O]&&D[O].classList.add(...`${T.bulletActiveClass}-main`.split(" "));v(C,"prev"),v(k,"next")}}if(T.dynamicBullets){const y=Math.min(D.length,T.dynamicMainBullets+4),C=(r*y-r)/2-_*r,k=p?"right":"left";D.forEach(O=>{O.style[e.isHorizontal()?k:"top"]=`${C}px`})}}b.forEach((D,S)=>{if(T.type==="fraction"&&(D.querySelectorAll(_t(T.currentClass)).forEach(c=>{c.textContent=T.formatFractionCurrent(E+1)}),D.querySelectorAll(_t(T.totalClass)).forEach(c=>{c.textContent=T.formatFractionTotal(M)})),T.type==="progressbar"){let c;T.progressbarOpposite?c=e.isHorizontal()?"vertical":"horizontal":c=e.isHorizontal()?"horizontal":"vertical";const _=(E+1)/M;let y=1,C=1;c==="horizontal"?y=_:C=_,D.querySelectorAll(_t(T.progressbarFillClass)).forEach(k=>{k.style.transform=`translate3d(0,0,0) scaleX(${y}) scaleY(${C})`,k.style.transitionDuration=`${e.params.speed}ms`})}T.type==="custom"&&T.renderCustom?(D.innerHTML=T.renderCustom(e,E+1,M),S===0&&s("paginationRender",D)):(S===0&&s("paginationRender",D),s("paginationUpdate",D)),e.params.watchOverflow&&e.enabled&&D.classList[e.isLocked?"add":"remove"](T.lockClass)})}function m(){const p=e.params.pagination;if(d())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 b=e.pagination.el;b=gt(b);let E="";if(p.type==="bullets"){let P=e.params.loop?Math.ceil(T/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&P>T&&(P=T);for(let g=0;g<P;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(P=>{p.type!=="custom"&&(P.innerHTML=E||""),p.type==="bullets"&&e.pagination.bullets.push(...P.querySelectorAll(_t(p.bulletClass)))}),p.type!=="custom"&&s("paginationRender",b[0])}function f(){e.params.pagination=en(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(b=>$i(b,".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(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`),a=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 x(){const p=e.params.pagination;if(d())return;let T=e.pagination.el;T&&(T=gt(T),T.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(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:T}=e.pagination;T=gt(T),T.forEach(b=>{b.classList.remove(p.horizontalClass,p.verticalClass),b.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?I():(f(),m(),h())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),n("snapIndexChange",()=>{h()}),n("snapGridLengthChange",()=>{m(),h()}),n("destroy",()=>{x()}),n("enable disable",()=>{let{el:p}=e.pagination;p&&(p=gt(p),p.forEach(T=>T.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{h()}),n("click",(p,T)=>{const b=T.target,E=gt(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 P=E[0].classList.contains(e.params.pagination.hiddenClass);s(P===!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()},I=()=>{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:I,render:m,update:h,init:f,destroy:x})}function To(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=vt();let r=!1,a=null,d=null,v,u,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:y,rtlTranslate:C}=e,{dragEl:k,el:O}=y,j=e.params.scrollbar,z=e.params.loop?e.progressLoop:e.progress;let F=u,N=(h-u)*z;C?(N=-N,N>0?(F=u-N,N=0):-N+u>h&&(F=h+N)):N<0?(F=u+N,N=0):N+u>h&&(F=h-N),e.isHorizontal()?(k.style.transform=`translate3d(${N}px, 0, 0)`,k.style.width=`${F}px`):(k.style.transform=`translate3d(0px, ${N}px, 0)`,k.style.height=`${F}px`),j.hide&&(clearTimeout(a),O.style.opacity=1,a=setTimeout(()=>{O.style.opacity=0,O.style.transitionDuration="400ms"},1e3))}function x(y){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${y}ms`)}function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:y}=e,{dragEl:C,el:k}=y;C.style.width="",C.style.height="",h=e.isHorizontal()?k.offsetWidth:k.offsetHeight,m=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?u=h*m:u=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${u}px`:C.style.height=`${u}px`,m>=1?k.style.display="none":k.style.display="",e.params.scrollbar.hide&&(k.style.opacity=0),e.params.watchOverflow&&e.enabled&&y.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function I(y){return e.isHorizontal()?y.clientX:y.clientY}function p(y){const{scrollbar:C,rtlTranslate:k}=e,{el:O}=C;let j;j=(I(y)-yo(O)[e.isHorizontal()?"left":"top"]-(v!==null?v:u/2))/(h-u),j=Math.max(Math.min(j,1),0),k&&(j=1-j);const z=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*j;e.updateProgress(z),e.setTranslate(z),e.updateActiveIndex(),e.updateSlidesClasses()}function T(y){const C=e.params.scrollbar,{scrollbar:k,wrapperEl:O}=e,{el:j,dragEl:z}=k;r=!0,v=y.target===z?I(y)-y.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,y.preventDefault(),y.stopPropagation(),O.style.transitionDuration="100ms",z.style.transitionDuration="100ms",p(y),clearTimeout(d),j.style.transitionDuration="0ms",C.hide&&(j.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),s("scrollbarDragStart",y)}function b(y){const{scrollbar:C,wrapperEl:k}=e,{el:O,dragEl:j}=C;r&&(y.preventDefault&&y.cancelable?y.preventDefault():y.returnValue=!1,p(y),k.style.transitionDuration="0ms",O.style.transitionDuration="0ms",j.style.transitionDuration="0ms",s("scrollbarDragMove",y))}function E(y){const C=e.params.scrollbar,{scrollbar:k,wrapperEl:O}=e,{el:j}=k;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",O.style.transitionDuration=""),C.hide&&(clearTimeout(d),d=kt(()=>{j.style.opacity=0,j.style.transitionDuration="400ms"},1e3)),s("scrollbarDragEnd",y),C.snapOnRelease&&e.slideToClosest())}function P(y){const{scrollbar:C,params:k}=e,O=C.el;if(!O)return;const j=O,z=k.passiveListeners?{passive:!1,capture:!1}:!1,F=k.passiveListeners?{passive:!0,capture:!1}:!1;if(!j)return;const N=y==="on"?"addEventListener":"removeEventListener";j[N]("pointerdown",T,z),l[N]("pointermove",b,z),l[N]("pointerup",E,F)}function g(){!e.params.scrollbar.el||!e.scrollbar.el||P("on")}function M(){!e.params.scrollbar.el||!e.scrollbar.el||P("off")}function D(){const{scrollbar:y,el:C}=e;e.params.scrollbar=en(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const k=e.params.scrollbar;if(!k.el)return;let O;if(typeof k.el=="string"&&e.isElement&&(O=e.el.querySelector(k.el)),!O&&typeof k.el=="string"){if(O=l.querySelectorAll(k.el),!O.length)return}else O||(O=k.el);e.params.uniqueNavElements&&typeof k.el=="string"&&O.length>1&&C.querySelectorAll(k.el).length===1&&(O=C.querySelector(k.el)),O.length>0&&(O=O[0]),O.classList.add(e.isHorizontal()?k.horizontalClass:k.verticalClass);let j;O&&(j=O.querySelector(_t(e.params.scrollbar.dragClass)),j||(j=Ot("div",e.params.scrollbar.dragClass),O.append(j))),Object.assign(y,{el:O,dragEl:j}),k.draggable&&g(),O&&O.classList[e.enabled?"remove":"add"](...Tt(e.params.scrollbar.lockClass))}function S(){const y=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...Tt(e.isHorizontal()?y.horizontalClass:y.verticalClass)),M()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const y=e.params.scrollbar;let{el:C}=e.scrollbar;C=gt(C),C.forEach(k=>{k.classList.remove(y.horizontalClass,y.verticalClass),k.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?_():(D(),w(),f())}),n("update resize observerUpdate lock unlock changeDirection",()=>{w()}),n("setTranslate",()=>{f()}),n("setTransition",(y,C)=>{x(C)}),n("enable disable",()=>{const{el:y}=e.scrollbar;y&&y.classList[e.enabled?"remove":"add"](...Tt(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const c=()=>{e.el.classList.remove(...Tt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Tt(e.params.scrollbar.scrollbarDisabledClass)),D(),w(),f()},_=()=>{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:c,disable:_,updateSize:w,setTranslate:f,init:D,destroy:S})}function Yt(t){let{swiper:e,extendParams:i,on:n,emit:s,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,a,d=l&&l.autoplay?l.autoplay.delay:3e3,v=l&&l.autoplay?l.autoplay.delay:3e3,u,h=new Date().getTime(),m,f,x,w,I,p,T;function b(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),!(T||F.detail&&F.detail.bySwiperTouchMove)&&c())}const E=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?m=!0:m&&(v=u,m=!1);const F=e.autoplay.paused?u:h+v-new Date().getTime();e.autoplay.timeLeft=F,s("autoplayTimeLeft",F,F/d),a=requestAnimationFrame(()=>{E()})},P=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},g=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),E();let N=typeof F>"u"?e.params.autoplay.delay:F;d=e.params.autoplay.delay,v=e.params.autoplay.delay;const B=P();!Number.isNaN(B)&&B>0&&typeof F>"u"&&(N=B,d=B,v=B),u=N;const X=e.params.speed,H=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(X,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,X,!0,!0),s("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(X,!0,!0),s("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,X,!0,!0),s("autoplay")),e.params.cssMode&&(h=new Date().getTime(),requestAnimationFrame(()=>{g()})))};return N>0?(clearTimeout(r),r=setTimeout(()=>{H()},N)):requestAnimationFrame(()=>{H()}),N},M=()=>{h=new Date().getTime(),e.autoplay.running=!0,g(),s("autoplayStart")},D=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(a),s("autoplayStop")},S=(F,N)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),F||(p=!0);const B=()=>{s("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):c()};if(e.autoplay.paused=!0,N){I&&(u=e.params.autoplay.delay),I=!1,B();return}u=(u||e.params.autoplay.delay)-(new Date().getTime()-h),!(e.isEnd&&u<0&&!e.params.loop)&&(u<0&&(u=0),B())},c=()=>{e.isEnd&&u<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(h=new Date().getTime(),p?(p=!1,g(u)):g(),e.autoplay.paused=!1,s("autoplayResume"))},_=()=>{if(e.destroyed||!e.autoplay.running)return;const F=vt();F.visibilityState==="hidden"&&(p=!0,S(!0)),F.visibilityState==="visible"&&c()},y=F=>{F.pointerType==="mouse"&&(p=!0,T=!0,!(e.animating||e.autoplay.paused)&&S(!0))},C=F=>{F.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&c())},k=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",y),e.el.addEventListener("pointerleave",C))},O=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",y),e.el.removeEventListener("pointerleave",C))},j=()=>{vt().addEventListener("visibilitychange",_)},z=()=>{vt().removeEventListener("visibilitychange",_)};n("init",()=>{e.params.autoplay.enabled&&(k(),j(),M())}),n("destroy",()=>{O(),z(),e.autoplay.running&&D()}),n("_freeModeStaticRelease",()=>{(x||p)&&c()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?D():S(!0,!0)}),n("beforeTransitionStart",(F,N,B)=>{e.destroyed||!e.autoplay.running||(B||!e.params.autoplay.disableOnInteraction?S(!0,!0):D())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){D();return}f=!0,x=!1,p=!1,w=setTimeout(()=>{p=!0,x=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(w),clearTimeout(r),e.params.autoplay.disableOnInteraction){x=!1,f=!1;return}x&&e.params.cssMode&&c(),x=!1,f=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(I=!0)}),Object.assign(e.autoplay,{start:M,stop:D,pause:S,resume:c})}function Eo(t){let{swiper:e,extendParams:i,emit:n,once:s}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const d=e.getTranslate();e.setTranslate(d),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:d,touches:v}=e;d.velocities.length===0&&d.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:d.touchStartTime}),d.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:rt()})}function a(d){let{currentPos:v}=d;if(e.params.cssMode)return;const{params:u,wrapperEl:h,rtlTranslate:m,snapGrid:f,touchEventsData:x}=e,I=rt()-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(u.freeMode.momentum){if(x.velocities.length>1){const D=x.velocities.pop(),S=x.velocities.pop(),c=D.position-S.position,_=D.time-S.time;e.velocity=c/_,e.velocity/=2,Math.abs(e.velocity)<u.freeMode.minimumVelocity&&(e.velocity=0),(_>150||rt()-D.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=u.freeMode.momentumVelocityRatio,x.velocities.length=0;let p=1e3*u.freeMode.momentumRatio;const T=e.velocity*p;let b=e.translate+T;m&&(b=-b);let E=!1,P;const g=Math.abs(e.velocity)*20*u.freeMode.momentumBounceRatio;let M;if(b<e.maxTranslate())u.freeMode.momentumBounce?(b+e.maxTranslate()<-g&&(b=e.maxTranslate()-g),P=e.maxTranslate(),E=!0,x.allowMomentumBounce=!0):b=e.maxTranslate(),u.loop&&u.centeredSlides&&(M=!0);else if(b>e.minTranslate())u.freeMode.momentumBounce?(b-e.minTranslate()>g&&(b=e.minTranslate()+g),P=e.minTranslate(),E=!0,x.allowMomentumBounce=!0):b=e.minTranslate(),u.loop&&u.centeredSlides&&(M=!0);else if(u.freeMode.sticky){let D;for(let S=0;S<f.length;S+=1)if(f[S]>-b){D=S;break}Math.abs(f[D]-b)<Math.abs(f[D-1]-b)||e.swipeDirection==="next"?b=f[D]:b=f[D-1],b=-b}if(M&&s("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 D=Math.abs((m?-b:b)-e.translate),S=e.slidesSizesGrid[e.activeIndex];D<S?p=u.speed:D<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(P),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating=!0,oi(h,()=>{!e||e.destroyed||!x.allowMomentumBounce||(n("momentumBounce"),e.setTransition(u.speed),setTimeout(()=>{e.setTranslate(P),oi(h,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(b),e.setTransition(p),e.setTranslate(b),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,oi(h,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(b),e.updateActiveIndex(),e.updateSlidesClasses()}else if(u.freeMode.sticky){e.slideToClosest();return}else u.freeMode&&n("_freeModeNoMomentumRelease");(!u.freeMode.momentum||I>=u.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:a}})}let si;function Ao(){const t=tt(),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 tn(){return si||(si=Ao()),si}let ri;function Co(t){let{userAgent:e}=t===void 0?{}:t;const i=tn(),n=tt(),s=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},a=n.screen.width,d=n.screen.height,v=l.match(/(Android);?[\s\/]+([\d.]+)?/);let u=l.match(/(iPad).*OS\s([\d_]+)/);const h=l.match(/(iPod)(.*OS\s([\d_]+))?/),m=!u&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=s==="Win32";let x=s==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!u&&x&&i.touch&&w.indexOf(`${a}x${d}`)>=0&&(u=l.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),x=!1),v&&!f&&(r.os="android",r.android=!0),(u||m||h)&&(r.os="ios",r.ios=!0),r}function nn(t){return t===void 0&&(t={}),ri||(ri=Co(t)),ri}let di;function Io(){const t=tt(),e=nn();let i=!1;function n(){const a=t.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(n()){const a=String(t.navigator.userAgent);if(a.includes("Version/")){const[d,v]=a.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));i=d<16||d===16&&v<2}}const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||s&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:s}}function ko(){return di||(di=Io()),di}function _o(t){let{swiper:e,on:i,emit:n}=t;const s=tt();let l=null,r=null;const a=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(h=>{r=s.requestAnimationFrame(()=>{const{width:m,height:f}=e;let x=m,w=f;h.forEach(I=>{let{contentBoxSize:p,contentRect:T,target:b}=I;b&&b!==e.el||(x=T?T.width:(p[0]||p).inlineSize,w=T?T.height:(p[0]||p).blockSize)}),(x!==m||w!==f)&&a()})}),l.observe(e.el))},v=()=>{r&&s.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},u=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){d();return}s.addEventListener("resize",a),s.addEventListener("orientationchange",u)}),i("destroy",()=>{v(),s.removeEventListener("resize",a),s.removeEventListener("orientationchange",u)})}function Po(t){let{swiper:e,extendParams:i,on:n,emit:s}=t;const l=[],r=tt(),a=function(u,h){h===void 0&&(h={});const m=r.MutationObserver||r.WebkitMutationObserver,f=new m(x=>{if(e.__preventObserver__)return;if(x.length===1){s("observerUpdate",x[0]);return}const w=function(){s("observerUpdate",x[0])};r.requestAnimationFrame?r.requestAnimationFrame(w):r.setTimeout(w,0)});f.observe(u,{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)},d=()=>{if(e.params.observer){if(e.params.observeParents){const u=$i(e.hostEl);for(let h=0;h<u.length;h+=1)a(u[h])}a(e.hostEl,{childList:e.params.observeSlideChildren}),a(e.wrapperEl,{attributes:!1})}},v=()=>{l.forEach(u=>{u.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",d),n("destroy",v)}var Do={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const s=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][s](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function s(){n.off(t,s),s.__emitterProxy&&delete s.__emitterProxy;for(var l=arguments.length,r=new Array(l),a=0;a<l;a++)r[a]=arguments[a];e.apply(n,r)}return s.__emitterProxy=e,n.on(t,s,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((s,l)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var s=arguments.length,l=new Array(s),r=0;r<s;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(d=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(v=>{v.apply(n,[d,...i])}),t.eventsListeners&&t.eventsListeners[d]&&t.eventsListeners[d].forEach(v=>{v.apply(n,i)})}),t}};function Mo(){const t=this;let e,i;const n=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=n.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=n.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(Et(n,"padding-left")||0,10)-parseInt(Et(n,"padding-right")||0,10),i=i-parseInt(Et(n,"padding-top")||0,10)-parseInt(Et(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function Oo(){const t=this;function e(c,_){return parseFloat(c.getPropertyValue(t.getDirectionLabel(_))||0)}const i=t.params,{wrapperEl:n,slidesEl:s,size:l,rtlTranslate:r,wrongRTL:a}=t,d=t.virtual&&i.virtual.enabled,v=d?t.virtual.slides.length:t.slides.length,u=ht(s,`.${t.params.slideClass}, swiper-slide`),h=d?t.virtual.slides.length:u.length;let m=[];const f=[],x=[];let w=i.slidesOffsetBefore;typeof w=="function"&&(w=i.slidesOffsetBefore.call(t));let I=i.slidesOffsetAfter;typeof I=="function"&&(I=i.slidesOffsetAfter.call(t));const p=t.snapGrid.length,T=t.slidesGrid.length;let b=i.spaceBetween,E=-w,P=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=>{r?c.style.marginLeft="":c.style.marginRight="",c.style.marginBottom="",c.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(Ht(n,"--swiper-centered-offset-before",""),Ht(n,"--swiper-centered-offset-after",""));const M=i.grid&&i.grid.rows>1&&t.grid;M?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();let D;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<h;c+=1){D=0;let _;if(u[c]&&(_=u[c]),M&&t.grid.updateSlide(c,_,u),!(u[c]&&Et(_,"display")==="none")){if(i.slidesPerView==="auto"){S&&(u[c].style[t.getDirectionLabel("width")]="");const y=getComputedStyle(_),C=_.style.transform,k=_.style.webkitTransform;if(C&&(_.style.transform="none"),k&&(_.style.webkitTransform="none"),i.roundLengths)D=t.isHorizontal()?li(_,"width",!0):li(_,"height",!0);else{const O=e(y,"width"),j=e(y,"padding-left"),z=e(y,"padding-right"),F=e(y,"margin-left"),N=e(y,"margin-right"),B=y.getPropertyValue("box-sizing");if(B&&B==="border-box")D=O+F+N;else{const{clientWidth:X,offsetWidth:H}=_;D=O+j+z+F+N+(H-X)}}C&&(_.style.transform=C),k&&(_.style.webkitTransform=k),i.roundLengths&&(D=Math.floor(D))}else D=(l-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(D=Math.floor(D)),u[c]&&(u[c].style[t.getDirectionLabel("width")]=`${D}px`);u[c]&&(u[c].swiperSlideSize=D),x.push(D),i.centeredSlides?(E=E+D/2+P/2+b,P===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),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+D+b),t.virtualSize+=D+b,P=D,g+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+I,r&&a&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+b}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+b}px`),M&&t.grid.updateWrapperSize(D,m),!i.centeredSlides){const c=[];for(let _=0;_<m.length;_+=1){let y=m[_];i.roundLengths&&(y=Math.floor(y)),m[_]<=t.virtualSize-l&&c.push(y)}m=c,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){const c=x[0]+b;if(i.slidesPerGroup>1){const _=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),y=c*i.slidesPerGroup;for(let C=0;C<_;C+=1)m.push(m[m.length-1]+y)}for(let _=0;_<t.virtual.slidesBefore+t.virtual.slidesAfter;_+=1)i.slidesPerGroup===1&&m.push(m[m.length-1]+c),f.push(f[f.length-1]+c),t.virtualSize+=c}if(m.length===0&&(m=[0]),b!==0){const c=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");u.filter((_,y)=>!i.cssMode||i.loop?!0:y!==u.length-1).forEach(_=>{_.style[c]=`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let c=0;x.forEach(y=>{c+=y+(b||0)}),c-=b;const _=c-l;m=m.map(y=>y<=0?-w:y>_?_+I:y)}if(i.centerInsufficientSlides){let c=0;x.forEach(y=>{c+=y+(b||0)}),c-=b;const _=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(c+_<l){const y=(l-c-_)/2;m.forEach((C,k)=>{m[k]=C-y}),f.forEach((C,k)=>{f[k]=C+y})}}if(Object.assign(t,{slides:u,snapGrid:m,slidesGrid:f,slidesSizesGrid:x}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){Ht(n,"--swiper-centered-offset-before",`${-m[0]}px`),Ht(n,"--swiper-centered-offset-after",`${t.size/2-x[x.length-1]/2}px`);const c=-t.snapGrid[0],_=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(y=>y+c),t.slidesGrid=t.slidesGrid.map(y=>y+_)}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"),!d&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const c=`${i.containerModifierClass}backface-hidden`,_=t.el.classList.contains(c);h<=i.maxBackfaceHiddenSlides?_||t.el.classList.add(c):_&&t.el.classList.remove(c)}}function Lo(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let s=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=a=>n?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{i.push(a)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const a=e.activeIndex+l;if(a>e.slides.length&&!n)break;i.push(r(a))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const a=i[l].offsetHeight;s=a>s?a:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function No(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-i-t.cssOverflowAdjustment()}const on=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Bo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:s,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;s&&(r=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=i.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let d=0;d<n.length;d+=1){const v=n[d];let u=v.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(u-=n[0].swiperSlideOffset);const h=(r+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+a),m=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-u)/(v.swiperSlideSize+a),f=-(r-u),x=f+e.slidesSizesGrid[d],w=f>=0&&f<=e.size-e.slidesSizesGrid[d],I=f>=0&&f<e.size-1||x>1&&x<=e.size||f<=0&&x>=e.size;I&&(e.visibleSlides.push(v),e.visibleSlidesIndexes.push(d)),on(v,I,i.slideVisibleClass),on(v,w,i.slideFullyVisibleClass),v.progress=s?-h:h,v.originalProgress=s?-m:m}}function Fo(t){const e=this;if(typeof t>"u"){const u=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*u||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:l,isEnd:r,progressLoop:a}=e;const d=l,v=r;if(n===0)s=0,l=!0,r=!0;else{s=(t-e.minTranslate())/n;const u=Math.abs(t-e.minTranslate())<1,h=Math.abs(t-e.maxTranslate())<1;l=u||s<=0,r=h||s>=1,u&&(s=0),h&&(s=1)}if(i.loop){const u=e.getSlideIndexByData(0),h=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[u],f=e.slidesGrid[h],x=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=m?a=(w-m)/x:a=(w+x-f)/x,a>1&&(a-=1)}Object.assign(e,{progress:s,progressLoop:a,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!d&&e.emit("reachBeginning toEdge"),r&&!v&&e.emit("reachEnd toEdge"),(d&&!l||v&&!r)&&e.emit("fromEdge"),e.emit("progress",s)}const ai=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function jo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:s}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,a=h=>ht(n,`.${i.slideClass}${h}, swiper-slide${h}`)[0];let d,v,u;if(l)if(i.loop){let h=s-t.virtual.slidesBefore;h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),d=a(`[data-swiper-slide-index="${h}"]`)}else d=a(`[data-swiper-slide-index="${s}"]`);else r?(d=e.filter(h=>h.column===s)[0],u=e.filter(h=>h.column===s+1)[0],v=e.filter(h=>h.column===s-1)[0]):d=e[s];d&&(r||(u=So(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u&&(u=e[0]),v=wo(d,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!v===0&&(v=e[e.length-1]))),e.forEach(h=>{ai(h,h===d,i.slideActiveClass),ai(h,h===u,i.slideNextClass),ai(h,h===v,i.slidePrevClass)}),t.emitSlidesClasses()}const Xt=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let s=n.querySelector(`.${t.params.lazyPreloaderClass}`);!s&&t.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},ui=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},ci=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),s=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=s,a=[r-e];a.push(...Array.from({length:e}).map((d,v)=>r+n+v)),t.slides.forEach((d,v)=>{a.includes(d.column)&&ui(t,v)});return}const l=s+n-1;if(t.params.rewind||t.params.loop)for(let r=s-e;r<=l+e;r+=1){const a=(r%i+i)%i;(a<s||a>l)&&ui(t,a)}else for(let r=Math.max(s-e,0);r<=Math.min(l+e,i-1);r+=1)r!==s&&(r>l||r<s)&&ui(t,r)};function Vo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let s;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?s=l:n>=e[l]&&n<e[l+1]&&(s=l+1):n>=e[l]&&(s=l);return i.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function zo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:s,activeIndex:l,realIndex:r,snapIndex:a}=e;let d=t,v;const u=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 d>"u"&&(d=Vo(e)),n.indexOf(i)>=0)v=n.indexOf(i);else{const f=Math.min(s.slidesPerGroupSkip,d);v=f+Math.floor((d-f)/s.slidesPerGroup)}if(v>=n.length&&(v=n.length-1),d===l&&!e.params.loop){v!==a&&(e.snapIndex=v,e.emit("snapIndexChange"));return}if(d===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=u(d);return}const h=e.grid&&s.grid&&s.grid.rows>1;let m;if(e.virtual&&s.virtual.enabled&&s.loop)m=u(d);else if(h){const f=e.slides.filter(w=>w.column===d)[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/s.grid.rows)}else if(e.slides[d]){const f=e.slides[d].getAttribute("data-swiper-slide-index");f?m=parseInt(f,10):m=d}else m=d;Object.assign(e,{previousSnapIndex:a,snapIndex:v,previousRealIndex:r,realIndex:m,previousIndex:l,activeIndex:d}),e.initialized&&ci(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ho(t,e){const i=this,n=i.params;let s=t.closest(`.${n.slideClass}, swiper-slide`);!s&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(a=>{!s&&a.matches&&a.matches(`.${n.slideClass}, swiper-slide`)&&(s=a)});let l=!1,r;if(s){for(let a=0;a<i.slides.length;a+=1)if(i.slides[a]===s){l=!0,r=a;break}}if(s&&l)i.clickedSlide=s,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Go={updateSize:Mo,updateSlides:Oo,updateAutoHeight:Lo,updateSlidesOffset:No,updateSlidesProgress:Bo,updateProgress:Fo,updateSlidesClasses:jo,updateActiveIndex:zo,updateClickedSlide:Ho};function Uo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:s,wrapperEl:l}=e;if(i.virtualTranslate)return n?-s:s;if(i.cssMode)return s;let r=go(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Wo(t,e){const i=this,{rtlTranslate:n,params:s,wrapperEl:l,progress:r}=i;let a=0,d=0;const v=0;i.isHorizontal()?a=n?-t:t:d=t,s.roundLengths&&(a=Math.floor(a),d=Math.floor(d)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?a:d,s.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-a:-d:s.virtualTranslate||(i.isHorizontal()?a-=i.cssOverflowAdjustment():d-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${a}px, ${d}px, ${v}px)`);let u;const h=i.maxTranslate()-i.minTranslate();h===0?u=0:u=(t-i.minTranslate())/h,u!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Yo(){return-this.snapGrid[0]}function Xo(){return-this.snapGrid[this.snapGrid.length-1]}function Jo(t,e,i,n,s){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:a}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const d=l.minTranslate(),v=l.maxTranslate();let u;if(n&&t>d?u=d:n&&t<v?u=v:u=t,l.updateProgress(u),r.cssMode){const h=l.isHorizontal();if(e===0)a[h?"scrollLeft":"scrollTop"]=-u;else{if(!l.support.smoothScroll)return Ri({swiper:l,targetPosition:-u,side:h?"left":"top"}),!0;a.scrollTo({[h?"left":"top"]:-u,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(u),i&&(l.emit("beforeTransitionStart",e,s),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(m){!l||l.destroyed||m.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onTranslateToWrapperTransitionEnd),l.onTranslateToWrapperTransitionEnd=null,delete l.onTranslateToWrapperTransitionEnd,l.animating=!1,i&&l.emit("transitionEnd"))}),l.wrapperEl.addEventListener("transitionend",l.onTranslateToWrapperTransitionEnd))),!0}var qo={getTranslate:Uo,setTranslate:Wo,minTranslate:Yo,maxTranslate:Xo,translateTo:Jo};function Ko(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 ln(t){let{swiper:e,runCallbacks:i,direction:n,step:s}=t;const{activeIndex:l,previousIndex:r}=e;let a=n;if(a||(l>r?a="next":l<r?a="prev":a="reset"),e.emit(`transition${s}`),i&&l!==r){if(a==="reset"){e.emit(`slideResetTransition${s}`);return}e.emit(`slideChangeTransition${s}`),a==="next"?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`)}}function Zo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),ln({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Qo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),ln({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Ro={setTransition:Ko,transitionStart:Zo,transitionEnd:Qo};function $o(t,e,i,n,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const l=this;let r=t;r<0&&(r=0);const{params:a,snapGrid:d,slidesGrid:v,previousIndex:u,activeIndex:h,rtlTranslate:m,wrapperEl:f,enabled:x}=l;if(!x&&!n&&!s||l.destroyed||l.animating&&a.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const w=Math.min(l.params.slidesPerGroupSkip,r);let I=w+Math.floor((r-w)/l.params.slidesPerGroup);I>=d.length&&(I=d.length-1);const p=-d[I];if(a.normalizeSlideIndex)for(let b=0;b<v.length;b+=1){const E=-Math.floor(p*100),P=Math.floor(v[b]*100),g=Math.floor(v[b+1]*100);typeof v[b+1]<"u"?E>=P&&E<g-(g-P)/2?r=b:E>=P&&E<g&&(r=b+1):E>=P&&(r=b)}if(l.initialized&&r!==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)!==r))return!1;r!==(u||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(p);let T;if(r>h?T="next":r<h?T="prev":T="reset",m&&-p===l.translate||!m&&p===l.translate)return l.updateActiveIndex(r),a.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),a.effect!=="slide"&&l.setTranslate(p),T!=="reset"&&(l.transitionStart(i,T),l.transitionEnd(i,T)),!1;if(a.cssMode){const b=l.isHorizontal(),E=m?p:-p;if(e===0){const P=l.virtual&&l.params.virtual.enabled;P&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),P&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[b?"scrollLeft":"scrollTop"]=E})):f[b?"scrollLeft":"scrollTop"]=E,P&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return Ri({swiper:l,targetPosition:E,side:b?"left":"top"}),!0;f.scrollTo({[b?"left":"top"]:E,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(p),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,T),e===0?l.transitionEnd(i,T):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(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,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const s=this;if(s.destroyed)return;typeof e>"u"&&(e=s.params.speed);const l=s.grid&&s.params.grid&&s.params.grid.rows>1;let r=t;if(s.params.loop)if(s.virtual&&s.params.virtual.enabled)r=r+s.virtual.slidesBefore;else{let a;if(l){const m=r*s.params.grid.rows;a=s.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else a=s.getSlideIndexByData(r);const d=l?Math.ceil(s.slides.length/s.params.grid.rows):s.slides.length,{centeredSlides:v}=s.params;let u=s.params.slidesPerView;u==="auto"?u=s.slidesPerViewDynamic():(u=Math.ceil(parseFloat(s.params.slidesPerView,10)),v&&u%2===0&&(u=u+1));let h=d-a<u;if(v&&(h=h||a<Math.ceil(u/2)),n&&v&&s.params.slidesPerView!=="auto"&&!l&&(h=!1),h){const m=v?a<s.activeIndex?"prev":"next":a-s.activeIndex-1<s.params.slidesPerView?"next":"prev";s.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?a+1:a-d+1,slideRealIndex:m==="next"?s.realIndex:void 0})}if(l){const m=r*s.params.grid.rows;r=s.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===m)[0].column}else r=s.getSlideIndexByData(r)}return requestAnimationFrame(()=>{s.slideTo(r,e,i,n)}),s}function tl(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:s,params:l,animating:r}=n;if(!s||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let a=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const d=n.activeIndex<l.slidesPerGroupSkip?1:a,v=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!v&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+d,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+d,t,e,i)}function il(t,e,i){e===void 0&&(e=!0);const n=this,{params:s,snapGrid:l,slidesGrid:r,rtlTranslate:a,enabled:d,animating:v}=n;if(!d||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const u=n.virtual&&s.virtual.enabled;if(s.loop){if(v&&!u&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const h=a?n.translate:-n.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"&&s.cssMode){let p;l.forEach((T,b)=>{f>=T&&(p=b)}),typeof p<"u"&&(w=l[p>0?p-1:p])}let I=0;if(typeof w<"u"&&(I=r.indexOf(w),I<0&&(I=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(I=I-n.slidesPerViewDynamic("previous",!0)+1,I=Math.max(I,0))),s.rewind&&n.isBeginning){const p=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(p,t,e,i)}else if(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(I,t,e,i)}),!0;return n.slideTo(I,t,e,i)}function nl(t,e,i){e===void 0&&(e=!0);const n=this;if(!n.destroyed)return typeof t>"u"&&(t=n.params.speed),n.slideTo(n.activeIndex,t,e,i)}function ol(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const s=this;if(s.destroyed)return;typeof t>"u"&&(t=s.params.speed);let l=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,l),a=r+Math.floor((l-r)/s.params.slidesPerGroup),d=s.rtlTranslate?s.translate:-s.translate;if(d>=s.snapGrid[a]){const v=s.snapGrid[a],u=s.snapGrid[a+1];d-v>(u-v)*n&&(l+=s.params.slidesPerGroup)}else{const v=s.snapGrid[a-1],u=s.snapGrid[a];d-v<=(u-v)*n&&(l-=s.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,s.slidesGrid.length-1),s.slideTo(l,t,e,i)}function ll(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let s=t.clickedIndex,l;const r=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;l=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?s<t.loopedSlides-n/2||s>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),s=t.getSlideIndex(ht(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),kt(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-n?(t.loopFix(),s=t.getSlideIndex(ht(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),kt(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}var sl={slideTo:$o,slideToLoop:el,slideNext:tl,slidePrev:il,slideReset:nl,slideToClosest:ol,slideToClickedSlide:ll};function rl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const s=()=>{ht(n,`.${i.slideClass}, swiper-slide`).forEach((h,m)=>{h.setAttribute("data-swiper-slide-index",m)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),a=e.slides.length%r!==0,d=l&&e.slides.length%i.grid.rows!==0,v=u=>{for(let h=0;h<u;h+=1){const m=e.isElement?Ot("swiper-slide",[i.slideBlankClass]):Ot("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(m)}};if(a){if(i.loopAddBlankSlides){const u=r-e.slides.length%r;v(u),e.recalcSlides(),e.updateSlides()}else Gt("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else if(d){if(i.loopAddBlankSlides){const u=i.grid.rows-e.slides.length%i.grid.rows;v(u),e.recalcSlides(),e.updateSlides()}else Gt("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");s()}else s();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function dl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:s,activeSlideIndex:l,byController:r,byMousewheel:a}=t===void 0?{}:t;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:v,allowSlidePrev:u,allowSlideNext:h,slidesEl:m,params:f}=d,{centeredSlides:x}=f;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&f.virtual.enabled){i&&(!f.centeredSlides&&d.snapIndex===0?d.slideTo(d.virtual.slides.length,0,!1,!0):f.centeredSlides&&d.snapIndex<f.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0)),d.allowSlidePrev=u,d.allowSlideNext=h,d.emit("loopFix");return}let w=f.slidesPerView;w==="auto"?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(f.slidesPerView,10)),x&&w%2===0&&(w=w+1));const I=f.slidesPerGroupAuto?w:f.slidesPerGroup;let p=I;p%I!==0&&(p+=I-p%I),p+=f.loopAdditionalSlides,d.loopedSlides=p;const T=d.grid&&f.grid&&f.grid.rows>1;v.length<w+p?Gt("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"&&Gt("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],E=[];let P=d.activeIndex;typeof l>"u"?l=d.getSlideIndex(v.filter(C=>C.classList.contains(f.slideActiveClass))[0]):P=l;const g=n==="next"||!n,M=n==="prev"||!n;let D=0,S=0;const c=T?Math.ceil(v.length/f.grid.rows):v.length,y=(T?v[l].column:l)+(x&&typeof s>"u"?-w/2+.5:0);if(y<p){D=Math.max(p-y,I);for(let C=0;C<p-y;C+=1){const k=C-Math.floor(C/c)*c;if(T){const O=c-k-1;for(let j=v.length-1;j>=0;j-=1)v[j].column===O&&b.push(j)}else b.push(c-k-1)}}else if(y+w>c-p){S=Math.max(y-(c-p*2),I);for(let C=0;C<S;C+=1){const k=C-Math.floor(C/c)*c;T?v.forEach((O,j)=>{O.column===k&&E.push(j)}):E.push(k)}}if(d.__preventObserver__=!0,requestAnimationFrame(()=>{d.__preventObserver__=!1}),M&&b.forEach(C=>{v[C].swiperLoopMoveDOM=!0,m.prepend(v[C]),v[C].swiperLoopMoveDOM=!1}),g&&E.forEach(C=>{v[C].swiperLoopMoveDOM=!0,m.append(v[C]),v[C].swiperLoopMoveDOM=!1}),d.recalcSlides(),f.slidesPerView==="auto"?d.updateSlides():T&&(b.length>0&&M||E.length>0&&g)&&d.slides.forEach((C,k)=>{d.grid.updateSlide(k,C,d.slides)}),f.watchSlidesProgress&&d.updateSlidesOffset(),i){if(b.length>0&&M){if(typeof e>"u"){const C=d.slidesGrid[P],O=d.slidesGrid[P+D]-C;a?d.setTranslate(d.translate-O):(d.slideTo(P+Math.ceil(D),0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-O,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-O))}else if(s){const C=T?b.length/f.grid.rows:b.length;d.slideTo(d.activeIndex+C,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(E.length>0&&g)if(typeof e>"u"){const C=d.slidesGrid[P],O=d.slidesGrid[P-S]-C;a?d.setTranslate(d.translate-O):(d.slideTo(P-S,0,!1,!0),s&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-O,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-O))}else{const C=T?E.length/f.grid.rows:E.length;d.slideTo(d.activeIndex-C,0,!1,!0)}}if(d.allowSlidePrev=u,d.allowSlideNext=h,d.controller&&d.controller.control&&!r){const C={slideRealIndex:e,direction:n,setTranslate:s,activeSlideIndex:l,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach(k=>{!k.destroyed&&k.params.loop&&k.loopFix({...C,slideTo:k.params.slidesPerView===f.slidesPerView?i:!1})}):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...C,slideTo:d.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}d.emit("loopFix")}function al(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(s=>{const l=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[l]=s}),t.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{i.append(s)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ul={loopCreate:rl,loopFix:dl,loopDestroy:al};function cl(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:cl,unsetGrabCursor:vl};function ml(t,e){e===void 0&&(e=this);function i(n){if(!n||n===vt()||n===tt())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(t);return!s&&!n.getRootNode?null:s||i(n.getRootNode().host)}return i(e)}function sn(t,e,i){const n=tt(),{params:s}=t,l=s.edgeSwipeDetection,r=s.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function fl(t){const e=this,i=vt();let n=t;n.originalEvent&&(n=n.originalEvent);const s=e.touchEventsData;if(n.type==="pointerdown"){if(s.pointerId!==null&&s.pointerId!==n.pointerId)return;s.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(s.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){sn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:a}=e;if(!a||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let d=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(d)||"which"in n&&n.which===3||"button"in n&&n.button>0||s.isTouched&&s.isMoved)return;const v=!!l.noSwipingClass&&l.noSwipingClass!=="",u=n.composedPath?n.composedPath():n.path;v&&n.target&&n.target.shadowRoot&&u&&(d=u[0]);const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,m=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(m?ml(h,d):d.closest(h))){e.allowClick=!0;return}if(l.swipeHandler&&!d.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const f=r.currentX,x=r.currentY;if(!sn(e,n,f))return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=f,r.startY=x,s.touchStartTime=rt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(s.allowThresholdMove=!1);let w=!0;d.matches(s.focusableElements)&&(w=!1,d.nodeName==="SELECT"&&(s.isTouched=!1)),i.activeElement&&i.activeElement.matches(s.focusableElements)&&i.activeElement!==d&&i.activeElement.blur();const I=w&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||I)&&!d.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function hl(t){const e=vt(),i=this,n=i.touchEventsData,{params:s,touches:l,rtlTranslate:r,enabled:a}=i;if(!a||!s.simulateTouch&&t.pointerType==="mouse")return;let d=t;if(d.originalEvent&&(d=d.originalEvent),d.type==="pointermove"&&(n.touchId!==null||d.pointerId!==n.pointerId))return;let v;if(d.type==="touchmove"){if(v=[...d.changedTouches].filter(g=>g.identifier===n.touchId)[0],!v||v.identifier!==n.touchId)return}else v=d;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",d);return}const u=v.pageX,h=v.pageY;if(d.preventedByNestedSwiper){l.startX=u,l.startY=h;return}if(!i.allowTouchMove){d.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:u,startY:h,currentX:u,currentY:h}),n.touchStartTime=rt());return}if(s.touchReleaseOnEdges&&!s.loop){if(i.isVertical()){if(h<l.startY&&i.translate<=i.maxTranslate()||h>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(u<l.startX&&i.translate<=i.maxTranslate()||u>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&d.target===e.activeElement&&d.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",d),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=u,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 n.isScrolling>"u"){let g;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:m*m+f*f>=25&&(g=Math.atan2(Math.abs(f),Math.abs(m))*180/Math.PI,n.isScrolling=i.isHorizontal()?g>s.touchAngle:90-g>s.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",d),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||d.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let x=i.isHorizontal()?m:f,w=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;s.oneWayMovement&&(x=Math.abs(x)*(r?1:-1),w=Math.abs(w)*(r?1:-1)),l.diff=x,x*=s.touchRatio,r&&(x=-x,w=-w);const I=i.touchesDirection;i.swipeDirection=x>0?"prev":"next",i.touchesDirection=w>0?"prev":"next";const p=i.params.loop&&!s.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(p&&T&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const g=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(g)}n.allowMomentumBounce=!1,s.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",d)}let b;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&I!==i.touchesDirection&&p&&T&&Math.abs(x)>=1){Object.assign(l,{startX:u,startY:h,currentX:u,currentY:h,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",d),n.isMoved=!0,n.currentTranslate=x+n.startTranslate;let E=!0,P=s.resistanceRatio;if(s.touchReleaseOnEdges&&(P=0),x>0?(p&&T&&!b&&n.allowThresholdMove&&n.currentTranslate>(s.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(E=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+x)**P))):x<0&&(p&&T&&!b&&n.allowThresholdMove&&n.currentTranslate<(s.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(s.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(E=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-x)**P))),E&&(d.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(x)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function gl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let s;if(n.type==="touchend"||n.type==="touchcancel"){if(s=[...n.changedTouches].filter(P=>P.identifier===i.touchId)[0],!s||s.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;s=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:a,rtlTranslate:d,slidesGrid:v,enabled:u}=e;if(!u||!r.simulateTouch&&n.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",n),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&r.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}r.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const h=rt(),m=h-i.touchStartTime;if(e.allowClick){const P=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(P&&P[0]||n.target,P),e.emit("tap click",n),m<300&&h-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=rt(),kt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||a.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(r.followFinger?f=d?e.translate:-e.translate:f=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const x=f>=-e.maxTranslate()&&!e.params.loop;let w=0,I=e.slidesSizesGrid[0];for(let P=0;P<v.length;P+=P<r.slidesPerGroupSkip?1:r.slidesPerGroup){const g=P<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof v[P+g]<"u"?(x||f>=v[P]&&f<v[P+g])&&(w=P,I=v[P+g]-v[P]):(x||f>=v[P])&&(w=P,I=v[v.length-1]-v[v.length-2])}let p=null,T=null;r.rewind&&(e.isBeginning?T=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(p=0));const b=(f-v[w])/I,E=w<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(b>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?p:w+E):e.slideTo(w)),e.swipeDirection==="prev"&&(b>1-r.longSwipesRatio?e.slideTo(w+E):T!==null&&b<0&&Math.abs(b)>r.longSwipesRatio?e.slideTo(T):e.slideTo(w))}else{if(!r.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(w+E):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(p!==null?p:w+E),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:w))}}function rn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const a=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!a?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!r?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=s,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function bl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function yl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let s;const l=t.maxTranslate()-t.minTranslate();l===0?s=0:s=(t.translate-t.minTranslate())/l,s!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function wl(t){const e=this;Xt(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 dn=(t,e)=>{const i=vt(),{params:n,el:s,wrapperEl:l,device:r}=t,a=!!n.nested,d=e==="on"?"addEventListener":"removeEventListener",v=e;!s||typeof s=="string"||(i[d]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:a}),s[d]("touchstart",t.onTouchStart,{passive:!1}),s[d]("pointerdown",t.onTouchStart,{passive:!1}),i[d]("touchmove",t.onTouchMove,{passive:!1,capture:a}),i[d]("pointermove",t.onTouchMove,{passive:!1,capture:a}),i[d]("touchend",t.onTouchEnd,{passive:!0}),i[d]("pointerup",t.onTouchEnd,{passive:!0}),i[d]("pointercancel",t.onTouchEnd,{passive:!0}),i[d]("touchcancel",t.onTouchEnd,{passive:!0}),i[d]("pointerout",t.onTouchEnd,{passive:!0}),i[d]("pointerleave",t.onTouchEnd,{passive:!0}),i[d]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[d]("click",t.onClick,!0),n.cssMode&&l[d]("scroll",t.onScroll),n.updateOnWindowResize?t[v](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",rn,!0):t[v]("observerUpdate",rn,!0),s[d]("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),dn(t,"on")}function Tl(){dn(this,"off")}var El={attachEvents:xl,detachEvents:Tl};const an=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Al(){const t=this,{realIndex:e,initialized:i,params:n,el:s}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const d=(r in l?l[r]:void 0)||t.originalParams,v=an(t,n),u=an(t,d),h=t.params.grabCursor,m=d.grabCursor,f=n.enabled;v&&!u?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!v&&u&&(s.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),h&&!m?t.unsetGrabCursor():!h&&m&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(b=>{if(typeof d[b]>"u")return;const E=n[b]&&n[b].enabled,P=d[b]&&d[b].enabled;E&&!P&&t[b].disable(),!E&&P&&t[b].enable()});const x=d.direction&&d.direction!==n.direction,w=n.loop&&(d.slidesPerView!==n.slidesPerView||x),I=n.loop;x&&i&&t.changeDirection(),ot(t.params,d);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=r,t.emit("_beforeBreakpoint",d),i&&(w?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!I&&T?(t.loopCreate(e),t.updateSlides()):I&&!T&&t.loopDestroy()),t.emit("breakpoint",d)}function Cl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const s=tt(),l=e==="window"?s.innerHeight:i.clientHeight,r=Object.keys(t).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const d=parseFloat(a.substr(1));return{value:l*d,point:a}}return{value:a,point:a}});r.sort((a,d)=>parseInt(a.value,10)-parseInt(d.value,10));for(let a=0;a<r.length;a+=1){const{point:d,value:v}=r[a];e==="window"?s.matchMedia(`(min-width: ${v}px)`).matches&&(n=d):v<=i.clientWidth&&(n=d)}return n||"max"}var Il={setBreakpoint:Al,getBreakpoint:Cl};function kl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&i.push(e+s)}):typeof n=="string"&&i.push(e+n)}),i}function _l(){const t=this,{classNames:e,params:i,rtl:n,el:s,device:l}=t,r=kl(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:n},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:l.android},{ios:l.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...r),s.classList.add(...e),t.emitContainerClasses()}function Pl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Dl={addClasses:_l,removeClasses:Pl};function Ml(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const s=t.slides.length-1,l=t.slidesGrid[s]+t.slidesSizesGrid[s]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Ol={checkOverflow:Ml},vi={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 Ll(t,e){return function(n){n===void 0&&(n={});const s=Object.keys(n)[0],l=n[s];if(typeof l!="object"||l===null){ot(e,n);return}if(t[s]===!0&&(t[s]={enabled:!0}),s==="navigation"&&t[s]&&t[s].enabled&&!t[s].prevEl&&!t[s].nextEl&&(t[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&t[s]&&t[s].enabled&&!t[s].el&&(t[s].auto=!0),!(s in t&&"enabled"in l)){ot(e,n);return}typeof t[s]=="object"&&!("enabled"in t[s])&&(t[s].enabled=!0),t[s]||(t[s]={enabled:!1}),ot(e,n)}}const pi={eventsEmitter:Do,update:Go,translate:qo,transition:Ro,slide:sl,loop:ul,grabCursor:pl,events:El,breakpoints:Il,checkOverflow:Ol,classes:Dl},mi={};let fi=class xt{constructor(){let e,i;for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?i=s[0]:[e,i]=s,i||(i={}),i=ot({},i),e&&!i.el&&(i.el=e);const r=vt();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const u=[];return r.querySelectorAll(i.el).forEach(h=>{const m=ot({},i,{el:h});u.push(new xt(m))}),u}const a=this;a.__swiper__=!0,a.support=tn(),a.device=nn({userAgent:i.userAgent}),a.browser=ko(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const d={};a.modules.forEach(u=>{u({params:i,swiper:a,extendParams:Ll(i,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const v=ot({},vi,d);return a.params=ot({},v,mi,i),a.originalParams=ot({},a.params),a.passedParams=ot({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(u=>{a.on(u,a.params.on[u])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,s=ht(i,`.${n.slideClass}, swiper-slide`),l=Ut(s[0]);return Ut(e)-l}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:n}=e;e.slides=ht(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const s=n.minTranslate(),r=(n.maxTranslate()-s)*e+s;n.translateTo(r,typeof i>"u"?0:i),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(n=>{const s=e.getSlideClasses(n);i.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:s,slides:l,slidesGrid:r,slidesSizesGrid:a,size:d,activeIndex:v}=n;let u=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.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),u+=1,h>d&&(m=!0));for(let f=v-1;f>=0;f-=1)l[f]&&!m&&(h+=l[f].swiperSlideSize,u+=1,h>d&&(m=!0))}else if(e==="current")for(let h=v+1;h<l.length;h+=1)(i?r[h]+a[h]-r[v]<d:r[h]-r[v]<d)&&(u+=1);else for(let h=v-1;h>=0;h-=1)r[v]-r[h]<d&&(u+=1);return u}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Xt(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const r=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const r=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;l=e.slideTo(r.length-1,0,!1,!0)}else l=e.slideTo(e.activeIndex,0,!1,!0);l||s()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const s=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):ht(n,s())[0];return!r&&i.params.createElements&&(r=Ot("div",i.params.wrapperClass),n.append(r),ht(n,`.${i.params.slideClass}`).forEach(a=>{r.append(a)})),Object.assign(i,{el:n,wrapperEl:r,slidesEl:i.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:i.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Et(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Et(n,"direction")==="rtl"),wrongRTL:Et(r,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const s=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&s.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(l=>{l.complete?Xt(i,l):l.addEventListener("load",r=>{Xt(i,r.target)})}),ci(i),i.initialized=!0,ci(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:s,el:l,wrapperEl:r,slides:a}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),a&&a.length&&a.forEach(d=>{d.classList.remove(s.slideVisibleClass,s.slideFullyVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),d.removeAttribute("style"),d.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(d=>{n.off(d)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),fo(n)),n.destroyed=!0),null}static extendDefaults(e){ot(mi,e)}static get extendedDefaults(){return mi}static get defaults(){return vi}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(pi).forEach(t=>{Object.keys(pi[t]).forEach(e=>{fi.prototype[e]=pi[t][e]})}),fi.use([_o,Po]);const un=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ct(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Pt(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:Ct(e[n])&&Ct(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:Pt(t[n],e[n]):t[n]=e[n]})}function cn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function vn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function pn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function mn(t){t===void 0&&(t="");const e=t.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return e.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function Nl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Bl(t){let{swiper:e,slides:i,passedParams:n,changedParams:s,nextEl:l,prevEl:r,scrollbarEl:a,paginationEl:d}=t;const v=s.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:u,pagination:h,navigation:m,scrollbar:f,virtual:x,thumbs:w}=e;let I,p,T,b,E,P,g,M;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(I=!0),s.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(p=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||d)&&(u.pagination||u.pagination===!1)&&h&&!h.el&&(T=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||a)&&(u.scrollbar||u.scrollbar===!1)&&f&&!f.el&&(b=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(u.navigation||u.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(E=!0);const D=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))};s.includes("loop")&&e.isElement&&(u.loop&&!n.loop?P=!0:!u.loop&&n.loop?g=!0:M=!0),v.forEach(S=>{if(Ct(u[S])&&Ct(n[S]))Object.assign(u[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&D(S);else{const c=n[S];(c===!0||c===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?c===!1&&D(S):u[S]=n[S]}}),v.includes("controller")&&!p&&e.controller&&e.controller.control&&u.controller&&u.controller.control&&(e.controller.control=u.controller.control),s.includes("children")&&i&&x&&u.virtual.enabled?(x.slides=i,x.update(!0)):s.includes("virtual")&&x&&u.virtual.enabled&&(i&&(x.slides=i),x.update(!0)),s.includes("children")&&i&&u.loop&&(M=!0),I&&w.init()&&w.update(!0),p&&(e.controller.control=u.controller.control),T&&(e.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-pagination"),d.part.add("pagination"),e.el.appendChild(d)),d&&(u.pagination.el=d),h.init(),h.render(),h.update()),b&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(u.scrollbar.el=a),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)),(!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-prev"),r.innerHTML=e.hostEl.constructor.prevButtonSvg,r.part.add("button-prev"),e.el.appendChild(r))),l&&(u.navigation.nextEl=l),r&&(u.navigation.prevEl=r),m.init(),m.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(P||M)&&e.loopDestroy(),(g||M)&&e.loopCreate(),e.update()}function Fl(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},s={};Pt(i,vi),i._emitClasses=!0,i.init=!1;const l={},r=un.map(d=>d.replace(/_/,"")),a=Object.assign({},t);return Object.keys(a).forEach(d=>{typeof t[d]>"u"||(r.indexOf(d)>=0?Ct(t[d])?(i[d]={},s[d]={},Pt(i[d],t[d]),Pt(s[d],t[d])):(i[d]=t[d],s[d]=t[d]):d.search(/on[A-Z]/)===0&&typeof t[d]=="function"?e?n[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:i.on[`${d[2].toLowerCase()}${d.substr(3)}`]=t[d]:l[d]=t[d])}),["navigation","pagination","scrollbar"].forEach(d=>{i[d]===!0&&(i[d]={}),i[d]===!1&&delete i[d]}),{params:i,passedParams:s,rest:l,events:n}}function jl(t,e){let{el:i,nextEl:n,prevEl:s,paginationEl:l,scrollbarEl:r,swiper:a}=t;cn(e)&&n&&s&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=s,a.originalParams.navigation.prevEl=s),vn(e)&&l&&(a.params.pagination.el=l,a.originalParams.pagination.el=l),pn(e)&&r&&(a.params.scrollbar.el=r,a.originalParams.scrollbar.el=r),a.init(i)}function Vl(t,e,i,n,s){const l=[];if(!e)return l;const r=d=>{l.indexOf(d)<0&&l.push(d)};if(i&&n){const d=n.map(s),v=i.map(s);d.join("")!==v.join("")&&r("children"),n.length!==i.length&&r("children")}return un.filter(d=>d[0]==="_").map(d=>d.replace(/_/,"")).forEach(d=>{if(d in t&&d in e)if(Ct(t[d])&&Ct(e[d])){const v=Object.keys(t[d]),u=Object.keys(e[d]);v.length!==u.length?r(d):(v.forEach(h=>{t[d][h]!==e[d][h]&&r(d)}),u.forEach(h=>{t[d][h]!==e[d][h]&&r(d)}))}else t[d]!==e[d]&&r(d)}),l}const zl=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function Jt(){return Jt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},Jt.apply(this,arguments)}function fn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function hn(t){const e=[];return o.Children.toArray(t).forEach(i=>{fn(i)?e.push(i):i.props&&i.props.children&&hn(i.props.children).forEach(n=>e.push(n))}),e}function Hl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(t).forEach(n=>{if(fn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const s=hn(n.props.children);s.length>0?s.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Gl(t,e,i){if(!i)return null;const n=u=>{let h=u;return u<0?h=e.length+u:h>=e.length&&(h=h-e.length),h},s=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,a=t.params.loop?-e.length:0,d=t.params.loop?e.length*2:e.length,v=[];for(let u=a;u<d;u+=1)u>=l&&u<=r&&v.push(e[n(u)]);return v.map((u,h)=>o.cloneElement(u,{swiper:t,style:s,key:u.props.virtualIndex||u.key||`slide-${h}`}))}function Lt(t,e){return typeof window>"u"?o.useEffect(t,e):o.useLayoutEffect(t,e)}const hi=o.createContext(null),gn=()=>o.useContext(hi),Ul=o.createContext(null),It=o.forwardRef(function(t,e){let{className:i,tag:n="div",wrapperTag:s="div",children:l,onSwiper:r,...a}=t===void 0?{}:t,d=!1;const[v,u]=o.useState("swiper"),[h,m]=o.useState(null),[f,x]=o.useState(!1),w=o.useRef(!1),I=o.useRef(null),p=o.useRef(null),T=o.useRef(null),b=o.useRef(null),E=o.useRef(null),P=o.useRef(null),g=o.useRef(null),M=o.useRef(null),{params:D,passedParams:S,rest:c,events:_}=Fl(a),{slides:y,slots:C}=Hl(l),k=()=>{x(!f)};Object.assign(D.on,{_containerClasses(N,B){u(B)}});const O=()=>{Object.assign(D.on,_),d=!0;const N={...D};if(delete N.wrapperClass,p.current=new fi(N),p.current.virtual&&p.current.params.virtual.enabled){p.current.virtual.slides=y;const B={cache:!1,slides:y,renderExternal:m,renderExternalUpdate:!1};Pt(p.current.params.virtual,B),Pt(p.current.originalParams.virtual,B)}};I.current||O(),p.current&&p.current.on("_beforeBreakpoint",k);const j=()=>{d||!_||!p.current||Object.keys(_).forEach(N=>{p.current.on(N,_[N])})},z=()=>{!_||!p.current||Object.keys(_).forEach(N=>{p.current.off(N,_[N])})};o.useEffect(()=>()=>{p.current&&p.current.off("_beforeBreakpoint",k)}),o.useEffect(()=>{!w.current&&p.current&&(p.current.emitSlidesClasses(),w.current=!0)}),Lt(()=>{if(e&&(e.current=I.current),!!I.current)return p.current.destroyed&&O(),jl({el:I.current,nextEl:E.current,prevEl:P.current,paginationEl:g.current,scrollbarEl:M.current,swiper:p.current},D),r&&!p.current.destroyed&&r(p.current),()=>{p.current&&!p.current.destroyed&&p.current.destroy(!0,!1)}},[]),Lt(()=>{j();const N=Vl(S,T.current,y,b.current,B=>B.key);return T.current=S,b.current=y,N.length&&p.current&&!p.current.destroyed&&Bl({swiper:p.current,slides:y,passedParams:S,changedParams:N,nextEl:E.current,prevEl:P.current,scrollbarEl:M.current,paginationEl:g.current}),()=>{z()}}),Lt(()=>{zl(p.current)},[h]);function F(){return D.virtual?Gl(p.current,y,h):y.map((N,B)=>o.cloneElement(N,{swiper:p.current,swiperSlideIndex:B}))}return o.createElement(n,Jt({ref:I,className:mn(`${v}${i?` ${i}`:""}`)},c),o.createElement(Ul.Provider,{value:p.current},C["container-start"],o.createElement(s,{className:Nl(D.wrapperClass)},C["wrapper-start"],F(),C["wrapper-end"]),cn(D)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:P,className:"swiper-button-prev"}),o.createElement("div",{ref:E,className:"swiper-button-next"})),pn(D)&&o.createElement("div",{ref:M,className:"swiper-scrollbar"}),vn(D)&&o.createElement("div",{ref:g,className:"swiper-pagination"}),C["container-end"]))});It.displayName="Swiper";const pt=o.forwardRef(function(t,e){let{tag:i="div",children:n,className:s="",swiper:l,zoom:r,lazy:a,virtualIndex:d,swiperSlideIndex:v,...u}=t===void 0?{}:t;const h=o.useRef(null),[m,f]=o.useState("swiper-slide"),[x,w]=o.useState(!1);function I(E,P,g){P===h.current&&f(g)}Lt(()=>{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",I),()=>{l&&l.off("_slideClass",I)}}}),Lt(()=>{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 n=="function"?n(p):n,b=()=>{w(!0)};return o.createElement(i,Jt({ref:h,className:mn(`${m}${s?` ${s}`:""}`),"data-swiper-slide-index":d,onLoad:b},u),r&&o.createElement(hi.Provider,{value:p},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},T(),a&&!x&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&o.createElement(hi.Provider,{value:p},T(),a&&!x&&o.createElement("div",{className:"swiper-lazy-preloader"})))});pt.displayName="SwiperSlide";const Wl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Yl=({visible:t,onClose:e,children:i,modalStyle:n,padding:s,popup:l,schema:r,fullHeight:a=window.innerHeight,isFullScreen:d=!1})=>{var v,u,h,m,f,x,w,I,p,T,b,E,P,g,M,D,S,c,_,y,C,k;const O=o.useRef(null),j=o.useRef(null),z=o.useRef(null),F=o.useRef(null),N=a*.2,B=d?a:a*.8,[X,H]=o.useState(N),[$,Z]=o.useState(!1),U=o.useRef(null),{globalConfig:V,popupDetailData:ce}=ke(),{schema:be}=ut();o.useEffect(()=>{const ee=document.getElementById("sxp-render"),fe=document.getElementById("pb-modal");fe?U.current=fe:(U.current=document.createElement("div"),U.current.setAttribute("id","pb-modal"),ee?.appendChild(U.current))},[]);const te=o.useMemo(()=>l?.id&&l?.id!==""||t,[t,l]),q=o.useMemo(()=>{var ee,fe,Se;const De=r??be;return(Se=(fe=(ee=De?.sxpPageConf)===null||ee===void 0?void 0:ee.globalConfig)===null||fe===void 0?void 0:fe.popupList)===null||Se===void 0?void 0:Se.find(Me=>Me?.id===l?.id)},[l,r,be]),re=o.useMemo(()=>{var ee,fe;return((fe=(ee=q?.item)===null||ee===void 0?void 0:ee.event)===null||fe===void 0?void 0:fe.isScrollFullScreen)||!1},[q]);if(o.useEffect(()=>{te?Z(!0):setTimeout(()=>{Z(!1),H(N)},l?.duration)},[te,l]),!U.current)return null;const ne=Ye.debounce(()=>{e?.()},300),oe=ee=>{O.current=ee.touches[0],j.current=ee.touches[0],z.current=!0},ve=ee=>{requestAnimationFrame(()=>{var fe;if(z.current&&((fe=F?.current)===null||fe===void 0?void 0:fe.scrollTop)===0){const Se=ee.touches[0].clientY,De=ee.touches[0].clientX,Ce=O.current.clientY-Se;O.current=ee.touches[0];const Me=Se-j.current.clientY,Ne=De-j.current.clientX;if(Math.abs(Ne)>Math.abs(Me))return;const G=X-Ce;G>0&&H(G)}})},we=ee=>{var fe;if(z.current&&((fe=F?.current)===null||fe===void 0?void 0:fe.scrollTop)===0){const Se=ee.changedTouches[0].clientY-j.current.clientY,De=ee.changedTouches[0].clientX-j.current.clientX;if(Math.abs(De)>Math.abs(Se))return;const Ce=j.current.clientY-O.current.clientY;Ce>0?H(0):X<N&&Ce<0?H(N):X>=N&&Ce<0&&e?.()}z.current=!1};return _i.createPortal(o.createElement(o.Fragment,null,$&&o.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:te?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:ne},o.createElement("div",{style:{position:"relative",left:`${(m=(h=(u=(v=q?.item)===null||v===void 0?void 0:v.props)===null||u===void 0?void 0:u.popupBg)===null||h===void 0?void 0:h.horizontalMargin)!==null&&m!==void 0?m:0}px`,right:`${(I=(w=(x=(f=q?.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&&I!==void 0?I:0}px`,bottom:`${(E=(b=(T=(p=q?.item)===null||p===void 0?void 0:p.props)===null||T===void 0?void 0:T.popupBg)===null||b===void 0?void 0:b.bottomMargin)!==null&&E!==void 0?E:0}px`,overflow:"hidden",width:`calc(100% - ${((D=(M=(g=(P=q?.item)===null||P===void 0?void 0:P.props)===null||g===void 0?void 0:g.popupBg)===null||M===void 0?void 0:M.horizontalMargin)!==null&&D!==void 0?D:0)*2}px)`,height:"100%"}},o.createElement("div",Object.assign({className:`modal-container ${te?"modal-popIn":"modal-popOut"}`,style:Object.assign({padding:s,animationDuration:((S=l?.duration)!==null&&S!==void 0?S:0)/1e3+"s"},re&&{transform:`translateY(${X}px)`}),onClick:ee=>{ee.stopPropagation(),ee.preventDefault()}},re&&{onTouchMove:ve,onTouchStart:oe,onTouchEnd:we}),o.createElement("div",{onClick:e,className:"modal-icon-wrapper"},o.createElement("img",{src:(c=V?.popupCloseIcon)!==null&&c!==void 0?c:Wl,alt:"close",className:"modal-icon"})),o.createElement("div",{ref:F,style:{height:(k=(re?a:B)-((C=(y=(_=q?.item)===null||_===void 0?void 0:_.props)===null||y===void 0?void 0:y.popupBg)===null||C===void 0?void 0:C.bottomMargin))!==null&&k!==void 0?k:0,overflow:re&&X<=0||!re?"auto":"hidden"}},i))))),U.current)};var Dt=o.memo(Yl);const Xl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),s=[];for(let r=0;r<n.length&&(s.push(n[r]),!(s.join(" ").length>=e));r++);return(s.length>1&&s.length<n.length?s.slice(0,s.length-1):s).join(" ")+" "},Jl=({text:t,maxStr:e=108,style:i,className:n,onClick:s,foldText:l,unfoldText:r,isPost:a,onChange:d})=>{const[v,u]=o.useState(!1),[h,m]=o.useState(!1),f=Number(i?.lineClamp||2),x=o.useRef(null),w=o.useRef(null),I=o.useCallback(()=>{u(!v)},[v,d]);return o.useMemo(()=>!v&&t.length>e?Xl(t,e)+"...":t,[t,e,v]),o.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)&&a?m(!0):m(!1),w.current.style.display="none"},[a]),o.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},o.createElement("div",{ref:x,style:{overflow:"hidden",WebkitLineClamp:!a||v?"":f,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),o.createElement("div",{ref:w,dangerouslySetInnerHTML:{__html:he(t?.replace(/\n/g,"</br>"),i)}}),t&&a&&h&&o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:s??I,dangerouslySetInnerHTML:{__html:he(v?r||"show less":l||"show more",i)}}))};var qt=o.memo(Jl);const ql=o.forwardRef((t,e)=>{const{src:i,onLoad:n,style:s,className:l,loading:r,alt:a="image"}=t,[d,v]=o.useState(),u=o.useRef(null),[h,m]=o.useState(!1);return o.useImperativeHandle(e,()=>({setSrc:f=>{f&&v(f)}})),o.useEffect(()=>{i&&v(i)},[i]),o.useEffect(()=>{const f=()=>{i&&!h&&u.current&&(u.current.src="",u.current.src=i)};return ct.on(nt.PAGE_DID_SHOW,f),()=>{ct.off(nt.PAGE_DID_SHOW,f)}},[i,h]),o.createElement(o.Fragment,null,!h&&o.createElement("div",{style:{width:"100%",height:"100%",zIndex:1,backgroundColor:"#fff"}}),d?.includes(".avif")?o.createElement("picture",null,o.createElement("source",{type:"image/avif",srcSet:d}),o.createElement("source",{type:"image/webp",srcSet:`${d}?imageMogr2/format/webp`}),o.createElement("source",{type:"image/jpeg",srcSet:`${d}?imageMogr2/format/jpg`}),o.createElement("img",{ref:u,className:l,src:d,style:Object.assign({},s),loading:r,onLoad:f=>{m(!0),n?.(f.target)},alt:a})):o.createElement("img",{ref:u,className:l,src:d,style:Object.assign({},s),loading:r,onLoad:f=>{m(!0),n?.(f.target)},alt:a}))});var it=o.memo(ql);const Kl=({children:t,isPadding:e=!0,style:i,enableSlideActive:n=!1})=>{const s=o.useRef(),{popupDetailData:l}=ke();return o.useEffect(()=>{var r,a;n&&((r=s?.current)===null||r===void 0||r.swiper.slideTo((a=l?.multiCheckIndex)!==null&&a!==void 0?a:0))},[l,n]),o.createElement(It,{ref:s,direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[Eo,To,xo],style:Object.assign({padding:e?"0 12px 0 20px":0},i)},t)};var Nt=o.memo(Kl);const Zl=({products:t,data:e,defImg:i,style:n,onCLick:s,popupDetailData:l,check:r})=>{var a;const{productView:d}=Qe(),{popupCurTimeRef:v}=ke(),u=(h,m)=>{if(r===m)return;const f=t?.[r];d(l,f,f?.bindCta,v.current,l?.index),s?.(m)};return o.createElement(o.Fragment,null,e?.open&&(t&&t?.length>1||!l)&&o.createElement(Nt,{enableSlideActive:!0,isPadding:!1,style:Object.assign(Object.assign({},n),e?.style)},(a=l?t:[0,1,2,3])===null||a===void 0?void 0:a.map((h,m)=>{var f,x,w;return o.createElement(o.Fragment,null,h?.bindCta?o.createElement(pt,{className:ye.css({width:"50px",height:"50px",marginRight:"10px"}),onClick:()=>{u(h,m)},key:m},o.createElement(it,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${e?.translateY?e?.translateY+50:50}%`,border:r===m?"1px solid #000":"1px solid #f2f2f2",boxSizing:"border-box"},src:(w=(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 bn=o.memo(Zl);const Ql=t=>{var e,i,n,s,l,r,a,d,v,u,h,m,f,x,w,I,p,T,b,E,P,g,M,D,S,c,_,y,C,{content:k,style:O,bgImg:j,onClick:z,schema:F,isDefault:N,bottom_image:B,tipText:X,isPost:H,viewTime:$,rec:Z,swiper:U,commodityStyles:V,buttonStyle:ce,index:be,commodityGroup:te,popupBg:q,iframeIcon:re,commodityImgRatio:ne}=t,oe=Ke(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);const{sxpParameter:ve,popupDetailData:we,isPreview:ee,bffFbReport:fe,popupCurTimeRef:Se,checkCommodityIndexRef:De}=ke(),{jumpToWeb:Ce,productView:Me}=Qe(),Ne=o.useRef(null),[G,pe]=o.useState(!1),[xe,le]=o.useState(!1),[Ve,Le]=o.useState((e=we?.multiCheckIndex)!==null&&e!==void 0?e:0),He=o.useRef(),K=H?Z:we;let L=H?K?.product:(n=(i=K?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=K?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],Ge=H?(r=K?.product)===null||r===void 0?void 0:r.bindCta:(v=(d=(a=K?.video)===null||a===void 0?void 0:a.bindProduct)===null||d===void 0?void 0:d.bindCta)!==null&&v!==void 0?v:(m=(h=(u=K?.video)===null||u===void 0?void 0:u.bindProducts)===null||h===void 0?void 0:h[0])===null||m===void 0?void 0:m.bindCta;const at=H?be:we?.index;if(!H&&te?.open&&(!((f=K?.video)===null||f===void 0)&&f.bindProducts)&&((w=(x=K?.video)===null||x===void 0?void 0:x.bindProducts)===null||w===void 0?void 0:w.length)>0){De.current=Ve;const A=(I=K?.video)===null||I===void 0?void 0:I.bindProducts[Ve];L=A,Ge=A?.bindCta}const At=()=>{L?.link&&(Ce(K,L,Ge,at),H||Me(K,L,Ge,$||Ne.current,at),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{H||fe?.({eventName:"ProductView"})},[H,fe]),o.useEffect(()=>{const A=()=>{Ne.current=new Date};return A(),window.addEventListener("pageshow",A),()=>{window.removeEventListener("pageshow",A)}},[]);const W=o.useMemo(()=>{var A,Q,R,ie,se,de,J;const ae=((A=V?.price)===null||A===void 0?void 0:A.enableFormattedPrice)===void 0||((Q=V?.price)===null||Q===void 0?void 0:Q.enableFormattedPrice);return L?.currency&&L?.price?`${(se=(ie=(R=L?.currency)===null||R===void 0?void 0:R.split("-")[1])===null||ie===void 0?void 0:ie.toUpperCase())!==null&&se!==void 0?se:""}${ae?(J=(de=L?.price)===null||de===void 0?void 0:de.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&J!==void 0?J:"":L?.price}`:"$7,000"},[L?.price,L?.currency,(p=V?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),Y=(ee?375:(T=O?.width)!==null&&T!==void 0?T:window.innerWidth)-((b=q?.horizontalMargin)!==null&&b!==void 0?b:0)*2,ge=ne?Y*(ne.h/ne.w):Y,Te=({isPost:A})=>{var Q,R,ie,se;return o.createElement("div",null,o.createElement("div",{className:"pb-commondity-content-collection",style:Ee(V?.collection),hidden:!!L&&(!L?.collection||L?.collection===""),dangerouslySetInnerHTML:{__html:he((Q=L?.collection)!==null&&Q!==void 0?Q:"Tiffany Lock",V?.collection)}}),o.createElement("div",{className:"pb-commondity-content-title",style:Ee(V?.title),hidden:!!L&&!L?.title,dangerouslySetInnerHTML:{__html:he((R=L?.title)!==null&&R!==void 0?R:"Pendant in Yellow Gold with Diamonds, Medium",V?.title)}}),o.createElement("div",{className:"pb-commondity-content-price",style:Ee(V?.price),hidden:!!L&&!L?.price,dangerouslySetInnerHTML:{__html:he(W,V?.price)}}),o.createElement("div",{hidden:!!L&&!L?.taxInfo,style:Ee(V?.taxInfo),dangerouslySetInnerHTML:{__html:he((ie=L?.taxInfo)!==null&&ie!==void 0?ie:"\u7A0E\u8D39",V?.taxInfo)}}),o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(qt,{foldText:X?.foldText,unfoldText:X?.unfoldText,onClick:()=>pe(!0),isPost:A,text:(se=L?.info)!==null&&se!==void 0?se:`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:z?.info})))},re=()=>{var j,X;return o.createElement(o.Fragment,null,(N||L?.link)&&o.createElement("button",{"aria-label":(j=De?.enTitle)!==null&&j!==void 0?j:"Purchase on Website",onClick:It,className:"pb-commondity-btn",style:ce},o.createElement("span",{dangerouslySetInnerHTML:{__html:ge((X=De?.enTitle)!==null&&X!==void 0?X:"Purchase on Website",ce)}})))},_e=o.useCallback(j=>j?.lineClamp?Object.assign(Object.assign({},j),{overflow:"hidden",WebkitLineClamp:j?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):j,[]),Fe=o.useCallback(j=>{Se.current=new Date,Oe(j),Pe.current=j,we?.current&&(we.current.swiper.slideTo(0),we.current.swiper.autoplay.start())},[]),je=o.useCallback(()=>{var j,X,ee;if(!W)return o.createElement(fn,{products:(j=H?.video)===null||j===void 0?void 0:j.bindProducts,data:q,defImg:(ee=(X=de?.bottom_image)!==null&&X!==void 0?X:B)!==null&&ee!==void 0?ee:"",style:{padding:"0 19px"},onCLick:Fe,popupDetailData:se,check:Me})},[Me]),Ve=o.useMemo(()=>{const j={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return j?.[Z?.dotsAlign]},[Z?.dotsAlign]),I=((C=(E=H?.video)===null||E===void 0?void 0:E.bindProduct)===null||C===void 0?void 0:C.remark)||((k=(O=(g=H?.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=H?.product)===null||S===void 0?void 0:S.remark);return o.createElement(o.Fragment,null,o.createElement("div",Object.assign({className:be.css(Object.assign({},M))},le),o.createElement("div",{style:{position:"relative"}},L&&((u=L?.homePage)===null||u===void 0?void 0:u.length)>0&&o.createElement(At,{height:he,modules:[Gt,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:Ve},loop:!0,autoplay:{delay:Z?.delay*1e3},ref:we},o.createElement(o.Fragment,null,(A=L?.homePage)===null||A===void 0?void 0:A.map(j=>{var X;return o.createElement(vt,{key:j},o.createElement("div",{style:{overflow:"hidden",width:Y,height:he}},o.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${Z?.translateY?Z?.translateY+50:50}%`},src:(X=j??de?.bottom_image)!==null&&X!==void 0?X:B})))}))),!(!((T=L?.homePage)===null||T===void 0)&&T.length)&&o.createElement("div",{className:be.css({height:he,width:Y})},o.createElement("img",{className:be.css({objectFit:"cover",width:"100%",height:"100%"}),src:(_=de?.bottom_image)!==null&&_!==void 0?_:B,alt:"pdp image"})),I&&oe||!L&&oe&&o.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)},o.createElement("img",{src:oe,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),je(),o.createElement("div",{className:"pb-commondity-content"},Ie({isPost:W}))),re(),o.createElement(Pt,{visible:G,onClose:()=>fe(!1)},o.createElement("div",{style:{paddingBottom:"80px"}},Ie({isPost:!1})),re()),o.createElement(Pt,{visible:Ae,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},o.createElement("iframe",{src:I,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var Rl=o.memo(Ql),$l=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const es=Qe(Rl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:po,interactionRender:$l},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12},taxInfo:{color:"#000",fontSize:13,textAlign:"left",marginBottom:"10px"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var ts=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],is=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5185\u5BB9",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Group",label:"\u5185\u5BB9\u5B57\u4F53",child:[{type:"Select",name:["props","contentStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","contentStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","contentStyle","color"],initialValue:"#000"},{type:"Number",name:["props","contentStyle","fontSize"],addonAfter:"px",initialValue:14}]},{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"}]}],hn="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 ns=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:s,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return s&&s.length>0?(e=s[0])===null||e===void 0?void 0:e.url:null}},os=t=>{var{content:e,btnText:i,style:n,icon:s,isPopup:l,isExternalLink:r,onClose:a,onClick:d,submitButtonStyle:v,contentStyle:c}=t,f=Xe(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:m}=Ee(),{jumpToWeb:h}=Je(),w=typeof s=="string"?s:ns(s),y=()=>{var P,p,x;if(r){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||a?.(),d?.()};return o.createElement("div",Object.assign({className:`pb-prompt ${be.css(Object.assign({},n))}`},f),o.createElement("div",{className:"pb-prompt-icon"},o.createElement("img",{width:"100%",src:w??hn,alt:"success image"})),o.createElement("div",{className:"pb-prompt-content",style:c,dangerouslySetInnerHTML:{__html:ge(e,c)}}),o.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:v,onClick:y,dangerouslySetInnerHTML:{__html:ge(i,v)}}))};var ls=o.memo(os);const ss=Qe(ls,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:is,bindableProps:[],interactionRender:ts},defaulSetting:{props:{icon:hn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var ds=[{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 rs=t=>{var e,i,n,s,l,r,a,d,v,c,f,m,h,w,y,P,p,x,b,E,C,g,O,k,S,u,A,T,_,D,M,V,U,{style:F,isDefault:N,rec:B,viewTime:Q,isPost:W,bottom_image:ie,tipText:K,swiper:Z,commodityStyles:z,buttonStyle:ce,index:ve,commodityGroup:q,popupBg:R,iframeIcon:oe,commodityImgRatio:te}=t,le=Xe(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);o.useState(!0);const{sxpParameter:de,popupCurTimeRef:se,popupDetailData:ne,isPreview:ye,bffFbReport:Se,checkCommodityIndexRef:Pe}=Ee(),{jumpToWeb:Te,productView:Ne}=Je();o.useState(!1),o.useState(!1),o.useState(!0);const[Le,G]=o.useState(!1),fe=o.useRef(null),[Ae,pe]=o.useState(!1),[Me,Oe]=o.useState((e=ne?.multiCheckIndex)!==null&&e!==void 0?e:0),we=o.useRef(),H=W?B:ne;let L=W?H?.product:(n=(i=H?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=H?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],De=W?(r=H?.product)===null||r===void 0?void 0:r.bindCta:(v=(d=(a=H?.video)===null||a===void 0?void 0:a.bindProduct)===null||d===void 0?void 0:d.bindCta)!==null&&v!==void 0?v:(m=(f=(c=H?.video)===null||c===void 0?void 0:c.bindProducts)===null||f===void 0?void 0:f[0])===null||m===void 0?void 0:m.bindCta;const rt=W?ve:ne?.index;if(!W&&q?.open&&(!((h=H?.video)===null||h===void 0)&&h.bindProducts)&&((y=(w=H?.video)===null||w===void 0?void 0:w.bindProducts)===null||y===void 0?void 0:y.length)>0){Pe.current=Me;const I=(P=H?.video)===null||P===void 0?void 0:P.bindProducts[Me];L=I,De=I?.bindCta}const It=()=>{L?.link&&(Te(H,L,De,rt),W||Ne(H,L,De,Q||fe.current,rt),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{W||Se?.({eventName:"ProductView"})},[W,Se]),o.useEffect(()=>{const I=()=>{fe.current=new Date};return I(),window.addEventListener("pageshow",I),()=>{window.removeEventListener("pageshow",I)}},[]);const J=o.useMemo(()=>{var I,j,X,ee,ue,me,$;const ae=((I=z?.price)===null||I===void 0?void 0:I.enableFormattedPrice)===void 0||((j=z?.price)===null||j===void 0?void 0:j.enableFormattedPrice);return L?.currency&&L?.price?`${(ue=(ee=(X=L?.currency)===null||X===void 0?void 0:X.split("-")[1])===null||ee===void 0?void 0:ee.toUpperCase())!==null&&ue!==void 0?ue:""}${ae?($=(me=L?.price)===null||me===void 0?void 0:me.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:"":L?.price}`:"\xA3102,300.00"},[L?.price,L?.currency,(p=z?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),Y=(ye?375:(x=F?.width)!==null&&x!==void 0?x:window.innerWidth)-((b=R?.horizontalMargin)!==null&&b!==void 0?b:0)*2,he=te?Y*(te.h/te.w):Y,Ie=({isPost:I})=>o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(qt,{isPost:I,onClick:()=>G(!0),className:"pb-commondityDiroNew-info",style:z?.info,foldText:K?.foldText,unfoldText:K?.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`})),re=o.useCallback(I=>I?.lineClamp?Object.assign(Object.assign({},I),{overflow:"hidden",WebkitLineClamp:I?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):I,[]),_e=o.useCallback(I=>{se.current=new Date,Oe(I),Pe.current=I,we?.current&&(we.current.swiper.slideTo(0),we.current.swiper.autoplay.start())},[]),Fe=o.useCallback(()=>{var I,j,X;if(!W)return o.createElement(fn,{products:(I=H?.video)===null||I===void 0?void 0:I.bindProducts,data:q,defImg:(X=(j=de?.bottom_image)!==null&&j!==void 0?j:ie)!==null&&X!==void 0?X:"",style:{padding:"0 19px"},onCLick:_e,popupDetailData:ne,check:Me})},[Me]),je=o.useMemo(()=>{const I={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return I?.[Z?.dotsAlign]},[Z?.dotsAlign]),Ve=((C=(E=H?.video)===null||E===void 0?void 0:E.bindProduct)===null||C===void 0?void 0:C.remark)||((k=(O=(g=H?.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=H?.product)===null||S===void 0?void 0:S.remark);return o.createElement("div",{className:"pb-commondityDiroNew"},o.createElement("div",Object.assign({className:be.css(Object.assign(Object.assign({},F),{transform:"translate3d(0px, 0px, 0px)"}))},le),o.createElement("div",{style:{position:"relative"}},L&&((u=L?.homePage)===null||u===void 0?void 0:u.length)>0&&o.createElement(At,{height:he,modules:[Gt,Wt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:je},loop:!0,autoplay:{delay:Z?.delay*1e3},ref:we},(A=L?.homePage)===null||A===void 0?void 0:A.map(I=>{var j;return o.createElement(vt,{key:I},o.createElement("div",{style:{overflow:"hidden",width:Y,height:he}},o.createElement(tt,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${Z?.translateY?Z?.translateY+50:50}%`},src:(j=I??de?.bottom_image)!==null&&j!==void 0?j:ie})))})),!(!((T=L?.homePage)===null||T===void 0)&&T.length)&&o.createElement("div",{className:be.css({height:he,width:Y})},o.createElement("img",{className:be.css({objectFit:"cover",width:"100%",height:"100%"}),src:(_=de?.bottom_image)!==null&&_!==void 0?_:ie,alt:"pdp image"})),Ve&&oe||!L&&oe&&o.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)},o.createElement("img",{src:oe,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),Fe(),o.createElement("div",{className:"pb-commondityDiroNew-content"},o.createElement("div",{className:"pb-commondityDiroNew-content-top"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:re(z?.title),dangerouslySetInnerHTML:{__html:ge((D=L?.title)!==null&&D!==void 0?D:"Large Dior Toujours BagLarge",z?.title)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!L&&(!L?.collection||L?.collection===""),style:re(z?.collection),dangerouslySetInnerHTML:{__html:ge(L?.collection||"Black Macrocannage CalfskinLarge",z?.collection)}})),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.price,style:re(z?.price),dangerouslySetInnerHTML:{__html:ge(J,z?.price)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.taxInfo,style:re(z?.taxInfo),dangerouslySetInnerHTML:{__html:ge((M=L?.taxInfo)!==null&&M!==void 0?M:"\u7A0E\u8D39",z?.taxInfo)}}))),(!L||L?.link)&&o.createElement("button",{"aria-label":(V=De?.enTitle)!==null&&V!==void 0?V:"Shop now",onClick:It,className:"pb-commondityDiroNew-btn",style:ce},o.createElement("span",{dangerouslySetInnerHTML:{__html:ge((U=De?.enTitle)!==null&&U!==void 0?U:"Shop now",ce)}})),Ie({isPost:W}))),o.createElement(Pt,{visible:Le,onClose:()=>G(!1)},Ie({isPost:!1})),o.createElement(Pt,{visible:Ae,padding:0,isFullScreen:!0,onClose:()=>pe(!1)},o.createElement("iframe",{src:Ve,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var as=o.memo(rs),us=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const cs=Qe(as,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:ds,interactionRender:us},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var vs=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","commodityPicture","width"],addonAfter:"W"},{type:"Number",name:["props","commodityPicture","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","commodityPicture","borderRadius"],max:100},{type:"Number",name:["props","commodityPicture","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","commodityPicture","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{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 gn(t){const e=o.useRef(null),[i,n]=o.useState(!1);return o.useEffect(()=>{e.current=new IntersectionObserver(([s])=>{n(s.isIntersecting)})},[]),o.useEffect(()=>{var s;return t?.current&&((s=e?.current)===null||s===void 0||s.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const ps=({src:t,rec:e,item:i,index:n,style:s,translateY:l,imgStyle:r,enableEventReport:a=!0})=>{const d=o.useRef(null),v=gn(d),{ctaEvent:c}=Ee();return o.useEffect(()=>{v&&t&&d?.current&&a&&c?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[v,t,d,e,c,i,n,a]),o.useMemo(()=>t?.includes(".avif")?t:`${t}?imrquality/rquality/20`,[t]),o.createElement("div",{className:be.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},r))},o.createElement("div",{ref:d,hidden:!t,className:be.css({width:"100%",height:"100%"})},o.createElement(tt,{className:be.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?l+50:50}%`},s)),src:t})))};var gt=o.memo(ps);const ms=t=>{var e,i,{style:n,isDefault:s,rec:l,viewTime:r,isPost:a,bottom_image:d,commodityStyles:v,buttonStyle:c,translateY:f=0,commodityPicture:m,isExternalLink:h,onClick:w}=t,y=Xe(t,["style","isDefault","rec","viewTime","isPost","bottom_image","commodityStyles","buttonStyle","translateY","commodityPicture","isExternalLink","onClick"]);const{sxpParameter:P,popupDetailData:p,setPopupDetailData:x,ctaEvent:b}=Ee(),{jumpToWeb:E}=Je(),{popup:C}=at(),g=a?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=o.useCallback(A=>{var T,_,D,M,V;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:""}${(V=(M=A?.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&V!==void 0?V:""}`:"$7,000"},[]),u=Ue.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 o.createElement("div",{className:be.css(Object.assign(Object.assign({},n),{display:"flex",flexDirection:"column",gap:"10px",padding:"0 20px",marginTop:"50px",boxSizing:"border-box"}))},O?.map((A,T)=>{var _,D,M,V,U,F,N,B,Q,W;return o.createElement(o.Fragment,null,g&&!A?.bindCta?null:o.createElement("div",Object.assign({key:T},y,{className:be.css({display:"flex"}),onClick:()=>u(A,T)}),o.createElement(gt,{src:(V=(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&&V!==void 0?V:d,rec:g,item:A,index:T,translateY:f,imgStyle:m,enableEventReport:!1}),o.createElement("div",{style:{width:`calc(100% - ${(U=m?.width)!==null&&U!==void 0?U:0}px - ${(F=m?.marginRight)!==null&&F!==void 0?F:0}px)`,display:"flex",flexDirection:"column",justifyContent:"space-between"}},o.createElement("div",null,o.createElement("div",{className:"one-line-ellipsis",style:v?.title,hidden:!!A&&!A?.title,dangerouslySetInnerHTML:{__html:ge((N=A?.title)!==null&&N!==void 0?N:"Pendant in Yellow Gold with Diamonds, Medium",v?.title)}}),o.createElement("div",{className:"two-line-ellipsis",style:v?.collection,hidden:!!A&&(!A?.collection||A?.collection===""),dangerouslySetInnerHTML:{__html:ge((B=A?.collection)!==null&&B!==void 0?B:"Tiffany Lock",v?.collection)}})),o.createElement("div",{className:be.css({display:"flex",alignItems:"flex-end",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{style:v?.price,hidden:!!A&&!A?.price,dangerouslySetInnerHTML:{__html:ge(S(A),v?.price)}})),o.createElement("div",{className:"one-line-ellipsis",style:Object.assign(Object.assign({},c),{padding:"0 15px"}),dangerouslySetInnerHTML:{__html:ge((W=(Q=A?.bindCta)===null||Q===void 0?void 0:Q.enTitle)!==null&&W!==void 0?W:"Shop Now",c)}})))))}))};var fs=o.memo(ms),hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=Qe(fs,{displayName:"\u5546\u54C1\u5217\u8868",icon:"",category:"popup",type:"CommodityList",related:{settingRender:vs,interactionRender:hs},defaulSetting:{props:{commodityPicture:{width:100,height:100,marginRight:10},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:14},title:{color:"#000",fontSize:14},collection:{color:"#757575",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:30,width:100,textAlign:"center",color:"#fff",lineHeight:2.5}},style:{}},w:100,h:40,sort:1});var bs=[{title:"\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]}]}];const ys=t=>{var e,i,{content:n,btnText:s,style:l,icon:r,isPopup:a,isExternalLink:d,onClose:v,onClick:c,submitButtonStyle:f,contentStyle:m}=t,h=Xe(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:w}=Ee(),y=(i=(e=w?.video)===null||e===void 0?void 0:e.bindCta)===null||i===void 0?void 0:i.remark;return o.createElement("div",Object.assign({className:`${be.css(Object.assign({},l))}`},h),y&&o.createElement("iframe",{src:y,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}}))};var ws=o.memo(ys);const Ss=Qe(ws,{displayName:"Iframe\u5F39\u7A97",icon:"",category:"popup",type:"Iframe",related:{settingRender:bs,bindableProps:[]},defaulSetting:{props:{},style:{}},w:100,h:40,sort:3});var dt=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]}]}],xs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=t=>{var{rec:e,children:i,className:n,onClick:s,style:l,isExternalLink:r=!1,index:a,jumpLink:d}=t;Xe(t,["rec","children","className","onClick","style","isExternalLink","index","jumpLink"]);const v=o.useRef(null),{popup:c}=at(),{setPopupDetailData:f,ctaEvent:m}=Ee(),{jumpToWeb:h}=Je(),w=Ue.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,a),f?.(Object.assign(Object.assign({},e),{index:a})),r){if(d||!((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,a),window.location.href=window.getJointUtmLink(d||((g=(C=e?.video)===null||C===void 0?void 0:C.bindProduct)===null||g===void 0?void 0:g.link)||"")}}else s?.()},c?.duration);return o.createElement("div",{ref:v,className:n,style:l,onClick:w},i)};var Bt=o.memo(Ts),Es={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const As=t=>{var e,i,n,s,l,r,a,d,v,c,f,{content:m,style:h,bgImg:w,recData:y,bottom_image:P,ctaTempStyles:p,isExternalLink:x,translateY:b=0,index:E}=t,C=Xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ee(),O=(e=y?.video)===null||e===void 0?void 0:e.bindProduct,k=(l=(s=(i=O?.cover)!==null&&i!==void 0?i:(n=O?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:P;return o.createElement(Bt,Object.assign({isExternalLink:x,rec:y,className:be.css(Object.assign({},h)),style:{display:"flex"},index:E},C),o.createElement(gt,{src:k,rec:y,item:(a=(r=y?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:y?.video,index:E,translateY:b,imgStyle:p?.img}),o.createElement("div",{className:be.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Es["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:ge((d=O?.title)!==null&&d!==void 0?d:"Product Name",p?.title)}}),o.createElement("div",{className:be.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=(c=O?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var Is=o.memo(As);const Cs=Qe(Is,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:xs,bindableProps:[],settingRender:dt},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var ks=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const _s=t=>{var e,i,n,s,l,r,{content:a,style:d,bgImg:v,recData:c,bottom_image:f,ctaTempStyles:m,isExternalLink:h,index:w}=t,y=Xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:P}=Ee(),p=(e=c?.video)===null||e===void 0?void 0:e.bindCta,x=(n=(i=p?.icon)!==null&&i!==void 0?i:P?.bottom_image)!==null&&n!==void 0?n:f;return o.createElement(Bt,Object.assign({isExternalLink:h,rec:c,className:be.css(Object.assign({alignItems:"center"},d)),style:{display:"flex"},index:w},y),o.createElement(gt,{src:x,rec:c,item:(l=(s=c?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&l!==void 0?l:c?.video,index:w,imgStyle:m?.img}),o.createElement("div",{className:be.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},m?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((r=p?.enTitle)!==null&&r!==void 0?r:"Product Name",m?.ctaTitle)}}))};var Ps=o.memo(_s);const Ds=Qe(Ps,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ks,settingRender:dt?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Ms=[{title:"\u81EA\u5B9A\u4E49\u6807\u9898",child:[{type:"Switch",label:"\u81EA\u5B9A\u4E49\u6807\u9898\u5F00\u5173",name:["props","customTitle","display"]},{type:"Text",label:"\u6807\u9898\u6587\u6848",name:["props","customTitle","text"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","customTitle","style","width"],addonAfter:"W"},{type:"Number",name:["props","customTitle","style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","customTitle","style","borderRadius"],max:100},{type:"Number",name:["props","customTitle","style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","customTitle","style","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","customTitle","style","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","customTitle","style","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","customTitle","style","color"]},{type:"Number",addonAfter:"px",name:["props","customTitle","style","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","customTitle","style"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","customTitle","style"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","customTitle","style"]},{label:"\u4E0A\u8FB9\u8DDD",type:"Number",name:["props","customTitle","style","marginTop"],addonAfter:"px"}]}],bn={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};const Os=t=>{var e,i,n,s,l,r,a,d,v,{content:c,style:f,bgImg:m,recData:h,bottom_image:w,ctaTempStyles:y,index:P,customTitle:p}=t,x=Xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index","customTitle"]);const{sxpParameter:b,bffEventReport:E}=Ee();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=(s=(n=C?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&s!==void 0?s:w;return o.createElement(Bt,Object.assign({index:P,rec:h,className:be.css(Object.assign({alignItems:"center"},f)),style:{display:"flex"}},x,{jumpLink:(l=C?.link)!==null&&l!==void 0?l:""}),o.createElement(gt,{src:g,rec:h,item:(a=(r=h?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:h?.video,index:P,imgStyle:y?.img}),o.createElement("div",{className:be.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{className:bn["tow-line-ellipsis"],style:y?.ctaTitle,dangerouslySetInnerHTML:{__html:ge((d=C?.enTitle)!==null&&d!==void 0?d:"Product Name",y?.ctaTitle)}}),p?.display&&o.createElement("div",{style:Object.assign(Object.assign({},p?.style),{lineHeight:((v=p?.style)===null||v===void 0?void 0:v.height)+"px"}),className:bn["one-line-ellipsis"],dangerouslySetInnerHTML:{__html:ge(p?.text,p?.style)}}))))};var Ls=o.memo(Os),Bs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],hi;const Ns=Qe(Ls,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:(hi=dt?.filter(t=>t.type!=="commodityTitle"))===null||hi===void 0?void 0:hi.concat(Ms),bindableProps:[],interactionRender:Bs},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 Fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],js={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Vs=t=>{var e,i,n,s,l,r,a,d,v,c,f,{content:m,style:h,bgImg:w,recData:y,bottom_image:P,ctaTempStyles:p,isExternalLink:x,translateY:b=0,index:E}=t,C=Xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=Ee(),O=(e=y?.video)===null||e===void 0?void 0:e.bindProduct,k=(l=(s=(i=O?.cover)!==null&&i!==void 0?i:(n=O?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:P;return o.createElement(Bt,Object.assign({isExternalLink:x,rec:y,className:be.css(Object.assign({},h)),style:{display:"flex"},index:E},C),o.createElement(gt,{src:k,rec:y,item:(a=(r=y?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:y?.video,index:E,translateY:b,imgStyle:p?.img}),o.createElement("div",{className:be.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:js["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:ge((d=O?.title)!==null&&d!==void 0?d:"Product Name",p?.title)}}),o.createElement("div",{className:be.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=(c=O?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&f!==void 0?f:"Shop Now",p?.ctaTitle)}})))};var zs=o.memo(Vs);const Hs=Qe(zs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fs,settingRender:dt,bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#000",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:80,height:20,backgroundColor:"rgba(0,0,0,1)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"#fff",marginBottom:8}},w:100,h:40,sort:2});var Us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Gs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ws=t=>{var e,i,n,s,l,r,a,d,v,c,{content:f,style:m,bgImg:h,recData:w,bottom_image:y,ctaTempStyles:P,isExternalLink:p,translateY:x=0,index:b}=t,E=Xe(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:C}=Ee(),g=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,O=(l=(s=(i=g?.cover)!==null&&i!==void 0?i:(n=g?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:C?.bottom_image)!==null&&l!==void 0?l:y;return o.createElement(Bt,Object.assign({isExternalLink:p,rec:w,className:be.css(Object.assign({},m)),style:{display:"flex"},index:b},E),o.createElement(gt,{src:O,rec:w,item:(a=(r=w?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:w?.video,index:b,translateY:x,imgStyle:P?.img}),o.createElement("div",{className:be.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Gs["tow-line-ellipsis"],style:P?.title,dangerouslySetInnerHTML:{__html:ge((d=g?.title)!==null&&d!==void 0?d:"Product Name",P?.title)}}),o.createElement("div",{className:be.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},P?.ctaTitle)),dangerouslySetInnerHTML:{__html:ge((c=(v=g?.bindCta)===null||v===void 0?void 0:v.enTitle)!==null&&c!==void 0?c:"Shop Now",P?.ctaTitle)}})))};var Ys=o.memo(Ws);const Xs=Qe(Ys,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Us,bindableProps:[],settingRender:dt},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 qs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Js={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ks=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:c,index:f,translateY:m=0}=t,h=Xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:y,sxpParameter:P}=Ee(),{popup:p}=at(),{jumpToWeb:x}=Je(),[b,E]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=Ue.throttle((g,O)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),y?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),c?g?.link&&(x(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!r},b?.map((g,O)=>{var k,S,u,A,T,_,D,M;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:O,className:be.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),o.createElement(gt,{src:(A=(u=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:P?.bottom_image)!==null&&A!==void 0?A:d,rec:r,item:g,index:O,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:be.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Js["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),o.createElement("div",{className:be.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 Zs=o.memo(Ks);const Qs=Qe(Zs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:qs,bindableProps:[],settingRender:dt},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 Rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],$s={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const ed=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:c,index:f,translateY:m=0}=t,h=Xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:w}=Ee(),{ctaEvent:y,setPopupDetailData:P}=Ee(),{popup:p}=at(),[x,b]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Je(),C=Ue.throttle((g,O)=>{y?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),P?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),c?g?.link&&(E(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!r},x?.map((g,O)=>{var k,S,u,A,T,_,D,M;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:O,className:be.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),o.createElement(gt,{src:(A=(u=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:w?.bottom_image)!==null&&A!==void 0?A:d,rec:r,item:g,index:O,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:be.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:$s["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),o.createElement("div",{className:be.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 td=o.memo(ed);const id=Qe(td,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Rs,settingRender:dt,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 nd=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],od={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const ld=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:c,index:f,translateY:m=0}=t,h=Xe(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:w,setPopupDetailData:y,sxpParameter:P}=Ee(),{popup:p}=at(),{jumpToWeb:x}=Je(),[b,E]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),C=Ue.throttle((g,O)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,f),y?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:f,multiCheckIndex:O})),c?g?.link&&(x(r,g,g.bindCta,f),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Lt,{isPadding:!!r},b?.map((g,O)=>{var k,S,u,A,T,_,D;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(vt,Object.assign({key:O,className:be.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},h,{onClick:()=>C(g,O)}),o.createElement(gt,{src:(A=(u=(k=g?.cover)!==null&&k!==void 0?k:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&u!==void 0?u:P?.bottom_image)!==null&&A!==void 0?A:d,rec:r,item:g,index:O,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:be.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},o.createElement("div",{className:od["tow-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:ge((T=g?.title)!==null&&T!==void 0?T:"Product Name",v?.title)}}),o.createElement("div",{className:be.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 sd=o.memo(ld);const dd=Qe(sd,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:nd,bindableProps:[],settingRender:dt},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 rd=[{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 ad=({icon:t,styles:e,textStyle:i,onClose:n})=>{var s;const{waterFallData:l,setOpenHashtag:r}=Ee();return o.createElement("div",{className:"clc-sxp-nav",style:e},o.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),o.createElement("div",{className:"clc-sxp-nav-title",style:Object.assign(Object.assign({},i),{paddingLeft:i?.textAlign==="left"?"35px":0}),dangerouslySetInnerHTML:{__html:ge(`#${(s=l?.hashTag)!==null&&s!==void 0?s:"\u6807\u9898"}`,i)}}))};var yn=o.memo(ad),ud=null,cd="3d989325-e7d6-4a74-8a97-98febdf5b567",vd=null,pd=null,md={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"},fd=[{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}],hd="Handbags",wn={productUserId:ud,requestId:cd,channel:vd,rtc:pd,tag:md,recList:fd,hashTag:hd};const gd=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:s,index:l,showBorder:r,list:a,reportTagsView:d,textStyles:v,space:c}=t,{swiperRef:f,setRtcList:m,setOpenHashtag:h,sxpParameter:w}=Ee(),[y,P]=o.useState(!1);o.useState(!1),o.useState({height:1,width:1});const p=o.useRef(null),x=o.useRef(null);o.useRef(null),o.useRef(null);const[b,E]=o.useState(""),C=o.useMemo(()=>{var T,_,D,M,V,U,F,N,B,Q;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?(U=(V=e?.video)===null||V===void 0?void 0:V.imgUrls)===null||U===void 0?void 0:U[0]:!((N=(F=e?.product)===null||F===void 0?void 0:F.homePage)===null||N===void 0)&&N.length?(Q=(B=e?.product)===null||B===void 0?void 0:B.homePage)===null||Q===void 0?void 0:Q[0]:w?.bottom_image||""},[e,w?.bottom_image]),g=o.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=o.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]);o.useMemo(()=>O===void 0?!1:O<=r,[O,r]);const k=o.useMemo(()=>{var T,_,D,M,V,U,F,N,B;return!((T=e?.product)===null||T===void 0)&&T.currency&&(!((_=e?.product)===null||_===void 0)&&_.price)?`${(U=(V=(M=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||M===void 0?void 0:M.split("-")[1])===null||V===void 0?void 0:V.toUpperCase())!==null&&U!==void 0?U:""}${(B=(N=(F=e?.product)===null||F===void 0?void 0:F.price)===null||N===void 0?void 0:N.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&B!==void 0?B:""}`:null},[e]);o.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=o.useRef(),u=o.useCallback(T=>{setTimeout(()=>{var _;const D=(_=S?.current)===null||_===void 0?void 0:_.offsetHeight;n(D+56+c,l)},0)},[c,n,l,s,S]),A=()=>{d(),m?.(a),setTimeout(()=>{var T;(T=f?.current)===null||T===void 0||T.swiper.slideTo(l,0,!1),h?.(!1)},0)};return o.createElement("div",{ref:x,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:A},o.createElement("div",{className:"waterFallList-content-listItem-picture",ref:S},o.createElement(tt,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:u,ref:p})),o.createElement("div",{className:"waterFallList-content-listItem-info"},o.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)}}),o.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!k,style:v.price,dangerouslySetInnerHTML:{__html:ge(k,v?.price)}})))};function bd(t){var e,i,n,s,l,r,a,d,v,c,f,m,h,w,y,P,p,x,b,E,C,g,{reportTagsView:O,showBanner:k}=t,S=Xe(t,["reportTagsView","showBanner"]);const{waterFallData:u,getRecommendVideos:A,hashTagSize:T,loadingImage:_,isOpenHashTag:D,cacheActiveIndex:M}=Ee(),{jumpToWeb:V}=Je(),U=o.useRef(null),[F,N]=o.useState(0),[B,Q]=o.useState(),W=o.useRef(null),[ie,K]=o.useState([]),Z=o.useRef(),z=[170,230,300],[ce,ve]=o.useState(!1),[q,R]=o.useState([]),oe=o.useRef(),te=o.useCallback((G,fe)=>Math.floor(Math.random()*(fe-G+1))+G,[]),le=o.useRef([]),[de,se]=o.useState({width:0}),ne=o.useMemo(()=>{const G=de.width||0;return G>=1200?6:G>=768&&G<=1199?4:2},[de]),ye=o.useMemo(()=>de.width/ne-2,[ne,de]),Se=o.useCallback(()=>{var G;const fe=(G=Z.current)!==null&&G!==void 0?G:[],Ae=[];for(let pe=0;pe<q?.length;pe++){const Me=Math.floor(pe/ne),Oe=pe%ne+1;let we=0,H=9999999999;if(Me===0)Ae[pe]=pe;else{for(let L=0;L<Ae.length;L++)le.current[Ae[L]].top+le.current[Ae[L]].height<H&&(we=L,H=le.current[Ae[L]].top+le.current[Ae[L]].height);Ae[we]=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+ye+4,le.current[pe].top=0):(le.current[pe].left=le.current[we].left,le.current[pe].top=H),le.current[pe].height=le.current[pe].height||z[te(0,2)],fe[pe]={transform:`translate(${le.current[pe].left}px,${le.current[pe].top}px)`,width:`${ye}px`,height:le.current[pe].height}}return K([...fe]),[...fe]},[ye,ne,z,te,q]),Pe=o.useCallback((G,fe)=>{le.current[fe]===void 0&&(le.current[fe]={}),le.current[fe].height=G,Z.current=Se()},[Se]);o.useEffect(()=>{Z.current=Se()},[ye,ne,q]),o.useEffect(()=>{var G,fe,Ae,pe,Me,Oe;if(ve(!0),u&&A?.(Object.assign(Object.assign({hashTag:u?.hashTag,defaultSize:T,maxSize:T},((fe=(G=u?.rec)===null||G===void 0?void 0:G.product)===null||fe===void 0?void 0:fe.itemId)&&{productFilter:(pe=(Ae=u?.rec)===null||Ae===void 0?void 0:Ae.product)===null||pe===void 0?void 0:pe.itemId}),u?.itemId&&{contentFilter:u?.itemId})).then(we=>{var H,L;Q(we),R((L=(H=we?.recList)===null||H===void 0?void 0:H.filter(De=>De?.video!==null||De?.product!==null))!==null&&L!==void 0?L:[]),ve(!1)}),D){const we=wn;Q(we),R((Oe=(Me=we?.recList)===null||Me===void 0?void 0:Me.filter(H=>H?.video!==null||H?.product!==null))!==null&&Oe!==void 0?Oe:[]),ve(!1)}},[u,A,T,D]);const Te=o.useCallback(()=>{W.current!==null&&se({width:W.current.getBoundingClientRect().width})},[]);o.useEffect(()=>{if(W.current===null)return;const G=new ResizeObserver(fe=>{Te()});return G.observe(W.current),()=>{G.disconnect()}},[Te]),o.useCallback(()=>{var G,fe,Ae,pe;ve(!0),u&&A?.(Object.assign(Object.assign({hashTag:u?.hashTag},((fe=(G=u?.rec)===null||G===void 0?void 0:G.product)===null||fe===void 0?void 0:fe.itemId)&&{productFilter:(pe=(Ae=u?.rec)===null||Ae===void 0?void 0:Ae.product)===null||pe===void 0?void 0:pe.itemId}),u?.itemId&&{contentFilter:u?.itemId})).then(Me=>{var Oe,we;R(q?.concat((we=(Oe=Me?.recList)===null||Oe===void 0?void 0:Oe.filter(H=>!H?.video))!==null&&we!==void 0?we:[])),ve(!1)})},[u,A,q]);const Ne=o.useCallback(()=>{N(U.current.scrollTop)},[]);o.useEffect(()=>{var G;return(G=U?.current)===null||G===void 0||G.addEventListener("scroll",Ne),()=>{var fe;(fe=U?.current)===null||fe===void 0||fe.removeEventListener("scroll",Ne)}},[Ne,U]);const Le=()=>{var G,fe,Ae,pe,Me;if(!((G=B?.tag)===null||G===void 0)&&G.link){O();const Oe=u?.rec;V(Oe,(fe=Oe?.video)===null||fe===void 0?void 0:fe.bindProduct,(Ae=Oe?.video)===null||Ae===void 0?void 0:Ae.bindCta,M,(pe=Oe?.video)===null||pe===void 0?void 0:pe.traceInfo),window.location.href=window.getJointUtmLink((Me=B?.tag)===null||Me===void 0?void 0:Me.link)}};return o.createElement(o.Fragment,null,ce?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:_,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"waterFallList",ref:W},o.createElement("div",{className:"waterFallList-scroll",ref:U},k&&((e=B?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Le},o.createElement(tt,{className:be.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=B?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"waterFallList-info",style:(n=S?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:ge((s=B?.tag)===null||s===void 0?void 0:s.info,(l=S?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=B?.tag)===null||r===void 0)&&r.link),className:"waterFallList-collection",style:Object.assign({},(a=S?.textStyles)===null||a===void 0?void 0:a.hashTagLink),onClick:Le,dangerouslySetInnerHTML:{__html:ge(((d=B?.tag)===null||d===void 0?void 0:d.linkTitle)||"Shop the collection",(v=S?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"waterFallList-content"},q?.map((G,fe)=>{var Ae;return o.createElement(gd,Object.assign({key:fe,index:fe,rec:G,list:q,showBorder:F+((Ae=U?.current)===null||Ae===void 0?void 0:Ae.clientHeight),style:ie[fe],sizeChange:Pe,unitWidth:ye,reportTagsView:O},S))}),o.createElement("div",{hidden:!(!((c=B?.tag)===null||c===void 0)&&c.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=B?.tag)===null||P===void 0)&&P.link?((p=oe?.current)===null||p===void 0?void 0:p.offsetHeight)||((x=S?.buttonBgStyle)===null||x===void 0?void 0:x.height)||"100px":0}}))),o.createElement("div",{className:"waterFallList-bottom",hidden:!(!((b=B?.tag)===null||b===void 0)&&b.link),style:S?.buttonBgStyle}),o.createElement("div",{ref:oe,hidden:!(!((E=B?.tag)===null||E===void 0)&&E.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},S?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((C=B?.tag)===null||C===void 0?void 0:C.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:S?.buttonStyle,onClick:Le,dangerouslySetInnerHTML:{__html:ge(((g=B?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection",S?.buttonStyle)}}))))}var yd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const wd=t=>{const{rec:e,index:i,list:n,reportTagsView:s,textStyles:l,space:r}=t,{swiperRef:a,setRtcList:d,setOpenHashtag:v,sxpParameter:c}=Ee(),[f,m]=o.useState(!1),h=o.useRef(null),w=o.useRef(null),y=o.useRef(null),P=o.useRef(null),[p,x]=o.useState(""),b=o.useMemo(()=>{var k,S,u,A,T,_,D,M,V,U;return!((k=e?.video)===null||k===void 0)&&k.cover?(S=e?.video)===null||S===void 0?void 0:S.cover:!((A=(u=e?.video)===null||u===void 0?void 0:u.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?(U=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||U===void 0?void 0:U[0]:c?.bottom_image||""},[e,c?.bottom_image]),E=o.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=o.useMemo(()=>{var k,S,u,A,T,_,D,M,V;return!((k=e?.product)===null||k===void 0)&&k.currency&&(!((S=e?.product)===null||S===void 0)&&S.price)?`${(_=(T=(A=(u=e?.product)===null||u===void 0?void 0:u.currency)===null||A===void 0?void 0:A.split("-")[1])===null||T===void 0?void 0:T.toUpperCase())!==null&&_!==void 0?_:""}${(V=(M=(D=e?.product)===null||D===void 0?void 0:D.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&V!==void 0?V:""}`:null},[e]);o.useEffect(()=>{const k=new IntersectionObserver(S=>{S.forEach(u=>{if(u.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,u)=>{const A=k/S;return u/A};o.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 u=S.getContext("2d"),A=window?.innerWidth/2,T=g(k.videoWidth,k.videoHeight,A);S.height=T,S.width=A,u?.drawImage(k,0,0,S.width,S.height),x(S.toDataURL()),k.remove(),S.remove()})},[b,f]);const O=()=>{s(),d?.(n),setTimeout(()=>{var k;(k=a?.current)===null||k===void 0||k.swiper.slideTo(i,0,!1),v?.(!1)},0)};return o.createElement("div",{ref:w,className:"list-content-listItem",key:i,onClick:O,style:{marginBottom:r}},o.createElement("div",{className:"list-content-listItem-picture"},f&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:y,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),o.createElement("canvas",{ref:P})),o.createElement(tt,{loading:"lazy",className:"list-content-listItem-picture-img",ref:h})),o.createElement("div",{className:"list-content-listItem-info"},o.createElement("div",{className:`list-content-listItem-info-title ${C?"list-content-listItem-info-nowrap":""}`,style:l?.title,dangerouslySetInnerHTML:{__html:ge(E,l?.title)}}),o.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!C,dangerouslySetInnerHTML:{__html:ge(C,l?.price)}})))};function Sd(t){var e,i,n,s,l,r,a,d,v,c,f,m,h,w,y,P,p,{reportTagsView:x,showBanner:b}=t,E=Xe(t,["reportTagsView","showBanner"]);const{waterFallData:C,getRecommendVideos:g,hashTagSize:O,loadingImage:k,isOpenHashTag:S,cacheActiveIndex:u}=Ee(),{jumpToWeb:A}=Je(),[T,_]=o.useState(),[D,M]=o.useState(),[V,U]=o.useState(!1),F=o.useRef(null),[N,B]=o.useState(!1);o.useCallback(()=>{var W,ie,K,Z;N||(B(!0),C&&g?.(Object.assign(Object.assign({hashTag:C?.hashTag},((ie=(W=C?.rec)===null||W===void 0?void 0:W.product)===null||ie===void 0?void 0:ie.itemId)&&{productFilter:(Z=(K=C?.rec)===null||K===void 0?void 0:K.product)===null||Z===void 0?void 0:Z.itemId}),C?.itemId&&{contentFilter:C?.itemId})).then(z=>{var ce;_(T?.concat((ce=z?.recList)!==null&&ce!==void 0?ce:[])),B(!1)}))},[C,g,T,N]),o.useEffect(()=>{var W,ie,K,Z,z,ce;if(U(!0),C&&g?.(Object.assign(Object.assign(Object.assign({hashTag:C?.hashTag},((ie=(W=C?.rec)===null||W===void 0?void 0:W.product)===null||ie===void 0?void 0:ie.itemId)&&{productFilter:(Z=(K=C?.rec)===null||K===void 0?void 0:K.product)===null||Z===void 0?void 0:Z.itemId}),C?.itemId&&{contentFilter:C?.itemId}),{defaultSize:O,maxSize:O})).then(ve=>{var q,R;M(ve),_((R=(q=ve?.recList)===null||q===void 0?void 0:q.filter(oe=>oe?.video!==null||oe?.product!==null))!==null&&R!==void 0?R:[]),U(!1)}),S){const ve=wn;M(ve),_((ce=(z=ve?.recList)===null||z===void 0?void 0:z.filter(q=>q?.video!==null||q?.product!==null))!==null&&ce!==void 0?ce:[]),U(!1)}},[C,g,O,S]);const Q=()=>{var W,ie,K,Z,z;if(!((W=D?.tag)===null||W===void 0)&&W.link){x();const ce=C?.rec;A(ce,(ie=ce?.video)===null||ie===void 0?void 0:ie.bindProduct,(K=ce?.video)===null||K===void 0?void 0:K.bindCta,u,(Z=ce?.video)===null||Z===void 0?void 0:Z.traceInfo),window.location.href=window.getJointUtmLink((z=D?.tag)===null||z===void 0?void 0:z.link)}};return o.createElement(o.Fragment,null,V?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:k,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"list"},o.createElement("div",{className:"list-scroll",ref:F},b&&((e=D?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Q},o.createElement(tt,{className:be.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=D?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"list-info",style:(n=E?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:ge((s=D?.tag)===null||s===void 0?void 0:s.info,(l=E?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=D?.tag)===null||r===void 0)&&r.link),className:"list-collection",onClick:Q,style:Object.assign(Object.assign({},(a=E?.textStyles)===null||a===void 0?void 0:a.hashTagLink),{marginBottom:E?.space}),dangerouslySetInnerHTML:{__html:ge(((d=D?.tag)===null||d===void 0?void 0:d.linkTitle)||"Shop the collection",(v=E?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"list-content"},T?.map((W,ie)=>o.createElement(wd,Object.assign({key:ie,index:ie,rec:W,list:T,reportTagsView:x},E)))),o.createElement("div",{hidden:!N,style:{textAlign:"center"}},"loading..."),o.createElement("div",{hidden:!(!((c=D?.tag)===null||c===void 0)&&c.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}})),o.createElement("div",{className:"list-bottom",hidden:!(!((w=D?.tag)===null||w===void 0)&&w.link),style:E?.buttonBgStyle}),o.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"})},o.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:Q,dangerouslySetInnerHTML:{__html:ge(((p=D?.tag)===null||p===void 0?void 0:p.linkTitle)||"Shop the collection",E?.buttonStyle)}}))))}const xd=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:s,swiperRef:l,setWaterFallData:r,cacheRtcList:a,setRtcList:d,cacheActiveIndex:v,rtcList:c,setCacheRtcList:f,setIsFromHashtag:m,isFromHashtag:h,bffEventReport:w,themeTag:y,selectTag:P}=Ee(),{backMainFeed:p}=Je();o.useRef(null);const x=o.useRef(null),[b,E]=o.useState();o.useEffect(()=>{const S=document.getElementById("sxp-render"),u=document.getElementById("water-fall");u?x.current=u:(x.current=document.createElement("div"),x.current.setAttribute("id","water-fall"),S?.appendChild(x.current))},[]);const C=()=>{const S=Ue.isEqual(c,a);!S&&a&&a?.length&&d?.(a),p("branch",P,void 0,i?.hashTag),k(),r?.(void 0),m?.(!1),setTimeout(()=>{var u,A;S||(A=(u=l?.current)===null||u===void 0?void 0:u.swiper)===null||A===void 0||A.slideTo(v,0,!1),n?.(!1)},0)},[g,O]=o.useState();o.useEffect(()=>{i&&O(i)},[i]);const k=o.useCallback(()=>{var S,u,A,T,_,D;const M=g?.rec;if(!M)return;let V="";h?V="hashTagPage":!((S=M?.video)===null||S===void 0)&&S.url?V="videoPage":!((A=(u=M?.video)===null||u===void 0?void 0:u.imgUrls)===null||A===void 0)&&A.length&&(V="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:V,fromKPage:location?.href,timeOnSite:Math.floor((new Date-b)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[g,w,b,h,v]);return o.useEffect(()=>{s&&E(new Date)},[s]),o.useEffect(()=>{const S=()=>{E(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),x.current?_i.createPortal(o.createElement("div",{className:"waterfall",style:{display:s?"block":"none"}},o.createElement(yn,{icon:yd,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:C}),t?.openFixedSize===!0||t?.openFixedSize===void 0?o.createElement(Sd,Object.assign({reportTagsView:k},t)):o.createElement(bd,Object.assign({reportTagsView:k},t))),x.current):null};var Sn=o.memo(xd);const Td=t=>o.createElement(Sn,Object.assign({},t));var Ed=o.memo(Td);const Ad=Qe(Ed,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:rd,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 Id=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const xn=t=>o.createElement(xn,Object.assign({},t));var Cd=o.memo(xn);const kd=Qe(Cd,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Id},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var _d=[{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"]}]}],Tn={"animated-button":"index-module_animated-button__lqTbg",gradientCover:"index-module_gradientCover__5iUag","one-line-ellipsis":"index-module_one-line-ellipsis__HutE0","two-line-ellipsis":"index-module_two-line-ellipsis__c8gRJ"};const Pd=t=>{var e,i,n,s,l,r,a,d,v,c,{style:f,recData:m,ctaTempStyles:h,index:w,event:y,onClick:P,isExternalLink:p=!1}=t,x=Xe(t,["style","recData","ctaTempStyles","index","event","onClick","isExternalLink"]);const{ctaEvent:b,setPopupDetailData:E}=Ee(),{jumpToWeb:C}=Je(),[g,O]=o.useState(!1),k=o.useRef(null),S=gn(k),u=((n=(i=(e=m?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=m?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=m?.video)===null||r===void 0?void 0:r.bindCta),A=((d=(a=m?.video)===null||a===void 0?void 0:a.bindProducts)===null||d===void 0?void 0:d[0])||((v=m?.video)===null||v===void 0?void 0:v.bindProduct),T=()=>{var V,U,F,N;const B=((U=(V=m?.video)===null||V===void 0?void 0:V.bindProducts)===null||U===void 0?void 0:U[0])||((F=m?.video)===null||F===void 0?void 0:F.bindProduct)||m?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},m,B,w),E?.(Object.assign(Object.assign({},m),{index:w})),p){const Q=A?.link||((N=B?.bindCta)===null||N===void 0?void 0:N.link);Q&&(C(m,A,u,w),window.location.href=window.getJointUtmLink(Q))}else P?.()},_=u?.enTitle||"\u67E5\u770B\u8BE6\u60C5",D=o.useMemo(()=>{var V,U;const F=y?.animation;if(F){const{delay:N,duration:B,backgroundColor:Q}=F;return{":after":{animationDelay:`${(V=N/1e3)!==null&&V!==void 0?V:0}s`,animationDuration:`${(U=B/1e3)!==null&&U!==void 0?U:0}s`,backgroundColor:`${Q??"transparent"}`}}}},[y?.animation]);o.useEffect(()=>{var V,U,F;S&&k?.current&&b?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},m,((U=(V=m?.video)===null||V===void 0?void 0:V.bindProducts)===null||U===void 0?void 0:U[0])||((F=m?.video)===null||F===void 0?void 0:F.bindProduct)||m?.video,w)},[S]),o.useEffect(()=>{O(!!S)},[S]);const M=o.useMemo(()=>g?Tn["animated-button"]:null,[g]);return o.createElement("div",Object.assign({ref:k,style:Object.assign(Object.assign(Object.assign({},f),h?.ctaTitle),{lineHeight:`${(c=f?.height)!==null&&c!==void 0?c:0}px`})},x,{className:`${M} ${be.css(D)} ${Tn["one-line-ellipsis"]}`,onClick:T,dangerouslySetInnerHTML:{__html:ge(_,h?.ctaTitle)}}))};var Dd=o.memo(Pd),Md=[{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 Od=Qe(Dd,{displayName:"\u7EAF\u8272\u52A8\u6548CTA",icon:"",category:"cta",type:"AniLink",related:{settingRender:_d,bindableProps:[],interactionRender:Md},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 Ld=[{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 Bd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Nd=t=>{var e,i,n,s,l,r,a,d,v,c,f,m,h,w,y,P,p,x,b,E,C,g,O,k,{style:S,recData:u,ctaTempStyles:A,index:T,event:_,bottom_image:D,translateY:M,isTel:V,onClick:U,isExternalLink:F=!1,isActive:N}=t,B=Xe(t,["style","recData","ctaTempStyles","index","event","bottom_image","translateY","isTel","onClick","isExternalLink","isActive"]);S==null||delete S.transform;const{sxpParameter:Q,globalConfig:W,ctaEvent:ie,setPopupDetailData:K}=Ee(),{jumpToWeb:Z}=Je(),[z,ce]=o.useState(!0),ve=((n=(i=(e=u?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=u?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=u?.video)===null||r===void 0?void 0:r.bindCta),q=((d=(a=u?.video)===null||a===void 0?void 0:a.bindProducts)===null||d===void 0?void 0:d[0])||((v=u?.video)===null||v===void 0?void 0:v.bindProduct),R=()=>{var ne,ye,Se,Pe;const Te=((ye=(ne=u?.video)===null||ne===void 0?void 0:ne.bindProducts)===null||ye===void 0?void 0:ye[0])||((Se=u?.video)===null||Se===void 0?void 0:Se.bindProduct)||u?.video;if(ie?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},u,Te,T),K?.(Object.assign(Object.assign({},u),{index:T})),F){const Ne=q?.link||((Pe=Te?.bindCta)===null||Pe===void 0?void 0:Pe.link);Ne&&(Z(u,q,ve,T),window.location.href=window.getJointUtmLink(Ne))}else U?.()},oe=ve?.enTitle||"\u67E5\u770B\u8BE6\u60C5",te=o.useMemo(()=>{const ne=_?.animation;if(ne){const{delay:ye,duration:Se}=ne;return{animationDelay:`${ye?ye/1e3:0}s`,animationDuration:`${Se?Se/1e3:0}s`}}},[_?.animation]),le=(w=(h=(m=(c=q?.cover)!==null&&c!==void 0?c:(f=q?.homePage)===null||f===void 0?void 0:f[0])!==null&&m!==void 0?m:ve?.icon)!==null&&h!==void 0?h:Q?.bottom_image)!==null&&w!==void 0?w:D,de=ne=>{ne.stopPropagation(),ce(!1)};o.useEffect(()=>{ce(!0)},[N]);const se=o.useMemo(()=>N&&z?Dt["animated-fadeIn"]:null,[N,z]);return o.createElement(o.Fragment,null,V?o.createElement("div",{style:{height:"40px",lineHeight:"40px",paddingLeft:"6px"}},"Cta Title"):o.createElement("div",Object.assign({},B,{className:`${be.css(Object.assign(Object.assign({},S),{"--transY":`translateY(calc(100% + ${(y=S?.margin)!==null&&y!==void 0?y:0}px))`}))} ${Dt.aniLinkPopup} ${se} ${be.css(te)}`,onClick:R}),o.createElement("div",{onClick:de,className:Dt["modal-icon-wrapper"],style:{padding:(P=S?.padding)!==null&&P!==void 0?P:0}},o.createElement("img",{src:(p=W?.popupCloseIcon)!==null&&p!==void 0?p:Bd,alt:"close",className:Dt["modal-icon-wrapper-img"]})),o.createElement(gt,{src:le,rec:u,item:(g=(E=(b=(x=u?.video)===null||x===void 0?void 0:x.bindProducts)===null||b===void 0?void 0:b[0])!==null&&E!==void 0?E:(C=u?.video)===null||C===void 0?void 0:C.bindProduct)!==null&&g!==void 0?g:u?.video,index:T,translateY:M,imgStyle:A?.img}),(!u||q?.title)&&o.createElement("div",{className:Dt["one-line-ellipsis"],style:A?.title,dangerouslySetInnerHTML:{__html:ge((O=q?.title)!==null&&O!==void 0?O:"Product Name",A?.title)}}),o.createElement("div",{className:Dt["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(oe,A?.ctaTitle)}})))};var Fd=o.memo(Nd),jd=[{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 Vd=Qe(Fd,{displayName:"\u7AD6\u7248\u5F39\u7A97CTA",icon:"",category:"cta",type:"AniLinkPopup",related:{settingRender:Ld,bindableProps:[],interactionRender:jd},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 gi=Object.freeze({__proto__:null,AniLink:Od,AniLinkPopup:Vd,Appoint:Ds,AppointForm:vo,Commodity:Cs,CommodityDetail:es,CommodityDetailDiroNew:cs,CommodityDiro:Hs,CommodityDiroNew:Xs,CommodityList:gs,Consent:kd,HashTag:Ad,Iframe:Ss,Link:Ns,MultiCommodity:id,MultiCommodityDiro:Qs,MultiCommodityDiroNew:dd,Prompt:ss});const zd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hd="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Ud=t=>{var e,{active:i,activeIcon:n,unActicveIcon:s,recData:l,position:r}=t,a=Xe(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:d,mutateUnlike:v,bffEventReport:c,setCacheRtcList:f,cacheRtcList:m}=Ee(),[h,w]=o.useState((e=m?.[r])===null||e===void 0?void 0:e.isCollected),y=lt(Hd),P=lt(zd),p=Ue.debounce(()=>Re(void 0,void 0,void 0,function*(){var x,b,E,C,g,O,k,S,u,A,T,_,D,M,V,U,F,N,B,Q,W,ie;if(h){w(!1);const K=(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(c?.({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((u=(S=l?.video)===null||S===void 0?void 0:S.tags)!==null&&u!==void 0?u:[]),position:r+"",contentFormat:!((A=l?.video)===null||A===void 0)&&A.url?"video":"image",traceInfo:(T=l?.video)===null||T===void 0?void 0:T.traceInfo}}),!K)w(!0);else{const Z=(_=m?.map((z,ce)=>(ce===r&&(z.isCollected=!1),z)))!==null&&_!==void 0?_:[];f?.(Z)}}else{w(!0);const K=(D=yield d?.({content:JSON.stringify(l)}))!==null&&D!==void 0?D:!1;if(c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(V=(M=l?.video)===null||M===void 0?void 0:M.itemId)!==null&&V!==void 0?V:"",contentName:(F=(U=l?.video)===null||U===void 0?void 0:U.title)!==null&&F!==void 0?F:"",contentTags:JSON.stringify((B=(N=l?.video)===null||N===void 0?void 0:N.tags)!==null&&B!==void 0?B:[]),position:r+"",contentFormat:!((Q=l?.video)===null||Q===void 0)&&Q.url?"video":"image",traceInfo:(W=l?.video)===null||W===void 0?void 0:W.traceInfo}}),!K)w(!1);else{const Z=(ie=m?.map((z,ce)=>(ce===r&&(z.isCollected=!0),z)))!==null&&ie!==void 0?ie:[];f?.(Z)}}}),200);return o.createElement("button",Object.assign({},a,{"aria-label":"like",onClick:p}),o.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:h?n||y:s||P,alt:"icon"}))};var En=o.memo(Ud),Gd="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+LAYQ4QGMR4sWGrhRIkQQVJcyFGjyYJrRqoU2aXYxowlS7L8SBNiIZg4Xwq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ob/ohxMuFEhQo/FCAaLOJEkxZIVEwlEwvFjx5cubXQ5SdOkTYkRPbbcqVPnmpsog9b8B5NnUYX/hAKtCc5gz6MvBy5d6qahy6scMRJcqhUjj2JIuxYMCAAh+QQJBAD/ACw3ABcAEwAOAAAIYgD/CRxIUKCbYl0KKkQCrgs4Nw0fglNYqlgicBUvZsQYbGBEiA5BSgw5EdvGkxYxpiz1sSXJlyo1rpwp86LImy4l1ozJ82ROnC+LdaLZc6bBny6LDXSDUqabRAoFrmkZdWBAACH5BAkDAP8ALDoAFwASAA0AAAhiAP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const bi=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=ki.render(o.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Wd=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,videoPlayIcon:a})=>{const[d,v]=o.useState(!1),{bffEventReport:c,sxpParameter:f,waterFallData:m,openHashtag:h,bffFbReport:w}=Ee(),y=o.useRef(0),[P,p]=o.useState(!1),[x,b]=o.useState(!0),{isActive:E}=mn(),C=o.useRef(null),[g,O]=o.useState(""),[k,S]=o.useState(!1),u=o.useRef(),A=`pb-cache-video-${e}`,T=o.useRef(null),_=o.useMemo(()=>r?.mode==="2",[r]),D=o.useMemo(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),M=o.useMemo(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||g},[g,t]),V=o.useMemo(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]),U=o.useMemo(()=>r?.bgWay==="1",[r]),F=o.useMemo(()=>U&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,U]);o.useEffect(()=>{u?.current&&(u.current.muted=s)},[s,u?.current]);const N=o.useCallback(()=>{var R;u?.current&&((R=u?.current)===null||R===void 0||R.play())},[u?.current]),B=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),Q=o.useCallback(()=>{u?.current&&(S(!1),p(!0))},[]),W=o.useCallback(()=>{var R,oe,te,le,de,se,ne,ye,Se,Pe,Te,Ne,Le;if(!u?.current)return;v(!1);const G=n[e];if(G&&(!((R=u?.current)===null||R===void 0)&&R.duration)){y.current=((oe=u?.current)===null||oe===void 0?void 0:oe.currentTime)||0;const fe=((le=(te=u?.current)===null||te===void 0?void 0:te.duration)!==null&&le!==void 0?le:0).toFixed(2),Ae=((se=(de=u?.current)===null||de===void 0?void 0:de.currentTime)!==null&&se!==void 0?se:0).toFixed(2),pe=x?"0":"1";c?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ye=(ne=G?.video)===null||ne===void 0?void 0:ne.itemId)!==null&&ye!==void 0?ye:"",contentName:(Pe=(Se=G?.video)===null||Se===void 0?void 0:Se.title)!==null&&Pe!==void 0?Pe:"",playType:pe,startTime:Ae,videoDuration:fe,contentTags:JSON.stringify((Ne=(Te=G?.video)===null||Te===void 0?void 0:Te.tags)!==null&&Ne!==void 0?Ne:[]),position:e+"",contentFormat:"video",traceInfo:(Le=G?.video)===null||Le===void 0?void 0:Le.traceInfo}}),b(!1)}},[c,n,e,x,u?.current]),ie=o.useCallback(()=>{var R;if(!u?.current||g||!_||(u.current.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!C||!C.current||U))return;const oe=()=>{const te=C?.current,le=te.getContext("2d"),de=window?.innerWidth,se=window?.innerHeight;te.height=se,te.width=de,le?.drawImage(u.current,0,0,te.width,te.height),O(te.toDataURL())};oe(),setTimeout(()=>{oe()},500)},[u.current,U,t,g,_]),K=o.useCallback(()=>{u.current&&(W(),ie())},[u.current,ie,W]),Z=o.useCallback(R=>()=>{var oe,te,le,de,se;if(!u.current||!P)return;const ne=(oe=u?.current)===null||oe===void 0?void 0:oe.paused;switch(R){case"start":if(!ne)return;(te=u?.current)===null||te===void 0||te.play(),v(!1);break;case"pause":if(ne)return;(le=u?.current)===null||le===void 0||le.pause(),v(!0);break;default:ne?(de=u?.current)===null||de===void 0||de.play():(se=u?.current)===null||se===void 0||se.pause(),v(!ne);break}},[P,u?.current]),z=o.useCallback(()=>{var R,oe,te,le,de,se,ne,ye,Se,Pe,Te,Ne,Le;if(!u?.current||l!==e)return;const G=n[e],fe=((oe=(R=u?.current)===null||R===void 0?void 0:R.duration)!==null&&oe!==void 0?oe:0).toFixed(2),Ae=((le=(te=u?.current)===null||te===void 0?void 0:te.currentTime)!==null&&le!==void 0?le:0).toFixed(2);if(!((de=u?.current)===null||de===void 0)&&de.duration){const pe=(((se=u?.current)===null||se===void 0?void 0:se.currentTime)-y.current).toFixed(2);c?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ye=(ne=G?.video)===null||ne===void 0?void 0:ne.itemId)!==null&&ye!==void 0?ye:"",contentName:(Pe=(Se=G?.video)===null||Se===void 0?void 0:Se.title)!==null&&Pe!==void 0?Pe:"",endTime:Ae,videoDuration:fe,playDuration:pe,contentTags:JSON.stringify((Ne=(Te=G?.video)===null||Te===void 0?void 0:Te.tags)!==null&&Ne!==void 0?Ne:[]),position:e+"",contentFormat:"video",traceInfo:(Le=G?.video)===null||Le===void 0?void 0:Le.traceInfo}})}},[n,e,c,u?.current,l]),ce=o.useCallback(()=>{S(!0)},[]);o.useEffect(()=>{var R,oe,te,le,de,se,ne,ye,Se,Pe;if(!E)return;const Te=t?.video.url;if(!Te)return;const Ne=document.querySelector(`#${A}`);if(!Ne||(u.current=bi?.(Ne),!u?.current))return;const Le=window?.Hls;let G=null;return Te.includes(".m3u8")&&Le&&Le.isSupported()?(G=new Le,G.loadSource(Te),G.attachMedia(u?.current),G.on(Le.Events.MANIFEST_PARSED,function(){var fe;(fe=u?.current)===null||fe===void 0||fe.play()})):u.current.src=Te,(R=u?.current)===null||R===void 0||R.setAttribute("x5-playsinline","true"),(oe=u?.current)===null||oe===void 0||oe.setAttribute("webkit-playsinline","true"),(te=u?.current)===null||te===void 0||te.addEventListener("loadedmetadata",K),(le=u?.current)===null||le===void 0||le.addEventListener("loadeddata",ie),(de=u?.current)===null||de===void 0||de.addEventListener("play",W),(se=u?.current)===null||se===void 0||se.addEventListener("playing",Q),(ne=u?.current)===null||ne===void 0||ne.addEventListener("pause",z),(ye=u?.current)===null||ye===void 0||ye.addEventListener("ended",N),(Se=u?.current)===null||Se===void 0||Se.addEventListener("canplay",N),(Pe=u?.current)===null||Pe===void 0||Pe.addEventListener("waiting",ce),()=>{var fe,Ae,pe,Me,Oe,we,H,L,De;((fe=u?.current)===null||fe===void 0?void 0:fe.paused)||z(),G&&G?.destroy(),p(!1),(Ae=u?.current)===null||Ae===void 0||Ae.removeEventListener("loadedmetadata",K),(pe=u?.current)===null||pe===void 0||pe.removeEventListener("loadeddata",ie),(Me=u?.current)===null||Me===void 0||Me.removeEventListener("play",W),(Oe=u?.current)===null||Oe===void 0||Oe.removeEventListener("playing",Q),(we=u?.current)===null||we===void 0||we.removeEventListener("pause",z),(H=u?.current)===null||H===void 0||H.removeEventListener("ended",N),(L=u?.current)===null||L===void 0||L.removeEventListener("canplay",N),(De=u?.current)===null||De===void 0||De.removeEventListener("waiting",ce)}},[E,A,t,z]),o.useEffect(()=>{var R,oe;!u?.current||!P||(E?(w?.({eventName:"ViewContent"}),(R=u?.current)===null||R===void 0||R.play()):(oe=u?.current)===null||oe===void 0||oe.pause())},[E,P,u?.current]),o.useEffect(()=>{var R,oe,te;if(!E||!u?.current)return;!((R=u?.current)===null||R===void 0?void 0:R.paused)&&h?(oe=u?.current)===null||oe===void 0||oe.pause():h||(te=u?.current)===null||te===void 0||te.play()},[h,E,u?.current]),o.useEffect(()=>{if(!E)return;const R=()=>{Z("start")(),w?.({eventName:"ViewContent"})},oe=Z("pause");return ut.on(it.PAGE_DID_SHOW,R),ut.on(it.PAGE_DID_HIDE,oe),()=>{ut.off(it.PAGE_DID_SHOW,R),ut.off(it.PAGE_DID_HIDE,oe)}},[Z,E]);const ve=o.useMemo(()=>!f?.placeholder_image||P?null:o.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]),q=o.useMemo(()=>{if(!(!k||!P))return o.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:Gd,alt:"placeholder image"})},[k,P]);return o.useEffect(()=>{if(!u?.current)return;const R=()=>{var oe;l===e&&(!((oe=t?.video)===null||oe===void 0)&&oe.url)&&u?.current&&!d&&Z("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,u?.current,Z,d]),t?.video?o.createElement(o.Fragment,null,_?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:Z(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},F)},!U&&P&&M&&o.createElement(tt,{src:M,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},V)}),o.createElement("canvas",{ref:C,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},o.createElement("div",{className:"n-full-screen",ref:T,id:A,style:{width:"100%",height:"100%"}}),d&&o.createElement(tt,{className:"clc-pb-video-pause",src:a??B,alt:"pause"}))),ve,q):o.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:Z()},o.createElement("div",{className:"n-full-screen",ref:T,id:A,style:{width:"100%",height:"100%"}}),ve,q,d&&o.createElement(tt,{className:"clc-pb-video-pause",src:a??B,alt:"pause"}))):null};var Yd=o.memo(Wd);const Xd=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:s})=>{const[l,r]=o.useState(t),a=d=>{d.stopPropagation();const v=!l;r(v),n?.(v)};return o.useEffect(()=>{r(t)},[t]),o.createElement("button",{style:s,"aria-label":"toggle button",className:"pb-toggle-button",onClick:a},o.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var An=o.memo(Xd);const qd=({imageUrl:t,style:e,duration:i=2e3})=>{const[n,s]=o.useState(!0);at(),o.useEffect(()=>{setTimeout(()=>{s(!1)},i)},[]);const l=lt("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),r=o.useMemo(()=>n?"pb-fadeIn":"pb-fadeOut",[n]);return o.createElement("div",{hidden:!n,className:`pb-finger-wrap ${r}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},o.createElement("img",{src:t||l,alt:"finger swiper"}))},In=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:s}=t,l=o.useMemo(()=>n?.mode==="2",[n]),r=o.useMemo(()=>{var c;return n?.mode==="2"?`translateY(-${50+((c=n?.offsetTop)!==null&&c!==void 0?c:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=o.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),d=o.useMemo(()=>n?.bgWay==="1",[n]),v=o.useMemo(()=>d&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,d]);return o.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},v)},(!l||!d)&&o.createElement(tt,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a),onLoad:s}),l&&o.createElement(tt,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0},onLoad:s}))},Jd=({imgUrls:t,width:e,height:i,rec:n,index:s,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:a})=>{var d,v;const c=o.useRef(),{isActive:f}=mn(),{sxpParameter:m,openHashtag:h}=Ee(),[w,y]=o.useState(!1);o.useEffect(()=>{w&&f?(c?.current&&c.current.swiper.autoplay.start(),h?l(n):r(s)):c?.current&&c.current.swiper.autoplay.stop()},[n,f,l,h,s,r,w]);const P=o.useCallback(()=>{w||y(!0)},[w]);return o.createElement(At,{ref:c,defaultValue:0,direction:"horizontal",modules:[Gt,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},className:be.css(Object.assign({},a?.marginBottom&&{".swiper-pagination":{bottom:(d=a?.marginBottom)!==null&&d!==void 0?d:0}})),height:i,loop:!0,autoplay:{delay:((v=a?.delay)!==null&&v!==void 0?v:3)*1e3}},t?.map((p,x)=>o.createElement(vt,{key:x},o.createElement(In,{src:!w&&x>0?"":p,height:i,imgUrlsPostConfig:a,onShowFirstImage:P}))))};var Kd=o.memo(Jd);const Zd=({tags:t,itemId:e,itemType:i,index:n,rec:s,hashTagStyle:l})=>{var r;const[a,d]=o.useState(!1),{setWaterFallData:v,setOpenHashtag:c,setCacheActiveIndex:f,waterFallData:m,setIsFromHashtag:h}=Ee(),w=y=>{m?h?.(!0):f?.(n),v?.(i?{hashTag:y,itemId:e,itemType:i,rec:s}:{hashTag:y,rec:s}),c?.(!0)};return o.useMemo(()=>t.length<=6?null:o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>d(!a)},a?"show less":"show more"),[a,t]),o.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(r=l?.marginTop)!==null&&r!==void 0?r:16}px`}},o.createElement(Lt,null,t?.map((y,P)=>o.createElement(vt,{key:P,hidden:a?!1:P>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>w(y)},o.createElement("div",{dangerouslySetInnerHTML:{__html:ge(`#${y}`,l)}})))))};var Cn=o.memo(Zd),Qd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function Jt(t){return o.memo(function(e){const{$store:i}=qn(),n=l=>{let r=l;const a=l.match(/{{.*?}}/g);return a?.length&&a.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(v,c)=>{if(c){const f=Ue.get(i,c);return r=r.replace(d,f),f}})}),r},s=o.useMemo(()=>{var l,r,a;const{bindDatas:d}=e,v=Xe(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,c=>{if(c?.propKey&&c?.dataPath){const{propKey:f,dataPath:m}=c;m.replace(/{{\s*([\w.]+)\s*}}/g,(h,w)=>{var y,P;if(w){const p=(P=(y=Ue.get(i,w))!==null&&y!==void 0?y:e[f])!==null&&P!==void 0?P:"";return v[f]=p,p}})}}),v){v.eventMap={};const c=Ue.cloneDeep(v.event)||{};for(const f in c)if(Object.prototype.hasOwnProperty.call(c,f))try{c[f].value=n(c[f].value),v.eventMap[f]=new Function(c[f].value)}catch{}}return!((a=(r=v?.event)===null||r===void 0?void 0:r.onClick)===null||a===void 0)&&a.linkType&&(v.style.cursor="pointer"),v},[i,e]);return o.createElement(t,Object.assign({},s,s.eventMap))})}const Rd=({rec:t,index:e,tempMap:i,resolver:n,includesCtaType:s,isActive:l})=>{var r,a,d,v,c;const{schema:f}=at();if(!t?.video)return null;let m=null;!((a=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||a===void 0)&&a.length?m="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.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 h=i?.[m],w=o.useMemo(()=>{var y,P,p,x,b,E,C,g,O,k,S,u,A,T,_,D,M,V,U,F,N,B,Q,W,ie,K,Z,z,ce,ve,q,R,oe;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,!(s&&!s?.includes((E=h?.item)===null||E===void 0?void 0:E.type))&&!(!s&&((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)||((u=h?.item)===null||u===void 0?void 0:u.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"&&!(!((U=(V=t?.video)===null||V===void 0?void 0:V.bindProducts)===null||U===void 0)&&U.length)||((F=h?.item)===null||F===void 0?void 0:F.type)==="MultiCommodityDiroNew"&&!(!((B=(N=t?.video)===null||N===void 0?void 0:N.bindProducts)===null||B===void 0)&&B.length))return null;if(h&&n){const te=n[(Q=h?.item)===null||Q===void 0?void 0:Q.type],le=Jt(te),de=(W=te?.extend)===null||W===void 0?void 0:W.defaulSetting,se=((Z=(K=(ie=h?.item)===null||ie===void 0?void 0:ie.event)===null||K===void 0?void 0:K.onClick)===null||Z===void 0?void 0:Z.linkType)==="externalLink";return o.createElement(le,Object.assign({style:Object.assign(Object.assign(Object.assign({},de?.style),(z=h?.item)===null||z===void 0?void 0:z.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},de?.textStyle),(ce=h?.item)===null||ce===void 0?void 0:ce.textStyle),bindDatas:(q=(ve=h?.item)===null||ve===void 0?void 0:ve.bindDatas)!==null&&q!==void 0?q:[]},de?.props,(R=h?.item)===null||R===void 0?void 0:R.props,{event:((oe=h?.item)===null||oe===void 0?void 0:oe.event)||{},schema:f,id:h?.id,key:h?.id,recData:t,isExternalLink:se,index:e,isActive:l}))}else return null}},[t,n,i,f,h?.id,l]);return o.createElement(o.Fragment,null,w)};var Kt=o.memo(Rd);const kn=({nudge:t})=>{var e,i,n,s,l,r;return o.createElement(o.Fragment,null,t?.isOpen&&o.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(s=t?.size)===null||s===void 0?void 0:s.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?o.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,o.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0,marginTop:0}),dangerouslySetInnerHTML:{__html:ge(t?.content,t?.textStyle)}})))},$d=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:n,setRtcList:s,setCacheRtcList:l,setCacheActiveIndex:r,setLoading:a,swiperRef:d,waterFallData:v,bffEventReport:c,selectTag:f,setSelectTag:m}=Ee(),{backMainFeed:h}=Je(),w=o.useMemo(()=>[Ft,...t],[t]),y=P=>()=>{if(P===f)return;P!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${P}']`}}):h("theme",P,f);let p;P!==Ft&&(p=P),a?.(!0),n?.({themeTag:p}).then(x=>{var b,E,C,g;ut.emit(it.CHANGE_THEME_TAG,p),s?.((b=x?.recList)!==null&&b!==void 0?b:[]),l?.((E=x?.recList)!==null&&E!==void 0?E:[]),e?.(0),r?.(0),(g=(C=d?.current)===null||C===void 0?void 0:C.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{a?.(!1)}),m?.(P)};return v||t.length<=0?null:o.createElement("div",{className:"clc-sxp-tagbar",style:i},o.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},w.map(P=>o.createElement("li",{className:`clc-sxp-tagbar-list-item ${P===f?"clc-sxp-tagbar-list-item-active":""}`,key:P,onClick:y(P)},P))))};var _n=o.memo($d);const Pn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:s,resolver:l,data:r=[],ctaType:a,tipText:d,nudge:v,_schema:c,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}=at(),[u,A]=o.useState(0),T=o.useRef(0),[_,D]=o.useState(!0),M=o.useRef(),[V,U]=o.useState(!1),[F,N]=o.useState(!1),[B,Q]=o.useState(new Date().getTime()),W=o.useRef(!1),{loadVideos:ie,bffEventReport:K,loading:Z,setPopupDetailData:z,ctaEvent:ce,swiperRef:ve,waterFallData:q,setOpenHashtag:R,appDomain:oe,openHashtag:te,loadingImage:le,isFromHashtag:de,popupDetailData:se,bffFbReport:ne,curTime:ye,h5EnterLink:Se,isShowConsent:Pe,selectTag:Te,isPreview:Ne}=Ee(),{backMainFeed:Le,productView:G,jumpToWeb:fe}=Je(),Ae=o.useMemo(()=>r.length>0&&!Z&&(Zn()||t?.enableSwiperTip),[r,Z,t?.enableSwiperTip]);o.useEffect(()=>{Bi()},[]),o.useEffect(()=>{if(r?.length>0){const I=new Date;M.current=I,ne?.({eventName:"PageView"})}},[r?.length]);const pe=o.useCallback(()=>{if(Bi(),Se?.(),r.length>0){const I=new Date;M.current=I,ne?.({eventName:"PageView"})}},[r.length,ne,Se]);o.useEffect(()=>{var I;const j=r?.findIndex(X=>{var ee,ue,me,$,ae,xe,Ce,ze,We;const Ye=a?.[0];return Ye==="\u591A\u5546\u54C1CTA"?((ee=X?.video)===null||ee===void 0?void 0:ee.bindProducts)&&((me=(ue=X?.video)===null||ue===void 0?void 0:ue.bindProducts)===null||me===void 0?void 0:me.length)>0:Ye==="\u5546\u54C1CTA"?($=X?.video)===null||$===void 0?void 0:$.bindProduct:((xe=(ae=X?.video)===null||ae===void 0?void 0:ae.bindCta)===null||xe===void 0?void 0:xe.itemId)===Ye&&(((Ce=X?.video)===null||Ce===void 0?void 0:Ce.url)||((We=(ze=X?.video)===null||ze===void 0?void 0:ze.imgUrls)===null||We===void 0?void 0:We.length))})||0;(I=ve?.current)===null||I===void 0||I.swiper.slideTo(j)},[a,ve]),o.useEffect(()=>{const I=r?.[u],j=()=>{var X,ee,ue,me,$,ae,xe,Ce,ze,We,Ye,Ke,Ze,ke,He,ot,qe,pt,mt,bt;const yt=!te&&!Pe;if(document.visibilityState==="hidden"){yt&&(ut.emit(it.PAGE_DID_HIDE,I),he(I),_e(I));let Be="";se&&(!((ee=(X=I?.video)===null||X===void 0?void 0:X.bindProducts)===null||ee===void 0)&&ee.length||!((ue=I?.video)===null||ue===void 0)&&ue.bindProduct)?Be="pdpPage":se&&((xe=s?.[(ae=($=(me=I?.video)===null||me===void 0?void 0:me.bindCta)===null||$===void 0?void 0:$.itemId)!==null&&ae!==void 0?ae:""].item)===null||xe===void 0?void 0:xe.type)==="Appoint"?Be="formPage":de?Be="hashTagPage":!((Ce=I?.video)===null||Ce===void 0)&&Ce.url?Be="videoPage":!((ze=I?.video)===null||ze===void 0)&&ze.imgUrls&&(!((Ye=(We=I?.video)===null||We===void 0?void 0:We.imgUrls)===null||Ye===void 0)&&Ye.length)?Be="imagePage":I?.product&&(Be="productPage"),K?.({eventInfo:{sessionDuration:Math.floor((new Date-ye.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Ke=I?.video)===null||Ke===void 0?void 0:Ke.itemId,productId:(Ze=I?.product)===null||Ze===void 0?void 0:Ze.itemId,position:u+"",fromKName:Be,fromKPage:location?.href,ctatId:(ot=(He=(ke=I?.video)===null||ke===void 0?void 0:ke.bindCta)===null||He===void 0?void 0:He.itemId)!==null&&ot!==void 0?ot:"",traceInfo:(bt=(pt=(qe=I?.video)===null||qe===void 0?void 0:qe.traceInfo)!==null&&pt!==void 0?pt:(mt=I?.product)===null||mt===void 0?void 0:mt.traceInfo)!==null&&bt!==void 0?bt:""}})}else document.visibilityState==="visible"&&(W.current===!0&&(Q(new Date().getTime()),W.current=!1),pe(),yt&&(Fe(u),ut.emit(it.PAGE_DID_SHOW,I),Le("external",Te)))};return document.addEventListener("visibilitychange",j),()=>{document.removeEventListener("visibilitychange",j)}},[u,K,r,pe,se,de,s,ye,Le,te,Pe,Te]);const Me=o.useMemo(()=>{let I=0;return m.length>0&&(I+=45,q&&(I-=45)),I},[m,q]),Oe=o.useMemo(()=>{let I=0;return t?.logoUrl&&t?.isShowLogo&&(I+=56),I},[]),we=o.useMemo(()=>i-Oe-Me,[t,i,Me]),H=o.useMemo(()=>{var I;const j=u===0&&!q?[(I=r?.[0])!==null&&I!==void 0?I:null]:r?.map((X,ee)=>u===ee||ee-1===u||ee+1===u?X:null);return q?j:j.concat([{loading:!0}])},[r,u,q]),L=o.useMemo(()=>{var I,j,X,ee;if(t?.logoUrl&&t?.isShowLogo){const ue=(j=(I=t?.logoBar)===null||I===void 0?void 0:I.onClick)===null||j===void 0?void 0:j.value,me=((ee=(X=t?.logoBar)===null||X===void 0?void 0:X.onClick)===null||ee===void 0?void 0:ee.linkType)==="externalLink",$=H[u];return o.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},ue&&{onClick:()=>{var ae,xe,Ce,ze;me&&fe($,(ae=$?.video)===null||ae===void 0?void 0:ae.bindProduct,(xe=$?.video)===null||xe===void 0?void 0:xe.bindCta,u,((Ce=$?.product)===null||Ce===void 0?void 0:Ce.traceInfo)||((ze=$?.video)===null||ze===void 0?void 0:ze.traceInfo)),new Function(ue)()}}),o.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,u,H]),De=o.useCallback((I,j)=>{var X,ee,ue,me;return!((X=I?.video)===null||X===void 0)&&X.url?o.createElement(Yd,{key:B,rec:I,index:j,muted:_,data:r,height:we,activeIndex:u,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon}):!((ee=I?.video)===null||ee===void 0)&&ee.imgUrls?o.createElement(Kd,{key:I?.video.itemId,imgUrls:I?.video.imgUrls,width:n,height:we,rec:I,index:j,onReportViewImageEnd:he,onViewImageStartEvent:Fe,imgUrlsPostConfig:t?.imgUrlsPost}):I.product&&Array.isArray(t?.productPost)&&((ue=t?.productPost)===null||ue===void 0?void 0:ue.length)>0?(me=t?.productPost)===null||me===void 0?void 0:me.map(($,ae)=>{var xe,Ce,ze,We,Ye,Ke,Ze,ke;const He=l[(xe=$?.item)===null||xe===void 0?void 0:xe.type],ot=Jt(He),qe=(Ce=He?.extend)===null||Ce===void 0?void 0:Ce.defaulSetting;return o.createElement(ot,Object.assign({key:`${j}${ae}`,textStyle:Object.assign(Object.assign({},qe?.textStyle),(ze=$?.item)===null||ze===void 0?void 0:ze.textStyle),bindDatas:(Ye=(We=$?.item)===null||We===void 0?void 0:We.bindDatas)!==null&&Ye!==void 0?Ye:[]},qe?.props,(Ke=$?.item)===null||Ke===void 0?void 0:Ke.props,{event:((Ze=$?.item)===null||Ze===void 0?void 0:Ze.event)||{},schema:S,id:$?.id,viewTime:M.current,rec:I,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},qe?.style),(ke=$?.item)===null||ke===void 0?void 0:ke.style),{height:"100%",overflow:"auto"}),index:j}))}):null},[n,r,we,_,u,t?.productPost,t?.videoPlayIcon,M,d,l,S,B]),rt=o.useCallback(I=>{N(I)},[]),It=o.useMemo(()=>F?{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"},[F]),J=o.useCallback((I,j)=>{var X,ee,ue,me,$,ae,xe,Ce;return I?.video?o.createElement(o.Fragment,null,((X=I?.video)===null||X===void 0?void 0:X.title)&&!F&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom",style:{paddingBottom:`${(ee=t?.bottomInfoDist)!==null&&ee!==void 0?ee:40}px`}},o.createElement(kn,{nudge:v}),t?.isShowCTA===void 0||t?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Kt,{rec:I,index:j,tempMap:s,resolver:l})):null,o.createElement("div",null,o.createElement(qt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(me=(ue=I?.video)===null||ue===void 0?void 0:ue.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:rt}),o.createElement(Kt,{rec:I,index:j,tempMap:s,resolver:l,includesCtaType:["AniLink"]}),o.createElement(Cn,{index:u,tags:(ae=($=I?.video)===null||$===void 0?void 0:$.hashTags)!==null&&ae!==void 0?ae:[],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}))),o.createElement(Kt,{rec:I,index:j,tempMap:s,resolver:l,includesCtaType:["AniLinkPopup"],isActive:j===u})):null},[e,u,s,l,d,v,f,t,rt,F,It]),Y=o.useCallback((I,j,X)=>{var ee,ue,me,$;if(!t?.isShowLike||!X)return;let ae=(ee=t?.likeIconY)!==null&&ee!==void 0?ee:400;return q&&ae<40&&(ae+=40),I?.video?o.createElement(En,{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",[(ue=t.likeIconXPosit)!==null&&ue!==void 0?ue:"right"]:(me=t.likeIconX)!==null&&me!==void 0?me:0,[($=t.likeIconYPosit)!==null&&$!==void 0?$:"bottom"]:ae},position:j}):null},[t,q]),he=I=>{var j,X,ee,ue,me,$;if(!(!((j=I?.video)===null||j===void 0)&&j.url)&&(!((X=I?.video)===null||X===void 0)&&X.imgUrls)){const ae=Date.now(),xe=(ae-T.current)/1e3;K?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(ue=(ee=I?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ue!==void 0?ue:"",contentName:(me=I?.video.title)!==null&&me!==void 0?me:"",imageEndTime:`${ae}`,playDuration:`${xe}`,contentTags:JSON.stringify(($=I?.video.tags)!==null&&$!==void 0?$:[]),position:u+"",contentFormat:"image",traceInfo:I?.video.traceInfo}})}},Ie=(I,j)=>{var X,ee,ue,me,$,ae,xe,Ce,ze,We,Ye,Ke,Ze,ke,He,ot,qe,pt,mt;if(Ne||q)return;const bt=new Date-ye.current;if(t?.openSlideSkip&&bt>=((X=t?.slideSkipStartTime)!==null&&X!==void 0?X:0)&&Qn()&&I){const yt=((me=(ue=(ee=I?.video)===null||ee===void 0?void 0:ee.bindProducts)===null||ue===void 0?void 0:ue[0])===null||me===void 0?void 0:me.link)||((ae=($=I?.video)===null||$===void 0?void 0:$.bindProduct)===null||ae===void 0?void 0:ae.link)||((xe=I?.product)===null||xe===void 0?void 0:xe.link),Be=I?.product||((Ce=I?.video)===null||Ce===void 0?void 0:Ce.bindProduct)||((We=(ze=I?.video)===null||ze===void 0?void 0:ze.bindProducts)===null||We===void 0?void 0:We[0]);yt&&(K?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(Ye=Be?.itemId)!==null&&Ye!==void 0?Ye:"",productName:(Ke=Be?.title)!==null&&Ke!==void 0?Ke:"",price:Be?.price?Be?.price+"":"0",productCollection:(Ze=Be?.collection)!==null&&Ze!==void 0?Ze:"",contentTags:Be?.tags?JSON.stringify(Be?.tags):"",position:j+"",contentId:(He=(ke=I?.video)===null||ke===void 0?void 0:ke.itemId)!==null&&He!==void 0?He:"",traceInfo:(mt=(qe=(ot=I?.video)===null||ot===void 0?void 0:ot.traceInfo)!==null&&qe!==void 0?qe:(pt=I?.product)===null||pt===void 0?void 0:pt.traceInfo)!==null&&mt!==void 0?mt:""}}),W.current=!0,window.location.href=window.getJointUtmLink(yt))}},re=I=>{var j,X,ee,ue,me,$,ae,xe,Ce,ze,We,Ye,Ke,Ze;M.current=new Date;const ke=r[I.previousIndex];if(!ke)return;I.previousIndex-I.activeIndex<0?(K?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(X=(j=ke?.video)===null||j===void 0?void 0:j.itemId)!==null&&X!==void 0?X:"",productId:(ue=(ee=ke?.product)===null||ee===void 0?void 0:ee.itemId)!==null&&ue!==void 0?ue:"",requestId:null,traceInfo:($=(me=ke?.video)===null||me===void 0?void 0:me.traceInfo)!==null&&$!==void 0?$:""}}),he(ke),Ie(ke,I.previousIndex)):(K?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(xe=(ae=ke?.video)===null||ae===void 0?void 0:ae.itemId)!==null&&xe!==void 0?xe:"",productId:(ze=(Ce=ke.product)===null||Ce===void 0?void 0:Ce.itemId)!==null&&ze!==void 0?ze:"",requestId:null,traceInfo:(Ye=(We=ke?.video)===null||We===void 0?void 0:We.traceInfo)!==null&&Ye!==void 0?Ye:""}}),he(ke)),_e(ke);const He=r[I.activeIndex];!(!((Ke=He?.video)===null||Ke===void 0)&&Ke.url)&&!(!((Ze=He?.video)===null||Ze===void 0)&&Ze.imgUrls)&&He?.product&&ne?.({eventName:"ProductView"})},_e=I=>{var j,X,ee;!(!((j=I?.video)===null||j===void 0)&&j.url)&&!(!((X=I?.video)===null||X===void 0)&&X.imgUrls)&&I?.product&&G(I,I.product,(ee=I?.product)===null||ee===void 0?void 0:ee.bindCta,M.current,u)};o.useEffect(()=>{const I=r[u];te&&_e(I)},[te,r,u]);const Fe=I=>{var j,X,ee,ue,me,$;const ae=r[I];if(!(!((j=ae?.video)===null||j===void 0)&&j.url)&&(!((X=ae?.video)===null||X===void 0)&&X.imgUrls)){const xe=Date.now();T.current=xe,K?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(ue=(ee=ae?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&ue!==void 0?ue:"",contentName:(me=ae?.video.title)!==null&&me!==void 0?me:"",imageStartTime:`${xe}`,contentTags:JSON.stringify(($=ae?.video.tags)!==null&&$!==void 0?$:[]),position:I+"",contentFormat:"image",traceInfo:ae?.video.traceInfo}}),ne?.({eventName:"ViewContent"})}},je=o.useCallback(I=>{var j,X,ee,ue,me,$;if(I)return(t?.isShowMute===void 0||t?.isShowMute===!0)&&o.createElement(An,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((X=(j=H?.[u])===null||j===void 0?void 0:j.video)===null||X===void 0)&&X.url?"visible":"hidden",zIndex:999,[(ee=t?.muteIconXPosit)!==null&&ee!==void 0?ee:"right"]:(ue=t?.muteIconX)!==null&&ue!==void 0?ue: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,H,u,_]),Ve=o.useMemo(()=>Z?o.createElement("div",{style:{height:we,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):H?.map((I,j)=>o.createElement(vt,{key:j,virtualIndex:j,style:{overflow:"hidden"}},I&&o.createElement(o.Fragment,null,I?.loading?o.createElement("div",{style:{height:we,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:le,alt:"loading...",style:{objectFit:"contain"}})):o.createElement(o.Fragment,null,De(I,j),J(I,j),Y(I,j,!t?.likeIconFixed),je(!t?.muteIconFixed))))),[n,r,we,Z,J,De,H,le,B,je]);return o.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},q&&o.createElement(yn,{icon:Qd,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:()=>{R?.(!0)}}),L,o.createElement(_n,{tagList:m,setActiveIndex:A,style:{top:Oe}}),Ae?o.createElement(qd,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`},duration:t?.swiperTipAniDur}):null,o.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&&(re(I),!q&&I?.activeIndex+2>=r?.length&&(V||(U(!0),ie?.(Math.ceil(u/10)+1).then(()=>{U(!1)}))))},direction:"vertical",height:we},Y(H[u],u,!!t?.likeIconFixed),je(!!t?.muteIconFixed),Ve),o.createElement(Sn,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)))},er=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:s,index:l})=>o.createElement(At,{defaultValue:0,direction:"horizontal",modules:[Gt,Wt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>o.createElement(vt,{key:r},o.createElement(In,{src:r,height:i,imgUrlsPostConfig:n}))));var tr=o.memo(er);const ir=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,width:a})=>{const[d,v]=o.useState(!1),c=o.useRef(null),{bffEventReport:f,sxpParameter:m,waterFallData:h,openHashtag:w}=Ee(),y=o.useRef(0),[P,p]=o.useState(!1),[x,b]=o.useState(!0),E=o.useRef(null),[C,g]=o.useState("");o.useEffect(()=>{c.current&&(c.current.muted=s)},[s]);const O=o.useCallback(()=>{var N;(N=c.current)===null||N===void 0||N.play()},[]),k=lt("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=o.useCallback(()=>{var N,B,Q,W,ie,K,Z,z,ce,ve,q,R,oe;v(!1);const te=n[e];if(te&&(!((N=c?.current)===null||N===void 0)&&N.duration)){y.current=((B=c?.current)===null||B===void 0?void 0:B.currentTime)||0;const le=((W=(Q=c.current)===null||Q===void 0?void 0:Q.duration)!==null&&W!==void 0?W:0).toFixed(2),de=((K=(ie=c.current)===null||ie===void 0?void 0:ie.currentTime)!==null&&K!==void 0?K:0).toFixed(2),se=x?"0":"1";f?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(z=(Z=te?.video)===null||Z===void 0?void 0:Z.itemId)!==null&&z!==void 0?z:"",contentName:(ve=(ce=te?.video)===null||ce===void 0?void 0:ce.title)!==null&&ve!==void 0?ve:"",playType:se,startTime:de,videoDuration:le,contentTags:JSON.stringify((R=(q=te?.video)===null||q===void 0?void 0:q.tags)!==null&&R!==void 0?R:[]),position:e+"",contentFormat:"video",traceInfo:(oe=te?.video)===null||oe===void 0?void 0:oe.traceInfo}}),b(!1)}},[f,n,e,x]),u=o.useCallback(()=>{p(!0)},[]),A=o.useCallback(N=>()=>{var B,Q,W,ie,K;if(!P)return;const Z=(B=c.current)===null||B===void 0?void 0:B.paused;switch(N){case"start":if(!Z)return;(Q=c.current)===null||Q===void 0||Q.play(),v(!1);break;case"pause":if(Z)return;(W=c.current)===null||W===void 0||W.pause(),v(!0);break;default:Z?(ie=c.current)===null||ie===void 0||ie.play():(K=c.current)===null||K===void 0||K.pause(),v(!Z);break}},[P]),T=o.useCallback(()=>{var N,B,Q,W,ie,K,Z,z,ce,ve,q,R,oe;const te=n[e],le=((B=(N=c.current)===null||N===void 0?void 0:N.duration)!==null&&B!==void 0?B:0).toFixed(2),de=((W=(Q=c.current)===null||Q===void 0?void 0:Q.currentTime)!==null&&W!==void 0?W:0).toFixed(2);if(!((ie=c?.current)===null||ie===void 0)&&ie.duration){const se=(((K=c?.current)===null||K===void 0?void 0:K.currentTime)-y.current).toFixed(2);f?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(z=(Z=te?.video)===null||Z===void 0?void 0:Z.itemId)!==null&&z!==void 0?z:"",contentName:(ve=(ce=te?.video)===null||ce===void 0?void 0:ce.title)!==null&&ve!==void 0?ve:"",endTime:de,videoDuration:le,playDuration:se,contentTags:JSON.stringify((R=(q=te?.video)===null||q===void 0?void 0:q.tags)!==null&&R!==void 0?R:[]),position:e+"",contentFormat:"video",traceInfo:(oe=te?.video)===null||oe===void 0?void 0:oe.traceInfo}})}},[n,e,f]),_=o.useMemo(()=>r?.mode==="2",[r]),D=o.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),M=o.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||C},[C,t]),V=o.useCallback(()=>{if(!E||!c||!c.current||!E.current)return;const N=c?.current,B=E?.current,Q=B.getContext("2d"),W=window?.innerWidth,ie=window?.innerHeight;B.height=ie,B.width=W,Q?.drawImage(N,0,0,B.width,B.height),g(B.toDataURL())},[]);o.useEffect(()=>{var N,B,Q,W;if(c.current){if(v(!1),!c.current.src){const ie=t?.video.url;if(ie.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const K=new window.Hls;K.loadSource(ie),K.attachMedia(c.current)}else c.current.canPlayType("application/vnd.apple.mpegurl"),c.current.src=ie;else c.current.src=ie;c.current.setAttribute("x5-playsinline","true"),c.current.setAttribute("webkit-playsinline","true")}return(N=c.current)===null||N===void 0||N.addEventListener("loadedmetadata",u),(B=c.current)===null||B===void 0||B.addEventListener("canplay",u),(Q=c.current)===null||Q===void 0||Q.addEventListener("playing",S),(W=c.current)===null||W===void 0||W.addEventListener("loadeddata",V),()=>{var ie,K,Z,z;(ie=c.current)===null||ie===void 0||ie.removeEventListener("loadedmetadata",u),(K=c.current)===null||K===void 0||K.removeEventListener("canplay",u),(Z=c.current)===null||Z===void 0||Z.removeEventListener("playing",S),(z=c.current)===null||z===void 0||z.removeEventListener("loadeddata",V)}}},[u,S,t?.video,V]);const U=o.useMemo(()=>!m?.placeholder_image||P?null:o.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]);o.useEffect(()=>{const N=()=>{var B,Q;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((Q=c?.current)===null||Q===void 0)&&Q.src)&&!d&&A("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,c,A,d]);const F=o.useMemo(()=>_?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[_]);return t?.video?o.createElement(o.Fragment,null,_?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement(tt,{src:M,style:Object.assign({height:i,width:a,objectFit:"cover"},F)}),o.createElement("canvas",{ref:E,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:a,height:i,top:"50%",transform:D,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:a,height:"100%"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:c,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O,style:{width:"100%",height:i,objectFit:"contain"}}),o.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k,alt:"video pause image"}))),U):o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:A(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:c,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:T,onEnded:O}),U,o.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:k,alt:"video pause image"}))):null};var nr=o.memo(ir);const yi={};Object.values(gi).forEach(t=>{yi[t.extend.type]=t});const or="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",lr="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",sr=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:s,descStyle:l,hashTagStyle:r,containerHeight:a=664,containerWidth:d=375,appDomain:v,tagList:c=[]})=>{const f=o.useMemo(()=>{let g=0;return e?.logoUrl&&e?.isShowLogo&&(g+=45),c.length>0&&(g+=45),a-g},[e,a,c]),m=(g,O)=>{var k,S,u,A;if(!((k=g?.video)===null||k===void 0)&&k.url)return o.createElement(nr,{rec:g,index:O,muted:!0,width:d,data:t??[],height:f,activeIndex:O,videoPostConfig:e?.videoPost});if(!((S=g?.video)===null||S===void 0)&&S.imgUrls)return o.createElement(tr,{key:g?.video.itemId,imgUrls:g?.video.imgUrls,width:d,height:f,rec:g,index:O,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(A=e?.productPost)===null||A===void 0?void 0:A.map((T,_)=>{var D,M,V,U,F,N,B,Q;const W=yi[(D=T?.item)===null||D===void 0?void 0:D.type],ie=Jt(W),K=(M=W?.extend)===null||M===void 0?void 0:M.defaulSetting;return o.createElement(ie,Object.assign({key:`${O}${_}`,textStyle:Object.assign(Object.assign({},K?.textStyle),(V=T?.item)===null||V===void 0?void 0:V.textStyle),bindDatas:(F=(U=T?.item)===null||U===void 0?void 0:U.bindDatas)!==null&&F!==void 0?F:[]},K?.props,(N=T?.item)===null||N===void 0?void 0:N.props,{event:((B=T?.item)===null||B===void 0?void 0:B.event)||{},id:T?.id,rec:g,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},K?.style),(Q=T?.item)===null||Q===void 0?void 0:Q.style),{width:d,height:f,overflow:"auto"}),index:O}))})},h=o.useMemo(()=>e?.logoUrl&&e?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},o.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),w=(g,O)=>e?.isShowCTA===void 0||e?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Kt,{rec:g,index:O,tempMap:s,resolver:yi})):null,y=(g,O)=>{var k,S,u,A,T,_,D;return g?.video?o.createElement(o.Fragment,null,((k=g?.video)===null||k===void 0?void 0:k.title)&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(kn,{nudge:n}),w(g,O),o.createElement("div",null,o.createElement(qt,{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"})})),o.createElement(Cn,{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:r}))):null},P=lt(lr,v),p=lt(or,v),x=(g,O)=>{var k,S,u,A;if(!e?.isShowLike)return;let T=(k=e?.likeIconY)!==null&&k!==void 0?k:400;return T<40&&(T+=40),g?.video?o.createElement(En,{key:g.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:P,unActicveIcon:(u=e?.unlikeIcon)!==null&&u!==void 0?u: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,u,A;return o.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},h,o.createElement(_n,{tagList:c}),o.createElement(An,{style:{position:"absolute",right:(k=e?.muteIconX)!==null&&k!==void 0?k:0,visibility:!((u=(S=t?.[O])===null||S===void 0?void 0:S.video)===null||u===void 0)&&u.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 o.createElement("div",{className:be.css({width:"100%",height:a,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((g,O)=>C(g,O)))};var dr=o.memo(sr);const rr=()=>{const{schema:t,resolver:e,popup:i}=at(),{setPopupDetailData:n,popupDetailData:s,popupCurTimeRef:l,checkCommodityIndexRef:r}=Ee(),{productView:a}=Je(),[d,v]=o.useState();o.useEffect(()=>{const m=()=>{l.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),o.useEffect(()=>{i&&i?.id&&i?.id!==""&&(l.current=new Date,v(i))},[i]);const c=()=>{var m,h,w,y,P,p,x,b,E,C,g,O,k,S,u,A,T,_;if(!i||i?.id===""||!d||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=s;let V=(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],U=(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=(u=(S=M?.video)===null||S===void 0?void 0:S.bindProducts)===null||u===void 0?void 0:u[0])===null||A===void 0?void 0:A.bindCta;if(r?.current>=0){const F=(_=(T=M?.video)===null||T===void 0?void 0:T.bindProducts)===null||_===void 0?void 0:_[r?.current];F&&(V=F,U=F?.bindCta)}V&&U&&a(M,V,U,l.current,s?.index)}setTimeout(()=>{window?.sxpPopup(""),n?.(null),r.current=-1},i?.duration)},f=o.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,u,A,T,_,D;if(y?.id===i?.id){const M=e[(p=y?.item)===null||p===void 0?void 0:p.type],V=Jt(M),U=((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",F=((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",N=(k=M?.extend)===null||k===void 0?void 0:k.defaulSetting;return o.createElement(V,Object.assign({key:P,style:Object.assign(Object.assign(Object.assign({},N?.style),(S=y?.item)===null||S===void 0?void 0:S.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},N?.textStyle),(u=y?.item)===null||u===void 0?void 0:u.textStyle),bindDatas:(T=(A=y?.item)===null||A===void 0?void 0:A.bindDatas)!==null&&T!==void 0?T:[]},N?.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:U,isPopup:F,onClose:c}))}else return o.createElement(o.Fragment,null)})},[t,i,e,c]);return o.createElement(Pt,{popup:d,onClose:c,padding:0,modalStyle:{position:"fixed"}},f)},wi={};Object.values(gi).forEach(t=>{wi[t.extend.type]=t});const ar=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:s,appDomain:l,licenseUrl:r,enabledMetaConversionApi:a})=>{var d,v,c,f,m,h,w,y,P,p,x;const b=o.useMemo(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return o.createElement(Xi,{resolver:wi,enableDataSource:!1,schema:t?.data,utmVal:b},o.createElement(Ui,{utmVal:b,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(v=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&v!==void 0?v:e,defaultSize:(f=(c=t?.sxp_parameter)===null||c===void 0?void 0:c.default_recommend)!==null&&f!==void 0?f:i,hashTagSize:(h=(m=t?.sxp_parameter)===null||m===void 0?void 0:m.hash_tag_size)!==null&&h!==void 0?h:n,loadingImage:s,appDomain:l,enabledMetaConversionApi:a,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 o.createElement(o.Fragment,null,o.createElement(Pn,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{tagList:C,data:E,resolver:wi,licenseUrl:r})),o.createElement(rr,null))}}))};var ur=o.memo(ar);const Dn=o.createContext({}),cr=({children:t,data:e})=>{var i,n,s,l,r,a,d,v,c,f,m,h,w;const[y,P]=o.useState(!1),[p,x]=o.useState(!1);return o.createElement(Dn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image,privacyContent:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.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:(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 vr(){return o.useContext(Dn)}Ge.DiyPortalPreview=dr,Ge.EditorDataProvider=cr,Ge.Modal=Pt,Ge.SxpDataSourceProvider=Ui,Ge.SxpPageCore=ur,Ge.SxpPageRender=Pn,Ge.core=oo,Ge.default=Xn,Ge.materials=gi,Ge.useEditorDataProvider=vr,Object.defineProperty(Ge,"__esModule",{value:!0})});
|
5
|
+
18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:V?.info})))},me=()=>{var A,Q;return o.createElement(o.Fragment,null,(N||L?.link)&&o.createElement("button",{"aria-label":(A=Ge?.enTitle)!==null&&A!==void 0?A:"Purchase on Website",onClick:At,className:"pb-commondity-btn",style:ce},o.createElement("span",{dangerouslySetInnerHTML:{__html:he((Q=Ge?.enTitle)!==null&&Q!==void 0?Q:"Purchase on Website",ce)}})))},Ee=o.useCallback(A=>A?.lineClamp?Object.assign(Object.assign({},A),{overflow:"hidden",WebkitLineClamp:A?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):A,[]),Pe=o.useCallback(A=>{Se.current=new Date,Le(A),De.current=A,He?.current&&(He.current.swiper.slideTo(0),He.current.swiper.autoplay.start())},[]),je=o.useCallback(()=>{var A,Q,R;if(!H)return o.createElement(bn,{products:(A=K?.video)===null||A===void 0?void 0:A.bindProducts,data:te,defImg:(R=(Q=ve?.bottom_image)!==null&&Q!==void 0?Q:B)!==null&&R!==void 0?R:"",style:{padding:"0 19px"},onCLick:Pe,popupDetailData:we,check:Ve})},[Ve]),We=o.useMemo(()=>{const A={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return A?.[U?.dotsAlign]},[U?.dotsAlign]),ue=((P=(E=K?.video)===null||E===void 0?void 0:E.bindProduct)===null||P===void 0?void 0:P.remark)||((D=(M=(g=K?.video)===null||g===void 0?void 0:g.bindProducts)===null||M===void 0?void 0:M[0])===null||D===void 0?void 0:D.remark)||((S=K?.product)===null||S===void 0?void 0:S.remark);return o.createElement(o.Fragment,null,o.createElement("div",Object.assign({className:ye.css(Object.assign({},O))},oe),o.createElement("div",{style:{position:"relative"}},L&&((c=L?.homePage)===null||c===void 0?void 0:c.length)>0&&o.createElement(It,{height:ge,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:We},loop:!0,autoplay:{delay:U?.delay*1e3},ref:He},o.createElement(o.Fragment,null,(_=L?.homePage)===null||_===void 0?void 0:_.map(A=>{var Q;return o.createElement(pt,{key:A},o.createElement("div",{style:{overflow:"hidden",width:Y,height:ge}},o.createElement(it,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${U?.translateY?U?.translateY+50:50}%`},src:(Q=A??ve?.bottom_image)!==null&&Q!==void 0?Q:B})))}))),!(!((y=L?.homePage)===null||y===void 0)&&y.length)&&o.createElement("div",{className:ye.css({height:ge,width:Y})},o.createElement("img",{className:ye.css({objectFit:"cover",width:"100%",height:"100%"}),src:(C=ve?.bottom_image)!==null&&C!==void 0?C:B,alt:"pdp image"})),(ue||!L)&&re&&o.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>le(!0)},o.createElement("img",{src:re,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),je(),o.createElement("div",{className:"pb-commondity-content"},Te({isPost:H}))),me(),o.createElement(Dt,{visible:G,onClose:()=>pe(!1)},o.createElement("div",{style:{paddingBottom:"80px"}},Te({isPost:!1})),me()),o.createElement(Dt,{visible:xe,padding:0,isFullScreen:!0,onClose:()=>le(!1)},o.createElement("iframe",{src:ue,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var Rl=o.memo(Ql),$l=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const es=Re(Rl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:po,interactionRender:$l},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12},taxInfo:{color:"#000",fontSize:13,textAlign:"left",marginBottom:"10px"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var ts=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],is=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5185\u5BB9",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Group",label:"\u5185\u5BB9\u5B57\u4F53",child:[{type:"Select",name:["props","contentStyle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","contentStyle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","contentStyle","color"],initialValue:"#000"},{type:"Number",name:["props","contentStyle","fontSize"],addonAfter:"px",initialValue:14}]},{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"}]}],yn="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 ns=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:s,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return s&&s.length>0?(e=s[0])===null||e===void 0?void 0:e.url:null}},os=t=>{var{content:e,btnText:i,style:n,icon:s,isPopup:l,isExternalLink:r,onClose:a,onClick:d,submitButtonStyle:v,contentStyle:u}=t,h=Ke(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle"]);const{popupDetailData:m}=ke(),{jumpToWeb:f}=Qe(),x=typeof s=="string"?s:ns(s),w=()=>{var I,p,T;if(r){const b=m,E=(I=b?.video)===null||I===void 0?void 0:I.bindProduct,P=(T=(p=b?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0?void 0:T.bindCta,g=m?.index;f(b,E,P,g)}l||a?.(),d?.()};return o.createElement("div",Object.assign({className:`pb-prompt ${ye.css(Object.assign({},n))}`},h),o.createElement("div",{className:"pb-prompt-icon"},o.createElement("img",{width:"100%",src:x??yn,alt:"success image"})),o.createElement("div",{className:"pb-prompt-content",style:u,dangerouslySetInnerHTML:{__html:he(e,u)}}),o.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:v,onClick:w,dangerouslySetInnerHTML:{__html:he(i,v)}}))};var ls=o.memo(os);const ss=Re(ls,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:is,bindableProps:[],interactionRender:ts},defaulSetting:{props:{icon:yn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var rs=[{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 ds=t=>{var e,i,n,s,l,r,a,d,v,u,h,m,f,x,w,I,p,T,b,E,P,g,M,D,S,c,_,y,C,k,O,j,z,{style:F,isDefault:N,rec:B,viewTime:X,isPost:H,bottom_image:$,tipText:Z,swiper:U,commodityStyles:V,buttonStyle:ce,index:be,commodityGroup:te,popupBg:q,iframeIcon:re,commodityImgRatio:ne}=t,oe=Ke(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index","commodityGroup","popupBg","iframeIcon","commodityImgRatio"]);o.useState(!0);const{sxpParameter:ve,popupCurTimeRef:we,popupDetailData:ee,isPreview:fe,bffFbReport:Se,checkCommodityIndexRef:De}=ke(),{jumpToWeb:Ce,productView:Me}=Qe();o.useState(!1),o.useState(!1),o.useState(!0);const[Ne,G]=o.useState(!1),pe=o.useRef(null),[xe,le]=o.useState(!1),[Ve,Le]=o.useState((e=ee?.multiCheckIndex)!==null&&e!==void 0?e:0),He=o.useRef(),K=H?B:ee;let L=H?K?.product:(n=(i=K?.video)===null||i===void 0?void 0:i.bindProduct)!==null&&n!==void 0?n:(l=(s=K?.video)===null||s===void 0?void 0:s.bindProducts)===null||l===void 0?void 0:l[0],Ge=H?(r=K?.product)===null||r===void 0?void 0:r.bindCta:(v=(d=(a=K?.video)===null||a===void 0?void 0:a.bindProduct)===null||d===void 0?void 0:d.bindCta)!==null&&v!==void 0?v:(m=(h=(u=K?.video)===null||u===void 0?void 0:u.bindProducts)===null||h===void 0?void 0:h[0])===null||m===void 0?void 0:m.bindCta;const at=H?be:ee?.index;if(!H&&te?.open&&(!((f=K?.video)===null||f===void 0)&&f.bindProducts)&&((w=(x=K?.video)===null||x===void 0?void 0:x.bindProducts)===null||w===void 0?void 0:w.length)>0){De.current=Ve;const ue=(I=K?.video)===null||I===void 0?void 0:I.bindProducts[Ve];L=ue,Ge=ue?.bindCta}const At=()=>{L?.link&&(Ce(K,L,Ge,at),H||Me(K,L,Ge,X||pe.current,at),window.location.href=window.getJointUtmLink(L.link))};o.useEffect(()=>{H||Se?.({eventName:"ProductView"})},[H,Se]),o.useEffect(()=>{const ue=()=>{pe.current=new Date};return ue(),window.addEventListener("pageshow",ue),()=>{window.removeEventListener("pageshow",ue)}},[]);const W=o.useMemo(()=>{var ue,A,Q,R,ie,se,de;const J=((ue=V?.price)===null||ue===void 0?void 0:ue.enableFormattedPrice)===void 0||((A=V?.price)===null||A===void 0?void 0:A.enableFormattedPrice);return L?.currency&&L?.price?`${(ie=(R=(Q=L?.currency)===null||Q===void 0?void 0:Q.split("-")[1])===null||R===void 0?void 0:R.toUpperCase())!==null&&ie!==void 0?ie:""}${J?(de=(se=L?.price)===null||se===void 0?void 0:se.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&de!==void 0?de:"":L?.price}`:"\xA3102,300.00"},[L?.price,L?.currency,(p=V?.price)===null||p===void 0?void 0:p.enableFormattedPrice]),Y=(fe?375:(T=F?.width)!==null&&T!==void 0?T:window.innerWidth)-((b=q?.horizontalMargin)!==null&&b!==void 0?b:0)*2,ge=ne?Y*(ne.h/ne.w):Y,Te=({isPost:ue})=>o.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},o.createElement(qt,{isPost:ue,onClick:()=>G(!0),className:"pb-commondityDiroNew-info",style:V?.info,foldText:Z?.foldText,unfoldText:Z?.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`})),me=o.useCallback(ue=>ue?.lineClamp?Object.assign(Object.assign({},ue),{overflow:"hidden",WebkitLineClamp:ue?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):ue,[]),Ee=o.useCallback(ue=>{we.current=new Date,Le(ue),De.current=ue,He?.current&&(He.current.swiper.slideTo(0),He.current.swiper.autoplay.start())},[]),Pe=o.useCallback(()=>{var ue,A,Q;if(!H)return o.createElement(bn,{products:(ue=K?.video)===null||ue===void 0?void 0:ue.bindProducts,data:te,defImg:(Q=(A=ve?.bottom_image)!==null&&A!==void 0?A:$)!==null&&Q!==void 0?Q:"",style:{padding:"0 19px"},onCLick:Ee,popupDetailData:ee,check:Ve})},[Ve]),je=o.useMemo(()=>{const ue={left:"commondityDetail-swiper-clickable-left",center:"commondityDetail-swiper-clickable-center",right:"commondityDetail-swiper-clickable-right"};return ue?.[U?.dotsAlign]},[U?.dotsAlign]),We=((P=(E=K?.video)===null||E===void 0?void 0:E.bindProduct)===null||P===void 0?void 0:P.remark)||((D=(M=(g=K?.video)===null||g===void 0?void 0:g.bindProducts)===null||M===void 0?void 0:M[0])===null||D===void 0?void 0:D.remark)||((S=K?.product)===null||S===void 0?void 0:S.remark);return o.createElement("div",{className:"pb-commondityDiroNew"},o.createElement("div",Object.assign({className:ye.css(Object.assign(Object.assign({},F),{transform:"translate3d(0px, 0px, 0px)"}))},oe),o.createElement("div",{style:{position:"relative"}},L&&((c=L?.homePage)===null||c===void 0?void 0:c.length)>0&&o.createElement(It,{height:ge,modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:je},loop:!0,autoplay:{delay:U?.delay*1e3},ref:He},(_=L?.homePage)===null||_===void 0?void 0:_.map(ue=>{var A;return o.createElement(pt,{key:ue},o.createElement("div",{style:{overflow:"hidden",width:Y,height:ge}},o.createElement(it,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${U?.translateY?U?.translateY+50:50}%`},src:(A=ue??ve?.bottom_image)!==null&&A!==void 0?A:$})))})),!(!((y=L?.homePage)===null||y===void 0)&&y.length)&&o.createElement("div",{className:ye.css({height:ge,width:Y})},o.createElement("img",{className:ye.css({objectFit:"cover",width:"100%",height:"100%"}),src:(C=ve?.bottom_image)!==null&&C!==void 0?C:$,alt:"pdp image"})),(We||!L)&&re&&o.createElement("div",{style:{padding:"5px 10px",display:"flex",alignItems:"center",position:"absolute",right:"10px",bottom:"10px",zIndex:1,background:"#fff",borderRadius:"3px"},onClick:()=>le(!0)},o.createElement("img",{src:re,alt:"3d",width:"20px",height:"20px",style:{marginRight:"5px"}}),o.createElement("span",{style:{fontSize:"12px"}},"Try in 3D"))),Pe(),o.createElement("div",{className:"pb-commondityDiroNew-content"},o.createElement("div",{className:"pb-commondityDiroNew-content-top"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:me(V?.title),dangerouslySetInnerHTML:{__html:he((k=L?.title)!==null&&k!==void 0?k:"Large Dior Toujours BagLarge",V?.title)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!L&&(!L?.collection||L?.collection===""),style:me(V?.collection),dangerouslySetInnerHTML:{__html:he(L?.collection||"Black Macrocannage CalfskinLarge",V?.collection)}})),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.price,style:me(V?.price),dangerouslySetInnerHTML:{__html:he(W,V?.price)}}),o.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!L&&!L?.taxInfo,style:me(V?.taxInfo),dangerouslySetInnerHTML:{__html:he((O=L?.taxInfo)!==null&&O!==void 0?O:"\u7A0E\u8D39",V?.taxInfo)}}))),(!L||L?.link)&&o.createElement("button",{"aria-label":(j=Ge?.enTitle)!==null&&j!==void 0?j:"Shop now",onClick:At,className:"pb-commondityDiroNew-btn",style:ce},o.createElement("span",{dangerouslySetInnerHTML:{__html:he((z=Ge?.enTitle)!==null&&z!==void 0?z:"Shop now",ce)}})),Te({isPost:H}))),o.createElement(Dt,{visible:Ne,onClose:()=>G(!1)},Te({isPost:!1})),o.createElement(Dt,{visible:xe,padding:0,isFullScreen:!0,onClose:()=>le(!1)},o.createElement("iframe",{src:We,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}})))};var as=o.memo(ds),us=[{title:"\u6ED1\u52A8\u4E8B\u4EF6",child:[{type:"Switch",label:"\u6ED1\u52A8\u94FA\u6EE1\u5168\u5C4F",name:["isScrollFullScreen"]}]}];const cs=Re(as,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:rs,interactionRender:us},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16},commodityImgRatio:{w:1,h:1}},style:{}},w:100,h:40,sort:1});var vs=[{title:"\u5F39\u7A97\u80CC\u666F",child:[{type:"Number",label:"\u5DE6\u53F3\u8FB9\u8DDD",name:["props","popupBg","horizontalMargin"]},{type:"Number",label:"\u4E0B\u8FB9\u8DDD",name:["props","popupBg","bottomMargin"]}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","commodityPicture","width"],addonAfter:"W"},{type:"Number",name:["props","commodityPicture","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","commodityPicture","borderRadius"],max:100},{type:"Number",name:["props","commodityPicture","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","commodityPicture","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Select",name:["fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["color"]},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{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 wn(t){const e=o.useRef(null),[i,n]=o.useState(!1);return o.useEffect(()=>{e.current=new IntersectionObserver(([s])=>{n(s.isIntersecting)})},[]),o.useEffect(()=>{var s;return t?.current&&((s=e?.current)===null||s===void 0||s.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const ps=({src:t,rec:e,item:i,index:n,style:s,translateY:l,imgStyle:r,enableEventReport:a=!0})=>{const d=o.useRef(null),v=wn(d),{ctaEvent:u}=ke();return o.useEffect(()=>{v&&t&&d?.current&&a&&u?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[v,t,d,e,u,i,n,a]),o.useMemo(()=>t?.includes(".avif")?t:`${t}?imrquality/rquality/20`,[t]),o.createElement("div",{className:ye.css(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},r))},o.createElement("div",{ref:d,hidden:!t,className:ye.css({width:"100%",height:"100%"})},o.createElement(it,{className:ye.css(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?l+50:50}%`},s)),src:t})))};var bt=o.memo(ps);const ms=t=>{var e,i,n,{style:s,isDefault:l,rec:r,viewTime:a,isPost:d,bottom_image:v,commodityStyles:u,buttonStyle:h,translateY:m=0,commodityPicture:f,isExternalLink:x,onClick:w}=t,I=Ke(t,["style","isDefault","rec","viewTime","isPost","bottom_image","commodityStyles","buttonStyle","translateY","commodityPicture","isExternalLink","onClick"]);const{sxpParameter:p,popupDetailData:T,setPopupDetailData:b,ctaEvent:E}=ke(),{jumpToWeb:P}=Qe(),{popup:g}=ut(),M=d?r:T,D=(i=(e=M?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[null,null,null,null],S=T?.index,c=o.useCallback(y=>{var C,k,O,j,z,F,N;const B=((C=u?.price)===null||C===void 0?void 0:C.enableFormattedPrice)===void 0||((k=u?.price)===null||k===void 0?void 0:k.enableFormattedPrice);return y?.currency&&y?.price?`${(z=(j=(O=y?.currency)===null||O===void 0?void 0:O.split("-")[1])===null||j===void 0?void 0:j.toUpperCase())!==null&&z!==void 0?z:""}${B?(N=(F=y?.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&N!==void 0?N:"":y?.price}`:`$${B?7e3.toLocaleString():7e3}`},[(n=u?.price)===null||n===void 0?void 0:n.enableFormattedPrice]),_=Ye.throttle((y,C)=>{E?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},M,y,S),b?.(Object.assign(Object.assign({},M),{video:Object.assign(Object.assign({},M?.video),{bindProduct:y}),index:S,multiCheckIndex:C})),x?y?.link&&(P(M,y,y.bindCta,S),window.location.href=window.getJointUtmLink(y.link)):w?.()},g?.duration);return o.createElement("div",{className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexDirection:"column",gap:"10px",padding:"0 20px",marginTop:"50px",boxSizing:"border-box"}))},D?.map((y,C)=>{var k,O,j,z,F,N,B,X,H,$;return o.createElement(o.Fragment,null,M&&!y?.bindCta?null:o.createElement("div",Object.assign({key:C},I,{className:ye.css({display:"flex"}),onClick:()=>_(y,C)}),o.createElement(bt,{src:(z=(j=(k=y?.cover)!==null&&k!==void 0?k:(O=y?.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:y,index:C,translateY:m,imgStyle:f,enableEventReport:!1}),o.createElement("div",{style:{width:`calc(100% - ${(F=f?.width)!==null&&F!==void 0?F:0}px - ${(N=f?.marginRight)!==null&&N!==void 0?N:0}px)`,display:"flex",flexDirection:"column",justifyContent:"space-between"}},o.createElement("div",null,o.createElement("div",{className:"one-line-ellipsis",style:u?.title,hidden:!!y&&!y?.title,dangerouslySetInnerHTML:{__html:he((B=y?.title)!==null&&B!==void 0?B:"Pendant in Yellow Gold with Diamonds, Medium",u?.title)}}),o.createElement("div",{className:"two-line-ellipsis",style:u?.collection,hidden:!!y&&(!y?.collection||y?.collection===""),dangerouslySetInnerHTML:{__html:he((X=y?.collection)!==null&&X!==void 0?X:"Tiffany Lock",u?.collection)}})),o.createElement("div",{className:ye.css({display:"flex",alignItems:"flex-end",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{style:u?.price,hidden:!!y&&!y?.price,dangerouslySetInnerHTML:{__html:he(c(y),u?.price)}})),o.createElement("div",{className:"one-line-ellipsis",style:Object.assign(Object.assign({},h),{padding:"0 15px"}),dangerouslySetInnerHTML:{__html:he(($=(H=y?.bindCta)===null||H===void 0?void 0:H.enTitle)!==null&&$!==void 0?$:"Shop Now",h)}})))))}))};var fs=o.memo(ms),hs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const gs=Re(fs,{displayName:"\u5546\u54C1\u5217\u8868",icon:"",category:"popup",type:"CommodityList",related:{settingRender:vs,interactionRender:hs},defaulSetting:{props:{commodityPicture:{width:100,height:100,marginRight:10},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:14},title:{color:"#000",fontSize:14},collection:{color:"#757575",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:30,width:100,textAlign:"center",color:"#fff",lineHeight:2.5}},style:{}},w:100,h:40,sort:1});var bs=[{title:"\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]}]}];const ys=t=>{var e,i,{content:n,btnText:s,style:l,icon:r,isPopup:a,isExternalLink:d,onClose:v,onClick:u,submitButtonStyle:h,contentStyle:m,isTel:f}=t,x=Ke(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle","contentStyle","isTel"]);const{popupDetailData:w}=ke(),I=(i=(e=w?.video)===null||e===void 0?void 0:e.bindCta)===null||i===void 0?void 0:i.remark;return o.createElement("div",Object.assign({className:`${ye.css(Object.assign(Object.assign({},l),{height:f?664:"100%"}))}`},x),o.createElement("iframe",{src:I,style:{width:"100%",height:"calc(100% - 50px)",marginTop:"40px",border:"none"}}))};var ws=o.memo(ys);const Ss=Re(ws,{displayName:"Iframe\u5F39\u7A97",icon:"",category:"popup",type:"Iframe",related:{settingRender:bs,bindableProps:[]},defaulSetting:{props:{},style:{}},w:100,h:40,sort:3});var dt=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","title","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","title","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","ctaTempStyles","ctaTitle","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","ctaTitle"]}]}],xs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ts=t=>{var{rec:e,children:i,className:n,onClick:s,style:l,isExternalLink:r=!1,index:a,jumpLink:d}=t;Ke(t,["rec","children","className","onClick","style","isExternalLink","index","jumpLink"]);const v=o.useRef(null),{popup:u}=ut(),{setPopupDetailData:h,ctaEvent:m}=ke(),{jumpToWeb:f}=Qe(),x=Ye.throttle(()=>{var w,I,p,T,b,E,P,g;const M=(I=(w=e?.video)===null||w===void 0?void 0:w.bindProduct)!==null&&I!==void 0?I:e?.video;if(m?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,M,a),h?.(Object.assign(Object.assign({},e),{index:a})),r){if(d||!((T=(p=e?.video)===null||p===void 0?void 0:p.bindProduct)===null||T===void 0)&&T.link){const D=(b=e?.video)===null||b===void 0?void 0:b.bindCta,S=(E=e?.video)===null||E===void 0?void 0:E.bindProduct;f(e,S,D,a),window.location.href=window.getJointUtmLink(d||((g=(P=e?.video)===null||P===void 0?void 0:P.bindProduct)===null||g===void 0?void 0:g.link)||"")}}else s?.()},u?.duration);return o.createElement("div",{ref:v,className:n,style:l,onClick:x},i)};var Bt=o.memo(Ts),Es={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};const As=t=>{var e,i,n,s,l,r,a,d,v,u,h,{content:m,style:f,bgImg:x,recData:w,bottom_image:I,ctaTempStyles:p,isExternalLink:T,translateY:b=0,index:E}=t,P=Ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=ke(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,D=(l=(s=(i=M?.cover)!==null&&i!==void 0?i:(n=M?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:I;return o.createElement(Bt,Object.assign({isExternalLink:T,rec:w,className:ye.css(Object.assign({},f)),style:{display:"flex"},index:E},P),o.createElement(bt,{src:D,rec:w,item:(a=(r=w?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:w?.video,index:E,translateY:b,imgStyle:p?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Es["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:he((d=M?.title)!==null&&d!==void 0?d:"Product Name",p?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((h=(u=M?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&h!==void 0?h:"Shop Now",p?.ctaTitle)}})))};var Cs=o.memo(As);const Is=Re(Cs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:xs,bindableProps:[],settingRender:dt},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},title:{fontSize:12,color:"#fff",textAlign:"left"},ctaTitle:{fontSize:10,color:"#fff",textAlign:"center",width:130,height:20,backgroundColor:"rgba(0,0,0,.5)"}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:1});var ks=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const _s=t=>{var e,i,n,s,l,r,{content:a,style:d,bgImg:v,recData:u,bottom_image:h,ctaTempStyles:m,isExternalLink:f,index:x}=t,w=Ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:I}=ke(),p=(e=u?.video)===null||e===void 0?void 0:e.bindCta,T=(n=(i=p?.icon)!==null&&i!==void 0?i:I?.bottom_image)!==null&&n!==void 0?n:h;return o.createElement(Bt,Object.assign({isExternalLink:f,rec:u,className:ye.css(Object.assign({alignItems:"center"},d)),style:{display:"flex"},index:x},w),o.createElement(bt,{src:T,rec:u,item:(l=(s=u?.video)===null||s===void 0?void 0:s.bindProduct)!==null&&l!==void 0?l:u?.video,index:x,imgStyle:m?.img}),o.createElement("div",{className:ye.css(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},m?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((r=p?.enTitle)!==null&&r!==void 0?r:"Product Name",m?.ctaTitle)}}))};var Ps=o.memo(_s);const Ds=Re(Ps,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ks,settingRender:dt?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:30,height:30,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:44,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:6});var Ms=[{title:"\u81EA\u5B9A\u4E49\u6807\u9898",child:[{type:"Switch",label:"\u81EA\u5B9A\u4E49\u6807\u9898\u5F00\u5173",name:["props","customTitle","display"]},{type:"Text",label:"\u6807\u9898\u6587\u6848",name:["props","customTitle","text"]},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","customTitle","style","width"],addonAfter:"W"},{type:"Number",name:["props","customTitle","style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","customTitle","style","borderRadius"],max:100},{type:"Number",name:["props","customTitle","style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","customTitle","style","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Select",name:["props","customTitle","style","fontFamily-cn"],bottomText:"\u4E2D\u6587\u5B57\u4F53"},{type:"Select",name:["props","customTitle","style","fontFamily-en"],bottomText:"\u82F1\u6587/\u5176\u4ED6\u5B57\u4F53"}]},{type:"Group",label:"",child:[{type:"Color",name:["props","customTitle","style","color"]},{type:"Number",addonAfter:"px",name:["props","customTitle","style","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","customTitle","style"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","customTitle","style"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","customTitle","style"]},{label:"\u4E0A\u8FB9\u8DDD",type:"Number",name:["props","customTitle","style","marginTop"],addonAfter:"px"}]}],Sn={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU","one-line-ellipsis":"index-module_one-line-ellipsis__buFw1"};const Os=t=>{var e,i,n,s,l,r,a,d,v,{content:u,style:h,bgImg:m,recData:f,bottom_image:x,ctaTempStyles:w,index:I,customTitle:p}=t,T=Ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index","customTitle"]);const{sxpParameter:b,bffEventReport:E}=ke();Qe();const P=(e=f?.video)===null||e===void 0?void 0:e.bindCta;(i=f?.video)===null||i===void 0||i.bindProduct;const g=(s=(n=P?.icon)!==null&&n!==void 0?n:b?.bottom_image)!==null&&s!==void 0?s:x;return o.createElement(Bt,Object.assign({index:I,rec:f,className:ye.css(Object.assign({alignItems:"center"},h)),style:{display:"flex"}},T,{jumpLink:(l=P?.link)!==null&&l!==void 0?l:""}),o.createElement(bt,{src:g,rec:f,item:(a=(r=f?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:f?.video,index:I,imgStyle:w?.img}),o.createElement("div",{className:ye.css({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},o.createElement("div",null,o.createElement("div",{className:Sn["tow-line-ellipsis"],style:w?.ctaTitle,dangerouslySetInnerHTML:{__html:he((d=P?.enTitle)!==null&&d!==void 0?d:"Product Name",w?.ctaTitle)}}),p?.display&&o.createElement("div",{style:Object.assign(Object.assign({},p?.style),{lineHeight:((v=p?.style)===null||v===void 0?void 0:v.height)+"px"}),className:Sn["one-line-ellipsis"],dangerouslySetInnerHTML:{__html:he(p?.text,p?.style)}}))))};var Ls=o.memo(Os),Ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],gi;const Bs=Re(Ls,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:(gi=dt?.filter(t=>t.type!=="commodityTitle"))===null||gi===void 0?void 0:gi.concat(Ms),bindableProps:[],interactionRender:Ns},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 Fs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],js={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Vs=t=>{var e,i,n,s,l,r,a,d,v,u,h,{content:m,style:f,bgImg:x,recData:w,bottom_image:I,ctaTempStyles:p,isExternalLink:T,translateY:b=0,index:E}=t,P=Ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:g}=ke(),M=(e=w?.video)===null||e===void 0?void 0:e.bindProduct,D=(l=(s=(i=M?.cover)!==null&&i!==void 0?i:(n=M?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:g?.bottom_image)!==null&&l!==void 0?l:I;return o.createElement(Bt,Object.assign({isExternalLink:T,rec:w,className:ye.css(Object.assign({},f)),style:{display:"flex"},index:E},P),o.createElement(bt,{src:D,rec:w,item:(a=(r=w?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:w?.video,index:E,translateY:b,imgStyle:p?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:js["tow-line-ellipsis"],style:p?.title,dangerouslySetInnerHTML:{__html:he((d=M?.title)!==null&&d!==void 0?d:"Product Name",p?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((v=p?.ctaTitle)===null||v===void 0?void 0:v.height)+"px"},p?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((h=(u=M?.bindCta)===null||u===void 0?void 0:u.enTitle)!==null&&h!==void 0?h:"Shop Now",p?.ctaTitle)}})))};var zs=o.memo(Vs);const Hs=Re(zs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:Fs,settingRender:dt,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 Gs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Us={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Ws=t=>{var e,i,n,s,l,r,a,d,v,u,{content:h,style:m,bgImg:f,recData:x,bottom_image:w,ctaTempStyles:I,isExternalLink:p,translateY:T=0,index:b}=t,E=Ke(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:P}=ke(),g=(e=x?.video)===null||e===void 0?void 0:e.bindProduct,M=(l=(s=(i=g?.cover)!==null&&i!==void 0?i:(n=g?.homePage)===null||n===void 0?void 0:n[0])!==null&&s!==void 0?s:P?.bottom_image)!==null&&l!==void 0?l:w;return o.createElement(Bt,Object.assign({isExternalLink:p,rec:x,className:ye.css(Object.assign({},m)),style:{display:"flex"},index:b},E),o.createElement(bt,{src:M,rec:x,item:(a=(r=x?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&a!==void 0?a:x?.video,index:b,translateY:T,imgStyle:I?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},o.createElement("div",{className:Us["tow-line-ellipsis"],style:I?.title,dangerouslySetInnerHTML:{__html:he((d=g?.title)!==null&&d!==void 0?d:"Product Name",I?.title)}}),o.createElement("div",{className:ye.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},I?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((u=(v=g?.bindCta)===null||v===void 0?void 0:v.enTitle)!==null&&u!==void 0?u:"Shop Now",I?.ctaTitle)}})))};var Ys=o.memo(Ws);const Xs=Re(Ys,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Gs,bindableProps:[],settingRender:dt},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 Js=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],qs={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ks=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:u,index:h,translateY:m=0}=t,f=Ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:x,setPopupDetailData:w,sxpParameter:I}=ke(),{popup:p}=ut(),{jumpToWeb:T}=Qe(),[b,E]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),P=Ye.throttle((g,M)=>{x?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,h),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),u?g?.link&&(T(r,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Nt,{isPadding:!!r},b?.map((g,M)=>{var D,S,c,_,y,C,k,O;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(pt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>P(g,M)}),o.createElement(bt,{src:(_=(c=(D=g?.cover)!==null&&D!==void 0?D:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:I?.bottom_image)!==null&&_!==void 0?_:d,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:qs["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((y=g?.title)!==null&&y!==void 0?y:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap",lineHeight:((C=v?.ctaTitle)===null||C===void 0?void 0:C.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((O=(k=g?.bindCta)===null||k===void 0?void 0:k.enTitle)!==null&&O!==void 0?O:"Shop Now",v?.ctaTitle)}}))))}))};var Zs=o.memo(Ks);const Qs=Re(Zs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Js,bindableProps:[],settingRender:dt},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 Rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],$s={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const er=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:u,index:h,translateY:m=0}=t,f=Ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:x}=ke(),{ctaEvent:w,setPopupDetailData:I}=ke(),{popup:p}=ut(),[T,b]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:E}=Qe(),P=Ye.throttle((g,M)=>{w?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,h),I?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),u?g?.link&&(E(r,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Nt,{isPadding:!!r},T?.map((g,M)=>{var D,S,c,_,y,C,k,O;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(pt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>P(g,M)}),o.createElement(bt,{src:(_=(c=(D=g?.cover)!==null&&D!==void 0?D:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:x?.bottom_image)!==null&&_!==void 0?_:d,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},o.createElement("div",{className:$s["two-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((y=g?.title)!==null&&y!==void 0?y:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({padding:"0 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",lineHeight:((C=v?.ctaTitle)===null||C===void 0?void 0:C.height)+"px"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((O=(k=g?.bindCta)===null||k===void 0?void 0:k.enTitle)!==null&&O!==void 0?O:"Shop Now",v?.ctaTitle)}}))))}))};var tr=o.memo(er);const ir=Re(tr,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Rs,settingRender:dt,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 nr=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],or={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const lr=t=>{var e,i,{content:n,style:s,bgImg:l,recData:r,onClick:a,bottom_image:d,ctaTempStyles:v,isExternalLink:u,index:h,translateY:m=0}=t,f=Ke(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:x,setPopupDetailData:w,sxpParameter:I}=ke(),{popup:p}=ut(),{jumpToWeb:T}=Qe(),[b,E]=o.useState((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),P=Ye.throttle((g,M)=>{x?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,g,h),w?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:g}),index:h,multiCheckIndex:M})),u?g?.link&&(T(r,g,g.bindCta,h),window.location.href=window.getJointUtmLink(g.link)):a?.()},p?.duration);return o.createElement(Nt,{isPadding:!!r},b?.map((g,M)=>{var D,S,c,_,y,C,k;return o.createElement(o.Fragment,null,r&&!g?.bindCta?null:o.createElement(pt,Object.assign({key:M,className:ye.css(Object.assign(Object.assign({},s),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},f,{onClick:()=>P(g,M)}),o.createElement(bt,{src:(_=(c=(D=g?.cover)!==null&&D!==void 0?D:(S=g?.homePage)===null||S===void 0?void 0:S[0])!==null&&c!==void 0?c:I?.bottom_image)!==null&&_!==void 0?_:d,rec:r,item:g,index:M,translateY:m,imgStyle:v?.img}),o.createElement("div",{className:ye.css({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},o.createElement("div",{className:or["tow-line-ellipsis"],style:v?.title,dangerouslySetInnerHTML:{__html:he((y=g?.title)!==null&&y!==void 0?y:"Product Name",v?.title)}}),o.createElement("div",{className:ye.css(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},v?.ctaTitle)),dangerouslySetInnerHTML:{__html:he((k=(C=g?.bindCta)===null||C===void 0?void 0:C.enTitle)!==null&&k!==void 0?k:"Shop Now",v?.ctaTitle)}}))))}))};var sr=o.memo(lr);const rr=Re(sr,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:nr,bindableProps:[],settingRender:dt},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 dr=[{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 ar=({icon:t,styles:e,textStyle:i,onClose:n})=>{var s;const{waterFallData:l,setOpenHashtag:r}=ke();return o.createElement("div",{className:"clc-sxp-nav",style:e},o.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),o.createElement("div",{className:"clc-sxp-nav-title",style:Object.assign(Object.assign({},i),{paddingLeft:i?.textAlign==="left"?"35px":0}),dangerouslySetInnerHTML:{__html:he(`#${(s=l?.hashTag)!==null&&s!==void 0?s:"\u6807\u9898"}`,i)}}))};var xn=o.memo(ar),ur=null,cr="3d989325-e7d6-4a74-8a97-98febdf5b567",vr=null,pr=null,mr={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"},fr=[{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}],hr="Handbags",Tn={productUserId:ur,requestId:cr,channel:vr,rtc:pr,tag:mr,recList:fr,hashTag:hr};const gr=t=>{var e;const{rec:i,style:n={},sizeChange:s=()=>{},unitWidth:l,index:r,showBorder:a,list:d,reportTagsView:v,textStyles:u,space:h}=t,{swiperRef:m,setRtcList:f,setOpenHashtag:x,sxpParameter:w}=ke(),[I,p]=o.useState(!1);o.useState(!1),o.useState({height:1,width:1});const T=o.useRef(null),b=o.useRef(null);o.useRef(null),o.useRef(null);const[E,P]=o.useState(""),g=o.useMemo(()=>{var C,k,O,j,z,F,N,B,X,H;return!((C=i?.video)===null||C===void 0)&&C.cover?(k=i?.video)===null||k===void 0?void 0:k.cover:!((j=(O=i?.video)===null||O===void 0?void 0:O.imgUrls)===null||j===void 0)&&j.length?(F=(z=i?.video)===null||z===void 0?void 0:z.imgUrls)===null||F===void 0?void 0:F[0]:!((B=(N=i?.product)===null||N===void 0?void 0:N.homePage)===null||B===void 0)&&B.length?(H=(X=i?.product)===null||X===void 0?void 0:X.homePage)===null||H===void 0?void 0:H[0]:w?.bottom_image||""},[i,w?.bottom_image]),M=o.useMemo(()=>{var C,k;return((C=i?.product)===null||C===void 0?void 0:C.title)||((k=i?.video)===null||k===void 0?void 0:k.title)||null},[i]),D=o.useMemo(()=>{var C;return n.transform?Number((C=n.transform)===null||C===void 0?void 0:C.substring(n.transform.indexOf(",",0)+1,n.transform.length-3)):void 0},[n]);o.useMemo(()=>D===void 0?!1:D<=a,[D,a]);const S=o.useMemo(()=>{var C,k,O,j,z,F,N,B,X,H,$,Z;const U=((C=u?.price)===null||C===void 0?void 0:C.enableFormattedPrice)===void 0||((k=u?.price)===null||k===void 0?void 0:k.enableFormattedPrice);return!((O=i?.product)===null||O===void 0)&&O.currency&&(!((j=i?.product)===null||j===void 0)&&j.price)?`${(B=(N=(F=(z=i?.product)===null||z===void 0?void 0:z.currency)===null||F===void 0?void 0:F.split("-")[1])===null||N===void 0?void 0:N.toUpperCase())!==null&&B!==void 0?B:""}${U?($=(H=(X=i?.product)===null||X===void 0?void 0:X.price)===null||H===void 0?void 0:H.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&$!==void 0?$:"":(Z=i?.product)===null||Z===void 0?void 0:Z.price}`:null},[i,(e=u?.price)===null||e===void 0?void 0:e.enableFormattedPrice]);o.useEffect(()=>{if(T.current===null||g==="")return;let C=null;I&&E?C=E:C=g,C&&T.current.setSrc(C)},[g,I,E]);const c=o.useRef(),_=o.useCallback(C=>{setTimeout(()=>{var k;const O=(k=c?.current)===null||k===void 0?void 0:k.offsetHeight;s(O+56+h,r)},0)},[h,s,r,l,c]),y=()=>{v(),f?.(d),setTimeout(()=>{var C;(C=m?.current)===null||C===void 0||C.swiper.slideTo(r,0,!1),x?.(!1)},0)};return o.createElement("div",{ref:b,style:Object.assign({},n),className:"waterFallList-content-listItem",key:r,onClick:y},o.createElement("div",{className:"waterFallList-content-listItem-picture",ref:c},o.createElement(it,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:_,ref:T})),o.createElement("div",{className:"waterFallList-content-listItem-info"},o.createElement("div",{className:`waterFallList-content-listItem-info-title ${S?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},u?.title),dangerouslySetInnerHTML:{__html:he(M,u?.title)}}),o.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!S,style:u.price,dangerouslySetInnerHTML:{__html:he(S,u?.price)}})))};function br(t){var e,i,n,s,l,r,a,d,v,u,h,m,f,x,w,I,p,T,b,E,P,g,{reportTagsView:M,showBanner:D}=t,S=Ke(t,["reportTagsView","showBanner"]);const{waterFallData:c,getRecommendVideos:_,hashTagSize:y,loadingImage:C,isOpenHashTag:k,cacheActiveIndex:O}=ke(),{jumpToWeb:j}=Qe(),z=o.useRef(null),[F,N]=o.useState(0),[B,X]=o.useState(),H=o.useRef(null),[$,Z]=o.useState([]),U=o.useRef(),V=[170,230,300],[ce,be]=o.useState(!1),[te,q]=o.useState([]),re=o.useRef(),ne=o.useCallback((G,pe)=>Math.floor(Math.random()*(pe-G+1))+G,[]),oe=o.useRef([]),[ve,we]=o.useState({width:0}),ee=o.useMemo(()=>{const G=ve.width||0;return G>=1200?6:G>=768&&G<=1199?4:2},[ve]),fe=o.useMemo(()=>ve.width/ee-2,[ee,ve]),Se=o.useCallback(()=>{var G;const pe=(G=U.current)!==null&&G!==void 0?G:[],xe=[];for(let le=0;le<te?.length;le++){const Ve=Math.floor(le/ee),Le=le%ee+1;let He=0,K=9999999999;if(Ve===0)xe[le]=le;else{for(let L=0;L<xe.length;L++)oe.current[xe[L]].top+oe.current[xe[L]].height<K&&(He=L,K=oe.current[xe[L]].top+oe.current[xe[L]].height);xe[He]=le}oe.current[le]===void 0&&(oe.current[le]={}),Ve===0?(Le===1?oe.current[le].left=0:oe.current[le].left=oe.current[le-1].left+fe+4,oe.current[le].top=0):(oe.current[le].left=oe.current[He].left,oe.current[le].top=K),oe.current[le].height=oe.current[le].height||V[ne(0,2)],pe[le]={transform:`translate(${oe.current[le].left}px,${oe.current[le].top}px)`,width:`${fe}px`,height:oe.current[le].height}}return Z([...pe]),[...pe]},[fe,ee,V,ne,te]),De=o.useCallback((G,pe)=>{oe.current[pe]===void 0&&(oe.current[pe]={}),oe.current[pe].height=G,U.current=Se()},[Se]);o.useEffect(()=>{U.current=Se()},[fe,ee,te]),o.useEffect(()=>{var G,pe;if(be(!0),c&&_?.({hashTag:c?.hashTag,defaultSize:y,maxSize:y}).then(xe=>{var le,Ve;X(xe),q((Ve=(le=xe?.recList)===null||le===void 0?void 0:le.filter(Le=>Le?.video!==null||Le?.product!==null))!==null&&Ve!==void 0?Ve:[]),be(!1)}),k){const xe=Tn;X(xe),q((pe=(G=xe?.recList)===null||G===void 0?void 0:G.filter(le=>le?.video!==null||le?.product!==null))!==null&&pe!==void 0?pe:[]),be(!1)}},[c,_,y,k]);const Ce=o.useCallback(()=>{H.current!==null&&we({width:H.current.getBoundingClientRect().width})},[]);o.useEffect(()=>{if(H.current===null)return;const G=new ResizeObserver(pe=>{Ce()});return G.observe(H.current),()=>{G.disconnect()}},[Ce]),o.useCallback(()=>{be(!0),c&&_?.({hashTag:c?.hashTag}).then(G=>{var pe,xe;q(te?.concat((xe=(pe=G?.recList)===null||pe===void 0?void 0:pe.filter(le=>!le?.video))!==null&&xe!==void 0?xe:[])),be(!1)})},[c,_,te]);const Me=o.useCallback(()=>{N(z.current.scrollTop)},[]);o.useEffect(()=>{var G;return(G=z?.current)===null||G===void 0||G.addEventListener("scroll",Me),()=>{var pe;(pe=z?.current)===null||pe===void 0||pe.removeEventListener("scroll",Me)}},[Me,z]);const Ne=()=>{var G,pe,xe,le,Ve;if(!((G=B?.tag)===null||G===void 0)&&G.link){M();const Le=c?.rec;j(Le,(pe=Le?.video)===null||pe===void 0?void 0:pe.bindProduct,(xe=Le?.video)===null||xe===void 0?void 0:xe.bindCta,O,(le=Le?.video)===null||le===void 0?void 0:le.traceInfo),window.location.href=window.getJointUtmLink((Ve=B?.tag)===null||Ve===void 0?void 0:Ve.link)}};return o.createElement(o.Fragment,null,ce?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:C,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"waterFallList",ref:H},o.createElement("div",{className:"waterFallList-scroll",ref:z},D&&((e=B?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:Ne},o.createElement(it,{className:ye.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=B?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"waterFallList-info",style:(n=S?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:he((s=B?.tag)===null||s===void 0?void 0:s.info,(l=S?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=B?.tag)===null||r===void 0)&&r.link),className:"waterFallList-collection",style:Object.assign({},(a=S?.textStyles)===null||a===void 0?void 0:a.hashTagLink),onClick:Ne,dangerouslySetInnerHTML:{__html:he(((d=B?.tag)===null||d===void 0?void 0:d.linkTitle)||"Shop the collection",(v=S?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"waterFallList-content"},te?.map((G,pe)=>{var xe;return o.createElement(gr,Object.assign({key:pe,index:pe,rec:G,list:te,showBorder:F+((xe=z?.current)===null||xe===void 0?void 0:xe.clientHeight),style:$[pe],sizeChange:De,unitWidth:fe,reportTagsView:M},S))}),o.createElement("div",{hidden:!(!((u=B?.tag)===null||u===void 0)&&u.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(w=((m=oe?.current[((h=oe?.current)===null||h===void 0?void 0:h.length)-1])===null||m===void 0?void 0:m.top)+((x=oe?.current[((f=oe?.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:!((I=B?.tag)===null||I===void 0)&&I.link?((p=re?.current)===null||p===void 0?void 0:p.offsetHeight)||((T=S?.buttonBgStyle)===null||T===void 0?void 0:T.height)||"100px":0}}))),o.createElement("div",{className:"waterFallList-bottom",hidden:!(!((b=B?.tag)===null||b===void 0)&&b.link),style:S?.buttonBgStyle}),o.createElement("div",{ref:re,hidden:!(!((E=B?.tag)===null||E===void 0)&&E.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},S?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((P=B?.tag)===null||P===void 0?void 0:P.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:S?.buttonStyle,onClick:Ne,dangerouslySetInnerHTML:{__html:he(((g=B?.tag)===null||g===void 0?void 0:g.linkTitle)||"Shop the collection",S?.buttonStyle)}}))))}var yr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const wr=t=>{var e;const{rec:i,index:n,list:s,reportTagsView:l,textStyles:r,space:a}=t,{swiperRef:d,setRtcList:v,setOpenHashtag:u,sxpParameter:h}=ke(),[m,f]=o.useState(!1),x=o.useRef(null),w=o.useRef(null),I=o.useRef(null),p=o.useRef(null),[T,b]=o.useState(""),E=o.useMemo(()=>{var S,c,_,y,C,k,O,j,z,F;return!((S=i?.video)===null||S===void 0)&&S.cover?(c=i?.video)===null||c===void 0?void 0:c.cover:!((y=(_=i?.video)===null||_===void 0?void 0:_.imgUrls)===null||y===void 0)&&y.length?(k=(C=i?.video)===null||C===void 0?void 0:C.imgUrls)===null||k===void 0?void 0:k[0]:!((j=(O=i?.product)===null||O===void 0?void 0:O.homePage)===null||j===void 0)&&j.length?(F=(z=i?.product)===null||z===void 0?void 0:z.homePage)===null||F===void 0?void 0:F[0]:h?.bottom_image||""},[i,h?.bottom_image]),P=o.useMemo(()=>{var S,c;return((S=i?.product)===null||S===void 0?void 0:S.title)||((c=i?.video)===null||c===void 0?void 0:c.title)||null},[i]),g=o.useMemo(()=>{var S,c,_,y,C,k,O,j,z,F,N,B;const X=((S=r?.price)===null||S===void 0?void 0:S.enableFormattedPrice)===void 0||((c=r?.price)===null||c===void 0?void 0:c.enableFormattedPrice);return!((_=i?.product)===null||_===void 0)&&_.currency&&(!((y=i?.product)===null||y===void 0)&&y.price)?`${(j=(O=(k=(C=i?.product)===null||C===void 0?void 0:C.currency)===null||k===void 0?void 0:k.split("-")[1])===null||O===void 0?void 0:O.toUpperCase())!==null&&j!==void 0?j:""}${X?(N=(F=(z=i?.product)===null||z===void 0?void 0:z.price)===null||F===void 0?void 0:F.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&N!==void 0?N:"":(B=i?.product)===null||B===void 0?void 0:B.price}`:null},[i,(e=r?.price)===null||e===void 0?void 0:e.enableFormattedPrice]);o.useEffect(()=>{const S=new IntersectionObserver(c=>{c.forEach(_=>{if(_.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,c,_)=>{const y=S/c;return _/y};o.useEffect(()=>{const S=I?.current;S===null||E===""||!m||(S.src=E,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const c=p?.current;if(!c)return;const _=c.getContext("2d"),y=window?.innerWidth/2,C=M(S.videoWidth,S.videoHeight,y);c.height=C,c.width=y,_?.drawImage(S,0,0,c.width,c.height),b(c.toDataURL()),S.remove(),c.remove()})},[E,m]);const D=()=>{l(),v?.(s),setTimeout(()=>{var S;(S=d?.current)===null||S===void 0||S.swiper.slideTo(n,0,!1),u?.(!1)},0)};return o.createElement("div",{ref:w,className:"list-content-listItem",key:n,onClick:D,style:{marginBottom:a}},o.createElement("div",{className:"list-content-listItem-picture"},m&&o.createElement("div",{style:{display:"none"}},o.createElement("video",{ref:I,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),o.createElement("canvas",{ref:p})),o.createElement(it,{loading:"lazy",className:"list-content-listItem-picture-img",ref:x})),o.createElement("div",{className:"list-content-listItem-info"},o.createElement("div",{className:`list-content-listItem-info-title ${g?"list-content-listItem-info-nowrap":""}`,style:r?.title,dangerouslySetInnerHTML:{__html:he(P,r?.title)}}),o.createElement("div",{className:"list-content-listItem-info-price",style:r?.price,hidden:!g,dangerouslySetInnerHTML:{__html:he(g,r?.price)}})))};function Sr(t){var e,i,n,s,l,r,a,d,v,u,h,m,f,x,w,I,p,{reportTagsView:T,showBanner:b}=t,E=Ke(t,["reportTagsView","showBanner"]);const{waterFallData:P,getRecommendVideos:g,hashTagSize:M,loadingImage:D,isOpenHashTag:S,cacheActiveIndex:c}=ke(),{jumpToWeb:_}=Qe(),[y,C]=o.useState(),[k,O]=o.useState(),[j,z]=o.useState(!1),F=o.useRef(null),[N,B]=o.useState(!1);o.useCallback(()=>{N||(B(!0),P&&g?.({hashTag:P?.hashTag}).then(H=>{var $;C(y?.concat(($=H?.recList)!==null&&$!==void 0?$:[])),B(!1)}))},[P,g,y,N]),o.useEffect(()=>{var H,$;if(z(!0),P&&g?.({hashTag:P?.hashTag,defaultSize:M,maxSize:M}).then(Z=>{var U,V;O(Z),C((V=(U=Z?.recList)===null||U===void 0?void 0:U.filter(ce=>ce?.video!==null||ce?.product!==null))!==null&&V!==void 0?V:[]),z(!1)}),S){const Z=Tn;O(Z),C(($=(H=Z?.recList)===null||H===void 0?void 0:H.filter(U=>U?.video!==null||U?.product!==null))!==null&&$!==void 0?$:[]),z(!1)}},[P,g,M,S]);const X=()=>{var H,$,Z,U,V;if(!((H=k?.tag)===null||H===void 0)&&H.link){T();const ce=P?.rec;_(ce,($=ce?.video)===null||$===void 0?void 0:$.bindProduct,(Z=ce?.video)===null||Z===void 0?void 0:Z.bindCta,c,(U=ce?.video)===null||U===void 0?void 0:U.traceInfo),window.location.href=window.getJointUtmLink((V=k?.tag)===null||V===void 0?void 0:V.link)}};return o.createElement(o.Fragment,null,j?o.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):o.createElement("div",{className:"list"},o.createElement("div",{className:"list-scroll",ref:F},b&&((e=k?.tag)===null||e===void 0?void 0:e.picture)&&o.createElement("div",{onClick:X},o.createElement(it,{className:ye.css({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=k?.tag)===null||i===void 0?void 0:i.picture})),o.createElement("div",{className:"list-info",style:(n=E?.textStyles)===null||n===void 0?void 0:n.hashTagDesc,dangerouslySetInnerHTML:{__html:he((s=k?.tag)===null||s===void 0?void 0:s.info,(l=E?.textStyles)===null||l===void 0?void 0:l.hashTagDesc)}}),o.createElement("div",{hidden:!(!((r=k?.tag)===null||r===void 0)&&r.link),className:"list-collection",onClick:X,style:Object.assign(Object.assign({},(a=E?.textStyles)===null||a===void 0?void 0:a.hashTagLink),{marginBottom:E?.space}),dangerouslySetInnerHTML:{__html:he(((d=k?.tag)===null||d===void 0?void 0:d.linkTitle)||"Shop the collection",(v=E?.textStyles)===null||v===void 0?void 0:v.hashTagLink)}}),o.createElement("div",{className:"list-content"},y?.map((H,$)=>o.createElement(wr,Object.assign({key:$,index:$,rec:H,list:y,reportTagsView:T},E)))),o.createElement("div",{hidden:!N,style:{textAlign:"center"}},"loading..."),o.createElement("div",{hidden:!(!((u=k?.tag)===null||u===void 0)&&u.link),style:{height:!((h=k?.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}})),o.createElement("div",{className:"list-bottom",hidden:!(!((x=k?.tag)===null||x===void 0)&&x.link),style:E?.buttonBgStyle}),o.createElement("div",{hidden:!(!((w=k?.tag)===null||w===void 0)&&w.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},E?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},o.createElement("button",{"aria-label":((I=k?.tag)===null||I===void 0?void 0:I.linkTitle)||"Shop the collection",className:"list-btn",style:E?.buttonStyle,onClick:X,dangerouslySetInnerHTML:{__html:he(((p=k?.tag)===null||p===void 0?void 0:p.linkTitle)||"Shop the collection",E?.buttonStyle)}}))))}const xr=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:s,swiperRef:l,setWaterFallData:r,cacheRtcList:a,setRtcList:d,cacheActiveIndex:v,rtcList:u,setCacheRtcList:h,setIsFromHashtag:m,isFromHashtag:f,bffEventReport:x,themeTag:w,selectTag:I}=ke(),{backMainFeed:p}=Qe();o.useRef(null);const T=o.useRef(null),[b,E]=o.useState();o.useEffect(()=>{const S=document.getElementById("sxp-render"),c=document.getElementById("water-fall");c?T.current=c:(T.current=document.createElement("div"),T.current.setAttribute("id","water-fall"),S?.appendChild(T.current))},[]);const P=()=>{const S=Ye.isEqual(u,a);!S&&a&&a?.length&&d?.(a),p("branch",I,void 0,i?.hashTag),D(),r?.(void 0),m?.(!1),setTimeout(()=>{var c,_;S||(_=(c=l?.current)===null||c===void 0?void 0:c.swiper)===null||_===void 0||_.slideTo(v,0,!1),n?.(!1)},0)},[g,M]=o.useState();o.useEffect(()=>{i&&M(i)},[i]);const D=o.useCallback(()=>{var S,c,_,y,C,k;const O=g?.rec;if(!O)return;let j="";f?j="hashTagPage":!((S=O?.video)===null||S===void 0)&&S.url?j="videoPage":!((_=(c=O?.video)===null||c===void 0?void 0:c.imgUrls)===null||_===void 0)&&_.length&&(j="imagePage"),x?.({eventInfo:{contentId:(y=O?.video)===null||y===void 0?void 0:y.itemId,position:v+"",contentTags:JSON.stringify((C=O?.video)===null||C===void 0?void 0:C.tags),traceInfo:(k=O?.video)===null||k===void 0?void 0:k.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,x,b,f,v]);return o.useEffect(()=>{s&&E(new Date)},[s]),o.useEffect(()=>{const S=()=>{E(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),T.current?_i.createPortal(o.createElement("div",{className:"waterfall",style:{display:s?"block":"none"}},o.createElement(xn,{icon:yr,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:P}),t?.openFixedSize===!0||t?.openFixedSize===void 0?o.createElement(Sr,Object.assign({reportTagsView:D},t)):o.createElement(br,Object.assign({reportTagsView:D},t))),T.current):null};var En=o.memo(xr);const Tr=t=>o.createElement(En,Object.assign({},t));var Er=o.memo(Tr);const Ar=Re(Er,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:dr,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 Cr=[{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 An=t=>o.createElement(An,Object.assign({},t));var Ir=o.memo(An);const kr=Re(Ir,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:Cr},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var _r=[{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"]}]}],Cn={"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 Pr=t=>{var e,i,n,s,l,r,a,d,v,u,{style:h,recData:m,ctaTempStyles:f,index:x,event:w,onClick:I,isExternalLink:p=!1}=t,T=Ke(t,["style","recData","ctaTempStyles","index","event","onClick","isExternalLink"]);const{ctaEvent:b,setPopupDetailData:E}=ke(),{jumpToWeb:P}=Qe(),[g,M]=o.useState(!1),D=o.useRef(null),S=wn(D),c=((n=(i=(e=m?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=m?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=m?.video)===null||r===void 0?void 0:r.bindCta),_=((d=(a=m?.video)===null||a===void 0?void 0:a.bindProducts)===null||d===void 0?void 0:d[0])||((v=m?.video)===null||v===void 0?void 0:v.bindProduct),y=()=>{var j,z,F,N;const B=((z=(j=m?.video)===null||j===void 0?void 0:j.bindProducts)===null||z===void 0?void 0:z[0])||((F=m?.video)===null||F===void 0?void 0:F.bindProduct)||m?.video;if(b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},m,B,x),E?.(Object.assign(Object.assign({},m),{index:x})),p){const X=_?.link||((N=B?.bindCta)===null||N===void 0?void 0:N.link);X&&(P(m,_,c,x),window.location.href=window.getJointUtmLink(X))}else I?.()},C=c?.enTitle||"\u67E5\u770B\u8BE6\u60C5",k=o.useMemo(()=>{var j,z;const F=w?.animation;if(F){const{delay:N,duration:B,backgroundColor:X}=F;return{":after":{animationDelay:`${(j=N/1e3)!==null&&j!==void 0?j:0}s`,animationDuration:`${(z=B/1e3)!==null&&z!==void 0?z:0}s`,backgroundColor:`${X??"transparent"}`}}}},[w?.animation]);o.useEffect(()=>{var j,z,F;S&&D?.current&&b?.({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])||((F=m?.video)===null||F===void 0?void 0:F.bindProduct)||m?.video,x)},[S]),o.useEffect(()=>{M(!!S)},[S]);const O=o.useMemo(()=>g?Cn["animated-button"]:null,[g]);return o.createElement("div",Object.assign({ref:D,style:Object.assign(Object.assign(Object.assign({},h),f?.ctaTitle),{lineHeight:`${(u=h?.height)!==null&&u!==void 0?u:0}px`})},T,{className:`${O} ${ye.css(k)} ${Cn["one-line-ellipsis"]}`,onClick:y,dangerouslySetInnerHTML:{__html:he(C,f?.ctaTitle)}}))};var Dr=o.memo(Pr),Mr=[{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 Or=Re(Dr,{displayName:"\u7EAF\u8272\u52A8\u6548CTA",icon:"",category:"cta",type:"AniLink",related:{settingRender:_r,bindableProps:[],interactionRender:Mr},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 Lr=[{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"]}]}],Mt={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 Nr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Br=t=>{var e,i,n,s,l,r,a,d,v,u,h,m,f,x,w,I,p,T,b,E,P,g,M,D,{style:S,recData:c,ctaTempStyles:_,index:y,event:C,bottom_image:k,translateY:O,isTel:j,onClick:z,isExternalLink:F=!1,isActive:N}=t,B=Ke(t,["style","recData","ctaTempStyles","index","event","bottom_image","translateY","isTel","onClick","isExternalLink","isActive"]);S==null||delete S.transform;const{sxpParameter:X,globalConfig:H,ctaEvent:$,setPopupDetailData:Z}=ke(),{jumpToWeb:U}=Qe(),[V,ce]=o.useState(!0),be=((n=(i=(e=c?.video)===null||e===void 0?void 0:e.bindProducts)===null||i===void 0?void 0:i[0])===null||n===void 0?void 0:n.bindCta)||((l=(s=c?.video)===null||s===void 0?void 0:s.bindProduct)===null||l===void 0?void 0:l.bindCta)||((r=c?.video)===null||r===void 0?void 0:r.bindCta),te=((d=(a=c?.video)===null||a===void 0?void 0:a.bindProducts)===null||d===void 0?void 0:d[0])||((v=c?.video)===null||v===void 0?void 0:v.bindProduct),q=()=>{var ee,fe,Se,De;const Ce=((fe=(ee=c?.video)===null||ee===void 0?void 0:ee.bindProducts)===null||fe===void 0?void 0:fe[0])||((Se=c?.video)===null||Se===void 0?void 0:Se.bindProduct)||c?.video;if($?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},c,Ce,y),Z?.(Object.assign(Object.assign({},c),{index:y})),F){const Me=te?.link||((De=Ce?.bindCta)===null||De===void 0?void 0:De.link);Me&&(U(c,te,be,y),window.location.href=window.getJointUtmLink(Me))}else z?.()},re=be?.enTitle||"\u67E5\u770B\u8BE6\u60C5",ne=o.useMemo(()=>{const ee=C?.animation;if(ee){const{delay:fe,duration:Se}=ee;return{animationDelay:`${fe?fe/1e3:0}s`,animationDuration:`${Se?Se/1e3:0}s`}}},[C?.animation]),oe=(x=(f=(m=(u=te?.cover)!==null&&u!==void 0?u:(h=te?.homePage)===null||h===void 0?void 0:h[0])!==null&&m!==void 0?m:be?.icon)!==null&&f!==void 0?f:X?.bottom_image)!==null&&x!==void 0?x:k,ve=ee=>{ee.stopPropagation(),ce(!1)};o.useEffect(()=>{ce(!0)},[N]);const we=o.useMemo(()=>N&&V?Mt["animated-fadeIn"]:null,[N,V]);return o.createElement(o.Fragment,null,j?o.createElement("div",{style:{height:"40px",lineHeight:"40px",paddingLeft:"6px"}},"Cta Title"):o.createElement("div",Object.assign({},B,{className:`${ye.css(Object.assign(Object.assign({},S),{"--transY":`translateY(calc(100% + ${(w=S?.margin)!==null&&w!==void 0?w:0}px))`}))} ${Mt.aniLinkPopup} ${we} ${ye.css(ne)}`,onClick:q}),o.createElement("div",{onClick:ve,className:Mt["modal-icon-wrapper"],style:{padding:(I=S?.padding)!==null&&I!==void 0?I:0}},o.createElement("img",{src:(p=H?.popupCloseIcon)!==null&&p!==void 0?p:Nr,alt:"close",className:Mt["modal-icon-wrapper-img"]})),o.createElement(bt,{src:oe,rec:c,item:(g=(E=(b=(T=c?.video)===null||T===void 0?void 0:T.bindProducts)===null||b===void 0?void 0:b[0])!==null&&E!==void 0?E:(P=c?.video)===null||P===void 0?void 0:P.bindProduct)!==null&&g!==void 0?g:c?.video,index:y,translateY:O,imgStyle:_?.img}),(!c||te?.title)&&o.createElement("div",{className:Mt["one-line-ellipsis"],style:_?.title,dangerouslySetInnerHTML:{__html:he((M=te?.title)!==null&&M!==void 0?M:"Product Name",_?.title)}}),o.createElement("div",{className:Mt["one-line-ellipsis"],style:Object.assign(Object.assign({},_?.ctaTitle),{lineHeight:((D=_?.ctaTitle)===null||D===void 0?void 0:D.height)+"px"}),dangerouslySetInnerHTML:{__html:he(re,_?.ctaTitle)}})))};var Fr=o.memo(Br),jr=[{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 Vr=Re(Fr,{displayName:"\u7AD6\u7248\u5F39\u7A97CTA",icon:"",category:"cta",type:"AniLinkPopup",related:{settingRender:Lr,bindableProps:[],interactionRender:jr},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 bi=Object.freeze({__proto__:null,AniLink:Or,AniLinkPopup:Vr,Appoint:Ds,AppointForm:vo,Commodity:Is,CommodityDetail:es,CommodityDetailDiroNew:cs,CommodityDiro:Hs,CommodityDiroNew:Xs,CommodityList:gs,Consent:kr,HashTag:Ar,Iframe:Ss,Link:Bs,MultiCommodity:ir,MultiCommodityDiro:Qs,MultiCommodityDiroNew:rr,Prompt:ss});const zr="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Hr="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Gr=t=>{var e,{active:i,activeIcon:n,unActicveIcon:s,recData:l,position:r}=t,a=Ke(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:d,mutateUnlike:v,bffEventReport:u,setCacheRtcList:h,cacheRtcList:m}=ke(),[f,x]=o.useState((e=m?.[r])===null||e===void 0?void 0:e.isCollected),w=st(Hr),I=st(zr),p=Ye.debounce(()=>$e(void 0,void 0,void 0,function*(){var T,b,E,P,g,M,D,S,c,_,y,C,k,O,j,z,F,N,B,X,H,$;if(f){x(!1);const Z=(E=yield v?.({videoItemId:(b=(T=l?.video)===null||T===void 0?void 0:T.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=(P=l?.video)===null||P===void 0?void 0:P.itemId)!==null&&g!==void 0?g:"",contentName:(D=(M=l?.video)===null||M===void 0?void 0:M.title)!==null&&D!==void 0?D:"",contentTags:JSON.stringify((c=(S=l?.video)===null||S===void 0?void 0:S.tags)!==null&&c!==void 0?c:[]),position:r+"",contentFormat:!((_=l?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(y=l?.video)===null||y===void 0?void 0:y.traceInfo}}),!Z)x(!0);else{const U=(C=m?.map((V,ce)=>(ce===r&&(V.isCollected=!1),V)))!==null&&C!==void 0?C:[];h?.(U)}}else{x(!0);const Z=(k=yield d?.({content:JSON.stringify(l)}))!==null&&k!==void 0?k:!1;if(u?.({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:(F=(z=l?.video)===null||z===void 0?void 0:z.title)!==null&&F!==void 0?F:"",contentTags:JSON.stringify((B=(N=l?.video)===null||N===void 0?void 0:N.tags)!==null&&B!==void 0?B:[]),position:r+"",contentFormat:!((X=l?.video)===null||X===void 0)&&X.url?"video":"image",traceInfo:(H=l?.video)===null||H===void 0?void 0:H.traceInfo}}),!Z)x(!1);else{const U=($=m?.map((V,ce)=>(ce===r&&(V.isCollected=!0),V)))!==null&&$!==void 0?$:[];h?.(U)}}}),200);return o.createElement("button",Object.assign({},a,{"aria-label":"like",onClick:p}),o.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:f?n||w:s||I,alt:"icon"}))};var In=o.memo(Gr),Ur="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/6zUROcDYY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JEkxZIVEwlEwvFjx5cubXQ5SdOkTYkRPbbcqVPnmpsog9b8B5NnUYX/hAKtCc5gz6MvBy5d6qahy6scMRJcqhUjj2JIuxYMCAAh+QQJBAD/ACw3ABcAEwAOAAAIYgD/CRxIUKCbYl0KKkQCrgs4Nw0fglNYqlgicBUvZsQYbGBEiA5BSgw5EdvGkxYxpiz1sSXJlyo1rpwp86LImy4l1ozJ82ROnC+LdaLZc6bBny6LDXSDUqabRAoFrmkZdWBAACH5BAkDAP8ALDoAFwASAA0AAAhiAP8JHDjQTbFOxRIVIjgQCbgu4Nw8jPiQG8NE4EolzLhRI8aCEyVCFEkR4r9CHDF6TJnyX8iXI1+WWkmzY0eHJHPCBPdPpU2fQF3GHFoyokCDQFl6dAOSKMk1DAXaZBr1X0AAIfkECQMA/wAsPgAXABAADQAACFkA/wkU6KZYp2KJwHVyM1AgEnBuwHWBKJHiwIIJSyEEpzFjsX9PKE6MOLJixI0dOaJESVKky5YqPcqMWbLmS3ArZ6Z0A8Wkz5oCD+pE2TDKT4o2GjZkqLRhQAAh+QQJBAD/ACxAABcAEAAMAAAIWQD/CfyXqFSxROAMFko0UOATcF3AuYEoESK3hgkPZkRoMBE2gRQnRhRZsUuofx03qlSIpKRLkhMTcdSYsmbLkSFzdrlYk6ZPgcVg6gS3ZuBKnwwb/hO6s2FAACH5BAkEAP8ALEMAFwAPAAwAAAhTAP8JLJQIXKliBUsJXPgPnBtwXRxClLgQoUGLBxMmavgwYkeJHv8lxEiy4JqJH1NCLJbx4siRHlHK9FiqkMubLQXG3CnRxsKXN90w/IcEJMWFAQEAOw==";const yi=(()=>{if(typeof document>"u")return;const t=document.createElement("div"),e=ki.render(o.createElement("video",{id:"player-container-id",playsInline:!0,crossOrigin:"anonymous",preload:"auto",controls:!1,muted:!0,style:{backgroundColor:"transparent",width:"100%",height:"100%",objectFit:"cover",pointerEvents:"none"}}),t);return i=>i?(i.innerHTML="",i.appendChild(e),document.querySelector("#player-container-id")):void 0})(),Wr=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,videoPlayIcon:a})=>{const[d,v]=o.useState(!1),{bffEventReport:u,sxpParameter:h,waterFallData:m,openHashtag:f,bffFbReport:x}=ke(),w=o.useRef(0),[I,p]=o.useState(!1),[T,b]=o.useState(!0),{isActive:E}=gn(),P=o.useRef(null),[g,M]=o.useState(""),[D,S]=o.useState(!1),c=o.useRef(),_=`pb-cache-video-${e}`,y=o.useRef(null),C=o.useMemo(()=>r?.mode==="2",[r]),k=o.useMemo(()=>{var q;return r?.mode==="2"?`translateY(-${50+((q=r?.offsetTop)!==null&&q!==void 0?q:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),O=o.useMemo(()=>{var q;return((q=t?.video)===null||q===void 0?void 0:q.cover)||g},[g,t]),j=o.useMemo(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]),z=o.useMemo(()=>r?.bgWay==="1",[r]),F=o.useMemo(()=>z&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,z]);o.useEffect(()=>{c?.current&&(c.current.muted=s)},[s,c?.current]);const N=o.useCallback(()=>{var q;c?.current&&((q=c?.current)===null||q===void 0||q.play())},[c?.current]),B=st("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),X=o.useCallback(()=>{c?.current&&(S(!1),p(!0))},[]),H=o.useCallback(()=>{var q,re,ne,oe,ve,we,ee,fe,Se,De,Ce,Me,Ne;if(!c?.current)return;v(!1);const G=n[e];if(G&&(!((q=c?.current)===null||q===void 0)&&q.duration)){w.current=((re=c?.current)===null||re===void 0?void 0:re.currentTime)||0;const pe=((oe=(ne=c?.current)===null||ne===void 0?void 0:ne.duration)!==null&&oe!==void 0?oe:0).toFixed(2),xe=((we=(ve=c?.current)===null||ve===void 0?void 0:ve.currentTime)!==null&&we!==void 0?we:0).toFixed(2),le=T?"0":"1";u?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(fe=(ee=G?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&fe!==void 0?fe:"",contentName:(De=(Se=G?.video)===null||Se===void 0?void 0:Se.title)!==null&&De!==void 0?De:"",playType:le,startTime:xe,videoDuration:pe,contentTags:JSON.stringify((Me=(Ce=G?.video)===null||Ce===void 0?void 0:Ce.tags)!==null&&Me!==void 0?Me:[]),position:e+"",contentFormat:"video",traceInfo:(Ne=G?.video)===null||Ne===void 0?void 0:Ne.traceInfo}}),b(!1)}},[u,n,e,T,c?.current]),$=o.useCallback(()=>{var q;if(!c?.current||g||!C||(c.current.style.objectFit="contain",!((q=t?.video)===null||q===void 0)&&q.cover||!P||!P.current||z))return;const re=()=>{const ne=P?.current,oe=ne.getContext("2d"),ve=window?.innerWidth,we=window?.innerHeight;ne.height=we,ne.width=ve,oe?.drawImage(c.current,0,0,ne.width,ne.height),M(ne.toDataURL())};re(),setTimeout(()=>{re()},500)},[c.current,z,t,g,C]),Z=o.useCallback(()=>{c.current&&(H(),$())},[c.current,$,H]),U=o.useCallback(q=>()=>{var re,ne,oe,ve,we;if(!c.current||!I)return;const ee=(re=c?.current)===null||re===void 0?void 0:re.paused;switch(q){case"start":if(!ee)return;(ne=c?.current)===null||ne===void 0||ne.play(),v(!1);break;case"pause":if(ee)return;(oe=c?.current)===null||oe===void 0||oe.pause(),v(!0);break;default:ee?(ve=c?.current)===null||ve===void 0||ve.play():(we=c?.current)===null||we===void 0||we.pause(),v(!ee);break}},[I,c?.current]),V=o.useCallback(()=>{var q,re,ne,oe,ve,we,ee,fe,Se,De,Ce,Me,Ne;if(!c?.current||l!==e)return;const G=n[e],pe=((re=(q=c?.current)===null||q===void 0?void 0:q.duration)!==null&&re!==void 0?re:0).toFixed(2),xe=((oe=(ne=c?.current)===null||ne===void 0?void 0:ne.currentTime)!==null&&oe!==void 0?oe:0).toFixed(2);if(!((ve=c?.current)===null||ve===void 0)&&ve.duration){const le=(((we=c?.current)===null||we===void 0?void 0:we.currentTime)-w.current).toFixed(2);u?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(fe=(ee=G?.video)===null||ee===void 0?void 0:ee.itemId)!==null&&fe!==void 0?fe:"",contentName:(De=(Se=G?.video)===null||Se===void 0?void 0:Se.title)!==null&&De!==void 0?De:"",endTime:xe,videoDuration:pe,playDuration:le,contentTags:JSON.stringify((Me=(Ce=G?.video)===null||Ce===void 0?void 0:Ce.tags)!==null&&Me!==void 0?Me:[]),position:e+"",contentFormat:"video",traceInfo:(Ne=G?.video)===null||Ne===void 0?void 0:Ne.traceInfo}})}},[n,e,u,c?.current,l]),ce=o.useCallback(()=>{S(!0)},[]);o.useEffect(()=>{var q,re,ne,oe,ve,we,ee,fe,Se,De;if(!E)return;const Ce=t?.video.url;if(!Ce)return;const Me=document.querySelector(`#${_}`);if(!Me||(c.current=yi?.(Me),!c?.current))return;const Ne=window?.Hls;let G=null;return Ce.includes(".m3u8")&&Ne&&Ne.isSupported()?(G=new Ne,G.loadSource(Ce),G.attachMedia(c?.current),G.on(Ne.Events.MANIFEST_PARSED,function(){var pe;(pe=c?.current)===null||pe===void 0||pe.play()})):c.current.src=Ce,(q=c?.current)===null||q===void 0||q.setAttribute("x5-playsinline","true"),(re=c?.current)===null||re===void 0||re.setAttribute("webkit-playsinline","true"),(ne=c?.current)===null||ne===void 0||ne.addEventListener("loadedmetadata",Z),(oe=c?.current)===null||oe===void 0||oe.addEventListener("loadeddata",$),(ve=c?.current)===null||ve===void 0||ve.addEventListener("play",H),(we=c?.current)===null||we===void 0||we.addEventListener("playing",X),(ee=c?.current)===null||ee===void 0||ee.addEventListener("pause",V),(fe=c?.current)===null||fe===void 0||fe.addEventListener("ended",N),(Se=c?.current)===null||Se===void 0||Se.addEventListener("canplay",N),(De=c?.current)===null||De===void 0||De.addEventListener("waiting",ce),()=>{var pe,xe,le,Ve,Le,He,K,L,Ge;((pe=c?.current)===null||pe===void 0?void 0:pe.paused)||V(),G&&G?.destroy(),p(!1),(xe=c?.current)===null||xe===void 0||xe.removeEventListener("loadedmetadata",Z),(le=c?.current)===null||le===void 0||le.removeEventListener("loadeddata",$),(Ve=c?.current)===null||Ve===void 0||Ve.removeEventListener("play",H),(Le=c?.current)===null||Le===void 0||Le.removeEventListener("playing",X),(He=c?.current)===null||He===void 0||He.removeEventListener("pause",V),(K=c?.current)===null||K===void 0||K.removeEventListener("ended",N),(L=c?.current)===null||L===void 0||L.removeEventListener("canplay",N),(Ge=c?.current)===null||Ge===void 0||Ge.removeEventListener("waiting",ce)}},[E,_,t,V]),o.useEffect(()=>{var q,re;!c?.current||!I||(E?(x?.({eventName:"ViewContent"}),(q=c?.current)===null||q===void 0||q.play()):(re=c?.current)===null||re===void 0||re.pause())},[E,I,c?.current]),o.useEffect(()=>{var q,re,ne;if(!E||!c?.current)return;!((q=c?.current)===null||q===void 0?void 0:q.paused)&&f?(re=c?.current)===null||re===void 0||re.pause():f||(ne=c?.current)===null||ne===void 0||ne.play()},[f,E,c?.current]),o.useEffect(()=>{if(!E)return;const q=()=>{U("start")(),x?.({eventName:"ViewContent"})},re=U("pause");return ct.on(nt.PAGE_DID_SHOW,q),ct.on(nt.PAGE_DID_HIDE,re),()=>{ct.off(nt.PAGE_DID_SHOW,q),ct.off(nt.PAGE_DID_HIDE,re)}},[U,E]);const be=o.useMemo(()=>!h?.placeholder_image||I?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:h?.placeholder_image,alt:"placeholder image"}),[I,h?.placeholder_image]),te=o.useMemo(()=>{if(!(!D||!I))return o.createElement("img",{style:{position:"absolute",top:"50%",left:0,right:0,transform:"translateY(-100%)",margin:"auto",width:"50px",height:"50px",objectFit:"contain"},src:Ur,alt:"placeholder image"})},[D,I]);return o.useEffect(()=>{if(!c?.current)return;const q=()=>{var re;l===e&&(!((re=t?.video)===null||re===void 0)&&re.url)&&c?.current&&!d&&U("pause")()};return window.addEventListener("beforeunload",q),()=>{window.removeEventListener("beforeunload",q)}},[l,e,t,c?.current,U,d]),t?.video?o.createElement(o.Fragment,null,C?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:U(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},F)},!z&&I&&O&&o.createElement(it,{src:O,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},j)}),o.createElement("canvas",{ref:P,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:k,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},o.createElement("div",{className:"n-full-screen",ref:y,id:_,style:{width:"100%",height:"100%"}}),d&&o.createElement(it,{className:"clc-pb-video-pause",src:a??B,alt:"pause"}))),be,te):o.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:U()},o.createElement("div",{className:"n-full-screen",ref:y,id:_,style:{width:"100%",height:"100%"}}),be,te,d&&o.createElement(it,{className:"clc-pb-video-pause",src:a??B,alt:"pause"}))):null};var Yr=o.memo(Wr);const Xr=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:s})=>{const[l,r]=o.useState(t),a=d=>{d.stopPropagation();const v=!l;r(v),n?.(v)};return o.useEffect(()=>{r(t)},[t]),o.createElement("button",{style:s,"aria-label":"toggle button",className:"pb-toggle-button",onClick:a},o.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var kn=o.memo(Xr);const Jr=({imageUrl:t,style:e,duration:i=2e3})=>{const[n,s]=o.useState(!0);ut(),o.useEffect(()=>{setTimeout(()=>{s(!1)},i)},[]);const l=st("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),r=o.useMemo(()=>n?"pb-fadeIn":"pb-fadeOut",[n]);return o.createElement("div",{hidden:!n,className:`pb-finger-wrap ${r}`,style:Object.assign(Object.assign({},e),{animationDuration:`${i/1e3}s`})},o.createElement("img",{src:t||l,alt:"finger swiper"}))},_n=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:s}=t,l=o.useMemo(()=>n?.mode==="2",[n]),r=o.useMemo(()=>{var u;return n?.mode==="2"?`translateY(-${50+((u=n?.offsetTop)!==null&&u!==void 0?u:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),a=o.useMemo(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),d=o.useMemo(()=>n?.bgWay==="1",[n]),v=o.useMemo(()=>d&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,d]);return o.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},v)},(!l||!d)&&o.createElement(it,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},a),onLoad:s}),l&&o.createElement(it,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0},onLoad:s}))},qr=({imgUrls:t,width:e,height:i,rec:n,index:s,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:a})=>{var d,v;const u=o.useRef(),{isActive:h}=gn(),{sxpParameter:m,openHashtag:f}=ke(),[x,w]=o.useState(!1);o.useEffect(()=>{x&&h?(u?.current&&u.current.swiper.autoplay.start(),f?l(n):r(s)):u?.current&&u.current.swiper.autoplay.stop()},[n,h,l,f,s,r,x]);const I=o.useCallback(()=>{x||w(!0)},[x]);return o.createElement(It,{ref:u,defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},className:ye.css(Object.assign({},a?.marginBottom&&{".swiper-pagination":{bottom:(d=a?.marginBottom)!==null&&d!==void 0?d:0}})),height:i,loop:!0,autoplay:{delay:((v=a?.delay)!==null&&v!==void 0?v:3)*1e3}},t?.map((p,T)=>o.createElement(pt,{key:T},o.createElement(_n,{src:!x&&T>0?"":p,height:i,imgUrlsPostConfig:a,onShowFirstImage:I}))))};var Kr=o.memo(qr);const Zr=({tags:t,itemId:e,itemType:i,index:n,rec:s,hashTagStyle:l})=>{var r;const[a,d]=o.useState(!1),{setWaterFallData:v,setOpenHashtag:u,setCacheActiveIndex:h,waterFallData:m,setIsFromHashtag:f}=ke(),x=w=>{m?f?.(!0):h?.(n),v?.(i?{hashTag:w,itemId:e,itemType:i,rec:s}:{hashTag:w,rec:s}),u?.(!0)};return o.useMemo(()=>t.length<=6?null:o.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>d(!a)},a?"show less":"show more"),[a,t]),o.createElement("div",{className:"clc-sxp-bottom-hashtag",style:{marginTop:`${(r=l?.marginTop)!==null&&r!==void 0?r:16}px`}},o.createElement(Nt,null,t?.map((w,I)=>o.createElement(pt,{key:I,hidden:a?!1:I>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>x(w)},o.createElement("div",{dangerouslySetInnerHTML:{__html:he(`#${w}`,l)}})))))};var Pn=o.memo(Zr),Qr="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 Kt(t){return o.memo(function(e){const{$store:i}=Jn(),n=l=>{let r=l;const a=l.match(/{{.*?}}/g);return a?.length&&a.forEach(d=>{d.replace(/{{\s*([\w.]+)\s*}}/g,(v,u)=>{if(u){const h=Ye.get(i,u);return r=r.replace(d,h),h}})}),r},s=o.useMemo(()=>{var l,r,a;const{bindDatas:d}=e,v=Ke(e,["bindDatas"]);if((l=d?.forEach)===null||l===void 0||l.call(d,u=>{if(u?.propKey&&u?.dataPath){const{propKey:h,dataPath:m}=u;m.replace(/{{\s*([\w.]+)\s*}}/g,(f,x)=>{var w,I;if(x){const p=(I=(w=Ye.get(i,x))!==null&&w!==void 0?w:e[h])!==null&&I!==void 0?I:"";return v[h]=p,p}})}}),v){v.eventMap={};const u=Ye.cloneDeep(v.event)||{};for(const h in u)if(Object.prototype.hasOwnProperty.call(u,h))try{u[h].value=n(u[h].value),v.eventMap[h]=new Function(u[h].value)}catch{}}return!((a=(r=v?.event)===null||r===void 0?void 0:r.onClick)===null||a===void 0)&&a.linkType&&(v.style.cursor="pointer"),v},[i,e]);return o.createElement(t,Object.assign({},s,s.eventMap))})}const Zt=({rec:t,index:e,tempMap:i,resolver:n,includesCtaType:s,isActive:l})=>{var r,a,d,v,u;const{schema:h}=ut();if(!t?.video)return null;let m=null;!((a=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||a===void 0)&&a.length?m="\u591A\u5546\u54C1CTA":!((d=t?.video)===null||d===void 0)&&d.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 f=i?.[m],x=o.useCallback(()=>{var w,I,p,T,b,E,P,g,M,D,S,c,_,y,C,k,O,j,z,F,N,B,X,H,$,Z,U,V;if(!t?.video)return null;if(!(s&&!s?.includes((w=f?.item)===null||w===void 0?void 0:w.type))&&!(!s&&((I=f?.item)===null||I===void 0?void 0:I.category)==="cta")){if(((p=f?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((T=t?.video)===null||T===void 0)&&T.bindProduct)||((b=f?.item)===null||b===void 0?void 0:b.type)==="Commodity"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((P=f?.item)===null||P===void 0?void 0:P.type)==="CommodityDiroNew"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((M=f?.item)===null||M===void 0?void 0:M.type)==="MultiCommodity"&&!(!((S=(D=t?.video)===null||D===void 0?void 0:D.bindProducts)===null||S===void 0)&&S.length)||((c=f?.item)===null||c===void 0?void 0:c.type)==="MultiCommodityDiro"&&!(!((y=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||y===void 0)&&y.length)||((C=f?.item)===null||C===void 0?void 0:C.type)==="MultiCommodityDiroNew"&&!(!((O=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||O===void 0)&&O.length))return null;if(f&&n){const ce=n[(j=f?.item)===null||j===void 0?void 0:j.type],be=Kt(ce),te=(z=ce?.extend)===null||z===void 0?void 0:z.defaulSetting,q=((B=(N=(F=f?.item)===null||F===void 0?void 0:F.event)===null||N===void 0?void 0:N.onClick)===null||B===void 0?void 0:B.linkType)==="externalLink";return o.createElement(be,Object.assign({style:Object.assign(Object.assign(Object.assign({},te?.style),(X=f?.item)===null||X===void 0?void 0:X.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},te?.textStyle),(H=f?.item)===null||H===void 0?void 0:H.textStyle),bindDatas:(Z=($=f?.item)===null||$===void 0?void 0:$.bindDatas)!==null&&Z!==void 0?Z:[]},te?.props,(U=f?.item)===null||U===void 0?void 0:U.props,{event:((V=f?.item)===null||V===void 0?void 0:V.event)||{},schema:h,id:f?.id,key:f?.id,recData:t,isExternalLink:q,index:e,isActive:l}))}else return null}},[t,n,i,h,f?.id,l]);return o.createElement(o.Fragment,null,x())},Dn=({nudge:t})=>{var e,i,n,s,l,r;return o.createElement(o.Fragment,null,t?.isOpen&&o.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(s=t?.size)===null||s===void 0?void 0:s.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?o.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,o.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0,marginTop:0}),dangerouslySetInnerHTML:{__html:he(t?.content,t?.textStyle)}})))},Rr=({tagList:t=[],setActiveIndex:e,style:i})=>{const{getRecommendVideos:n,setRtcList:s,setCacheRtcList:l,setCacheActiveIndex:r,setLoading:a,swiperRef:d,waterFallData:v,bffEventReport:u,selectTag:h,setSelectTag:m}=ke(),{backMainFeed:f}=Qe(),x=o.useMemo(()=>[jt,...t],[t]),w=I=>()=>{if(I===h)return;I!=="FOR U"?u?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${I}']`}}):f("theme",I,h);let p;I!==jt&&(p=I),a?.(!0),n?.({themeTag:p}).then(T=>{var b,E,P,g;ct.emit(nt.CHANGE_THEME_TAG,p),s?.((b=T?.recList)!==null&&b!==void 0?b:[]),l?.((E=T?.recList)!==null&&E!==void 0?E:[]),e?.(0),r?.(0),(g=(P=d?.current)===null||P===void 0?void 0:P.swiper)===null||g===void 0||g.slideTo(0)}).finally(()=>{a?.(!1)}),m?.(I)};return v||t.length<=0?null:o.createElement("div",{className:"clc-sxp-tagbar",style:i},o.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},x.map(I=>o.createElement("li",{className:`clc-sxp-tagbar-list-item ${I===h?"clc-sxp-tagbar-list-item-active":""}`,key:I,onClick:w(I)},I))))};var Mn=o.memo(Rr);const On=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:s,resolver:l,data:r=[],ctaType:a,tipText:d,nudge:v,_schema:u,hashTagStyle:h,tagList:m=[],licenseUrl:f})=>{var x,w,I,p,T,b,E,P,g;const M=st("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),D=st("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png"),{schema:S}=ut(),[c,_]=o.useState(0),y=o.useRef(0),[C,k]=o.useState(!0),O=o.useRef(),[j,z]=o.useState(!1),[F,N]=o.useState(!1),[B,X]=o.useState(new Date().getTime()),H=o.useRef(!1),{loadVideos:$,bffEventReport:Z,loading:U,setPopupDetailData:V,ctaEvent:ce,swiperRef:be,waterFallData:te,setOpenHashtag:q,appDomain:re,openHashtag:ne,loadingImage:oe,isFromHashtag:ve,popupDetailData:we,bffFbReport:ee,curTime:fe,h5EnterLink:Se,isShowConsent:De,selectTag:Ce,isPreview:Me,isEditor:Ne}=ke(),{backMainFeed:G,productView:pe,jumpToWeb:xe}=Qe(),le=o.useMemo(()=>r.length>0&&!U&&(Zn()||t?.enableSwiperTip),[r,U,t?.enableSwiperTip]);o.useEffect(()=>{ji()},[]),o.useEffect(()=>{if(r?.length>0){const A=new Date;O.current=A,ee?.({eventName:"PageView"})}},[r?.length]);const Ve=o.useCallback(()=>{if(ji(),Se?.(),r.length>0){const A=new Date;O.current=A,ee?.({eventName:"PageView"})}},[r.length,ee,Se]);o.useEffect(()=>{var A;if(!a||a?.length<1)return;const Q=r?.findIndex(R=>{var ie,se,de,J,ae,Ae,Oe,Fe,Ue;const ze=a?.[0];return ze==="\u591A\u5546\u54C1CTA"?((ie=R?.video)===null||ie===void 0?void 0:ie.bindProducts)&&((de=(se=R?.video)===null||se===void 0?void 0:se.bindProducts)===null||de===void 0?void 0:de.length)>0:ze==="\u5546\u54C1CTA"?(J=R?.video)===null||J===void 0?void 0:J.bindProduct:((Ae=(ae=R?.video)===null||ae===void 0?void 0:ae.bindCta)===null||Ae===void 0?void 0:Ae.itemId)===ze&&(((Oe=R?.video)===null||Oe===void 0?void 0:Oe.url)||((Ue=(Fe=R?.video)===null||Fe===void 0?void 0:Fe.imgUrls)===null||Ue===void 0?void 0:Ue.length))})||0;Q!==-1&&((A=be?.current)===null||A===void 0||A.swiper.slideTo(Q))},[r,a,be]),o.useEffect(()=>{const A=r?.[c],Q=()=>{var R,ie,se,de,J,ae,Ae,Oe,Fe,Ue,ze,Je,qe,_e,Ie,lt,Ze,mt,ft,yt;const wt=!ne&&!De;if(document.visibilityState==="hidden"){wt&&(ct.emit(nt.PAGE_DID_HIDE,A),Te(A),Pe(A));let Be="";we&&(!((ie=(R=A?.video)===null||R===void 0?void 0:R.bindProducts)===null||ie===void 0)&&ie.length||!((se=A?.video)===null||se===void 0)&&se.bindProduct)?Be="pdpPage":we&&((Ae=s?.[(ae=(J=(de=A?.video)===null||de===void 0?void 0:de.bindCta)===null||J===void 0?void 0:J.itemId)!==null&&ae!==void 0?ae:""].item)===null||Ae===void 0?void 0:Ae.type)==="Appoint"?Be="formPage":ve?Be="hashTagPage":!((Oe=A?.video)===null||Oe===void 0)&&Oe.url?Be="videoPage":!((Fe=A?.video)===null||Fe===void 0)&&Fe.imgUrls&&(!((ze=(Ue=A?.video)===null||Ue===void 0?void 0:Ue.imgUrls)===null||ze===void 0)&&ze.length)?Be="imagePage":A?.product&&(Be="productPage"),Z?.({eventInfo:{sessionDuration:Math.floor((new Date-fe.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(Je=A?.video)===null||Je===void 0?void 0:Je.itemId,productId:(qe=A?.product)===null||qe===void 0?void 0:qe.itemId,position:c+"",fromKName:Be,fromKPage:location?.href,ctatId:(lt=(Ie=(_e=A?.video)===null||_e===void 0?void 0:_e.bindCta)===null||Ie===void 0?void 0:Ie.itemId)!==null&<!==void 0?lt:"",traceInfo:(yt=(mt=(Ze=A?.video)===null||Ze===void 0?void 0:Ze.traceInfo)!==null&&mt!==void 0?mt:(ft=A?.product)===null||ft===void 0?void 0:ft.traceInfo)!==null&&yt!==void 0?yt:""}})}else document.visibilityState==="visible"&&(H.current===!0&&(X(new Date().getTime()),H.current=!1),Ve(),wt&&(je(c),ct.emit(nt.PAGE_DID_SHOW,A),G("external",Ce)))};return document.addEventListener("visibilitychange",Q),()=>{document.removeEventListener("visibilitychange",Q)}},[c,Z,r,Ve,we,ve,s,fe,G,ne,De,Ce]);const Le=o.useMemo(()=>{let A=0;return m.length>0&&(A+=45,te&&(A-=45)),A},[m,te]),He=o.useMemo(()=>{let A=0;return t?.logoUrl&&t?.isShowLogo&&(A+=56),A},[]),K=o.useMemo(()=>i-He-Le,[t,i,Le]),L=o.useMemo(()=>{var A;const Q=c===0&&!te&&!Ne?[(A=r?.[0])!==null&&A!==void 0?A:null]:r?.map((R,ie)=>c===ie||ie-1===c||ie+1===c?R:null);return te?Q:Q.concat([{loading:!0}])},[r,c,te,Ne]),Ge=o.useMemo(()=>{var A,Q,R,ie;if(t?.logoUrl&&t?.isShowLogo){const se=(Q=(A=t?.logoBar)===null||A===void 0?void 0:A.onClick)===null||Q===void 0?void 0:Q.value,de=((ie=(R=t?.logoBar)===null||R===void 0?void 0:R.onClick)===null||ie===void 0?void 0:ie.linkType)==="externalLink",J=L[c];return o.createElement("div",Object.assign({className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},se&&{onClick:()=>{var ae,Ae,Oe,Fe;de&&xe(J,(ae=J?.video)===null||ae===void 0?void 0:ae.bindProduct,(Ae=J?.video)===null||Ae===void 0?void 0:Ae.bindCta,c,((Oe=J?.product)===null||Oe===void 0?void 0:Oe.traceInfo)||((Fe=J?.video)===null||Fe===void 0?void 0:Fe.traceInfo)),new Function(se)()}}),o.createElement("img",{src:t?.logoUrl,alt:"logo"}))}return null},[t,c,L]),at=o.useCallback((A,Q)=>{var R,ie,se,de;return!((R=A?.video)===null||R===void 0)&&R.url?o.createElement(Yr,{key:B,rec:A,index:Q,muted:C,data:r,height:K,activeIndex:c,videoPostConfig:t?.videoPost,videoPlayIcon:t?.videoPlayIcon}):!((ie=A?.video)===null||ie===void 0)&&ie.imgUrls?o.createElement(Kr,{key:A?.video.itemId,imgUrls:A?.video.imgUrls,width:n,height:K,rec:A,index:Q,onReportViewImageEnd:Te,onViewImageStartEvent:je,imgUrlsPostConfig:t?.imgUrlsPost}):A.product&&Array.isArray(t?.productPost)&&((se=t?.productPost)===null||se===void 0?void 0:se.length)>0?(de=t?.productPost)===null||de===void 0?void 0:de.map((J,ae)=>{var Ae,Oe,Fe,Ue,ze,Je,qe,_e;const Ie=l[(Ae=J?.item)===null||Ae===void 0?void 0:Ae.type],lt=Kt(Ie),Ze=(Oe=Ie?.extend)===null||Oe===void 0?void 0:Oe.defaulSetting;return o.createElement(lt,Object.assign({key:`${Q}${ae}`,textStyle:Object.assign(Object.assign({},Ze?.textStyle),(Fe=J?.item)===null||Fe===void 0?void 0:Fe.textStyle),bindDatas:(ze=(Ue=J?.item)===null||Ue===void 0?void 0:Ue.bindDatas)!==null&&ze!==void 0?ze:[]},Ze?.props,(Je=J?.item)===null||Je===void 0?void 0:Je.props,{event:((qe=J?.item)===null||qe===void 0?void 0:qe.event)||{},schema:S,id:J?.id,viewTime:O.current,rec:A,isPost:!0,tipText:d,style:Object.assign(Object.assign(Object.assign({},Ze?.style),(_e=J?.item)===null||_e===void 0?void 0:_e.style),{height:"100%",overflow:"auto"}),index:Q}))}):null},[n,r,K,C,c,t?.productPost,t?.videoPlayIcon,O,d,l,S,B]),At=o.useCallback(A=>{N(A)},[]),W=o.useMemo(()=>F?{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"},[F]),Y=o.useCallback((A,Q)=>{var R,ie,se,de,J,ae,Ae,Oe;return A?.video?o.createElement(o.Fragment,null,((R=A?.video)===null||R===void 0?void 0:R.title)&&!F&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom",style:{paddingBottom:`${(ie=t?.bottomInfoDist)!==null&&ie!==void 0?ie:40}px`}},o.createElement(Dn,{nudge:v}),t?.isShowCTA===void 0||t?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Zt,{rec:A,index:Q,tempMap:s,resolver:l})):null,o.createElement("div",null,o.createElement(qt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:d?.foldText,unfoldText:d?.unfoldText,text:(de=(se=A?.video)===null||se===void 0?void 0:se.title)!==null&&de!==void 0?de:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:At}),o.createElement(Zt,{rec:A,index:Q,tempMap:s,resolver:l,includesCtaType:["AniLink"]}),o.createElement(Pn,{index:c,tags:(ae=(J=A?.video)===null||J===void 0?void 0:J.hashTags)!==null&&ae!==void 0?ae:[],itemId:(Ae=A?.video)===null||Ae===void 0?void 0:Ae.itemId,itemType:!((Oe=A?.video)===null||Oe===void 0)&&Oe.itemId?"VIDEO":null,rec:A,hashTagStyle:h}))),o.createElement(Zt,{rec:A,index:Q,tempMap:s,resolver:l,includesCtaType:["AniLinkPopup"],isActive:Q===c})):null},[e,c,s,l,d,v,h,t,At,F,W]),ge=o.useCallback((A,Q,R)=>{var ie,se,de,J;if(!t?.isShowLike||!R)return;let ae=(ie=t?.likeIconY)!==null&&ie!==void 0?ie:400;return te&&ae<40&&(ae+=40),A?.video?o.createElement(In,{key:A.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:A.isCollected,recData:A,className:"clc-sxp-like-button",style:{position:t?.likeIconFixed?"fixed":"absolute",[(se=t.likeIconXPosit)!==null&&se!==void 0?se:"right"]:(de=t.likeIconX)!==null&&de!==void 0?de:0,[(J=t.likeIconYPosit)!==null&&J!==void 0?J:"bottom"]:ae},position:Q}):null},[t,te]),Te=A=>{var Q,R,ie,se,de,J;if(!(!((Q=A?.video)===null||Q===void 0)&&Q.url)&&(!((R=A?.video)===null||R===void 0)&&R.imgUrls)){const ae=Date.now(),Ae=(ae-y.current)/1e3;Z?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(se=(ie=A?.video)===null||ie===void 0?void 0:ie.itemId)!==null&&se!==void 0?se:"",contentName:(de=A?.video.title)!==null&&de!==void 0?de:"",imageEndTime:`${ae}`,playDuration:`${Ae}`,contentTags:JSON.stringify((J=A?.video.tags)!==null&&J!==void 0?J:[]),position:c+"",contentFormat:"image",traceInfo:A?.video.traceInfo}})}},me=(A,Q)=>{var R,ie,se,de,J,ae,Ae,Oe,Fe,Ue,ze,Je,qe,_e,Ie,lt,Ze,mt,ft;if(Me||te)return;const yt=new Date-fe.current;if(t?.openSlideSkip&&yt>=((R=t?.slideSkipStartTime)!==null&&R!==void 0?R:0)&&Qn()&&A){const wt=((de=(se=(ie=A?.video)===null||ie===void 0?void 0:ie.bindProducts)===null||se===void 0?void 0:se[0])===null||de===void 0?void 0:de.link)||((ae=(J=A?.video)===null||J===void 0?void 0:J.bindProduct)===null||ae===void 0?void 0:ae.link)||((Ae=A?.product)===null||Ae===void 0?void 0:Ae.link),Be=A?.product||((Oe=A?.video)===null||Oe===void 0?void 0:Oe.bindProduct)||((Ue=(Fe=A?.video)===null||Fe===void 0?void 0:Fe.bindProducts)===null||Ue===void 0?void 0:Ue[0]);wt&&(Z?.({eventInfo:{eventSubject:"swipeToWeb",eventDescription:"User swiped to web",productId:(ze=Be?.itemId)!==null&&ze!==void 0?ze:"",productName:(Je=Be?.title)!==null&&Je!==void 0?Je:"",price:Be?.price?Be?.price+"":"0",productCollection:(qe=Be?.collection)!==null&&qe!==void 0?qe:"",contentTags:Be?.tags?JSON.stringify(Be?.tags):"",position:Q+"",contentId:(Ie=(_e=A?.video)===null||_e===void 0?void 0:_e.itemId)!==null&&Ie!==void 0?Ie:"",traceInfo:(ft=(Ze=(lt=A?.video)===null||lt===void 0?void 0:lt.traceInfo)!==null&&Ze!==void 0?Ze:(mt=A?.product)===null||mt===void 0?void 0:mt.traceInfo)!==null&&ft!==void 0?ft:""}}),H.current=!0,window.location.href=window.getJointUtmLink(wt))}},Ee=A=>{var Q,R,ie,se,de,J,ae,Ae,Oe,Fe,Ue,ze,Je,qe;O.current=new Date;const _e=r[A.previousIndex];if(!_e)return;A.previousIndex-A.activeIndex<0?(Z?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(R=(Q=_e?.video)===null||Q===void 0?void 0:Q.itemId)!==null&&R!==void 0?R:"",productId:(se=(ie=_e?.product)===null||ie===void 0?void 0:ie.itemId)!==null&&se!==void 0?se:"",requestId:null,traceInfo:(J=(de=_e?.video)===null||de===void 0?void 0:de.traceInfo)!==null&&J!==void 0?J:""}}),Te(_e),me(_e,A.previousIndex)):(Z?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(Ae=(ae=_e?.video)===null||ae===void 0?void 0:ae.itemId)!==null&&Ae!==void 0?Ae:"",productId:(Fe=(Oe=_e.product)===null||Oe===void 0?void 0:Oe.itemId)!==null&&Fe!==void 0?Fe:"",requestId:null,traceInfo:(ze=(Ue=_e?.video)===null||Ue===void 0?void 0:Ue.traceInfo)!==null&&ze!==void 0?ze:""}}),Te(_e)),Pe(_e);const Ie=r[A.activeIndex];!(!((Je=Ie?.video)===null||Je===void 0)&&Je.url)&&!(!((qe=Ie?.video)===null||qe===void 0)&&qe.imgUrls)&&Ie?.product&&ee?.({eventName:"ProductView"})},Pe=A=>{var Q,R,ie;!(!((Q=A?.video)===null||Q===void 0)&&Q.url)&&!(!((R=A?.video)===null||R===void 0)&&R.imgUrls)&&A?.product&&pe(A,A.product,(ie=A?.product)===null||ie===void 0?void 0:ie.bindCta,O.current,c)};o.useEffect(()=>{const A=r[c];ne&&Pe(A)},[ne,r,c]);const je=A=>{var Q,R,ie,se,de,J;const ae=r[A];if(!(!((Q=ae?.video)===null||Q===void 0)&&Q.url)&&(!((R=ae?.video)===null||R===void 0)&&R.imgUrls)){const Ae=Date.now();y.current=Ae,Z?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(se=(ie=ae?.video)===null||ie===void 0?void 0:ie.itemId)!==null&&se!==void 0?se:"",contentName:(de=ae?.video.title)!==null&&de!==void 0?de:"",imageStartTime:`${Ae}`,contentTags:JSON.stringify((J=ae?.video.tags)!==null&&J!==void 0?J:[]),position:A+"",contentFormat:"image",traceInfo:ae?.video.traceInfo}}),ee?.({eventName:"ViewContent"})}},We=o.useCallback(A=>{var Q,R,ie,se,de,J;if(A)return(t?.isShowMute===void 0||t?.isShowMute===!0)&&o.createElement(kn,{style:{position:t?.muteIconFixed?"fixed":"absolute",visibility:!((R=(Q=L?.[c])===null||Q===void 0?void 0:Q.video)===null||R===void 0)&&R.url?"visible":"hidden",zIndex:999,transform:"translate3d(0px,0px,0px)",[(ie=t?.muteIconXPosit)!==null&&ie!==void 0?ie:"right"]:(se=t?.muteIconX)!==null&&se!==void 0?se:0,[(de=t?.muteIconYPosit)!==null&&de!==void 0?de:"bottom"]:(J=t?.muteIconY)!==null&&J!==void 0?J:23},defaultValue:C,activeIcon:t?.unMuteIcon?t?.unMuteIcon:M,unactiveIcon:t?.muteIcon?t?.muteIcon:D,onChange:k})},[t,L,c,C]),ue=o.useMemo(()=>U?o.createElement("div",{style:{height:K,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):L?.map((A,Q)=>o.createElement(pt,{key:Q,virtualIndex:Q,style:{overflow:"hidden"}},A&&o.createElement(o.Fragment,null,A?.loading?o.createElement("div",{style:{height:K,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},o.createElement("img",{width:64,height:64,src:oe,alt:"loading...",style:{objectFit:"contain"}})):o.createElement(o.Fragment,null,ge(A,Q,!t?.likeIconFixed),We(!t?.muteIconFixed),Y(A,Q),at(A,Q))))),[n,r,K,U,Y,at,L,oe,B,We]);return o.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},te&&o.createElement(xn,{icon:Qr,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},textStyle:Object.assign(Object.assign({},(T=(p=(I=(w=(x=t?.hashTag)===null||x===void 0?void 0:x[0])===null||w===void 0?void 0:w.item)===null||I===void 0?void 0:I.props)===null||p===void 0?void 0:p.textStyles)===null||T===void 0?void 0:T.hashTagTitle),{color:"#fff"}),onClose:()=>{q?.(!0)}}),Ge,o.createElement(Mn,{tagList:m,setActiveIndex:_,style:{top:He}}),le?o.createElement(Jr,{imageUrl:t?.swipeTipIcon,style:{top:`${50-((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`},duration:t?.swiperTipAniDur}):null,o.createElement(It,{style:{marginTop:Le},ref:be,onSlideChange:()=>{be.current.swiper.allowTouchMove=!1,setTimeout(()=>{be.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:A=>{_(A.activeIndex),!ne&&(Ee(A),!(te||Ne)&&A?.activeIndex+1>=r?.length&&(j||(z(!0),$?.(Math.ceil(c/10)+1).then(()=>{z(!1)}))))},direction:"vertical",height:K},ge(L[c],c,!!t?.likeIconFixed),We(!!t?.muteIconFixed),ue),o.createElement(En,Object.assign({},(g=(P=(E=t?.hashTag)===null||E===void 0?void 0:E[0])===null||P===void 0?void 0:P.item)===null||g===void 0?void 0:g.props)))},$r=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:s,index:l})=>o.createElement(It,{defaultValue:0,direction:"horizontal",modules:[Wt,Yt],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>o.createElement(pt,{key:r},o.createElement(_n,{src:r,height:i,imgUrlsPostConfig:n}))));var ed=o.memo($r);const td=({rec:t,index:e,height:i,data:n,muted:s,activeIndex:l,videoPostConfig:r,width:a})=>{const[d,v]=o.useState(!1),u=o.useRef(null),{bffEventReport:h,sxpParameter:m,waterFallData:f,openHashtag:x}=ke(),w=o.useRef(0),[I,p]=o.useState(!1),[T,b]=o.useState(!0),E=o.useRef(null),[P,g]=o.useState("");o.useEffect(()=>{u.current&&(u.current.muted=s)},[s]);const M=o.useCallback(()=>{var N;(N=u.current)===null||N===void 0||N.play()},[]),D=st("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=o.useCallback(()=>{var N,B,X,H,$,Z,U,V,ce,be,te,q,re;v(!1);const ne=n[e];if(ne&&(!((N=u?.current)===null||N===void 0)&&N.duration)){w.current=((B=u?.current)===null||B===void 0?void 0:B.currentTime)||0;const oe=((H=(X=u.current)===null||X===void 0?void 0:X.duration)!==null&&H!==void 0?H:0).toFixed(2),ve=((Z=($=u.current)===null||$===void 0?void 0:$.currentTime)!==null&&Z!==void 0?Z:0).toFixed(2),we=T?"0":"1";h?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(V=(U=ne?.video)===null||U===void 0?void 0:U.itemId)!==null&&V!==void 0?V:"",contentName:(be=(ce=ne?.video)===null||ce===void 0?void 0:ce.title)!==null&&be!==void 0?be:"",playType:we,startTime:ve,videoDuration:oe,contentTags:JSON.stringify((q=(te=ne?.video)===null||te===void 0?void 0:te.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(re=ne?.video)===null||re===void 0?void 0:re.traceInfo}}),b(!1)}},[h,n,e,T]),c=o.useCallback(()=>{p(!0)},[]),_=o.useCallback(N=>()=>{var B,X,H,$,Z;if(!I)return;const U=(B=u.current)===null||B===void 0?void 0:B.paused;switch(N){case"start":if(!U)return;(X=u.current)===null||X===void 0||X.play(),v(!1);break;case"pause":if(U)return;(H=u.current)===null||H===void 0||H.pause(),v(!0);break;default:U?($=u.current)===null||$===void 0||$.play():(Z=u.current)===null||Z===void 0||Z.pause(),v(!U);break}},[I]),y=o.useCallback(()=>{var N,B,X,H,$,Z,U,V,ce,be,te,q,re;const ne=n[e],oe=((B=(N=u.current)===null||N===void 0?void 0:N.duration)!==null&&B!==void 0?B:0).toFixed(2),ve=((H=(X=u.current)===null||X===void 0?void 0:X.currentTime)!==null&&H!==void 0?H:0).toFixed(2);if(!(($=u?.current)===null||$===void 0)&&$.duration){const we=(((Z=u?.current)===null||Z===void 0?void 0:Z.currentTime)-w.current).toFixed(2);h?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(V=(U=ne?.video)===null||U===void 0?void 0:U.itemId)!==null&&V!==void 0?V:"",contentName:(be=(ce=ne?.video)===null||ce===void 0?void 0:ce.title)!==null&&be!==void 0?be:"",endTime:ve,videoDuration:oe,playDuration:we,contentTags:JSON.stringify((q=(te=ne?.video)===null||te===void 0?void 0:te.tags)!==null&&q!==void 0?q:[]),position:e+"",contentFormat:"video",traceInfo:(re=ne?.video)===null||re===void 0?void 0:re.traceInfo}})}},[n,e,h]),C=o.useMemo(()=>r?.mode==="2",[r]),k=o.useMemo(()=>{var N;return r?.mode==="2"?`translateY(-${50+((N=r?.offsetTop)!==null&&N!==void 0?N:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),O=o.useMemo(()=>{var N;return((N=t?.video)===null||N===void 0?void 0:N.cover)||P},[P,t]),j=o.useCallback(()=>{if(!E||!u||!u.current||!E.current)return;const N=u?.current,B=E?.current,X=B.getContext("2d"),H=window?.innerWidth,$=window?.innerHeight;B.height=$,B.width=H,X?.drawImage(N,0,0,B.width,B.height),g(B.toDataURL())},[]);o.useEffect(()=>{var N,B,X,H;if(u.current){if(v(!1),!u.current.src){const $=t?.video.url;if($.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const Z=new window.Hls;Z.loadSource($),Z.attachMedia(u.current)}else u.current.canPlayType("application/vnd.apple.mpegurl"),u.current.src=$;else u.current.src=$;u.current.setAttribute("x5-playsinline","true"),u.current.setAttribute("webkit-playsinline","true")}return(N=u.current)===null||N===void 0||N.addEventListener("loadedmetadata",c),(B=u.current)===null||B===void 0||B.addEventListener("canplay",c),(X=u.current)===null||X===void 0||X.addEventListener("playing",S),(H=u.current)===null||H===void 0||H.addEventListener("loadeddata",j),()=>{var $,Z,U,V;($=u.current)===null||$===void 0||$.removeEventListener("loadedmetadata",c),(Z=u.current)===null||Z===void 0||Z.removeEventListener("canplay",c),(U=u.current)===null||U===void 0||U.removeEventListener("playing",S),(V=u.current)===null||V===void 0||V.removeEventListener("loadeddata",j)}}},[c,S,t?.video,j]);const z=o.useMemo(()=>!m?.placeholder_image||I?null:o.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:m?.placeholder_image,alt:"video poster"}),[I,m?.placeholder_image]);o.useEffect(()=>{const N=()=>{var B,X;l===e&&(!((B=t?.video)===null||B===void 0)&&B.url)&&(!((X=u?.current)===null||X===void 0)&&X.src)&&!d&&_("pause")()};return window.addEventListener("beforeunload",N),()=>{window.removeEventListener("beforeunload",N)}},[l,e,t,u,_,d]);const F=o.useMemo(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t?.video?o.createElement(o.Fragment,null,C?o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:_(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement(it,{src:O,style:Object.assign({height:i,width:a,objectFit:"cover"},F)}),o.createElement("canvas",{ref:E,style:{display:"none"}}),o.createElement("div",{style:{position:"absolute",width:a,height:i,top:"50%",transform:k,left:0,right:0}},o.createElement("div",{style:{position:"relative",width:a,height:"100%"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:u,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:y,onEnded:M,style:{width:"100%",height:i,objectFit:"contain"}}),o.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:D,alt:"video pause image"}))),z):o.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:_(),style:{position:"relative",width:a,height:i,overflow:"hidden"}},o.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:u,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:y,onEnded:M}),z,o.createElement("img",{hidden:!d,className:"clc-pb-video-pause",src:D,alt:"video pause image"}))):null};var id=o.memo(td);const wi={};Object.values(bi).forEach(t=>{wi[t.extend.type]=t});const nd="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",od="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ld=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:s,descStyle:l,hashTagStyle:r,containerHeight:a=664,containerWidth:d=375,appDomain:v,tagList:u=[]})=>{const h=o.useMemo(()=>{let g=0;return e?.logoUrl&&e?.isShowLogo&&(g+=45),u.length>0&&(g+=45),a-g},[e,a,u]),m=(g,M)=>{var D,S,c,_;if(!((D=g?.video)===null||D===void 0)&&D.url)return o.createElement(id,{rec:g,index:M,muted:!0,width:d,data:t??[],height:h,activeIndex:M,videoPostConfig:e?.videoPost});if(!((S=g?.video)===null||S===void 0)&&S.imgUrls)return o.createElement(ed,{key:g?.video.itemId,imgUrls:g?.video.imgUrls,width:d,height:h,rec:g,index:M,imgUrlsPostConfig:e?.imgUrlsPost});if(g.product&&g.product&&Array.isArray(e?.productPost)&&((c=e?.productPost)===null||c===void 0?void 0:c.length)>0)return(_=e?.productPost)===null||_===void 0?void 0:_.map((y,C)=>{var k,O,j,z,F,N,B,X;const H=wi[(k=y?.item)===null||k===void 0?void 0:k.type],$=Kt(H),Z=(O=H?.extend)===null||O===void 0?void 0:O.defaulSetting;return o.createElement($,Object.assign({key:`${M}${C}`,textStyle:Object.assign(Object.assign({},Z?.textStyle),(j=y?.item)===null||j===void 0?void 0:j.textStyle),bindDatas:(F=(z=y?.item)===null||z===void 0?void 0:z.bindDatas)!==null&&F!==void 0?F:[]},Z?.props,(N=y?.item)===null||N===void 0?void 0:N.props,{event:((B=y?.item)===null||B===void 0?void 0:B.event)||{},id:y?.id,rec:g,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},Z?.style),(X=y?.item)===null||X===void 0?void 0:X.style),{width:d,height:h,overflow:"auto"}),index:M}))})},f=o.useMemo(()=>e?.logoUrl&&e?.isShowLogo?o.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},o.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),x=(g,M)=>e?.isShowCTA===void 0||e?.isShowCTA?o.createElement("div",{className:"clc-sxp-bottom-card"},o.createElement(Zt,{rec:g,index:M,tempMap:s,resolver:wi})):null,w=(g,M)=>{var D,S,c,_,y,C,k;return g?.video?o.createElement(o.Fragment,null,((D=g?.video)===null||D===void 0?void 0:D.title)&&o.createElement("div",{className:"clc-sxp-bottom-shadow"}),o.createElement("div",{className:"clc-sxp-bottom"},o.createElement(Dn,{nudge:n}),x(g,M),o.createElement("div",null,o.createElement(qt,{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"})})),o.createElement(Pn,{index:M,tags:(y=(_=g?.video)===null||_===void 0?void 0:_.hashTags)!==null&&y!==void 0?y:[],itemId:(C=g?.video)===null||C===void 0?void 0:C.itemId,itemType:!((k=g?.video)===null||k===void 0)&&k.itemId?"VIDEO":null,rec:g,hashTagStyle:r}))):null},I=st(od,v),p=st(nd,v),T=(g,M)=>{var D,S,c,_;if(!e?.isShowLike)return;let y=(D=e?.likeIconY)!==null&&D!==void 0?D:400;return y<40&&(y+=40),g?.video?o.createElement(In,{key:g.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:I,unActicveIcon:(c=e?.unlikeIcon)!==null&&c!==void 0?c:p,position:M,active:g.isCollected,recData:g,className:"clc-sxp-like-button",style:{top:y,right:(_=e?.likeIconX)!==null&&_!==void 0?_:0}}):null},b=st("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",v),E=st("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",v),P=(g,M)=>{var D,S,c,_;return o.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},f,o.createElement(Mn,{tagList:u}),o.createElement(kn,{style:{position:"absolute",right:(D=e?.muteIconX)!==null&&D!==void 0?D:0,visibility:!((c=(S=t?.[M])===null||S===void 0?void 0:S.video)===null||c===void 0)&&c.url?"visible":"hidden",bottom:(_=e?.muteIconY)!==null&&_!==void 0?_:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:b,unactiveIcon:e?.muteIcon?e?.muteIcon:E}),m(g,M),w(g,M),T(g,M))};return o.createElement("div",{className:ye.css({width:"100%",height:a,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((g,M)=>P(g,M)))};var sd=o.memo(ld);const rd=()=>{const{schema:t,resolver:e,popup:i}=ut(),{setPopupDetailData:n,popupDetailData:s,popupCurTimeRef:l,checkCommodityIndexRef:r}=ke(),{productView:a}=Qe(),[d,v]=o.useState();o.useEffect(()=>{const m=()=>{l.current=new Date};return m(),window.addEventListener("pageshow",m),()=>{window.removeEventListener("pageshow",m)}},[]),o.useEffect(()=>{i&&i?.id&&i?.id!==""&&(l.current=new Date,v(i))},[i]);const u=()=>{var m,f,x,w,I,p,T,b,E,P,g,M,D,S,c,_,y,C;if(!i||i?.id===""||!d||new Date-l.current<((m=i?.duration)!==null&&m!==void 0?m:0))return;v(Object.assign(Object.assign({},i),{id:""}));const k=(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(((I=k?.item)===null||I===void 0?void 0:I.type)==="CommodityDetail"||((p=k?.item)===null||p===void 0?void 0:p.type)==="CommodityDetailDiroNew"){const O=s;let j=(b=(T=O?.video)===null||T===void 0?void 0:T.bindProduct)!==null&&b!==void 0?b:(P=(E=O?.video)===null||E===void 0?void 0:E.bindProducts)===null||P===void 0?void 0:P[0],z=(D=(M=(g=O?.video)===null||g===void 0?void 0:g.bindProduct)===null||M===void 0?void 0:M.bindCta)!==null&&D!==void 0?D:(_=(c=(S=O?.video)===null||S===void 0?void 0:S.bindProducts)===null||c===void 0?void 0:c[0])===null||_===void 0?void 0:_.bindCta;if(r?.current>=0){const F=(C=(y=O?.video)===null||y===void 0?void 0:y.bindProducts)===null||C===void 0?void 0:C[r?.current];F&&(j=F,z=F?.bindCta)}j&&z&&a(O,j,z,l.current,s?.index)}setTimeout(()=>{window?.sxpPopup(""),n?.(null),r.current=-1},i?.duration)},h=o.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,I)=>{var p,T,b,E,P,g,M,D,S,c,_,y,C,k;if(w?.id===i?.id){const O=e[(p=w?.item)===null||p===void 0?void 0:p.type],j=Kt(O),z=((E=(b=(T=w?.item)===null||T===void 0?void 0:T.event)===null||b===void 0?void 0:b.onClick)===null||E===void 0?void 0:E.linkType)==="externalLink",F=((M=(g=(P=w?.item)===null||P===void 0?void 0:P.event)===null||g===void 0?void 0:g.onClick)===null||M===void 0?void 0:M.linkType)==="popup",N=(D=O?.extend)===null||D===void 0?void 0:D.defaulSetting;return o.createElement(j,Object.assign({key:I,style:Object.assign(Object.assign(Object.assign({},N?.style),(S=w?.item)===null||S===void 0?void 0:S.style),{height:"100%"}),textStyle:Object.assign(Object.assign({},N?.textStyle),(c=w?.item)===null||c===void 0?void 0:c.textStyle),bindDatas:(y=(_=w?.item)===null||_===void 0?void 0:_.bindDatas)!==null&&y!==void 0?y:[]},N?.props,(C=w?.item)===null||C===void 0?void 0:C.props,{event:((k=w?.item)===null||k===void 0?void 0:k.event)||{},schema:t,id:w?.id,isExternalLink:z,isPopup:F,onClose:u}))}else return o.createElement(o.Fragment,null)})},[t,i,e,u]);return o.createElement(Dt,{popup:d,onClose:u,padding:0,modalStyle:{position:"fixed"}},h)},Si={};Object.values(bi).forEach(t=>{Si[t.extend.type]=t});const dd=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:s,appDomain:l,licenseUrl:r,enabledMetaConversionApi:a})=>{var d,v,u,h,m,f,x,w,I,p,T;const b=o.useMemo(()=>{var E;return location?.search?(E=location?.search)===null||E===void 0?void 0:E.replace("?",""):""},[]);return o.createElement(Ki,{resolver:Si,enableDataSource:!1,schema:t?.data,utmVal:b},o.createElement(Yi,{utmVal:b,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(v=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.personalized_recommend)!==null&&v!==void 0?v:e,defaultSize:(h=(u=t?.sxp_parameter)===null||u===void 0?void 0:u.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:n,loadingImage:s,appDomain:l,enabledMetaConversionApi:a,isShowTag:(I=(w=(x=t?.data)===null||x===void 0?void 0:x.sxpPageConf)===null||w===void 0?void 0:w.globalConfig)===null||I===void 0?void 0:I.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:P})=>{var g;return o.createElement(o.Fragment,null,o.createElement(On,Object.assign({},(g=t?.data)===null||g===void 0?void 0:g.sxpPageConf,{tagList:P,data:E,resolver:Si,licenseUrl:r})),o.createElement(rd,null))}}))};var ad=o.memo(dd);const Ln=o.createContext({}),ud=({children:t,data:e})=>{var i,n,s,l,r,a,d,v,u,h,m,f,x;const[w,I]=o.useState(!1),[p,T]=o.useState(!1);return o.createElement(Ln.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.loading_image,privacyContent:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.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:(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:I,openConsent:p,setOpenConsent:T,sxpFontLinks:e?.sxpFontLinks,utmParameter:e?.utm_parameter}},t)};function cd(){return o.useContext(Ln)}Xe.DiyPortalPreview=sd,Xe.EditorDataProvider=ud,Xe.Modal=Dt,Xe.SxpDataSourceProvider=Yi,Xe.SxpPageCore=ad,Xe.SxpPageRender=On,Xe.core=oo,Xe.default=Xn,Xe.materials=bi,Xe.useEditorDataProvider=cd,Object.defineProperty(Xe,"__esModule",{value:!0})});
|
7
7
|
//# sourceMappingURL=pb-ui.min.js.map
|