pb-sxp-ui 1.0.90 → 1.0.91

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.min.js CHANGED
@@ -1,7 +1,7 @@
1
- import{isEmpty as Pt,isEqual as Oi,cloneDeep as xt,debounce as Xt,throttle as Ot,get as Mi}from"lodash";import{v4 as jn}from"uuid";import Nn from"pako";import f,{useContext as Et,useMemo as ee,memo as me,useEffect as te,createContext as It,useState as G,useRef as Q,useCallback as ae,forwardRef as Mt,useImperativeHandle as Li,useLayoutEffect as Bn}from"react";import Jt from"qs";import zn from"eventemitter3";import{css as he}from"@emotion/css";import*as ji from"react-dom";import Ni from"hls.js";function Le(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function ze(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const Fn=/:\w+/g;var Bi=(t,e)=>ze(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:a,name:c,queryString:d,headers:p,body:g}=e[o];let y=s;a&&Object.entries(a).forEach(([b,T])=>{y=y.replace(Fn,E=>E===b?T:E)}),d&&(y+=d),n[l]=c;try{const b=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(g)}).then(T=>T.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const zi="SXP_TOKEN_INFO",Vn=(t,e)=>ze(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(zi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(zi,JSON.stringify(s))}}return s});function Lt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Rn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Hn=()=>{const t=jn();return t?.replaceAll?t.replaceAll("-",""):Rn(32)};function Fi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=Nn.inflate(n,{to:"string"});return JSON.parse(o)}let Kt=null;const Un={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Gn{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Kt)return Kt;Kt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Un[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ne=null;const $n={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ne||(Ne=new Gn),n&&Ne.setApiUrl(n),Ne.setAppId(t),Ne.setTenantId(e),Ne.setEnv(i)},getDetail:t=>{if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=Fi((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield Bi(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>ze(void 0,void 0,void 0,function*(){if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=Fi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>ze(void 0,void 0,void 0,function*(){if(!Ne)return;const e=yield Vn(Ne,t),i=Lt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Pt(n)&&(n=Lt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function lt(){return Et(Ki)}function Wn(){return Et(Ji)}const Qt="feRealSessionIdKey",Vi=()=>{const t=Hn();return`${Date.now()}${t}`},Yn=()=>{let t=qn();return t||(t=Vi(),window.sessionStorage.setItem(Qt,t)),t},Ri=()=>{const t=Vi();window.sessionStorage.setItem(Qt,t)},qn=()=>window.sessionStorage.getItem(Qt),Hi="SXP_FAKE_USER_ID",Ui="FAKE_USER_STATE",Gi="AGREE_POLICY",$i=()=>{let t=window.localStorage.getItem(Hi);return Pt(t)&&(t=Lt(36,62),window.localStorage.setItem(Hi,t)),t},Xn=()=>{const t=window.localStorage.getItem(Ui);return Pt(t)&&window.localStorage.setItem(Ui,"true"),Pt(t)};function qe(t,e){const{appDomain:i}=Se();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const st=new zn;var Ke;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ke||(Ke={}));const Jn=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=Se(),a=ee(()=>{const p=location.search.slice(1),g=Jt.parse(p.replace(/\+/g,"%2B"));for(const y in g)g[y]=g[y].replace(/%2B/g,"+");return g},[]),c=p=>{var g;return(g=a[p])!==null&&g!==void 0?g:null};te(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({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(Gi,"yes")};return f.createElement("div",{className:"consent-bg"},f.createElement("div",{className:"consent"},f.createElement("div",{className:"consent-col"},f.createElement("div",{className:"consent-title"},i??"Privacy Policy"),f.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.")),f.createElement("div",{className:"consent-col"},f.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:d},"Agree"),f.createElement("a",{className:"consent-policy",target:"_blank",href:o?`https://${o}`:void 0},l??"More information"))))};var Kn=me(Jn);const Wi=It({rtcList:[],tagList:[]});var Zt;(function(t){t[t.BFF=5]="BFF"})(Zt||(Zt={}));const Yi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],jt="FOR U",Qn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:g=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:E=!1,globalConfig:u,isEditor:h=!1})=>{var m,I,k;const[v,A]=G([]),[_,S]=G([]),[w,D]=G(!1),[x,C]=G({rtc:"",requestId:""}),O=Q(null),N=Q(!1),[M,W]=G(()=>!!window.localStorage.getItem(Gi)),[V,B]=G(),[j,L]=G(),[F,z]=G(p),[R,H]=G([]),[oe,fe]=G(0),[pe,q]=G(!1),[K,J]=G(null),Y=Q(),Z=Q(),[Ie,Pe]=G(jt),je=ee(()=>{var U,$,re,xe;return((xe=(re=($=(U=u?.consent)===null||U===void 0?void 0:U[0])===null||$===void 0?void 0:$.item)===null||re===void 0?void 0:re.props)===null||xe===void 0?void 0:xe.privacy_necessity)&&!M&&!h||E},[M,u,E,h]);te(()=>{const U=$=>{Y.current=$};return st.on(Ke.CHANGE_THEME_TAG,U),()=>{st.off(Ke.CHANGE_THEME_TAG,U)}},[]),te(()=>{z(p)},[p]);const $e=ee(()=>e?.find(U=>U.type===Zt.BFF),[e]),ce=ae((U,$)=>{if(!$e)return;const re=$e.url,xe=$i();if($?.query){const Te=Jt.stringify($.query);U=`${U}?${Te}`}return $.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${re}/api/v1${U}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},$e.headers),{"x-user-id":xe}),$.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${re}/api/v1${U}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":xe},$e.headers),method:$.method,body:JSON.stringify($.body)}).then(Te=>Te.json()).catch(Te=>Promise.reject(Te))},[$e]),de=ae(U=>ze(void 0,void 0,void 0,function*(){var $,re,xe,Te,ke;if(U={maxSize:($=U?.maxSize)!==null&&$!==void 0?$:o,defaultSize:(re=U?.defaultSize)!==null&&re!==void 0?re:l,"itemFilter.itemId":U?.["itemFilter.itemId"],"itemFilter.itemType":U?.["itemFilter.itemType"],hashTag:U?.hashTag,traceInfo:U?.traceInfo,themeTag:U?.themeTag},i){const Oe=(ke=(Te=(xe=i?.split("&"))===null||xe===void 0?void 0:xe.filter(ot=>{const P=ot.split("=")[0];return Yi.includes(P)}))===null||Te===void 0?void 0:Te.join("&"))!==null&&ke!==void 0?ke:"";U=Object.assign(Object.assign({},U),{channel:decodeURIComponent(Oe)})}const Ee=yield ce?.("/recommend/list",{method:"GET",query:U});if(Ee?.success)return U?.hashTag||C({rtc:Ee.data.rtc,requestId:Ee.data.requestId}),Ee?.data}),[ce,i,o,l]),we=ae(()=>ze(void 0,void 0,void 0,function*(){var U,$;if(v.length<=0)return;const re=yield de({hashTag:j?.hashTag,"itemFilter.itemId":j?.itemId,"itemFilter.itemType":j?.itemType,themeTag:Y.current});A(v.concat((U=re?.recList)!==null&&U!==void 0?U:[])),H(R.concat(($=re?.recList)!==null&&$!==void 0?$:[]))}),[de,v,j,R]),ve=ae(({userInfo:U,eventInfo:$})=>{if(!n)return;U||(U={});const re=Yn(),xe=Object.assign({sessionID:re,rtc:x.rtc,requestId:x.requestId},$),Te=Object.entries(U).map(([Ee,Oe])=>({name:Ee,value:Oe})),ke=Object.entries(xe).map(([Ee,Oe])=>Oe&&{name:Ee,value:Oe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",U),console.log("eventInfo:",xe),console.log("========= \u7ED3\u675F ========="),ce?.("/event/report",{method:"POST",body:{userInfo:Te,eventInfo:ke},type:"beacon"})},[ce,x,n]),ue=ae(U=>{var $,{eventName:re,actionSource:xe="website",eventSourceUrl:Te=($=window?.location)===null||$===void 0?void 0:$.href,externalId:ke}=U;if(!n||!g)return;const Ee=$i();return ce?.("/fb/events",{method:"POST",body:{eventName:re,actionSource:xe,eventSourceUrl:Te,userData:{externalId:Ee}},type:"beacon"})},[ce,n,g]),He=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ce?.("/recommend/like",{method:"POST",body:U});return $?.success}),[ce]),Ae=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ce?.("/recommend/unlike",{method:"POST",body:U});return $?.success}),[ce]),rt=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ce?.("/customform",{method:"POST",body:U});return $?.success}),[ce]),et=ae(()=>ze(void 0,void 0,void 0,function*(){var U,$,re,xe,Te;if(!(!i||!T))try{const ke=(re=($=(U=i?.split("&"))===null||U===void 0?void 0:U.filter(Oe=>{const ot=Oe.split("=")[0];return Yi.includes(ot)}))===null||$===void 0?void 0:$.join("&"))!==null&&re!==void 0?re:"",Ee=yield ce?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});S((Te=(xe=Ee?.data)===null||xe===void 0?void 0:xe.tags)!==null&&Te!==void 0?Te:[])}catch(ke){console.log("e",ke)}}),[ce,i,T]),We=ae((U,$,re,xe)=>{var Te,ke,Ee,Oe,ot,P,se,X,le,be,ye,ie;const ne=re?.bindCta,Ce=((Te=$?.video)===null||Te===void 0?void 0:Te.bindProduct)||((ke=$?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((Oe=(Ee=$?.video)===null||Ee===void 0?void 0:Ee.bindProducts)===null||Oe===void 0?void 0:Oe.length)>0;let De="";pe?De="hashTagPage":!((ot=$?.video)===null||ot===void 0)&&ot.url?De="videoPage":!((se=(P=$?.video)===null||P===void 0?void 0:P.imgUrls)===null||se===void 0)&&se.length&&(De="imagePage"),ve?.({eventInfo:Object.assign(Object.assign({},U),{ctaId:(X=ne?.itemId)!==null&&X!==void 0?X:"",ctaName:(le=ne?.title)!==null&&le!==void 0?le:"",contentTags:JSON.stringify(ne?.tags),position:xe+"",contentId:(ye=(be=$?.video)===null||be===void 0?void 0:be.itemId)!==null&&ye!==void 0?ye:"",productId:Ce?re?.itemId:"",traceInfo:(ie=ne?.traceInfo)!==null&&ie!==void 0?ie:"",fromKName:De})})},[ve,pe]),Dt=ae(()=>{var U,$;const re=location.search.slice(1),xe=Jt.parse(re.replace(/\+/g,"%2B"));for(const Ee in xe)xe[Ee]=xe[Ee].replace(/%2B/g,"+");const Te=Ee=>{var Oe;return(Oe=xe[Ee])!==null&&Oe!==void 0?Oe:""},ke=new Date;Z.current=ke,ve?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Te("utm_source"),utmMedium:Te("utm_medium"),utmCampaign:Te("utm_campaign"),utmId:Te("utm_id"),utmContent:Te("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:($=(U=window?.location)===null||U===void 0?void 0:U.href)!==null&&$!==void 0?$:"",clSource:Te("cl_source")}})},[ve]);te(()=>{je||Dt()},[je]),te(()=>{je||(D(!0),et(),de().then(U=>{var $,re;A(($=U?.recList)!==null&&$!==void 0?$:[]),H((re=U?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{ve({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),D(!1),N.current=!0}))},[je]),te(()=>{N.current&&(D(!0),et(),de().then(U=>{var $,re;A(($=U?.recList)!==null&&$!==void 0?$:[]),H((re=U?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{D(!1)}))},[de,et]);const At=qe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return f.createElement(Wi.Provider,{value:{rtcList:v,setRtcList:A,mutateLike:He,mutateUnlike:Ae,submitForm:rt,popupDetailData:V,loadVideos:we,setPopupDetailData:B,getRecommendVideos:de,bffEventReport:ve,utmVal:i,isPreview:r,loading:w,sxpParameter:s,waterFallData:j,setWaterFallData:L,ctaEvent:We,swiperRef:O,openHashtag:F,setOpenHashtag:z,cacheRtcList:R,setCacheRtcList:H,cacheActiveIndex:oe,setCacheActiveIndex:fe,isFromHashtag:pe,setIsFromHashtag:q,appDomain:a,hashTagSize:c,loadingImage:d??At,isOpenHashTag:p,tagList:_,setLoading:D,videoRef:K,setVideoRef:J,bffFbReport:ue,isAgreePolicy:M,setIsAgreePolicy:W,curTime:Z,h5EnterLink:Dt,themeTag:Y,isShowConsent:je,selectTag:Ie,setSelectTag:Pe}},je?f.createElement(Kn,Object.assign({},(k=(I=(m=u?.consent)===null||m===void 0?void 0:m[0])===null||I===void 0?void 0:I.item)===null||k===void 0?void 0:k.props)):t({rtcList:v,mutateLike:He,mutateUnlike:Ae,submitForm:rt,tagList:_}))};var qi=me(Qn);function Se(){return Et(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=It({$store:{},options:[],configs:[]}),Zn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=lt(),[r,s]=G(l.__STORE__||{}),[a,c]=G([]);te(()=>{var g;e||Oi(a,l?.dataSource)||c((g=l?.dataSource)!==null&&g!==void 0?g:[])},[l?.dataSource,e]);const d=ae(()=>ze(void 0,void 0,void 0,function*(){const{$store:g,idMapName:y}=yield Bi("",a);s(g),p(g,y)}),[a]),p=(g,y)=>{const b=[];Object.entries(g).forEach(([T,E])=>{Object.keys(E).forEach(u=>{const h={label:`${y[T]} - ${u}`,value:`{{ ${T}.${u} }}`};b.push(h)})}),o(b)};return te(()=>{e||d()},[d,e,l]),i?f.createElement(Ji.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var eo=me(Zn);const Nt={id:Lt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},ei={id:"",duration:0,name:"none"},Ki=f.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Nt],redoStack:[],popup:ei,setPopup:()=>{}}),Qi=Mt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=G(null),[c,d]=G(n||{pointData:[Nt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,g]=G([Nt]),[y,b]=G([[Nt]]),[T,E]=G([]),[u,h]=G(ei);typeof window<"u"&&(window.sxpPopup=(A,_)=>{h(Object.assign(Object.assign(Object.assign({},ei),{id:A}),_))}),typeof window<"u"&&(window.getJointUtmLink=A=>A?.indexOf("?")!==-1?A+(l?"&"+l:""):A+(l?"?"+l:"")),te(()=>{b([c.pointData]),E([])},[c.type]);const m=ae(A=>{const _=xt(c);_&&(_.dataSource=A,d?.(_))},[c]),[I,k]=G();Li(r,()=>({loadSchema(A){A&&(b([A.pointData]),d(A))},exportSchema(){return xt(c)},getPageInfoData(){return I},initPageInfoData(A){A&&k(A)}}));const v=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return f.createElement(Ki.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:m,prePiontData:p,setPrePiontData:g,pageInfoData:I,setPageInfoData:A=>k(Object.assign(Object.assign({},I),A)),undoStack:y,redoStack:T,setRedoStack:E,setUndoStack:b,getCurPageConf:v,popup:u,setPopup:h}},f.createElement(eo,{isSsr:i,enable:o},t))});var to=Object.freeze({__proto__:null,EditorCore:Qi}),io=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ge=[{label:"defalut",value:"appFont"}],ti=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),no=ti&&ti!==""?JSON.parse(ti):[];var Ue={fontOptions:[...ge,...no]},ii,ni,oi,oo=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:ge,initialValue:(ii=ge?.[0])===null||ii===void 0?void 0:ii.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ue?.fontOptions,initialValue:(oi=(ni=Ue?.fontOptions)===null||ni===void 0?void 0:ni[0])===null||oi===void 0?void 0:oi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ve(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=Se(),o=ae((s,a,c,d)=>{var p,g,y,b,T,E,u,h,m,I,k,v,A,_;let S="";e&&(!((g=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||g===void 0)&&g.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?S="pdpPage":n?S="hashTagPage":!((b=s?.video)===null||b===void 0)&&b.url?S="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((u=(E=s?.video)===null||E===void 0?void 0:E.imgUrls)===null||u===void 0)&&u.length)?S="imagePage":s?.product&&(S="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(h=a?.itemId)!==null&&h!==void 0?h:"",productName:(m=a?.title)!==null&&m!==void 0?m:"",price:a?.price?a?.price+"":"0",productCollection:(I=a?.collection)!==null&&I!==void 0?I:"",fromKName:S,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(v=(k=s?.video)===null||k===void 0?void 0:k.itemId)!==null&&v!==void 0?v:"",ctatId:(A=c?.itemId)!==null&&A!==void 0?A:"",traceInfo:(_=a?.traceInfo)!==null&&_!==void 0?_:""}})},[t,e,n]),l=ae((s,a,c,d,p)=>{var g,y,b,T;let E="";e&&(!((y=(g=s?.video)===null||g===void 0?void 0:g.bindProducts)===null||y===void 0)&&y.length||!((b=s?.video)===null||b===void 0)&&b.bindProduct)?E="pdpPage":s?.product&&(E="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:E,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=ae((s,a,c,d)=>{a&&a===jt&&t?.({eventInfo:{lastFeed:s,themeTags:c?`['${c}']`:"",hashTags:d?`['${d}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const lo=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:g,submitButtonStyle:y}=t,b=Le(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:E}=Se(),{jumpToWeb:u}=Ve(),h=Q(),[m,I]=G(!1),k=ee(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]);ee(()=>{if(a===void 0){const A=xt(e)||k;return A?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return xt(e)||k},[a,e,k]);const v=Xt(()=>ze(void 0,void 0,void 0,function*(){var A,_,S,w,D,x;const C=yield(A=h?.current)===null||A===void 0?void 0:A.getFieldsValue();if(!C)return;const O=(S=(_=Object.keys(C))===null||_===void 0?void 0:_.map(M=>{var W;return{name:M,value:(W=C[M])!==null&&W!==void 0?W:""}}))===null||S===void 0?void 0:S.filter(M=>M?.value);if(!O||!O?.length)return;I(!0);const N=yield T?.({attributes:O});if(I(!1),N){if(c){const M=E,W=(w=M?.video)===null||w===void 0?void 0:w.bindProduct,V=(x=(D=M?.video)===null||D===void 0?void 0:D.bindProduct)===null||x===void 0?void 0:x.bindCta,B=E?.index;u(M,W,V,B)}d||g?.(),p?.()}}),1e3);return f.createElement("div",{className:"pb-appoint-form"},f.createElement("div",{className:`pb-appoint-form-title ${he(Object.assign({},o))}`},n),f.createElement("div",Object.assign({className:he(Object.assign({},i))},b),f.createElement("div",{className:"pb-appoint-form-container"})),f.createElement("div",{className:"pb-appoint-form-btn-wrapper"},f.createElement("button",{"aria-label":s,onClick:v,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},m?f.createElement(f.Fragment,null,"loading..."):s)))};var so=me(lo);function Re(t,e){return t.extend=e,t}const ao=Re(so,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:oo,bindableProps:[],interactionRender:io},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 li,si,ro=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(li=ge?.[0])===null||li===void 0?void 0:li.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ge,initialValue:(si=ge?.[0])===null||si===void 0?void 0:si.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Zi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ai(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&&ai(t[i],e[i])})}const en={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 Qe(){const t=typeof document<"u"?document:{};return ai(t,en),t}const co={document:en,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 Fe(){const t=typeof window<"u"?window:{};return ai(t,co),t}function ct(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function uo(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function yt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Xe(){return Date.now()}function po(t){const e=Fe();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function vo(t,e){e===void 0&&(e="x");const i=Fe();let n,o,l;const r=po(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(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?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function Bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function fo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ge(){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&&!fo(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(Bt(t[s])&&Bt(n[s])?n[s].__swiper__?t[s]=n[s]:Ge(t[s],n[s]):!Bt(t[s])&&Bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Ge(t[s],n[s])):t[s]=n[s])}}}return t}function zt(t,e,i){t.style.setProperty(e,i)}function tn(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Fe(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(g,y)=>c==="next"&&g>=y||c==="prev"&&g<=y,p=()=>{s=new Date().getTime(),r===null&&(r=s);const g=Math.max(Math.min((s-r)/a,1),0),y=.5-Math.cos(g*Math.PI)/2;let b=l+y*(i-l);if(d(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),d(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function tt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Ft(t){try{console.warn(t);return}catch{}}function Ct(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ct(e)),i}function mo(t){const e=Fe(),i=Qe(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function ho(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 go(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 ut(t,e){return Fe().getComputedStyle(t,null).getPropertyValue(e)}function Vt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function nn(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 ri(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function di(t,e,i){const n=Fe();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 it(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function bo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Fe();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,s=Xe(),a;const c=[];function d(m){let A=0,_=0,S=0,w=0;return"detail"in m&&(_=m.detail),"wheelDelta"in m&&(_=-m.wheelDelta/120),"wheelDeltaY"in m&&(_=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(A=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(A=_,_=0),S=A*10,w=_*10,"deltaY"in m&&(w=m.deltaY),"deltaX"in m&&(S=m.deltaX),m.shiftKey&&!S&&(S=w,w=0),(S||w)&&m.deltaMode&&(m.deltaMode===1?(S*=40,w*=40):(S*=800,w*=800)),S&&!A&&(A=S<1?-1:1),w&&!_&&(_=w<1?-1:1),{spinX:A,spinY:_,pixelX:S,pixelY:w}}function p(){e.enabled&&(e.mouseEntered=!0)}function g(){e.enabled&&(e.mouseEntered=!1)}function y(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Xe()-s<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&Xe()-s<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",m.raw)),s=new l.Date().getTime(),!1)}function b(m){const I=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&I.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&I.releaseOnEdges)return!0;return!1}function T(m){let I=m,k=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const v=e.params.mousewheel;e.params.cssMode&&I.preventDefault();let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget));const _=A&&A.contains(I.target);if(!e.mouseEntered&&!_&&!v.releaseOnEdges)return!0;I.originalEvent&&(I=I.originalEvent);let S=0;const w=e.rtlTranslate?-1:1,D=d(I);if(v.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))S=-D.pixelX*w;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))S=-D.pixelY;else return!0;else S=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*w:-D.pixelY;if(S===0)return!0;v.invert&&(S=-S);let x=e.getTranslate()+S*v.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),k=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),k&&e.params.nested&&I.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:Xe(),delta:Math.abs(S),direction:Math.sign(S),raw:m};c.length>=2&&c.shift();const O=c.length?c[c.length-1]:void 0;if(c.push(C),O?(C.direction!==O.direction||C.delta>O.delta||C.time>O.time+150)&&y(C):y(C),b(C))return!0}else{const C={time:Xe(),delta:Math.abs(S),direction:Math.sign(S)},O=a&&C.time<a.time+500&&C.delta<=a.delta&&C.direction===a.direction;if(!O){a=void 0;let N=e.getTranslate()+S*v.sensitivity;const M=e.isBeginning,W=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!M&&e.isBeginning||!W&&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,c.length>=15&&c.shift();const V=c.length?c[c.length-1]:void 0,B=c[0];if(c.push(C),V&&(C.delta>V.delta||C.direction!==V.direction))c.splice(0);else if(c.length>=15&&C.time-B.time<500&&B.delta-C.delta>=1&&C.delta<=6){const j=S>0?.8:.2;a=C,c.splice(0),r=yt(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}r||(r=yt(()=>{a=C,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",I),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),v.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return I.preventDefault?I.preventDefault():I.returnValue=!1,!1}function E(m){let I=e.el;e.params.mousewheel.eventsTarget!=="container"&&(I=document.querySelector(e.params.mousewheel.eventsTarget)),I[m]("mouseenter",p),I[m]("mouseleave",g),I[m]("wheel",T)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(E("addEventListener"),e.mousewheel.enabled=!0,!0)}function h(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(E("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&h(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&h()}),Object.assign(e.mousewheel,{enable:u,disable:h})}function on(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=tt(t.el,`.${n[o]}`)[0];l||(l=Ct("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function wt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Rt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,h){const{bulletActiveClass:m}=e.params.pagination;u&&(u=u[`${h==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${m}-${h}`),u=u[`${h==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${m}-${h}-${h}`)))}function d(u){const h=u.target.closest(wt(e.params.pagination.bulletClass));if(!h)return;u.preventDefault();const m=Vt(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===m)return;e.slideToLoop(m)}else e.slideTo(m)}function p(){const u=e.rtl,h=e.params.pagination;if(a())return;let m=e.pagination.el;m=it(m);let I,k;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,A=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,I=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(I=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,I=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let S,w,D;if(h.dynamicBullets&&(r=di(_[0],e.isHorizontal()?"width":"height",!0),m.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&k!==void 0&&(s+=I-(k||0),s>h.dynamicMainBullets-1?s=h.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(I-s,0),w=S+(Math.min(_.length,h.dynamicMainBullets)-1),D=(w+S)/2),_.forEach(x=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${h.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...C)}),m.length>1)_.forEach(x=>{const C=Vt(x);C===I?x.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),h.dynamicBullets&&(C>=S&&C<=w&&x.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),C===S&&c(x,"prev"),C===w&&c(x,"next"))});else{const x=_[I];if(x&&x.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&_.forEach((C,O)=>{C.setAttribute("part",O===I?"bullet-active":"bullet")}),h.dynamicBullets){const C=_[S],O=_[w];for(let N=S;N<=w;N+=1)_[N]&&_[N].classList.add(...`${h.bulletActiveClass}-main`.split(" "));c(C,"prev"),c(O,"next")}}if(h.dynamicBullets){const x=Math.min(_.length,h.dynamicMainBullets+4),C=(r*x-r)/2-D*r,O=u?"right":"left";_.forEach(N=>{N.style[e.isHorizontal()?O:"top"]=`${C}px`})}}m.forEach((_,S)=>{if(h.type==="fraction"&&(_.querySelectorAll(wt(h.currentClass)).forEach(w=>{w.textContent=h.formatFractionCurrent(I+1)}),_.querySelectorAll(wt(h.totalClass)).forEach(w=>{w.textContent=h.formatFractionTotal(A)})),h.type==="progressbar"){let w;h.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const D=(I+1)/A;let x=1,C=1;w==="horizontal"?x=D:C=D,_.querySelectorAll(wt(h.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${C})`,O.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(_.innerHTML=h.renderCustom(e,I+1,A),S===0&&o("paginationRender",_)):(S===0&&o("paginationRender",_),o("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](h.lockClass)})}function g(){const u=e.params.pagination;if(a())return;const h=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 m=e.pagination.el;m=it(m);let I="";if(u.type==="bullets"){let k=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>h&&(k=h);for(let v=0;v<k;v+=1)u.renderBullet?I+=u.renderBullet.call(e,v,u.bulletClass):I+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?I=u.renderFraction.call(e,u.currentClass,u.totalClass):I=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?I=u.renderProgressbar.call(e,u.progressbarFillClass):I=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],m.forEach(k=>{u.type!=="custom"&&(k.innerHTML=I||""),u.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(wt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",m[0])}function y(){e.params.pagination=on(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let h;typeof u.el=="string"&&e.isElement&&(h=e.el.querySelector(u.el)),!h&&typeof u.el=="string"&&(h=[...document.querySelectorAll(u.el)]),h||(h=u.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(u.el)],h.length>1&&(h=h.filter(m=>nn(m,".swiper")[0]===e.el)[0])),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=it(h),h.forEach(m=>{u.type==="bullets"&&u.clickable&&m.classList.add(...(u.clickableClass||"").split(" ")),m.classList.add(u.modifierClass+u.type),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(m.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&m.classList.add(u.progressbarOppositeClass),u.clickable&&m.addEventListener("click",d),e.enabled||m.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=it(h),h.forEach(m=>{m.classList.remove(u.hiddenClass),m.classList.remove(u.modifierClass+u.type),m.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(m.classList.remove(...(u.clickableClass||"").split(" ")),m.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(m=>m.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:h}=e.pagination;h=it(h),h.forEach(m=>{m.classList.remove(u.horizontalClass,u.verticalClass),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?E():(y(),g(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{g(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,h)=>{const m=h.target,I=it(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!m.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&m===e.navigation.nextEl||e.navigation.prevEl&&m===e.navigation.prevEl))return;const k=I[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),I.forEach(v=>v.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),y(),g(),p()},E=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:E,render:g,update:p,init:y,destroy:b})}function yo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Qe();let r=!1,s=null,a=null,c,d,p,g;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:C}=e,{dragEl:O,el:N}=x,M=e.params.scrollbar,W=e.params.loop?e.progressLoop:e.progress;let V=d,B=(p-d)*W;C?(B=-B,B>0?(V=d-B,B=0):-B+d>p&&(V=p+B)):B<0?(V=d+B,B=0):B+d>p&&(V=p-B),e.isHorizontal()?(O.style.transform=`translate3d(${B}px, 0, 0)`,O.style.width=`${V}px`):(O.style.transform=`translate3d(0px, ${B}px, 0)`,O.style.height=`${V}px`),M.hide&&(clearTimeout(s),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function b(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:C,el:O}=x;C.style.width="",C.style.height="",p=e.isHorizontal()?O.offsetWidth:O.offsetHeight,g=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*g:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${d}px`:C.style.height=`${d}px`,g>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function E(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:C,rtlTranslate:O}=e,{el:N}=C;let M;M=(E(x)-mo(N)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),M=Math.max(Math.min(M,1),0),O&&(M=1-M);const W=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*M;e.updateProgress(W),e.setTranslate(W),e.updateActiveIndex(),e.updateSlidesClasses()}function h(x){const C=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:M,dragEl:W}=O;r=!0,c=x.target===W?E(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),N.style.transitionDuration="100ms",W.style.transitionDuration="100ms",u(x),clearTimeout(a),M.style.transitionDuration="0ms",C.hide&&(M.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function m(x){const{scrollbar:C,wrapperEl:O}=e,{el:N,dragEl:M}=C;r&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,u(x),O.style.transitionDuration="0ms",N.style.transitionDuration="0ms",M.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function I(x){const C=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:M}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),C.hide&&(clearTimeout(a),a=yt(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),C.snapOnRelease&&e.slideToClosest())}function k(x){const{scrollbar:C,params:O}=e,N=C.el;if(!N)return;const M=N,W=O.passiveListeners?{passive:!1,capture:!1}:!1,V=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!M)return;const B=x==="on"?"addEventListener":"removeEventListener";M[B]("pointerdown",h,W),l[B]("pointermove",m,W),l[B]("pointerup",I,V)}function v(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function A(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function _(){const{scrollbar:x,el:C}=e;e.params.scrollbar=on(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let N;if(typeof O.el=="string"&&e.isElement&&(N=e.el.querySelector(O.el)),!N&&typeof O.el=="string"){if(N=l.querySelectorAll(O.el),!N.length)return}else N||(N=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&N.length>1&&C.querySelectorAll(O.el).length===1&&(N=C.querySelector(O.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let M;N&&(M=N.querySelector(wt(e.params.scrollbar.dragClass)),M||(M=Ct("div",e.params.scrollbar.dragClass),N.append(M))),Object.assign(x,{el:N,dragEl:M}),O.draggable&&v(),N&&N.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...ct(e.isHorizontal()?x.horizontalClass:x.verticalClass)),A()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:C}=e.scrollbar;C=it(C),C.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(_(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(x,C)=>{b(C)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const w=()=>{e.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),_(),T(),y()},D=()=>{e.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:w,disable:D,updateSize:T,setTranslate:y,init:_,destroy:S})}function Ht(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),g,y,b,T,E,u,h;function m(V){!e||e.destroyed||!e.wrapperEl||V.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!(h||V.detail&&V.detail.bySwiperTouchMove)&&w())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?g=!0:g&&(c=d,g=!1);const V=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=V,o("autoplayTimeLeft",V,V/a),s=requestAnimationFrame(()=>{I()})},k=()=>{let V;return e.virtual&&e.params.virtual.enabled?V=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:V=e.slides[e.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},v=V=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),I();let B=typeof V>"u"?e.params.autoplay.delay:V;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const j=k();!Number.isNaN(j)&&j>0&&typeof V>"u"&&(B=j,a=j,c=j),d=B;const L=e.params.speed,F=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{v()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{F()},B)):requestAnimationFrame(()=>{F()}),B},A=()=>{p=new Date().getTime(),e.autoplay.running=!0,v(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},S=(V,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),V||(u=!0);const j=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):w()};if(e.autoplay.paused=!0,B){E&&(d=e.params.autoplay.delay),E=!1,j();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),j())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,v(d)):v(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const V=Qe();V.visibilityState==="hidden"&&(u=!0,S(!0)),V.visibilityState==="visible"&&w()},x=V=>{V.pointerType==="mouse"&&(u=!0,h=!0,!(e.animating||e.autoplay.paused)&&S(!0))},C=V=>{V.pointerType==="mouse"&&(h=!1,e.autoplay.paused&&w())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",C))},N=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",C))},M=()=>{Qe().addEventListener("visibilitychange",D)},W=()=>{Qe().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(O(),M(),A())}),n("destroy",()=>{N(),W(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(b||u)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():S(!0,!0)}),n("beforeTransitionStart",(V,B,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?S(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}y=!0,b=!1,u=!1,T=setTimeout(()=>{u=!0,b=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&w(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:A,stop:_,pause:S,resume:w})}function wo(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Xe()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:g,snapGrid:y,touchEventsData:b}=e,E=Xe()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const _=b.velocities.pop(),S=b.velocities.pop(),w=_.position-S.position,D=_.time-S.time;e.velocity=w/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Xe()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,b.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const h=e.velocity*u;let m=e.translate+h;g&&(m=-m);let I=!1,k;const v=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let A;if(m<e.maxTranslate())d.freeMode.momentumBounce?(m+e.maxTranslate()<-v&&(m=e.maxTranslate()-v),k=e.maxTranslate(),I=!0,b.allowMomentumBounce=!0):m=e.maxTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(m>e.minTranslate())d.freeMode.momentumBounce?(m-e.minTranslate()>v&&(m=e.minTranslate()+v),k=e.minTranslate(),I=!0,b.allowMomentumBounce=!0):m=e.minTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(d.freeMode.sticky){let _;for(let S=0;S<y.length;S+=1)if(y[S]>-m){_=S;break}Math.abs(y[_]-m)<Math.abs(y[_-1]-m)||e.swipeDirection==="next"?m=y[_]:m=y[_-1],m=-m}if(A&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(g?u=Math.abs((-m-e.translate)/e.velocity):u=Math.abs((m-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((g?-m:m)-e.translate),S=e.slidesSizesGrid[e.activeIndex];_<S?u=d.speed:_<2*S?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&I?(e.updateProgress(k),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ri(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(k),ri(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ri(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||E>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let ci;function So(){const t=Fe(),e=Qe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ln(){return ci||(ci=So()),ci}let ui;function To(t){let{userAgent:e}=t===void 0?{}:t;const i=ln(),n=Fe(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),g=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let b=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&T.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!y&&(r.os="android",r.android=!0),(d||g||p)&&(r.os="ios",r.ios=!0),r}function sn(t){return t===void 0&&(t={}),ui||(ui=To(t)),ui}let pi;function xo(){const t=Fe(),e=sn();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function Eo(){return pi||(pi=xo()),pi}function Io(t){let{swiper:e,on:i,emit:n}=t;const o=Fe();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:g,height:y}=e;let b=g,T=y;p.forEach(E=>{let{contentBoxSize:u,contentRect:h,target:m}=E;m&&m!==e.el||(b=h?h.width:(u[0]||u).inlineSize,T=h?h.height:(u[0]||u).blockSize)}),(b!==g||T!==y)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function Co(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Fe(),s=function(d,p){p===void 0&&(p={});const g=r.MutationObserver||r.WebkitMutationObserver,y=new g(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const T=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});y.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(y)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=nn(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var _o={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function ko(){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(ut(n,"padding-left")||0,10)-parseInt(ut(n,"padding-right")||0,10),i=i-parseInt(ut(n,"padding-top")||0,10)-parseInt(ut(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 Do(){const t=this;function e(w,D){return parseFloat(w.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=tt(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let g=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let E=i.slidesOffsetAfter;typeof E=="function"&&(E=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,h=t.slidesGrid.length;let m=i.spaceBetween,I=-T,k=0,v=0;if(typeof l>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*l:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,d.forEach(w=>{r?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(zt(n,"--swiper-centered-offset-before",""),zt(n,"--swiper-centered-offset-after",""));const A=i.grid&&i.grid.rows>1&&t.grid;A?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<p;w+=1){_=0;let D;if(d[w]&&(D=d[w]),A&&t.grid.updateSlide(w,D,d),!(d[w]&&ut(D,"display")==="none")){if(i.slidesPerView==="auto"){S&&(d[w].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(D),C=D.style.transform,O=D.style.webkitTransform;if(C&&(D.style.transform="none"),O&&(D.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?di(D,"width",!0):di(D,"height",!0);else{const N=e(x,"width"),M=e(x,"padding-left"),W=e(x,"padding-right"),V=e(x,"margin-left"),B=e(x,"margin-right"),j=x.getPropertyValue("box-sizing");if(j&&j==="border-box")_=N+V+B;else{const{clientWidth:L,offsetWidth:F}=D;_=N+M+W+V+B+(F-L)}}C&&(D.style.transform=C),O&&(D.style.webkitTransform=O),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*m)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[w]&&(d[w].style[t.getDirectionLabel("width")]=`${_}px`);d[w]&&(d[w].swiperSlideSize=_),b.push(_),i.centeredSlides?(I=I+_/2+k/2+m,k===0&&w!==0&&(I=I-l/2-m),w===0&&(I=I-l/2-m),Math.abs(I)<1/1e3&&(I=0),i.roundLengths&&(I=Math.floor(I)),v%i.slidesPerGroup===0&&g.push(I),y.push(I)):(i.roundLengths&&(I=Math.floor(I)),(v-Math.min(t.params.slidesPerGroupSkip,v))%t.params.slidesPerGroup===0&&g.push(I),y.push(I),I=I+_+m),t.virtualSize+=_+m,k=_,v+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+E,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+m}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+m}px`),A&&t.grid.updateWrapperSize(_,g),!i.centeredSlides){const w=[];for(let D=0;D<g.length;D+=1){let x=g[D];i.roundLengths&&(x=Math.floor(x)),g[D]<=t.virtualSize-l&&w.push(x)}g=w,Math.floor(t.virtualSize-l)-Math.floor(g[g.length-1])>1&&g.push(t.virtualSize-l)}if(a&&i.loop){const w=b[0]+m;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=w*i.slidesPerGroup;for(let C=0;C<D;C+=1)g.push(g[g.length-1]+x)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&g.push(g[g.length-1]+w),y.push(y[y.length-1]+w),t.virtualSize+=w}if(g.length===0&&(g=[0]),m!==0){const w=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(D=>{D.style[w]=`${m}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;b.forEach(x=>{w+=x+(m||0)}),w-=m;const D=w-l;g=g.map(x=>x<=0?-T:x>D?D+E:x)}if(i.centerInsufficientSlides){let w=0;b.forEach(x=>{w+=x+(m||0)}),w-=m;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(w+D<l){const x=(l-w-D)/2;g.forEach((C,O)=>{g[O]=C-x}),y.forEach((C,O)=>{y[O]=C+x})}}if(Object.assign(t,{slides:d,snapGrid:g,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){zt(n,"--swiper-centered-offset-before",`${-g[0]}px`),zt(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+w),t.slidesGrid=t.slidesGrid.map(x=>x+D)}if(p!==c&&t.emit("slidesLengthChange"),g.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==h&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);p<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function Ao(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Po(){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 an=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Oo(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),g=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),y=-(r-d),b=y+e.slidesSizesGrid[a],T=y>=0&&y<=e.size-e.slidesSizesGrid[a],E=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;E&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),an(c,E,i.slideVisibleClass),an(c,T,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-g:g}}function Mo(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[d],y=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=g?s=(T-g)/b:s=(T+b-y)/b,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const vi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Lo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=p=>tt(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=go(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=ho(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{vi(p,p===a,i.slideActiveClass),vi(p,p===d,i.slideNextClass),vi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Ut=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},fi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},mi=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&fi(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&fi(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&fi(t,r)};function jo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function No(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof a>"u"&&(a=jo(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,a);c=y+Math.floor((a-y)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let g;if(e.virtual&&o.virtual.enabled&&o.loop)g=d(a);else if(p){const y=e.slides.filter(T=>T.column===a)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),g=Math.floor(b/o.grid.rows)}else if(e.slides[a]){const y=e.slides[a].getAttribute("data-swiper-slide-index");y?g=parseInt(y,10):g=a}else g=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:g,previousIndex:l,activeIndex:a}),e.initialized&&mi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function Bo(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var zo={updateSize:ko,updateSlides:Do,updateAutoHeight:Ao,updateSlidesOffset:Po,updateSlidesProgress:Oo,updateProgress:Mo,updateSlidesClasses:Lo,updateActiveIndex:No,updateClickedSlide:Bo};function Fo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=vo(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Vo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Ro(){return-this.snapGrid[0]}function Ho(){return-this.snapGrid[this.snapGrid.length-1]}function Uo(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return tn({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(g){!l||l.destroyed||g.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 Go={getTranslate:Fo,setTranslate:Vo,minTranslate:Ro,maxTranslate:Ho,translateTo:Uo};function $o(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 rn(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function Wo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),rn({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Yo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),rn({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var qo={setTransition:$o,transitionStart:Wo,transitionEnd:Yo};function Xo(t,e,i,n,o){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:s,snapGrid:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:g,wrapperEl:y,enabled:b}=l;if(!b&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const T=Math.min(l.params.slidesPerGroupSkip,r);let E=T+Math.floor((r-T)/l.params.slidesPerGroup);E>=a.length&&(E=a.length-1);const u=-a[E];if(s.normalizeSlideIndex)for(let m=0;m<c.length;m+=1){const I=-Math.floor(u*100),k=Math.floor(c[m]*100),v=Math.floor(c[m+1]*100);typeof c[m+1]<"u"?I>=k&&I<v-(v-k)/2?r=m:I>=k&&I<v&&(r=m+1):I>=k&&(r=m)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(g?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let h;if(r>p?h="next":r<p?h="prev":h="reset",g&&-u===l.translate||!g&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),h!=="reset"&&(l.transitionStart(i,h),l.transitionEnd(i,h)),!1;if(s.cssMode){const m=l.isHorizontal(),I=g?u:-u;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[m?"scrollLeft":"scrollTop"]=I})):y[m?"scrollLeft":"scrollTop"]=I,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return tn({swiper:l,targetPosition:I,side:m?"left":"top"}),!0;y.scrollTo({[m?"left":"top"]:I,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,h),e===0?l.transitionEnd(i,h):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(I){!l||l.destroyed||I.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,h))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Jo(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const g=r*o.params.grid.rows;s=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===g)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const g=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?s+1:s-a+1,slideRealIndex:g==="next"?o.realIndex:void 0})}if(l){const g=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===g)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Ko(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function Qo(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function g(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const y=g(p),b=l.map(u=>g(u));let T=l[b.indexOf(y)-1];if(typeof T>"u"&&o.cssMode){let u;l.forEach((h,m)=>{y>=h&&(u=m)}),typeof u<"u"&&(T=l[u>0?u-1:u])}let E=0;if(typeof T<"u"&&(E=r.indexOf(T),E<0&&(E=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(E=E-n.slidesPerViewDynamic("previous",!0)+1,E=Math.max(E,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(E,t,e,i)}),!0;return n.slideTo(E,t,e,i)}function Zo(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 el(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function tl(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const 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?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var il={slideTo:Xo,slideToLoop:Jo,slideNext:Ko,slidePrev:Qo,slideReset:Zo,slideToClosest:el,slideToClickedSlide:tl};function nl(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{tt(n,`.${i.slideClass}, swiper-slide`).forEach((p,g)=>{p.setAttribute("data-swiper-slide-index",g)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const g=e.isElement?Ct("swiper-slide",[i.slideBlankClass]):Ct("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(g)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Ft("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Ft("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function ol(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:g,params:y}=a,{centeredSlides:b}=y;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):y.centeredSlides&&a.snapIndex<y.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const E=y.slidesPerGroupAuto?T:y.slidesPerGroup;let u=E;u%E!==0&&(u+=E-u%E),u+=y.loopAdditionalSlides,a.loopedSlides=u;const h=a.grid&&y.grid&&y.grid.rows>1;c.length<T+u?Ft("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"):h&&y.grid.fill==="row"&&Ft("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const m=[],I=[];let k=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(C=>C.classList.contains(y.slideActiveClass))[0]):k=l;const v=n==="next"||!n,A=n==="prev"||!n;let _=0,S=0;const w=h?Math.ceil(c.length/y.grid.rows):c.length,x=(h?c[l].column:l)+(b&&typeof o>"u"?-T/2+.5:0);if(x<u){_=Math.max(u-x,E);for(let C=0;C<u-x;C+=1){const O=C-Math.floor(C/w)*w;if(h){const N=w-O-1;for(let M=c.length-1;M>=0;M-=1)c[M].column===N&&m.push(M)}else m.push(w-O-1)}}else if(x+T>w-u){S=Math.max(x-(w-u*2),E);for(let C=0;C<S;C+=1){const O=C-Math.floor(C/w)*w;h?c.forEach((N,M)=>{N.column===O&&I.push(M)}):I.push(O)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),A&&m.forEach(C=>{c[C].swiperLoopMoveDOM=!0,g.prepend(c[C]),c[C].swiperLoopMoveDOM=!1}),v&&I.forEach(C=>{c[C].swiperLoopMoveDOM=!0,g.append(c[C]),c[C].swiperLoopMoveDOM=!1}),a.recalcSlides(),y.slidesPerView==="auto"?a.updateSlides():h&&(m.length>0&&A||I.length>0&&v)&&a.slides.forEach((C,O)=>{a.grid.updateSlide(O,C,a.slides)}),y.watchSlidesProgress&&a.updateSlidesOffset(),i){if(m.length>0&&A){if(typeof e>"u"){const C=a.slidesGrid[k],N=a.slidesGrid[k+_]-C;s?a.setTranslate(a.translate-N):(a.slideTo(k+Math.ceil(_),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(o){const C=h?m.length/y.grid.rows:m.length;a.slideTo(a.activeIndex+C,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(I.length>0&&v)if(typeof e>"u"){const C=a.slidesGrid[k],N=a.slidesGrid[k-S]-C;s?a.setTranslate(a.translate-N):(a.slideTo(k-S,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else{const C=h?I.length/y.grid.rows:I.length;a.slideTo(a.activeIndex-C,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const C={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...C,slideTo:O.params.slidesPerView===y.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...C,slideTo:a.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}a.emit("loopFix")}function ll(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var sl={loopCreate:nl,loopFix:ol,loopDestroy:ll};function al(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 rl(){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 dl={setGrabCursor:al,unsetGrabCursor:rl};function cl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Qe()||n===Fe())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function dn(t,e,i){const n=Fe(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function ul(t){const e=this,i=Qe();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){dn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(g?cl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,b=r.currentY;if(!dn(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=b,o.touchStartTime=Xe(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;a.matches(o.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const E=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||E)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function pl(t){const e=Qe(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(v=>v.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Xe());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const g=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(g**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let v;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:g*g+y*y>=25&&(v=Math.atan2(Math.abs(y),Math.abs(g))*180/Math.PI,n.isScrolling=i.isHorizontal()?v>o.touchAngle:90-v>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let b=i.isHorizontal()?g:y,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,T=-T);const E=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const u=i.params.loop&&!o.cssMode,h=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&h&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const v=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(v)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let m;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&E!==i.touchesDirection&&u&&h&&Math.abs(b)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let I=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),b>0?(u&&h&&!m&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**k))):b<0&&(u&&h&&!m&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**k))),I&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(b)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function vl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Xe(),g=p-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),g<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Xe(),yt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let y;if(r.followFinger?y=a?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,E=e.slidesSizesGrid[0];for(let k=0;k<c.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const v=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[k+v]<"u"?(b||y>=c[k]&&y<c[k+v])&&(T=k,E=c[k+v]-c[k]):(b||y>=c[k])&&(T=k,E=c[c.length-1]-c[c.length-2])}let u=null,h=null;r.rewind&&(e.isBeginning?h=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const m=(y-c[T])/E,I=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(g>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:T+I):e.slideTo(T)),e.swipeDirection==="prev"&&(m>1-r.longSwipesRatio?e.slideTo(T+I):h!==null&&m<0&&Math.abs(m)>r.longSwipesRatio?e.slideTo(h):e.slideTo(T))}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(T+I):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:T+I),e.swipeDirection==="prev"&&e.slideTo(h!==null?h:T))}}function cn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!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=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function fl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ml(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function hl(t){const e=this;Ut(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function gl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const un=(t,e)=>{const i=Qe(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",cn,!0):t[c]("observerUpdate",cn,!0),o[a]("load",t.onLoad,{capture:!0}))};function bl(){const t=this,{params:e}=t;t.onTouchStart=ul.bind(t),t.onTouchMove=pl.bind(t),t.onTouchEnd=vl.bind(t),t.onDocumentTouchStart=gl.bind(t),e.cssMode&&(t.onScroll=ml.bind(t)),t.onClick=fl.bind(t),t.onLoad=hl.bind(t),un(t,"on")}function yl(){un(this,"off")}var wl={attachEvents:bl,detachEvents:yl};const pn=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function Sl(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const a=(r in l?l[r]:void 0)||t.originalParams,c=pn(t,n),d=pn(t,a),p=t.params.grabCursor,g=a.grabCursor,y=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!g?t.unsetGrabCursor():!p&&g&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(m=>{if(typeof a[m]>"u")return;const I=n[m]&&n[m].enabled,k=a[m]&&a[m].enabled;I&&!k&&t[m].disable(),!I&&k&&t[m].enable()});const b=a.direction&&a.direction!==n.direction,T=n.loop&&(a.slidesPerView!==n.slidesPerView||b),E=n.loop;b&&i&&t.changeDirection(),Ge(t.params,a);const u=t.params.enabled,h=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!u?t.disable():!y&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!E&&h?(t.loopCreate(e),t.updateSlides()):E&&!h&&t.loopDestroy()),t.emit("breakpoint",a)}function Tl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Fe(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var xl={setBreakpoint:Sl,getBreakpoint:Tl};function El(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function Il(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=El(["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),o.classList.add(...e),t.emitContainerClasses()}function Cl(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var _l={addClasses:Il,removeClasses:Cl};function kl(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var Dl={checkOverflow:kl},hi={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 Al(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ge(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Ge(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ge(e,n)}}const gi={eventsEmitter:_o,update:zo,translate:Go,transition:qo,slide:il,loop:sl,grabCursor:dl,events:wl,breakpoints:xl,checkOverflow:Dl,classes:_l},bi={};let yi=class at{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Ge({},i),e&&!i.el&&(i.el=e);const r=Qe();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const g=Ge({},i,{el:p});d.push(new at(g))}),d}const s=this;s.__swiper__=!0,s.support=ln(),s.device=sn({userAgent:i.userAgent}),s.browser=Eo(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Al(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Ge({},hi,a);return s.params=Ge({},c,bi,i),s.originalParams=Ge({},s.params),s.passedParams=Ge({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=tt(i,`.${n.slideClass}, swiper-slide`),l=Vt(o[0]);return Vt(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=tt(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;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 o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,g;for(let y=c+1;y<l.length;y+=1)l[y]&&!g&&(p+=Math.ceil(l[y].swiperSlideSize),d+=1,p>a&&(g=!0));for(let y=c-1;y>=0;y-=1)l[y]&&!g&&(p+=l[y].swiperSlideSize,d+=1,p>a&&(g=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Ut(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const 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||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):tt(n,o())[0];return!r&&i.params.createElements&&(r=Ct("div",i.params.wrapperClass),n.append(r),tt(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),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"||ut(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ut(n,"direction")==="rtl"),wrongRTL:ut(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 o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Ut(i,l):l.addEventListener("load",r=>{Ut(i,r.target)})}),mi(i),i.initialized=!0,mi(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),uo(n)),n.destroyed=!0),null}static extendDefaults(e){Ge(bi,e)}static get extendedDefaults(){return bi}static get defaults(){return hi}static installModule(e){at.prototype.__modules__||(at.prototype.__modules__=[]);const i=at.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>at.installModule(i)),at):(at.installModule(e),at)}};Object.keys(gi).forEach(t=>{Object.keys(gi[t]).forEach(e=>{yi.prototype[e]=gi[t][e]})}),yi.use([Io,Co]);const vn=["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 gt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function St(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:gt(e[n])&&gt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:St(t[n],e[n]):t[n]=e[n]})}function fn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function mn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function hn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function gn(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 Pl(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Ol(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:p,navigation:g,scrollbar:y,virtual:b,thumbs:T}=e;let E,u,h,m,I,k,v,A;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(E=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(h=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&y&&!y.el&&(m=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&g&&!g.prevEl&&!g.nextEl&&(I=!0);const _=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?k=!0:!d.loop&&n.loop?v=!0:A=!0),c.forEach(S=>{if(gt(d[S])&&gt(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&_(S);else{const w=n[S];(w===!0||w===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?w===!1&&_(S):d[S]=n[S]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&b&&d.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&d.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&d.loop&&(A=!0),E&&T.init()&&T.update(!0),u&&(e.controller.control=d.controller.control),h&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),m&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),I&&(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&&(d.navigation.nextEl=l),r&&(d.navigation.prevEl=r),g.init(),g.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(k||A)&&e.loopDestroy(),(v||A)&&e.loopCreate(),e.update()}function Ml(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};St(i,hi),i._emitClasses=!0,i.init=!1;const l={},r=vn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?gt(t[a])?(i[a]={},o[a]={},St(i[a],t[a]),St(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Ll(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;fn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),mn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),hn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function jl(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return vn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(gt(t[a])&&gt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const Nl=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 Gt(){return Gt=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},Gt.apply(this,arguments)}function bn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function yn(t){const e=[];return f.Children.toArray(t).forEach(i=>{bn(i)?e.push(i):i.props&&i.props.children&&yn(i.props.children).forEach(n=>e.push(n))}),e}function Bl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return f.Children.toArray(t).forEach(n=>{if(bn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=yn(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function zl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>f.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function _t(t,e){return typeof window>"u"?te(t,e):Bn(t,e)}const wi=It(null),wn=()=>Et(wi),Fl=It(null),bt=Mt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=G("swiper"),[p,g]=G(null),[y,b]=G(!1),T=Q(!1),E=Q(null),u=Q(null),h=Q(null),m=Q(null),I=Q(null),k=Q(null),v=Q(null),A=Q(null),{params:_,passedParams:S,rest:w,events:D}=Ml(s),{slides:x,slots:C}=Bl(l),O=()=>{b(!y)};Object.assign(_.on,{_containerClasses(B,j){d(j)}});const N=()=>{Object.assign(_.on,D),a=!0;const B={..._};if(delete B.wrapperClass,u.current=new yi(B),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const j={cache:!1,slides:x,renderExternal:g,renderExternalUpdate:!1};St(u.current.params.virtual,j),St(u.current.originalParams.virtual,j)}};E.current||N(),u.current&&u.current.on("_beforeBreakpoint",O);const M=()=>{a||!D||!u.current||Object.keys(D).forEach(B=>{u.current.on(B,D[B])})},W=()=>{!D||!u.current||Object.keys(D).forEach(B=>{u.current.off(B,D[B])})};te(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",O)}),te(()=>{!T.current&&u.current&&(u.current.emitSlidesClasses(),T.current=!0)}),_t(()=>{if(e&&(e.current=E.current),!!E.current)return u.current.destroyed&&N(),Ll({el:E.current,nextEl:I.current,prevEl:k.current,paginationEl:v.current,scrollbarEl:A.current,swiper:u.current},_),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),_t(()=>{M();const B=jl(S,h.current,x,m.current,j=>j.key);return h.current=S,m.current=x,B.length&&u.current&&!u.current.destroyed&&Ol({swiper:u.current,slides:x,passedParams:S,changedParams:B,nextEl:I.current,prevEl:k.current,scrollbarEl:A.current,paginationEl:v.current}),()=>{W()}}),_t(()=>{Nl(u.current)},[p]);function V(){return _.virtual?zl(u.current,x,p):x.map((B,j)=>f.cloneElement(B,{swiper:u.current,swiperSlideIndex:j}))}return f.createElement(n,Gt({ref:E,className:gn(`${c}${i?` ${i}`:""}`)},w),f.createElement(Fl.Provider,{value:u.current},C["container-start"],f.createElement(o,{className:Pl(_.wrapperClass)},C["wrapper-start"],V(),C["wrapper-end"]),fn(_)&&f.createElement(f.Fragment,null,f.createElement("div",{ref:k,className:"swiper-button-prev"}),f.createElement("div",{ref:I,className:"swiper-button-next"})),hn(_)&&f.createElement("div",{ref:A,className:"swiper-scrollbar"}),mn(_)&&f.createElement("div",{ref:v,className:"swiper-pagination"}),C["container-end"]))});bt.displayName="Swiper";const nt=Mt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Q(null),[g,y]=G("swiper-slide"),[b,T]=G(!1);function E(I,k,v){k===p.current&&y(v)}_t(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){g!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",E),()=>{l&&l.off("_slideClass",E)}}}),_t(()=>{l&&p.current&&!l.destroyed&&y(l.getSlideClasses(p.current))},[l]);const u={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},h=()=>typeof n=="function"?n(u):n,m=()=>{T(!0)};return f.createElement(i,Gt({ref:p,className:gn(`${g}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:m},d),r&&f.createElement(wi.Provider,{value:u},f.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},h(),s&&!b&&f.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&f.createElement(wi.Provider,{value:u},h(),s&&!b&&f.createElement("div",{className:"swiper-lazy-preloader"})))});nt.displayName="SwiperSlide";const Vl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Rl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=G(!1),c=Q(null);te(()=>{const g=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?c.current=y:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),g?.appendChild(c.current))},[]);const d=ee(()=>l?.id&&l?.id!==""||t,[t,l]);if(te(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=Xt(()=>{e?.()},300);return ji.createPortal(f.createElement(f.Fragment,null,s&&f.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},f.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:g=>{g.stopPropagation(),g.preventDefault()}},f.createElement("div",{onClick:e,className:"modal-icon-wrapper"},f.createElement("img",{src:Vl,alt:"close",className:"modal-icon"})),i))),c.current)};var $t=me(Rl);const Hl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Ul=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=G(!1),[p,g]=G(!1),y=Number(i?.lineClamp||2),b=Q(null),T=Q(null),E=ae(()=>{d(!c)},[c,a]);return ee(()=>!c&&t.length>e?Hl(t,e)+"...":t,[t,e,c]),te(()=>{var u,h;((u=T?.current)===null||u===void 0?void 0:u.offsetHeight)>((h=b?.current)===null||h===void 0?void 0:h.offsetHeight)&&s?g(!0):g(!1),T.current.style.display="none"},[s]),f.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},f.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),f.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??E},c?r||"show less":l||"show more"))};var Wt=me(Ul);const Gl=Mt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=G();return Li(e,()=>({setSrc:c=>{a(c)}})),te(()=>{a(i)},[i]),Q(null),f.createElement(f.Fragment,null,s?.includes(".avif")?f.createElement("picture",null,f.createElement("source",{type:"image/avif",srcSet:s}),f.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),f.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),f.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)},alt:"image"})):f.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)},alt:"image"}))});var Ze=me(Gl);const $l=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:g,onClick:y,schema:b,isDefault:T,bottom_image:E,tipText:u,isPost:h,viewTime:m,rec:I,swiper:k,commodityStyles:v,buttonStyle:A,index:_}=t,S=Le(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:w}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:C,bffFbReport:O}=Se(),{jumpToWeb:N,productView:M}=Ve(),W=Q(null),[V,B]=G(!1),j=h?I:D,L=h?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,F=h?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,z=h?_:D?.index,R=()=>{L?.link&&(N(j,L,F,z),h||M(j,L,F,m||W.current,z),window.location.href=window.getJointUtmLink(L.link))};te(()=>{h||O?.({eventName:"ProductView"})},[h,O]),te(()=>{const K=()=>{W.current=new Date};return K(),window.addEventListener("pageshow",K),()=>{window.removeEventListener("pageshow",K)}},[]);const H=ee(()=>{var K,J,Y,Z,Ie;return L?.currency&&L?.price?`${(Y=(J=(K=L?.currency)===null||K===void 0?void 0:K.split("-")[1])===null||J===void 0?void 0:J.toUpperCase())!==null&&Y!==void 0?Y:""}${(Ie=(Z=L?.price)===null||Z===void 0?void 0:Z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ie!==void 0?Ie:""}`:"$7,000"},[L?.price,L?.currency]),oe=C?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,fe=({isPost:K})=>{var J,Y,Z;return f.createElement("div",null,f.createElement("div",{className:"pb-commondity-content-collection",style:q(v?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(J=L?.collection)!==null&&J!==void 0?J:"Tiffany Lock"),f.createElement("div",{className:"pb-commondity-content-title",style:q(v?.title),hidden:!!L&&!L?.title},(Y=L?.title)!==null&&Y!==void 0?Y:"Pendant in Yellow Gold with Diamonds, Medium"),f.createElement("div",{className:"pb-commondity-content-price",style:q(v?.price),hidden:!!L&&!L?.price},H),f.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},f.createElement(Wt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>B(!0),isPost:K,text:(Z=L?.info)!==null&&Z!==void 0?Z:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
1
+ import{isEmpty as Pt,isEqual as Oi,cloneDeep as xt,debounce as Xt,throttle as Ot,get as Mi}from"lodash";import{v4 as Ln}from"uuid";import jn from"pako";import f,{useContext as Et,useMemo as ee,memo as fe,useEffect as te,createContext as It,useState as G,useRef as Q,useCallback as ae,forwardRef as Mt,useImperativeHandle as Li,useLayoutEffect as Nn}from"react";import Jt from"qs";import Bn from"eventemitter3";import{css as me}from"@emotion/css";import*as ji from"react-dom";function Le(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(i[n[o]]=t[n[o]]);return i}function ze(t,e,i,n){function o(l){return l instanceof i?l:new i(function(r){r(l)})}return new(i||(i=Promise))(function(l,r){function s(d){try{c(n.next(d))}catch(p){r(p)}}function a(d){try{c(n.throw(d))}catch(p){r(p)}}function c(d){d.done?l(d.value):o(d.value).then(s,a)}c((n=n.apply(t,e||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const zn=/:\w+/g;var Ni=(t,e)=>ze(void 0,void 0,void 0,function*(){const i={},n={};for(let o=0;o<e?.length;o++){const{id:l,method:r,url:s,urlParams:a,name:c,queryString:d,headers:p,body:g}=e[o];let y=s;a&&Object.entries(a).forEach(([b,T])=>{y=y.replace(zn,E=>E===b?T:E)}),d&&(y+=d),n[l]=c;try{const b=yield fetch(y,{method:r,headers:Object.assign({"Content-Type":"application/json"},p),body:JSON.stringify(g)}).then(T=>T.json());i[l]=b}catch(b){console.error("DataSource request error: ",b),i[l]={}}}return{$store:i,idMapName:n}});const Bi="SXP_TOKEN_INFO",Fn=(t,e)=>ze(void 0,void 0,void 0,function*(){var i;const n=t.getTenantId(),o=t.getAppId(),l=t.getApiUrl(),r=window.localStorage.getItem(Bi);let s=JSON.parse(r||"{}");if(Date.now()>((i=s?.expireTime)!==null&&i!==void 0?i:0)){const c=yield fetch(`${l}/storefront/v1/proxy/token/${e}`,{method:"POST",headers:{"x-tenant-id":n||"","x-app-id":o||""}}).then(d=>d.json());if(c.success){const d=c.data;s=Object.assign(Object.assign({},d),{expireTime:Date.now()+d.expire*1e3}),window.localStorage.setItem(Bi,JSON.stringify(s))}}return s});function Lt(t,e){const i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];let o;if(e=e||i.length,t)for(o=0;o<t;o++)n[o]=i[0|Math.random()*e];else{let l;for(n[8]=n[13]=n[18]=n[23]="-",n[14]="4",o=0;o<36;o++)n[o]||(l=0|Math.random()*16,n[o]=i[o===19?l&3|8:l])}return n.join("")}const Vn=t=>{let e="";const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=i.length;let o=0;for(;o<t;)e+=i.charAt(Math.floor(Math.random()*n)),o+=1;return e},Rn=()=>{const t=Ln();return t?.replaceAll?t.replaceAll("-",""):Vn(32)};function zi(t){const i=atob(t).split("").map(function(l){return l.charCodeAt(0)}),n=new Uint8Array(i),o=jn.inflate(n,{to:"string"});return JSON.parse(o)}let Kt=null;const Hn={dev:"https://clc-pagebuilder-be-dev.chatlabs.net",staging:"https://clc-pagebuilder-be-staging.chatlabs.net",live:"https://clc-pagebuilder-be.chatlabs.net"};class Un{constructor(){if(this.setAppId=e=>{this.appId=e},this.setTenantId=e=>{this.tenantId=e},this.getAppId=()=>this.appId,this.getTenantId=()=>this.tenantId,Kt)return Kt;Kt=this}setApiUrl(e){this.apiUrl=`https://${e}`}getApiUrl(){return this.apiUrl?this.apiUrl:this.env?Hn[this.env]:""}getEnv(){return this.env}setEnv(e){this.env=e}}let Ne=null;const Gn={init:({appId:t,tenantId:e,env:i="live",apiUrl:n})=>{Ne||(Ne=new Un),n&&Ne.setApiUrl(n),Ne.setAppId(t),Ne.setTenantId(e),Ne.setEnv(i)},getDetail:t=>{if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?path=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l,r;const s=yield o.json(),a=zi((l=s?.data)===null||l===void 0?void 0:l.data);if(a){const{$store:c}=yield Ni(n,(r=a?.dataSource)!==null&&r!==void 0?r:[]);s.data.data=a,Object.assign(s.data.data,{__STORE__:c})}return s}))},getSxpDetailByPageId:t=>ze(void 0,void 0,void 0,function*(){if(!Ne)return;const e=Ne.getTenantId(),i=Ne.getAppId(),n=Ne.getApiUrl();return fetch(`${n}/storefront/v1/page?id=`+t,{method:"get",headers:{"x-tenant-id":e||"","x-app-id":i||""}}).then(o=>ze(void 0,void 0,void 0,function*(){var l;const r=yield o.json();if(!r.success)return;const s=zi((l=r?.data)===null||l===void 0?void 0:l.data);return r.data.data=s,r.data}))}),getSxpRecommendVideoData:t=>ze(void 0,void 0,void 0,function*(){if(!Ne)return;const e=yield Fn(Ne,t),i=Lt(0,0);let n=window.localStorage.getItem("SXP_FAKE_SESSION_ID");Pt(n)&&(n=Lt(36,62),window.localStorage.setItem("SXP_FAKE_SESSION_ID",n));const o=yield fetch("https://dev-sxp-be.chatlabs.net/platform/open/rec/v1.2",{method:"POST",headers:{"Content-Type":"application/json",token:e.token,channel:e.channel,userId:e.userId},body:JSON.stringify({productUserId:n,channel:e.channel,maxRecs:10,requestId:i})}).then(l=>l.json());return o?.data||null})};function lt(){return Et(Ji)}function $n(){return Et(Xi)}const Qt="feRealSessionIdKey",Fi=()=>{const t=Rn();return`${Date.now()}${t}`},Wn=()=>{let t=Yn();return t||(t=Fi(),window.sessionStorage.setItem(Qt,t)),t},Vi=()=>{const t=Fi();window.sessionStorage.setItem(Qt,t)},Yn=()=>window.sessionStorage.getItem(Qt),Ri="SXP_FAKE_USER_ID",Hi="FAKE_USER_STATE",Ui="AGREE_POLICY",Gi=()=>{let t=window.localStorage.getItem(Ri);return Pt(t)&&(t=Lt(36,62),window.localStorage.setItem(Ri,t)),t},qn=()=>{const t=window.localStorage.getItem(Hi);return Pt(t)&&window.localStorage.setItem(Hi,"true"),Pt(t)};function qe(t,e){const{appDomain:i}=Se();return ee(()=>e?`https://${e}${t}`:i?`https://${i}${t}`:`${window.location.origin}${t}`,[i,t,e])}const st=new Bn;var Ke;(function(t){t.PAGE_DID_SHOW="pageDidShow",t.PAGE_DID_HIDE="pageDidHide",t.CHANGE_THEME_TAG="changeThemeTag"})(Ke||(Ke={}));const Xn=({width:t=window.innerWidth,height:e=window.innerHeight,privacy_title:i,privacy_context:n,privacy_policy_url:o,privacy_policy_title:l})=>{const{setIsAgreePolicy:r,bffEventReport:s}=Se(),a=ee(()=>{const p=location.search.slice(1),g=Jt.parse(p.replace(/\+/g,"%2B"));for(const y in g)g[y]=g[y].replace(/%2B/g,"+");return g},[]),c=p=>{var g;return(g=a[p])!==null&&g!==void 0?g:null};te(()=>{s?.({eventInfo:{eventSubject:"privacyEnter",eventDescription:"User enter privacy page",utmSource:c("utm_source"),utmMedium:c("utm_medium"),utmCampaign:c("utm_campaign"),utmId:c("utm_id"),utmContent:c("utm_content"),clSource:c("cl_source"),enterTime:`${Date.now()}`,enterUrl:window.location.href,rtc:null,requestId:null,sessionID:null}})},[]);const d=()=>{s?.({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(Ui,"yes")};return f.createElement("div",{className:"consent-bg"},f.createElement("div",{className:"consent"},f.createElement("div",{className:"consent-col"},f.createElement("div",{className:"consent-title"},i??"Privacy Policy"),f.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.")),f.createElement("div",{className:"consent-col"},f.createElement("button",{"aria-label":"agree",className:"consent-btn",onClick:d},"Agree"),f.createElement("a",{className:"consent-policy",target:"_blank",href:o?`https://${o}`:void 0},l??"More information"))))};var Jn=fe(Xn);const $i=It({rtcList:[],tagList:[]});var Zt;(function(t){t[t.BFF=5]="BFF"})(Zt||(Zt={}));const Wi=["utm_source","utm_medium","utm_campaign","utm_id","utm_content","cl_source"],jt="FOR U",Kn=({render:t,dataSources:e,utmVal:i,enableReportEvent:n=!0,maxSize:o,defaultSize:l,isPreview:r=!1,sxpParameter:s,appDomain:a,hashTagSize:c,loadingImage:d,isOpenHashTag:p=!1,enabledMetaConversionApi:g=!1,consentHeight:y,consentWidth:b,isShowTag:T=!0,isOpenConsent:E=!1,globalConfig:u,isEditor:h=!1})=>{var m,I,k;const[v,A]=G([]),[_,S]=G([]),[w,D]=G(!1),[x,C]=G({rtc:"",requestId:""}),O=Q(null),N=Q(!1),[M,W]=G(()=>!!window.localStorage.getItem(Ui)),[V,B]=G(),[j,L]=G(),[F,z]=G(p),[R,H]=G([]),[oe,ge]=G(0),[de,q]=G(!1),[K,J]=G(null),Y=Q(),Z=Q(),[Ie,Pe]=G(jt),je=ee(()=>{var U,$,re,xe;return((xe=(re=($=(U=u?.consent)===null||U===void 0?void 0:U[0])===null||$===void 0?void 0:$.item)===null||re===void 0?void 0:re.props)===null||xe===void 0?void 0:xe.privacy_necessity)&&!M&&!h||E},[M,u,E,h]);te(()=>{const U=$=>{Y.current=$};return st.on(Ke.CHANGE_THEME_TAG,U),()=>{st.off(Ke.CHANGE_THEME_TAG,U)}},[]),te(()=>{z(p)},[p]);const $e=ee(()=>e?.find(U=>U.type===Zt.BFF),[e]),ue=ae((U,$)=>{if(!$e)return;const re=$e.url,xe=Gi();if($?.query){const Te=Jt.stringify($.query);U=`${U}?${Te}`}return $.type==="beacon"&&navigator.sendBeacon?navigator.sendBeacon(`${re}/api/v1${U}`,new Blob([JSON.stringify(Object.assign(Object.assign(Object.assign({},$e.headers),{"x-user-id":xe}),$.body))],{type:"application/json;charset=UTF-8"})):window.fetch(`${re}/api/v1${U}`,{headers:Object.assign({"Content-Type":"application/json","x-user-id":xe},$e.headers),method:$.method,body:JSON.stringify($.body)}).then(Te=>Te.json()).catch(Te=>Promise.reject(Te))},[$e]),ce=ae(U=>ze(void 0,void 0,void 0,function*(){var $,re,xe,Te,ke;if(U={maxSize:($=U?.maxSize)!==null&&$!==void 0?$:o,defaultSize:(re=U?.defaultSize)!==null&&re!==void 0?re:l,"itemFilter.itemId":U?.["itemFilter.itemId"],"itemFilter.itemType":U?.["itemFilter.itemType"],hashTag:U?.hashTag,traceInfo:U?.traceInfo,themeTag:U?.themeTag},i){const Oe=(ke=(Te=(xe=i?.split("&"))===null||xe===void 0?void 0:xe.filter(ot=>{const P=ot.split("=")[0];return Wi.includes(P)}))===null||Te===void 0?void 0:Te.join("&"))!==null&&ke!==void 0?ke:"";U=Object.assign(Object.assign({},U),{channel:decodeURIComponent(Oe)})}const Ee=yield ue?.("/recommend/list",{method:"GET",query:U});if(Ee?.success)return U?.hashTag||C({rtc:Ee.data.rtc,requestId:Ee.data.requestId}),Ee?.data}),[ue,i,o,l]),we=ae(()=>ze(void 0,void 0,void 0,function*(){var U,$;if(v.length<=0)return;const re=yield ce({hashTag:j?.hashTag,"itemFilter.itemId":j?.itemId,"itemFilter.itemType":j?.itemType,themeTag:Y.current});A(v.concat((U=re?.recList)!==null&&U!==void 0?U:[])),H(R.concat(($=re?.recList)!==null&&$!==void 0?$:[]))}),[ce,v,j,R]),ve=ae(({userInfo:U,eventInfo:$})=>{if(!n)return;U||(U={});const re=Wn(),xe=Object.assign({sessionID:re,rtc:x.rtc,requestId:x.requestId},$),Te=Object.entries(U).map(([Ee,Oe])=>({name:Ee,value:Oe})),ke=Object.entries(xe).map(([Ee,Oe])=>Oe&&{name:Ee,value:Oe}).filter(Boolean);return console.log("======== \u4E8B\u4EF6\u4E0A\u62A5 ========"),console.log("userInfo:",U),console.log("eventInfo:",xe),console.log("========= \u7ED3\u675F ========="),ue?.("/event/report",{method:"POST",body:{userInfo:Te,eventInfo:ke},type:"beacon"})},[ue,x,n]),pe=ae(U=>{var $,{eventName:re,actionSource:xe="website",eventSourceUrl:Te=($=window?.location)===null||$===void 0?void 0:$.href,externalId:ke}=U;if(!n||!g)return;const Ee=Gi();return ue?.("/fb/events",{method:"POST",body:{eventName:re,actionSource:xe,eventSourceUrl:Te,userData:{externalId:Ee}},type:"beacon"})},[ue,n,g]),He=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ue?.("/recommend/like",{method:"POST",body:U});return $?.success}),[ue]),Ae=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ue?.("/recommend/unlike",{method:"POST",body:U});return $?.success}),[ue]),rt=ae(U=>ze(void 0,void 0,void 0,function*(){const $=yield ue?.("/customform",{method:"POST",body:U});return $?.success}),[ue]),et=ae(()=>ze(void 0,void 0,void 0,function*(){var U,$,re,xe,Te;if(!(!i||!T))try{const ke=(re=($=(U=i?.split("&"))===null||U===void 0?void 0:U.filter(Oe=>{const ot=Oe.split("=")[0];return Wi.includes(ot)}))===null||$===void 0?void 0:$.join("&"))!==null&&re!==void 0?re:"",Ee=yield ue?.("/tag/list",{method:"GET",query:{channel:decodeURIComponent(ke)}});S((Te=(xe=Ee?.data)===null||xe===void 0?void 0:xe.tags)!==null&&Te!==void 0?Te:[])}catch(ke){console.log("e",ke)}}),[ue,i,T]),We=ae((U,$,re,xe)=>{var Te,ke,Ee,Oe,ot,P,se,X,le,be,ye,ie;const ne=re?.bindCta,Ce=((Te=$?.video)===null||Te===void 0?void 0:Te.bindProduct)||((ke=$?.video)===null||ke===void 0?void 0:ke.bindProducts)&&((Oe=(Ee=$?.video)===null||Ee===void 0?void 0:Ee.bindProducts)===null||Oe===void 0?void 0:Oe.length)>0;let De="";de?De="hashTagPage":!((ot=$?.video)===null||ot===void 0)&&ot.url?De="videoPage":!((se=(P=$?.video)===null||P===void 0?void 0:P.imgUrls)===null||se===void 0)&&se.length&&(De="imagePage"),ve?.({eventInfo:Object.assign(Object.assign({},U),{ctaId:(X=ne?.itemId)!==null&&X!==void 0?X:"",ctaName:(le=ne?.title)!==null&&le!==void 0?le:"",contentTags:JSON.stringify(ne?.tags),position:xe+"",contentId:(ye=(be=$?.video)===null||be===void 0?void 0:be.itemId)!==null&&ye!==void 0?ye:"",productId:Ce?re?.itemId:"",traceInfo:(ie=ne?.traceInfo)!==null&&ie!==void 0?ie:"",fromKName:De})})},[ve,de]),Dt=ae(()=>{var U,$;const re=location.search.slice(1),xe=Jt.parse(re.replace(/\+/g,"%2B"));for(const Ee in xe)xe[Ee]=xe[Ee].replace(/%2B/g,"+");const Te=Ee=>{var Oe;return(Oe=xe[Ee])!==null&&Oe!==void 0?Oe:""},ke=new Date;Z.current=ke,ve?.({eventInfo:{eventSubject:"h5LinkEnterFeed",eventDescription:"User enter h5 link",utmSource:Te("utm_source"),utmMedium:Te("utm_medium"),utmCampaign:Te("utm_campaign"),utmId:Te("utm_id"),utmContent:Te("utm_content"),enterTime:Math.floor(ke/1e3)+"",requestId:null,enterUrl:($=(U=window?.location)===null||U===void 0?void 0:U.href)!==null&&$!==void 0?$:"",clSource:Te("cl_source")}})},[ve]);te(()=>{je||Dt()},[je]),te(()=>{je||(D(!0),et(),ce().then(U=>{var $,re;A(($=U?.recList)!==null&&$!==void 0?$:[]),H((re=U?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{ve({eventInfo:{eventSubject:"apiRequest",eventDescription:"api request succeed"}}),D(!1),N.current=!0}))},[je]),te(()=>{N.current&&(D(!0),et(),ce().then(U=>{var $,re;A(($=U?.recList)!==null&&$!==void 0?$:[]),H((re=U?.recList)!==null&&re!==void 0?re:[])}).finally(()=>{D(!1)}))},[ce,et]);const At=qe("/pb_static/a65d23c5893c49d7aaaa81681d3179e2.gif",a);return f.createElement($i.Provider,{value:{rtcList:v,setRtcList:A,mutateLike:He,mutateUnlike:Ae,submitForm:rt,popupDetailData:V,loadVideos:we,setPopupDetailData:B,getRecommendVideos:ce,bffEventReport:ve,utmVal:i,isPreview:r,loading:w,sxpParameter:s,waterFallData:j,setWaterFallData:L,ctaEvent:We,swiperRef:O,openHashtag:F,setOpenHashtag:z,cacheRtcList:R,setCacheRtcList:H,cacheActiveIndex:oe,setCacheActiveIndex:ge,isFromHashtag:de,setIsFromHashtag:q,appDomain:a,hashTagSize:c,loadingImage:d??At,isOpenHashTag:p,tagList:_,setLoading:D,videoRef:K,setVideoRef:J,bffFbReport:pe,isAgreePolicy:M,setIsAgreePolicy:W,curTime:Z,h5EnterLink:Dt,themeTag:Y,isShowConsent:je,selectTag:Ie,setSelectTag:Pe}},je?f.createElement(Jn,Object.assign({},(k=(I=(m=u?.consent)===null||m===void 0?void 0:m[0])===null||I===void 0?void 0:I.item)===null||k===void 0?void 0:k.props)):t({rtcList:v,mutateLike:He,mutateUnlike:Ae,submitForm:rt,tagList:_}))};var Yi=fe(Kn);function Se(){return Et($i)}var qi;(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"})(qi||(qi={}));const Xi=It({$store:{},options:[],configs:[]}),Qn=({children:t,isSsr:e,enable:i})=>{const[n,o]=G([]),{schema:l}=lt(),[r,s]=G(l.__STORE__||{}),[a,c]=G([]);te(()=>{var g;e||Oi(a,l?.dataSource)||c((g=l?.dataSource)!==null&&g!==void 0?g:[])},[l?.dataSource,e]);const d=ae(()=>ze(void 0,void 0,void 0,function*(){const{$store:g,idMapName:y}=yield Ni("",a);s(g),p(g,y)}),[a]),p=(g,y)=>{const b=[];Object.entries(g).forEach(([T,E])=>{Object.keys(E).forEach(u=>{const h={label:`${y[T]} - ${u}`,value:`{{ ${T}.${u} }}`};b.push(h)})}),o(b)};return te(()=>{e||d()},[d,e,l]),i?f.createElement(Xi.Provider,{value:{$store:l.__STORE__||r,options:n,configs:a}},t):t};var Zn=fe(Qn);const Nt={id:Lt(6,10),item:{type:"common",h:300,category:"block",displayName:"block",isFirstLayout:!0,w:1e3},point:{i:"x-0",x:-38.34375,y:0,w:1e3,h:300,isBounded:!0,actualX:0,actualY:0},pathArr:[0],positionY:0},ei={id:"",duration:0,name:"none"},Ji=f.createContext({resolver:{},currentNode:null,schema:{pointData:[],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},__STORE__:{},sxpPageConf:{}},pageInfoData:{},prePiontData:[],undoStack:[Nt],redoStack:[],popup:ei,setPopup:()=>{}}),Ki=Mt(({children:t,resolver:e,isSsr:i,schema:n,enableDataSource:o=!0,utmVal:l},r)=>{const[s,a]=G(null),[c,d]=G(n||{pointData:[Nt],dataSource:[],mobilePiontData:[],type:"PC",pcPiontData:[],pageInfo:{},pcPageConf:{},mobilePageConf:{},sxpPageConf:{}}),[p,g]=G([Nt]),[y,b]=G([[Nt]]),[T,E]=G([]),[u,h]=G(ei);typeof window<"u"&&(window.sxpPopup=(A,_)=>{h(Object.assign(Object.assign(Object.assign({},ei),{id:A}),_))}),typeof window<"u"&&(window.getJointUtmLink=A=>A?.indexOf("?")!==-1?A+(l?"&"+l:""):A+(l?"?"+l:"")),te(()=>{b([c.pointData]),E([])},[c.type]);const m=ae(A=>{const _=xt(c);_&&(_.dataSource=A,d?.(_))},[c]),[I,k]=G();Li(r,()=>({loadSchema(A){A&&(b([A.pointData]),d(A))},exportSchema(){return xt(c)},getPageInfoData(){return I},initPageInfoData(A){A&&k(A)}}));const v=ee(()=>{if(c)return c.type==="PC"?c.pcPageConf:c.mobilePageConf},[c]);return f.createElement(Ji.Provider,{value:{resolver:e,currentNode:s,schema:c,setCurrentNode:a,setSchema:d,saveDataSource:m,prePiontData:p,setPrePiontData:g,pageInfoData:I,setPageInfoData:A=>k(Object.assign(Object.assign({},I),A)),undoStack:y,redoStack:T,setRedoStack:E,setUndoStack:b,getCurPageConf:v,popup:u,setPopup:h}},f.createElement(Zn,{isSsr:i,enable:o},t))});var eo=Object.freeze({__proto__:null,EditorCore:Ki}),to=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const he=[{label:"defalut",value:"appFont"}],ti=typeof window<"u"&&window?.localStorage.getItem("sxp_font_links"),io=ti&&ti!==""?JSON.parse(ti):[];var Ue={fontOptions:[...he,...io]},ii,ni,oi,no=[{type:"Text",label:"\u7EC4\u4EF6\u540D\u79F0",name:"name"},{title:"\u8868\u5355\u4FE1\u606F",child:[{type:"Text",label:"\u6807\u9898",name:["props","title"]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["textStyle","color"]},{type:"Select",name:["textStyle","fontFamily"],options:he,initialValue:(ii=he?.[0])===null||ii===void 0?void 0:ii.value},{type:"Number",name:["textStyle","fontSize"],addonAfter:"px"}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle",name:["textStyle"]},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign",name:["textStyle"]},{label:"\u8868\u5355\u5E03\u5C40",type:"Radius",options:[{label:"\u5DE6\u53F3",value:"horizontal"},{label:"\u4E0A\u4E0B",value:"vertical"},{label:"\u63D0\u793A",value:void 0}],name:["props","layoutType"]},{label:"\u63D0\u4EA4\u6309\u94AE\u6587\u672C",type:"Text",name:["props","submitText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ue?.fontOptions,initialValue:(oi=(ni=Ue?.fontOptions)===null||ni===void 0?void 0:ni[0])===null||oi===void 0?void 0:oi.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitBgColor"]}]},{title:"\u8868\u5355\u9879",child:[{type:"AddFormItems",name:["props","columns"]}]}];function Ve(){const{bffEventReport:t,popupDetailData:e,waterFallData:i,isFromHashtag:n}=Se(),o=ae((s,a,c,d)=>{var p,g,y,b,T,E,u,h,m,I,k,v,A,_;let S="";e&&(!((g=(p=s?.video)===null||p===void 0?void 0:p.bindProducts)===null||g===void 0)&&g.length||!((y=s?.video)===null||y===void 0)&&y.bindProduct)?S="pdpPage":n?S="hashTagPage":!((b=s?.video)===null||b===void 0)&&b.url?S="videoPage":!((T=s?.video)===null||T===void 0)&&T.imgUrls&&(!((u=(E=s?.video)===null||E===void 0?void 0:E.imgUrls)===null||u===void 0)&&u.length)?S="imagePage":s?.product&&(S="productPage"),t?.({eventInfo:{eventSubject:"jumpToWeb",eventDescription:"User jumped to website",productId:(h=a?.itemId)!==null&&h!==void 0?h:"",productName:(m=a?.title)!==null&&m!==void 0?m:"",price:a?.price?a?.price+"":"0",productCollection:(I=a?.collection)!==null&&I!==void 0?I:"",fromKName:S,fromKPage:location?.href,contentTags:a?.tags?JSON.stringify(a?.tags):"",position:d+"",contentId:(v=(k=s?.video)===null||k===void 0?void 0:k.itemId)!==null&&v!==void 0?v:"",ctatId:(A=c?.itemId)!==null&&A!==void 0?A:"",traceInfo:(_=a?.traceInfo)!==null&&_!==void 0?_:""}})},[t,e,n]),l=ae((s,a,c,d,p)=>{var g,y,b,T;let E="";e&&(!((y=(g=s?.video)===null||g===void 0?void 0:g.bindProducts)===null||y===void 0)&&y.length||!((b=s?.video)===null||b===void 0)&&b.bindProduct)?E="pdpPage":s?.product&&(E="productPage"),t?.({eventInfo:{productId:a?.itemId,productName:a?.title,price:a?.price?a?.price+"":"0",productCollection:a?.collection,fromKName:E,fromKPage:location?.href,contentTags:JSON.stringify(a?.tags),position:p+"",contentId:(T=s?.video)===null||T===void 0?void 0:T.itemId,ctatId:c?.itemId,traceInfo:a?.traceInfo,timeOnSite:Math.floor((new Date-d)/1e3)+"",eventSubject:"productView",eventDescription:"User browsed the product"}})},[t,e]),r=ae((s,a,c,d)=>{a&&a===jt&&t?.({eventInfo:{lastFeed:s,themeTags:c?`['${c}']`:"",hashTags:d?`['${d}']`:"",eventSubject:"backMainFeed",eventDescription:"back Main Feed"}})},[t]);return{jumpToWeb:o,productView:l,backMainFeed:r}}const oo=t=>{var{columns:e,style:i,title:n,textStyle:o,submitBgColor:l,submitColor:r,submitText:s,layoutType:a,isExternalLink:c,isPopup:d,onClick:p,onClose:g,submitButtonStyle:y}=t,b=Le(t,["columns","style","title","textStyle","submitBgColor","submitColor","submitText","layoutType","isExternalLink","isPopup","onClick","onClose","submitButtonStyle"]);const{submitForm:T,popupDetailData:E}=Se(),{jumpToWeb:u}=Ve(),h=Q(),[m,I]=G(!1),k=ee(()=>[{title:"",dataIndex:"field",valueType:"text",key:"1"},{title:"",dataIndex:"field",valueType:"text",key:"2"},{title:"",dataIndex:"field",valueType:"text",key:"3"},{title:"",dataIndex:"field",valueType:"text",key:"4"}],[]);ee(()=>{if(a===void 0){const A=xt(e)||k;return A?.map(_=>Object.assign(Object.assign({},_),{title:void 0,fieldProps:{placeholder:_?.title}}))}else return xt(e)||k},[a,e,k]);const v=Xt(()=>ze(void 0,void 0,void 0,function*(){var A,_,S,w,D,x;const C=yield(A=h?.current)===null||A===void 0?void 0:A.getFieldsValue();if(!C)return;const O=(S=(_=Object.keys(C))===null||_===void 0?void 0:_.map(M=>{var W;return{name:M,value:(W=C[M])!==null&&W!==void 0?W:""}}))===null||S===void 0?void 0:S.filter(M=>M?.value);if(!O||!O?.length)return;I(!0);const N=yield T?.({attributes:O});if(I(!1),N){if(c){const M=E,W=(w=M?.video)===null||w===void 0?void 0:w.bindProduct,V=(x=(D=M?.video)===null||D===void 0?void 0:D.bindProduct)===null||x===void 0?void 0:x.bindCta,B=E?.index;u(M,W,V,B)}d||g?.(),p?.()}}),1e3);return f.createElement("div",{className:"pb-appoint-form"},f.createElement("div",{className:`pb-appoint-form-title ${me(Object.assign({},o))}`},n),f.createElement("div",Object.assign({className:me(Object.assign({},i))},b),f.createElement("div",{className:"pb-appoint-form-container"})),f.createElement("div",{className:"pb-appoint-form-btn-wrapper"},f.createElement("button",{"aria-label":s,onClick:v,className:"pb-appoint-form-btn",style:Object.assign({color:r,background:l},y)},m?f.createElement(f.Fragment,null,"loading..."):s)))};var lo=fe(oo);function Re(t,e){return t.extend=e,t}const so=Re(lo,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"popup",type:"AppointForm",related:{settingRender:no,bindableProps:[],interactionRender:to},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 li,si,ao=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",child:[{label:"\u4E0A\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginTop"]},{label:"\u4E0B\u8FB9\u8DDD",type:"Number",addonAfter:"px",name:["marginBottom"]}]},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:he,name:["fontFamily"],initialValue:(li=he?.[0])===null||li===void 0?void 0:li.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:he,initialValue:(si=he?.[0])===null||si===void 0?void 0:si.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];function Qi(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function ai(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&&ai(t[i],e[i])})}const Zi={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Qe(){const t=typeof document<"u"?document:{};return ai(t,Zi),t}const ro={document:Zi,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Fe(){const t=typeof window<"u"?window:{};return ai(t,ro),t}function ct(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function co(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function yt(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function Xe(){return Date.now()}function uo(t){const e=Fe();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function po(t,e){e===void 0&&(e="x");const i=Fe();let n,o,l;const r=uo(t);return i.WebKitCSSMatrix?(o=r.transform||r.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),l=new i.WebKitCSSMatrix(o==="none"?"":o)):(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?o=l.m41:n.length===16?o=parseFloat(n[12]):o=parseFloat(n[4])),e==="y"&&(i.WebKitCSSMatrix?o=l.m42:n.length===16?o=parseFloat(n[13]):o=parseFloat(n[5])),o||0}function Bt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function vo(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Ge(){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&&!vo(n)){const o=Object.keys(Object(n)).filter(l=>e.indexOf(l)<0);for(let l=0,r=o.length;l<r;l+=1){const s=o[l],a=Object.getOwnPropertyDescriptor(n,s);a!==void 0&&a.enumerable&&(Bt(t[s])&&Bt(n[s])?n[s].__swiper__?t[s]=n[s]:Ge(t[s],n[s]):!Bt(t[s])&&Bt(n[s])?(t[s]={},n[s].__swiper__?t[s]=n[s]:Ge(t[s],n[s])):t[s]=n[s])}}}return t}function zt(t,e,i){t.style.setProperty(e,i)}function en(t){let{swiper:e,targetPosition:i,side:n}=t;const o=Fe(),l=-e.translate;let r=null,s;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const c=i>l?"next":"prev",d=(g,y)=>c==="next"&&g>=y||c==="prev"&&g<=y,p=()=>{s=new Date().getTime(),r===null&&(r=s);const g=Math.max(Math.min((s-r)/a,1),0),y=.5-Math.cos(g*Math.PI)/2;let b=l+y*(i-l);if(d(b,i)&&(b=i),e.wrapperEl.scrollTo({[n]:b}),d(b,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:b})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(p)};p()}function tt(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function Ft(t){try{console.warn(t);return}catch{}}function Ct(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:ct(e)),i}function fo(t){const e=Fe(),i=Qe(),n=t.getBoundingClientRect(),o=i.body,l=t.clientTop||o.clientTop||0,r=t.clientLeft||o.clientLeft||0,s=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+s-l,left:n.left+a-r}}function mo(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 ho(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 ut(t,e){return Fe().getComputedStyle(t,null).getPropertyValue(e)}function Vt(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function tn(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 ri(t,e){function i(n){n.target===t&&(e.call(t,n),t.removeEventListener("transitionend",i))}e&&t.addEventListener("transitionend",i)}function di(t,e,i){const n=Fe();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 it(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function go(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Fe();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,s=Xe(),a;const c=[];function d(m){let A=0,_=0,S=0,w=0;return"detail"in m&&(_=m.detail),"wheelDelta"in m&&(_=-m.wheelDelta/120),"wheelDeltaY"in m&&(_=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(A=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(A=_,_=0),S=A*10,w=_*10,"deltaY"in m&&(w=m.deltaY),"deltaX"in m&&(S=m.deltaX),m.shiftKey&&!S&&(S=w,w=0),(S||w)&&m.deltaMode&&(m.deltaMode===1?(S*=40,w*=40):(S*=800,w*=800)),S&&!A&&(A=S<1?-1:1),w&&!_&&(_=w<1?-1:1),{spinX:A,spinY:_,pixelX:S,pixelY:w}}function p(){e.enabled&&(e.mouseEntered=!0)}function g(){e.enabled&&(e.mouseEntered=!1)}function y(m){return e.params.mousewheel.thresholdDelta&&m.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Xe()-s<e.params.mousewheel.thresholdTime?!1:m.delta>=6&&Xe()-s<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),o("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),o("scroll",m.raw)),s=new l.Date().getTime(),!1)}function b(m){const I=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&I.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&I.releaseOnEdges)return!0;return!1}function T(m){let I=m,k=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const v=e.params.mousewheel;e.params.cssMode&&I.preventDefault();let A=e.el;e.params.mousewheel.eventsTarget!=="container"&&(A=document.querySelector(e.params.mousewheel.eventsTarget));const _=A&&A.contains(I.target);if(!e.mouseEntered&&!_&&!v.releaseOnEdges)return!0;I.originalEvent&&(I=I.originalEvent);let S=0;const w=e.rtlTranslate?-1:1,D=d(I);if(v.forceToAxis)if(e.isHorizontal())if(Math.abs(D.pixelX)>Math.abs(D.pixelY))S=-D.pixelX*w;else return!0;else if(Math.abs(D.pixelY)>Math.abs(D.pixelX))S=-D.pixelY;else return!0;else S=Math.abs(D.pixelX)>Math.abs(D.pixelY)?-D.pixelX*w:-D.pixelY;if(S===0)return!0;v.invert&&(S=-S);let x=e.getTranslate()+S*v.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),k=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),k&&e.params.nested&&I.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const C={time:Xe(),delta:Math.abs(S),direction:Math.sign(S),raw:m};c.length>=2&&c.shift();const O=c.length?c[c.length-1]:void 0;if(c.push(C),O?(C.direction!==O.direction||C.delta>O.delta||C.time>O.time+150)&&y(C):y(C),b(C))return!0}else{const C={time:Xe(),delta:Math.abs(S),direction:Math.sign(S)},O=a&&C.time<a.time+500&&C.delta<=a.delta&&C.direction===a.direction;if(!O){a=void 0;let N=e.getTranslate()+S*v.sensitivity;const M=e.isBeginning,W=e.isEnd;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),e.setTransition(0),e.setTranslate(N),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!M&&e.isBeginning||!W&&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,c.length>=15&&c.shift();const V=c.length?c[c.length-1]:void 0,B=c[0];if(c.push(C),V&&(C.delta>V.delta||C.direction!==V.direction))c.splice(0);else if(c.length>=15&&C.time-B.time<500&&B.delta-C.delta>=1&&C.delta<=6){const j=S>0?.8:.2;a=C,c.splice(0),r=yt(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}r||(r=yt(()=>{a=C,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(O||o("scroll",I),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),v.releaseOnEdges&&(N===e.minTranslate()||N===e.maxTranslate()))return!0}}return I.preventDefault?I.preventDefault():I.returnValue=!1,!1}function E(m){let I=e.el;e.params.mousewheel.eventsTarget!=="container"&&(I=document.querySelector(e.params.mousewheel.eventsTarget)),I[m]("mouseenter",p),I[m]("mouseleave",g),I[m]("wheel",T)}function u(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",T),!0):e.mousewheel.enabled?!1:(E("addEventListener"),e.mousewheel.enabled=!0,!0)}function h(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,T),!0):e.mousewheel.enabled?(E("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&h(),e.params.mousewheel.enabled&&u()}),n("destroy",()=>{e.params.cssMode&&u(),e.mousewheel.enabled&&h()}),Object.assign(e.mousewheel,{enable:u,disable:h})}function nn(t,e,i,n){return t.params.createElements&&Object.keys(n).forEach(o=>{if(!i[o]&&i.auto===!0){let l=tt(t.el,`.${n[o]}`)[0];l||(l=Ct("div",n[o]),l.className=n[o],t.el.append(l)),i[o]=l,e[o]=l}}),i}function wt(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Rt(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:u=>u,formatFractionTotal:u=>u,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),e.pagination={el:null,bullets:[]};let r,s=0;function a(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(u,h){const{bulletActiveClass:m}=e.params.pagination;u&&(u=u[`${h==="prev"?"previous":"next"}ElementSibling`],u&&(u.classList.add(`${m}-${h}`),u=u[`${h==="prev"?"previous":"next"}ElementSibling`],u&&u.classList.add(`${m}-${h}-${h}`)))}function d(u){const h=u.target.closest(wt(e.params.pagination.bulletClass));if(!h)return;u.preventDefault();const m=Vt(h)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===m)return;e.slideToLoop(m)}else e.slideTo(m)}function p(){const u=e.rtl,h=e.params.pagination;if(a())return;let m=e.pagination.el;m=it(m);let I,k;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,A=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(k=e.previousRealIndex||0,I=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(I=e.snapIndex,k=e.previousSnapIndex):(k=e.previousIndex||0,I=e.activeIndex||0),h.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const _=e.pagination.bullets;let S,w,D;if(h.dynamicBullets&&(r=di(_[0],e.isHorizontal()?"width":"height",!0),m.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${r*(h.dynamicMainBullets+4)}px`}),h.dynamicMainBullets>1&&k!==void 0&&(s+=I-(k||0),s>h.dynamicMainBullets-1?s=h.dynamicMainBullets-1:s<0&&(s=0)),S=Math.max(I-s,0),w=S+(Math.min(_.length,h.dynamicMainBullets)-1),D=(w+S)/2),_.forEach(x=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${h.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...C)}),m.length>1)_.forEach(x=>{const C=Vt(x);C===I?x.classList.add(...h.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),h.dynamicBullets&&(C>=S&&C<=w&&x.classList.add(...`${h.bulletActiveClass}-main`.split(" ")),C===S&&c(x,"prev"),C===w&&c(x,"next"))});else{const x=_[I];if(x&&x.classList.add(...h.bulletActiveClass.split(" ")),e.isElement&&_.forEach((C,O)=>{C.setAttribute("part",O===I?"bullet-active":"bullet")}),h.dynamicBullets){const C=_[S],O=_[w];for(let N=S;N<=w;N+=1)_[N]&&_[N].classList.add(...`${h.bulletActiveClass}-main`.split(" "));c(C,"prev"),c(O,"next")}}if(h.dynamicBullets){const x=Math.min(_.length,h.dynamicMainBullets+4),C=(r*x-r)/2-D*r,O=u?"right":"left";_.forEach(N=>{N.style[e.isHorizontal()?O:"top"]=`${C}px`})}}m.forEach((_,S)=>{if(h.type==="fraction"&&(_.querySelectorAll(wt(h.currentClass)).forEach(w=>{w.textContent=h.formatFractionCurrent(I+1)}),_.querySelectorAll(wt(h.totalClass)).forEach(w=>{w.textContent=h.formatFractionTotal(A)})),h.type==="progressbar"){let w;h.progressbarOpposite?w=e.isHorizontal()?"vertical":"horizontal":w=e.isHorizontal()?"horizontal":"vertical";const D=(I+1)/A;let x=1,C=1;w==="horizontal"?x=D:C=D,_.querySelectorAll(wt(h.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${C})`,O.style.transitionDuration=`${e.params.speed}ms`})}h.type==="custom"&&h.renderCustom?(_.innerHTML=h.renderCustom(e,I+1,A),S===0&&o("paginationRender",_)):(S===0&&o("paginationRender",_),o("paginationUpdate",_)),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](h.lockClass)})}function g(){const u=e.params.pagination;if(a())return;const h=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 m=e.pagination.el;m=it(m);let I="";if(u.type==="bullets"){let k=e.params.loop?Math.ceil(h/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&k>h&&(k=h);for(let v=0;v<k;v+=1)u.renderBullet?I+=u.renderBullet.call(e,v,u.bulletClass):I+=`<${u.bulletElement} ${e.isElement?'part="bullet"':""} class="${u.bulletClass}"></${u.bulletElement}>`}u.type==="fraction"&&(u.renderFraction?I=u.renderFraction.call(e,u.currentClass,u.totalClass):I=`<span class="${u.currentClass}"></span> / <span class="${u.totalClass}"></span>`),u.type==="progressbar"&&(u.renderProgressbar?I=u.renderProgressbar.call(e,u.progressbarFillClass):I=`<span class="${u.progressbarFillClass}"></span>`),e.pagination.bullets=[],m.forEach(k=>{u.type!=="custom"&&(k.innerHTML=I||""),u.type==="bullets"&&e.pagination.bullets.push(...k.querySelectorAll(wt(u.bulletClass)))}),u.type!=="custom"&&o("paginationRender",m[0])}function y(){e.params.pagination=nn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const u=e.params.pagination;if(!u.el)return;let h;typeof u.el=="string"&&e.isElement&&(h=e.el.querySelector(u.el)),!h&&typeof u.el=="string"&&(h=[...document.querySelectorAll(u.el)]),h||(h=u.el),!(!h||h.length===0)&&(e.params.uniqueNavElements&&typeof u.el=="string"&&Array.isArray(h)&&h.length>1&&(h=[...e.el.querySelectorAll(u.el)],h.length>1&&(h=h.filter(m=>tn(m,".swiper")[0]===e.el)[0])),Array.isArray(h)&&h.length===1&&(h=h[0]),Object.assign(e.pagination,{el:h}),h=it(h),h.forEach(m=>{u.type==="bullets"&&u.clickable&&m.classList.add(...(u.clickableClass||"").split(" ")),m.classList.add(u.modifierClass+u.type),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.type==="bullets"&&u.dynamicBullets&&(m.classList.add(`${u.modifierClass}${u.type}-dynamic`),s=0,u.dynamicMainBullets<1&&(u.dynamicMainBullets=1)),u.type==="progressbar"&&u.progressbarOpposite&&m.classList.add(u.progressbarOppositeClass),u.clickable&&m.addEventListener("click",d),e.enabled||m.classList.add(u.lockClass)}))}function b(){const u=e.params.pagination;if(a())return;let h=e.pagination.el;h&&(h=it(h),h.forEach(m=>{m.classList.remove(u.hiddenClass),m.classList.remove(u.modifierClass+u.type),m.classList.remove(e.isHorizontal()?u.horizontalClass:u.verticalClass),u.clickable&&(m.classList.remove(...(u.clickableClass||"").split(" ")),m.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(m=>m.classList.remove(...u.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const u=e.params.pagination;let{el:h}=e.pagination;h=it(h),h.forEach(m=>{m.classList.remove(u.horizontalClass,u.verticalClass),m.classList.add(e.isHorizontal()?u.horizontalClass:u.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?E():(y(),g(),p())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&p()}),n("snapIndexChange",()=>{p()}),n("snapGridLengthChange",()=>{g(),p()}),n("destroy",()=>{b()}),n("enable disable",()=>{let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{p()}),n("click",(u,h)=>{const m=h.target,I=it(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&I&&I.length>0&&!m.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&m===e.navigation.nextEl||e.navigation.prevEl&&m===e.navigation.prevEl))return;const k=I[0].classList.contains(e.params.pagination.hiddenClass);o(k===!0?"paginationShow":"paginationHide"),I.forEach(v=>v.classList.toggle(e.params.pagination.hiddenClass))}});const T=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList.remove(e.params.pagination.paginationDisabledClass))),y(),g(),p()},E=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:u}=e.pagination;u&&(u=it(u),u.forEach(h=>h.classList.add(e.params.pagination.paginationDisabledClass))),b()};Object.assign(e.pagination,{enable:T,disable:E,render:g,update:p,init:y,destroy:b})}function bo(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=Qe();let r=!1,s=null,a=null,c,d,p,g;i({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function y(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:C}=e,{dragEl:O,el:N}=x,M=e.params.scrollbar,W=e.params.loop?e.progressLoop:e.progress;let V=d,B=(p-d)*W;C?(B=-B,B>0?(V=d-B,B=0):-B+d>p&&(V=p+B)):B<0?(V=d+B,B=0):B+d>p&&(V=p-B),e.isHorizontal()?(O.style.transform=`translate3d(${B}px, 0, 0)`,O.style.width=`${V}px`):(O.style.transform=`translate3d(0px, ${B}px, 0)`,O.style.height=`${V}px`),M.hide&&(clearTimeout(s),N.style.opacity=1,s=setTimeout(()=>{N.style.opacity=0,N.style.transitionDuration="400ms"},1e3))}function b(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function T(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:C,el:O}=x;C.style.width="",C.style.height="",p=e.isHorizontal()?O.offsetWidth:O.offsetHeight,g=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=p*g:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${d}px`:C.style.height=`${d}px`,g>=1?O.style.display="none":O.style.display="",e.params.scrollbar.hide&&(O.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function E(x){return e.isHorizontal()?x.clientX:x.clientY}function u(x){const{scrollbar:C,rtlTranslate:O}=e,{el:N}=C;let M;M=(E(x)-fo(N)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(p-d),M=Math.max(Math.min(M,1),0),O&&(M=1-M);const W=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*M;e.updateProgress(W),e.setTranslate(W),e.updateActiveIndex(),e.updateSlidesClasses()}function h(x){const C=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:M,dragEl:W}=O;r=!0,c=x.target===W?E(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),N.style.transitionDuration="100ms",W.style.transitionDuration="100ms",u(x),clearTimeout(a),M.style.transitionDuration="0ms",C.hide&&(M.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),o("scrollbarDragStart",x)}function m(x){const{scrollbar:C,wrapperEl:O}=e,{el:N,dragEl:M}=C;r&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,u(x),O.style.transitionDuration="0ms",N.style.transitionDuration="0ms",M.style.transitionDuration="0ms",o("scrollbarDragMove",x))}function I(x){const C=e.params.scrollbar,{scrollbar:O,wrapperEl:N}=e,{el:M}=O;r&&(r=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",N.style.transitionDuration=""),C.hide&&(clearTimeout(a),a=yt(()=>{M.style.opacity=0,M.style.transitionDuration="400ms"},1e3)),o("scrollbarDragEnd",x),C.snapOnRelease&&e.slideToClosest())}function k(x){const{scrollbar:C,params:O}=e,N=C.el;if(!N)return;const M=N,W=O.passiveListeners?{passive:!1,capture:!1}:!1,V=O.passiveListeners?{passive:!0,capture:!1}:!1;if(!M)return;const B=x==="on"?"addEventListener":"removeEventListener";M[B]("pointerdown",h,W),l[B]("pointermove",m,W),l[B]("pointerup",I,V)}function v(){!e.params.scrollbar.el||!e.scrollbar.el||k("on")}function A(){!e.params.scrollbar.el||!e.scrollbar.el||k("off")}function _(){const{scrollbar:x,el:C}=e;e.params.scrollbar=nn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const O=e.params.scrollbar;if(!O.el)return;let N;if(typeof O.el=="string"&&e.isElement&&(N=e.el.querySelector(O.el)),!N&&typeof O.el=="string"){if(N=l.querySelectorAll(O.el),!N.length)return}else N||(N=O.el);e.params.uniqueNavElements&&typeof O.el=="string"&&N.length>1&&C.querySelectorAll(O.el).length===1&&(N=C.querySelector(O.el)),N.length>0&&(N=N[0]),N.classList.add(e.isHorizontal()?O.horizontalClass:O.verticalClass);let M;N&&(M=N.querySelector(wt(e.params.scrollbar.dragClass)),M||(M=Ct("div",e.params.scrollbar.dragClass),N.append(M))),Object.assign(x,{el:N,dragEl:M}),O.draggable&&v(),N&&N.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}function S(){const x=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...ct(e.isHorizontal()?x.horizontalClass:x.verticalClass)),A()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:C}=e.scrollbar;C=it(C),C.forEach(O=>{O.classList.remove(x.horizontalClass,x.verticalClass),O.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?D():(_(),T(),y())}),n("update resize observerUpdate lock unlock changeDirection",()=>{T()}),n("setTranslate",()=>{y()}),n("setTransition",(x,C)=>{b(C)}),n("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...ct(e.params.scrollbar.lockClass))}),n("destroy",()=>{S()});const w=()=>{e.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ct(e.params.scrollbar.scrollbarDisabledClass)),_(),T(),y()},D=()=>{e.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ct(e.params.scrollbar.scrollbarDisabledClass)),S()};Object.assign(e.scrollbar,{enable:w,disable:D,updateSize:T,setTranslate:y,init:_,destroy:S})}function Ht(t){let{swiper:e,extendParams:i,on:n,emit:o,params:l}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let r,s,a=l&&l.autoplay?l.autoplay.delay:3e3,c=l&&l.autoplay?l.autoplay.delay:3e3,d,p=new Date().getTime(),g,y,b,T,E,u,h;function m(V){!e||e.destroyed||!e.wrapperEl||V.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!(h||V.detail&&V.detail.bySwiperTouchMove)&&w())}const I=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?g=!0:g&&(c=d,g=!1);const V=e.autoplay.paused?d:p+c-new Date().getTime();e.autoplay.timeLeft=V,o("autoplayTimeLeft",V,V/a),s=requestAnimationFrame(()=>{I()})},k=()=>{let V;return e.virtual&&e.params.virtual.enabled?V=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:V=e.slides[e.activeIndex],V?parseInt(V.getAttribute("data-swiper-autoplay"),10):void 0},v=V=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),I();let B=typeof V>"u"?e.params.autoplay.delay:V;a=e.params.autoplay.delay,c=e.params.autoplay.delay;const j=k();!Number.isNaN(j)&&j>0&&typeof V>"u"&&(B=j,a=j,c=j),d=B;const L=e.params.speed,F=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,L,!0,!0),o("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(L,!0,!0),o("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,L,!0,!0),o("autoplay")),e.params.cssMode&&(p=new Date().getTime(),requestAnimationFrame(()=>{v()})))};return B>0?(clearTimeout(r),r=setTimeout(()=>{F()},B)):requestAnimationFrame(()=>{F()}),B},A=()=>{p=new Date().getTime(),e.autoplay.running=!0,v(),o("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),o("autoplayStop")},S=(V,B)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),V||(u=!0);const j=()=>{o("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):w()};if(e.autoplay.paused=!0,B){E&&(d=e.params.autoplay.delay),E=!1,j();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-p),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),j())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(p=new Date().getTime(),u?(u=!1,v(d)):v(),e.autoplay.paused=!1,o("autoplayResume"))},D=()=>{if(e.destroyed||!e.autoplay.running)return;const V=Qe();V.visibilityState==="hidden"&&(u=!0,S(!0)),V.visibilityState==="visible"&&w()},x=V=>{V.pointerType==="mouse"&&(u=!0,h=!0,!(e.animating||e.autoplay.paused)&&S(!0))},C=V=>{V.pointerType==="mouse"&&(h=!1,e.autoplay.paused&&w())},O=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",C))},N=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",C))},M=()=>{Qe().addEventListener("visibilitychange",D)},W=()=>{Qe().removeEventListener("visibilitychange",D)};n("init",()=>{e.params.autoplay.enabled&&(O(),M(),A())}),n("destroy",()=>{N(),W(),e.autoplay.running&&_()}),n("_freeModeStaticRelease",()=>{(b||u)&&w()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():S(!0,!0)}),n("beforeTransitionStart",(V,B,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?S(!0,!0):_())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}y=!0,b=!1,u=!1,T=setTimeout(()=>{u=!0,b=!0,S(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!y)){if(clearTimeout(T),clearTimeout(r),e.params.autoplay.disableOnInteraction){b=!1,y=!1;return}b&&e.params.cssMode&&w(),b=!1,y=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(E=!0)}),Object.assign(e.autoplay,{start:A,stop:_,pause:S,resume:w})}function yo(t){let{swiper:e,extendParams:i,emit:n,once:o}=t;i({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const a=e.getTranslate();e.setTranslate(a),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function r(){if(e.params.cssMode)return;const{touchEventsData:a,touches:c}=e;a.velocities.length===0&&a.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:a.touchStartTime}),a.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:Xe()})}function s(a){let{currentPos:c}=a;if(e.params.cssMode)return;const{params:d,wrapperEl:p,rtlTranslate:g,snapGrid:y,touchEventsData:b}=e,E=Xe()-b.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<y.length?e.slideTo(y.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(b.velocities.length>1){const _=b.velocities.pop(),S=b.velocities.pop(),w=_.position-S.position,D=_.time-S.time;e.velocity=w/D,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),(D>150||Xe()-_.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,b.velocities.length=0;let u=1e3*d.freeMode.momentumRatio;const h=e.velocity*u;let m=e.translate+h;g&&(m=-m);let I=!1,k;const v=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let A;if(m<e.maxTranslate())d.freeMode.momentumBounce?(m+e.maxTranslate()<-v&&(m=e.maxTranslate()-v),k=e.maxTranslate(),I=!0,b.allowMomentumBounce=!0):m=e.maxTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(m>e.minTranslate())d.freeMode.momentumBounce?(m-e.minTranslate()>v&&(m=e.minTranslate()+v),k=e.minTranslate(),I=!0,b.allowMomentumBounce=!0):m=e.minTranslate(),d.loop&&d.centeredSlides&&(A=!0);else if(d.freeMode.sticky){let _;for(let S=0;S<y.length;S+=1)if(y[S]>-m){_=S;break}Math.abs(y[_]-m)<Math.abs(y[_-1]-m)||e.swipeDirection==="next"?m=y[_]:m=y[_-1],m=-m}if(A&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(g?u=Math.abs((-m-e.translate)/e.velocity):u=Math.abs((m-e.translate)/e.velocity),d.freeMode.sticky){const _=Math.abs((g?-m:m)-e.translate),S=e.slidesSizesGrid[e.activeIndex];_<S?u=d.speed:_<2*S?u=d.speed*1.5:u=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&I?(e.updateProgress(k),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating=!0,ri(p,()=>{!e||e.destroyed||!b.allowMomentumBounce||(n("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(k),ri(p,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(u),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ri(p,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&n("_freeModeNoMomentumRelease");(!d.freeMode.momentum||E>=d.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:l,onTouchMove:r,onTouchEnd:s}})}let ci;function wo(){const t=Fe(),e=Qe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function on(){return ci||(ci=wo()),ci}let ui;function So(t){let{userAgent:e}=t===void 0?{}:t;const i=on(),n=Fe(),o=n.navigator.platform,l=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,c=l.match(/(Android);?[\s\/]+([\d.]+)?/);let d=l.match(/(iPad).*OS\s([\d_]+)/);const p=l.match(/(iPod)(.*OS\s([\d_]+))?/),g=!d&&l.match(/(iPhone\sOS|iOS)\s([\d_]+)/),y=o==="Win32";let b=o==="MacIntel";const T=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&b&&i.touch&&T.indexOf(`${s}x${a}`)>=0&&(d=l.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),b=!1),c&&!y&&(r.os="android",r.android=!0),(d||g||p)&&(r.os="ios",r.ios=!0),r}function ln(t){return t===void 0&&(t={}),ui||(ui=So(t)),ui}let pi;function To(){const t=Fe(),e=ln();let i=!1;function n(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[a,c]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&c<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),l=n(),r=l||o&&e.ios;return{isSafari:i||l,needPerspectiveFix:i,need3dFix:r,isWebView:o}}function xo(){return pi||(pi=To()),pi}function Eo(t){let{swiper:e,on:i,emit:n}=t;const o=Fe();let l=null,r=null;const s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(l=new ResizeObserver(p=>{r=o.requestAnimationFrame(()=>{const{width:g,height:y}=e;let b=g,T=y;p.forEach(E=>{let{contentBoxSize:u,contentRect:h,target:m}=E;m&&m!==e.el||(b=h?h.width:(u[0]||u).inlineSize,T=h?h.height:(u[0]||u).blockSize)}),(b!==g||T!==y)&&s()})}),l.observe(e.el))},c=()=>{r&&o.cancelAnimationFrame(r),l&&l.unobserve&&e.el&&(l.unobserve(e.el),l=null)},d=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){a();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function Io(t){let{swiper:e,extendParams:i,on:n,emit:o}=t;const l=[],r=Fe(),s=function(d,p){p===void 0&&(p={});const g=r.MutationObserver||r.WebkitMutationObserver,y=new g(b=>{if(e.__preventObserver__)return;if(b.length===1){o("observerUpdate",b[0]);return}const T=function(){o("observerUpdate",b[0])};r.requestAnimationFrame?r.requestAnimationFrame(T):r.setTimeout(T,0)});y.observe(d,{attributes:typeof p.attributes>"u"?!0:p.attributes,childList:typeof p.childList>"u"?!0:p.childList,characterData:typeof p.characterData>"u"?!0:p.characterData}),l.push(y)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=tn(e.hostEl);for(let p=0;p<d.length;p+=1)s(d[p])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},c=()=>{l.forEach(d=>{d.disconnect()}),l.splice(0,l.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",a),n("destroy",c)}var Co={on(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const o=i?"unshift":"push";return t.split(" ").forEach(l=>{n.eventsListeners[l]||(n.eventsListeners[l]=[]),n.eventsListeners[l][o](e)}),n},once(t,e,i){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];e.apply(n,r)}return o.__emitterProxy=e,n.on(t,o,i)},onAny(t,e){const i=this;if(!i.eventsListeners||i.destroyed||typeof t!="function")return i;const n=e?"unshift":"push";return i.eventsAnyListeners.indexOf(t)<0&&i.eventsAnyListeners[n](t),i},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const i=e.eventsAnyListeners.indexOf(t);return i>=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(n=>{typeof e>"u"?i.eventsListeners[n]=[]:i.eventsListeners[n]&&i.eventsListeners[n].forEach((o,l)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&i.eventsListeners[n].splice(l,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,n;for(var o=arguments.length,l=new Array(o),r=0;r<o;r++)l[r]=arguments[r];return typeof l[0]=="string"||Array.isArray(l[0])?(e=l[0],i=l.slice(1,l.length),n=t):(e=l[0].events,i=l[0].data,n=l[0].context||t),i.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(a=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(c=>{c.apply(n,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(c=>{c.apply(n,i)})}),t}};function _o(){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(ut(n,"padding-left")||0,10)-parseInt(ut(n,"padding-right")||0,10),i=i-parseInt(ut(n,"padding-top")||0,10)-parseInt(ut(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 ko(){const t=this;function e(w,D){return parseFloat(w.getPropertyValue(t.getDirectionLabel(D))||0)}const i=t.params,{wrapperEl:n,slidesEl:o,size:l,rtlTranslate:r,wrongRTL:s}=t,a=t.virtual&&i.virtual.enabled,c=a?t.virtual.slides.length:t.slides.length,d=tt(o,`.${t.params.slideClass}, swiper-slide`),p=a?t.virtual.slides.length:d.length;let g=[];const y=[],b=[];let T=i.slidesOffsetBefore;typeof T=="function"&&(T=i.slidesOffsetBefore.call(t));let E=i.slidesOffsetAfter;typeof E=="function"&&(E=i.slidesOffsetAfter.call(t));const u=t.snapGrid.length,h=t.slidesGrid.length;let m=i.spaceBetween,I=-T,k=0,v=0;if(typeof l>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*l:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,d.forEach(w=>{r?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(zt(n,"--swiper-centered-offset-before",""),zt(n,"--swiper-centered-offset-after",""));const A=i.grid&&i.grid.rows>1&&t.grid;A?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let _;const S=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w<p;w+=1){_=0;let D;if(d[w]&&(D=d[w]),A&&t.grid.updateSlide(w,D,d),!(d[w]&&ut(D,"display")==="none")){if(i.slidesPerView==="auto"){S&&(d[w].style[t.getDirectionLabel("width")]="");const x=getComputedStyle(D),C=D.style.transform,O=D.style.webkitTransform;if(C&&(D.style.transform="none"),O&&(D.style.webkitTransform="none"),i.roundLengths)_=t.isHorizontal()?di(D,"width",!0):di(D,"height",!0);else{const N=e(x,"width"),M=e(x,"padding-left"),W=e(x,"padding-right"),V=e(x,"margin-left"),B=e(x,"margin-right"),j=x.getPropertyValue("box-sizing");if(j&&j==="border-box")_=N+V+B;else{const{clientWidth:L,offsetWidth:F}=D;_=N+M+W+V+B+(F-L)}}C&&(D.style.transform=C),O&&(D.style.webkitTransform=O),i.roundLengths&&(_=Math.floor(_))}else _=(l-(i.slidesPerView-1)*m)/i.slidesPerView,i.roundLengths&&(_=Math.floor(_)),d[w]&&(d[w].style[t.getDirectionLabel("width")]=`${_}px`);d[w]&&(d[w].swiperSlideSize=_),b.push(_),i.centeredSlides?(I=I+_/2+k/2+m,k===0&&w!==0&&(I=I-l/2-m),w===0&&(I=I-l/2-m),Math.abs(I)<1/1e3&&(I=0),i.roundLengths&&(I=Math.floor(I)),v%i.slidesPerGroup===0&&g.push(I),y.push(I)):(i.roundLengths&&(I=Math.floor(I)),(v-Math.min(t.params.slidesPerGroupSkip,v))%t.params.slidesPerGroup===0&&g.push(I),y.push(I),I=I+_+m),t.virtualSize+=_+m,k=_,v+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+E,r&&s&&(i.effect==="slide"||i.effect==="coverflow")&&(n.style.width=`${t.virtualSize+m}px`),i.setWrapperSize&&(n.style[t.getDirectionLabel("width")]=`${t.virtualSize+m}px`),A&&t.grid.updateWrapperSize(_,g),!i.centeredSlides){const w=[];for(let D=0;D<g.length;D+=1){let x=g[D];i.roundLengths&&(x=Math.floor(x)),g[D]<=t.virtualSize-l&&w.push(x)}g=w,Math.floor(t.virtualSize-l)-Math.floor(g[g.length-1])>1&&g.push(t.virtualSize-l)}if(a&&i.loop){const w=b[0]+m;if(i.slidesPerGroup>1){const D=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),x=w*i.slidesPerGroup;for(let C=0;C<D;C+=1)g.push(g[g.length-1]+x)}for(let D=0;D<t.virtual.slidesBefore+t.virtual.slidesAfter;D+=1)i.slidesPerGroup===1&&g.push(g[g.length-1]+w),y.push(y[y.length-1]+w),t.virtualSize+=w}if(g.length===0&&(g=[0]),m!==0){const w=t.isHorizontal()&&r?"marginLeft":t.getDirectionLabel("marginRight");d.filter((D,x)=>!i.cssMode||i.loop?!0:x!==d.length-1).forEach(D=>{D.style[w]=`${m}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;b.forEach(x=>{w+=x+(m||0)}),w-=m;const D=w-l;g=g.map(x=>x<=0?-T:x>D?D+E:x)}if(i.centerInsufficientSlides){let w=0;b.forEach(x=>{w+=x+(m||0)}),w-=m;const D=(i.slidesOffsetBefore||0)+(i.slidesOffsetAfter||0);if(w+D<l){const x=(l-w-D)/2;g.forEach((C,O)=>{g[O]=C-x}),y.forEach((C,O)=>{y[O]=C+x})}}if(Object.assign(t,{slides:d,snapGrid:g,slidesGrid:y,slidesSizesGrid:b}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){zt(n,"--swiper-centered-offset-before",`${-g[0]}px`),zt(n,"--swiper-centered-offset-after",`${t.size/2-b[b.length-1]/2}px`);const w=-t.snapGrid[0],D=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(x=>x+w),t.slidesGrid=t.slidesGrid.map(x=>x+D)}if(p!==c&&t.emit("slidesLengthChange"),g.length!==u&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),y.length!==h&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,D=t.el.classList.contains(w);p<=i.maxBackfaceHiddenSlides?D||t.el.classList.add(w):D&&t.el.classList.remove(w)}}function Do(t){const e=this,i=[],n=e.virtual&&e.params.virtual.enabled;let o=0,l;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const r=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{i.push(s)});else for(l=0;l<Math.ceil(e.params.slidesPerView);l+=1){const s=e.activeIndex+l;if(s>e.slides.length&&!n)break;i.push(r(s))}else i.push(r(e.activeIndex));for(l=0;l<i.length;l+=1)if(typeof i[l]<"u"){const s=i[l].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function Ao(){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 sn=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Po(t){t===void 0&&(t=this&&this.translate||0);const e=this,i=e.params,{slides:n,rtlTranslate:o,snapGrid:l}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let r=-t;o&&(r=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=i.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let a=0;a<n.length;a+=1){const c=n[a];let d=c.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(d-=n[0].swiperSlideOffset);const p=(r+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),g=(r-l[0]+(i.centeredSlides?e.minTranslate():0)-d)/(c.swiperSlideSize+s),y=-(r-d),b=y+e.slidesSizesGrid[a],T=y>=0&&y<=e.size-e.slidesSizesGrid[a],E=y>=0&&y<e.size-1||b>1&&b<=e.size||y<=0&&b>=e.size;E&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(a)),sn(c,E,i.slideVisibleClass),sn(c,T,i.slideFullyVisibleClass),c.progress=o?-p:p,c.originalProgress=o?-g:g}}function Oo(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:l,isEnd:r,progressLoop:s}=e;const a=l,c=r;if(n===0)o=0,l=!0,r=!0;else{o=(t-e.minTranslate())/n;const d=Math.abs(t-e.minTranslate())<1,p=Math.abs(t-e.maxTranslate())<1;l=d||o<=0,r=p||o>=1,d&&(o=0),p&&(o=1)}if(i.loop){const d=e.getSlideIndexByData(0),p=e.getSlideIndexByData(e.slides.length-1),g=e.slidesGrid[d],y=e.slidesGrid[p],b=e.slidesGrid[e.slidesGrid.length-1],T=Math.abs(t);T>=g?s=(T-g)/b:s=(T+b-y)/b,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:l,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),l&&!a&&e.emit("reachBeginning toEdge"),r&&!c&&e.emit("reachEnd toEdge"),(a&&!l||c&&!r)&&e.emit("fromEdge"),e.emit("progress",o)}const vi=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function Mo(){const t=this,{slides:e,params:i,slidesEl:n,activeIndex:o}=t,l=t.virtual&&i.virtual.enabled,r=t.grid&&i.grid&&i.grid.rows>1,s=p=>tt(n,`.${i.slideClass}${p}, swiper-slide${p}`)[0];let a,c,d;if(l)if(i.loop){let p=o-t.virtual.slidesBefore;p<0&&(p=t.virtual.slides.length+p),p>=t.virtual.slides.length&&(p-=t.virtual.slides.length),a=s(`[data-swiper-slide-index="${p}"]`)}else a=s(`[data-swiper-slide-index="${o}"]`);else r?(a=e.filter(p=>p.column===o)[0],d=e.filter(p=>p.column===o+1)[0],c=e.filter(p=>p.column===o-1)[0]):a=e[o];a&&(r||(d=ho(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),c=mo(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(p=>{vi(p,p===a,i.slideActiveClass),vi(p,p===d,i.slideNextClass),vi(p,p===c,i.slidePrevClass)}),t.emitSlidesClasses()}const Ut=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,n=e.closest(i());if(n){let o=n.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(n.shadowRoot?o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(o=n.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},fi=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},mi=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const n=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const r=o,s=[r-e];s.push(...Array.from({length:e}).map((a,c)=>r+n+c)),t.slides.forEach((a,c)=>{s.includes(a.column)&&fi(t,c)});return}const l=o+n-1;if(t.params.rewind||t.params.loop)for(let r=o-e;r<=l+e;r+=1){const s=(r%i+i)%i;(s<o||s>l)&&fi(t,s)}else for(let r=Math.max(o-e,0);r<=Math.min(l+e,i-1);r+=1)r!==o&&(r>l||r<o)&&fi(t,r)};function Lo(t){const{slidesGrid:e,params:i}=t,n=t.rtlTranslate?t.translate:-t.translate;let o;for(let l=0;l<e.length;l+=1)typeof e[l+1]<"u"?n>=e[l]&&n<e[l+1]-(e[l+1]-e[l])/2?o=l:n>=e[l]&&n<e[l+1]&&(o=l+1):n>=e[l]&&(o=l);return i.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function jo(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:o,activeIndex:l,realIndex:r,snapIndex:s}=e;let a=t,c;const d=y=>{let b=y-e.virtual.slidesBefore;return b<0&&(b=e.virtual.slides.length+b),b>=e.virtual.slides.length&&(b-=e.virtual.slides.length),b};if(typeof a>"u"&&(a=Lo(e)),n.indexOf(i)>=0)c=n.indexOf(i);else{const y=Math.min(o.slidesPerGroupSkip,a);c=y+Math.floor((a-y)/o.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),a===l&&!e.params.loop){c!==s&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(a===l&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const p=e.grid&&o.grid&&o.grid.rows>1;let g;if(e.virtual&&o.virtual.enabled&&o.loop)g=d(a);else if(p){const y=e.slides.filter(T=>T.column===a)[0];let b=parseInt(y.getAttribute("data-swiper-slide-index"),10);Number.isNaN(b)&&(b=Math.max(e.slides.indexOf(y),0)),g=Math.floor(b/o.grid.rows)}else if(e.slides[a]){const y=e.slides[a].getAttribute("data-swiper-slide-index");y?g=parseInt(y,10):g=a}else g=a;Object.assign(e,{previousSnapIndex:s,snapIndex:c,previousRealIndex:r,realIndex:g,previousIndex:l,activeIndex:a}),e.initialized&&mi(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(r!==g&&e.emit("realIndexChange"),e.emit("slideChange"))}function No(t,e){const i=this,n=i.params;let o=t.closest(`.${n.slideClass}, swiper-slide`);!o&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(o=s)});let l=!1,r;if(o){for(let s=0;s<i.slides.length;s+=1)if(i.slides[s]===o){l=!0,r=s;break}}if(o&&l)i.clickedSlide=o,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}n.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}var Bo={updateSize:_o,updateSlides:ko,updateAutoHeight:Do,updateSlidesOffset:Ao,updateSlidesProgress:Po,updateProgress:Oo,updateSlidesClasses:Mo,updateActiveIndex:jo,updateClickedSlide:No};function zo(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:i,rtlTranslate:n,translate:o,wrapperEl:l}=e;if(i.virtualTranslate)return n?-o:o;if(i.cssMode)return o;let r=po(l,t);return r+=e.cssOverflowAdjustment(),n&&(r=-r),r||0}function Fo(t,e){const i=this,{rtlTranslate:n,params:o,wrapperEl:l,progress:r}=i;let s=0,a=0;const c=0;i.isHorizontal()?s=n?-t:t:a=t,o.roundLengths&&(s=Math.floor(s),a=Math.floor(a)),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?s:a,o.cssMode?l[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-s:-a:o.virtualTranslate||(i.isHorizontal()?s-=i.cssOverflowAdjustment():a-=i.cssOverflowAdjustment(),l.style.transform=`translate3d(${s}px, ${a}px, ${c}px)`);let d;const p=i.maxTranslate()-i.minTranslate();p===0?d=0:d=(t-i.minTranslate())/p,d!==r&&i.updateProgress(t),i.emit("setTranslate",i.translate,e)}function Vo(){return-this.snapGrid[0]}function Ro(){return-this.snapGrid[this.snapGrid.length-1]}function Ho(t,e,i,n,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),i===void 0&&(i=!0),n===void 0&&(n=!0);const l=this,{params:r,wrapperEl:s}=l;if(l.animating&&r.preventInteractionOnTransition)return!1;const a=l.minTranslate(),c=l.maxTranslate();let d;if(n&&t>a?d=a:n&&t<c?d=c:d=t,l.updateProgress(d),r.cssMode){const p=l.isHorizontal();if(e===0)s[p?"scrollLeft":"scrollTop"]=-d;else{if(!l.support.smoothScroll)return en({swiper:l,targetPosition:-d,side:p?"left":"top"}),!0;s.scrollTo({[p?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(l.setTransition(0),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionEnd"))):(l.setTransition(e),l.setTranslate(d),i&&(l.emit("beforeTransitionStart",e,o),l.emit("transitionStart")),l.animating||(l.animating=!0,l.onTranslateToWrapperTransitionEnd||(l.onTranslateToWrapperTransitionEnd=function(g){!l||l.destroyed||g.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 Uo={getTranslate:zo,setTranslate:Fo,minTranslate:Vo,maxTranslate:Ro,translateTo:Ho};function Go(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 an(t){let{swiper:e,runCallbacks:i,direction:n,step:o}=t;const{activeIndex:l,previousIndex:r}=e;let s=n;if(s||(l>r?s="next":l<r?s="prev":s="reset"),e.emit(`transition${o}`),i&&l!==r){if(s==="reset"){e.emit(`slideResetTransition${o}`);return}e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`)}}function $o(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),an({swiper:i,runCallbacks:t,direction:e,step:"Start"}))}function Wo(t,e){t===void 0&&(t=!0);const i=this,{params:n}=i;i.animating=!1,!n.cssMode&&(i.setTransition(0),an({swiper:i,runCallbacks:t,direction:e,step:"End"}))}var Yo={setTransition:Go,transitionStart:$o,transitionEnd:Wo};function qo(t,e,i,n,o){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:s,snapGrid:a,slidesGrid:c,previousIndex:d,activeIndex:p,rtlTranslate:g,wrapperEl:y,enabled:b}=l;if(!b&&!n&&!o||l.destroyed||l.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=l.params.speed);const T=Math.min(l.params.slidesPerGroupSkip,r);let E=T+Math.floor((r-T)/l.params.slidesPerGroup);E>=a.length&&(E=a.length-1);const u=-a[E];if(s.normalizeSlideIndex)for(let m=0;m<c.length;m+=1){const I=-Math.floor(u*100),k=Math.floor(c[m]*100),v=Math.floor(c[m+1]*100);typeof c[m+1]<"u"?I>=k&&I<v-(v-k)/2?r=m:I>=k&&I<v&&(r=m+1):I>=k&&(r=m)}if(l.initialized&&r!==p&&(!l.allowSlideNext&&(g?u>l.translate&&u>l.minTranslate():u<l.translate&&u<l.minTranslate())||!l.allowSlidePrev&&u>l.translate&&u>l.maxTranslate()&&(p||0)!==r))return!1;r!==(d||0)&&i&&l.emit("beforeSlideChangeStart"),l.updateProgress(u);let h;if(r>p?h="next":r<p?h="prev":h="reset",g&&-u===l.translate||!g&&u===l.translate)return l.updateActiveIndex(r),s.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),s.effect!=="slide"&&l.setTranslate(u),h!=="reset"&&(l.transitionStart(i,h),l.transitionEnd(i,h)),!1;if(s.cssMode){const m=l.isHorizontal(),I=g?u:-u;if(e===0){const k=l.virtual&&l.params.virtual.enabled;k&&(l.wrapperEl.style.scrollSnapType="none",l._immediateVirtual=!0),k&&!l._cssModeVirtualInitialSet&&l.params.initialSlide>0?(l._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{y[m?"scrollLeft":"scrollTop"]=I})):y[m?"scrollLeft":"scrollTop"]=I,k&&requestAnimationFrame(()=>{l.wrapperEl.style.scrollSnapType="",l._immediateVirtual=!1})}else{if(!l.support.smoothScroll)return en({swiper:l,targetPosition:I,side:m?"left":"top"}),!0;y.scrollTo({[m?"left":"top"]:I,behavior:"smooth"})}return!0}return l.setTransition(e),l.setTranslate(u),l.updateActiveIndex(r),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(i,h),e===0?l.transitionEnd(i,h):l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(I){!l||l.destroyed||I.target===this&&(l.wrapperEl.removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(i,h))}),l.wrapperEl.addEventListener("transitionend",l.onSlideToWrapperTransitionEnd)),!0}function Xo(t,e,i,n){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const l=o.grid&&o.params.grid&&o.params.grid.rows>1;let r=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)r=r+o.virtual.slidesBefore;else{let s;if(l){const g=r*o.params.grid.rows;s=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===g)[0].column}else s=o.getSlideIndexByData(r);const a=l?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:c}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let p=a-s<d;if(c&&(p=p||s<Math.ceil(d/2)),n&&c&&o.params.slidesPerView!=="auto"&&!l&&(p=!1),p){const g=c?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?s+1:s-a+1,slideRealIndex:g==="next"?o.realIndex:void 0})}if(l){const g=r*o.params.grid.rows;r=o.slides.filter(y=>y.getAttribute("data-swiper-slide-index")*1===g)[0].column}else r=o.getSlideIndexByData(r)}return requestAnimationFrame(()=>{o.slideTo(r,e,i,n)}),o}function Jo(t,e,i){e===void 0&&(e=!0);const n=this,{enabled:o,params:l,animating:r}=n;if(!o||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);let s=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:s,c=n.virtual&&l.virtual.enabled;if(l.loop){if(r&&!c&&l.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&l.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+a,t,e,i)}),!0}return l.rewind&&n.isEnd?n.slideTo(0,t,e,i):n.slideTo(n.activeIndex+a,t,e,i)}function Ko(t,e,i){e===void 0&&(e=!0);const n=this,{params:o,snapGrid:l,slidesGrid:r,rtlTranslate:s,enabled:a,animating:c}=n;if(!a||n.destroyed)return n;typeof t>"u"&&(t=n.params.speed);const d=n.virtual&&o.virtual.enabled;if(o.loop){if(c&&!d&&o.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const p=s?n.translate:-n.translate;function g(u){return u<0?-Math.floor(Math.abs(u)):Math.floor(u)}const y=g(p),b=l.map(u=>g(u));let T=l[b.indexOf(y)-1];if(typeof T>"u"&&o.cssMode){let u;l.forEach((h,m)=>{y>=h&&(u=m)}),typeof u<"u"&&(T=l[u>0?u-1:u])}let E=0;if(typeof T<"u"&&(E=r.indexOf(T),E<0&&(E=n.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(E=E-n.slidesPerViewDynamic("previous",!0)+1,E=Math.max(E,0))),o.rewind&&n.isBeginning){const u=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(u,t,e,i)}else if(o.loop&&n.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(E,t,e,i)}),!0;return n.slideTo(E,t,e,i)}function Qo(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 Zo(t,e,i,n){e===void 0&&(e=!0),n===void 0&&(n=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let l=o.activeIndex;const r=Math.min(o.params.slidesPerGroupSkip,l),s=r+Math.floor((l-r)/o.params.slidesPerGroup),a=o.rtlTranslate?o.translate:-o.translate;if(a>=o.snapGrid[s]){const c=o.snapGrid[s],d=o.snapGrid[s+1];a-c>(d-c)*n&&(l+=o.params.slidesPerGroup)}else{const c=o.snapGrid[s-1],d=o.snapGrid[s];a-c<=(d-c)*n&&(l-=o.params.slidesPerGroup)}return l=Math.max(l,0),l=Math.min(l,o.slidesGrid.length-1),o.slideTo(l,t,e,i)}function el(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,n=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.clickedIndex,l;const 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?o<t.loopedSlides-n/2||o>t.slides.length-t.loopedSlides+n/2?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o):o>t.slides.length-n?(t.loopFix(),o=t.getSlideIndex(tt(i,`${r}[data-swiper-slide-index="${l}"]`)[0]),yt(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var tl={slideTo:qo,slideToLoop:Xo,slideNext:Jo,slidePrev:Ko,slideReset:Qo,slideToClosest:Zo,slideToClickedSlide:el};function il(t){const e=this,{params:i,slidesEl:n}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const o=()=>{tt(n,`.${i.slideClass}, swiper-slide`).forEach((p,g)=>{p.setAttribute("data-swiper-slide-index",g)})},l=e.grid&&i.grid&&i.grid.rows>1,r=i.slidesPerGroup*(l?i.grid.rows:1),s=e.slides.length%r!==0,a=l&&e.slides.length%i.grid.rows!==0,c=d=>{for(let p=0;p<d;p+=1){const g=e.isElement?Ct("swiper-slide",[i.slideBlankClass]):Ct("div",[i.slideClass,i.slideBlankClass]);e.slidesEl.append(g)}};if(s){if(i.loopAddBlankSlides){const d=r-e.slides.length%r;c(d),e.recalcSlides(),e.updateSlides()}else Ft("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(a){if(i.loopAddBlankSlides){const d=i.grid.rows-e.slides.length%i.grid.rows;c(d),e.recalcSlides(),e.updateSlides()}else Ft("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();e.loopFix({slideRealIndex:t,direction:i.centeredSlides?void 0:"next"})}function nl(t){let{slideRealIndex:e,slideTo:i=!0,direction:n,setTranslate:o,activeSlideIndex:l,byController:r,byMousewheel:s}=t===void 0?{}:t;const a=this;if(!a.params.loop)return;a.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:g,params:y}=a,{centeredSlides:b}=y;if(a.allowSlidePrev=!0,a.allowSlideNext=!0,a.virtual&&y.virtual.enabled){i&&(!y.centeredSlides&&a.snapIndex===0?a.slideTo(a.virtual.slides.length,0,!1,!0):y.centeredSlides&&a.snapIndex<y.slidesPerView?a.slideTo(a.virtual.slides.length+a.snapIndex,0,!1,!0):a.snapIndex===a.snapGrid.length-1&&a.slideTo(a.virtual.slidesBefore,0,!1,!0)),a.allowSlidePrev=d,a.allowSlideNext=p,a.emit("loopFix");return}let T=y.slidesPerView;T==="auto"?T=a.slidesPerViewDynamic():(T=Math.ceil(parseFloat(y.slidesPerView,10)),b&&T%2===0&&(T=T+1));const E=y.slidesPerGroupAuto?T:y.slidesPerGroup;let u=E;u%E!==0&&(u+=E-u%E),u+=y.loopAdditionalSlides,a.loopedSlides=u;const h=a.grid&&y.grid&&y.grid.rows>1;c.length<T+u?Ft("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"):h&&y.grid.fill==="row"&&Ft("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const m=[],I=[];let k=a.activeIndex;typeof l>"u"?l=a.getSlideIndex(c.filter(C=>C.classList.contains(y.slideActiveClass))[0]):k=l;const v=n==="next"||!n,A=n==="prev"||!n;let _=0,S=0;const w=h?Math.ceil(c.length/y.grid.rows):c.length,x=(h?c[l].column:l)+(b&&typeof o>"u"?-T/2+.5:0);if(x<u){_=Math.max(u-x,E);for(let C=0;C<u-x;C+=1){const O=C-Math.floor(C/w)*w;if(h){const N=w-O-1;for(let M=c.length-1;M>=0;M-=1)c[M].column===N&&m.push(M)}else m.push(w-O-1)}}else if(x+T>w-u){S=Math.max(x-(w-u*2),E);for(let C=0;C<S;C+=1){const O=C-Math.floor(C/w)*w;h?c.forEach((N,M)=>{N.column===O&&I.push(M)}):I.push(O)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),A&&m.forEach(C=>{c[C].swiperLoopMoveDOM=!0,g.prepend(c[C]),c[C].swiperLoopMoveDOM=!1}),v&&I.forEach(C=>{c[C].swiperLoopMoveDOM=!0,g.append(c[C]),c[C].swiperLoopMoveDOM=!1}),a.recalcSlides(),y.slidesPerView==="auto"?a.updateSlides():h&&(m.length>0&&A||I.length>0&&v)&&a.slides.forEach((C,O)=>{a.grid.updateSlide(O,C,a.slides)}),y.watchSlidesProgress&&a.updateSlidesOffset(),i){if(m.length>0&&A){if(typeof e>"u"){const C=a.slidesGrid[k],N=a.slidesGrid[k+_]-C;s?a.setTranslate(a.translate-N):(a.slideTo(k+Math.ceil(_),0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else if(o){const C=h?m.length/y.grid.rows:m.length;a.slideTo(a.activeIndex+C,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(I.length>0&&v)if(typeof e>"u"){const C=a.slidesGrid[k],N=a.slidesGrid[k-S]-C;s?a.setTranslate(a.translate-N):(a.slideTo(k-S,0,!1,!0),o&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-N,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-N))}else{const C=h?I.length/y.grid.rows:I.length;a.slideTo(a.activeIndex-C,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=p,a.controller&&a.controller.control&&!r){const C={slideRealIndex:e,direction:n,setTranslate:o,activeSlideIndex:l,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(O=>{!O.destroyed&&O.params.loop&&O.loopFix({...C,slideTo:O.params.slidesPerView===y.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...C,slideTo:a.controller.control.params.slidesPerView===y.slidesPerView?i:!1})}a.emit("loopFix")}function ol(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const n=[];t.slides.forEach(o=>{const l=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;n[l]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),n.forEach(o=>{i.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var ll={loopCreate:il,loopFix:nl,loopDestroy:ol};function sl(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 al(){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 rl={setGrabCursor:sl,unsetGrabCursor:al};function dl(t,e){e===void 0&&(e=this);function i(n){if(!n||n===Qe()||n===Fe())return null;n.assignedSlot&&(n=n.assignedSlot);const o=n.closest(t);return!o&&!n.getRootNode?null:o||i(n.getRootNode().host)}return i(e)}function rn(t,e,i){const n=Fe(),{params:o}=t,l=o.edgeSwipeDetection,r=o.edgeSwipeThreshold;return l&&(i<=r||i>=n.innerWidth-r)?l==="prevent"?(e.preventDefault(),!0):!1:!0}function cl(t){const e=this,i=Qe();let n=t;n.originalEvent&&(n=n.originalEvent);const o=e.touchEventsData;if(n.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==n.pointerId)return;o.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(o.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){rn(e,n,n.targetTouches[0].pageX);return}const{params:l,touches:r,enabled:s}=e;if(!s||!l.simulateTouch&&n.pointerType==="mouse"||e.animating&&l.preventInteractionOnTransition)return;!e.animating&&l.cssMode&&l.loop&&e.loopFix();let a=n.target;if(l.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in n&&n.which===3||"button"in n&&n.button>0||o.isTouched&&o.isMoved)return;const c=!!l.noSwipingClass&&l.noSwipingClass!=="",d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(a=d[0]);const p=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,g=!!(n.target&&n.target.shadowRoot);if(l.noSwiping&&(g?dl(p,a):a.closest(p))){e.allowClick=!0;return}if(l.swipeHandler&&!a.closest(l.swipeHandler))return;r.currentX=n.pageX,r.currentY=n.pageY;const y=r.currentX,b=r.currentY;if(!rn(e,n,y))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=y,r.startY=b,o.touchStartTime=Xe(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);let T=!0;a.matches(o.focusableElements)&&(T=!1,a.nodeName==="SELECT"&&(o.isTouched=!1)),i.activeElement&&i.activeElement.matches(o.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const E=T&&e.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||E)&&!a.isContentEditable&&n.preventDefault(),l.freeMode&&l.freeMode.enabled&&e.freeMode&&e.animating&&!l.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function ul(t){const e=Qe(),i=this,n=i.touchEventsData,{params:o,touches:l,rtlTranslate:r,enabled:s}=i;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(n.touchId!==null||a.pointerId!==n.pointerId))return;let c;if(a.type==="touchmove"){if(c=[...a.changedTouches].filter(v=>v.identifier===n.touchId)[0],!c||c.identifier!==n.touchId)return}else c=a;if(!n.isTouched){n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=c.pageX,p=c.pageY;if(a.preventedByNestedSwiper){l.startX=d,l.startY=p;return}if(!i.allowTouchMove){a.target.matches(n.focusableElements)||(i.allowClick=!1),n.isTouched&&(Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p}),n.touchStartTime=Xe());return}if(o.touchReleaseOnEdges&&!o.loop){if(i.isVertical()){if(p<l.startY&&i.translate<=i.maxTranslate()||p>l.startY&&i.translate>=i.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(d<l.startX&&i.translate<=i.maxTranslate()||d>l.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(n.focusableElements)){n.isMoved=!0,i.allowClick=!1;return}n.allowTouchCallbacks&&i.emit("touchMove",a),l.previousX=l.currentX,l.previousY=l.currentY,l.currentX=d,l.currentY=p;const g=l.currentX-l.startX,y=l.currentY-l.startY;if(i.params.threshold&&Math.sqrt(g**2+y**2)<i.params.threshold)return;if(typeof n.isScrolling>"u"){let v;i.isHorizontal()&&l.currentY===l.startY||i.isVertical()&&l.currentX===l.startX?n.isScrolling=!1:g*g+y*y>=25&&(v=Math.atan2(Math.abs(y),Math.abs(g))*180/Math.PI,n.isScrolling=i.isHorizontal()?v>o.touchAngle:90-v>o.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(n.startMoving=!0),n.isScrolling||a.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;i.allowClick=!1,!o.cssMode&&a.cancelable&&a.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&a.stopPropagation();let b=i.isHorizontal()?g:y,T=i.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;o.oneWayMovement&&(b=Math.abs(b)*(r?1:-1),T=Math.abs(T)*(r?1:-1)),l.diff=b,b*=o.touchRatio,r&&(b=-b,T=-T);const E=i.touchesDirection;i.swipeDirection=b>0?"prev":"next",i.touchesDirection=T>0?"prev":"next";const u=i.params.loop&&!o.cssMode,h=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!n.isMoved){if(u&&h&&i.loopFix({direction:i.swipeDirection}),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const v=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});i.wrapperEl.dispatchEvent(v)}n.allowMomentumBounce=!1,o.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let m;if(new Date().getTime(),n.isMoved&&n.allowThresholdMove&&E!==i.touchesDirection&&u&&h&&Math.abs(b)>=1){Object.assign(l,{startX:d,startY:p,currentX:d,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}i.emit("sliderMove",a),n.isMoved=!0,n.currentTranslate=b+n.startTranslate;let I=!0,k=o.resistanceRatio;if(o.touchReleaseOnEdges&&(k=0),b>0?(u&&h&&!m&&n.allowThresholdMove&&n.currentTranslate>(o.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>i.minTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+b)**k))):b<0&&(u&&h&&!m&&n.allowThresholdMove&&n.currentTranslate<(o.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(o.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),n.currentTranslate<i.maxTranslate()&&(I=!1,o.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-b)**k))),I&&(a.preventedByNestedSwiper=!0),!i.allowSlideNext&&i.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&i.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(n.currentTranslate=n.startTranslate),o.threshold>0)if(Math.abs(b)>o.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,n.currentTranslate=n.startTranslate,l.diff=i.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{n.currentTranslate=n.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&i.freeMode||o.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function pl(t){const e=this,i=e.touchEventsData;let n=t;n.originalEvent&&(n=n.originalEvent);let o;if(n.type==="touchend"||n.type==="touchcancel"){if(o=[...n.changedTouches].filter(k=>k.identifier===i.touchId)[0],!o||o.identifier!==i.touchId)return}else{if(i.touchId!==null||n.pointerId!==i.pointerId)return;o=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:r,touches:s,rtlTranslate:a,slidesGrid:c,enabled:d}=e;if(!d||!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 p=Xe(),g=p-i.touchStartTime;if(e.allowClick){const k=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(k&&k[0]||n.target,k),e.emit("tap click",n),g<300&&p-i.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(i.lastClickTime=Xe(),yt(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||s.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let y;if(r.followFinger?y=a?e.translate:-e.translate:y=-i.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:y});return}const b=y>=-e.maxTranslate()&&!e.params.loop;let T=0,E=e.slidesSizesGrid[0];for(let k=0;k<c.length;k+=k<r.slidesPerGroupSkip?1:r.slidesPerGroup){const v=k<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;typeof c[k+v]<"u"?(b||y>=c[k]&&y<c[k+v])&&(T=k,E=c[k+v]-c[k]):(b||y>=c[k])&&(T=k,E=c[c.length-1]-c[c.length-2])}let u=null,h=null;r.rewind&&(e.isBeginning?h=r.virtual&&r.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(u=0));const m=(y-c[T])/E,I=T<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(g>r.longSwipesMs){if(!r.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=r.longSwipesRatio?e.slideTo(r.rewind&&e.isEnd?u:T+I):e.slideTo(T)),e.swipeDirection==="prev"&&(m>1-r.longSwipesRatio?e.slideTo(T+I):h!==null&&m<0&&Math.abs(m)>r.longSwipesRatio?e.slideTo(h):e.slideTo(T))}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(T+I):e.slideTo(T):(e.swipeDirection==="next"&&e.slideTo(u!==null?u:T+I),e.swipeDirection==="prev"&&e.slideTo(h!==null?h:T))}}function dn(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:o,snapGrid:l}=t,r=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=r&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!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=o,t.allowSlideNext=n,t.params.watchOverflow&&l!==t.snapGrid&&t.checkOverflow()}function vl(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function fl(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:n}=t;if(!n)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const l=t.maxTranslate()-t.minTranslate();l===0?o=0:o=(t.translate-t.minTranslate())/l,o!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ml(t){const e=this;Ut(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function hl(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const cn=(t,e)=>{const i=Qe(),{params:n,el:o,wrapperEl:l,device:r}=t,s=!!n.nested,a=e==="on"?"addEventListener":"removeEventListener",c=e;!o||typeof o=="string"||(i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[a]("touchstart",t.onTouchStart,{passive:!1}),o[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:s}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:s}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&o[a]("click",t.onClick,!0),n.cssMode&&l[a]("scroll",t.onScroll),n.updateOnWindowResize?t[c](r.ios||r.android?"resize orientationchange observerUpdate":"resize observerUpdate",dn,!0):t[c]("observerUpdate",dn,!0),o[a]("load",t.onLoad,{capture:!0}))};function gl(){const t=this,{params:e}=t;t.onTouchStart=cl.bind(t),t.onTouchMove=ul.bind(t),t.onTouchEnd=pl.bind(t),t.onDocumentTouchStart=hl.bind(t),e.cssMode&&(t.onScroll=fl.bind(t)),t.onClick=vl.bind(t),t.onLoad=ml.bind(t),cn(t,"on")}function bl(){cn(this,"off")}var yl={attachEvents:gl,detachEvents:bl};const un=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function wl(){const t=this,{realIndex:e,initialized:i,params:n,el:o}=t,l=n.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const r=t.getBreakpoint(l,t.params.breakpointsBase,t.el);if(!r||t.currentBreakpoint===r)return;const a=(r in l?l[r]:void 0)||t.originalParams,c=un(t,n),d=un(t,a),p=t.params.grabCursor,g=a.grabCursor,y=n.enabled;c&&!d?(o.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),t.emitContainerClasses()):!c&&d&&(o.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&n.grid.fill==="column")&&o.classList.add(`${n.containerModifierClass}grid-column`),t.emitContainerClasses()),p&&!g?t.unsetGrabCursor():!p&&g&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(m=>{if(typeof a[m]>"u")return;const I=n[m]&&n[m].enabled,k=a[m]&&a[m].enabled;I&&!k&&t[m].disable(),!I&&k&&t[m].enable()});const b=a.direction&&a.direction!==n.direction,T=n.loop&&(a.slidesPerView!==n.slidesPerView||b),E=n.loop;b&&i&&t.changeDirection(),Ge(t.params,a);const u=t.params.enabled,h=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!u?t.disable():!y&&u&&t.enable(),t.currentBreakpoint=r,t.emit("_beforeBreakpoint",a),i&&(T?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!E&&h?(t.loopCreate(e),t.updateSlides()):E&&!h&&t.loopDestroy()),t.emit("breakpoint",a)}function Sl(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let n=!1;const o=Fe(),l=e==="window"?o.innerHeight:i.clientHeight,r=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const a=parseFloat(s.substr(1));return{value:l*a,point:s}}return{value:s,point:s}});r.sort((s,a)=>parseInt(s.value,10)-parseInt(a.value,10));for(let s=0;s<r.length;s+=1){const{point:a,value:c}=r[s];e==="window"?o.matchMedia(`(min-width: ${c}px)`).matches&&(n=a):c<=i.clientWidth&&(n=a)}return n||"max"}var Tl={setBreakpoint:wl,getBreakpoint:Sl};function xl(t,e){const i=[];return t.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(o=>{n[o]&&i.push(e+o)}):typeof n=="string"&&i.push(e+n)}),i}function El(){const t=this,{classNames:e,params:i,rtl:n,el:o,device:l}=t,r=xl(["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),o.classList.add(...e),t.emitContainerClasses()}function Il(){const t=this,{el:e,classNames:i}=t;!e||typeof e=="string"||(e.classList.remove(...i),t.emitContainerClasses())}var Cl={addClasses:El,removeClasses:Il};function _l(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:n}=i;if(n){const o=t.slides.length-1,l=t.slidesGrid[o]+t.slidesSizesGrid[o]+n*2;t.isLocked=t.size>l}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var kl={checkOverflow:_l},hi={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 Dl(t,e){return function(n){n===void 0&&(n={});const o=Object.keys(n)[0],l=n[o];if(typeof l!="object"||l===null){Ge(e,n);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in l)){Ge(e,n);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Ge(e,n)}}const gi={eventsEmitter:Co,update:Bo,translate:Uo,transition:Yo,slide:tl,loop:ll,grabCursor:rl,events:yl,breakpoints:Tl,checkOverflow:kl,classes:Cl},bi={};let yi=class at{constructor(){let e,i;for(var n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?i=o[0]:[e,i]=o,i||(i={}),i=Ge({},i),e&&!i.el&&(i.el=e);const r=Qe();if(i.el&&typeof i.el=="string"&&r.querySelectorAll(i.el).length>1){const d=[];return r.querySelectorAll(i.el).forEach(p=>{const g=Ge({},i,{el:p});d.push(new at(g))}),d}const s=this;s.__swiper__=!0,s.support=on(),s.device=ln({userAgent:i.userAgent}),s.browser=xo(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],i.modules&&Array.isArray(i.modules)&&s.modules.push(...i.modules);const a={};s.modules.forEach(d=>{d({params:i,swiper:s,extendParams:Dl(i,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const c=Ge({},hi,a);return s.params=Ge({},c,bi,i),s.originalParams=Ge({},s.params),s.passedParams=Ge({},i),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:n}=this,o=tt(i,`.${n.slideClass}, swiper-slide`),l=Vt(o[0]);return Vt(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=tt(i,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const n=this;e=Math.min(Math.max(e,0),1);const o=n.minTranslate(),r=(n.maxTranslate()-o)*e+o;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 o=e.getSlideClasses(n);i.push({slideEl:n,classNames:o}),e.emit("_slideClass",n,o)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const n=this,{params:o,slides:l,slidesGrid:r,slidesSizesGrid:s,size:a,activeIndex:c}=n;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let p=l[c]?Math.ceil(l[c].swiperSlideSize):0,g;for(let y=c+1;y<l.length;y+=1)l[y]&&!g&&(p+=Math.ceil(l[y].swiperSlideSize),d+=1,p>a&&(g=!0));for(let y=c-1;y>=0;y-=1)l[y]&&!g&&(p+=l[y].swiperSlideSize,d+=1,p>a&&(g=!0))}else if(e==="current")for(let p=c+1;p<l.length;p+=1)(i?r[p]+s[p]-r[c]<a:r[p]-r[c]<a)&&(d+=1);else for(let p=c-1;p>=0;p-=1)r[c]-r[p]<a&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:i,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(r=>{r.complete&&Ut(e,r)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const r=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(r,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let l;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)o(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const 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||o()}n.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const n=this,o=n.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${o}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(l=>{e==="vertical"?l.style.width="":l.style.height=""}),n.emit("changeDirection"),i&&n.update()),n}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let n=e||i.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=i,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const o=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(o()):tt(n,o())[0];return!r&&i.params.createElements&&(r=Ct("div",i.params.wrapperClass),n.append(r),tt(n,`.${i.params.slideClass}`).forEach(s=>{r.append(s)})),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"||ut(n,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ut(n,"direction")==="rtl"),wrongRTL:ut(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 o=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&o.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(l=>{l.complete?Ut(i,l):l.addEventListener("load",r=>{Ut(i,r.target)})}),mi(i),i.initialized=!0,mi(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const n=this,{params:o,el:l,wrapperEl:r,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),o.loop&&n.loopDestroy(),i&&(n.removeClasses(),l&&typeof l!="string"&&l.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(a=>{a.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),co(n)),n.destroyed=!0),null}static extendDefaults(e){Ge(bi,e)}static get extendedDefaults(){return bi}static get defaults(){return hi}static installModule(e){at.prototype.__modules__||(at.prototype.__modules__=[]);const i=at.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>at.installModule(i)),at):(at.installModule(e),at)}};Object.keys(gi).forEach(t=>{Object.keys(gi[t]).forEach(e=>{yi.prototype[e]=gi[t][e]})}),yi.use([Eo,Io]);const pn=["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 gt(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function St(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>i.indexOf(n)<0).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:gt(e[n])&&gt(t[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?t[n]=e[n]:St(t[n],e[n]):t[n]=e[n]})}function vn(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function fn(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function mn(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function hn(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 Al(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function Pl(t){let{swiper:e,slides:i,passedParams:n,changedParams:o,nextEl:l,prevEl:r,scrollbarEl:s,paginationEl:a}=t;const c=o.filter(S=>S!=="children"&&S!=="direction"&&S!=="wrapperClass"),{params:d,pagination:p,navigation:g,scrollbar:y,virtual:b,thumbs:T}=e;let E,u,h,m,I,k,v,A;o.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(E=!0),o.includes("controller")&&n.controller&&n.controller.control&&d.controller&&!d.controller.control&&(u=!0),o.includes("pagination")&&n.pagination&&(n.pagination.el||a)&&(d.pagination||d.pagination===!1)&&p&&!p.el&&(h=!0),o.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&y&&!y.el&&(m=!0),o.includes("navigation")&&n.navigation&&(n.navigation.prevEl||r)&&(n.navigation.nextEl||l)&&(d.navigation||d.navigation===!1)&&g&&!g.prevEl&&!g.nextEl&&(I=!0);const _=S=>{e[S]&&(e[S].destroy(),S==="navigation"?(e.isElement&&(e[S].prevEl.remove(),e[S].nextEl.remove()),d[S].prevEl=void 0,d[S].nextEl=void 0,e[S].prevEl=void 0,e[S].nextEl=void 0):(e.isElement&&e[S].el.remove(),d[S].el=void 0,e[S].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!n.loop?k=!0:!d.loop&&n.loop?v=!0:A=!0),c.forEach(S=>{if(gt(d[S])&&gt(n[S]))Object.assign(d[S],n[S]),(S==="navigation"||S==="pagination"||S==="scrollbar")&&"enabled"in n[S]&&!n[S].enabled&&_(S);else{const w=n[S];(w===!0||w===!1)&&(S==="navigation"||S==="pagination"||S==="scrollbar")?w===!1&&_(S):d[S]=n[S]}}),c.includes("controller")&&!u&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&i&&b&&d.virtual.enabled?(b.slides=i,b.update(!0)):o.includes("virtual")&&b&&d.virtual.enabled&&(i&&(b.slides=i),b.update(!0)),o.includes("children")&&i&&d.loop&&(A=!0),E&&T.init()&&T.update(!0),u&&(e.controller.control=d.controller.control),h&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),p.init(),p.render(),p.update()),m&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),y.init(),y.updateSize(),y.setTranslate()),I&&(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&&(d.navigation.nextEl=l),r&&(d.navigation.prevEl=r),g.init(),g.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),o.includes("direction")&&e.changeDirection(n.direction,!1),(k||A)&&e.loopDestroy(),(v||A)&&e.loopCreate(),e.update()}function Ol(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},n={},o={};St(i,hi),i._emitClasses=!0,i.init=!1;const l={},r=pn.map(a=>a.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(a=>{typeof t[a]>"u"||(r.indexOf(a)>=0?gt(t[a])?(i[a]={},o[a]={},St(i[a],t[a]),St(o[a],t[a])):(i[a]=t[a],o[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?n[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:l[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:o,rest:l,events:n}}function Ml(t,e){let{el:i,nextEl:n,prevEl:o,paginationEl:l,scrollbarEl:r,swiper:s}=t;vn(e)&&n&&o&&(s.params.navigation.nextEl=n,s.originalParams.navigation.nextEl=n,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),fn(e)&&l&&(s.params.pagination.el=l,s.originalParams.pagination.el=l),mn(e)&&r&&(s.params.scrollbar.el=r,s.originalParams.scrollbar.el=r),s.init(i)}function Ll(t,e,i,n,o){const l=[];if(!e)return l;const r=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(o),c=i.map(o);a.join("")!==c.join("")&&r("children"),n.length!==i.length&&r("children")}return pn.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(gt(t[a])&&gt(e[a])){const c=Object.keys(t[a]),d=Object.keys(e[a]);c.length!==d.length?r(a):(c.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}),d.forEach(p=>{t[a][p]!==e[a][p]&&r(a)}))}else t[a]!==e[a]&&r(a)}),l}const jl=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 Gt(){return Gt=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},Gt.apply(this,arguments)}function gn(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function bn(t){const e=[];return f.Children.toArray(t).forEach(i=>{gn(i)?e.push(i):i.props&&i.props.children&&bn(i.props.children).forEach(n=>e.push(n))}),e}function Nl(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return f.Children.toArray(t).forEach(n=>{if(gn(n))e.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const o=bn(n.props.children);o.length>0?o.forEach(l=>e.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:e,slots:i}}function Bl(t,e,i){if(!i)return null;const n=d=>{let p=d;return d<0?p=e.length+d:p>=e.length&&(p=p-e.length),p},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:r}=i,s=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,c=[];for(let d=s;d<a;d+=1)d>=l&&d<=r&&c.push(e[n(d)]);return c.map((d,p)=>f.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${p}`}))}function _t(t,e){return typeof window>"u"?te(t,e):Nn(t,e)}const wi=It(null),yn=()=>Et(wi),zl=It(null),bt=Mt(function(t,e){let{className:i,tag:n="div",wrapperTag:o="div",children:l,onSwiper:r,...s}=t===void 0?{}:t,a=!1;const[c,d]=G("swiper"),[p,g]=G(null),[y,b]=G(!1),T=Q(!1),E=Q(null),u=Q(null),h=Q(null),m=Q(null),I=Q(null),k=Q(null),v=Q(null),A=Q(null),{params:_,passedParams:S,rest:w,events:D}=Ol(s),{slides:x,slots:C}=Nl(l),O=()=>{b(!y)};Object.assign(_.on,{_containerClasses(B,j){d(j)}});const N=()=>{Object.assign(_.on,D),a=!0;const B={..._};if(delete B.wrapperClass,u.current=new yi(B),u.current.virtual&&u.current.params.virtual.enabled){u.current.virtual.slides=x;const j={cache:!1,slides:x,renderExternal:g,renderExternalUpdate:!1};St(u.current.params.virtual,j),St(u.current.originalParams.virtual,j)}};E.current||N(),u.current&&u.current.on("_beforeBreakpoint",O);const M=()=>{a||!D||!u.current||Object.keys(D).forEach(B=>{u.current.on(B,D[B])})},W=()=>{!D||!u.current||Object.keys(D).forEach(B=>{u.current.off(B,D[B])})};te(()=>()=>{u.current&&u.current.off("_beforeBreakpoint",O)}),te(()=>{!T.current&&u.current&&(u.current.emitSlidesClasses(),T.current=!0)}),_t(()=>{if(e&&(e.current=E.current),!!E.current)return u.current.destroyed&&N(),Ml({el:E.current,nextEl:I.current,prevEl:k.current,paginationEl:v.current,scrollbarEl:A.current,swiper:u.current},_),r&&!u.current.destroyed&&r(u.current),()=>{u.current&&!u.current.destroyed&&u.current.destroy(!0,!1)}},[]),_t(()=>{M();const B=Ll(S,h.current,x,m.current,j=>j.key);return h.current=S,m.current=x,B.length&&u.current&&!u.current.destroyed&&Pl({swiper:u.current,slides:x,passedParams:S,changedParams:B,nextEl:I.current,prevEl:k.current,scrollbarEl:A.current,paginationEl:v.current}),()=>{W()}}),_t(()=>{jl(u.current)},[p]);function V(){return _.virtual?Bl(u.current,x,p):x.map((B,j)=>f.cloneElement(B,{swiper:u.current,swiperSlideIndex:j}))}return f.createElement(n,Gt({ref:E,className:hn(`${c}${i?` ${i}`:""}`)},w),f.createElement(zl.Provider,{value:u.current},C["container-start"],f.createElement(o,{className:Al(_.wrapperClass)},C["wrapper-start"],V(),C["wrapper-end"]),vn(_)&&f.createElement(f.Fragment,null,f.createElement("div",{ref:k,className:"swiper-button-prev"}),f.createElement("div",{ref:I,className:"swiper-button-next"})),mn(_)&&f.createElement("div",{ref:A,className:"swiper-scrollbar"}),fn(_)&&f.createElement("div",{ref:v,className:"swiper-pagination"}),C["container-end"]))});bt.displayName="Swiper";const nt=Mt(function(t,e){let{tag:i="div",children:n,className:o="",swiper:l,zoom:r,lazy:s,virtualIndex:a,swiperSlideIndex:c,...d}=t===void 0?{}:t;const p=Q(null),[g,y]=G("swiper-slide"),[b,T]=G(!1);function E(I,k,v){k===p.current&&y(v)}_t(()=>{if(typeof c<"u"&&(p.current.swiperSlideIndex=c),e&&(e.current=p.current),!(!p.current||!l)){if(l.destroyed){g!=="swiper-slide"&&y("swiper-slide");return}return l.on("_slideClass",E),()=>{l&&l.off("_slideClass",E)}}}),_t(()=>{l&&p.current&&!l.destroyed&&y(l.getSlideClasses(p.current))},[l]);const u={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},h=()=>typeof n=="function"?n(u):n,m=()=>{T(!0)};return f.createElement(i,Gt({ref:p,className:hn(`${g}${o?` ${o}`:""}`),"data-swiper-slide-index":a,onLoad:m},d),r&&f.createElement(wi.Provider,{value:u},f.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof r=="number"?r:void 0},h(),s&&!b&&f.createElement("div",{className:"swiper-lazy-preloader"}))),!r&&f.createElement(wi.Provider,{value:u},h(),s&&!b&&f.createElement("div",{className:"swiper-lazy-preloader"})))});nt.displayName="SwiperSlide";const Fl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAjhJREFUWEfFlztOw0AQhmeWiJ4CCmpQ5DiRQsIJyAWg5A0lR0AIChDiCJS8ER0cADgBeRSxt4CCDgkaKiq8i+zYeWx2413HEWmiJJv9v535Z2aN8M8vFPT9z3zETD0aAUChUJjwvPFHAJhBhB3Hqd6OAsK2yyucwykAvP38eJX398Z3AJDLlVYR8ToU9Rhj25TWr9KEsKy5dULIGQCMtfZly45TvwsAstm56UwG6wA4FUFwzrdctxZBDcWSy5XWEPG8I84/GcMipdWPtgcsaz5PCHtKG0IuTiqUvjT9U/WYMG2IOPE+AP+LtCB0xKUAAyA2Xbd2o2OG0NQXvTnvhL17D7EPtH9TRCIWwkRcGYGIQgYBABuqPuHXOQBc6pw80lBGwBQiiXhsBHQhkoprA6iM6acjhDQKu5YJZW6XeOI3XJdpvfsdTu52VfXEekD8owQiXGIubpSCbhDbLu8DwKEAd+A41SOdPpE4BS0viFOtvV2iKWqUgn5x/tmS70xR01GuDSCKc86/OCcLgTyyZ0ScDGNhFAktAJV4NFJ9YyaFiAWIE+9uVkkgBgLoig8DMWAa9ro9ynkUdlW5maZDCmB6clmz0k1HH4Cs1Ezbq2p2yEpUuBOKTSZZex00RUWIrltxuuK6EOGDSbGIOPZicpMx6fny650377qNRgBgWeVFQuA+6UjVgREhGIMlSqsPUQqIbZdOOIdZQmCv2axRnU1N1+TzJYsxOEaEV8ep7frPZ7Gd0FTEdP0ft0/kMNdg0eoAAAAASUVORK5CYII=",Vl=({visible:t,onClose:e,children:i,modalStyle:n,padding:o,popup:l})=>{var r;const[s,a]=G(!1),c=Q(null);te(()=>{const g=document.getElementById("sxp-render"),y=document.getElementById("pb-modal");y?c.current=y:(c.current=document.createElement("div"),c.current.setAttribute("id","pb-modal"),g?.appendChild(c.current))},[]);const d=ee(()=>l?.id&&l?.id!==""||t,[t,l]);if(te(()=>{d?a(!0):setTimeout(()=>{a(!1)},l?.duration)},[d,l]),!c.current)return null;const p=Xt(()=>{e?.()},300);return ji.createPortal(f.createElement(f.Fragment,null,s&&f.createElement("div",{className:"modal-bg",style:Object.assign({display:"flex",backgroundColor:d?"rgba(0, 0, 0, 0.7)":"rgba(0, 0, 0, 0)"},n),onClick:p},f.createElement("div",{className:`modal-container ${d?"modal-popIn":"modal-popOut"}`,style:{padding:o,animationDuration:((r=l?.duration)!==null&&r!==void 0?r:0)/1e3+"s"},onClick:g=>{g.stopPropagation(),g.preventDefault()}},f.createElement("div",{onClick:e,className:"modal-icon-wrapper"},f.createElement("img",{src:Fl,alt:"close",className:"modal-icon"})),i))),c.current)};var $t=fe(Vl);const Rl=(t="",e)=>{if(/[\u4e00-\u9fa5]+/.test(t))return t.slice(0,54);const n=t.split(" "),o=[];for(let r=0;r<n.length&&(o.push(n[r]),!(o.join(" ").length>=e));r++);return(o.length>1&&o.length<n.length?o.slice(0,o.length-1):o).join(" ")+" "},Hl=({text:t,maxStr:e=108,style:i,className:n,onClick:o,foldText:l,unfoldText:r,isPost:s,onChange:a})=>{const[c,d]=G(!1),[p,g]=G(!1),y=Number(i?.lineClamp||2),b=Q(null),T=Q(null),E=ae(()=>{d(!c)},[c,a]);return ee(()=>!c&&t.length>e?Rl(t,e)+"...":t,[t,e,c]),te(()=>{var u,h;((u=T?.current)===null||u===void 0?void 0:u.offsetHeight)>((h=b?.current)===null||h===void 0?void 0:h.offsetHeight)&&s?g(!0):g(!1),T.current.style.display="none"},[s]),f.createElement("div",{className:n,style:Object.assign(Object.assign({},i),{transform:"translate3d(0px, 0px, 0px)"}),hidden:!t||t===""},f.createElement("div",{ref:b,style:{overflow:"hidden",WebkitLineClamp:!s||c?"":y,textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",wordBreak:"break-word"},dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),f.createElement("div",{ref:T,dangerouslySetInnerHTML:{__html:t?.replace(/\n/g,"</br>")}}),t&&s&&p&&f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer"},onClick:o??E},c?r||"show less":l||"show more"))};var Wt=fe(Hl);const Ul=Mt((t,e)=>{const{src:i,onLoad:n,style:o,className:l,loading:r}=t,[s,a]=G();return Li(e,()=>({setSrc:c=>{a(c)}})),te(()=>{a(i)},[i]),Q(null),f.createElement(f.Fragment,null,s?.includes(".avif")?f.createElement("picture",null,f.createElement("source",{type:"image/avif",srcSet:s}),f.createElement("source",{type:"image/webp",srcSet:`${s}?imageMogr2/format/webp`}),f.createElement("source",{type:"image/jpeg",srcSet:`${s}?imageMogr2/format/jpg`}),f.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)},alt:"image"})):f.createElement("img",{className:l,src:s,style:o,loading:r,onLoad:c=>{n?.(c.target)},alt:"image"}))});var Ze=fe(Ul);const Gl=t=>{var e,i,n,o,l,r,s,a,c,{content:d,style:p,bgImg:g,onClick:y,schema:b,isDefault:T,bottom_image:E,tipText:u,isPost:h,viewTime:m,rec:I,swiper:k,commodityStyles:v,buttonStyle:A,index:_}=t,S=Le(t,["content","style","bgImg","onClick","schema","isDefault","bottom_image","tipText","isPost","viewTime","rec","swiper","commodityStyles","buttonStyle","index"]);const{sxpParameter:w}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:C,bffFbReport:O}=Se(),{jumpToWeb:N,productView:M}=Ve(),W=Q(null),[V,B]=G(!1),j=h?I:D,L=h?j?.product:(e=j?.video)===null||e===void 0?void 0:e.bindProduct,F=h?(i=j?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=j?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,z=h?_:D?.index,R=()=>{L?.link&&(N(j,L,F,z),h||M(j,L,F,m||W.current,z),window.location.href=window.getJointUtmLink(L.link))};te(()=>{h||O?.({eventName:"ProductView"})},[h,O]),te(()=>{const K=()=>{W.current=new Date};return K(),window.addEventListener("pageshow",K),()=>{window.removeEventListener("pageshow",K)}},[]);const H=ee(()=>{var K,J,Y,Z,Ie;return L?.currency&&L?.price?`${(Y=(J=(K=L?.currency)===null||K===void 0?void 0:K.split("-")[1])===null||J===void 0?void 0:J.toUpperCase())!==null&&Y!==void 0?Y:""}${(Ie=(Z=L?.price)===null||Z===void 0?void 0:Z.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Ie!==void 0?Ie:""}`:"$7,000"},[L?.price,L?.currency]),oe=C?375:(l=p?.width)!==null&&l!==void 0?l:window.innerWidth,ge=({isPost:K})=>{var J,Y,Z;return f.createElement("div",null,f.createElement("div",{className:"pb-commondity-content-collection",style:q(v?.collection),hidden:!!L&&(!L?.collection||L?.collection==="")},(J=L?.collection)!==null&&J!==void 0?J:"Tiffany Lock"),f.createElement("div",{className:"pb-commondity-content-title",style:q(v?.title),hidden:!!L&&!L?.title},(Y=L?.title)!==null&&Y!==void 0?Y:"Pendant in Yellow Gold with Diamonds, Medium"),f.createElement("div",{className:"pb-commondity-content-price",style:q(v?.price),hidden:!!L&&!L?.price},H),f.createElement("div",{hidden:!!L&&(!L?.info||L?.info==="")},f.createElement(Wt,{foldText:u?.foldText,unfoldText:u?.unfoldText,onClick:()=>B(!0),isPost:K,text:(Z=L?.info)!==null&&Z!==void 0?Z:`The design inspiration of Tiffany Lock series comes from the power of connection and inclusiveness, and the
2
2
  bold and avant-garde visual design interprets the emotional bond connecting my heart. The Tiffany Lock
3
3
  collection is unisex and is inspired by the padlock pattern found in the Tiffany Antique Collection. This
4
4
  necklace features a stylish and eye-catching oval clasp chain decorated with a lock pattern. Crafted from
5
- 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:v?.info})))},pe=()=>{var K,J;return f.createElement(f.Fragment,null,(T||L?.link)&&f.createElement("button",{"aria-label":(K=F?.enTitle)!==null&&K!==void 0?K:"Purchase on Website",onClick:R,className:"pb-commondity-btn",style:A},(J=F?.enTitle)!==null&&J!==void 0?J:"Purchase on Website"))},q=ae(K=>K?.lineClamp?Object.assign(Object.assign({},K),{overflow:"hidden",WebkitLineClamp:K?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):K,[]);return f.createElement("div",{className:"pb-commondity"},f.createElement("div",Object.assign({className:he(Object.assign({},p))},S),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&f.createElement(bt,{height:oe,modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(K=>f.createElement(nt,{key:K},f.createElement("div",{style:{overflow:"hidden",width:oe,height:oe}},f.createElement(Ze,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:K}))))),!(!((a=L?.homePage)===null||a===void 0)&&a.length)&&f.createElement("div",{className:he({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:he({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:E,alt:"pdp image"})),f.createElement("div",{className:"pb-commondity-content"},fe({isPost:h}))),pe(),f.createElement($t,{visible:V,onClose:()=>B(!1)},f.createElement("div",{style:{paddingBottom:"80px"}},fe({isPost:!1})),pe()))};var Wl=me($l);const Yl=Re(Wl,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:ro},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var ql=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Si,Ti,Xl=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ue?.fontOptions,initialValue:(Ti=(Si=Ue?.fontOptions)===null||Si===void 0?void 0:Si[0])===null||Ti===void 0?void 0:Ti.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],Sn="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 Jl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Kl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Le(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=Se(),{jumpToWeb:g}=Ve(),y=typeof o=="string"?o:Jl(o),b=()=>{var T,E,u;if(r){const h=p,m=(T=h?.video)===null||T===void 0?void 0:T.bindProduct,I=(u=(E=h?.video)===null||E===void 0?void 0:E.bindProduct)===null||u===void 0?void 0:u.bindCta,k=p?.index;g(h,m,I,k)}l||s?.(),a?.()};return f.createElement("div",Object.assign({className:`pb-prompt ${he(Object.assign({},n))}`},d),f.createElement("div",{className:"pb-prompt-icon"},f.createElement("img",{width:"100%",src:y??Sn,alt:"success image"})),f.createElement("div",{className:"pb-prompt-content"},e),f.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:c,onClick:b},i))};var Ql=me(Kl);const Zl=Re(Ql,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:Xl,bindableProps:[],interactionRender:ql},defaulSetting:{props:{icon:Sn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var xi,Ei,es=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(xi=ge?.[0])===null||xi===void 0?void 0:xi.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ge,initialValue:(Ei=ge?.[0])===null||Ei===void 0?void 0:Ei.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const ts=t=>{var e,i,n,o,l,r,s,a,c,d,p,g,y,{style:b,isDefault:T,rec:E,viewTime:u,isPost:h,bottom_image:m,tipText:I,swiper:k,commodityStyles:v,buttonStyle:A,index:_}=t,S=Le(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);G(!0);const{sxpParameter:w}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:C,swiperRef:O,bffFbReport:N}=Se(),{jumpToWeb:M,productView:W}=Ve(),V=Q(null);Q(null),Q(null),G(!1),G(!1),G(!0);const[B,j]=G(!1),L=Q(null),F=h?E:D,z=h?F?.product:(e=F?.video)===null||e===void 0?void 0:e.bindProduct,R=h?(i=F?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=F?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,H=h?_:D?.index,oe=()=>{z?.link&&(M(F,z,R,H),h||W(F,z,R,u||L.current,H),window.location.href=window.getJointUtmLink(z.link))};te(()=>{h||N?.({eventName:"ProductView"})},[h,N]),te(()=>{const J=()=>{L.current=new Date};return J(),window.addEventListener("pageshow",J),()=>{window.removeEventListener("pageshow",J)}},[]);const fe=ee(()=>{var J,Y,Z,Ie,Pe;return z?.currency&&z?.price?`${(Z=(Y=(J=z?.currency)===null||J===void 0?void 0:J.split("-")[1])===null||Y===void 0?void 0:Y.toUpperCase())!==null&&Z!==void 0?Z:""}${(Pe=(Ie=z?.price)===null||Ie===void 0?void 0:Ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Pe!==void 0?Pe:""}`:"\xA3102,300.00"},[z?.price,z?.currency]),pe=C?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,q=({isPost:J})=>f.createElement("div",{hidden:!!z&&(!z?.info||z?.info==="")},f.createElement(Wt,{isPost:J,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:v?.info,foldText:I?.foldText,unfoldText:I?.unfoldText,text:z?.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`})),K=ae(J=>J?.lineClamp?Object.assign(Object.assign({},J),{overflow:"hidden",WebkitLineClamp:J?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):J,[]);return f.createElement("div",{className:"pb-commondityDiroNew"},f.createElement("div",Object.assign({ref:V,className:he(Object.assign({},b))},S),z&&((r=z?.homePage)===null||r===void 0?void 0:r.length)>0&&f.createElement(bt,{height:pe,modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=z?.homePage)===null||s===void 0?void 0:s.map(J=>f.createElement(nt,{key:J},f.createElement("div",{style:{overflow:"hidden",width:pe,height:pe}},f.createElement(Ze,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:J}))))),!(!((a=z?.homePage)===null||a===void 0)&&a.length)&&f.createElement("div",{className:he({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:he({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:m,alt:"pdp image"})),f.createElement("div",{className:"pb-commondityDiroNew-content"},f.createElement("div",{className:"pb-commondityDiroNew-content-top"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:K(v?.title)},(d=z?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),f.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!z&&(!z?.collection||z?.collection===""),style:K(v?.collection)},z?.collection||"Black Macrocannage CalfskinLarge")),f.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.price,style:K(v?.price)},fe),f.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.taxInfo,style:K(v?.taxInfo)},(p=z?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!z||z?.link)&&f.createElement("button",{"aria-label":(g=R?.enTitle)!==null&&g!==void 0?g:"Shop now",onClick:oe,className:"pb-commondityDiroNew-btn",style:A},(y=R?.enTitle)!==null&&y!==void 0?y:"Shop now"),q({isPost:h}))),f.createElement($t,{visible:B,onClose:()=>j(!1)},q({isPost:!1})))};var is=me(ts);const ns=Re(is,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:es},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var Ii,Ci,Je=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:ge,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ii=ge?.[0])===null||Ii===void 0?void 0:Ii.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:ge,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Ci=ge?.[0])===null||Ci===void 0?void 0:Ci.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],os=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ls=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Le(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Q(null),{popup:c}=lt(),{setPopupDetailData:d,ctaEvent:p}=Se(),{jumpToWeb:g}=Ve(),y=Ot(()=>{var b,T,E,u,h,m,I,k;const v=(T=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&T!==void 0?T:e?.video;if(p?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,v,s),d?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((u=(E=e?.video)===null||E===void 0?void 0:E.bindProduct)===null||u===void 0)&&u.link){const A=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(m=e?.video)===null||m===void 0?void 0:m.bindProduct;g(e,_,A,s),window.location.href=window.getJointUtmLink((k=(I=e?.video)===null||I===void 0?void 0:I.bindProduct)===null||k===void 0?void 0:k.link)}}else o?.()},c?.duration);return f.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var kt=me(ls),ss={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};function as(t){const e=Q(null),[i,n]=G(!1);return te(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),te(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const rs=({src:t,rec:e,item:i,index:n,style:o,translateY:l,imgStyle:r})=>{const s=Q(null),a=as(s),{ctaEvent:c}=Se();return te(()=>{a&&t&&s?.current&&c?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,s,e,c,i,n]),f.createElement("div",{className:he(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},r))},f.createElement("div",{ref:s,hidden:!t,className:he({width:"100%",height:"100%"})},f.createElement(Ze,{className:he(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?-l+50:50}%`},o)),src:`${t}?imrquality/rquality/40`})))};var pt=me(rs);const ds=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:he(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:he({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:ss["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:he(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var cs=me(ds);const us=Re(cs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:os,bindableProps:[],settingRender:Je},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 ps=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const vs=t=>{var e,i,n,o,l,r,{content:s,style:a,bgImg:c,recData:d,bottom_image:p,ctaTempStyles:g,isExternalLink:y,index:b}=t,T=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:E}=Se(),u=(e=d?.video)===null||e===void 0?void 0:e.bindCta,h=(n=(i=u?.icon)!==null&&i!==void 0?i:E?.bottom_image)!==null&&n!==void 0?n:p;return f.createElement(kt,Object.assign({isExternalLink:y,rec:d,className:he(Object.assign({alignItems:"center"},a)),style:{display:"flex"},index:b},T),f.createElement(pt,{src:h,rec:d,item:(l=(o=d?.video)===null||o===void 0?void 0:o.bindProduct)!==null&&l!==void 0?l:d?.video,index:b,imgStyle:g?.img}),f.createElement("div",{className:he(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},g?.ctaTitle))},(r=u?.enTitle)!==null&&r!==void 0?r:"Product Name"))};var fs=me(vs);const ms=Re(fs,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:ps,settingRender:Je?.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 hs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const gs=t=>{var e,i,n,o,l,r,s,{content:a,style:c,bgImg:d,recData:p,bottom_image:g,ctaTempStyles:y,index:b}=t,T=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:E,bffEventReport:u}=Se(),{jumpToWeb:h}=Ve(),m=(e=p?.video)===null||e===void 0?void 0:e.bindCta,I=(i=p?.video)===null||i===void 0?void 0:i.bindProduct,k=()=>{m?.link&&(h(p,I,m,b),window.location.href=window.getJointUtmLink(m.link))},v=(o=(n=m?.icon)!==null&&n!==void 0?n:E?.bottom_image)!==null&&o!==void 0?o:g;return f.createElement(kt,Object.assign({index:b,rec:p,className:he(Object.assign({alignItems:"center"},c)),style:{display:"flex"}},T,{onClick:k}),f.createElement(pt,{src:v,rec:p,item:(r=(l=p?.video)===null||l===void 0?void 0:l.bindProduct)!==null&&r!==void 0?r:p?.video,index:b,imgStyle:y?.img}),f.createElement("div",{className:he({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:hs["tow-line-ellipsis"],style:y?.ctaTitle},(s=m?.enTitle)!==null&&s!==void 0?s:"Product Name")))};var bs=me(gs);const ys=Re(bs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Je?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var ws=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ss={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ts=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:he(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:he({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Ss["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:he(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var xs=me(Ts);const Es=Re(xs,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:ws,settingRender:Je,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 Is=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Cs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const _s=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:he(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:he({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Cs["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:he(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop now")))};var ks=me(_s);const Ds=Re(ks,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Is,bindableProps:[],settingRender:Je},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 As=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const Ps=({children:t,isPadding:e=!0})=>f.createElement(bt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[wo,yo,bo],style:{padding:e?"0 12px 0 20px":0}},t);var Yt=me(Ps),Os={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Ms=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:E}=Se(),{popup:u}=lt(),{jumpToWeb:h}=Ve(),[m,I]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Ot(v=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(h(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},m?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v?.itemId,className:he(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:E?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:he({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Os["two-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:he(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now"))))}))};var Ls=me(Ms);const js=Re(Ls,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:As,bindableProps:[],settingRender:Je},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 Ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Bs={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const zs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=Se(),{ctaEvent:T,setPopupDetailData:E}=Se(),{popup:u}=lt(),[h,m]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:I}=Ve(),k=Ot(v=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),E?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(I(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},h?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v.itemId,className:he(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:b?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:he({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Bs["two-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:he(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now"))))}))};var Fs=me(zs);const Vs=Re(Fs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:Ns,settingRender:Je,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 Rs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Hs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Us=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:E}=Se(),{popup:u}=lt(),{jumpToWeb:h}=Ve(),[m,I]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Ot(v=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(h(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},m?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v?.itemId,className:he(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:E?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:he({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},f.createElement("div",{className:Hs["tow-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:he(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop now"))))}))};var Gs=me(Us);const $s=Re(Gs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Rs,bindableProps:[],settingRender:Je},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 _i,ki,Ws=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:ge,name:["fontFamily"],initialValue:(_i=ge?.[0])===null||_i===void 0?void 0:_i.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:ge,initialValue:(ki=ge?.[0])===null||ki===void 0?void 0:ki.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Ys=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=Se();return f.createElement("div",{className:"clc-sxp-nav",style:e},f.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),f.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Tn=me(Ys),qs=null,Xs="3d989325-e7d6-4a74-8a97-98febdf5b567",Js=null,Ks=null,Qs={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"},Zs=[{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}],ea="Handbags",xn={productUserId:qs,requestId:Xs,channel:Js,rtc:Ks,tag:Qs,recList:Zs,hashTag:ea};const ta=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:g,setOpenHashtag:y,sxpParameter:b}=Se(),[T,E]=G(!1);G(!1),G({height:1,width:1});const u=Q(null),h=Q(null);Q(null),Q(null);const[m,I]=G(""),k=ee(()=>{var x,C,O,N,M,W,V,B,j,L;return!((x=e?.video)===null||x===void 0)&&x.cover?(C=e?.video)===null||C===void 0?void 0:C.cover:!((N=(O=e?.video)===null||O===void 0?void 0:O.imgUrls)===null||N===void 0)&&N.length?(W=(M=e?.video)===null||M===void 0?void 0:M.imgUrls)===null||W===void 0?void 0:W[0]:!((B=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||B===void 0)&&B.length?(L=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||L===void 0?void 0:L[0]:b?.bottom_image||""},[e,b?.bottom_image]),v=ee(()=>{var x,C;return((x=e?.product)===null||x===void 0?void 0:x.title)||((C=e?.video)===null||C===void 0?void 0:C.title)||null},[e]),A=ee(()=>{var x;return i.transform?Number((x=i.transform)===null||x===void 0?void 0:x.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);ee(()=>A===void 0?!1:A<=r,[A,r]);const _=ee(()=>{var x,C,O,N,M,W,V,B,j;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((C=e?.product)===null||C===void 0)&&C.price)?`${(W=(M=(N=(O=e?.product)===null||O===void 0?void 0:O.currency)===null||N===void 0?void 0:N.split("-")[1])===null||M===void 0?void 0:M.toUpperCase())!==null&&W!==void 0?W:""}${(j=(B=(V=e?.product)===null||V===void 0?void 0:V.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:null},[e]);te(()=>{if(u.current===null||k==="")return;let x=null;T&&m?x=m:x=k,x&&u.current.setSrc(x)},[k,T,m]);const S=Q(),w=ae(x=>{setTimeout(()=>{var C;const O=(C=S?.current)===null||C===void 0?void 0:C.offsetHeight;n(O+56+d,l)},0)},[d,n,l,o,S]),D=()=>{a(),g?.(s),setTimeout(()=>{var x;(x=p?.current)===null||x===void 0||x.swiper.slideTo(l,0,!1),y?.(!1)},0)};return f.createElement("div",{ref:h,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:D},f.createElement("div",{className:"waterFallList-content-listItem-picture",ref:S},f.createElement(Ze,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:w,ref:u})),f.createElement("div",{className:"waterFallList-content-listItem-info"},f.createElement("div",{className:`waterFallList-content-listItem-info-title ${_?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},v&&v),f.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!_,style:c.price},_)))};function ia(t){var e,i,n,o,l,r,s,a,c,d,p,g,y,b,T,E,u,h,m,I,{reportTagsView:k,showBanner:v}=t,A=Le(t,["reportTagsView","showBanner"]);const{waterFallData:_,getRecommendVideos:S,hashTagSize:w,loadingImage:D,isOpenHashTag:x}=Se(),C=Q(null),[O,N]=G(0),[M,W]=G(),V=Q(null),[B,j]=G([]),L=Q(),F=[170,230,300],[z,R]=G(!1),[H,oe]=G([]),fe=Q(),pe=ae((de,we)=>Math.floor(Math.random()*(we-de+1))+de,[]),q=Q([]),[K,J]=G({width:0}),Y=ee(()=>{const de=K.width||0;return de>=1200?6:de>=768&&de<=1199?4:2},[K]),Z=ee(()=>K.width/Y-2,[Y,K]),Ie=ae(()=>{var de;const we=(de=L.current)!==null&&de!==void 0?de:[],ve=[];for(let ue=0;ue<H?.length;ue++){const He=Math.floor(ue/Y),Ae=ue%Y+1;let rt=0,et=9999999999;if(He===0)ve[ue]=ue;else{for(let We=0;We<ve.length;We++)q.current[ve[We]].top+q.current[ve[We]].height<et&&(rt=We,et=q.current[ve[We]].top+q.current[ve[We]].height);ve[rt]=ue}q.current[ue]===void 0&&(q.current[ue]={}),He===0?(Ae===1?q.current[ue].left=0:q.current[ue].left=q.current[ue-1].left+Z+4,q.current[ue].top=0):(q.current[ue].left=q.current[rt].left,q.current[ue].top=et),q.current[ue].height=q.current[ue].height||F[pe(0,2)],we[ue]={transform:`translate(${q.current[ue].left}px,${q.current[ue].top}px)`,width:`${Z}px`,height:q.current[ue].height}}return j([...we]),[...we]},[Z,Y,F,pe,H]),Pe=ae((de,we)=>{q.current[we]===void 0&&(q.current[we]={}),q.current[we].height=de,L.current=Ie()},[Ie]);te(()=>{L.current=Ie()},[Z,Y,H]),te(()=>{var de,we;if(R(!0),_&&S?.({hashTag:_?.hashTag,"itemFilter.itemId":_?.itemId,"itemFilter.itemType":_?.itemType,defaultSize:w,maxSize:w}).then(ve=>{var ue,He;W(ve),oe((He=(ue=ve?.recList)===null||ue===void 0?void 0:ue.filter(Ae=>Ae?.video!==null||Ae?.product!==null))!==null&&He!==void 0?He:[]),R(!1)}),x){const ve=xn;W(ve),oe((we=(de=ve?.recList)===null||de===void 0?void 0:de.filter(ue=>ue?.video!==null||ue?.product!==null))!==null&&we!==void 0?we:[]),R(!1)}},[_,S,w,x]);const je=ae(()=>{V.current!==null&&J({width:V.current.getBoundingClientRect().width})},[]);te(()=>{if(V.current===null)return;const de=new ResizeObserver(we=>{je()});return de.observe(V.current),()=>{de.disconnect()}},[je]),ae(()=>{R(!0),_&&S?.({hashTag:_?.hashTag,"itemFilter.itemId":_?.itemId,"itemFilter.itemType":_?.itemType}).then(de=>{var we,ve;oe(H?.concat((ve=(we=de?.recList)===null||we===void 0?void 0:we.filter(ue=>!ue?.video))!==null&&ve!==void 0?ve:[])),R(!1)})},[_,S,H]);const $e=ae(()=>{N(C.current.scrollTop)},[]);te(()=>{var de;return(de=C?.current)===null||de===void 0||de.addEventListener("scroll",$e),()=>{var we;(we=C?.current)===null||we===void 0||we.removeEventListener("scroll",$e)}},[$e,C]);const ce=()=>{var de,we;!((de=M?.tag)===null||de===void 0)&&de.link&&(k(),window.location.href=(we=M?.tag)===null||we===void 0?void 0:we.link)};return f.createElement(f.Fragment,null,z?f.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):f.createElement("div",{className:"waterFallList",ref:V},f.createElement("div",{className:"waterFallList-scroll",ref:C},v&&((e=M?.tag)===null||e===void 0?void 0:e.picture)&&f.createElement("div",{onClick:ce},f.createElement(Ze,{className:he({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=M?.tag)===null||i===void 0?void 0:i.picture})),f.createElement("div",{className:"waterFallList-info",style:(n=A?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=M?.tag)===null||o===void 0?void 0:o.info),f.createElement("div",{hidden:!(!((l=M?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=A?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:ce},((s=M?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),f.createElement("div",{className:"waterFallList-content"},H?.map((de,we)=>{var ve;return f.createElement(ta,Object.assign({key:we,index:we,rec:de,list:H,showBorder:O+((ve=C?.current)===null||ve===void 0?void 0:ve.clientHeight),style:B[we],sizeChange:Pe,unitWidth:Z,reportTagsView:k},A))}),f.createElement("div",{hidden:!(!((a=M?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((d=q?.current[((c=q?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((g=q?.current[((p=q?.current)===null||p===void 0?void 0:p.length)-1])===null||g===void 0?void 0:g.height))!==null&&y!==void 0?y:0}px)`,height:!((b=M?.tag)===null||b===void 0)&&b.link?((T=fe?.current)===null||T===void 0?void 0:T.offsetHeight)||((E=A?.buttonBgStyle)===null||E===void 0?void 0:E.height)||"100px":0}}))),f.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=M?.tag)===null||u===void 0)&&u.link),style:A?.buttonBgStyle}),f.createElement("div",{ref:fe,hidden:!(!((h=M?.tag)===null||h===void 0)&&h.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},A?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},f.createElement("button",{"aria-label":((m=M?.tag)===null||m===void 0?void 0:m.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:A?.buttonStyle,onClick:ce},((I=M?.tag)===null||I===void 0?void 0:I.linkTitle)||"Shop the collection"))))}var na="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const oa=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=Se(),[g,y]=G(!1),b=Q(null),T=Q(null),E=Q(null),u=Q(null),[h,m]=G(""),I=ee(()=>{var S,w,D,x,C,O,N,M,W,V;return!((S=e?.video)===null||S===void 0)&&S.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((x=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||x===void 0)&&x.length?(O=(C=e?.video)===null||C===void 0?void 0:C.imgUrls)===null||O===void 0?void 0:O[0]:!((M=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||M===void 0)&&M.length?(V=(W=e?.product)===null||W===void 0?void 0:W.homePage)===null||V===void 0?void 0:V[0]:p?.bottom_image||""},[e,p?.bottom_image]),k=ee(()=>{var S,w;return((S=e?.product)===null||S===void 0?void 0:S.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),v=ee(()=>{var S,w,D,x,C,O,N,M,W;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(O=(C=(x=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||x===void 0?void 0:x.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&O!==void 0?O:""}${(W=(M=(N=e?.product)===null||N===void 0?void 0:N.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&W!==void 0?W:""}`:null},[e]);te(()=>{const S=new IntersectionObserver(w=>{w.forEach(D=>{if(D.isIntersecting){if(T.current===null||I==="")return;g&&h?b.current.setSrc(h):b.current.setSrc(I),S.unobserve(T.current)}})});return S.observe(T.current),()=>{S.disconnect()}},[I,g,h]);const A=(S,w,D)=>{const x=S/w;return D/x};te(()=>{const S=E?.current;S===null||I===""||!g||(S.src=I,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const w=u?.current;if(!w)return;const D=w.getContext("2d"),x=window?.innerWidth/2,C=A(S.videoWidth,S.videoHeight,x);w.height=C,w.width=x,D?.drawImage(S,0,0,w.width,w.height),m(w.toDataURL()),S.remove(),w.remove()})},[I,g]);const _=()=>{o(),a?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),c?.(!1)},0)};return f.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:r}},f.createElement("div",{className:"list-content-listItem-picture"},g&&f.createElement("div",{style:{display:"none"}},f.createElement("video",{ref:E,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),f.createElement("canvas",{ref:u})),f.createElement(Ze,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),f.createElement("div",{className:"list-content-listItem-info"},f.createElement("div",{className:`list-content-listItem-info-title ${v?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),f.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!v},v)))};function la(t){var e,i,n,o,l,r,s,a,c,d,p,g,y,b,T,{reportTagsView:E,showBanner:u}=t,h=Le(t,["reportTagsView","showBanner"]);const{waterFallData:m,getRecommendVideos:I,hashTagSize:k,loadingImage:v,isOpenHashTag:A}=Se(),[_,S]=G(),[w,D]=G(),[x,C]=G(!1),O=Q(null),[N,M]=G(!1);ae(()=>{N||(M(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(V=>{var B;S(_?.concat((B=V?.recList)!==null&&B!==void 0?B:[])),M(!1)}))},[m,I,_,N]),te(()=>{var V,B;if(C(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:k,maxSize:k}).then(j=>{var L,F;D(j),S((F=(L=j?.recList)===null||L===void 0?void 0:L.filter(z=>z?.video!==null||z?.product!==null))!==null&&F!==void 0?F:[]),C(!1)}),A){const j=xn;D(j),S((B=(V=j?.recList)===null||V===void 0?void 0:V.filter(L=>L?.video!==null||L?.product!==null))!==null&&B!==void 0?B:[]),C(!1)}},[m,I,k,A]);const W=()=>{var V,B;!((V=w?.tag)===null||V===void 0)&&V.link&&(E(),window.location.href=(B=w?.tag)===null||B===void 0?void 0:B.link)};return f.createElement(f.Fragment,null,x?f.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:v,alt:"loading...",style:{objectFit:"contain"}})):f.createElement("div",{className:"list"},f.createElement("div",{className:"list-scroll",ref:O},u&&((e=w?.tag)===null||e===void 0?void 0:e.picture)&&f.createElement("div",{onClick:W},f.createElement(Ze,{className:he({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=w?.tag)===null||i===void 0?void 0:i.picture})),f.createElement("div",{className:"list-info",style:(n=h?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=w?.tag)===null||o===void 0?void 0:o.info),f.createElement("div",{hidden:!(!((l=w?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:W,style:Object.assign(Object.assign({},(r=h?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:h?.space})},((s=w?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),f.createElement("div",{className:"list-content"},_?.map((V,B)=>f.createElement(oa,Object.assign({key:B,index:B,rec:V,list:_,reportTagsView:E},h)))),f.createElement("div",{hidden:!N,style:{textAlign:"center"}},"loading..."),f.createElement("div",{hidden:!(!((a=w?.tag)===null||a===void 0)&&a.link),style:{height:!((c=w?.tag)===null||c===void 0)&&c.link?((d=h?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=h?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),f.createElement("div",{className:"list-bottom",hidden:!(!((g=w?.tag)===null||g===void 0)&&g.link),style:h?.buttonBgStyle}),f.createElement("div",{hidden:!(!((y=w?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},h?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},f.createElement("button",{"aria-label":((b=w?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:h?.buttonStyle,onClick:W},((T=w?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const sa=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:g,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:E}=Se(),{backMainFeed:u}=Ve();Q(null);const h=Q(null),[m,I]=G();te(()=>{const S=document.getElementById("sxp-render"),w=document.getElementById("water-fall");w?h.current=w:(h.current=document.createElement("div"),h.current.setAttribute("id","water-fall"),S?.appendChild(h.current))},[]);const k=()=>{const S=Oi(d,s);!S&&s&&s?.length&&a?.(s),u("branch",E,void 0,i?.hashTag),_(),r?.(void 0),g?.(!1),setTimeout(()=>{var w,D;S||(D=(w=l?.current)===null||w===void 0?void 0:w.swiper)===null||D===void 0||D.slideTo(c,0,!1),n?.(!1)},0)},[v,A]=G();te(()=>{i&&A(i)},[i]);const _=ae(()=>{var S,w,D,x,C,O;const N=v?.rec;if(!N)return;let M="";y?M="hashTagPage":!((S=N?.video)===null||S===void 0)&&S.url?M="videoPage":!((D=(w=N?.video)===null||w===void 0?void 0:w.imgUrls)===null||D===void 0)&&D.length&&(M="imagePage"),b?.({eventInfo:{contentId:(x=N?.video)===null||x===void 0?void 0:x.itemId,position:c+"",contentTags:JSON.stringify((C=N?.video)===null||C===void 0?void 0:C.tags),traceInfo:(O=N?.video)===null||O===void 0?void 0:O.traceInfo,hashTags:JSON.stringify([v?.hashTag]),fromKName:M,fromKPage:location?.href,timeOnSite:Math.floor((new Date-m)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[v,b,m,y,c]);return te(()=>{o&&I(new Date)},[o]),te(()=>{const S=()=>{I(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),h.current?ji.createPortal(f.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},f.createElement(Tn,{icon:na,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?f.createElement(la,Object.assign({reportTagsView:_},t)):f.createElement(ia,Object.assign({reportTagsView:_},t))),h.current):null};var En=me(sa);const aa=t=>f.createElement(En,Object.assign({},t));var ra=me(aa);const da=Re(ra,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:Ws,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var ca=[{title:"\u534F\u8BAE\u8BE6\u60C5",child:[{type:"Switch",label:"\u5FC5\u987B\u540C\u610F\u7528\u6237\u534F\u8BAE",name:["props","privacy_necessity"],extra:"\u5F53\u65B0\u7528\u6237\u8FDB\u5165\u9875\u9762\u65F6\uFF0C\u4F1A\u51FA\u73B0\u7528\u6237\u534F\u8BAE\u5F39\u7A97\uFF0C\u7528\u6237\u9700\u8981\u5148\u540C\u610F\u534F\u8BAE\u540E\u624D\u80FD\u8BBF\u95EE\u5185\u5BB9\u3002"},{type:"Text",label:"\u5F39\u7A97\u6807\u9898",name:["props","privacy_title"]},{type:"TextArea",label:"\u7528\u6237\u534F\u8BAE\u5F39\u7A97\u5185\u5BB9",name:["props","privacy_context"]},{type:"Group",label:"\u9690\u79C1\u653F\u7B56",child:[{type:"Text",name:["props","privacy_policy_title"]},{type:"Text",name:["props","privacy_policy_url"],addonBefore:"https://"}],extra:"\u5F53\u7528\u6237\u70B9\u51FB\u66F4\u591A\u4FE1\u606F\u6309\u94AE\u65F6\uFF0C\u5C06\u4F1A\u8DF3\u8F6C\u81F3\u8BBE\u7F6E\u7684\u94FE\u63A5\u67E5\u770B\u653F\u7B56\u5185\u5BB9"}]}];const In=t=>f.createElement(In,Object.assign({},t));var ua=me(In);const pa=Re(ua,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:ca},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Di=Object.freeze({__proto__:null,Appoint:ms,AppointForm:ao,Commodity:us,CommodityDetail:Yl,CommodityDetailDiroNew:ns,CommodityDiro:Es,CommodityDiroNew:Ds,Consent:pa,HashTag:da,Link:ys,MultiCommodity:Vs,MultiCommodityDiro:js,MultiCommodityDiroNew:$s,Prompt:Zl});const va="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",fa="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",ma=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Le(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=Se(),[d,p]=G(e),g=qe(fa),y=qe(va),b=Xt(()=>ze(void 0,void 0,void 0,function*(){var T,E,u,h,m,I,k,v,A,_,S,w,D,x,C,O,N,M,W,V;if(d){p(!1);const B=(u=yield a?.({videoItemId:(E=(T=o?.video)===null||T===void 0?void 0:T.itemId)!==null&&E!==void 0?E:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(m=(h=o?.video)===null||h===void 0?void 0:h.itemId)!==null&&m!==void 0?m:"",contentName:(k=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((A=(v=o?.video)===null||v===void 0?void 0:v.tags)!==null&&A!==void 0?A:[]),position:l+"",contentFormat:!((_=o?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(S=o?.video)===null||S===void 0?void 0:S.traceInfo}}),B||p(!0)}else{p(!0);const B=(w=yield s?.({content:JSON.stringify(o)}))!==null&&w!==void 0?w:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(D=o?.video)===null||D===void 0?void 0:D.itemId)!==null&&x!==void 0?x:"",contentName:(O=(C=o?.video)===null||C===void 0?void 0:C.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((M=(N=o?.video)===null||N===void 0?void 0:N.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((W=o?.video)===null||W===void 0)&&W.url?"video":"image",traceInfo:(V=o?.video)===null||V===void 0?void 0:V.traceInfo}}),B||p(!1)}}),200);return f.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:b}),f.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||g:n||y,alt:"icon"}))};var Cn=me(ma);const ha=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=G(!1),{bffEventReport:d,sxpParameter:p,waterFallData:g,openHashtag:y,bffFbReport:b}=Se(),T=Q(0),[E,u]=G(!1),[h,m]=G(!0),{isActive:I}=wn(),k=Q(null),[v,A]=G(""),_=`pb-cache-video-${e}`,S=Q(null),w=ee(()=>r?.mode==="2",[r]),D=ee(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=ee(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||v},[v,t]),C=ee(()=>w?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[w]),O=ee(()=>r?.bgWay==="1",[r]),N=ee(()=>O&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,O]);te(()=>{s&&(s.muted=o)},[o,s]);const M=ae(()=>{s&&s?.play()},[s]),W=qe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),V=ae(()=>{var R,H,oe,fe,pe,q,K,J,Y;if(!s)return;u(!0),c(!1);const Z=n[e];if(Z&&s?.duration){T.current=s?.currentTime||0;const Ie=((R=s?.duration)!==null&&R!==void 0?R:0).toFixed(2),Pe=((H=s?.currentTime)!==null&&H!==void 0?H:0).toFixed(2),je=h?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(fe=(oe=Z?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&fe!==void 0?fe:"",contentName:(q=(pe=Z?.video)===null||pe===void 0?void 0:pe.title)!==null&&q!==void 0?q:"",playType:je,startTime:Pe,videoDuration:Ie,contentTags:JSON.stringify((J=(K=Z?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=Z?.video)===null||Y===void 0?void 0:Y.traceInfo}}),m(!1)}},[d,n,e,h,s]),B=ae(()=>{var R;if(!s||v||!w||(s.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!k||!k.current||O))return;const H=()=>{const oe=k?.current,fe=oe.getContext("2d"),pe=window?.innerWidth,q=window?.innerHeight;oe.height=q,oe.width=pe,fe?.drawImage(s,0,0,oe.width,oe.height),A(oe.toDataURL())};H(),setTimeout(()=>{H()},500)},[s,O,t,v,w]),j=ae(()=>{s&&B()},[s,B]),L=ae(R=>()=>{if(!s||!E)return;const H=s?.paused;switch(R){case"start":if(!H)return;s?.play(),c(!1);break;case"pause":if(H)return;s?.pause(),c(!0);break;default:H?s?.play():s?.pause(),c(!H);break}},[E,s]),F=ae(()=>{var R,H,oe,fe,pe,q,K,J,Y;if(!s||l!==e)return;const Z=n[e],Ie=((R=s?.duration)!==null&&R!==void 0?R:0).toFixed(2),Pe=((H=s?.currentTime)!==null&&H!==void 0?H:0).toFixed(2);if(s?.duration){const je=(s?.currentTime-T.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(fe=(oe=Z?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&fe!==void 0?fe:"",contentName:(q=(pe=Z?.video)===null||pe===void 0?void 0:pe.title)!==null&&q!==void 0?q:"",endTime:Pe,videoDuration:Ie,playDuration:je,contentTags:JSON.stringify((J=(K=Z?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=Z?.video)===null||Y===void 0?void 0:Y.traceInfo}})}},[n,e,d,s,l]);te(()=>{if(!I||!s)return;const R=t?.video.url;if(!R)return;if(R.includes(".m3u8"))if(Ni.isSupported()){const pe=new Ni;pe.loadSource(R),pe.attachMedia(s)}else s.src=R;else s.src=R;c(!1);const H=document.querySelector(`#${_}`),oe=document.querySelector("#player-container-id"),fe=document.querySelector("#player-container-id-copy");if(!(!oe&&!fe))return H?.appendChild(oe||fe),s.setAttribute("x5-playsinline","true"),s.setAttribute("webkit-playsinline","true"),s?.addEventListener("loadedmetadata",j),s?.addEventListener("loadeddata",B),s?.addEventListener("playing",V),s?.addEventListener("pause",F),s?.addEventListener("ended",M),()=>{fe?.appendChild(oe),s?.removeEventListener("loadedmetadata",j),s?.removeEventListener("loadeddata",B),s?.removeEventListener("playing",V),s?.removeEventListener("pause",F),s?.removeEventListener("ended",M)}},[I,_,t,s]),te(()=>{!s||!E||(I?(b?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[I,E,s]),te(()=>{if(!I||!s)return;!s?.paused&&y?s?.pause():y||s?.play()},[y,I,s]),te(()=>{if(!I)return;const R=()=>{L("start")(),b?.({eventName:"ViewContent"})},H=L("pause");return st.on(Ke.PAGE_DID_SHOW,R),st.on(Ke.PAGE_DID_HIDE,H),()=>{st.off(Ke.PAGE_DID_SHOW,R),st.off(Ke.PAGE_DID_HIDE,H)}},[L,I]);const z=ee(()=>!p?.placeholder_image||E?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image,alt:"placeholder image"}),[E,p?.placeholder_image]);return te(()=>{if(!s)return;const R=()=>{var H;l===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&s&&!a&&L("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,L,a]),t?.video?f.createElement(f.Fragment,null,w?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},N)},!O&&f.createElement(Ze,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),f.createElement("canvas",{ref:k,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},f.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",alt:"pause",src:W}))),z):f.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},f.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),z,f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:W,alt:"pause"}))):null};var ga=me(ha);const ba=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=G(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return f.createElement("button",{style:o,"aria-label":"toggle button",className:"pb-toggle-button",onClick:s},f.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var _n=me(ba);const ya=({imageUrl:t,style:e})=>{const[i,n]=G(!0);lt(),te(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=qe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return f.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},f.createElement("img",{src:t||o,alt:"finger swiper"}))},kn=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=ee(()=>n?.mode==="2",[n]),r=ee(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=ee(()=>n?.bgWay==="1",[n]),c=ee(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return f.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&f.createElement(Ze,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&f.createElement(Ze,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},wa=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Q(),{isActive:d}=wn(),{sxpParameter:p,openHashtag:g}=Se(),[y,b]=G(!1);te(()=>{y&&d?(c?.current&&c.current.swiper.autoplay.start(),g?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,g,o,r,y]);const T=ae(()=>{y||b(!0)},[y]);return f.createElement(bt,{ref:c,defaultValue:0,direction:"horizontal",modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((E,u)=>f.createElement(nt,{key:u},f.createElement(kn,{src:!y&&u>0?"":E,height:i,imgUrlsPostConfig:s,onShowFirstImage:T}))))};var Sa=me(wa);const Ta=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=G(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:g}=Se(),y=b=>{p?g?.(!0):d?.(n),a?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return ee(()=>t.length<=6?null:f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),f.createElement("div",{className:"clc-sxp-bottom-hashtag"},f.createElement(Yt,null,t?.map((b,T)=>f.createElement(nt,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(b)},`#${b}`))))};var Dn=me(Ta),xa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function qt(t){return me(function(e){const{$store:i}=Wn(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=Mi(i,d);return r=r.replace(a,p),p}})}),r},o=ee(()=>{var l,r,s;const{bindDatas:a}=e,c=Le(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:g}=d;g.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,E;if(b){const u=(E=(T=Mi(i,b))!==null&&T!==void 0?T:e[p])!==null&&E!==void 0?E:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=xt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return f.createElement(t,Object.assign({},o,o.eventMap))})}const Ea=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=lt(),l=ee(()=>{var r,s,a,c,d,p,g,y,b,T,E,u,h,m,I,k,v,A,_,S,w,D,x,C,O,N,M,W,V,B,j;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?L="\u5546\u54C1CTA":L=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const F=i?.[L];if(((p=F?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((y=F?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=F?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((u=F?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((m=(h=t?.video)===null||h===void 0?void 0:h.bindProducts)===null||m===void 0)&&m.length)||((I=F?.item)===null||I===void 0?void 0:I.type)==="MultiCommodityDiro"&&!(!((v=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||v===void 0)&&v.length)||((A=F?.item)===null||A===void 0?void 0:A.type)==="MultiCommodityDiroNew"&&!(!((S=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||S===void 0)&&S.length))return null;if(F&&n){const z=n[(w=F?.item)===null||w===void 0?void 0:w.type],R=qt(z),H=(D=z?.extend)===null||D===void 0?void 0:D.defaulSetting,oe=((O=(C=(x=F?.item)===null||x===void 0?void 0:x.event)===null||C===void 0?void 0:C.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return f.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(N=F?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(M=F?.item)===null||M===void 0?void 0:M.textStyle),bindDatas:(V=(W=F?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&V!==void 0?V:[]},H?.props,(B=F?.item)===null||B===void 0?void 0:B.props,{event:((j=F?.item)===null||j===void 0?void 0:j.event)||{},schema:o,id:F?.id,key:F?.id,recData:t,isExternalLink:oe,index:e}))}else return null},[t,n,i,o]);return f.createElement(f.Fragment,null,l)};var An=me(Ea);const Pn=({nudge:t})=>{var e,i,n,o,l,r,s;return f.createElement(f.Fragment,null,t?.isOpen&&f.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?f.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,f.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ia=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:o,setCacheActiveIndex:l,setLoading:r,swiperRef:s,waterFallData:a,bffEventReport:c,selectTag:d,setSelectTag:p}=Se(),{backMainFeed:g}=Ve(),y=ee(()=>[jt,...t],[t]),b=T=>()=>{if(T===d)return;T!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):g("theme",T,d);let E;T!==jt&&(E=T),r?.(!0),i?.({themeTag:E}).then(u=>{var h,m,I,k;st.emit(Ke.CHANGE_THEME_TAG,E),n?.((h=u?.recList)!==null&&h!==void 0?h:[]),o?.((m=u?.recList)!==null&&m!==void 0?m:[]),e?.(0),l?.(0),(k=(I=s?.current)===null||I===void 0?void 0:I.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{r?.(!1)}),p?.(T)};return a||t.length<=0?null:f.createElement("div",{className:"clc-sxp-tagbar"},f.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>f.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===d?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var On=me(Ia);const Mn=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:g=[],licenseUrl:y})=>{var b,T,E,u,h,m,I,k,v,A;const{schema:_}=lt(),[S,w]=G(0),D=Q(0);G(!1);const[x,C]=G(!0),O=Q(),[N,M]=G(!1),[W,V]=G(!1),{loadVideos:B,bffEventReport:j,loading:L,setPopupDetailData:F,ctaEvent:z,swiperRef:R,waterFallData:H,setOpenHashtag:oe,appDomain:fe,openHashtag:pe,loadingImage:q,isFromHashtag:K,popupDetailData:J,bffFbReport:Y,curTime:Z,h5EnterLink:Ie,isShowConsent:Pe,selectTag:je}=Se(),{backMainFeed:$e}=Ve(),ce=Q(),{productView:de}=Ve(),we=ee(()=>r.length>0&&!L&&Xn(),[r,L]);te(()=>{Ri()},[]),te(()=>{if(r?.length>0){const P=new Date;O.current=P,Y?.({eventName:"PageView"})}},[r?.length]);const ve=ae(()=>{if(Ri(),Ie?.(),r.length>0){const P=new Date;O.current=P,Y?.({eventName:"PageView"})}},[r.length,Y,Ie]),ue=Q();te(()=>{var P,se,X,le;!ue.current&&ce?.current&&r?.length>0&&(ue.current=!0,!((se=(P=r?.[0])===null||P===void 0?void 0:P.video)===null||se===void 0)&&se.url&&(ce.current.src=(le=(X=r?.[0])===null||X===void 0?void 0:X.video)===null||le===void 0?void 0:le.url))},[ce,r]),te(()=>{var P;const se=r?.findIndex(X=>{var le,be,ye,ie,ne,Ce,De,Be,_e;return s==="\u591A\u5546\u54C1CTA"?((le=X?.video)===null||le===void 0?void 0:le.bindProducts)&&((ye=(be=X?.video)===null||be===void 0?void 0:be.bindProducts)===null||ye===void 0?void 0:ye.length)>0:s==="\u5546\u54C1CTA"?(ie=X?.video)===null||ie===void 0?void 0:ie.bindProduct:((Ce=(ne=X?.video)===null||ne===void 0?void 0:ne.bindCta)===null||Ce===void 0?void 0:Ce.itemId)===s&&(((De=X?.video)===null||De===void 0?void 0:De.url)||((_e=(Be=X?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||_e===void 0?void 0:_e.length))})||0;(P=R?.current)===null||P===void 0||P.swiper.slideTo(se)},[s,R]),te(()=>{const P=r?.[S],se=()=>{var X,le,be,ye,ie,ne,Ce,De,Be,_e,Me,vt,ft,mt,dt,Tt;const Ye=!pe&&!Pe;if(document.visibilityState==="hidden"){Ye&&(st.emit(Ke.PAGE_DID_HIDE,P),$(P),xe(P));let ht="";J&&(!((le=(X=P?.video)===null||X===void 0?void 0:X.bindProducts)===null||le===void 0)&&le.length||!((be=P?.video)===null||be===void 0)&&be.bindProduct)?ht="pdpPage":J&&((Ce=o?.[(ne=(ie=(ye=P?.video)===null||ye===void 0?void 0:ye.bindCta)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:""].item)===null||Ce===void 0?void 0:Ce.type)==="Appoint"?ht="formPage":K?ht="hashTagPage":!((De=P?.video)===null||De===void 0)&&De.url?ht="videoPage":!((Be=P?.video)===null||Be===void 0)&&Be.imgUrls&&(!((Me=(_e=P?.video)===null||_e===void 0?void 0:_e.imgUrls)===null||Me===void 0)&&Me.length)?ht="imagePage":P?.product&&(ht="productPage"),j?.({eventInfo:{sessionDuration:Math.floor((new Date-Z.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(vt=P?.video)===null||vt===void 0?void 0:vt.itemId,productId:(ft=P?.product)===null||ft===void 0?void 0:ft.itemId,position:S+"",fromKName:ht,fromKPage:location?.href,ctatId:(Tt=(dt=(mt=P?.video)===null||mt===void 0?void 0:mt.bindCta)===null||dt===void 0?void 0:dt.itemId)!==null&&Tt!==void 0?Tt:""}})}else document.visibilityState==="visible"&&(ve(),Ye&&(Te(S),st.emit(Ke.PAGE_DID_SHOW,P),$e("external",je)))};return document.addEventListener("visibilitychange",se),()=>{document.removeEventListener("visibilitychange",se)}},[S,j,r,ve,J,K,o,Z,$e,pe,Pe,je]);const He=ee(()=>{let P=0;return g.length>0&&(P+=45,H&&(P-=45)),P},[g,H]),Ae=ee(()=>{let P=0;return t?.logoUrl&&t?.isShowLogo&&(P+=45),i-P-He},[t,i,He]),rt=ee(()=>t?.logoUrl&&t?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},f.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),et=ae((P,se)=>{var X,le,be,ye;return!((X=P?.video)===null||X===void 0)&&X.url?f.createElement(ga,{rec:P,index:se,muted:x,data:r,height:Ae,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:ce.current}):!((le=P?.video)===null||le===void 0)&&le.imgUrls?f.createElement(Sa,{key:P?.video.itemId,imgUrls:P?.video.imgUrls,width:n,height:Ae,rec:P,index:se,onReportViewImageEnd:$,onViewImageStartEvent:Te,imgUrlsPostConfig:t?.imgUrlsPost}):P.product&&Array.isArray(t?.productPost)&&((be=t?.productPost)===null||be===void 0?void 0:be.length)>0?(ye=t?.productPost)===null||ye===void 0?void 0:ye.map((ie,ne)=>{var Ce,De,Be,_e,Me,vt,ft,mt;const dt=l[(Ce=ie?.item)===null||Ce===void 0?void 0:Ce.type],Tt=qt(dt),Ye=(De=dt?.extend)===null||De===void 0?void 0:De.defaulSetting;return f.createElement(Tt,Object.assign({key:`${se}${ne}`,textStyle:Object.assign(Object.assign({},Ye?.textStyle),(Be=ie?.item)===null||Be===void 0?void 0:Be.textStyle),bindDatas:(Me=(_e=ie?.item)===null||_e===void 0?void 0:_e.bindDatas)!==null&&Me!==void 0?Me:[]},Ye?.props,(vt=ie?.item)===null||vt===void 0?void 0:vt.props,{event:((ft=ie?.item)===null||ft===void 0?void 0:ft.event)||{},schema:_,id:ie?.id,viewTime:O.current,rec:P,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Ye?.style),(mt=ie?.item)===null||mt===void 0?void 0:mt.style),{height:"100%",overflow:"auto"}),index:se}))}):null},[n,r,Ae,x,S,t?.productPost,O,a,l,_,ce.current]),We=ae(P=>{V(P)},[]),Dt=ee(()=>W?{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"},[W]),At=ae((P,se)=>{var X,le,be,ye,ie,ne,Ce;return P?.video?f.createElement(f.Fragment,null,((X=P?.video)===null||X===void 0?void 0:X.title)&&!W&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(Pn,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(An,{rec:P,index:se,tempMap:o,resolver:l})):null,f.createElement("div",null,f.createElement(Wt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(be=(le=P?.video)===null||le===void 0?void 0:le.title)!==null&&be!==void 0?be:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:We}),f.createElement(Dn,{index:S,tags:(ie=(ye=P?.video)===null||ye===void 0?void 0:ye.hashTags)!==null&&ie!==void 0?ie:[],itemId:(ne=P?.video)===null||ne===void 0?void 0:ne.itemId,itemType:!((Ce=P?.video)===null||Ce===void 0)&&Ce.itemId?"VIDEO":null,rec:P,hashTagStyle:p})))):null},[e,S,o,l,a,c,p,t,We,W,Dt]),U=ae((P,se)=>{var X,le,be,ye;if(!t?.isShowLike)return;let ie=(X=t?.likeIconY)!==null&&X!==void 0?X:400;return H&&ie<40&&(ie+=40),P?.video?f.createElement(Cn,{key:P.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:P.isCollected,recData:P,className:"clc-sxp-like-button",style:{[(le=t.likeIconXPosit)!==null&&le!==void 0?le:"right"]:(be=t.likeIconX)!==null&&be!==void 0?be:0,[(ye=t.likeIconYPosit)!==null&&ye!==void 0?ye:"bottom"]:ie},position:se}):null},[t,H]),$=P=>{var se,X,le,be,ye,ie;if(!(!((se=P?.video)===null||se===void 0)&&se.url)&&(!((X=P?.video)===null||X===void 0)&&X.imgUrls)){const ne=Date.now(),Ce=(ne-D.current)/1e3;j?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(be=(le=P?.video)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",contentName:(ye=P?.video.title)!==null&&ye!==void 0?ye:"",imageEndTime:`${ne}`,playDuration:`${Ce}`,contentTags:JSON.stringify((ie=P?.video.tags)!==null&&ie!==void 0?ie:[]),position:S+"",contentFormat:"image",traceInfo:P?.video.traceInfo}})}},re=P=>{var se,X,le,be,ye,ie,ne,Ce,De,Be;O.current=new Date;const _e=r[P.previousIndex];if(!_e)return;P.previousIndex-P.activeIndex<0?(j?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(X=(se=_e?.video)===null||se===void 0?void 0:se.itemId)!==null&&X!==void 0?X:"",productId:(be=(le=_e?.product)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",requestId:null}}),$(_e)):(j?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ie=(ye=_e?.video)===null||ye===void 0?void 0:ye.itemId)!==null&&ie!==void 0?ie:"",productId:(Ce=(ne=_e.product)===null||ne===void 0?void 0:ne.itemId)!==null&&Ce!==void 0?Ce:"",requestId:null}}),$(_e)),xe(_e);const Me=r[P.activeIndex];!(!((De=Me?.video)===null||De===void 0)&&De.url)&&!(!((Be=Me?.video)===null||Be===void 0)&&Be.imgUrls)&&Me?.product&&Y?.({eventName:"ProductView"})},xe=P=>{var se,X,le;!(!((se=P?.video)===null||se===void 0)&&se.url)&&!(!((X=P?.video)===null||X===void 0)&&X.imgUrls)&&P?.product&&de(P,P.product,(le=P?.product)===null||le===void 0?void 0:le.bindCta,O.current,S)};te(()=>{const P=r[S];pe&&xe(P)},[pe,r,S]);const Te=P=>{var se,X,le,be,ye,ie;const ne=r[P];if(!(!((se=ne?.video)===null||se===void 0)&&se.url)&&(!((X=ne?.video)===null||X===void 0)&&X.imgUrls)){const Ce=Date.now();D.current=Ce,j?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(be=(le=ne?.video)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",contentName:(ye=ne?.video.title)!==null&&ye!==void 0?ye:"",imageStartTime:`${Ce}`,contentTags:JSON.stringify((ie=ne?.video.tags)!==null&&ie!==void 0?ie:[]),position:P+"",contentFormat:"image",traceInfo:ne?.video.traceInfo}}),Y?.({eventName:"ViewContent"})}},ke=ee(()=>{var P;const se=S===0?[(P=r?.[0])!==null&&P!==void 0?P:null]:r?.map((X,le)=>S===le||le-1===S||le+1===S?X:null);return H?se:se.concat([{loading:!0}])},[r,S,H]),Ee=ee(()=>L?f.createElement("div",{style:{height:Ae,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):ke?.map((P,se)=>f.createElement(nt,{key:se,virtualIndex:se},P&&f.createElement(f.Fragment,null,P?.loading?f.createElement("div",{style:{height:Ae,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):f.createElement(f.Fragment,null,et(P,se),At(P,se),U(P,se))))),[n,r,Ae,L,At,et,ke,q]),Oe=qe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),ot=qe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return f.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},H&&f.createElement(Tn,{icon:xa,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{oe?.(!0)}}),rt,f.createElement(On,{tagList:g,setActiveIndex:w}),we?f.createElement(ya,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`}}):null,f.createElement(bt,{style:{marginTop:He},ref:R,onSlideChange:()=>{R.current.swiper.allowTouchMove=!1,setTimeout(()=>{R.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:P=>{w(P.activeIndex),!pe&&(re(P),!H&&P?.activeIndex+2>=r?.length&&(N||(M(!0),B?.(Math.ceil(S/10)+1).then(()=>{M(!1)}))))},direction:"vertical",height:Ae},f.createElement(_n,{style:{position:"fixed",visibility:!((E=(T=r?.[S])===null||T===void 0?void 0:T.video)===null||E===void 0)&&E.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(h=t?.muteIconX)!==null&&h!==void 0?h:0,[(m=t?.muteIconYPosit)!==null&&m!==void 0?m:"bottom"]:(I=t?.muteIconY)!==null&&I!==void 0?I:23},defaultValue:x,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Oe,unactiveIcon:t?.muteIcon?t?.muteIcon:ot,onChange:C}),Ee),f.createElement(En,Object.assign({},(A=(v=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||v===void 0?void 0:v.item)===null||A===void 0?void 0:A.props)),f.createElement("div",{style:{position:"absolute",zIndex:-100}},f.createElement("video",{ref:ce,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"}}),f.createElement("div",{id:"player-container-id-copy"})))},Ca=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>f.createElement(bt,{defaultValue:0,direction:"horizontal",modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>f.createElement(nt,{key:r},f.createElement(kn,{src:r,height:i,imgUrlsPostConfig:n}))));var _a=me(Ca);const ka=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=G(!1),d=Q(null),{bffEventReport:p,sxpParameter:g,waterFallData:y,openHashtag:b}=Se(),T=Q(0),[E,u]=G(!1),[h,m]=G(!0),I=Q(null),[k,v]=G("");te(()=>{d.current&&(d.current.muted=o)},[o]);const A=ae(()=>{var B;(B=d.current)===null||B===void 0||B.play()},[]),_=qe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=ae(()=>{var B,j,L,F,z,R,H,oe,fe,pe,q,K,J;c(!1);const Y=n[e];if(Y&&(!((B=d?.current)===null||B===void 0)&&B.duration)){T.current=((j=d?.current)===null||j===void 0?void 0:j.currentTime)||0;const Z=((F=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&F!==void 0?F:0).toFixed(2),Ie=((R=(z=d.current)===null||z===void 0?void 0:z.currentTime)!==null&&R!==void 0?R:0).toFixed(2),Pe=h?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(oe=(H=Y?.video)===null||H===void 0?void 0:H.itemId)!==null&&oe!==void 0?oe:"",contentName:(pe=(fe=Y?.video)===null||fe===void 0?void 0:fe.title)!==null&&pe!==void 0?pe:"",playType:Pe,startTime:Ie,videoDuration:Z,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}}),m(!1)}},[p,n,e,h]),w=ae(()=>{u(!0)},[]),D=ae(B=>()=>{var j,L,F,z,R;if(!E)return;const H=(j=d.current)===null||j===void 0?void 0:j.paused;switch(B){case"start":if(!H)return;(L=d.current)===null||L===void 0||L.play(),c(!1);break;case"pause":if(H)return;(F=d.current)===null||F===void 0||F.pause(),c(!0);break;default:H?(z=d.current)===null||z===void 0||z.play():(R=d.current)===null||R===void 0||R.pause(),c(!H);break}},[E]),x=ae(()=>{var B,j,L,F,z,R,H,oe,fe,pe,q,K,J;const Y=n[e],Z=((j=(B=d.current)===null||B===void 0?void 0:B.duration)!==null&&j!==void 0?j:0).toFixed(2),Ie=((F=(L=d.current)===null||L===void 0?void 0:L.currentTime)!==null&&F!==void 0?F:0).toFixed(2);if(!((z=d?.current)===null||z===void 0)&&z.duration){const Pe=(((R=d?.current)===null||R===void 0?void 0:R.currentTime)-T.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(oe=(H=Y?.video)===null||H===void 0?void 0:H.itemId)!==null&&oe!==void 0?oe:"",contentName:(pe=(fe=Y?.video)===null||fe===void 0?void 0:fe.title)!==null&&pe!==void 0?pe:"",endTime:Ie,videoDuration:Z,playDuration:Pe,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}})}},[n,e,p]),C=ee(()=>r?.mode==="2",[r]),O=ee(()=>{var B;return r?.mode==="2"?`translateY(-${50+((B=r?.offsetTop)!==null&&B!==void 0?B:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),N=ee(()=>{var B;return((B=t?.video)===null||B===void 0?void 0:B.cover)||k},[k,t]),M=ae(()=>{if(!I||!d||!d.current||!I.current)return;const B=d?.current,j=I?.current,L=j.getContext("2d"),F=window?.innerWidth,z=window?.innerHeight;j.height=z,j.width=F,L?.drawImage(B,0,0,j.width,j.height),v(j.toDataURL())},[]);te(()=>{var B,j,L,F;if(d.current){if(c(!1),!d.current.src){const z=t?.video.url;if(z.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(z),R.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=z;else d.current.src=z;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(B=d.current)===null||B===void 0||B.addEventListener("loadedmetadata",w),(j=d.current)===null||j===void 0||j.addEventListener("canplay",w),(L=d.current)===null||L===void 0||L.addEventListener("playing",S),(F=d.current)===null||F===void 0||F.addEventListener("loadeddata",M),()=>{var z,R,H,oe;(z=d.current)===null||z===void 0||z.removeEventListener("loadedmetadata",w),(R=d.current)===null||R===void 0||R.removeEventListener("canplay",w),(H=d.current)===null||H===void 0||H.removeEventListener("playing",S),(oe=d.current)===null||oe===void 0||oe.removeEventListener("loadeddata",M)}}},[w,S,t?.video,M]);const W=ee(()=>!g?.placeholder_image||E?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:g?.placeholder_image,alt:"video poster"}),[E,g?.placeholder_image]);te(()=>{const B=()=>{var j,L;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((L=d?.current)===null||L===void 0)&&L.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",B),()=>{window.removeEventListener("beforeunload",B)}},[l,e,t,d,D,a]);const V=ee(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t?.video?f.createElement(f.Fragment,null,C?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.createElement(Ze,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},V)}),f.createElement("canvas",{ref:I,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:s,height:"100%"}},f.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:A,style:{width:"100%",height:i,objectFit:"contain"}}),f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:_,alt:"video pause image"}))),W):f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:A}),W,f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:_,alt:"video pause image"}))):null};var Da=me(ka);const Ai={};Object.values(Di).forEach(t=>{Ai[t.extend.type]=t});const Aa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Pa="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Oa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let v=0;return e?.logoUrl&&e?.isShowLogo&&(v+=45),d.length>0&&(v+=45),s-v},[e,s,d]),g=(v,A)=>{var _,S,w,D;if(!((_=v?.video)===null||_===void 0)&&_.url)return f.createElement(Da,{rec:v,index:A,muted:!0,width:a,data:t??[],height:p,activeIndex:A,videoPostConfig:e?.videoPost});if(!((S=v?.video)===null||S===void 0)&&S.imgUrls)return f.createElement(_a,{key:v?.video.itemId,imgUrls:v?.video.imgUrls,width:a,height:p,rec:v,index:A,imgUrlsPostConfig:e?.imgUrlsPost});if(v.product&&v.product&&Array.isArray(e?.productPost)&&((w=e?.productPost)===null||w===void 0?void 0:w.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((x,C)=>{var O,N,M,W,V,B,j,L;const F=Ai[(O=x?.item)===null||O===void 0?void 0:O.type],z=qt(F),R=(N=F?.extend)===null||N===void 0?void 0:N.defaulSetting;return f.createElement(z,Object.assign({key:`${A}${C}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(M=x?.item)===null||M===void 0?void 0:M.textStyle),bindDatas:(V=(W=x?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&V!==void 0?V:[]},R?.props,(B=x?.item)===null||B===void 0?void 0:B.props,{event:((j=x?.item)===null||j===void 0?void 0:j.event)||{},id:x?.id,rec:v,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(L=x?.item)===null||L===void 0?void 0:L.style),{width:a,height:p,overflow:"auto"}),index:A}))})},y=ee(()=>e?.logoUrl&&e?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},f.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(v,A)=>e?.isShowCTA===void 0||e?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(An,{rec:v,index:A,tempMap:o,resolver:Ai})):null,T=(v,A)=>{var _,S,w,D,x,C,O;return v?.video?f.createElement(f.Fragment,null,((_=v?.video)===null||_===void 0?void 0:_.title)&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(Pn,{nudge:n}),b(v,A),f.createElement("div",null,f.createElement(Wt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(w=(S=v?.video)===null||S===void 0?void 0:S.title)!==null&&w!==void 0?w:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),f.createElement(Dn,{index:A,tags:(x=(D=v?.video)===null||D===void 0?void 0:D.hashTags)!==null&&x!==void 0?x:[],itemId:(C=v?.video)===null||C===void 0?void 0:C.itemId,itemType:!((O=v?.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:v,hashTagStyle:r}))):null},E=qe(Pa,c),u=qe(Aa,c),h=(v,A)=>{var _,S,w,D;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),v?.video?f.createElement(Cn,{key:v.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:E,unActicveIcon:(w=e?.unlikeIcon)!==null&&w!==void 0?w:u,position:A,active:v.isCollected,recData:v,className:"clc-sxp-like-button",style:{top:x,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},m=qe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),I=qe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),k=(v,A)=>{var _,S,w,D;return f.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,f.createElement(On,{tagList:d}),f.createElement(_n,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((w=(S=t?.[A])===null||S===void 0?void 0:S.video)===null||w===void 0)&&w.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:m,unactiveIcon:e?.muteIcon?e?.muteIcon:I}),g(v,A),T(v,A),h(v,A))};return f.createElement("div",{className:he({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((v,A)=>k(v,A)))};var Ma=me(Oa);const La=()=>{const{schema:t,resolver:e,popup:i}=lt(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=Se(),{productView:r}=Ve(),[s,a]=G(),c=Q(null);te(()=>{const g=()=>{c.current=new Date};return g(),window.addEventListener("pageshow",g),()=>{window.removeEventListener("pageshow",g)}},[]),te(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var g,y,b,T;if(!i||i?.id===""||!s||new Date-c.current<((g=i?.duration)!==null&&g!==void 0?g:0))return;a(Object.assign(Object.assign({},i),{id:""}));const E=o,u=(y=E?.video)===null||y===void 0?void 0:y.bindProduct,h=(T=(b=E?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;u&&h&&r(E,u,h,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var g,y,b;return(b=(y=(g=t?.sxpPageConf)===null||g===void 0?void 0:g.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,E)=>{var u,h,m,I,k,v,A,_,S,w,D,x,C,O,N;if(T?.id===i?.id){const M=e[(u=T?.item)===null||u===void 0?void 0:u.type],W=qt(M),V=((I=(m=(h=T?.item)===null||h===void 0?void 0:h.event)===null||m===void 0?void 0:m.onClick)===null||I===void 0?void 0:I.linkType)==="externalLink",B=((A=(v=(k=T?.item)===null||k===void 0?void 0:k.event)===null||v===void 0?void 0:v.onClick)===null||A===void 0?void 0:A.linkType)==="popup",j=(_=M?.extend)===null||_===void 0?void 0:_.defaulSetting;return f.createElement(W,Object.assign({key:E,style:Object.assign(Object.assign(Object.assign({},j?.style),(S=T?.item)===null||S===void 0?void 0:S.style),{width:(w=window.innerWidth)!==null&&w!==void 0?w:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},j?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(C=(x=T?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&C!==void 0?C:[]},j?.props,(O=T?.item)===null||O===void 0?void 0:O.props,{event:((N=T?.item)===null||N===void 0?void 0:N.event)||{},schema:t,id:T?.id,isExternalLink:V,isPopup:B,onClose:d}))}else return f.createElement(f.Fragment,null)})},[t,i,e,d]);return f.createElement($t,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Pi={};Object.values(Di).forEach(t=>{Pi[t.extend.type]=t});const ja=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,g,y,b,T,E,u,h;const m=ee(()=>{var I;return location?.search?(I=location?.search)===null||I===void 0?void 0:I.replace("?",""):""},[]);return f.createElement(Qi,{resolver:Pi,enableDataSource:!1,schema:t?.data,utmVal:m},f.createElement(qi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(y=(g=t?.sxp_parameter)===null||g===void 0?void 0:g.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(E=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||E===void 0?void 0:E.isShowTag,globalConfig:(h=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||h===void 0?void 0:h.globalConfig,render:({rtcList:I,tagList:k})=>{var v;return f.createElement(f.Fragment,null,f.createElement(Mn,Object.assign({},(v=t?.data)===null||v===void 0?void 0:v.sxpPageConf,{tagList:k,data:I,resolver:Pi,licenseUrl:r})),f.createElement(La,null))}}))};var Na=me(ja);const Ln=It({}),Ba=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,g,y,b;const[T,E]=G(!1),[u,h]=G(!1);return f.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:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(g=e?.sxp_parameter)===null||g===void 0?void 0:g.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:E,openConsent:u,setOpenConsent:h}},t)};function za(){return Et(Ln)}export{Ma as DiyPortalPreview,Ba as EditorDataProvider,$t as Modal,qi as SxpDataSourceProvider,Na as SxpPageCore,Mn as SxpPageRender,to as core,$n as default,Ue as defaultSetting,Di as materials,za as useEditorDataProvider};
5
+ 18-karat gold, this necklace is embellished with hand-set diamonds.`,maxStr:79,className:"pb-commondity-content-info",style:v?.info})))},de=()=>{var K,J;return f.createElement(f.Fragment,null,(T||L?.link)&&f.createElement("button",{"aria-label":(K=F?.enTitle)!==null&&K!==void 0?K:"Purchase on Website",onClick:R,className:"pb-commondity-btn",style:A},(J=F?.enTitle)!==null&&J!==void 0?J:"Purchase on Website"))},q=ae(K=>K?.lineClamp?Object.assign(Object.assign({},K),{overflow:"hidden",WebkitLineClamp:K?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):K,[]);return f.createElement("div",{className:"pb-commondity"},f.createElement("div",Object.assign({className:me(Object.assign({},p))},S),L&&((r=L?.homePage)===null||r===void 0?void 0:r.length)>0&&f.createElement(bt,{height:oe,modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDetail-swiper-clickable-left":"commondityDetail-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=L?.homePage)===null||s===void 0?void 0:s.map(K=>f.createElement(nt,{key:K},f.createElement("div",{style:{overflow:"hidden",width:oe,height:oe}},f.createElement(Ze,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:K}))))),!(!((a=L?.homePage)===null||a===void 0)&&a.length)&&f.createElement("div",{className:me({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:me({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:E,alt:"pdp image"})),f.createElement("div",{className:"pb-commondity-content"},ge({isPost:h}))),de(),f.createElement($t,{visible:V,onClose:()=>B(!1)},f.createElement("div",{style:{paddingBottom:"80px"}},ge({isPost:!1})),de()))};var $l=fe(Gl);const Wl=Re($l,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetail",related:{settingRender:ao},defaulSetting:{props:{swiper:{dotsAlign:"center",delay:3},commodityStyles:{price:{color:"#000",fontSize:18,marginTop:24,marginBottom:10},title:{color:"#000",fontSize:23},collection:{fontSize:12,color:"#000",marginBottom:14},info:{color:"gray",fontSize:12}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:45,fontWeight:"bold",textAlign:"center",color:"rgba(255, 255, 255, 0.9)"}},style:{}},w:100,h:40,sort:1});var Yl=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Si,Ti,ql=[{title:"",child:[{type:"Media",label:"\u56FE\u6807",name:["props","icon"],mediaType:"Image"},{type:"TextArea",label:"\u5185\u5BB9",name:["props","content"]},{type:"Text",label:"\u6309\u94AE\u6587\u6848",name:["props","btnText"]},{type:"Group",label:"\u63D0\u4EA4\u6309\u94AE\u5B57\u4F53",child:[{type:"Color",name:["props","submitButtonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","submitButtonStyle","fontFamily"],options:Ue?.fontOptions,initialValue:(Ti=(Si=Ue?.fontOptions)===null||Si===void 0?void 0:Si[0])===null||Ti===void 0?void 0:Ti.value},{type:"Number",name:["props","submitButtonStyle","fontSize"],addonAfter:"px",initialValue:12}]},{type:"TextStyle",name:["props","submitButtonStyle"]},{type:"TextAlign",name:["props","submitButtonStyle"]},{label:"\u63D0\u4EA4\u6309\u94AE\u989C\u8272",type:"Color",name:["props","submitButtonStyle","backgroundColor"]}]}],wn="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 Xl=t=>{var e;if(!t||typeof t!="object")return null;const{mode:i,link:n,file:o,src:l}=t;switch(i){case 2:return n||null;case 3:return l||null;default:return o&&o.length>0?(e=o[0])===null||e===void 0?void 0:e.url:null}},Jl=t=>{var{content:e,btnText:i,style:n,icon:o,isPopup:l,isExternalLink:r,onClose:s,onClick:a,submitButtonStyle:c}=t,d=Le(t,["content","btnText","style","icon","isPopup","isExternalLink","onClose","onClick","submitButtonStyle"]);const{popupDetailData:p}=Se(),{jumpToWeb:g}=Ve(),y=typeof o=="string"?o:Xl(o),b=()=>{var T,E,u;if(r){const h=p,m=(T=h?.video)===null||T===void 0?void 0:T.bindProduct,I=(u=(E=h?.video)===null||E===void 0?void 0:E.bindProduct)===null||u===void 0?void 0:u.bindCta,k=p?.index;g(h,m,I,k)}l||s?.(),a?.()};return f.createElement("div",Object.assign({className:`pb-prompt ${me(Object.assign({},n))}`},d),f.createElement("div",{className:"pb-prompt-icon"},f.createElement("img",{width:"100%",src:y??wn,alt:"success image"})),f.createElement("div",{className:"pb-prompt-content"},e),f.createElement("button",{"aria-label":i,className:"pb-prompt-btn",style:c,onClick:b},i))};var Kl=fe(Jl);const Ql=Re(Kl,{displayName:"\u63D0\u4EA4\u6210\u529F",icon:"",category:"popup",type:"Prompt",related:{settingRender:ql,bindableProps:[],interactionRender:Yl},defaulSetting:{props:{icon:wn,content:"You have successfully completed the appointment!",btnText:"OK"},style:{}},w:100,h:40,sort:3});var xi,Ei,Zl=[{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Radius",label:"\u8F6E\u64AD\u6307\u793A\u5668",options:[{label:"\u5C45\u5DE6",value:"left"},{label:"\u5C45\u4E2D",value:"center"}],name:["props","swiper","dotsAlign"]},{type:"Number",name:["props","swiper","delay"],addonAfter:"s"},{type:"Group",child:[{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","swiper","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]}]},{title:"\u5546\u54C1\u6587\u672C",child:[{name:["props","commodityStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"\u5546\u54C1\u540D\u79F0",value:"title"},{label:"\u7CFB\u5217\u540D\u79F0",value:"collection"},{label:"\u4EF7\u683C",value:"price"},{label:"\u7A0E\u8D39\u8BF4\u660E",value:"taxInfo"},{label:"\u5546\u54C1\u63CF\u8FF0",value:"info"}],name:["props","commodityStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:he,name:["fontFamily"],initialValue:(xi=he?.[0])===null||xi===void 0?void 0:xi.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"},{label:"\u9ED8\u8BA4\u884C\u6570",type:"Number",name:["lineClamp"]}]}]},{title:"\u8D2D\u4E70\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextMargin",name:["props","buttonStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:he,initialValue:(Ei=he?.[0])===null||Ei===void 0?void 0:Ei.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]}];const es=t=>{var e,i,n,o,l,r,s,a,c,d,p,g,y,{style:b,isDefault:T,rec:E,viewTime:u,isPost:h,bottom_image:m,tipText:I,swiper:k,commodityStyles:v,buttonStyle:A,index:_}=t,S=Le(t,["style","isDefault","rec","viewTime","isPost","bottom_image","tipText","swiper","commodityStyles","buttonStyle","index"]);G(!0);const{sxpParameter:w}=Se(),{popupDetailData:D,bffEventReport:x,isPreview:C,swiperRef:O,bffFbReport:N}=Se(),{jumpToWeb:M,productView:W}=Ve(),V=Q(null);Q(null),Q(null),G(!1),G(!1),G(!0);const[B,j]=G(!1),L=Q(null),F=h?E:D,z=h?F?.product:(e=F?.video)===null||e===void 0?void 0:e.bindProduct,R=h?(i=F?.product)===null||i===void 0?void 0:i.bindCta:(o=(n=F?.video)===null||n===void 0?void 0:n.bindProduct)===null||o===void 0?void 0:o.bindCta,H=h?_:D?.index,oe=()=>{z?.link&&(M(F,z,R,H),h||W(F,z,R,u||L.current,H),window.location.href=window.getJointUtmLink(z.link))};te(()=>{h||N?.({eventName:"ProductView"})},[h,N]),te(()=>{const J=()=>{L.current=new Date};return J(),window.addEventListener("pageshow",J),()=>{window.removeEventListener("pageshow",J)}},[]);const ge=ee(()=>{var J,Y,Z,Ie,Pe;return z?.currency&&z?.price?`${(Z=(Y=(J=z?.currency)===null||J===void 0?void 0:J.split("-")[1])===null||Y===void 0?void 0:Y.toUpperCase())!==null&&Z!==void 0?Z:""}${(Pe=(Ie=z?.price)===null||Ie===void 0?void 0:Ie.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&Pe!==void 0?Pe:""}`:"\xA3102,300.00"},[z?.price,z?.currency]),de=C?375:(l=b?.width)!==null&&l!==void 0?l:window.innerWidth,q=({isPost:J})=>f.createElement("div",{hidden:!!z&&(!z?.info||z?.info==="")},f.createElement(Wt,{isPost:J,onClick:()=>j(!0),className:"pb-commondityDiroNew-info",style:v?.info,foldText:I?.foldText,unfoldText:I?.unfoldText,text:z?.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`})),K=ae(J=>J?.lineClamp?Object.assign(Object.assign({},J),{overflow:"hidden",WebkitLineClamp:J?.lineClamp,textOverflow:"ellipsis",display:"-webkit-box",webkitBoxOrient:"vertical"}):J,[]);return f.createElement("div",{className:"pb-commondityDiroNew"},f.createElement("div",Object.assign({ref:V,className:me(Object.assign({},b))},S),z&&((r=z?.homePage)===null||r===void 0?void 0:r.length)>0&&f.createElement(bt,{height:de,modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"commondityDiroNew-swipe-item-active-bullet",clickableClass:k?.dotsAlign==="left"?"commondityDiroNew-swiper-clickable-left":"commondityDiroNew-swiper-clickable-center"},loop:!0,autoplay:{delay:k?.delay*1e3}},(s=z?.homePage)===null||s===void 0?void 0:s.map(J=>f.createElement(nt,{key:J},f.createElement("div",{style:{overflow:"hidden",width:de,height:de}},f.createElement(Ze,{style:{height:"100%",width:"100%",objectFit:"cover",display:"block",objectPosition:`50% ${k?.translateY?-k?.translateY+50:50}%`},src:J}))))),!(!((a=z?.homePage)===null||a===void 0)&&a.length)&&f.createElement("div",{className:me({position:"relative",height:0,width:"100%",paddingBottom:"100%",overflow:"hidden"})},f.createElement("img",{className:me({position:"absolute",left:0,top:0,objectFit:"cover",width:"100%"}),src:(c=w?.bottom_image)!==null&&c!==void 0?c:m,alt:"pdp image"})),f.createElement("div",{className:"pb-commondityDiroNew-content"},f.createElement("div",{className:"pb-commondityDiroNew-content-top"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-left-title",style:K(v?.title)},(d=z?.title)!==null&&d!==void 0?d:"Large Dior Toujours BagLarge"),f.createElement("div",{className:"pb-commondityDiroNew-content-collection",hidden:!!z&&(!z?.collection||z?.collection===""),style:K(v?.collection)},z?.collection||"Black Macrocannage CalfskinLarge")),f.createElement("div",{className:"pb-commondityDiroNew-content-top-right"},f.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.price,style:K(v?.price)},ge),f.createElement("div",{className:"pb-commondityDiroNew-content-top-right-price",hidden:!!z&&!z?.taxInfo,style:K(v?.taxInfo)},(p=z?.taxInfo)!==null&&p!==void 0?p:"\u7A0E\u8D39"))),(!z||z?.link)&&f.createElement("button",{"aria-label":(g=R?.enTitle)!==null&&g!==void 0?g:"Shop now",onClick:oe,className:"pb-commondityDiroNew-btn",style:A},(y=R?.enTitle)!==null&&y!==void 0?y:"Shop now"),q({isPost:h}))),f.createElement($t,{visible:B,onClose:()=>j(!1)},q({isPost:!1})))};var ts=fe(es);const is=Re(ts,{displayName:"\u5546\u54C1\u8BE6\u60C5",icon:"",category:"popup",type:"CommodityDetailDiroNew",related:{settingRender:Zl},defaulSetting:{props:{swiper:{dotsAlign:"left",delay:3},commodityStyles:{price:{color:"#000",fontWeight:"bold",fontSize:13},title:{color:"#000",fontSize:13},collection:{color:"#757575",fontSize:13},info:{color:"#757575",fontSize:13},taxInfo:{color:"#000",fontWeight:"bold",fontSize:13,textAlign:"right"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25,marginTop:16,marginBottom:16}},style:{}},w:100,h:40,sort:1});var Ii,Ci,Je=[{title:"\u4E3B\u9898\u6837\u5F0F",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["style","width"],addonAfter:"W"},{type:"Number",name:["style","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["style","borderRadius"],max:100},{type:"Number",name:["style","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["style","backgroundColor"]},{label:"\u5185\u8FB9\u8DDD",type:"Number",name:["style","padding"],addonAfter:"px"},{label:"\u4E0EPost\u63CF\u8FF0\u8FB9\u8DDD",type:"Number",name:["style","marginBottom"],addonAfter:"px"}]},{title:"\u5546\u54C1\u56FE\u7247",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","img","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","img","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","img","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","img","borderRadius"],addonAfter:"px",max:100}]},{type:"Number",label:"\u4E0E\u53F3\u4FA7\u8FB9\u8DDD",addonAfter:"px",name:["props","ctaTempStyles","img","marginRight"]},{label:"\u5C45\u4E2D\u5782\u76F4\u504F\u79FB",type:"Number",name:["props","translateY"],min:-1e3,addonAfter:"%",initialValue:0}]},{title:"\u5546\u54C1\u6807\u9898\u6587\u672C",type:"commodityTitle",child:[{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","title","color"]},{type:"Select",options:he,name:["props","ctaTempStyles","title","fontFamily"],initialValue:(Ii=he?.[0])===null||Ii===void 0?void 0:Ii.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","title","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","title"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","title"]},{label:"\u95F4\u8DDD",type:"TextSpace",name:["props","ctaTempStyles","title"]}]},{title:"CTA\u6807\u9898",child:[{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","ctaTempStyles","ctaTitle","width"],addonAfter:"W"},{type:"Number",name:["props","ctaTempStyles","ctaTitle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","ctaTempStyles","ctaTitle","borderRadius"],max:100},{type:"Number",name:["props","ctaTempStyles","ctaTitle","borderRadius"],addonAfter:"px",max:100}]},{type:"Color",label:"\u80CC\u666F\u8272",name:["props","ctaTempStyles","ctaTitle","backgroundColor"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","ctaTempStyles","ctaTitle","color"]},{type:"Select",options:he,name:["props","ctaTempStyles","ctaTitle","fontFamily"],initialValue:(Ci=he?.[0])===null||Ci===void 0?void 0:Ci.value},{type:"Number",addonAfter:"px",name:["props","ctaTempStyles","ctaTitle","fontSize"]}]},{label:"\u6837\u5F0F",type:"TextStyle",name:["props","ctaTempStyles","ctaTitle"]},{label:"\u5BF9\u9F50",type:"TextAlign",name:["props","ctaTempStyles","ctaTitle"]}]}],ns=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const os=t=>{var{rec:e,children:i,className:n,onClick:o,style:l,isExternalLink:r=!1,index:s}=t;Le(t,["rec","children","className","onClick","style","isExternalLink","index"]);const a=Q(null),{popup:c}=lt(),{setPopupDetailData:d,ctaEvent:p}=Se(),{jumpToWeb:g}=Ve(),y=Ot(()=>{var b,T,E,u,h,m,I,k;const v=(T=(b=e?.video)===null||b===void 0?void 0:b.bindProduct)!==null&&T!==void 0?T:e?.video;if(p?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},e,v,s),d?.(Object.assign(Object.assign({},e),{index:s})),r){if(!((u=(E=e?.video)===null||E===void 0?void 0:E.bindProduct)===null||u===void 0)&&u.link){const A=(h=e?.video)===null||h===void 0?void 0:h.bindCta,_=(m=e?.video)===null||m===void 0?void 0:m.bindProduct;g(e,_,A,s),window.location.href=window.getJointUtmLink((k=(I=e?.video)===null||I===void 0?void 0:I.bindProduct)===null||k===void 0?void 0:k.link)}}else o?.()},c?.duration);return f.createElement("div",{ref:a,className:n,style:l,onClick:y},i)};var kt=fe(os),ls={"tow-line-ellipsis":"index-module_tow-line-ellipsis__3bKKx"};function ss(t){const e=Q(null),[i,n]=G(!1);return te(()=>{e.current=new IntersectionObserver(([o])=>{n(o.isIntersecting)})},[]),te(()=>{var o;return t?.current&&((o=e?.current)===null||o===void 0||o.observe(t?.current)),()=>{var l;(l=e?.current)===null||l===void 0||l.disconnect()}},[t]),i}const as=({src:t,rec:e,item:i,index:n,style:o,translateY:l,imgStyle:r})=>{const s=Q(null),a=ss(s),{ctaEvent:c}=Se();return te(()=>{a&&t&&s?.current&&c?.({eventSubject:"ctaExposure",eventDescription:"The cta was shown to the user"},e,i,n)},[a,t,s,e,c,i,n]),f.createElement("div",{className:me(Object.assign({overflow:"hidden",flexShrink:0,backgroundColor:"#f2f2f2"},r))},f.createElement("div",{ref:s,hidden:!t,className:me({width:"100%",height:"100%"})},f.createElement(Ze,{className:me(Object.assign({width:"100%",objectFit:"cover",height:"100%",display:"block",objectPosition:`50% ${l?-l+50:50}%`},o)),src:`${t}?imrquality/rquality/40`})))};var pt=fe(as);const rs=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:me(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:me({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:ls["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:me(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var ds=fe(rs);const cs=Re(ds,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"Commodity",related:{interactionRender:ns,bindableProps:[],settingRender:Je},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 us=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const ps=t=>{var e,i,n,o,l,r,{content:s,style:a,bgImg:c,recData:d,bottom_image:p,ctaTempStyles:g,isExternalLink:y,index:b}=t,T=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","index"]);const{sxpParameter:E}=Se(),u=(e=d?.video)===null||e===void 0?void 0:e.bindCta,h=(n=(i=u?.icon)!==null&&i!==void 0?i:E?.bottom_image)!==null&&n!==void 0?n:p;return f.createElement(kt,Object.assign({isExternalLink:y,rec:d,className:me(Object.assign({alignItems:"center"},a)),style:{display:"flex"},index:b},T),f.createElement(pt,{src:h,rec:d,item:(l=(o=d?.video)===null||o===void 0?void 0:o.bindProduct)!==null&&l!==void 0?l:d?.video,index:b,imgStyle:g?.img}),f.createElement("div",{className:me(Object.assign({overflow:"hidden",textOverflow:"ellipsis"},g?.ctaTitle))},(r=u?.enTitle)!==null&&r!==void 0?r:"Product Name"))};var vs=fe(ps);const fs=Re(vs,{displayName:"\u9884\u7EA6\u8868\u5355",icon:"",category:"template",type:"Appoint",related:{interactionRender:us,settingRender:Je?.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={"tow-line-ellipsis":"index-module_tow-line-ellipsis__nkBlU"};const hs=t=>{var e,i,n,o,l,r,s,{content:a,style:c,bgImg:d,recData:p,bottom_image:g,ctaTempStyles:y,index:b}=t,T=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","index"]);const{sxpParameter:E,bffEventReport:u}=Se(),{jumpToWeb:h}=Ve(),m=(e=p?.video)===null||e===void 0?void 0:e.bindCta,I=(i=p?.video)===null||i===void 0?void 0:i.bindProduct,k=()=>{m?.link&&(h(p,I,m,b),window.location.href=window.getJointUtmLink(m.link))},v=(o=(n=m?.icon)!==null&&n!==void 0?n:E?.bottom_image)!==null&&o!==void 0?o:g;return f.createElement(kt,Object.assign({index:b,rec:p,className:me(Object.assign({alignItems:"center"},c)),style:{display:"flex"}},T,{onClick:k}),f.createElement(pt,{src:v,rec:p,item:(r=(l=p?.video)===null||l===void 0?void 0:l.bindProduct)!==null&&r!==void 0?r:p?.video,index:b,imgStyle:y?.img}),f.createElement("div",{className:me({display:"flex",alignItems:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:ms["tow-line-ellipsis"],style:y?.ctaTitle},(s=m?.enTitle)!==null&&s!==void 0?s:"Product Name")))};var gs=fe(hs);const bs=Re(gs,{displayName:"\u8DF3\u8F6C\u6307\u5F15",icon:"",category:"template",type:"Link",related:{settingRender:Je?.filter(t=>t.type!=="commodityTitle"),bindableProps:[]},defaulSetting:{props:{ctaTempStyles:{img:{borderRadius:3,width:60,height:60,marginRight:8},ctaTitle:{fontSize:12,color:"#fff",textAlign:"left",width:130,height:20}}},style:{padding:7,width:236,height:74,borderRadius:3,backgroundColor:"rgba(0,0,0,.3)",marginBottom:8}},w:100,h:40,sort:5});var ys=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],ws={"tow-line-ellipsis":"index-module_tow-line-ellipsis__yyHVb"};const Ss=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:me(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:me({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:ws["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:me(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop Now")))};var Ts=fe(Ss);const xs=Re(Ts,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"CommodityDiro",related:{interactionRender:ys,settingRender:Je,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 Es=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Is={"tow-line-ellipsis":"index-module_tow-line-ellipsis__I-yCC"};const Cs=t=>{var e,i,n,o,l,r,s,a,c,d,{content:p,style:g,bgImg:y,recData:b,bottom_image:T,ctaTempStyles:E,isExternalLink:u,translateY:h=0,index:m}=t,I=Le(t,["content","style","bgImg","recData","bottom_image","ctaTempStyles","isExternalLink","translateY","index"]);const{sxpParameter:k}=Se(),v=(e=b?.video)===null||e===void 0?void 0:e.bindProduct,A=(l=(o=(i=v?.cover)!==null&&i!==void 0?i:(n=v?.homePage)===null||n===void 0?void 0:n[0])!==null&&o!==void 0?o:k?.bottom_image)!==null&&l!==void 0?l:T;return f.createElement(kt,Object.assign({isExternalLink:u,rec:b,className:me(Object.assign({},g)),style:{display:"flex"},index:m},I),f.createElement(pt,{src:A,rec:b,item:(s=(r=b?.video)===null||r===void 0?void 0:r.bindProduct)!==null&&s!==void 0?s:b?.video,index:m,translateY:h,imgStyle:E?.img}),f.createElement("div",{className:me({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Is["tow-line-ellipsis"],style:E?.title},(a=v?.title)!==null&&a!==void 0?a:"Product Name"),f.createElement("div",{className:me(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},E?.ctaTitle))},(d=(c=v?.bindCta)===null||c===void 0?void 0:c.enTitle)!==null&&d!==void 0?d:"Shop now")))};var _s=fe(Cs);const ks=Re(_s,{displayName:"\u63A8\u8350\u5355\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"CommodityDiroNew",related:{interactionRender:Es,bindableProps:[],settingRender:Je},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 Ds=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}];const As=({children:t,isPadding:e=!0})=>f.createElement(bt,{direction:"horizontal",slidesPerView:"auto",freeMode:!0,mousewheel:!0,modules:[yo,bo,go],style:{padding:e?"0 12px 0 20px":0}},t);var Yt=fe(As),Ps={"two-line-ellipsis":"index-module_two-line-ellipsis__SFQwJ"};const Os=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:E}=Se(),{popup:u}=lt(),{jumpToWeb:h}=Ve(),[m,I]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Ot(v=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(h(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},m?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v?.itemId,className:me(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:E?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:me({color:"#000",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Ps["two-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:me(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",borderRadius:"25px",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now"))))}))};var Ms=fe(Os);const Ls=Re(Ms,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u5706\u89D2\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiro",related:{interactionRender:Ds,bindableProps:[],settingRender:Je},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 js=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Ns={"two-line-ellipsis":"index-module_two-line-ellipsis__mdzn0"};const Bs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{sxpParameter:b}=Se(),{ctaEvent:T,setPopupDetailData:E}=Se(),{popup:u}=lt(),[h,m]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),{jumpToWeb:I}=Ve(),k=Ot(v=>{T?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),E?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(I(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},h?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v.itemId,className:me(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:b?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:me({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"space-between",width:"100%",overflow:"hidden"})},f.createElement("div",{className:Ns["two-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:me(Object.assign({padding:"2px 7px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop Now"))))}))};var zs=fe(Bs);const Fs=Re(zs,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u900F\u660E\u5E95",icon:"",category:"template",type:"MultiCommodity",related:{interactionRender:js,settingRender:Je,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 Vs=[{title:"\u70B9\u51FB\u4E8B\u4EF6",child:[{type:"link",name:"onClick"}]}],Rs={"tow-line-ellipsis":"index-module_tow-line-ellipsis__fselR"};const Hs=t=>{var e,i,{content:n,style:o,bgImg:l,recData:r,onClick:s,bottom_image:a,ctaTempStyles:c,isExternalLink:d,index:p,translateY:g=0}=t,y=Le(t,["content","style","bgImg","recData","onClick","bottom_image","ctaTempStyles","isExternalLink","index","translateY"]);const{ctaEvent:b,setPopupDetailData:T,sxpParameter:E}=Se(),{popup:u}=lt(),{jumpToWeb:h}=Ve(),[m,I]=G((i=(e=r?.video)===null||e===void 0?void 0:e.bindProducts)!==null&&i!==void 0?i:[1,2]),k=Ot(v=>{b?.({eventSubject:"clickCta",eventDescription:"User clicked the CTA"},r,v,p),T?.(Object.assign(Object.assign({},r),{video:Object.assign(Object.assign({},r?.video),{bindProduct:v}),index:p})),d?v?.link&&(h(r,v,v.bindCta,p),window.location.href=window.getJointUtmLink(v.link)):s?.()},u?.duration);return f.createElement(Yt,{isPadding:!!r},m?.map(v=>{var A,_,S,w,D,x,C;return f.createElement(f.Fragment,null,r&&!v?.bindCta?null:f.createElement(nt,Object.assign({key:v?.itemId,className:me(Object.assign(Object.assign({},o),{display:"flex",flexShrink:0,marginLeft:0,marginRight:"8px"}))},y,{onClick:()=>k(v)}),f.createElement(pt,{src:(w=(S=(A=v?.cover)!==null&&A!==void 0?A:(_=v?.homePage)===null||_===void 0?void 0:_[0])!==null&&S!==void 0?S:E?.bottom_image)!==null&&w!==void 0?w:a,rec:r,item:v,index:p,translateY:g,imgStyle:c?.img}),f.createElement("div",{className:me({color:"#fff",display:"flex",flexDirection:"column",justifyContent:"center",width:"100%",overflow:"hidden",lineHeight:"20px"})},f.createElement("div",{className:Rs["tow-line-ellipsis"],style:c?.title},(D=v?.title)!==null&&D!==void 0?D:"Product Name"),f.createElement("div",{className:me(Object.assign({textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},c?.ctaTitle))},(C=(x=v?.bindCta)===null||x===void 0?void 0:x.enTitle)!==null&&C!==void 0?C:"Shop now"))))}))};var Us=fe(Hs);const Gs=Re(Us,{displayName:"\u63A8\u8350\u591A\u5546\u54C1-\u767D\u5E95\u4E0B\u5212\u7EBF\u6309\u94AE",icon:"",category:"template",type:"MultiCommodityDiroNew",related:{interactionRender:Vs,bindableProps:[],settingRender:Je},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 _i,ki,$s=[{title:"Banner",child:[{type:"Switch",label:"Banner\u56FE\u5F00\u5173",name:["props","showBanner"]}]},{title:"\u5361\u7247\u6837\u5F0F",child:[{type:"Number",label:"\u4E0A\u4E0B\u8FB9\u8DDD",name:["props","space"],addonAfter:"px"},{type:"Switch",label:"\u56FA\u5B9A\u5BBD\u9AD8",name:["props","openFixedSize"],initialValue:!0}]},{title:"\u6587\u672C\u8BBE\u7F6E",child:[{name:["props","textStyles"],type:"SelectLinkage",child:[{label:"\u5B57\u6BB5",type:"Select",options:[{label:"hashtag\u6807\u9898",value:"hashTagTitle"},{label:"hashtag\u63CF\u8FF0",value:"hashTagDesc"},{label:"hashtag\u63CF\u8FF0\u8D85\u94FE",value:"hashTagLink"},{label:"\u6807\u9898",value:"title"},{label:"\u4EF7\u683C",value:"price"}],name:["props","textStyles","field"],initialValue:"title"},{type:"Group",label:"\u6807\u9898\u5B57\u4F53",child:[{type:"Color",name:["color"]},{type:"Select",options:he,name:["fontFamily"],initialValue:(_i=he?.[0])===null||_i===void 0?void 0:_i.value},{type:"Number",addonAfter:"px",name:["fontSize"]}]},{label:"\u6807\u9898\u6837\u5F0F",type:"TextStyle"},{label:"\u6807\u9898\u5BF9\u9F50",type:"TextAlign"}]}]},{title:"\u6309\u94AE\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonStyle","backgroundColor"],initialValue:"#000"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonStyle","height"],addonAfter:"H"}]},{type:"Group",label:"\u5706\u89D2",child:[{type:"Slider",name:["props","buttonStyle","borderRadius"],max:100},{type:"Number",name:["props","buttonStyle","borderRadius"],addonAfter:"px",max:100}]},{type:"TextPadding",name:["props","buttonBgStyle"]},{type:"Group",label:"\u5B57\u4F53",child:[{type:"Color",name:["props","buttonStyle","color"],initialValue:"#fff"},{type:"Select",name:["props","buttonStyle","fontFamily"],options:he,initialValue:(ki=he?.[0])===null||ki===void 0?void 0:ki.value},{type:"Number",name:["props","buttonStyle","fontSize"],addonAfter:"px"}]},{type:"TextStyle",name:["props","buttonStyle"]},{type:"TextAlign",name:["props","buttonStyle"]}]},{title:"\u6309\u94AE\u80CC\u666F\u6837\u5F0F",child:[{type:"Color",label:"\u80CC\u666F\u8272",name:["props","buttonBgStyle","backgroundColor"],initialValue:"#fff"},{type:"Group",label:"\u5C3A\u5BF8",child:[{type:"Number",name:["props","buttonBgStyle","height"],addonAfter:"H"}]}]}];const Ws=({icon:t,styles:e,textStyle:i,onClose:n})=>{var o;const{waterFallData:l,setOpenHashtag:r}=Se();return f.createElement("div",{className:"clc-sxp-nav",style:e},f.createElement("img",{className:"clc-sxp-nav-left",src:t,alt:"back button",onClick:n}),f.createElement("div",{className:"clc-sxp-nav-title",style:i},`#${(o=l?.hashTag)!==null&&o!==void 0?o:"\u6807\u9898"}`))};var Sn=fe(Ws),Ys=null,qs="3d989325-e7d6-4a74-8a97-98febdf5b567",Xs=null,Js=null,Ks={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"},Qs=[{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}],Zs="Handbags",Tn={productUserId:Ys,requestId:qs,channel:Xs,rtc:Js,tag:Ks,recList:Qs,hashTag:Zs};const ea=t=>{const{rec:e,style:i={},sizeChange:n=()=>{},unitWidth:o,index:l,showBorder:r,list:s,reportTagsView:a,textStyles:c,space:d}=t,{swiperRef:p,setRtcList:g,setOpenHashtag:y,sxpParameter:b}=Se(),[T,E]=G(!1);G(!1),G({height:1,width:1});const u=Q(null),h=Q(null);Q(null),Q(null);const[m,I]=G(""),k=ee(()=>{var x,C,O,N,M,W,V,B,j,L;return!((x=e?.video)===null||x===void 0)&&x.cover?(C=e?.video)===null||C===void 0?void 0:C.cover:!((N=(O=e?.video)===null||O===void 0?void 0:O.imgUrls)===null||N===void 0)&&N.length?(W=(M=e?.video)===null||M===void 0?void 0:M.imgUrls)===null||W===void 0?void 0:W[0]:!((B=(V=e?.product)===null||V===void 0?void 0:V.homePage)===null||B===void 0)&&B.length?(L=(j=e?.product)===null||j===void 0?void 0:j.homePage)===null||L===void 0?void 0:L[0]:b?.bottom_image||""},[e,b?.bottom_image]),v=ee(()=>{var x,C;return((x=e?.product)===null||x===void 0?void 0:x.title)||((C=e?.video)===null||C===void 0?void 0:C.title)||null},[e]),A=ee(()=>{var x;return i.transform?Number((x=i.transform)===null||x===void 0?void 0:x.substring(i.transform.indexOf(",",0)+1,i.transform.length-3)):void 0},[i]);ee(()=>A===void 0?!1:A<=r,[A,r]);const _=ee(()=>{var x,C,O,N,M,W,V,B,j;return!((x=e?.product)===null||x===void 0)&&x.currency&&(!((C=e?.product)===null||C===void 0)&&C.price)?`${(W=(M=(N=(O=e?.product)===null||O===void 0?void 0:O.currency)===null||N===void 0?void 0:N.split("-")[1])===null||M===void 0?void 0:M.toUpperCase())!==null&&W!==void 0?W:""}${(j=(B=(V=e?.product)===null||V===void 0?void 0:V.price)===null||B===void 0?void 0:B.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&j!==void 0?j:""}`:null},[e]);te(()=>{if(u.current===null||k==="")return;let x=null;T&&m?x=m:x=k,x&&u.current.setSrc(x)},[k,T,m]);const S=Q(),w=ae(x=>{setTimeout(()=>{var C;const O=(C=S?.current)===null||C===void 0?void 0:C.offsetHeight;n(O+56+d,l)},0)},[d,n,l,o,S]),D=()=>{a(),g?.(s),setTimeout(()=>{var x;(x=p?.current)===null||x===void 0||x.swiper.slideTo(l,0,!1),y?.(!1)},0)};return f.createElement("div",{ref:h,style:Object.assign({},i),className:"waterFallList-content-listItem",key:l,onClick:D},f.createElement("div",{className:"waterFallList-content-listItem-picture",ref:S},f.createElement(Ze,{loading:"lazy",className:"waterFallList-content-listItem-picture-img",onLoad:w,ref:u})),f.createElement("div",{className:"waterFallList-content-listItem-info"},f.createElement("div",{className:`waterFallList-content-listItem-info-title ${_?"waterFallList-content-listItem-info-nowrap":""}`,style:Object.assign({},c?.title)},v&&v),f.createElement("div",{className:"waterFallList-content-listItem-info-price",hidden:!_,style:c.price},_)))};function ta(t){var e,i,n,o,l,r,s,a,c,d,p,g,y,b,T,E,u,h,m,I,{reportTagsView:k,showBanner:v}=t,A=Le(t,["reportTagsView","showBanner"]);const{waterFallData:_,getRecommendVideos:S,hashTagSize:w,loadingImage:D,isOpenHashTag:x}=Se(),C=Q(null),[O,N]=G(0),[M,W]=G(),V=Q(null),[B,j]=G([]),L=Q(),F=[170,230,300],[z,R]=G(!1),[H,oe]=G([]),ge=Q(),de=ae((ce,we)=>Math.floor(Math.random()*(we-ce+1))+ce,[]),q=Q([]),[K,J]=G({width:0}),Y=ee(()=>{const ce=K.width||0;return ce>=1200?6:ce>=768&&ce<=1199?4:2},[K]),Z=ee(()=>K.width/Y-2,[Y,K]),Ie=ae(()=>{var ce;const we=(ce=L.current)!==null&&ce!==void 0?ce:[],ve=[];for(let pe=0;pe<H?.length;pe++){const He=Math.floor(pe/Y),Ae=pe%Y+1;let rt=0,et=9999999999;if(He===0)ve[pe]=pe;else{for(let We=0;We<ve.length;We++)q.current[ve[We]].top+q.current[ve[We]].height<et&&(rt=We,et=q.current[ve[We]].top+q.current[ve[We]].height);ve[rt]=pe}q.current[pe]===void 0&&(q.current[pe]={}),He===0?(Ae===1?q.current[pe].left=0:q.current[pe].left=q.current[pe-1].left+Z+4,q.current[pe].top=0):(q.current[pe].left=q.current[rt].left,q.current[pe].top=et),q.current[pe].height=q.current[pe].height||F[de(0,2)],we[pe]={transform:`translate(${q.current[pe].left}px,${q.current[pe].top}px)`,width:`${Z}px`,height:q.current[pe].height}}return j([...we]),[...we]},[Z,Y,F,de,H]),Pe=ae((ce,we)=>{q.current[we]===void 0&&(q.current[we]={}),q.current[we].height=ce,L.current=Ie()},[Ie]);te(()=>{L.current=Ie()},[Z,Y,H]),te(()=>{var ce,we;if(R(!0),_&&S?.({hashTag:_?.hashTag,"itemFilter.itemId":_?.itemId,"itemFilter.itemType":_?.itemType,defaultSize:w,maxSize:w}).then(ve=>{var pe,He;W(ve),oe((He=(pe=ve?.recList)===null||pe===void 0?void 0:pe.filter(Ae=>Ae?.video!==null||Ae?.product!==null))!==null&&He!==void 0?He:[]),R(!1)}),x){const ve=Tn;W(ve),oe((we=(ce=ve?.recList)===null||ce===void 0?void 0:ce.filter(pe=>pe?.video!==null||pe?.product!==null))!==null&&we!==void 0?we:[]),R(!1)}},[_,S,w,x]);const je=ae(()=>{V.current!==null&&J({width:V.current.getBoundingClientRect().width})},[]);te(()=>{if(V.current===null)return;const ce=new ResizeObserver(we=>{je()});return ce.observe(V.current),()=>{ce.disconnect()}},[je]),ae(()=>{R(!0),_&&S?.({hashTag:_?.hashTag,"itemFilter.itemId":_?.itemId,"itemFilter.itemType":_?.itemType}).then(ce=>{var we,ve;oe(H?.concat((ve=(we=ce?.recList)===null||we===void 0?void 0:we.filter(pe=>!pe?.video))!==null&&ve!==void 0?ve:[])),R(!1)})},[_,S,H]);const $e=ae(()=>{N(C.current.scrollTop)},[]);te(()=>{var ce;return(ce=C?.current)===null||ce===void 0||ce.addEventListener("scroll",$e),()=>{var we;(we=C?.current)===null||we===void 0||we.removeEventListener("scroll",$e)}},[$e,C]);const ue=()=>{var ce,we;!((ce=M?.tag)===null||ce===void 0)&&ce.link&&(k(),window.location.href=(we=M?.tag)===null||we===void 0?void 0:we.link)};return f.createElement(f.Fragment,null,z?f.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:D,alt:"loading...",style:{objectFit:"contain"}})):f.createElement("div",{className:"waterFallList",ref:V},f.createElement("div",{className:"waterFallList-scroll",ref:C},v&&((e=M?.tag)===null||e===void 0?void 0:e.picture)&&f.createElement("div",{onClick:ue},f.createElement(Ze,{className:me({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=M?.tag)===null||i===void 0?void 0:i.picture})),f.createElement("div",{className:"waterFallList-info",style:(n=A?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=M?.tag)===null||o===void 0?void 0:o.info),f.createElement("div",{hidden:!(!((l=M?.tag)===null||l===void 0)&&l.link),className:"waterFallList-collection",style:Object.assign({},(r=A?.textStyles)===null||r===void 0?void 0:r.hashTagLink),onClick:ue},((s=M?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),f.createElement("div",{className:"waterFallList-content"},H?.map((ce,we)=>{var ve;return f.createElement(ea,Object.assign({key:we,index:we,rec:ce,list:H,showBorder:O+((ve=C?.current)===null||ve===void 0?void 0:ve.clientHeight),style:B[we],sizeChange:Pe,unitWidth:Z,reportTagsView:k},A))}),f.createElement("div",{hidden:!(!((a=M?.tag)===null||a===void 0)&&a.link),style:{position:"absolute",width:"100%",transform:`translate(0px,${(y=((d=q?.current[((c=q?.current)===null||c===void 0?void 0:c.length)-1])===null||d===void 0?void 0:d.top)+((g=q?.current[((p=q?.current)===null||p===void 0?void 0:p.length)-1])===null||g===void 0?void 0:g.height))!==null&&y!==void 0?y:0}px)`,height:!((b=M?.tag)===null||b===void 0)&&b.link?((T=ge?.current)===null||T===void 0?void 0:T.offsetHeight)||((E=A?.buttonBgStyle)===null||E===void 0?void 0:E.height)||"100px":0}}))),f.createElement("div",{className:"waterFallList-bottom",hidden:!(!((u=M?.tag)===null||u===void 0)&&u.link),style:A?.buttonBgStyle}),f.createElement("div",{ref:ge,hidden:!(!((h=M?.tag)===null||h===void 0)&&h.link),className:"waterFallList-btn-wrap",style:Object.assign(Object.assign({},A?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},f.createElement("button",{"aria-label":((m=M?.tag)===null||m===void 0?void 0:m.linkTitle)||"Shop the collection",className:"waterFallList-btn",style:A?.buttonStyle,onClick:ue},((I=M?.tag)===null||I===void 0?void 0:I.linkTitle)||"Shop the collection"))))}var ia="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAaZJREFUeF7t2jFKBEEQRuG3mSJeQTARURDMTL2EqXfwAnoKD6FHMDEzNVIw2tzQC2gFggyDrExX1V92T7wz9PumFnqbXdH5teq8nwEwJqBzgfEVKDYAW8Ae8NZq3ZUm4Aa4AnaBR+C8BUIVAIu/ngSfAs9LESoAWLgB/LzWwP7SeLtfHWAu3tZ9Adz/dwD3eOUJCIlXBQiLVwQIjVcDCI9XAkiJVwFIi1cASI3PBpjb3jbd5GyyUcraCUrEZ02ATHwGgFR8NIBcfCSAZHwUgGx8BIB0vDeAfLwnQIl4L4Ay8R4ApeJbA2wD78DOZA/e7ABzk739Xz/T8rfAIfA6WYCd3BqA7NUSwCKfgLNKCK0BjoC7rzP74yoIrQGsuxSCB0ApBC+AMgieACUQvAHkESIApBGiAGQRIgEkEaIB5BAyAKQQsgBkEDIBJBCyAdIRFABSEVQA0hCUAFIQ1ADCERQBQhFUAcIQlAFCENQBfkOwg9eXpeftFQDmEOzv8ifARy8A3wiXwAHwANwujbf7q0xAi9bZZwwAN9oiDx4TUORFuS2z+wn4BAiAaEHnKChjAAAAAElFTkSuQmCC";const na=t=>{const{rec:e,index:i,list:n,reportTagsView:o,textStyles:l,space:r}=t,{swiperRef:s,setRtcList:a,setOpenHashtag:c,bffEventReport:d,sxpParameter:p}=Se(),[g,y]=G(!1),b=Q(null),T=Q(null),E=Q(null),u=Q(null),[h,m]=G(""),I=ee(()=>{var S,w,D,x,C,O,N,M,W,V;return!((S=e?.video)===null||S===void 0)&&S.cover?(w=e?.video)===null||w===void 0?void 0:w.cover:!((x=(D=e?.video)===null||D===void 0?void 0:D.imgUrls)===null||x===void 0)&&x.length?(O=(C=e?.video)===null||C===void 0?void 0:C.imgUrls)===null||O===void 0?void 0:O[0]:!((M=(N=e?.product)===null||N===void 0?void 0:N.homePage)===null||M===void 0)&&M.length?(V=(W=e?.product)===null||W===void 0?void 0:W.homePage)===null||V===void 0?void 0:V[0]:p?.bottom_image||""},[e,p?.bottom_image]),k=ee(()=>{var S,w;return((S=e?.product)===null||S===void 0?void 0:S.title)||((w=e?.video)===null||w===void 0?void 0:w.title)||null},[e]),v=ee(()=>{var S,w,D,x,C,O,N,M,W;return!((S=e?.product)===null||S===void 0)&&S.currency&&(!((w=e?.product)===null||w===void 0)&&w.price)?`${(O=(C=(x=(D=e?.product)===null||D===void 0?void 0:D.currency)===null||x===void 0?void 0:x.split("-")[1])===null||C===void 0?void 0:C.toUpperCase())!==null&&O!==void 0?O:""}${(W=(M=(N=e?.product)===null||N===void 0?void 0:N.price)===null||M===void 0?void 0:M.toLocaleString("zh",{minimumFractionDigits:0}))!==null&&W!==void 0?W:""}`:null},[e]);te(()=>{const S=new IntersectionObserver(w=>{w.forEach(D=>{if(D.isIntersecting){if(T.current===null||I==="")return;g&&h?b.current.setSrc(h):b.current.setSrc(I),S.unobserve(T.current)}})});return S.observe(T.current),()=>{S.disconnect()}},[I,g,h]);const A=(S,w,D)=>{const x=S/w;return D/x};te(()=>{const S=E?.current;S===null||I===""||!g||(S.src=I,S.currentTime=1,S.crossOrigin="anonymous",S.onloadeddata=()=>{const w=u?.current;if(!w)return;const D=w.getContext("2d"),x=window?.innerWidth/2,C=A(S.videoWidth,S.videoHeight,x);w.height=C,w.width=x,D?.drawImage(S,0,0,w.width,w.height),m(w.toDataURL()),S.remove(),w.remove()})},[I,g]);const _=()=>{o(),a?.(n),setTimeout(()=>{var S;(S=s?.current)===null||S===void 0||S.swiper.slideTo(i,0,!1),c?.(!1)},0)};return f.createElement("div",{ref:T,className:"list-content-listItem",key:i,onClick:_,style:{marginBottom:r}},f.createElement("div",{className:"list-content-listItem-picture"},g&&f.createElement("div",{style:{display:"none"}},f.createElement("video",{ref:E,crossOrigin:"anonymous",className:"list-content-listItem-picture-img"}),f.createElement("canvas",{ref:u})),f.createElement(Ze,{loading:"lazy",className:"list-content-listItem-picture-img",ref:b})),f.createElement("div",{className:"list-content-listItem-info"},f.createElement("div",{className:`list-content-listItem-info-title ${v?"list-content-listItem-info-nowrap":""}`,style:l?.title},k&&k),f.createElement("div",{className:"list-content-listItem-info-price",style:l?.price,hidden:!v},v)))};function oa(t){var e,i,n,o,l,r,s,a,c,d,p,g,y,b,T,{reportTagsView:E,showBanner:u}=t,h=Le(t,["reportTagsView","showBanner"]);const{waterFallData:m,getRecommendVideos:I,hashTagSize:k,loadingImage:v,isOpenHashTag:A}=Se(),[_,S]=G(),[w,D]=G(),[x,C]=G(!1),O=Q(null),[N,M]=G(!1);ae(()=>{N||(M(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType}).then(V=>{var B;S(_?.concat((B=V?.recList)!==null&&B!==void 0?B:[])),M(!1)}))},[m,I,_,N]),te(()=>{var V,B;if(C(!0),m&&I?.({hashTag:m?.hashTag,"itemFilter.itemId":m?.itemId,"itemFilter.itemType":m?.itemType,defaultSize:k,maxSize:k}).then(j=>{var L,F;D(j),S((F=(L=j?.recList)===null||L===void 0?void 0:L.filter(z=>z?.video!==null||z?.product!==null))!==null&&F!==void 0?F:[]),C(!1)}),A){const j=Tn;D(j),S((B=(V=j?.recList)===null||V===void 0?void 0:V.filter(L=>L?.video!==null||L?.product!==null))!==null&&B!==void 0?B:[]),C(!1)}},[m,I,k,A]);const W=()=>{var V,B;!((V=w?.tag)===null||V===void 0)&&V.link&&(E(),window.location.href=(B=w?.tag)===null||B===void 0?void 0:B.link)};return f.createElement(f.Fragment,null,x?f.createElement("div",{style:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:v,alt:"loading...",style:{objectFit:"contain"}})):f.createElement("div",{className:"list"},f.createElement("div",{className:"list-scroll",ref:O},u&&((e=w?.tag)===null||e===void 0?void 0:e.picture)&&f.createElement("div",{onClick:W},f.createElement(Ze,{className:me({width:"100%",objectFit:"cover",marginBottom:"20px"}),src:(i=w?.tag)===null||i===void 0?void 0:i.picture})),f.createElement("div",{className:"list-info",style:(n=h?.textStyles)===null||n===void 0?void 0:n.hashTagDesc},(o=w?.tag)===null||o===void 0?void 0:o.info),f.createElement("div",{hidden:!(!((l=w?.tag)===null||l===void 0)&&l.link),className:"list-collection",onClick:W,style:Object.assign(Object.assign({},(r=h?.textStyles)===null||r===void 0?void 0:r.hashTagLink),{marginBottom:h?.space})},((s=w?.tag)===null||s===void 0?void 0:s.linkTitle)||"Shop the collection"),f.createElement("div",{className:"list-content"},_?.map((V,B)=>f.createElement(na,Object.assign({key:B,index:B,rec:V,list:_,reportTagsView:E},h)))),f.createElement("div",{hidden:!N,style:{textAlign:"center"}},"loading..."),f.createElement("div",{hidden:!(!((a=w?.tag)===null||a===void 0)&&a.link),style:{height:!((c=w?.tag)===null||c===void 0)&&c.link?((d=h?.buttonBgStyle)===null||d===void 0?void 0:d.height)||((p=h?.buttonStyle)===null||p===void 0?void 0:p.height)||"100px":0}})),f.createElement("div",{className:"list-bottom",hidden:!(!((g=w?.tag)===null||g===void 0)&&g.link),style:h?.buttonBgStyle}),f.createElement("div",{hidden:!(!((y=w?.tag)===null||y===void 0)&&y.link),className:"list-btn-wrap",style:Object.assign(Object.assign({},h?.buttonBgStyle),{height:"auto",backgroundColor:"transparent"})},f.createElement("button",{"aria-label":((b=w?.tag)===null||b===void 0?void 0:b.linkTitle)||"Shop the collection",className:"list-btn",style:h?.buttonStyle,onClick:W},((T=w?.tag)===null||T===void 0?void 0:T.linkTitle)||"Shop the collection"))))}const la=t=>{var e;const{waterFallData:i,setOpenHashtag:n,openHashtag:o,swiperRef:l,setWaterFallData:r,cacheRtcList:s,setRtcList:a,cacheActiveIndex:c,rtcList:d,setCacheRtcList:p,setIsFromHashtag:g,isFromHashtag:y,bffEventReport:b,themeTag:T,selectTag:E}=Se(),{backMainFeed:u}=Ve();Q(null);const h=Q(null),[m,I]=G();te(()=>{const S=document.getElementById("sxp-render"),w=document.getElementById("water-fall");w?h.current=w:(h.current=document.createElement("div"),h.current.setAttribute("id","water-fall"),S?.appendChild(h.current))},[]);const k=()=>{const S=Oi(d,s);!S&&s&&s?.length&&a?.(s),u("branch",E,void 0,i?.hashTag),_(),r?.(void 0),g?.(!1),setTimeout(()=>{var w,D;S||(D=(w=l?.current)===null||w===void 0?void 0:w.swiper)===null||D===void 0||D.slideTo(c,0,!1),n?.(!1)},0)},[v,A]=G();te(()=>{i&&A(i)},[i]);const _=ae(()=>{var S,w,D,x,C,O;const N=v?.rec;if(!N)return;let M="";y?M="hashTagPage":!((S=N?.video)===null||S===void 0)&&S.url?M="videoPage":!((D=(w=N?.video)===null||w===void 0?void 0:w.imgUrls)===null||D===void 0)&&D.length&&(M="imagePage"),b?.({eventInfo:{contentId:(x=N?.video)===null||x===void 0?void 0:x.itemId,position:c+"",contentTags:JSON.stringify((C=N?.video)===null||C===void 0?void 0:C.tags),traceInfo:(O=N?.video)===null||O===void 0?void 0:O.traceInfo,hashTags:JSON.stringify([v?.hashTag]),fromKName:M,fromKPage:location?.href,timeOnSite:Math.floor((new Date-m)/1e3)+"",eventSubject:"clickTagsViewContents",eventDescription:"User click tags view contents"}})},[v,b,m,y,c]);return te(()=>{o&&I(new Date)},[o]),te(()=>{const S=()=>{I(new Date)};return window.addEventListener("pageshow",S),()=>{window.removeEventListener("pageshow",S)}},[]),h.current?ji.createPortal(f.createElement("div",{className:"waterfall",style:{display:o?"block":"none"}},f.createElement(Sn,{icon:ia,styles:{top:"32px"},textStyle:(e=t?.textStyles)===null||e===void 0?void 0:e.hashTagTitle,onClose:k}),t?.openFixedSize===!0||t?.openFixedSize===void 0?f.createElement(oa,Object.assign({reportTagsView:_},t)):f.createElement(ta,Object.assign({reportTagsView:_},t))),h.current):null};var xn=fe(la);const sa=t=>f.createElement(xn,Object.assign({},t));var aa=fe(sa);const ra=Re(aa,{displayName:"",icon:"",category:"base",type:"HashTag",related:{settingRender:$s,bindableProps:[]},defaulSetting:{props:{lineClamp:1,space:40,textStyles:{hashTagTitle:{fontSize:16,color:"#000"},hashTagDesc:{fontSize:12,textAlign:"center",color:"#000"},hashTagLink:{textAlign:"center",color:"#757575",fontSize:12,textDecoration:"underline"},title:{fontSize:12,color:"#000"},price:{fontSize:12,fontWeight:"bold",color:"#000"}},buttonStyle:{backgroundColor:"#000",fontSize:12,height:52,fontWeight:"bold",textAlign:"center",color:"#fff",borderRadius:25},buttonBgStyle:{backgroundColor:"#fff",height:52,paddingTop:20,paddingLeft:20,paddingRight:20,paddingBottom:20}}},w:100,h:40,sort:2});var da=[{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 En=t=>f.createElement(En,Object.assign({},t));var ca=fe(En);const ua=Re(ca,{displayName:"Consent",icon:"",category:"base",type:"Consent",related:{settingRender:da},defaulSetting:{props:{},style:{}},w:100,h:40,sort:1});var Di=Object.freeze({__proto__:null,Appoint:fs,AppointForm:so,Commodity:cs,CommodityDetail:Wl,CommodityDetailDiroNew:is,CommodityDiro:xs,CommodityDiroNew:ks,Consent:ua,HashTag:ra,Link:bs,MultiCommodity:Fs,MultiCommodityDiro:Ls,MultiCommodityDiroNew:Gs,Prompt:Ql});const pa="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",va="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",fa=t=>{var{active:e,activeIcon:i,unActicveIcon:n,recData:o,position:l}=t,r=Le(t,["active","activeIcon","unActicveIcon","recData","position"]);const{mutateLike:s,mutateUnlike:a,bffEventReport:c}=Se(),[d,p]=G(e),g=qe(va),y=qe(pa),b=Xt(()=>ze(void 0,void 0,void 0,function*(){var T,E,u,h,m,I,k,v,A,_,S,w,D,x,C,O,N,M,W,V;if(d){p(!1);const B=(u=yield a?.({videoItemId:(E=(T=o?.video)===null||T===void 0?void 0:T.itemId)!==null&&E!==void 0?E:""}))!==null&&u!==void 0?u:!1;c?.({eventInfo:{eventSubject:"favoriteContentCanceled",eventDescription:"This content was unfavorite by the user",contentId:(m=(h=o?.video)===null||h===void 0?void 0:h.itemId)!==null&&m!==void 0?m:"",contentName:(k=(I=o?.video)===null||I===void 0?void 0:I.title)!==null&&k!==void 0?k:"",contentTags:JSON.stringify((A=(v=o?.video)===null||v===void 0?void 0:v.tags)!==null&&A!==void 0?A:[]),position:l+"",contentFormat:!((_=o?.video)===null||_===void 0)&&_.url?"video":"image",traceInfo:(S=o?.video)===null||S===void 0?void 0:S.traceInfo}}),B||p(!0)}else{p(!0);const B=(w=yield s?.({content:JSON.stringify(o)}))!==null&&w!==void 0?w:!1;c?.({eventInfo:{eventSubject:"favoriteContent",eventDescription:"This content was favorite by the user",contentId:(x=(D=o?.video)===null||D===void 0?void 0:D.itemId)!==null&&x!==void 0?x:"",contentName:(O=(C=o?.video)===null||C===void 0?void 0:C.title)!==null&&O!==void 0?O:"",contentTags:JSON.stringify((M=(N=o?.video)===null||N===void 0?void 0:N.tags)!==null&&M!==void 0?M:[]),position:l+"",contentFormat:!((W=o?.video)===null||W===void 0)&&W.url?"video":"image",traceInfo:(V=o?.video)===null||V===void 0?void 0:V.traceInfo}}),B||p(!1)}}),200);return f.createElement("button",Object.assign({},r,{"aria-label":"like",onClick:b}),f.createElement("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:d?i||g:n||y,alt:"icon"}))};var In=fe(fa);const ma=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,videoRef:s})=>{const[a,c]=G(!1),{bffEventReport:d,sxpParameter:p,waterFallData:g,openHashtag:y,bffFbReport:b}=Se(),T=Q(0),[E,u]=G(!1),[h,m]=G(!0),{isActive:I}=yn(),k=Q(null),[v,A]=G(""),_=`pb-cache-video-${e}`,S=Q(null),w=ee(()=>r?.mode==="2",[r]),D=ee(()=>{var R;return r?.mode==="2"?`translateY(-${50+((R=r?.offsetTop)!==null&&R!==void 0?R:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),x=ee(()=>{var R;return((R=t?.video)===null||R===void 0?void 0:R.cover)||v},[v,t]),C=ee(()=>w?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[w]),O=ee(()=>r?.bgWay==="1",[r]),N=ee(()=>O&&r?.bgColor?{backgroundColor:r?.bgColor}:{},[r,O]);te(()=>{s&&(s.muted=o)},[o,s]);const M=ae(()=>{s&&s?.play()},[s]),W=qe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),V=ae(()=>{var R,H,oe,ge,de,q,K,J,Y;if(!s)return;u(!0),c(!1);const Z=n[e];if(Z&&s?.duration){T.current=s?.currentTime||0;const Ie=((R=s?.duration)!==null&&R!==void 0?R:0).toFixed(2),Pe=((H=s?.currentTime)!==null&&H!==void 0?H:0).toFixed(2),je=h?"0":"1";d?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(ge=(oe=Z?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ge!==void 0?ge:"",contentName:(q=(de=Z?.video)===null||de===void 0?void 0:de.title)!==null&&q!==void 0?q:"",playType:je,startTime:Pe,videoDuration:Ie,contentTags:JSON.stringify((J=(K=Z?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=Z?.video)===null||Y===void 0?void 0:Y.traceInfo}}),m(!1)}},[d,n,e,h,s]),B=ae(()=>{var R;if(!s||v||!w||(s.style.objectFit="contain",!((R=t?.video)===null||R===void 0)&&R.cover||!k||!k.current||O))return;const H=()=>{const oe=k?.current,ge=oe.getContext("2d"),de=window?.innerWidth,q=window?.innerHeight;oe.height=q,oe.width=de,ge?.drawImage(s,0,0,oe.width,oe.height),A(oe.toDataURL())};H(),setTimeout(()=>{H()},500)},[s,O,t,v,w]),j=ae(()=>{s&&B()},[s,B]),L=ae(R=>()=>{if(!s||!E)return;const H=s?.paused;switch(R){case"start":if(!H)return;s?.play(),c(!1);break;case"pause":if(H)return;s?.pause(),c(!0);break;default:H?s?.play():s?.pause(),c(!H);break}},[E,s]),F=ae(()=>{var R,H,oe,ge,de,q,K,J,Y;if(!s||l!==e)return;const Z=n[e],Ie=((R=s?.duration)!==null&&R!==void 0?R:0).toFixed(2),Pe=((H=s?.currentTime)!==null&&H!==void 0?H:0).toFixed(2);if(s?.duration){const je=(s?.currentTime-T.current).toFixed(2);d?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(ge=(oe=Z?.video)===null||oe===void 0?void 0:oe.itemId)!==null&&ge!==void 0?ge:"",contentName:(q=(de=Z?.video)===null||de===void 0?void 0:de.title)!==null&&q!==void 0?q:"",endTime:Pe,videoDuration:Ie,playDuration:je,contentTags:JSON.stringify((J=(K=Z?.video)===null||K===void 0?void 0:K.tags)!==null&&J!==void 0?J:[]),position:e+"",contentFormat:"video",traceInfo:(Y=Z?.video)===null||Y===void 0?void 0:Y.traceInfo}})}},[n,e,d,s,l]);te(()=>{if(!I||!s)return;const R=t?.video.url;if(!R)return;const H=window?.Hls;if(R.includes(".m3u8"))if(H&&H.isSupported()){const q=new H;q.loadSource(R),q.attachMedia(s)}else s.src=R;else s.src=R;c(!1);const oe=document.querySelector(`#${_}`),ge=document.querySelector("#player-container-id"),de=document.querySelector("#player-container-id-copy");if(!(!ge&&!de))return oe?.appendChild(ge||de),s.setAttribute("x5-playsinline","true"),s.setAttribute("webkit-playsinline","true"),s?.addEventListener("loadedmetadata",j),s?.addEventListener("loadeddata",B),s?.addEventListener("playing",V),s?.addEventListener("pause",F),s?.addEventListener("ended",M),()=>{de?.appendChild(ge),s?.removeEventListener("loadedmetadata",j),s?.removeEventListener("loadeddata",B),s?.removeEventListener("playing",V),s?.removeEventListener("pause",F),s?.removeEventListener("ended",M)}},[I,_,t,s]),te(()=>{!s||!E||(I?(b?.({eventName:"ViewContent"}),s?.play()):s?.pause())},[I,E,s]),te(()=>{if(!I||!s)return;!s?.paused&&y?s?.pause():y||s?.play()},[y,I,s]),te(()=>{if(!I)return;const R=()=>{L("start")(),b?.({eventName:"ViewContent"})},H=L("pause");return st.on(Ke.PAGE_DID_SHOW,R),st.on(Ke.PAGE_DID_HIDE,H),()=>{st.off(Ke.PAGE_DID_SHOW,R),st.off(Ke.PAGE_DID_HIDE,H)}},[L,I]);const z=ee(()=>!p?.placeholder_image||E?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:p?.placeholder_image,alt:"placeholder image"}),[E,p?.placeholder_image]);return te(()=>{if(!s)return;const R=()=>{var H;l===e&&(!((H=t?.video)===null||H===void 0)&&H.url)&&s&&!a&&L("pause")()};return window.addEventListener("beforeunload",R),()=>{window.removeEventListener("beforeunload",R)}},[l,e,t,s,L,a]),t?.video?f.createElement(f.Fragment,null,w?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:L(),style:Object.assign({position:"relative",width:"100%",height:i,overflow:"hidden"},N)},!O&&f.createElement(Ze,{src:x,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},C)}),f.createElement("canvas",{ref:k,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:"100%",height:"100%",top:"50%",transform:D,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:"100%",height:"100%"}},f.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",alt:"pause",src:W}))),z):f.createElement("div",{className:"video-container",key:t?.video.itemId,style:{position:"relative",width:"100%",height:i,overflow:"hidden"},onClick:L()},f.createElement("div",{className:"n-full-screen",ref:S,id:_,style:{width:"100%",height:"100%"}}),z,f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:W,alt:"pause"}))):null};var ha=fe(ma);const ga=({defaultValue:t,activeIcon:e,unactiveIcon:i,onChange:n,style:o})=>{const[l,r]=G(t),s=a=>{a.stopPropagation();const c=!l;r(c),n?.(c)};return f.createElement("button",{style:o,"aria-label":"toggle button",className:"pb-toggle-button",onClick:s},f.createElement("img",{className:"pb-toggle-button-icon",alt:"toggle image",src:l?e:i}))};var Cn=fe(ga);const ba=({imageUrl:t,style:e})=>{const[i,n]=G(!0);lt(),te(()=>{setTimeout(()=>{n(!1)},2e3)},[]);const o=qe("/pb_static/finger-swipe-tip.29dc3a48a3c746c906ea..png"),l=ee(()=>i?"pb-fadeIn":"pb-fadeOut",[i]);return f.createElement("div",{hidden:!i,className:`pb-finger-wrap ${l}`,style:e},f.createElement("img",{src:t||o,alt:"finger swiper"}))},_n=t=>{const{src:e,height:i,imgUrlsPostConfig:n,onShowFirstImage:o}=t,l=ee(()=>n?.mode==="2",[n]),r=ee(()=>{var d;return n?.mode==="2"?`translateY(-${50+((d=n?.offsetTop)!==null&&d!==void 0?d:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[n]),s=ee(()=>l?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[l]),a=ee(()=>n?.bgWay==="1",[n]),c=ee(()=>a&&n?.bgColor?{backgroundColor:n?.bgColor}:{},[n,a]);return f.createElement("div",{style:Object.assign({overflow:"hidden",height:i,width:"100%",position:"relative"},c)},(!l||!a)&&f.createElement(Ze,{src:e,style:Object.assign({height:"100%",width:"100%",objectFit:"cover"},s),onLoad:o}),l&&f.createElement(Ze,{src:e,style:{width:"100%",height:"100%",objectFit:"contain",position:"absolute",top:"50%",transform:r,left:0,right:0}}))},ya=({imgUrls:t,width:e,height:i,rec:n,index:o,onReportViewImageEnd:l,onViewImageStartEvent:r,imgUrlsPostConfig:s})=>{var a;const c=Q(),{isActive:d}=yn(),{sxpParameter:p,openHashtag:g}=Se(),[y,b]=G(!1);te(()=>{y&&d?(c?.current&&c.current.swiper.autoplay.start(),g?l(n):r(o)):c?.current&&c.current.swiper.autoplay.stop()},[n,d,l,g,o,r,y]);const T=ae(()=>{y||b(!0)},[y]);return f.createElement(bt,{ref:c,defaultValue:0,direction:"horizontal",modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,loop:!0,autoplay:{delay:((a=s?.delay)!==null&&a!==void 0?a:3)*1e3}},t?.map((E,u)=>f.createElement(nt,{key:u},f.createElement(_n,{src:!y&&u>0?"":E,height:i,imgUrlsPostConfig:s,onShowFirstImage:T}))))};var wa=fe(ya);const Sa=({tags:t,itemId:e,itemType:i,index:n,rec:o,hashTagStyle:l})=>{const[r,s]=G(!1),{setWaterFallData:a,setOpenHashtag:c,setCacheActiveIndex:d,waterFallData:p,setIsFromHashtag:g}=Se(),y=b=>{p?g?.(!0):d?.(n),a?.(i?{hashTag:b,itemId:e,itemType:i,rec:o}:{hashTag:b,rec:o}),c?.(!0)};return ee(()=>t.length<=6?null:f.createElement("span",{style:{textDecoration:"underline",cursor:"pointer",color:"#fff"},onClick:()=>s(!r)},r?"show less":"show more"),[r,t]),f.createElement("div",{className:"clc-sxp-bottom-hashtag"},f.createElement(Yt,null,t?.map((b,T)=>f.createElement(nt,{key:T,hidden:r?!1:T>=6,className:"clc-sxp-bottom-hashtag-item",style:l,onClick:()=>y(b)},`#${b}`))))};var kn=fe(Sa),Ta="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAbtJREFUeF7t2DFKxFAQxvHv6xTxCoKNiAuCna2X2NY7eAE9hYdwj2BjZ2ulYLW9pQcYDWyxBIK7ZN7MNyapk/D+v8zC20dM/OLE+zEDzBMwcYH5J1BpAMzsAMAJyU+vdZeZADN7AHAH4BjAC8kbD4QSAJv4+17wFcm3sQjyAGbWhXdff/takzwdG989Lw0wEN+te0ly9a8BIuJlJyAqXhIgMl4OIDpeCiAjXgYgK14CIDM+HSA7PhVgYHvrusnZZaOUshNUiU+ZAKX4cAC1+FAAxfgwANX4EADl+OYA6vFNASrENwOoEt8EoFK8O0C1eFcAMzsE8AXgqLcHdzvA3GVvv+89bv8FzOwcwEdvASuSy30XFXm/G0C3aDN7BXBdCcEb4ALAE4BFFQRXgM0UlEJwB6iG0ASgEkIzgCoITQEqIDQHUEcIAVBGCANQRQgFUEQIB1BDSAFQQkgDUEFIBVBASAfIRpAAyESQAchCkALIQJADiEaQBIhEkAWIQpAG+ANh8Xvk/j72CF0eYABhDeCS5PckALYQbgGcAXgm+Tg2vnu+xAR4hA69YwZoqVvh3fMEVPhKLdc4+Qn4AXwYBFBN2dYpAAAAAElFTkSuQmCC";function qt(t){return fe(function(e){const{$store:i}=$n(),n=l=>{let r=l;const s=l.match(/{{.*?}}/g);return s?.length&&s.forEach(a=>{a.replace(/{{\s*([\w.]+)\s*}}/g,(c,d)=>{if(d){const p=Mi(i,d);return r=r.replace(a,p),p}})}),r},o=ee(()=>{var l,r,s;const{bindDatas:a}=e,c=Le(e,["bindDatas"]);if((l=a?.forEach)===null||l===void 0||l.call(a,d=>{if(d?.propKey&&d?.dataPath){const{propKey:p,dataPath:g}=d;g.replace(/{{\s*([\w.]+)\s*}}/g,(y,b)=>{var T,E;if(b){const u=(E=(T=Mi(i,b))!==null&&T!==void 0?T:e[p])!==null&&E!==void 0?E:"";return c[p]=u,u}})}}),c){c.eventMap={};const d=xt(c.event)||{};for(const p in d)if(Object.prototype.hasOwnProperty.call(d,p))try{d[p].value=n(d[p].value),c.eventMap[p]=new Function(d[p].value)}catch{}}return!((s=(r=c?.event)===null||r===void 0?void 0:r.onClick)===null||s===void 0)&&s.linkType&&(c.style.cursor="pointer"),c},[i,e]);return f.createElement(t,Object.assign({},o,o.eventMap))})}const xa=({rec:t,index:e,tempMap:i,resolver:n})=>{const{schema:o}=lt(),l=ee(()=>{var r,s,a,c,d,p,g,y,b,T,E,u,h,m,I,k,v,A,_,S,w,D,x,C,O,N,M,W,V,B,j;if(!t?.video)return null;let L=null;!((s=(r=t?.video)===null||r===void 0?void 0:r.bindProducts)===null||s===void 0)&&s.length?L="\u591A\u5546\u54C1CTA":!((a=t?.video)===null||a===void 0)&&a.bindProduct?L="\u5546\u54C1CTA":L=(d=(c=t?.video)===null||c===void 0?void 0:c.bindCta)===null||d===void 0?void 0:d.itemId;const F=i?.[L];if(((p=F?.item)===null||p===void 0?void 0:p.type)==="CommodityDiro"&&!(!((g=t?.video)===null||g===void 0)&&g.bindProduct)||((y=F?.item)===null||y===void 0?void 0:y.type)==="Commodity"&&!(!((b=t?.video)===null||b===void 0)&&b.bindProduct)||((T=F?.item)===null||T===void 0?void 0:T.type)==="CommodityDiroNew"&&!(!((E=t?.video)===null||E===void 0)&&E.bindProduct)||((u=F?.item)===null||u===void 0?void 0:u.type)==="MultiCommodity"&&!(!((m=(h=t?.video)===null||h===void 0?void 0:h.bindProducts)===null||m===void 0)&&m.length)||((I=F?.item)===null||I===void 0?void 0:I.type)==="MultiCommodityDiro"&&!(!((v=(k=t?.video)===null||k===void 0?void 0:k.bindProducts)===null||v===void 0)&&v.length)||((A=F?.item)===null||A===void 0?void 0:A.type)==="MultiCommodityDiroNew"&&!(!((S=(_=t?.video)===null||_===void 0?void 0:_.bindProducts)===null||S===void 0)&&S.length))return null;if(F&&n){const z=n[(w=F?.item)===null||w===void 0?void 0:w.type],R=qt(z),H=(D=z?.extend)===null||D===void 0?void 0:D.defaulSetting,oe=((O=(C=(x=F?.item)===null||x===void 0?void 0:x.event)===null||C===void 0?void 0:C.onClick)===null||O===void 0?void 0:O.linkType)==="externalLink";return f.createElement(R,Object.assign({style:Object.assign(Object.assign(Object.assign({},H?.style),(N=F?.item)===null||N===void 0?void 0:N.style),{zIndex:50,marginLeft:"20px",boxSizing:"border-box",transform:"translate3d(0px, 0px, 0px)"}),textStyle:Object.assign(Object.assign({},H?.textStyle),(M=F?.item)===null||M===void 0?void 0:M.textStyle),bindDatas:(V=(W=F?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&V!==void 0?V:[]},H?.props,(B=F?.item)===null||B===void 0?void 0:B.props,{event:((j=F?.item)===null||j===void 0?void 0:j.event)||{},schema:o,id:F?.id,key:F?.id,recData:t,isExternalLink:oe,index:e}))}else return null},[t,n,i,o]);return f.createElement(f.Fragment,null,l)};var Dn=fe(xa);const An=({nudge:t})=>{var e,i,n,o,l,r,s;return f.createElement(f.Fragment,null,t?.isOpen&&f.createElement("div",{className:"clc-sxp-bottom-nudge",style:{marginBottom:(e=t?.marginBottom)!==null&&e!==void 0?e:5,width:(n=(i=t?.size)===null||i===void 0?void 0:i.width)!==null&&n!==void 0?n:212,height:(l=(o=t?.size)===null||o===void 0?void 0:o.height)!==null&&l!==void 0?l:38,backgroundColor:t?.backgroundColor,borderRadius:(r=t?.borderRadius)!==null&&r!==void 0?r:4}},t?.icon?f.createElement("img",{src:t.icon,alt:"nudge icon",style:{height:"100%",objectFit:"cover",flexShrink:0}}):null,f.createElement("p",{style:Object.assign(Object.assign({},t?.textStyle),{textWrap:"nowrap",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",flex:1,marginBottom:0})},(s=t?.content)!==null&&s!==void 0?s:"")))},Ea=({tagList:t=[],setActiveIndex:e})=>{const{getRecommendVideos:i,setRtcList:n,setCacheRtcList:o,setCacheActiveIndex:l,setLoading:r,swiperRef:s,waterFallData:a,bffEventReport:c,selectTag:d,setSelectTag:p}=Se(),{backMainFeed:g}=Ve(),y=ee(()=>[jt,...t],[t]),b=T=>()=>{if(T===d)return;T!=="FOR U"?c?.({eventInfo:{eventSubject:"clickThemeTagsViewContents",eventDescription:"click Theme Tags View Contents",themeTags:`['${T}']`}}):g("theme",T,d);let E;T!==jt&&(E=T),r?.(!0),i?.({themeTag:E}).then(u=>{var h,m,I,k;st.emit(Ke.CHANGE_THEME_TAG,E),n?.((h=u?.recList)!==null&&h!==void 0?h:[]),o?.((m=u?.recList)!==null&&m!==void 0?m:[]),e?.(0),l?.(0),(k=(I=s?.current)===null||I===void 0?void 0:I.swiper)===null||k===void 0||k.slideTo(0)}).finally(()=>{r?.(!1)}),p?.(T)};return a||t.length<=0?null:f.createElement("div",{className:"clc-sxp-tagbar"},f.createElement("ul",{className:"clc-sxp-tagbar-list",style:{margin:"auto",gap:24}},y.map(T=>f.createElement("li",{className:`clc-sxp-tagbar-list-item ${T===d?"clc-sxp-tagbar-list-item-active":""}`,key:T,onClick:b(T)},T))))};var Pn=fe(Ea);const On=({globalConfig:t,descStyle:e,containerHeight:i=window.innerHeight,containerWidth:n=window.innerWidth,tempMap:o,resolver:l,data:r=[],ctaType:s,tipText:a,nudge:c,_schema:d,hashTagStyle:p,tagList:g=[],licenseUrl:y})=>{var b,T,E,u,h,m,I,k,v,A;const{schema:_}=lt(),[S,w]=G(0),D=Q(0);G(!1);const[x,C]=G(!0),O=Q(),[N,M]=G(!1),[W,V]=G(!1),{loadVideos:B,bffEventReport:j,loading:L,setPopupDetailData:F,ctaEvent:z,swiperRef:R,waterFallData:H,setOpenHashtag:oe,appDomain:ge,openHashtag:de,loadingImage:q,isFromHashtag:K,popupDetailData:J,bffFbReport:Y,curTime:Z,h5EnterLink:Ie,isShowConsent:Pe,selectTag:je}=Se(),{backMainFeed:$e}=Ve(),ue=Q(),{productView:ce}=Ve(),we=ee(()=>r.length>0&&!L&&qn(),[r,L]);te(()=>{Vi()},[]),te(()=>{if(r?.length>0){const P=new Date;O.current=P,Y?.({eventName:"PageView"})}},[r?.length]);const ve=ae(()=>{if(Vi(),Ie?.(),r.length>0){const P=new Date;O.current=P,Y?.({eventName:"PageView"})}},[r.length,Y,Ie]),pe=Q();te(()=>{var P,se,X,le;!pe.current&&ue?.current&&r?.length>0&&(pe.current=!0,!((se=(P=r?.[0])===null||P===void 0?void 0:P.video)===null||se===void 0)&&se.url&&(ue.current.src=(le=(X=r?.[0])===null||X===void 0?void 0:X.video)===null||le===void 0?void 0:le.url))},[ue,r]),te(()=>{var P;const se=r?.findIndex(X=>{var le,be,ye,ie,ne,Ce,De,Be,_e;return s==="\u591A\u5546\u54C1CTA"?((le=X?.video)===null||le===void 0?void 0:le.bindProducts)&&((ye=(be=X?.video)===null||be===void 0?void 0:be.bindProducts)===null||ye===void 0?void 0:ye.length)>0:s==="\u5546\u54C1CTA"?(ie=X?.video)===null||ie===void 0?void 0:ie.bindProduct:((Ce=(ne=X?.video)===null||ne===void 0?void 0:ne.bindCta)===null||Ce===void 0?void 0:Ce.itemId)===s&&(((De=X?.video)===null||De===void 0?void 0:De.url)||((_e=(Be=X?.video)===null||Be===void 0?void 0:Be.imgUrls)===null||_e===void 0?void 0:_e.length))})||0;(P=R?.current)===null||P===void 0||P.swiper.slideTo(se)},[s,R]),te(()=>{const P=r?.[S],se=()=>{var X,le,be,ye,ie,ne,Ce,De,Be,_e,Me,vt,ft,mt,dt,Tt;const Ye=!de&&!Pe;if(document.visibilityState==="hidden"){Ye&&(st.emit(Ke.PAGE_DID_HIDE,P),$(P),xe(P));let ht="";J&&(!((le=(X=P?.video)===null||X===void 0?void 0:X.bindProducts)===null||le===void 0)&&le.length||!((be=P?.video)===null||be===void 0)&&be.bindProduct)?ht="pdpPage":J&&((Ce=o?.[(ne=(ie=(ye=P?.video)===null||ye===void 0?void 0:ye.bindCta)===null||ie===void 0?void 0:ie.itemId)!==null&&ne!==void 0?ne:""].item)===null||Ce===void 0?void 0:Ce.type)==="Appoint"?ht="formPage":K?ht="hashTagPage":!((De=P?.video)===null||De===void 0)&&De.url?ht="videoPage":!((Be=P?.video)===null||Be===void 0)&&Be.imgUrls&&(!((Me=(_e=P?.video)===null||_e===void 0?void 0:_e.imgUrls)===null||Me===void 0)&&Me.length)?ht="imagePage":P?.product&&(ht="productPage"),j?.({eventInfo:{sessionDuration:Math.floor((new Date-Z.current)/1e3)+"",eventSubject:"sessionCompleted",eventDescription:"Session completed",contentId:(vt=P?.video)===null||vt===void 0?void 0:vt.itemId,productId:(ft=P?.product)===null||ft===void 0?void 0:ft.itemId,position:S+"",fromKName:ht,fromKPage:location?.href,ctatId:(Tt=(dt=(mt=P?.video)===null||mt===void 0?void 0:mt.bindCta)===null||dt===void 0?void 0:dt.itemId)!==null&&Tt!==void 0?Tt:""}})}else document.visibilityState==="visible"&&(ve(),Ye&&(Te(S),st.emit(Ke.PAGE_DID_SHOW,P),$e("external",je)))};return document.addEventListener("visibilitychange",se),()=>{document.removeEventListener("visibilitychange",se)}},[S,j,r,ve,J,K,o,Z,$e,de,Pe,je]);const He=ee(()=>{let P=0;return g.length>0&&(P+=45,H&&(P-=45)),P},[g,H]),Ae=ee(()=>{let P=0;return t?.logoUrl&&t?.isShowLogo&&(P+=45),i-P-He},[t,i,He]),rt=ee(()=>t?.logoUrl&&t?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:t?.color}},f.createElement("img",{src:t?.logoUrl,alt:"logo"})):null,[t]),et=ae((P,se)=>{var X,le,be,ye;return!((X=P?.video)===null||X===void 0)&&X.url?f.createElement(ha,{rec:P,index:se,muted:x,data:r,height:Ae,activeIndex:S,videoPostConfig:t?.videoPost,videoRef:ue.current}):!((le=P?.video)===null||le===void 0)&&le.imgUrls?f.createElement(wa,{key:P?.video.itemId,imgUrls:P?.video.imgUrls,width:n,height:Ae,rec:P,index:se,onReportViewImageEnd:$,onViewImageStartEvent:Te,imgUrlsPostConfig:t?.imgUrlsPost}):P.product&&Array.isArray(t?.productPost)&&((be=t?.productPost)===null||be===void 0?void 0:be.length)>0?(ye=t?.productPost)===null||ye===void 0?void 0:ye.map((ie,ne)=>{var Ce,De,Be,_e,Me,vt,ft,mt;const dt=l[(Ce=ie?.item)===null||Ce===void 0?void 0:Ce.type],Tt=qt(dt),Ye=(De=dt?.extend)===null||De===void 0?void 0:De.defaulSetting;return f.createElement(Tt,Object.assign({key:`${se}${ne}`,textStyle:Object.assign(Object.assign({},Ye?.textStyle),(Be=ie?.item)===null||Be===void 0?void 0:Be.textStyle),bindDatas:(Me=(_e=ie?.item)===null||_e===void 0?void 0:_e.bindDatas)!==null&&Me!==void 0?Me:[]},Ye?.props,(vt=ie?.item)===null||vt===void 0?void 0:vt.props,{event:((ft=ie?.item)===null||ft===void 0?void 0:ft.event)||{},schema:_,id:ie?.id,viewTime:O.current,rec:P,isPost:!0,tipText:a,style:Object.assign(Object.assign(Object.assign({},Ye?.style),(mt=ie?.item)===null||mt===void 0?void 0:mt.style),{height:"100%",overflow:"auto"}),index:se}))}):null},[n,r,Ae,x,S,t?.productPost,O,a,l,_,ue.current]),We=ae(P=>{V(P)},[]),Dt=ee(()=>W?{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"},[W]),At=ae((P,se)=>{var X,le,be,ye,ie,ne,Ce;return P?.video?f.createElement(f.Fragment,null,((X=P?.video)===null||X===void 0?void 0:X.title)&&!W&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(An,{nudge:c}),t?.isShowCTA===void 0||t?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(Dn,{rec:P,index:se,tempMap:o,resolver:l})):null,f.createElement("div",null,f.createElement(Wt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:a?.foldText,unfoldText:a?.unfoldText,text:(be=(le=P?.video)===null||le===void 0?void 0:le.title)!==null&&be!==void 0?be:"",style:Object.assign(Object.assign({},e),{textShadow:t?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"}),onChange:We}),f.createElement(kn,{index:S,tags:(ie=(ye=P?.video)===null||ye===void 0?void 0:ye.hashTags)!==null&&ie!==void 0?ie:[],itemId:(ne=P?.video)===null||ne===void 0?void 0:ne.itemId,itemType:!((Ce=P?.video)===null||Ce===void 0)&&Ce.itemId?"VIDEO":null,rec:P,hashTagStyle:p})))):null},[e,S,o,l,a,c,p,t,We,W,Dt]),U=ae((P,se)=>{var X,le,be,ye;if(!t?.isShowLike)return;let ie=(X=t?.likeIconY)!==null&&X!==void 0?X:400;return H&&ie<40&&(ie+=40),P?.video?f.createElement(In,{key:P.position,activeIcon:t?.likeIcon,unActicveIcon:t?.unlikeIcon,active:P.isCollected,recData:P,className:"clc-sxp-like-button",style:{[(le=t.likeIconXPosit)!==null&&le!==void 0?le:"right"]:(be=t.likeIconX)!==null&&be!==void 0?be:0,[(ye=t.likeIconYPosit)!==null&&ye!==void 0?ye:"bottom"]:ie},position:se}):null},[t,H]),$=P=>{var se,X,le,be,ye,ie;if(!(!((se=P?.video)===null||se===void 0)&&se.url)&&(!((X=P?.video)===null||X===void 0)&&X.imgUrls)){const ne=Date.now(),Ce=(ne-D.current)/1e3;j?.({eventInfo:{eventSubject:"viewImageCarouselEnd",eventDescription:"User end view the image carousel",contentId:(be=(le=P?.video)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",contentName:(ye=P?.video.title)!==null&&ye!==void 0?ye:"",imageEndTime:`${ne}`,playDuration:`${Ce}`,contentTags:JSON.stringify((ie=P?.video.tags)!==null&&ie!==void 0?ie:[]),position:S+"",contentFormat:"image",traceInfo:P?.video.traceInfo}})}},re=P=>{var se,X,le,be,ye,ie,ne,Ce,De,Be;O.current=new Date;const _e=r[P.previousIndex];if(!_e)return;P.previousIndex-P.activeIndex<0?(j?.({eventInfo:{eventSubject:"scrollDown",eventDescription:"User scroll down",contentId:(X=(se=_e?.video)===null||se===void 0?void 0:se.itemId)!==null&&X!==void 0?X:"",productId:(be=(le=_e?.product)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",requestId:null}}),$(_e)):(j?.({eventInfo:{eventSubject:"scrollUp",eventDescription:"User scroll up",contentId:(ie=(ye=_e?.video)===null||ye===void 0?void 0:ye.itemId)!==null&&ie!==void 0?ie:"",productId:(Ce=(ne=_e.product)===null||ne===void 0?void 0:ne.itemId)!==null&&Ce!==void 0?Ce:"",requestId:null}}),$(_e)),xe(_e);const Me=r[P.activeIndex];!(!((De=Me?.video)===null||De===void 0)&&De.url)&&!(!((Be=Me?.video)===null||Be===void 0)&&Be.imgUrls)&&Me?.product&&Y?.({eventName:"ProductView"})},xe=P=>{var se,X,le;!(!((se=P?.video)===null||se===void 0)&&se.url)&&!(!((X=P?.video)===null||X===void 0)&&X.imgUrls)&&P?.product&&ce(P,P.product,(le=P?.product)===null||le===void 0?void 0:le.bindCta,O.current,S)};te(()=>{const P=r[S];de&&xe(P)},[de,r,S]);const Te=P=>{var se,X,le,be,ye,ie;const ne=r[P];if(!(!((se=ne?.video)===null||se===void 0)&&se.url)&&(!((X=ne?.video)===null||X===void 0)&&X.imgUrls)){const Ce=Date.now();D.current=Ce,j?.({eventInfo:{eventSubject:"viewImageCarouselStart",eventDescription:"User start view the image carousel",contentId:(be=(le=ne?.video)===null||le===void 0?void 0:le.itemId)!==null&&be!==void 0?be:"",contentName:(ye=ne?.video.title)!==null&&ye!==void 0?ye:"",imageStartTime:`${Ce}`,contentTags:JSON.stringify((ie=ne?.video.tags)!==null&&ie!==void 0?ie:[]),position:P+"",contentFormat:"image",traceInfo:ne?.video.traceInfo}}),Y?.({eventName:"ViewContent"})}},ke=ee(()=>{var P;const se=S===0?[(P=r?.[0])!==null&&P!==void 0?P:null]:r?.map((X,le)=>S===le||le-1===S||le+1===S?X:null);return H?se:se.concat([{loading:!0}])},[r,S,H]),Ee=ee(()=>L?f.createElement("div",{style:{height:Ae,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):ke?.map((P,se)=>f.createElement(nt,{key:se,virtualIndex:se},P&&f.createElement(f.Fragment,null,P?.loading?f.createElement("div",{style:{height:Ae,width:n,display:"flex",justifyContent:"center",alignItems:"center"}},f.createElement("img",{width:64,height:64,src:q,alt:"loading...",style:{objectFit:"contain"}})):f.createElement(f.Fragment,null,et(P,se),At(P,se),U(P,se))))),[n,r,Ae,L,At,et,ke,q]),Oe=qe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png"),ot=qe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png");return f.createElement("div",{id:"sxp-render",className:"clc-sxp-container"},H&&f.createElement(Sn,{icon:Ta,styles:{background:"rgba(0,0,0,.3)",color:"#fff"},onClose:()=>{oe?.(!0)}}),rt,f.createElement(Pn,{tagList:g,setActiveIndex:w}),we?f.createElement(ba,{imageUrl:t?.swipeTipIcon,style:{top:`${50+((b=t?.swipeTipOffset)!==null&&b!==void 0?b:0)}%`}}):null,f.createElement(bt,{style:{marginTop:He},ref:R,onSlideChange:()=>{R.current.swiper.allowTouchMove=!1,setTimeout(()=>{R.current.swiper.allowTouchMove=!0},500)},onActiveIndexChange:P=>{w(P.activeIndex),!de&&(re(P),!H&&P?.activeIndex+2>=r?.length&&(N||(M(!0),B?.(Math.ceil(S/10)+1).then(()=>{M(!1)}))))},direction:"vertical",height:Ae},f.createElement(Cn,{style:{position:"fixed",visibility:!((E=(T=r?.[S])===null||T===void 0?void 0:T.video)===null||E===void 0)&&E.url?"visible":"hidden",zIndex:999,[(u=t?.muteIconXPosit)!==null&&u!==void 0?u:"right"]:(h=t?.muteIconX)!==null&&h!==void 0?h:0,[(m=t?.muteIconYPosit)!==null&&m!==void 0?m:"bottom"]:(I=t?.muteIconY)!==null&&I!==void 0?I:23},defaultValue:x,activeIcon:t?.unMuteIcon?t?.unMuteIcon:Oe,unactiveIcon:t?.muteIcon?t?.muteIcon:ot,onChange:C}),Ee),f.createElement(xn,Object.assign({},(A=(v=(k=t?.hashTag)===null||k===void 0?void 0:k[0])===null||v===void 0?void 0:v.item)===null||A===void 0?void 0:A.props)),f.createElement("div",{style:{position:"absolute",zIndex:-100}},f.createElement("video",{ref:ue,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"}}),f.createElement("div",{id:"player-container-id-copy"})))},Ia=({imgUrls:t,width:e,height:i,imgUrlsPostConfig:n,rec:o,index:l})=>f.createElement(bt,{defaultValue:0,direction:"horizontal",modules:[Rt,Ht],pagination:{clickable:!0,bulletActiveClass:"swipe-item-active-bullet"},height:i,style:{width:e},loop:!0,autoplay:!1},t?.map(r=>f.createElement(nt,{key:r},f.createElement(_n,{src:r,height:i,imgUrlsPostConfig:n}))));var Ca=fe(Ia);const _a=({rec:t,index:e,height:i,data:n,muted:o,activeIndex:l,videoPostConfig:r,width:s})=>{const[a,c]=G(!1),d=Q(null),{bffEventReport:p,sxpParameter:g,waterFallData:y,openHashtag:b}=Se(),T=Q(0),[E,u]=G(!1),[h,m]=G(!0),I=Q(null),[k,v]=G("");te(()=>{d.current&&(d.current.muted=o)},[o]);const A=ae(()=>{var B;(B=d.current)===null||B===void 0||B.play()},[]),_=qe("/pb_static/06f28a2025c74c1cb49be6767316d827.png"),S=ae(()=>{var B,j,L,F,z,R,H,oe,ge,de,q,K,J;c(!1);const Y=n[e];if(Y&&(!((B=d?.current)===null||B===void 0)&&B.duration)){T.current=((j=d?.current)===null||j===void 0?void 0:j.currentTime)||0;const Z=((F=(L=d.current)===null||L===void 0?void 0:L.duration)!==null&&F!==void 0?F:0).toFixed(2),Ie=((R=(z=d.current)===null||z===void 0?void 0:z.currentTime)!==null&&R!==void 0?R:0).toFixed(2),Pe=h?"0":"1";p?.({eventInfo:{eventSubject:"playVideo",eventDescription:"User played the video",contentId:(oe=(H=Y?.video)===null||H===void 0?void 0:H.itemId)!==null&&oe!==void 0?oe:"",contentName:(de=(ge=Y?.video)===null||ge===void 0?void 0:ge.title)!==null&&de!==void 0?de:"",playType:Pe,startTime:Ie,videoDuration:Z,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}}),m(!1)}},[p,n,e,h]),w=ae(()=>{u(!0)},[]),D=ae(B=>()=>{var j,L,F,z,R;if(!E)return;const H=(j=d.current)===null||j===void 0?void 0:j.paused;switch(B){case"start":if(!H)return;(L=d.current)===null||L===void 0||L.play(),c(!1);break;case"pause":if(H)return;(F=d.current)===null||F===void 0||F.pause(),c(!0);break;default:H?(z=d.current)===null||z===void 0||z.play():(R=d.current)===null||R===void 0||R.pause(),c(!H);break}},[E]),x=ae(()=>{var B,j,L,F,z,R,H,oe,ge,de,q,K,J;const Y=n[e],Z=((j=(B=d.current)===null||B===void 0?void 0:B.duration)!==null&&j!==void 0?j:0).toFixed(2),Ie=((F=(L=d.current)===null||L===void 0?void 0:L.currentTime)!==null&&F!==void 0?F:0).toFixed(2);if(!((z=d?.current)===null||z===void 0)&&z.duration){const Pe=(((R=d?.current)===null||R===void 0?void 0:R.currentTime)-T.current).toFixed(2);p?.({eventInfo:{eventSubject:"playOverVideo",eventDescription:"User finished playing the video",contentId:(oe=(H=Y?.video)===null||H===void 0?void 0:H.itemId)!==null&&oe!==void 0?oe:"",contentName:(de=(ge=Y?.video)===null||ge===void 0?void 0:ge.title)!==null&&de!==void 0?de:"",endTime:Ie,videoDuration:Z,playDuration:Pe,contentTags:JSON.stringify((K=(q=Y?.video)===null||q===void 0?void 0:q.tags)!==null&&K!==void 0?K:[]),position:e+"",contentFormat:"video",traceInfo:(J=Y?.video)===null||J===void 0?void 0:J.traceInfo}})}},[n,e,p]),C=ee(()=>r?.mode==="2",[r]),O=ee(()=>{var B;return r?.mode==="2"?`translateY(-${50+((B=r?.offsetTop)!==null&&B!==void 0?B:0)}%) translate3d(0px, 0px, 0px)`:"translateY(-50%)"},[r]),N=ee(()=>{var B;return((B=t?.video)===null||B===void 0?void 0:B.cover)||k},[k,t]),M=ae(()=>{if(!I||!d||!d.current||!I.current)return;const B=d?.current,j=I?.current,L=j.getContext("2d"),F=window?.innerWidth,z=window?.innerHeight;j.height=z,j.width=F,L?.drawImage(B,0,0,j.width,j.height),v(j.toDataURL())},[]);te(()=>{var B,j,L,F;if(d.current){if(c(!1),!d.current.src){const z=t?.video.url;if(z.includes(".m3u8"))if(typeof window<"u"&&window?.Hls.isSupported()){const R=new window.Hls;R.loadSource(z),R.attachMedia(d.current)}else d.current.canPlayType("application/vnd.apple.mpegurl"),d.current.src=z;else d.current.src=z;d.current.setAttribute("x5-playsinline","true"),d.current.setAttribute("webkit-playsinline","true")}return(B=d.current)===null||B===void 0||B.addEventListener("loadedmetadata",w),(j=d.current)===null||j===void 0||j.addEventListener("canplay",w),(L=d.current)===null||L===void 0||L.addEventListener("playing",S),(F=d.current)===null||F===void 0||F.addEventListener("loadeddata",M),()=>{var z,R,H,oe;(z=d.current)===null||z===void 0||z.removeEventListener("loadedmetadata",w),(R=d.current)===null||R===void 0||R.removeEventListener("canplay",w),(H=d.current)===null||H===void 0||H.removeEventListener("playing",S),(oe=d.current)===null||oe===void 0||oe.removeEventListener("loadeddata",M)}}},[w,S,t?.video,M]);const W=ee(()=>!g?.placeholder_image||E?null:f.createElement("img",{style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:"cover"},src:g?.placeholder_image,alt:"video poster"}),[E,g?.placeholder_image]);te(()=>{const B=()=>{var j,L;l===e&&(!((j=t?.video)===null||j===void 0)&&j.url)&&(!((L=d?.current)===null||L===void 0)&&L.src)&&!a&&D("pause")()};return window.addEventListener("beforeunload",B),()=>{window.removeEventListener("beforeunload",B)}},[l,e,t,d,D,a]);const V=ee(()=>C?{filter:"blur(10px)",transform:"translate3d(0px, 0px, 0px) scale(1.2)"}:{},[C]);return t?.video?f.createElement(f.Fragment,null,C?f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.createElement(Ze,{src:N,style:Object.assign({height:i,width:s,objectFit:"cover"},V)}),f.createElement("canvas",{ref:I,style:{display:"none"}}),f.createElement("div",{style:{position:"absolute",width:s,height:i,top:"50%",transform:O,left:0,right:0}},f.createElement("div",{style:{position:"relative",width:s,height:"100%"}},f.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",ref:d,autoPlay:!0,crossOrigin:"anonymous",muted:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:A,style:{width:"100%",height:i,objectFit:"contain"}}),f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:_,alt:"video pause image"}))),W):f.createElement("div",{className:"video-container",key:t?.video.itemId,onClick:D(),style:{position:"relative",width:s,height:i,overflow:"hidden"}},f.createElement("video",{id:`pb-video-${e}`,className:"clc-pb-video",style:{width:"100%"},ref:d,crossOrigin:"anonymous",muted:!0,autoPlay:!0,controls:!1,playsInline:!0,preload:"auto",onPause:x,onEnded:A}),W,f.createElement("img",{hidden:!a,className:"clc-pb-video-pause",src:_,alt:"video pause image"}))):null};var ka=fe(_a);const Ai={};Object.values(Di).forEach(t=>{Ai[t.extend.type]=t});const Da="/pb_static/f71266d2c64446c5ae6a5a7f5489cc0a.png",Aa="/pb_static/f07900fe3f0f4ae188ea1611d4801a44.png",Pa=({data:t=[],globalConfig:e,tipText:i,nudge:n,tempMap:o,descStyle:l,hashTagStyle:r,containerHeight:s=664,containerWidth:a=375,appDomain:c,tagList:d=[]})=>{const p=ee(()=>{let v=0;return e?.logoUrl&&e?.isShowLogo&&(v+=45),d.length>0&&(v+=45),s-v},[e,s,d]),g=(v,A)=>{var _,S,w,D;if(!((_=v?.video)===null||_===void 0)&&_.url)return f.createElement(ka,{rec:v,index:A,muted:!0,width:a,data:t??[],height:p,activeIndex:A,videoPostConfig:e?.videoPost});if(!((S=v?.video)===null||S===void 0)&&S.imgUrls)return f.createElement(Ca,{key:v?.video.itemId,imgUrls:v?.video.imgUrls,width:a,height:p,rec:v,index:A,imgUrlsPostConfig:e?.imgUrlsPost});if(v.product&&v.product&&Array.isArray(e?.productPost)&&((w=e?.productPost)===null||w===void 0?void 0:w.length)>0)return(D=e?.productPost)===null||D===void 0?void 0:D.map((x,C)=>{var O,N,M,W,V,B,j,L;const F=Ai[(O=x?.item)===null||O===void 0?void 0:O.type],z=qt(F),R=(N=F?.extend)===null||N===void 0?void 0:N.defaulSetting;return f.createElement(z,Object.assign({key:`${A}${C}`,textStyle:Object.assign(Object.assign({},R?.textStyle),(M=x?.item)===null||M===void 0?void 0:M.textStyle),bindDatas:(V=(W=x?.item)===null||W===void 0?void 0:W.bindDatas)!==null&&V!==void 0?V:[]},R?.props,(B=x?.item)===null||B===void 0?void 0:B.props,{event:((j=x?.item)===null||j===void 0?void 0:j.event)||{},id:x?.id,rec:v,isPost:!0,tipText:i,style:Object.assign(Object.assign(Object.assign({},R?.style),(L=x?.item)===null||L===void 0?void 0:L.style),{width:a,height:p,overflow:"auto"}),index:A}))})},y=ee(()=>e?.logoUrl&&e?.isShowLogo?f.createElement("div",{className:"clc-sxp-logo-banner",style:{backgroundColor:e?.color}},f.createElement("img",{src:e?.logoUrl,alt:"logo"})):null,[e]),b=(v,A)=>e?.isShowCTA===void 0||e?.isShowCTA?f.createElement("div",{className:"clc-sxp-bottom-card"},f.createElement(Dn,{rec:v,index:A,tempMap:o,resolver:Ai})):null,T=(v,A)=>{var _,S,w,D,x,C,O;return v?.video?f.createElement(f.Fragment,null,((_=v?.video)===null||_===void 0?void 0:_.title)&&f.createElement("div",{className:"clc-sxp-bottom-shadow"}),f.createElement("div",{className:"clc-sxp-bottom"},f.createElement(An,{nudge:n}),b(v,A),f.createElement("div",null,f.createElement(Wt,{className:"clc-sxp-bottom-text",isPost:!0,foldText:i?.foldText,unfoldText:i?.unfoldText,text:(w=(S=v?.video)===null||S===void 0?void 0:S.title)!==null&&w!==void 0?w:"",style:Object.assign(Object.assign({},l),{textShadow:e?.isOpenTextShadow?"2px 2px 4px rgba(0, 0, 0, 0.5)":"none"})})),f.createElement(kn,{index:A,tags:(x=(D=v?.video)===null||D===void 0?void 0:D.hashTags)!==null&&x!==void 0?x:[],itemId:(C=v?.video)===null||C===void 0?void 0:C.itemId,itemType:!((O=v?.video)===null||O===void 0)&&O.itemId?"VIDEO":null,rec:v,hashTagStyle:r}))):null},E=qe(Aa,c),u=qe(Da,c),h=(v,A)=>{var _,S,w,D;if(!e?.isShowLike)return;let x=(_=e?.likeIconY)!==null&&_!==void 0?_:400;return x<40&&(x+=40),v?.video?f.createElement(In,{key:v.position,activeIcon:(S=e?.likeIcon)!==null&&S!==void 0?S:E,unActicveIcon:(w=e?.unlikeIcon)!==null&&w!==void 0?w:u,position:A,active:v.isCollected,recData:v,className:"clc-sxp-like-button",style:{top:x,right:(D=e?.likeIconX)!==null&&D!==void 0?D:0}}):null},m=qe("/pb_static/5beaaa5ce7f3477b99db3838619cc471.png",c),I=qe("/pb_static/fea8668a8a894e4aa3a86bcc775e895e.png",c),k=(v,A)=>{var _,S,w,D;return f.createElement("div",{style:{position:"relative",border:"1px solid #e1e1e1"}},y,f.createElement(Pn,{tagList:d}),f.createElement(Cn,{style:{position:"absolute",right:(_=e?.muteIconX)!==null&&_!==void 0?_:0,visibility:!((w=(S=t?.[A])===null||S===void 0?void 0:S.video)===null||w===void 0)&&w.url?"visible":"hidden",bottom:(D=e?.muteIconY)!==null&&D!==void 0?D:23,zIndex:999},defaultValue:!0,activeIcon:e?.unMuteIcon?e?.unMuteIcon:m,unactiveIcon:e?.muteIcon?e?.muteIcon:I}),g(v,A),T(v,A),h(v,A))};return f.createElement("div",{className:me({width:"100%",height:s,display:"flex",boxSizing:"border-box",gap:16,pointerEvents:"none",userSelect:"none",transform:"scale(0.7) translateX(-22%) translateY(-140px)"})},t?.map((v,A)=>k(v,A)))};var Oa=fe(Pa);const Ma=()=>{const{schema:t,resolver:e,popup:i}=lt(),{setPopupDetailData:n,popupDetailData:o,bffEventReport:l}=Se(),{productView:r}=Ve(),[s,a]=G(),c=Q(null);te(()=>{const g=()=>{c.current=new Date};return g(),window.addEventListener("pageshow",g),()=>{window.removeEventListener("pageshow",g)}},[]),te(()=>{i&&i?.id&&i?.id!==""&&(c.current=new Date,a(i))},[i]);const d=()=>{var g,y,b,T;if(!i||i?.id===""||!s||new Date-c.current<((g=i?.duration)!==null&&g!==void 0?g:0))return;a(Object.assign(Object.assign({},i),{id:""}));const E=o,u=(y=E?.video)===null||y===void 0?void 0:y.bindProduct,h=(T=(b=E?.video)===null||b===void 0?void 0:b.bindProduct)===null||T===void 0?void 0:T.bindCta;u&&h&&r(E,u,h,c.current,o?.index),setTimeout(()=>{window?.sxpPopup(""),n?.(null)},i?.duration)},p=ee(()=>{var g,y,b;return(b=(y=(g=t?.sxpPageConf)===null||g===void 0?void 0:g.globalConfig)===null||y===void 0?void 0:y.popupList)===null||b===void 0?void 0:b.map((T,E)=>{var u,h,m,I,k,v,A,_,S,w,D,x,C,O,N;if(T?.id===i?.id){const M=e[(u=T?.item)===null||u===void 0?void 0:u.type],W=qt(M),V=((I=(m=(h=T?.item)===null||h===void 0?void 0:h.event)===null||m===void 0?void 0:m.onClick)===null||I===void 0?void 0:I.linkType)==="externalLink",B=((A=(v=(k=T?.item)===null||k===void 0?void 0:k.event)===null||v===void 0?void 0:v.onClick)===null||A===void 0?void 0:A.linkType)==="popup",j=(_=M?.extend)===null||_===void 0?void 0:_.defaulSetting;return f.createElement(W,Object.assign({key:E,style:Object.assign(Object.assign(Object.assign({},j?.style),(S=T?.item)===null||S===void 0?void 0:S.style),{width:(w=window.innerWidth)!==null&&w!==void 0?w:"100vw",height:"80vh",overflow:"auto"}),textStyle:Object.assign(Object.assign({},j?.textStyle),(D=T?.item)===null||D===void 0?void 0:D.textStyle),bindDatas:(C=(x=T?.item)===null||x===void 0?void 0:x.bindDatas)!==null&&C!==void 0?C:[]},j?.props,(O=T?.item)===null||O===void 0?void 0:O.props,{event:((N=T?.item)===null||N===void 0?void 0:N.event)||{},schema:t,id:T?.id,isExternalLink:V,isPopup:B,onClose:d}))}else return f.createElement(f.Fragment,null)})},[t,i,e,d]);return f.createElement($t,{popup:s,onClose:d,padding:0,modalStyle:{position:"fixed"}},p)},Pi={};Object.values(Di).forEach(t=>{Pi[t.extend.type]=t});const La=({data:t,maxSize:e=10,defaultSize:i=10,hashTagSize:n=20,loadingImage:o,appDomain:l,licenseUrl:r,enabledMetaConversionApi:s})=>{var a,c,d,p,g,y,b,T,E,u,h;const m=ee(()=>{var I;return location?.search?(I=location?.search)===null||I===void 0?void 0:I.replace("?",""):""},[]);return f.createElement(Ki,{resolver:Pi,enableDataSource:!1,schema:t?.data,utmVal:m},f.createElement(Yi,{utmVal:m,dataSources:t?.data_sources,sxpParameter:t?.sxp_parameter,maxSize:(c=(a=t?.sxp_parameter)===null||a===void 0?void 0:a.personalized_recommend)!==null&&c!==void 0?c:e,defaultSize:(p=(d=t?.sxp_parameter)===null||d===void 0?void 0:d.default_recommend)!==null&&p!==void 0?p:i,hashTagSize:(y=(g=t?.sxp_parameter)===null||g===void 0?void 0:g.hash_tag_size)!==null&&y!==void 0?y:n,loadingImage:o,appDomain:l,enabledMetaConversionApi:s,isShowTag:(E=(T=(b=t?.data)===null||b===void 0?void 0:b.sxpPageConf)===null||T===void 0?void 0:T.globalConfig)===null||E===void 0?void 0:E.isShowTag,globalConfig:(h=(u=t?.data)===null||u===void 0?void 0:u.sxpPageConf)===null||h===void 0?void 0:h.globalConfig,render:({rtcList:I,tagList:k})=>{var v;return f.createElement(f.Fragment,null,f.createElement(On,Object.assign({},(v=t?.data)===null||v===void 0?void 0:v.sxpPageConf,{tagList:k,data:I,resolver:Pi,licenseUrl:r})),f.createElement(Ma,null))}}))};var ja=fe(La);const Mn=It({}),Na=({children:t,data:e})=>{var i,n,o,l,r,s,a,c,d,p,g,y,b;const[T,E]=G(!1),[u,h]=G(!1);return f.createElement(Mn.Provider,{value:{sxpPrameter:{bottomImage:(i=e?.sxp_parameter)===null||i===void 0?void 0:i.bottom_image,defaultRecommend:(n=e?.sxp_parameter)===null||n===void 0?void 0:n.default_recommend,personalizedRecommend:(o=e?.sxp_parameter)===null||o===void 0?void 0:o.personalized_recommend,placeholderImage:(l=e?.sxp_parameter)===null||l===void 0?void 0:l.placeholder_image,hashTagSize:(r=e?.sxp_parameter)===null||r===void 0?void 0:r.hash_tag_size,loadingImage:(s=e?.sxp_parameter)===null||s===void 0?void 0:s.loading_image,privacyContent:(a=e?.sxp_parameter)===null||a===void 0?void 0:a.privacy_context,privacyNecessity:(c=e?.sxp_parameter)===null||c===void 0?void 0:c.privacy_necessity,privacyPolicyTitle:(d=e?.sxp_parameter)===null||d===void 0?void 0:d.privacy_policy_title,privacyPolicyUrl:(p=e?.sxp_parameter)===null||p===void 0?void 0:p.privacy_policy_url,privacyTitle:(g=e?.sxp_parameter)===null||g===void 0?void 0:g.privacy_title,template:(y=e?.sxp_parameter)===null||y===void 0?void 0:y.template,industry:(b=e?.sxp_parameter)===null||b===void 0?void 0:b.industry},appDomain:e?.appDomain,openHashtag:T,setOpenHashtag:E,openConsent:u,setOpenConsent:h}},t)};function Ba(){return Et(Mn)}export{Oa as DiyPortalPreview,Na as EditorDataProvider,$t as Modal,Yi as SxpDataSourceProvider,ja as SxpPageCore,On as SxpPageRender,eo as core,Gn as default,Ue as defaultSetting,Di as materials,Ba as useEditorDataProvider};
7
7
  //# sourceMappingURL=index.min.js.map