@crystaldesign/diva-web-planner-react 24.11.0-beta.39 → 24.11.0-beta.40
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 6665.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6665],{46665:(e,n,t)=>{t.r(n),t.d(n,{default:()=>ne});var i=t(84451),r=t(36520),s=t(64281),o=t.n(s),a=t(970),c=t(14488),d=t(41594),l=t(88893),p=t(25835),w=t.n(p),u=t(69120),m=t.n(u),g=t(91148),v=t.n(g),h=t(73035),x=t.n(h),j=t(24959),f=t.n(j),y=t(15004),b=t.n(y),N=t(25566),M={};M.styleTagTransform=b(),M.setAttributes=x(),M.insert=v().bind(null,"head"),M.domAPI=m(),M.insertStyleElement=f();w()(N.A,M);N.A&&N.A.locals&&N.A.locals;var D=t(82246);const z=function URL(e){var n=e.item,t=n.url,i=(n.icon,n.text);return t?(0,D.jsx)("a",{className:N.x,href:t,target:"_blank",rel:"noopener",children:null!=i?i:"URL"}):(0,D.jsx)(D.Fragment,{})};function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,l.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const A=function Image(e){var n=e.item,t=n.url,i=n.cover,r=void 0===i||i,s=n.style,o=n.altText,a={};if(!t)return(0,D.jsx)(D.Fragment,{});var c=new URL(t);return r?(a.objectFit="cover",a.minWidth="100%",a.minHeight="100%"):(a.maxWidth="100%",a.maxHeight="100%"),(0,D.jsx)("img",{alt:o,style:_objectSpread(_objectSpread({},a),s),src:c.toString()})};var L=t(58880),O={};O.styleTagTransform=b(),O.setAttributes=x(),O.insert=v().bind(null,"head"),O.domAPI=m(),O.insertStyleElement=f();w()(L.Ay,O);L.Ay&&L.Ay.locals&&L.Ay.locals;const S=function Video(e){var n=e.item,t=n.url,i=n.thumb;if(!t)return(0,D.jsx)(D.Fragment,{});if(t.includes("youtube.com")||t.includes("youtu.be")){if(i)return(0,D.jsx)("div",{className:L.iJ});var r=new URL(t);return r.searchParams.set("autoplay","1"),r.searchParams.set("modestbranding","1"),r.searchParams.set("rel","0"),r.searchParams.set("controls","1"),r.searchParams.set("amp",""),(0,D.jsx)("iframe",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:r.toString(),referrerPolicy:"strict-origin-when-cross-origin",allow:"autoplay; gyroscope; picture-in-picture"})}return(0,D.jsx)("video",{className:L.cV,"aria-disabled":i,disablePictureInPicture:i,controls:!i,playsInline:!0,autoPlay:!i,children:(0,D.jsx)("source",{src:t+(i?"#t=2":""),type:t.includes(".mp4")?"video/mp4":"video/webm"})})};var I=t(55721),T={};T.styleTagTransform=b(),T.setAttributes=x(),T.insert=v().bind(null,"head"),T.domAPI=m(),T.insertStyleElement=f();w()(I.A,T);I.A&&I.A.locals&&I.A.locals;const C=function Title(e){var n=e.item,t=n.text,i=n.style;return t?(0,D.jsx)("h4",{className:I.D,style:i,children:t}):(0,D.jsx)(D.Fragment,{})};var Q=t(28742),k=t(77745),P={};P.styleTagTransform=b(),P.setAttributes=x(),P.insert=v().bind(null,"head"),P.domAPI=m(),P.insertStyleElement=f();w()(k.A,P);k.A&&k.A.locals&&k.A.locals;var U=t(53499),E=t(95042),Y=t(43813),W={};W.styleTagTransform=b(),W.setAttributes=x(),W.insert=v().bind(null,"head"),W.domAPI=m(),W.insertStyleElement=f();w()(Y.Ay,W);Y.Ay&&Y.Ay.locals&&Y.Ay.locals;function Gallery_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Gallery_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gallery_ownKeys(Object(t),!0).forEach((function(n){(0,l.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gallery_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=function Gallery(e){var n=e.item,t=n.content,i=n.wrappingStyle,r=(0,d.useState)(null),s=(0,Q.A)(r,2),o=s[0],a=s[1];return 0==t.length?(0,D.jsx)(D.Fragment,{}):1==t.length?(0,D.jsx)(R,{item:Gallery_objectSpread({},t[0])}):(0,D.jsxs)("div",{style:Gallery_objectSpread({},i),children:[(0,D.jsx)(U.RC,{style:{"--swiper-navigation-color":"#fff","--swiper-pagination-color":"#fff"},spaceBetween:10,navigation:!0,thumbs:{swiper:o},modules:[E.U1,E.Vx,E.WO],className:Y.p7,children:t.map((function(e,n){return(0,D.jsx)(U.qr,{children:(0,D.jsx)(R,{item:e})},n)}))}),(0,D.jsx)(U.RC,{onSwiper:a,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:[E.U1,E.Vx,E.WO],className:Y.FB,children:t.map((function(e,n){return(0,D.jsx)(U.qr,{children:(0,D.jsx)(R,{item:Gallery_objectSpread(Gallery_objectSpread({},e),"Video"==e.type?{thumb:!0}:{})})},n)}))})]})};const G=function RichText(e){var n=e.item,t=n.text,i=n.style;return(0,D.jsx)("div",{style:i,dangerouslySetInnerHTML:{__html:t}})};const H=function Wrapper(e){var n=e.item,t=n.style,i=n.content;return(0,D.jsx)("div",{style:t,children:i.map((function(e,n){return(0,D.jsx)(R,{item:e},n)}))})};const R=function ContentItem(e){var n=e.item;switch(n.type){case"Gallery":return(0,D.jsx)(_,{item:n});case"Image":return(0,D.jsx)(A,{item:n});case"RichText":return(0,D.jsx)(G,{item:n});case"Title":return(0,D.jsx)(C,{item:n});case"URL":return(0,D.jsx)(z,{item:n});case"Video":return(0,D.jsx)(S,{item:n});case"Wrapper":return(0,D.jsx)(H,{item:n})}throw new Error("unkonwn type: "+n.type)};const K=function ContentItems(e){var n=e.contentItems,t=e.wrapperStyle;return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("div",{style:t,id:"diva-content-item",children:n.map((function(e,n){return(0,D.jsx)(R,{item:e},n)}))})})};function src_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function src_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?src_ownKeys(Object(t),!0).forEach((function(n){(0,l.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):src_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var V=function Main(e){var n=e.settings;e.parameters,e.internal;return(0,D.jsx)(K,src_objectSpread({},n))},Z=function ContentItemComponent(e){return(0,D.jsx)(V,src_objectSpread({},e))};var B=t(5219),F=t(75772),J={};J.styleTagTransform=b(),J.setAttributes=x(),J.insert=v().bind(null,"head"),J.domAPI=m(),J.insertStyleElement=f();w()(F.Ay,J);F.Ay&&F.Ay.locals&&F.Ay.locals;var q=t(99124),X=t.n(q),$=t(72919),ee=t.n($);const ne=(0,a.PA)((function ContentItemWrapper(e){var n,t=e.id,s=e.startPos,a=void 0===s?"left":s,l=(0,c.useDivaCore)(),p=l.handler.contentItemHandler,w=l.actions,u=w.openSideMenu,m=w.closeSideMenu,g=(0,c.useTranslation)().i18n.language,v=(0,B.hV)(),h=(0,d.useState)(),x=(0,r.A)(h,2),j=x[0],f=x[1];(0,d.useEffect)((function(){t&&y()}),[t]);var y=function(){var e=(0,i.A)(o().mark((function _callee(){var e;return o().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p.getContentItem(t,g);case 2:e=n.sent,f(e),v.getIsInMobileView()&&u({side:"left",onClose:function onClose(){v.settingsState.setContentItemId(),m()},open:!0,content:(0,D.jsx)("div",{className:ee()(F.Hw),children:(0,D.jsx)(Z,{settings:{contentItems:e.content,wrapperStyle:{display:"flex",flexDirection:"column",height:"100%"}}})})});case 5:case"end":return n.stop()}}),_callee)})));return function loadData(){return e.apply(this,arguments)}}();if((0,d.useEffect)((function(){void 0===t&&f(void 0)}),[t]),!j)return(0,D.jsx)(D.Fragment,{});if(v.getIsInMobileView())return(0,D.jsx)(D.Fragment,{});var b=null===(n=v.productState.productElement)||void 0===n?void 0:n.getBoundingClientRect();return(0,D.jsx)(X(),{handle:".handle",bounds:"parent",defaultPosition:"right"==a?{x:null!=b&&b.width?(null==b?void 0:b.width)-508:0,y:0}:void 0,children:(0,D.jsxs)("div",{className:F.iE,style:{maxHeight:null!=b&&b.height&&b.height<720?(null==b?void 0:b.height)-20:700},children:[(0,D.jsxs)("div",{className:F.wx,children:[(0,D.jsx)("div",{className:ee()("handle",F.p$)}),(0,D.jsx)("div",{className:F.ut,onClick:function onClick(){return v.settingsState.setContentItemId()}})]}),(0,D.jsx)(Z,{settings:{contentItems:j.content,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"}}})]})})}))},43813:(e,n,t)=>{t.d(n,{Ay:()=>d,FB:()=>c,p7:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,"#diva-content-item .swiper {\n width: 100%;\n height: 100%;\n}\n#diva-content-item .swiper-slide {\n text-align: center;\n font-size: 18px;\n background: #fff;\n\n /* Center slide text vertically */\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n#diva-content-item .swiper {\n width: 100%;\n height: 300px;\n margin-left: auto;\n margin-right: auto;\n}\n#diva-content-item .swiper-slide {\n background-size: cover;\n background-position: center;\n}\n#diva-content-item .index-module--IiX4N {\n height: 80%;\n width: 100%;\n}\n#diva-content-item .index-module--36qLk {\n height: 20%;\n box-sizing: border-box;\n padding: 10px 0;\n}\n#diva-content-item .index-module--36qLk .swiper-slide {\n width: 25%;\n height: 100%;\n opacity: 0.4;\n}\n#diva-content-item .index-module--36qLk .swiper-slide-thumb-active {\n opacity: 1;\n}\n",""]);var a="index-module--IiX4N",c="index-module--36qLk";const d=o},55721:(e,n,t)=>{t.d(n,{A:()=>c,D:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,".index-module--AS7l5 {\n font-size: 18px;\n font-weight: 500;\n}\n",""]);var a="index-module--AS7l5";const c=o},25566:(e,n,t)=>{t.d(n,{A:()=>c,x:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,".index-module--dhq13 {\n margin-top: 12px;\n margin-bottom: 12px;\n text-align: right;\n position: relative;\n display: block;\n width: 100%;\n}\n",""]);var a="index-module--dhq13";const c=o},58880:(e,n,t)=>{t.d(n,{Ay:()=>m,cV:()=>w,iJ:()=>u});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(67977),t.b),l=o()(r()),p=c()(d);l.push([e.id,`.index-module--hh6v2 {\n width: 100%;\n}\n\n.index-module--KAsNL {\n background: center / 75% no-repeat url(${p});\n width: 100%;\n height: 100%;\n}\n`,""]);var w="index-module--hh6v2",u="index-module--KAsNL";const m=l},75772:(e,n,t)=>{t.d(n,{Ay:()=>h,Hw:()=>v,iE:()=>w,p$:()=>m,ut:()=>g,wx:()=>u});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(58710),t.b),l=o()(r()),p=c()(d);l.push([e.id,`.index-module--PHyND {\n z-index: 1000;\n position: absolute;\n display: flex;\n background: white;\n width: 450px;\n flex-direction: column;\n\n color: #4f4f4f;\n font-size: 15px;\n box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25098);\n border-radius: 5px;\n top: 0;\n margin: 4px;\n}\n\n.index-module--eHX0S {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n position: absolute;\n z-index: 1100;\n}\n\n.index-module--opzpY {\n cursor: move;\n flex-grow: 1;\n}\n\n.index-module--xW2n4 {\n padding: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url(${p});\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n\n.index-module--xW2n4:hover {\n background-size: 36%;\n cursor: pointer;\n}\n\n.index-module--xq_Dt {\n height: 100%;\n}\n`,""]);var w="index-module--PHyND",u="index-module--eHX0S",m="index-module--opzpY",g="index-module--xW2n4",v="index-module--xq_Dt";const h=l},77745:(e,n,t)=>{t.d(n,{A:()=>w});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(73951),t.b),l=o()(r()),p=c()(d);l.push([e.id,`/*Free mode*/\n#diva-content-item .swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n/*navigation*/\n:root {\n --swiper-navigation-size: 44px;\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-button-prev {\n position: absolute;\n top: 50%;\n width: calc(44px / 44 * 27);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: 44px;\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (44px / 2));\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #007aff;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n#diva-content-item .swiper-button-next.swiper-button-disabled,\n#diva-content-item .swiper-button-prev.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-button-next.swiper-button-hidden,\n#diva-content-item .swiper-button-prev.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-navigation-disabled .swiper-button-next,\n#diva-content-item .swiper-navigation-disabled .swiper-button-prev {\n display: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n text-transform: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n font-family: swiper-icons;\n font-size: 44px;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n#diva-content-item .swiper-button-prev,\n#diva-content-item .swiper-rtl .swiper-button-next {\n left: 10px;\n right: auto;\n}\n#diva-content-item .swiper-button-prev:after,\n#diva-content-item .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-rtl .swiper-button-prev {\n right: 10px;\n left: auto;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n#diva-content-item .swiper-button-lock {\n display: none;\n}\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url(${p});\n font-weight: 400;\n font-style: normal;\n}\n:root {\n --swiper-theme-color: #007aff;\n}\n#diva-content-item .swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n#diva-content-item .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n#diva-content-item .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n}\n#diva-content-item .swiper-android .swiper-slide,\n#diva-content-item .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n#diva-content-item .swiper-pointer-events {\n touch-action: pan-y;\n}\n#diva-content-item .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n#diva-content-item .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n#diva-content-item .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n#diva-content-item .swiper-autoheight,\n#diva-content-item .swiper-autoheight .swiper-slide {\n height: auto;\n}\n#diva-content-item .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n#diva-content-item .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n#diva-content-item .swiper-3d,\n#diva-content-item .swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n#diva-content-item .swiper-3d .swiper-cube-shadow,\n#diva-content-item .swiper-3d .swiper-slide,\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top,\n#diva-content-item .swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {\n display: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n}\n#diva-content-item .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n#diva-content-item .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n#diva-content-item .swiper-centered > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n`,""]);const w=l},67977:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjgwMHB4IiB3aWR0aD0iODAwcHgiIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgCgkgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMzkuMjU2LDYuNUg5Ljc0NEM0LjM3MSw2LjUsMCwxMC44ODUsMCwxNi4yNzR2MTYuNDUxYzAsNS4zOSw0LjM3MSw5Ljc3NCw5Ljc0NCw5Ljc3NGgyOS41MTIKCQkJYzUuMzczLDAsOS43NDQtNC4zODUsOS43NDQtOS43NzRWMTYuMjc0QzQ5LDEwLjg4NSw0NC42MjksNi41LDM5LjI1Niw2LjV6IE00NywzMi43MjZjMCw0LjI4Ny0zLjQ3NCw3Ljc3NC03Ljc0NCw3Ljc3NEg5Ljc0NAoJCQlDNS40NzQsNDAuNSwyLDM3LjAxMiwyLDMyLjcyNlYxNi4yNzRDMiwxMS45ODgsNS40NzQsOC41LDkuNzQ0LDguNWgyOS41MTJjNC4yNywwLDcuNzQ0LDMuNDg4LDcuNzQ0LDcuNzc0VjMyLjcyNnoiLz4KCQk8cGF0aCBkPSJNMzMuMzYsMjQuMTM4bC0xMy44NTUtOC4xMTVjLTAuMzA4LTAuMTgtMC42OTEtMC4xODMtMS4wMDItMC4wMDVTMTgsMTYuNTI3LDE4LDE2Ljg4NnYxNi4yMjkKCQkJYzAsMC4zNTgsMC4xOT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jQ1QzAuNDUxMTg1IDguODQxNzEgMC40NTExODUgOS4xNTgyOSAwLjY0NjQ0NyA5LjM1MzU1QzAuODQxNzA5IDkuNTQ4ODEgMS4xNTgyOSA5LjU0ODgxIDEuMzUzNTUgOS4zNTM1NUwwLjY0NjQ0NyA4LjY0NjQ1Wk0wLjY0NjQ0NyAxLjM1MzU1TDguNjQ2NDUgOS4zNTM1NUw5LjM1MzU1IDguNjQ2NDVMMS4zNTM1NSAwLjY0NjQ0N0wwLjY0NjQ0NyAxLjM1MzU1Wk04LjY0NjQ1IDAuNjQ2NDQ3TDAuNjQ2NDQ3IDguNjQ2NDVMMS4zNTM1NSA5LjM1MzU1TDkuMzUzNTUgMS4zNTM1NUw4LjY0NjQ1IDAuNjQ2NDQ3WiIgZmlsbD0iIzRGNEY0RiIvPgo8L3N2Zz4K"}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[6665],{46665:(e,n,t)=>{t.r(n),t.d(n,{default:()=>ne});var i=t(84451),r=t(36520),s=t(64281),o=t.n(s),a=t(970),c=t(14488),d=t(41594),p=t(88893),l=t(25835),w=t.n(l),u=t(69120),m=t.n(u),g=t(91148),v=t.n(g),h=t(73035),x=t.n(h),j=t(24959),f=t.n(j),y=t(15004),b=t.n(y),N=t(25566),M={};M.styleTagTransform=b(),M.setAttributes=x(),M.insert=v().bind(null,"head"),M.domAPI=m(),M.insertStyleElement=f();w()(N.A,M);N.A&&N.A.locals&&N.A.locals;var D=t(82246);const z=function URL(e){var n=e.item,t=n.url,i=(n.icon,n.text);return t?(0,D.jsx)("a",{className:N.x,href:t,target:"_blank",rel:"noopener",children:null!=i?i:"URL"}):(0,D.jsx)(D.Fragment,{})};function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function _objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?ownKeys(Object(t),!0).forEach((function(n){(0,p.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const A=function Image(e){var n=e.item,t=n.image,i=n.cover,r=void 0===i||i,s=n.style,o=n.altText,a={};if(!t)return(0,D.jsx)(D.Fragment,{});var c=new URL(t);return r?(a.objectFit="cover",a.minWidth="100%",a.minHeight="100%"):(a.maxWidth="100%",a.maxHeight="100%"),(0,D.jsx)("img",{alt:o,style:_objectSpread(_objectSpread({},a),s),src:c.toString()})};var L=t(58880),O={};O.styleTagTransform=b(),O.setAttributes=x(),O.insert=v().bind(null,"head"),O.domAPI=m(),O.insertStyleElement=f();w()(L.Ay,O);L.Ay&&L.Ay.locals&&L.Ay.locals;const S=function Video(e){var n=e.item,t=n.video,i=n.thumb;if(!t)return(0,D.jsx)(D.Fragment,{});if(t.includes("youtube.com")||t.includes("youtu.be")){if(i)return(0,D.jsx)("div",{className:L.iJ});var r=new URL(t);return r.searchParams.set("autoplay","1"),r.searchParams.set("modestbranding","1"),r.searchParams.set("rel","0"),r.searchParams.set("controls","1"),r.searchParams.set("amp",""),(0,D.jsx)("iframe",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},src:r.toString(),referrerPolicy:"strict-origin-when-cross-origin",allow:"autoplay; gyroscope; picture-in-picture"})}return(0,D.jsx)("video",{className:L.cV,"aria-disabled":i,disablePictureInPicture:i,controls:!i,playsInline:!0,autoPlay:!i,children:(0,D.jsx)("source",{src:t+(i?"#t=2":""),type:t.includes(".mp4")?"video/mp4":"video/webm"})})};var I=t(55721),T={};T.styleTagTransform=b(),T.setAttributes=x(),T.insert=v().bind(null,"head"),T.domAPI=m(),T.insertStyleElement=f();w()(I.A,T);I.A&&I.A.locals&&I.A.locals;const C=function Title(e){var n=e.item,t=n.text,i=n.style;return t?(0,D.jsx)("h4",{className:I.D,style:i,children:t}):(0,D.jsx)(D.Fragment,{})};var Q=t(28742),k=t(77745),P={};P.styleTagTransform=b(),P.setAttributes=x(),P.insert=v().bind(null,"head"),P.domAPI=m(),P.insertStyleElement=f();w()(k.A,P);k.A&&k.A.locals&&k.A.locals;var U=t(53499),E=t(95042),Y=t(43813),W={};W.styleTagTransform=b(),W.setAttributes=x(),W.insert=v().bind(null,"head"),W.domAPI=m(),W.insertStyleElement=f();w()(Y.Ay,W);Y.Ay&&Y.Ay.locals&&Y.Ay.locals;function Gallery_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function Gallery_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gallery_ownKeys(Object(t),!0).forEach((function(n){(0,p.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gallery_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const _=function Gallery(e){var n=e.item,t=n.content,i=n.wrappingStyle,r=(0,d.useState)(null),s=(0,Q.A)(r,2),o=s[0],a=s[1];return 0==t.length?(0,D.jsx)(D.Fragment,{}):1==t.length?(0,D.jsx)(R,{item:Gallery_objectSpread({},t[0])}):(0,D.jsxs)("div",{style:Gallery_objectSpread({},i),children:[(0,D.jsx)(U.RC,{style:{"--swiper-navigation-color":"#fff","--swiper-pagination-color":"#fff"},spaceBetween:10,navigation:!0,thumbs:{swiper:o},modules:[E.U1,E.Vx,E.WO],className:Y.p7,children:t.map((function(e,n){return(0,D.jsx)(U.qr,{children:(0,D.jsx)(R,{item:e})},n)}))}),(0,D.jsx)(U.RC,{onSwiper:a,spaceBetween:10,slidesPerView:4,freeMode:!0,watchSlidesProgress:!0,modules:[E.U1,E.Vx,E.WO],className:Y.FB,children:t.map((function(e,n){return(0,D.jsx)(U.qr,{children:(0,D.jsx)(R,{item:Gallery_objectSpread(Gallery_objectSpread({},e),"Video"==e.type?{thumb:!0}:{})})},n)}))})]})};const G=function RichText(e){var n=e.item,t=n.text,i=n.style;return(0,D.jsx)("div",{style:i,dangerouslySetInnerHTML:{__html:t}})};const H=function Wrapper(e){var n=e.item,t=n.style,i=n.content;return(0,D.jsx)("div",{style:t,children:i.map((function(e,n){return(0,D.jsx)(R,{item:e},n)}))})};const R=function ContentItem(e){var n=e.item;switch(n.type){case"Gallery":return(0,D.jsx)(_,{item:n});case"Image":return(0,D.jsx)(A,{item:n});case"RichText":return(0,D.jsx)(G,{item:n});case"Title":return(0,D.jsx)(C,{item:n});case"URL":return(0,D.jsx)(z,{item:n});case"Video":return(0,D.jsx)(S,{item:n});case"Wrapper":return(0,D.jsx)(H,{item:n})}throw new Error("unkonwn type: "+n.type)};const K=function ContentItems(e){var n=e.contentItems,t=e.wrapperStyle;return(0,D.jsx)(D.Fragment,{children:(0,D.jsx)("div",{style:t,id:"diva-content-item",children:n.map((function(e,n){return(0,D.jsx)(R,{item:e},n)}))})})};function src_ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function src_objectSpread(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?src_ownKeys(Object(t),!0).forEach((function(n){(0,p.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):src_ownKeys(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var V=function Main(e){var n=e.settings;e.parameters,e.internal;return(0,D.jsx)(K,src_objectSpread({},n))},Z=function ContentItemComponent(e){return(0,D.jsx)(V,src_objectSpread({},e))};var B=t(5219),F=t(75772),J={};J.styleTagTransform=b(),J.setAttributes=x(),J.insert=v().bind(null,"head"),J.domAPI=m(),J.insertStyleElement=f();w()(F.Ay,J);F.Ay&&F.Ay.locals&&F.Ay.locals;var q=t(99124),X=t.n(q),$=t(72919),ee=t.n($);const ne=(0,a.PA)((function ContentItemWrapper(e){var n,t=e.id,s=e.startPos,a=void 0===s?"left":s,p=(0,c.useDivaCore)(),l=p.handler.contentItemHandler,w=p.actions,u=w.openSideMenu,m=w.closeSideMenu,g=(0,c.useTranslation)().i18n.language,v=(0,B.hV)(),h=(0,d.useState)(),x=(0,r.A)(h,2),j=x[0],f=x[1];(0,d.useEffect)((function(){t&&y()}),[t]);var y=function(){var e=(0,i.A)(o().mark((function _callee(){var e;return o().wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,l.getContentItem(t,g);case 2:e=n.sent,f(e),v.getIsInMobileView()&&u({side:"left",onClose:function onClose(){v.settingsState.setContentItemId(),m()},open:!0,content:(0,D.jsx)("div",{className:ee()(F.Hw),children:(0,D.jsx)(Z,{settings:{contentItems:e.content,wrapperStyle:{display:"flex",flexDirection:"column",height:"100%"}}})})});case 5:case"end":return n.stop()}}),_callee)})));return function loadData(){return e.apply(this,arguments)}}();if((0,d.useEffect)((function(){void 0===t&&f(void 0)}),[t]),!j)return(0,D.jsx)(D.Fragment,{});if(v.getIsInMobileView())return(0,D.jsx)(D.Fragment,{});var b=null===(n=v.productState.productElement)||void 0===n?void 0:n.getBoundingClientRect();return(0,D.jsx)(X(),{handle:".handle",bounds:"parent",defaultPosition:"right"==a?{x:null!=b&&b.width?(null==b?void 0:b.width)-508:0,y:0}:void 0,children:(0,D.jsxs)("div",{className:F.iE,style:{maxHeight:null!=b&&b.height&&b.height<720?(null==b?void 0:b.height)-20:700},children:[(0,D.jsxs)("div",{className:F.wx,children:[(0,D.jsx)("div",{className:ee()("handle",F.p$)}),(0,D.jsx)("div",{className:F.ut,onClick:function onClick(){return v.settingsState.setContentItemId()}})]}),(0,D.jsx)(Z,{settings:{contentItems:j.content,wrapperStyle:{display:"flex",flexDirection:"column",maxHeight:"inherit"}}})]})})}))},43813:(e,n,t)=>{t.d(n,{Ay:()=>d,FB:()=>c,p7:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,"#diva-content-item .swiper {\n width: 100%;\n height: 100%;\n}\n#diva-content-item .swiper-slide {\n text-align: center;\n font-size: 18px;\n background: #fff;\n\n /* Center slide text vertically */\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n#diva-content-item .swiper {\n width: 100%;\n height: 300px;\n margin-left: auto;\n margin-right: auto;\n}\n#diva-content-item .swiper-slide {\n background-size: cover;\n background-position: center;\n}\n#diva-content-item .index-module--IiX4N {\n height: 80%;\n width: 100%;\n}\n#diva-content-item .index-module--36qLk {\n height: 20%;\n box-sizing: border-box;\n padding: 10px 0;\n}\n#diva-content-item .index-module--36qLk .swiper-slide {\n width: 25%;\n height: 100%;\n opacity: 0.4;\n}\n#diva-content-item .index-module--36qLk .swiper-slide-thumb-active {\n opacity: 1;\n}\n",""]);var a="index-module--IiX4N",c="index-module--36qLk";const d=o},55721:(e,n,t)=>{t.d(n,{A:()=>c,D:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,".index-module--AS7l5 {\n font-size: 18px;\n font-weight: 500;\n}\n",""]);var a="index-module--AS7l5";const c=o},25566:(e,n,t)=>{t.d(n,{A:()=>c,x:()=>a});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s)()(r());o.push([e.id,".index-module--dhq13 {\n margin-top: 12px;\n margin-bottom: 12px;\n text-align: right;\n position: relative;\n display: block;\n width: 100%;\n}\n",""]);var a="index-module--dhq13";const c=o},58880:(e,n,t)=>{t.d(n,{Ay:()=>m,cV:()=>w,iJ:()=>u});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(67977),t.b),p=o()(r()),l=c()(d);p.push([e.id,`.index-module--hh6v2 {\n width: 100%;\n}\n\n.index-module--KAsNL {\n background: center / 75% no-repeat url(${l});\n width: 100%;\n height: 100%;\n}\n`,""]);var w="index-module--hh6v2",u="index-module--KAsNL";const m=p},75772:(e,n,t)=>{t.d(n,{Ay:()=>h,Hw:()=>v,iE:()=>w,p$:()=>m,ut:()=>g,wx:()=>u});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(58710),t.b),p=o()(r()),l=c()(d);p.push([e.id,`.index-module--PHyND {\n z-index: 1000;\n position: absolute;\n display: flex;\n background: white;\n width: 450px;\n flex-direction: column;\n\n color: #4f4f4f;\n font-size: 15px;\n box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.25098);\n border-radius: 5px;\n top: 0;\n margin: 4px;\n}\n\n.index-module--eHX0S {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n position: absolute;\n z-index: 1100;\n}\n\n.index-module--opzpY {\n cursor: move;\n flex-grow: 1;\n}\n\n.index-module--xW2n4 {\n padding: 12px;\n z-index: 1002;\n width: -moz-max-content;\n width: max-content;\n width: 36px;\n height: 36px;\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 28%;\n background-image: url(${l});\n transition: background-size 100ms ease-in;\n cursor: pointer;\n}\n\n.index-module--xW2n4:hover {\n background-size: 36%;\n cursor: pointer;\n}\n\n.index-module--xq_Dt {\n height: 100%;\n}\n`,""]);var w="index-module--PHyND",u="index-module--eHX0S",m="index-module--opzpY",g="index-module--xW2n4",v="index-module--xq_Dt";const h=p},77745:(e,n,t)=>{t.d(n,{A:()=>w});var i=t(38634),r=t.n(i),s=t(92083),o=t.n(s),a=t(1946),c=t.n(a),d=new URL(t(73951),t.b),p=o()(r()),l=c()(d);p.push([e.id,`/*Free mode*/\n#diva-content-item .swiper-free-mode > .swiper-wrapper {\n transition-timing-function: ease-out;\n margin: 0 auto;\n}\n/*navigation*/\n:root {\n --swiper-navigation-size: 44px;\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-button-prev {\n position: absolute;\n top: 50%;\n width: calc(44px / 44 * 27);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: 44px;\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (44px / 2));\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: #007aff;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n#diva-content-item .swiper-button-next.swiper-button-disabled,\n#diva-content-item .swiper-button-prev.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-button-next.swiper-button-hidden,\n#diva-content-item .swiper-button-prev.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n#diva-content-item .swiper-navigation-disabled .swiper-button-next,\n#diva-content-item .swiper-navigation-disabled .swiper-button-prev {\n display: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n text-transform: none !important;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-button-prev:after {\n font-family: swiper-icons;\n font-size: 44px;\n font-size: var(--swiper-navigation-size);\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n#diva-content-item .swiper-button-prev,\n#diva-content-item .swiper-rtl .swiper-button-next {\n left: 10px;\n right: auto;\n}\n#diva-content-item .swiper-button-prev:after,\n#diva-content-item .swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n#diva-content-item .swiper-button-next,\n#diva-content-item .swiper-rtl .swiper-button-prev {\n right: 10px;\n left: auto;\n}\n#diva-content-item .swiper-button-next:after,\n#diva-content-item .swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n#diva-content-item .swiper-button-lock {\n display: none;\n}\n\n/*swiper min css*/\n\n@font-face {\n font-family: swiper-icons;\n src: url(${l});\n font-weight: 400;\n font-style: normal;\n}\n:root {\n --swiper-theme-color: #007aff;\n}\n#diva-content-item .swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n z-index: 1;\n}\n#diva-content-item .swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n#diva-content-item .swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n}\n#diva-content-item .swiper-android .swiper-slide,\n#diva-content-item .swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n#diva-content-item .swiper-pointer-events {\n touch-action: pan-y;\n}\n#diva-content-item .swiper-pointer-events.swiper-vertical {\n touch-action: pan-x;\n}\n#diva-content-item .swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n#diva-content-item .swiper-slide-invisible-blank {\n visibility: hidden;\n}\n#diva-content-item .swiper-autoheight,\n#diva-content-item .swiper-autoheight .swiper-slide {\n height: auto;\n}\n#diva-content-item .swiper-autoheight .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n}\n#diva-content-item .swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n#diva-content-item .swiper-3d,\n#diva-content-item .swiper-3d.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n}\n#diva-content-item .swiper-3d .swiper-cube-shadow,\n#diva-content-item .swiper-3d .swiper-slide,\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top,\n#diva-content-item .swiper-3d .swiper-wrapper {\n transform-style: preserve-3d;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow,\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom,\n#diva-content-item .swiper-3d .swiper-slide-shadow-left,\n#diva-content-item .swiper-3d .swiper-slide-shadow-right,\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-3d .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {\n display: none;\n}\n#diva-content-item .swiper-css-mode > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n}\n#diva-content-item .swiper-horizontal.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n}\n#diva-content-item .swiper-vertical.swiper-css-mode > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n}\n#diva-content-item .swiper-centered > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n}\n[dir="ltr"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-left: var(--swiper-centered-offset-before);\n}\n[dir="rtl"] #diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {\n margin-right: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-horizontal > .swiper-wrapper::before {\n height: 100%;\n min-height: 1px;\n width: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {\n margin-top: var(--swiper-centered-offset-before);\n}\n#diva-content-item .swiper-centered.swiper-vertical > .swiper-wrapper::before {\n width: 100%;\n min-width: 1px;\n height: var(--swiper-centered-offset-after);\n}\n#diva-content-item .swiper-centered > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n}\n`,""]);const w=p},67977:e=>{e.exports="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjgwMHB4IiB3aWR0aD0iODAwcHgiIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgCgkgdmlld0JveD0iMCAwIDQ5IDQ5IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNMzkuMjU2LDYuNUg5Ljc0NEM0LjM3MSw2LjUsMCwxMC44ODUsMCwxNi4yNzR2MTYuNDUxYzAsNS4zOSw0LjM3MSw5Ljc3NCw5Ljc0NCw5Ljc3NGgyOS41MTIKCQkJYzUuMzczLDAsOS43NDQtNC4zODUsOS43NDQtOS43NzRWMTYuMjc0QzQ5LDEwLjg4NSw0NC42MjksNi41LDM5LjI1Niw2LjV6IE00NywzMi43MjZjMCw0LjI4Ny0zLjQ3NCw3Ljc3NC03Ljc0NCw3Ljc3NEg5Ljc0NAoJCQlDNS40NzQsNDAuNSwyLDM3LjAxMiwyLDMyLjcyNlYxNi4yNzR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