@crystaldesign/diva-web-planner-react 26.13.0-beta.15 → 26.13.0-beta.17
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/build/umd/1017.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1026.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1064.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1067.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1101.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/117.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1316.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1337.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1421.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1429.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1449.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1488.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1559.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1596.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/181.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1839.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1899.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1919.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1932.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1970.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/1972.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2018.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2027.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2077.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2147.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2407.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2411.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2535.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2582.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2586.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2659.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2667.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/269.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/274.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/2765.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3156.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3167.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3189.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3492.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3562.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3596.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3613.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3861.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3863.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3879.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3947.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/3981.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4069.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4081.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4103.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/412.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4178.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4342.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4533.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4558.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4572.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4585.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4599.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4606.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4874.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/4903.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5067.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/509.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5115.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5162.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5174.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5222.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5262.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5406.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5414.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5464.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5499.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5552.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5765.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5782.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/5859.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6196.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6253.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6315.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6343.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6609.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/673.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6871.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6937.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/6960.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7026.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7037.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7040.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7292.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7406.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7442.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7449.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7472.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7577.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7623.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7625.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7654.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7684.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7792.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7847.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7853.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/7887.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8029.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8234.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8405.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8445.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8449.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8471.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/858.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8584.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/863.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8654.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8701.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/8717.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/902.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9121.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9147.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9273.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/945.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9554.diva-web-planner-react.umd.min.js +2 -0
- package/build/umd/9554.diva-web-planner-react.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/9566.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9587.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9638.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9643.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9715.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/9770.diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/diva-web-planner-react.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +10 -10
- package/build/umd/3971.diva-web-planner-react.umd.min.js +0 -2
- package/build/umd/3971.diva-web-planner-react.umd.min.js.LICENSE.txt +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1017.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1017],{41017:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1017],{41017:(n,e,t)=>{t.r(e),t.d(e,{default:()=>Z});var i=t(38946),C=t(93379),o=t.n(C),l=t(7795),d=t.n(l),s=t(90569),a=t.n(s),r=t(3565),x=t.n(r),m=t(19216),c=t.n(m),u=t(44589),h=t.n(u),f=t(23240),v={};v.styleTagTransform=h(),v.setAttributes=x(),v.insert=a().bind(null,"head"),v.domAPI=d(),v.insertStyleElement=c();o()(f.ZP,v);f.ZP&&f.ZP.locals&&f.ZP.locals;var p=t(87363),g=t(91214),w=t(65515),j=t.n(w),I=t(9420),S=t(47514);const Z=(0,I.Pi)((function InfoIcon(n){var e,t,C,o=n.item,l=n.style,d=(0,g.NP)(),s=o.contentItemId,a=null!==(e=null!==(t=null!==(C=o.codex)&&void 0!==C?C:o.articleCodex)&&void 0!==t?t:o.title)&&void 0!==e?e:o.key,r=(0,p.useState)(!1),x=(0,i.Z)(r,2),m=x[0],c=x[1],u=o.sel||m;if((0,p.useEffect)((function(){var n=d.settingsState.contentItemVisible&&d.settingsState.contentItemId==s&&a==d.settingsState.clickedFrom;!n&&m&&c(!1),n&&!m&&c(!0)}),[d.settingsState.contentItemVisible,d.settingsState.contentItemId,d.settingsState.clickedFrom]),!o)throw new Error("item for infoIcon not defined");return function showIcon(){var n;return!o.op||null===(n=d.uiState.ViewConfig.infoIconSettings)||void 0===n||!n.onlyShowSelectedOPV||u}()?(0,S.jsx)("div",{className:f.um,onClick:function onClick(n){d.settingsState.onClickContentItemId(s,a),c(d.settingsState.contentItemVisible&&d.settingsState.contentItemId==s),n.stopPropagation()},style:l,children:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:j()(f.hv,u?void 0:f.al,m?f.FJ:void 0),children:(0,S.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,S.jsx)("path",{className:f.Oq,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5Z",fill:"#fff"}),(0,S.jsx)("path",{className:f.fL,d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})}),(0,S.jsx)("div",{className:j()(f.dA,u?f.al:void 0),children:(0,S.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,S.jsx)("rect",{x:"1",y:"1",width:"18",height:"18",rx:"9",fill:"#fff"}),(0,S.jsx)("path",{d:"M10.0003 14.75C10.2129 14.75 10.391 14.6781 10.5345 14.5343C10.6782 14.3906 10.75 14.2125 10.75 14V9.75C10.75 9.5375 10.6781 9.35933 10.5343 9.2155C10.3904 9.07183 10.2122 9 9.99975 9C9.78708 9 9.609 9.07183 9.4655 9.2155C9.32183 9.35933 9.25 9.5375 9.25 9.75V14C9.25 14.2125 9.32192 14.3906 9.46575 14.5343C9.60958 14.6781 9.78775 14.75 10.0003 14.75ZM10 7.2885C10.2288 7.2885 10.4207 7.21108 10.5755 7.05625C10.7303 6.90142 10.8077 6.70958 10.8077 6.48075C10.8077 6.25192 10.7303 6.06008 10.5755 5.90525C10.4207 5.75058 10.2288 5.67325 10 5.67325C9.77117 5.67325 9.57933 5.75058 9.4245 5.90525C9.26967 6.06008 9.19225 6.25192 9.19225 6.48075C9.19225 6.70958 9.26967 6.90142 9.4245 7.05625C9.57933 7.21108 9.77117 7.2885 10 7.2885ZM10.0017 19.5C8.68775 19.5 7.45267 19.2507 6.2965 18.752C5.14033 18.2533 4.13467 17.5766 3.2795 16.7218C2.42433 15.8669 1.74725 14.8617 1.24825 13.706C0.749417 12.5503 0.5 11.3156 0.5 10.0017C0.5 8.68775 0.749333 7.45267 1.248 6.2965C1.74667 5.14033 2.42342 4.13467 3.27825 3.2795C4.13308 2.42433 5.13833 1.74725 6.294 1.24825C7.44967 0.749417 8.68442 0.5 9.99825 0.5C11.3123 0.5 12.5473 0.749333 13.7035 1.248C14.8597 1.74667 15.8653 2.42342 16.7205 3.27825C17.5757 4.13308 18.2528 5.13833 18.7518 6.294C19.2506 7.44967 19.5 8.68442 19.5 9.99825C19.5 11.3123 19.2507 12.5473 18.752 13.7035C18.2533 14.8597 17.5766 15.8653 16.7218 16.7205C15.8669 17.5757 14.8617 18.2528 13.706 18.7518C12.5503 19.2506 11.3156 19.5 10.0017 19.5ZM10 18C12.2333 18 14.125 17.225 15.675 15.675C17.225 14.125 18 12.2333 18 10C18 7.76667 17.225 5.875 15.675 4.325C14.125 2.775 12.2333 2 10 2C7.76667 2 5.875 2.775 4.325 4.325C2.775 5.875 2 7.76667 2 10C2 12.2333 2.775 14.125 4.325 15.675C5.875 17.225 7.76667 18 10 18Z",fill:"#4F4F4F"})]})})]})}):(0,S.jsx)(S.Fragment,{})}))},23240:(n,e,t)=>{t.d(e,{FJ:()=>x,Oq:()=>r,ZP:()=>u,al:()=>c,dA:()=>a,fL:()=>m,hv:()=>s,um:()=>d});var i=t(8081),C=t.n(i),o=t(23645),l=t.n(o)()(C());l.push([n.id,".index-module--CjCgr {\n position: absolute;\n bottom: 0px;\n right: 0px;\n cursor: pointer;\n}\n.index-module--C9QBx,\n.index-module--a2wqn {\n position: absolute;\n opacity: 1;\n transition: 0.3s opacity ease;\n z-index: 20;\n}\n.index-module--C9QBx rect,\n.index-module--a2wqn rect,\n.index-module--C9QBx path,\n.index-module--a2wqn path {\n transition: 0.3s fill ease;\n}\n\n.index-module--CjCgr svg {\n transition: 0.3s filter ease;\n}\n\n.index-module--CjCgr,\n.index-module--CjCgr svg {\n width: 20px;\n width: var(--infoIconSize, 20px);\n height: 20px;\n height: var(--infoIconSize, 20px);\n transition:\n 0.3s width ease,\n 0.3s height ease;\n}\n\n.index-module--C9QBx:hover .index-module--fLFjU,\n.index-module--nTN4r .index-module--fLFjU {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--C9QBx:hover .index-module--FaRqp,\n.index-module--nTN4r .index-module--FaRqp {\n fill: transparent;\n}\n\n.index-module--C9QBx:hover svg,\n.index-module--a2wqn:hover svg {\n filter: drop-shadow(3px 3px 3px #bbb);\n}\n\n.index-module--a2wqn:hover path {\n fill: var(--diva-theme-palette-primary-main);\n}\n.index-module--oBSZj {\n opacity: 0;\n z-index: 10;\n}\n",""]);var d="index-module--CjCgr",s="index-module--C9QBx",a="index-module--a2wqn",r="index-module--fLFjU",x="index-module--nTN4r",m="index-module--FaRqp",c="index-module--oBSZj";const u=l}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1026.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1026],{1026:(r,t,a)=>{a.r(t),a.d(t,{default:()=>s});var o=a(
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1026],{1026:(r,t,a)=>{a.r(t),a.d(t,{default:()=>s});var o=a(61965),e=a(91214),n=a(9420),i=a(87363),l=a(88683),u=a(47514);const s=(0,n.Pi)((function TabGroupItemHorizontal(r){var t,a=r.tabGroup,n=(0,e.NP)(),s=(0,l.useTranslation)().t,p=n.tabGroupState.allTabGroups,b=(0,o.Z)(p.values()),y=(null===(t=b[0])||void 0===t?void 0:t.key)===a.key,c=(0,i.useCallback)((function(r){window.lastNavigationType="TABGROUP_BY_POS_NR",n.tabGroupState.navigateToTabgroupByPosNr(+r.posNr)}),[n.tabGroupState]),d=(0,i.useCallback)((function(r){return function(t){t&&n.tabGroupState.setTabGroupItems(r,t)}}),[n.tabGroupState]),v=n.tabGroupState.curTabGroup,f=null==v?void 0:v.key;return y&&0!==b.length?(0,u.jsx)("div",{className:"wysiwyg-tab-group-tabs",style:{display:"flex",gap:0,borderBottom:"1px solid var(--wysiwygTabBorderColor, #d9d9d9)"},children:b.map((function(r){return(0,u.jsx)("button",{ref:d(r.key),onClick:function onClick(){return c(r)},style:{padding:"8px 16px",border:"none",borderBottom:r.key===f?"2px solid var(--wysiwygTabActiveColor, var(--primaryColor, #1677ff))":"2px solid transparent",background:"none",cursor:"pointer",fontWeight:r.key===f?600:400,color:r.key===f?"var(--wysiwygTabActiveColor, var(--primaryColor, #1677ff))":"var(--wysiwygTabTextColor, inherit)"},children:s("configurator."+r.title,r.title)},r.key)}))}):null}))}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1064.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1064,4514,8029],{41064:(e,n,t)=>{t.r(n),t.d(n,{default:()=>L});var r=t(84658),o=t(34988),a=t(50747),i=t.n(a),l=t(91214),s=t(87363),c=t(9420),d=t(88683),u=t(70318),p=t.n(u),A=t(62383),g=t(93379),v=t.n(g),f=t(7795),b=t.n(f),w=t(90569),m=t.n(w),h=t(3565),R=t.n(h),y=t(19216),S=t.n(y),C=t(44589),D=t.n(C),E=t(42044),P={};P.styleTagTransform=D(),P.setAttributes=R(),P.insert=m().bind(null,"head"),P.domAPI=b(),P.insertStyleElement=S();v()(E.Z,P);E.Z&&E.Z.locals&&E.Z.locals;var I=t(14514),T=t(47514),x=(0,d.getLogger)("Planner","Planner3D");const L=(0,c.Pi)((function Planner3D(){var e,n,t,a=(0,l.NP)(),c=(0,s.useRef)(),u=(0,s.useRef)(null),g=(0,d.useTranslation)().t,v=(0,s.useState)(!1),f=(0,o.Z)(v,2),b=f[0],w=f[1],m=(0,s.useState)(),h=(0,o.Z)(m,2),R=h[0],y=h[1],S=(0,s.useRef)(),C=(0,s.useState)([]),D=(0,o.Z)(C,2),E=D[0],P=D[1],L=(0,s.useRef)(!0),U=a.viewPlannerHandler.getPlannerViewConfig(),j=(0,d.useDivaCore)(),k=j.actions,O=j.state,B=O.apiConfig,Y=O.isMobile,K=O.jwt,X=O.isFirefox,W=O.idm3DEnvironmentEnabled,G=O.dimensions,F=G.isTablet,J=G.isMobile||F,Q=J&&a.uiState.AllConfig.arViewerIframe,V=a.uiState.AllConfig.arViewerUrl+"?arObject=1";return(0,s.useEffect)((function(){k.loadModelViewer();var e=function messageListener(e){var n;u.current&&("AR_CLOSE"===e.data.type&&(a.productState.setDoShowARQRCode(!1),u.current.style.zIndex="0",u.current.style.position="absolute",u.current.style.opacity="0",a.productState.setIsARIframeVisible(!1),u.current.src=V,w(!1)),"AR_READY"===e.data.type&&a.productState.doShowARQRCode&&(x.debug("[AR-DEBUG-PARENT] Planner3D received AR_READY, currentBlob:",!!S.current),u.current.style.zIndex="10000",u.current.style.position="fixed",u.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),k.closeModal(),S.current&&(x.debug("[AR-DEBUG-PARENT] Planner3D resending SET_AR_OBJECT on AR_READY, blob size:",S.current.size),null===(n=u.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:S.current},"*"))))};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}),[]),(0,s.useEffect)((function(){var e,n;(x.debug("[AR-DEBUG-PARENT] Planner3D useEffect doShowARQRCode:",a.productState.doShowARQRCode,"arViewerIframe:",Q,"currentBlob:",!!S.current,"iframeRef:",!!u.current),u.current&&Q&&a.productState.doShowARQRCode&&S.current)&&(x.debug("[AR-DEBUG-PARENT] Planner3D sending SET_AR_OBJECT via useEffect, blob size:",null===(e=S.current)||void 0===e?void 0:e.size),a.productState.setIsARIframeVisible(!0),u.current.style.zIndex="10000",u.current.style.position="fixed",u.current.style.opacity="1",null===(n=u.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:S.current},"*"))}),[a.productState.doShowARQRCode]),(0,s.useEffect)((function(){var e=[];a.viewPlannerHandler.plannerUIHandler.uiItems.forEach((function(n){"PosNr"!=n.type&&"BoxCopyLeft"!=n.type&&"BoxCopyRight"!=n.type&&"BoxCopyTop"!=n.type&&"TrashIcon"!=n.type||e.push({setId:n.setId,elementId:Number(n.elementId),active:"selected"==n.elemState,selectable:"unselectable"!=n.elemState,posNr:n.posNr,callback:function callback(){},type:n.type})})),JSON.stringify(e)!=JSON.stringify(E)&&P(e)}),[a.viewPlannerHandler.plannerUIHandler.uiItems]),(0,s.useEffect)((function(){!a.hqRenderScript&&a.productState.doShow3DComb?(k.toggleLoading("HQRenderScript",!1,!0),setTimeout((function(){return k.toggleLoading("HQRenderScript",!1,!1)}),5e3)):a.hqRenderScript&&k.toggleLoading("HQRenderScript",!1,!1)}),[a.productState.doShow3DComb,a.hqRenderScript]),!a.productState.doShow3DComb&&!0===L.current||!a.isParentViewVisible?(0,T.jsx)(T.Fragment,{}):(L.current=!1,void 0===a.hqRenderScript?(0,T.jsx)(T.Fragment,{}):(0,T.jsxs)(T.Fragment,{children:[a.productState.doShow3DComb&&!a.uiState.isInMobileView&&(0,T.jsx)(I.default,{}),(0,T.jsx)(p(),{renderjob:a.hqRenderScript,viewpoint:a.camInfo,isMobile:Y,elementsInfo:E,inBackground:b,stopRender:!a.isParentViewVisible,viewHandler:a,freePlacesOnGrids:a.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:a.settingsState.plannedPlacesOnGrids,apiConfig:B,jwt:K,renderInBackground:!!Q,overlayImage:a.divaWebPlanner.getEnableUnityRtvKombi()?{base64:a.productState.diva3dImgSrc,isStaticBg:a.productState.plannerRenderingIsStaticBG,isStart:a.productState.plannerRenderingIsStart}:void 0,uiConfig:{templateConfig:null!==(e=null===(n=a.uiState.templateConfig)||void 0===n?void 0:n["Product/ProductCenter/PlannerUI/PlannerUIVariants"])&&void 0!==e?e:"standard",posNumIcon:U.posNumIcon,posTrashIcon:U.posTrashRotIcon,hideUiIcons:null!==(t=a.divaWebPlanner.hidePlannerUiIcons())&&void 0!==t&&t,plannerMode:a.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",idm3DEnvironmentEnabled:W},callbacks:{setGlb:J?function(){var e=(0,r.Z)(i().mark((function _callee(e){var n,t;return i().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:x.debug("[AR-DEBUG-PARENT] Planner3D setGlb called, glb:",!!e,"glb size:",null==e?void 0:e.size,"arViewerIframe:",Q,"iframeRef:",!!u.current),S.current=e,Q&&u.current&&e?(x.debug("[AR-DEBUG-PARENT] Planner3D sending SET_AR_OBJECT via setGlb"),null===(n=u.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:e},"*")):(a.productState.glbUrl&&URL.revokeObjectURL(a.productState.glbUrl),t=URL.createObjectURL(e),a.productState.glbUrl=t,y(t));case 3:case"end":return r.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}():void 0,onElementSelected:function onElementSelected(e,n){a.viewPlannerHandler.onElementSelected(e,n)},onMissingGeo:function onMissingGeo(){a.productState.loadRTVForAr&&k.openModal({title:g("configurator.missinggeo_title"),text:g("configurator.missinggeo"),accept:"OK"})},requestNewOverlayImage:function requestNewOverlayImage(e,n){a.productState.setPlannerRenderingIsStart(!1),a.divaWebPlanner.updatePlannerView("3DCOMB",void 0,{focus:n,currentCamera:e})},updateCameraInformation:function updateCameraInformation(e){return a.divaWebPlanner.updateCameraInformation(e)}}},"3dviewer"),Q&&a.productState.loadRTVForAr&&(0,T.jsx)("iframe",{src:V,ref:u,allow:"xr-spatial-tracking; camera; accelerometer; magnetometer; gyroscope",allowFullScreen:!0,style:{width:"100vw",height:a.uiState.isMobilePortrait?"100vh":"100%",opacity:"0"}}),R&&a.productState.loadRTVForAr&&!Q&&(0,T.jsx)("div",{id:"ar-viewer",children:(0,T.jsxs)("model-viewer",{id:"model-viewer",ref:function ref(e){var n,t;c.current=e,document.addEventListener("visibilitychange",(function(){var e=document.getElementById("DivaCore");e&&(e.style.position="absolute",requestAnimationFrame((function(){e.style.position="relative"})))})),null===(n=c.current)||void 0===n||n.addEventListener("ar-status",(function(e){var n;a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()})),"failed"===e.detail.status||"not-presenting"==e.detail.status?w(!1):w(!0)})),null===(t=c.current)||void 0===t||t.addEventListener("model-visibility",(function(e){var n;e.detail.visible&&a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()}))}))},src:R,ar:!0,"ar-scale":"fixed","ar-modes":X?"":"webxr quick-look scene-viewer","shadow-intensity":"1","camera-controls":!0,"touch-action":"pan-y",style:{position:"absolute",height:"100%",width:"100%",zIndex:1,top:"0px",background:"white"},children:[(0,T.jsx)("div",{id:"ar-prompt",children:(0,T.jsx)("img",{src:A})}),(0,T.jsx)("button",{id:"ar-failure",children:"AR is not tracking!"})]})})]}))}))},14514:(e,n,t)=>{t.r(n),t.d(n,{default:()=>i});var r=t(80248),o=(t(87363),t(2765)),a=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}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,r.Z)(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 i=function NavBar(e){return(0,a.jsx)(o.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Product/ProductCenter/Planner3DImage/NavBar"}))}},42044:(e,n,t)=>{t.d(n,{Z:()=>p});var r=t(8081),o=t.n(r),a=t(23645),i=t.n(a),l=t(61667),s=t.n(l),c=new URL(t(62383),t.b),d=i()(o()),u=s()(c);d.push([e.id,"/* This keeps child nodes hidden while the element loads */\n#ar-viewer :not(:defined) > * {\n display: none;\n}\n\n#ar-viewer model-viewer {\n background-color: #eee;\n overflow-x: hidden;\n}\n\n#ar-viewer #ar-button {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 20px 20px;\n background-position: 12px 50%;\n background-color: #fff;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n bottom: 132px;\n padding: 0px 16px 0px 40px;\n font-size: 14px;\n color: #4285f4;\n height: 36px;\n line-height: 36px;\n border-radius: 18px;\n border: 1px solid #dadce0;\n}\n\n#ar-viewer #ar-button:active {\n background-color: #e8eaed;\n}\n\n#ar-viewer #ar-button:focus {\n outline: none;\n}\n\n#ar-viewer #ar-button.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer #ar-button:focus-visible {\n outline: 1px solid #4285f4;\n}\n\n@keyframes circle {\n from {\n transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);\n }\n to {\n transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);\n }\n}\n\n@keyframes elongate {\n from {\n transform: translateX(100px);\n }\n to {\n transform: translateX(-100px);\n }\n}\n\n#ar-viewer model-viewer > #ar-prompt {\n position: absolute;\n left: 50%;\n bottom: 0px;\n animation: elongate 2s infinite ease-in-out alternate;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-status='session-started'] > #ar-prompt {\n display: block;\n visibility: visible;\n}\n\n#ar-viewer model-viewer > #ar-prompt > img {\n animation: circle 4s linear infinite;\n}\n\n#ar-viewer model-viewer > #ar-failure {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 175px;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-tracking='not-tracking'] > #ar-failure {\n display: block;\n}\n\n#ar-viewer .slider {\n width: 100%;\n text-align: center;\n overflow: hidden;\n position: absolute;\n bottom: 16px;\n}\n\n#ar-viewer .slides {\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n}\n\n#ar-viewer .slide {\n scroll-snap-align: start;\n flex-shrink: 0;\n width: 100px;\n height: 100px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #fff;\n margin-right: 10px;\n border-radius: 10px;\n border: none;\n display: flex;\n}\n\n#ar-viewer .slide.selected {\n border: 2px solid #4285f4;\n}\n\n#ar-viewer .slide:focus {\n outline: none;\n}\n\n#ar-viewer .slide.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer .slide:focus-visible {\n outline: 1px solid #4285f4;\n}\n",""]);const p=d},62383:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAbvElEQVR4nO2dC3hU1bWA1zyTTCaZvECeIiJiUVpitOhtrkq1YGm9ohbls/ioVouC2gqFYiuCl4JWwOptqi0olVuR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UKLYbarOv1X3JmZQoJYWTcpOP8dg5IRg+5KMoPQcLhwl5TrrRD1q9QRJwLfmiiG2G4e+v1HWpmbT4jnSjaw0WVCKXoJ3X76LYQu0ykx0U8yW9yeZKNHq7lNsnKteQ+b8sHO+YPWGPVUEDvvXSzX7M6o0ShYGCx6L4aSd3X8sFy7YCdjIhEW/4eikOr9XpTinKglGEA5Wpp3tIMabAEUXje0ALTzydgnHA5mDm6yiCEaTlb63M55kc8CfppgfkFAIWpRf5a5yMIhj4eSNKGCTGZPSIsm5/tcVvMs4xfk9tEU0wNgHAVTooJ5MDHLSMG6YhxAgLN/oQ6k07YgjGJwBwA1viWg8f5dXoZ9H69yKHsFAMwUD31etYMBgrcicZYUYTjLdZE85YFQ+FK5WFIkRJgS7mJ4OxKmh0uS6KcKwBgCp+Khgrg/7hH0ZZ1p7AcwzG6qDB5WpJODAB0FCrNwzDIE9EsbiVEwIxjCW5WlrGPcpxqRjmFGWUHlo04WdNOMMQL7JvPcNE53pJOPxsws8wp+gueUe2SjkWGcbSvCL1Hr+weoMwjMLtUYZWHHiCYSjT7XHJx+V8bhiGOcUaqfd4gNuFYb4kILnFso0VwwhMoWAKOO+o4IZhmNPh2FQMwzAMY3kYhmEYhmEYhmEYhmEYhmEYhmEYhrEiAPAvMC2jj4+Dp4sAAAAASUVORK5CYII="}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1064,4514,8029],{41064:(e,n,t)=>{t.r(n),t.d(n,{default:()=>L});var r=t(84658),o=t(38946),a=t(50747),i=t.n(a),l=t(91214),s=t(87363),c=t(9420),d=t(88683),u=t(70318),p=t.n(u),A=t(62383),g=t(93379),v=t.n(g),f=t(7795),b=t.n(f),w=t(90569),m=t.n(w),h=t(3565),R=t.n(h),y=t(19216),S=t.n(y),C=t(44589),D=t.n(C),E=t(42044),P={};P.styleTagTransform=D(),P.setAttributes=R(),P.insert=m().bind(null,"head"),P.domAPI=b(),P.insertStyleElement=S();v()(E.Z,P);E.Z&&E.Z.locals&&E.Z.locals;var I=t(14514),T=t(47514),x=(0,d.getLogger)("Planner","Planner3D");const L=(0,c.Pi)((function Planner3D(){var e,n,t,a=(0,l.NP)(),c=(0,s.useRef)(),u=(0,s.useRef)(null),g=(0,d.useTranslation)().t,v=(0,s.useState)(!1),f=(0,o.Z)(v,2),b=f[0],w=f[1],m=(0,s.useState)(),h=(0,o.Z)(m,2),R=h[0],y=h[1],S=(0,s.useRef)(),C=(0,s.useState)([]),D=(0,o.Z)(C,2),E=D[0],P=D[1],L=(0,s.useRef)(!0),U=a.viewPlannerHandler.getPlannerViewConfig(),j=(0,d.useDivaCore)(),k=j.actions,O=j.state,B=O.apiConfig,Y=O.isMobile,K=O.jwt,X=O.isFirefox,W=O.idm3DEnvironmentEnabled,G=O.dimensions,F=G.isTablet,J=G.isMobile||F,Q=J&&a.uiState.AllConfig.arViewerIframe,V=a.uiState.AllConfig.arViewerUrl+"?arObject=1";return(0,s.useEffect)((function(){k.loadModelViewer();var e=function messageListener(e){var n;u.current&&("AR_CLOSE"===e.data.type&&(a.productState.setDoShowARQRCode(!1),u.current.style.zIndex="0",u.current.style.position="absolute",u.current.style.opacity="0",a.productState.setIsARIframeVisible(!1),u.current.src=V,w(!1)),"AR_READY"===e.data.type&&a.productState.doShowARQRCode&&(x.debug("[AR-DEBUG-PARENT] Planner3D received AR_READY, currentBlob:",!!S.current),u.current.style.zIndex="10000",u.current.style.position="fixed",u.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),k.closeModal(),S.current&&(x.debug("[AR-DEBUG-PARENT] Planner3D resending SET_AR_OBJECT on AR_READY, blob size:",S.current.size),null===(n=u.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:S.current},"*"))))};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}),[]),(0,s.useEffect)((function(){var e,n;(x.debug("[AR-DEBUG-PARENT] Planner3D useEffect doShowARQRCode:",a.productState.doShowARQRCode,"arViewerIframe:",Q,"currentBlob:",!!S.current,"iframeRef:",!!u.current),u.current&&Q&&a.productState.doShowARQRCode&&S.current)&&(x.debug("[AR-DEBUG-PARENT] Planner3D sending SET_AR_OBJECT via useEffect, blob size:",null===(e=S.current)||void 0===e?void 0:e.size),a.productState.setIsARIframeVisible(!0),u.current.style.zIndex="10000",u.current.style.position="fixed",u.current.style.opacity="1",null===(n=u.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:S.current},"*"))}),[a.productState.doShowARQRCode]),(0,s.useEffect)((function(){var e=[];a.viewPlannerHandler.plannerUIHandler.uiItems.forEach((function(n){"PosNr"!=n.type&&"BoxCopyLeft"!=n.type&&"BoxCopyRight"!=n.type&&"BoxCopyTop"!=n.type&&"TrashIcon"!=n.type||e.push({setId:n.setId,elementId:Number(n.elementId),active:"selected"==n.elemState,selectable:"unselectable"!=n.elemState,posNr:n.posNr,callback:function callback(){},type:n.type})})),JSON.stringify(e)!=JSON.stringify(E)&&P(e)}),[a.viewPlannerHandler.plannerUIHandler.uiItems]),(0,s.useEffect)((function(){!a.hqRenderScript&&a.productState.doShow3DComb?(k.toggleLoading("HQRenderScript",!1,!0),setTimeout((function(){return k.toggleLoading("HQRenderScript",!1,!1)}),5e3)):a.hqRenderScript&&k.toggleLoading("HQRenderScript",!1,!1)}),[a.productState.doShow3DComb,a.hqRenderScript]),!a.productState.doShow3DComb&&!0===L.current||!a.isParentViewVisible?(0,T.jsx)(T.Fragment,{}):(L.current=!1,void 0===a.hqRenderScript?(0,T.jsx)(T.Fragment,{}):(0,T.jsxs)(T.Fragment,{children:[a.productState.doShow3DComb&&!a.uiState.isInMobileView&&(0,T.jsx)(I.default,{}),(0,T.jsx)(p(),{renderjob:a.hqRenderScript,viewpoint:a.camInfo,isMobile:Y,elementsInfo:E,inBackground:b,stopRender:!a.isParentViewVisible,viewHandler:a,freePlacesOnGrids:a.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:a.settingsState.plannedPlacesOnGrids,apiConfig:B,jwt:K,renderInBackground:!!Q,overlayImage:a.divaWebPlanner.getEnableUnityRtvKombi()?{base64:a.productState.diva3dImgSrc,isStaticBg:a.productState.plannerRenderingIsStaticBG,isStart:a.productState.plannerRenderingIsStart}:void 0,uiConfig:{templateConfig:null!==(e=null===(n=a.uiState.templateConfig)||void 0===n?void 0:n["Product/ProductCenter/PlannerUI/PlannerUIVariants"])&&void 0!==e?e:"standard",posNumIcon:U.posNumIcon,posTrashIcon:U.posTrashRotIcon,hideUiIcons:null!==(t=a.divaWebPlanner.hidePlannerUiIcons())&&void 0!==t&&t,plannerMode:a.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",idm3DEnvironmentEnabled:W},callbacks:{setGlb:J?function(){var e=(0,r.Z)(i().mark((function _callee(e){var n,t;return i().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:x.debug("[AR-DEBUG-PARENT] Planner3D setGlb called, glb:",!!e,"glb size:",null==e?void 0:e.size,"arViewerIframe:",Q,"iframeRef:",!!u.current),S.current=e,Q&&u.current&&e?(x.debug("[AR-DEBUG-PARENT] Planner3D sending SET_AR_OBJECT via setGlb"),null===(n=u.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:e},"*")):(a.productState.glbUrl&&URL.revokeObjectURL(a.productState.glbUrl),t=URL.createObjectURL(e),a.productState.glbUrl=t,y(t));case 3:case"end":return r.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}():void 0,onElementSelected:function onElementSelected(e,n){a.viewPlannerHandler.onElementSelected(e,n)},onMissingGeo:function onMissingGeo(){a.productState.loadRTVForAr&&k.openModal({title:g("configurator.missinggeo_title"),text:g("configurator.missinggeo"),accept:"OK"})},requestNewOverlayImage:function requestNewOverlayImage(e,n){a.productState.setPlannerRenderingIsStart(!1),a.divaWebPlanner.updatePlannerView("3DCOMB",void 0,{focus:n,currentCamera:e})},updateCameraInformation:function updateCameraInformation(e){return a.divaWebPlanner.updateCameraInformation(e)}}},"3dviewer"),Q&&a.productState.loadRTVForAr&&(0,T.jsx)("iframe",{src:V,ref:u,allow:"xr-spatial-tracking; camera; accelerometer; magnetometer; gyroscope",allowFullScreen:!0,style:{width:"100vw",height:a.uiState.isMobilePortrait?"100vh":"100%",opacity:"0"}}),R&&a.productState.loadRTVForAr&&!Q&&(0,T.jsx)("div",{id:"ar-viewer",children:(0,T.jsxs)("model-viewer",{id:"model-viewer",ref:function ref(e){var n,t;c.current=e,document.addEventListener("visibilitychange",(function(){var e=document.getElementById("DivaCore");e&&(e.style.position="absolute",requestAnimationFrame((function(){e.style.position="relative"})))})),null===(n=c.current)||void 0===n||n.addEventListener("ar-status",(function(e){var n;a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()})),"failed"===e.detail.status||"not-presenting"==e.detail.status?w(!1):w(!0)})),null===(t=c.current)||void 0===t||t.addEventListener("model-visibility",(function(e){var n;e.detail.visible&&a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()}))}))},src:R,ar:!0,"ar-scale":"fixed","ar-modes":X?"":"webxr quick-look scene-viewer","shadow-intensity":"1","camera-controls":!0,"touch-action":"pan-y",style:{position:"absolute",height:"100%",width:"100%",zIndex:1,top:"0px",background:"white"},children:[(0,T.jsx)("div",{id:"ar-prompt",children:(0,T.jsx)("img",{src:A})}),(0,T.jsx)("button",{id:"ar-failure",children:"AR is not tracking!"})]})})]}))}))},14514:(e,n,t)=>{t.r(n),t.d(n,{default:()=>i});var r=t(80248),o=(t(87363),t(2765)),a=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}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,r.Z)(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 i=function NavBar(e){return(0,a.jsx)(o.ZP,_objectSpread(_objectSpread({},e),{},{componentName:"Product/ProductCenter/Planner3DImage/NavBar"}))}},42044:(e,n,t)=>{t.d(n,{Z:()=>p});var r=t(8081),o=t.n(r),a=t(23645),i=t.n(a),l=t(61667),s=t.n(l),c=new URL(t(62383),t.b),d=i()(o()),u=s()(c);d.push([e.id,"/* This keeps child nodes hidden while the element loads */\n#ar-viewer :not(:defined) > * {\n display: none;\n}\n\n#ar-viewer model-viewer {\n background-color: #eee;\n overflow-x: hidden;\n}\n\n#ar-viewer #ar-button {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 20px 20px;\n background-position: 12px 50%;\n background-color: #fff;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n bottom: 132px;\n padding: 0px 16px 0px 40px;\n font-size: 14px;\n color: #4285f4;\n height: 36px;\n line-height: 36px;\n border-radius: 18px;\n border: 1px solid #dadce0;\n}\n\n#ar-viewer #ar-button:active {\n background-color: #e8eaed;\n}\n\n#ar-viewer #ar-button:focus {\n outline: none;\n}\n\n#ar-viewer #ar-button.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer #ar-button:focus-visible {\n outline: 1px solid #4285f4;\n}\n\n@keyframes circle {\n from {\n transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);\n }\n to {\n transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);\n }\n}\n\n@keyframes elongate {\n from {\n transform: translateX(100px);\n }\n to {\n transform: translateX(-100px);\n }\n}\n\n#ar-viewer model-viewer > #ar-prompt {\n position: absolute;\n left: 50%;\n bottom: 0px;\n animation: elongate 2s infinite ease-in-out alternate;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-status='session-started'] > #ar-prompt {\n display: block;\n visibility: visible;\n}\n\n#ar-viewer model-viewer > #ar-prompt > img {\n animation: circle 4s linear infinite;\n}\n\n#ar-viewer model-viewer > #ar-failure {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 175px;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-tracking='not-tracking'] > #ar-failure {\n display: block;\n}\n\n#ar-viewer .slider {\n width: 100%;\n text-align: center;\n overflow: hidden;\n position: absolute;\n bottom: 16px;\n}\n\n#ar-viewer .slides {\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n}\n\n#ar-viewer .slide {\n scroll-snap-align: start;\n flex-shrink: 0;\n width: 100px;\n height: 100px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #fff;\n margin-right: 10px;\n border-radius: 10px;\n border: none;\n display: flex;\n}\n\n#ar-viewer .slide.selected {\n border: 2px solid #4285f4;\n}\n\n#ar-viewer .slide:focus {\n outline: none;\n}\n\n#ar-viewer .slide.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer .slide:focus-visible {\n outline: 1px solid #4285f4;\n}\n",""]);const p=d},62383:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAbvElEQVR4nO2dC3hU1bWA1zyTTCaZvECeIiJiUVpitOhtrkq1YGm9ohbls/ioVouC2gqFYiuCl4JWwOptqi0olVuRglfxirag9cW95eWg1RSwgDwC8g4JkEkySWb6rWGduLOZ95yZ81r/982XcybnnNl7n7POfqwXMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMAzDMIzOuQAAfgsAnwFAEADCJv10AMB+AHgFAP4DAGz8YDLxcALAPHpwzC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o0ShYGCx6L4aSd3X8sFy7YCdjIhEW/4eikOr9XpTinKglGEA5Wpp3tIMabAEUXje0ALTzydgnHA5mDm6yiCEaTlb63M55kc8CfppgfkFAIWpRf5a5yMIhj4eSNKGCTGZPSIsm5/tcVvMs4xfk9tEU0wNgHAVTooJ5MDHLSMG6YhxAgLN/oQ6k07YgjGJwBwA1viWg8f5dXoZ9H69yKHsFAMwUD31etYMBgrcicZYUYTjLdZE85YFQ+FK5WFIkRJgS7mJ4OxKmh0uS6KcKwBgCp+Khgrg/7hH0ZZ1p7AcwzG6qDB5WpJODAB0FCrNwzDIE9EsbiVEwIxjCW5WlrGPcpxqRjmFGWUHlo04WdNOMMQL7JvPcNE53pJOPxsws8wp+gueUe2SjkWGcbSvCL1Hr+weoMwjMLtUYZWHHiCYSjT7XHJx+V8bhiGOcUaqfd4gNuFYb4kILnFso0VwwhMoWAKOO+o4IZhmNPh2FQMwzAMY3kYhmEYhmEYhmEYhmEYhmEYhmEYhrEiAPAvMC2jj4+Dp4sAAAAASUVORK5CYII="}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1067.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1067],{31067:(n,e,i)=>{i.r(e),i.d(e,{default:()=>j});var t=i(34988),o=i(91214),r=i(9420),s=i(87363),a=i(37707),d=i(74635),l=i(88683),u=i(93379),c=i.n(u),p=i(7795),m=i.n(p),f=i(90569),x=i.n(f),g=i(3565),b=i.n(g),h=i(19216),w=i.n(h),v=i(44589),y=i.n(v),Z=i(19723),k={};k.styleTagTransform=y(),k.setAttributes=b(),k.insert=x().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();c()(Z.ZP,k);Z.ZP&&Z.ZP.locals&&Z.ZP.locals;var z=i(47514),P={de:["Lichter werden eingerichtet…","Kamera wird positioniert…","Möbel werden platziert…","Stoffe werden ausgewählt…","Schatten werden angepasst…","Accessoires werden gestylt…","Wände werden gestrichen…","Letzte Details werden hinzugefügt…","Raum wird arrangiert…","Szene wird perfektioniert…","Oberflächen werden poliert…","Ambiente wird abgestimmt…"],en:["Setting up lights…","Positioning camera…","Placing furniture…","Choosing fabrics…","Adjusting shadows…","Styling accessories…","Painting the walls…","Adding final touches…","Arranging the room…","Perfecting the scene…","Polishing surfaces…","Tuning the ambiance…"],fr:["Installation des lumières…","Positionnement de la caméra…","Placement des meubles…","Choix des tissus…","Ajustement des ombres…","Mise en place des accessoires…","Peinture des murs…","Ajout des touches finales…","Aménagement de la pièce…","Perfectionnement de la scène…","Polissage des surfaces…","Réglage de l’ambiance…"],it:["Preparazione delle luci…","Posizionamento della fotocamera…","Disposizione dei mobili…","Scelta dei tessuti…","Regolazione delle ombre…","Allestimento degli accessori…","Pittura delle pareti…","Aggiunta dei dettagli finali…","Organizzazione della stanza…","Perfezionamento della scena…","Lucidatura delle superfici…","Sintonizzazione dell’atmosfera…"]};const j=(0,r.Pi)((function PlannerAIRoom(){var n,e,i=(0,o.NP)(),r=i.aiState,u=(0,l.useTranslation)(),c=u.i18n,p=u.t,m=(0,s.useRef)(null),f=(0,s.useState)(0),x=(0,t.Z)(f,2),g=x[0],b=x[1],h=(0,s.useState)(0),w=(0,t.Z)(h,2),v=w[0],y=w[1],k=(0,s.useRef)(0),j=(null!==(n=c.language)&&void 0!==n?n:"de").toLowerCase().slice(0,2),R=null!==(e=P[j])&&void 0!==e?e:P.de,S=r.isAnyGenerationInProgress,A=r.generatedImageHistory,I=i.productState.doShowAIRoom,L=A.length>0,N=A.length+(S?1:0),C=S?1:0,E=S&&0===v;return(0,s.useEffect)((function(){var n=A[v-C];n&&r.setCurrentlyVisibleRoom({key:n.key,hash:n.hash,src:n.src})}),[v,C]),(0,s.useEffect)((function(){if(S){var n=setInterval((function(){b((function(n){return(n+1)%R.length}))}),3e3);return function(){return clearInterval(n)}}b(0)}),[S]),(0,s.useEffect)((function(){if(A.length>k.current&&m.current){var n=S?1:0;m.current.params.loop?m.current.slideToLoop(n,300):m.current.slideTo(n,300)}k.current=A.length}),[A.length]),(0,s.useEffect)((function(){if(r.currentlyVisibleRoom&&m.current){var n=A.findIndex((function(n){var e;return n.src===(null===(e=r.currentlyVisibleRoom)||void 0===e?void 0:e.src)}));if(!(n<0)){var e=n+C;e!==m.current.realIndex&&(m.current.params.loop?m.current.slideToLoop(e,300):m.current.slideTo(e,300))}}}),[r.currentlyVisibleRoom,A,C]),(0,s.useEffect)((function(){S&&m.current&&(m.current.params.loop?m.current.slideToLoop(0,300):m.current.slideTo(0,300))}),[S,r.loadingSlideFocusRequest]),(0,s.useEffect)((function(){return r.setLoadingSlideActive(E),function(){return r.setLoadingSlideActive(!1)}}),[E]),(0,z.jsxs)("div",{className:Z.Cp,id:"ai-room-container",style:{visibility:I?"visible":"hidden",pointerEvents:I?"auto":"none"},children:[L||S?(0,z.jsxs)("div",{className:Z.nl,children:[(0,z.jsxs)(a.tq,{modules:[d.W_],navigation:!0,slidesPerView:1,onSwiper:function onSwiper(n){m.current=n},onSlideChange:function onSlideChange(n){return y(n.realIndex)},loop:N>1,children:[S&&(0,z.jsx)(a.o5,{children:(0,z.jsxs)("div",{className:"".concat(Z.Rc," ").concat(Z.B7),children:[(0,z.jsx)("div",{className:Z.lY}),(0,z.jsx)("p",{className:Z.w4,children:R[g]},g)]})},"loading-slide"),A.map((function(n,e){return(0,z.jsx)(a.o5,{children:(0,z.jsx)("div",{className:Z.Rc,children:(0,z.jsx)("img",{className:Z.ZG,src:n.src,alt:"AI Generated Room",draggable:!1})})},"".concat(n.key,"-").concat(n.hash,"-").concat(e))}))]}),A.length>1&&!E&&(0,z.jsxs)("div",{className:Z.mm,children:[v-C+1," / ",A.length]})]}):r.currentlyVisibleRoom&&(0,z.jsx)("div",{className:Z.Rc,children:(0,z.jsx)("img",{className:Z.ZG,src:r.currentlyVisibleRoom.src,alt:"AI Generated Room",draggable:!1})}),L&&!S&&(0,z.jsx)("div",{className:Z.bg,children:p("configurator.roomRendering.aiGenerated")})]})}))},19723:(n,e,i)=>{i.d(e,{B7:()=>p,Cp:()=>a,Rc:()=>l,ZG:()=>u,ZP:()=>g,bg:()=>x,lY:()=>m,mm:()=>c,nl:()=>d,w4:()=>f});var t=i(8081),o=i.n(t),r=i(23645),s=i.n(r)()(o());s.push([n.id,".index-module--K4sxz {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 990;\n display: flex;\n background-color: #fff;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n\n/* ── Gallery ────────────────────────────────────────────── */\n\n.index-module--d9Zip {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.index-module--d9Zip .swiper {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 1;\n}\n\n.index-module--d9Zip .swiper-wrapper {\n position: relative;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n}\n\n.index-module--d9Zip .swiper-slide {\n flex-shrink: 0;\n height: 100%;\n}\n\n.index-module--BE8L5 {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);\n will-change: filter, transform;\n}\n\n.index-module--_fRU1 {\n max-width: 100%;\n max-height: 100%;\n width: auto;\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n/* ── Navigation arrows ──────────────────────────────────── */\n\n.index-module--d9Zip .swiper-button-prev,\n.index-module--d9Zip .swiper-button-next {\n position: absolute;\n top: 50%;\n width: 44px;\n height: 44px;\n margin-top: -22px;\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.35);\n border-radius: 50%;\n color: #fff;\n backdrop-filter: blur(6px);\n -webkit-backdrop-filter: blur(6px);\n transition:\n background 0.2s,\n transform 0.15s;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n\n.index-module--d9Zip .swiper-button-prev:hover,\n.index-module--d9Zip .swiper-button-next:hover {\n background: rgba(0, 0, 0, 0.55);\n transform: scale(1.06);\n}\n\n.index-module--d9Zip .swiper-button-prev:active,\n.index-module--d9Zip .swiper-button-next:active {\n transform: scale(0.96);\n}\n\n.index-module--d9Zip .swiper-button-prev:focus,\n.index-module--d9Zip .swiper-button-prev:active,\n.index-module--d9Zip .swiper-button-next:focus,\n.index-module--d9Zip .swiper-button-next:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.index-module--d9Zip .swiper-button-prev::before,\n.index-module--d9Zip .swiper-button-next::before {\n display: none !important;\n}\n\n.index-module--d9Zip .swiper-button-prev:after,\n.index-module--d9Zip .swiper-button-next:after {\n text-transform: none !important;\n}\n\n.index-module--d9Zip .swiper-button-prev:after,\n.index-module--d9Zip .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: 18px;\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n\n.index-module--d9Zip .swiper-button-prev {\n left: 16px;\n}\n\n.index-module--d9Zip .swiper-button-next {\n right: 16px;\n}\n\n.index-module--d9Zip .swiper-button-prev:after {\n content: 'prev';\n}\n\n.index-module--d9Zip .swiper-button-next:after {\n content: 'next';\n}\n\n.index-module--d9Zip .swiper-button-disabled {\n opacity: 0;\n pointer-events: none;\n}\n\n.index-module--d9Zip .swiper-button-prev svg,\n.index-module--d9Zip .swiper-button-next svg {\n display: none;\n}\n\n/* ── Slide counter ──────────────────────────────────────── */\n\n.index-module--PG_Iw {\n position: absolute;\n bottom: 84px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 5;\n padding: 5px 14px;\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.04em;\n color: rgba(255, 255, 255, 0.92);\n background: rgba(0, 0, 0, 0.38);\n border-radius: 20px;\n backdrop-filter: blur(6px);\n -webkit-backdrop-filter: blur(6px);\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.mobile .index-module--PG_Iw {\n bottom: 20px;\n}\n\n/* ── Loading slide (rendered inside the gallery swiper) ── */\n\n.index-module--FLZ8x {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.25);\n animation: index-module--fkhc0 0.6s ease both;\n}\n\n@keyframes index-module--fkhc0 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.index-module--ULtbB {\n width: 52px;\n height: 52px;\n border: 3px solid rgba(255, 255, 255, 0.25);\n border-top-color: #fff;\n border-radius: 50%;\n animation: index-module--WvcJk 0.9s linear infinite;\n}\n\n@keyframes index-module--WvcJk {\n to {\n transform: rotate(360deg);\n }\n}\n\n.index-module--K3jOc {\n margin-top: 20px;\n font-size: 15px;\n font-weight: 400;\n letter-spacing: 0.02em;\n color: #fff;\n text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);\n animation: index-module--VEQvP 0.5s ease both;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n@keyframes index-module--VEQvP {\n from {\n opacity: 0;\n transform: translateY(8px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* ── Warning badge ──────────────────────────────────────── */\n\n.index-module--Blsq3 {\n position: absolute;\n bottom: 16px;\n right: 16px;\n padding: 6px 12px;\n background-color: rgba(0, 0, 0, 0.4);\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n border-radius: 4px;\n pointer-events: none;\n backdrop-filter: blur(4px);\n -webkit-backdrop-filter: blur(4px);\n font-weight: 500;\n z-index: 5;\n}\n\n.mobile .index-module--Blsq3 {\n font-size: 11px;\n}\n",""]);var a="index-module--K4sxz",d="index-module--d9Zip",l="index-module--BE8L5",u="index-module--_fRU1",c="index-module--PG_Iw",p="index-module--FLZ8x",m="index-module--ULtbB",f="index-module--K3jOc",x="index-module--Blsq3";const g=s}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1067],{31067:(n,e,i)=>{i.r(e),i.d(e,{default:()=>j});var t=i(38946),o=i(91214),r=i(9420),s=i(87363),a=i(37707),d=i(74635),l=i(88683),u=i(93379),c=i.n(u),p=i(7795),m=i.n(p),f=i(90569),x=i.n(f),g=i(3565),b=i.n(g),h=i(19216),w=i.n(h),v=i(44589),y=i.n(v),Z=i(19723),k={};k.styleTagTransform=y(),k.setAttributes=b(),k.insert=x().bind(null,"head"),k.domAPI=m(),k.insertStyleElement=w();c()(Z.ZP,k);Z.ZP&&Z.ZP.locals&&Z.ZP.locals;var z=i(47514),P={de:["Lichter werden eingerichtet…","Kamera wird positioniert…","Möbel werden platziert…","Stoffe werden ausgewählt…","Schatten werden angepasst…","Accessoires werden gestylt…","Wände werden gestrichen…","Letzte Details werden hinzugefügt…","Raum wird arrangiert…","Szene wird perfektioniert…","Oberflächen werden poliert…","Ambiente wird abgestimmt…"],en:["Setting up lights…","Positioning camera…","Placing furniture…","Choosing fabrics…","Adjusting shadows…","Styling accessories…","Painting the walls…","Adding final touches…","Arranging the room…","Perfecting the scene…","Polishing surfaces…","Tuning the ambiance…"],fr:["Installation des lumières…","Positionnement de la caméra…","Placement des meubles…","Choix des tissus…","Ajustement des ombres…","Mise en place des accessoires…","Peinture des murs…","Ajout des touches finales…","Aménagement de la pièce…","Perfectionnement de la scène…","Polissage des surfaces…","Réglage de l’ambiance…"],it:["Preparazione delle luci…","Posizionamento della fotocamera…","Disposizione dei mobili…","Scelta dei tessuti…","Regolazione delle ombre…","Allestimento degli accessori…","Pittura delle pareti…","Aggiunta dei dettagli finali…","Organizzazione della stanza…","Perfezionamento della scena…","Lucidatura delle superfici…","Sintonizzazione dell’atmosfera…"]};const j=(0,r.Pi)((function PlannerAIRoom(){var n,e,i=(0,o.NP)(),r=i.aiState,u=(0,l.useTranslation)(),c=u.i18n,p=u.t,m=(0,s.useRef)(null),f=(0,s.useState)(0),x=(0,t.Z)(f,2),g=x[0],b=x[1],h=(0,s.useState)(0),w=(0,t.Z)(h,2),v=w[0],y=w[1],k=(0,s.useRef)(0),j=(null!==(n=c.language)&&void 0!==n?n:"de").toLowerCase().slice(0,2),R=null!==(e=P[j])&&void 0!==e?e:P.de,S=r.isAnyGenerationInProgress,A=r.generatedImageHistory,I=i.productState.doShowAIRoom,L=A.length>0,N=A.length+(S?1:0),C=S?1:0,E=S&&0===v;return(0,s.useEffect)((function(){var n=A[v-C];n&&r.setCurrentlyVisibleRoom({key:n.key,hash:n.hash,src:n.src})}),[v,C]),(0,s.useEffect)((function(){if(S){var n=setInterval((function(){b((function(n){return(n+1)%R.length}))}),3e3);return function(){return clearInterval(n)}}b(0)}),[S]),(0,s.useEffect)((function(){if(A.length>k.current&&m.current){var n=S?1:0;m.current.params.loop?m.current.slideToLoop(n,300):m.current.slideTo(n,300)}k.current=A.length}),[A.length]),(0,s.useEffect)((function(){if(r.currentlyVisibleRoom&&m.current){var n=A.findIndex((function(n){var e;return n.src===(null===(e=r.currentlyVisibleRoom)||void 0===e?void 0:e.src)}));if(!(n<0)){var e=n+C;e!==m.current.realIndex&&(m.current.params.loop?m.current.slideToLoop(e,300):m.current.slideTo(e,300))}}}),[r.currentlyVisibleRoom,A,C]),(0,s.useEffect)((function(){S&&m.current&&(m.current.params.loop?m.current.slideToLoop(0,300):m.current.slideTo(0,300))}),[S,r.loadingSlideFocusRequest]),(0,s.useEffect)((function(){return r.setLoadingSlideActive(E),function(){return r.setLoadingSlideActive(!1)}}),[E]),(0,z.jsxs)("div",{className:Z.Cp,id:"ai-room-container",style:{visibility:I?"visible":"hidden",pointerEvents:I?"auto":"none"},children:[L||S?(0,z.jsxs)("div",{className:Z.nl,children:[(0,z.jsxs)(a.tq,{modules:[d.W_],navigation:!0,slidesPerView:1,onSwiper:function onSwiper(n){m.current=n},onSlideChange:function onSlideChange(n){return y(n.realIndex)},loop:N>1,children:[S&&(0,z.jsx)(a.o5,{children:(0,z.jsxs)("div",{className:"".concat(Z.Rc," ").concat(Z.B7),children:[(0,z.jsx)("div",{className:Z.lY}),(0,z.jsx)("p",{className:Z.w4,children:R[g]},g)]})},"loading-slide"),A.map((function(n,e){return(0,z.jsx)(a.o5,{children:(0,z.jsx)("div",{className:Z.Rc,children:(0,z.jsx)("img",{className:Z.ZG,src:n.src,alt:"AI Generated Room",draggable:!1})})},"".concat(n.key,"-").concat(n.hash,"-").concat(e))}))]}),A.length>1&&!E&&(0,z.jsxs)("div",{className:Z.mm,children:[v-C+1," / ",A.length]})]}):r.currentlyVisibleRoom&&(0,z.jsx)("div",{className:Z.Rc,children:(0,z.jsx)("img",{className:Z.ZG,src:r.currentlyVisibleRoom.src,alt:"AI Generated Room",draggable:!1})}),L&&!S&&(0,z.jsx)("div",{className:Z.bg,children:p("configurator.roomRendering.aiGenerated")})]})}))},19723:(n,e,i)=>{i.d(e,{B7:()=>p,Cp:()=>a,Rc:()=>l,ZG:()=>u,ZP:()=>g,bg:()=>x,lY:()=>m,mm:()=>c,nl:()=>d,w4:()=>f});var t=i(8081),o=i.n(t),r=i(23645),s=i.n(r)()(o());s.push([n.id,".index-module--K4sxz {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 990;\n display: flex;\n background-color: #fff;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n\n/* ── Gallery ────────────────────────────────────────────── */\n\n.index-module--d9Zip {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n\n.index-module--d9Zip .swiper {\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n z-index: 1;\n}\n\n.index-module--d9Zip .swiper-wrapper {\n position: relative;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n}\n\n.index-module--d9Zip .swiper-slide {\n flex-shrink: 0;\n height: 100%;\n}\n\n.index-module--BE8L5 {\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n transition:\n filter 0.8s cubic-bezier(0.4, 0, 0.2, 1),\n transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);\n will-change: filter, transform;\n}\n\n.index-module--_fRU1 {\n max-width: 100%;\n max-height: 100%;\n width: auto;\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n/* ── Navigation arrows ──────────────────────────────────── */\n\n.index-module--d9Zip .swiper-button-prev,\n.index-module--d9Zip .swiper-button-next {\n position: absolute;\n top: 50%;\n width: 44px;\n height: 44px;\n margin-top: -22px;\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.35);\n border-radius: 50%;\n color: #fff;\n backdrop-filter: blur(6px);\n -webkit-backdrop-filter: blur(6px);\n transition:\n background 0.2s,\n transform 0.15s;\n -webkit-tap-highlight-color: transparent;\n outline: none;\n}\n\n.index-module--d9Zip .swiper-button-prev:hover,\n.index-module--d9Zip .swiper-button-next:hover {\n background: rgba(0, 0, 0, 0.55);\n transform: scale(1.06);\n}\n\n.index-module--d9Zip .swiper-button-prev:active,\n.index-module--d9Zip .swiper-button-next:active {\n transform: scale(0.96);\n}\n\n.index-module--d9Zip .swiper-button-prev:focus,\n.index-module--d9Zip .swiper-button-prev:active,\n.index-module--d9Zip .swiper-button-next:focus,\n.index-module--d9Zip .swiper-button-next:active {\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.index-module--d9Zip .swiper-button-prev::before,\n.index-module--d9Zip .swiper-button-next::before {\n display: none !important;\n}\n\n.index-module--d9Zip .swiper-button-prev:after,\n.index-module--d9Zip .swiper-button-next:after {\n text-transform: none !important;\n}\n\n.index-module--d9Zip .swiper-button-prev:after,\n.index-module--d9Zip .swiper-button-next:after {\n font-family: swiper-icons;\n font-size: 18px;\n letter-spacing: 0;\n font-feature-settings: ;\n font-variant: normal;\n font-variant: initial;\n line-height: 1;\n}\n\n.index-module--d9Zip .swiper-button-prev {\n left: 16px;\n}\n\n.index-module--d9Zip .swiper-button-next {\n right: 16px;\n}\n\n.index-module--d9Zip .swiper-button-prev:after {\n content: 'prev';\n}\n\n.index-module--d9Zip .swiper-button-next:after {\n content: 'next';\n}\n\n.index-module--d9Zip .swiper-button-disabled {\n opacity: 0;\n pointer-events: none;\n}\n\n.index-module--d9Zip .swiper-button-prev svg,\n.index-module--d9Zip .swiper-button-next svg {\n display: none;\n}\n\n/* ── Slide counter ──────────────────────────────────────── */\n\n.index-module--PG_Iw {\n position: absolute;\n bottom: 84px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 5;\n padding: 5px 14px;\n font-size: 13px;\n font-weight: 500;\n letter-spacing: 0.04em;\n color: rgba(255, 255, 255, 0.92);\n background: rgba(0, 0, 0, 0.38);\n border-radius: 20px;\n backdrop-filter: blur(6px);\n -webkit-backdrop-filter: blur(6px);\n pointer-events: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n.mobile .index-module--PG_Iw {\n bottom: 20px;\n}\n\n/* ── Loading slide (rendered inside the gallery swiper) ── */\n\n.index-module--FLZ8x {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n background: rgba(0, 0, 0, 0.25);\n animation: index-module--fkhc0 0.6s ease both;\n}\n\n@keyframes index-module--fkhc0 {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n.index-module--ULtbB {\n width: 52px;\n height: 52px;\n border: 3px solid rgba(255, 255, 255, 0.25);\n border-top-color: #fff;\n border-radius: 50%;\n animation: index-module--WvcJk 0.9s linear infinite;\n}\n\n@keyframes index-module--WvcJk {\n to {\n transform: rotate(360deg);\n }\n}\n\n.index-module--K3jOc {\n margin-top: 20px;\n font-size: 15px;\n font-weight: 400;\n letter-spacing: 0.02em;\n color: #fff;\n text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);\n animation: index-module--VEQvP 0.5s ease both;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n\n@keyframes index-module--VEQvP {\n from {\n opacity: 0;\n transform: translateY(8px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n/* ── Warning badge ──────────────────────────────────────── */\n\n.index-module--Blsq3 {\n position: absolute;\n bottom: 16px;\n right: 16px;\n padding: 6px 12px;\n background-color: rgba(0, 0, 0, 0.4);\n color: rgba(255, 255, 255, 0.9);\n font-size: 12px;\n border-radius: 4px;\n pointer-events: none;\n backdrop-filter: blur(4px);\n -webkit-backdrop-filter: blur(4px);\n font-weight: 500;\n z-index: 5;\n}\n\n.mobile .index-module--Blsq3 {\n font-size: 11px;\n}\n",""]);var a="index-module--K4sxz",d="index-module--d9Zip",l="index-module--BE8L5",u="index-module--_fRU1",c="index-module--PG_Iw",p="index-module--FLZ8x",m="index-module--ULtbB",f="index-module--K3jOc",x="index-module--Blsq3";const g=s}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1101.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1101],{71101:(n,M,e)=>{e.r(M),e.d(M,{default:()=>A});var g=e(
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1101],{71101:(n,M,e)=>{e.r(M),e.d(M,{default:()=>A});var g=e(38946),i=e(88683),N=e(87363),a=e(93379),j=e.n(a),u=e(7795),t=e.n(u),z=e(90569),l=e.n(z),r=e(3565),D=e.n(r),I=e(19216),c=e.n(I),s=e(44589),d=e.n(s),o=e(22899),x={};x.styleTagTransform=d(),x.setAttributes=D(),x.insert=l().bind(null,"head"),x.domAPI=t(),x.insertStyleElement=c();j()(o.ZP,x);o.ZP&&o.ZP.locals&&o.ZP.locals;var T=e(47514);const A=function Search(n){var M=(0,g.Z)(n.searchState,2),e=M[0],a=M[1],j=(0,i.useTranslation)().t,u=(0,N.useState)(""),t=(0,g.Z)(u,2),z=t[0],l=t[1],r=(0,N.useRef)(null);return(0,N.useEffect)((function(){z&&z.length>2?a(z):0!==(null==e?void 0:e.length)&&a(void 0)}),[z]),(0,N.useEffect)((function(){null!=e&&e.length||l("")}),[e]),(0,T.jsxs)("div",{className:o.YS,children:[(0,T.jsx)("input",{ref:r,onChange:function onChange(n){return l(n.target.value)},type:"text",value:z,className:o.fn,placeholder:j("filter.global")}),(0,T.jsx)("div",{className:o.qv})]})}},22899:(n,M,e)=>{e.d(M,{YS:()=>r,ZP:()=>c,fn:()=>D,qv:()=>I});var g=e(8081),i=e.n(g),N=e(23645),a=e.n(N),j=e(61667),u=e.n(j),t=new URL(e(29289),e.b),z=a()(i()),l=u()(t);z.push([n.id,".index-module--YUith {\n display: flex;\n height: 100%;\n align-items: center;\n}\n\n.index-module--RKkgv {\n width: 130px;\n height: 30px;\n line-height: 28px;\n border-radius: 5px;\n -webkit-tap-highlight-color: transparent;\n outline: 0;\n background-color: #fff;\n padding: 0 1.6rem;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n position: relative;\n border: 0;\n}\n\n.index-module--oGrV7 {\n width: 36px;\n height: 36px;\n background: center / contain no-repeat url("+l+");\n margin-left: 12px;\n margin-right: 12px;\n}\n",""]);var r="index-module--YUith",D="index-module--RKkgv",I="index-module--oGrV7";const c=z},29289:n=>{n.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTkiIGhlaWdodD0iNTkiIHZpZXdCb3g9IjAgMCA1OSA1OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTM5LjkxNjMgNDEuMzhDNDAuMzIwOCA0MS43ODQ0IDQwLjk3NjUgNDEuNzg0NCA0MS4zODA5IDQxLjM4QzQxLjc4NTQgNDAuOTc1NSA0MS43ODU0IDQwLjMxOTggNDEuMzgwOSAzOS45MTUzTDM5LjkxNjMgNDEuMzhaTTM2Ljg1MSAyNy41Mjg2QzM2Ljg1MSAzMi42NzY3IDMyLjY3NzYgMzYuODUgMjcuNTI5NiAzNi44NVYzOC45MjE1QzMzLjgyMTYgMzguOTIxNSAzOC45MjI0IDMzLjgyMDYgMzguOTIyNCAyNy41Mjg2SDM2Ljg1MVpNMjcuNTI5NiAzNi44NUMyMi4zODE1IDM2Ljg1IDE4LjIwODEgMzIuNjc2NyAxOC4yMDgxIDI3LjUyODZIMTYuMTM2N0MxNi4xMzY3IDMzLjgyMDYgMjEuMjM3NSAzOC45MjE1IDI3LjUyOTYgMzguOTIxNVYzNi44NVpNMTguMjA4MSAyNy41Mjg2QzE4LjIwODEgMjIuMzgwNSAyMi4zODE1IDE4LjIwNzIgMjcuNTI5NiAxOC4yMDcyVjE2LjEzNTdDMjEuMjM3NSAxNi4xMzU3IDE2LjEzNjcgMjEuMjM2NSAxNi4xMzY3IDI3LjUyODZIMTguMjA4MVpNMjcuNTI5NiAxOC4yMDcyQzMyLjY3NzYgMTguMjA3MiAzNi44NTEgMjIuMzgwNSAzNi44NTEgMjcuNTI4NkgzOC45MjI0QzM4LjkyMjQgMjEuMjM2NSAzMy44MjE2IDE2LjEzNTcgMjcuNTI5NiAxNi4xMzU3VjE4LjIwNzJaTTQxLjM4MDkgMzkuOTE1M0wzNS41OTgyIDM0LjEzMjVMMzQuMTMzNCAzNS41OTcyTDM5LjkxNjMgNDEuMzhMNDEuMzgwOSAzOS45MTUzWiIgZmlsbD0iIzRGNEY0RiIvPgo8L3N2Zz4K"}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 117.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[117,7623],{87623:(o,t,r)=>{r.r(t),r.d(t,{default:()=>O});var i=r(34988),d=r(80248),l=r(72874),a=r(9420),u=r(91214),p=r(87363),c=r(88683),m=r(93379),x=r.n(m),h=r(7795),v=r.n(h),b=r(90569),g=r.n(b),w=r(3565),y=r.n(w),I=r(19216),j=r.n(I),S=r(44589),k=r.n(S),P=r(96193),N={};N.styleTagTransform=k(),N.setAttributes=y(),N.insert=g().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=j();x()(P.ZP,N);P.ZP&&P.ZP.locals&&P.ZP.locals;var _=r(65515),D=r.n(_),A=r(47514),K=["isInScroller","item","doShowFilter"];function ownKeys(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){(0,d.Z)(o,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(r,t))}))}return o}const O=(0,a.Pi)((function Seachbar(o){var t=o.isInScroller,r=o.item,d=o.doShowFilter,a=(0,l.Z)(o,K),m=(0,u.NP)(),x=(0,c.useTranslation)().t,h=(0,p.useRef)(null);(0,p.useEffect)((function(){var o=m.settingsState.itemPalettes.get(r.id);(null==o?void 0:o.configStepKey)===r.configStepKey&&m.settingsState.updateItemPalette(o.id,_objectSpread(_objectSpread({},o),{},{htmlInputElement:h.current}))}),[h]);var v=(0,p.useState)(m.uiState.isInMobileView),b=(0,i.Z)(v,2),g=b[0],w=b[1],y=(0,p.useState)(!1),I=(0,i.Z)(y,2),j=I[0],S=I[1];return(0,A.jsx)("form",{autoComplete:"off",autoFocus:!1,onSubmit:function onSubmit(o){return o.preventDefault()},style:{height:"fit-content",marginBottom:0},children:(0,A.jsx)("input",_objectSpread(_objectSpread({},a),{},{ref:h,className:D()(P.Xx,d?void 0:P.Gp,m.uiState.configSettingsIsExpanded?P._F:void 0,m.uiState.configSettingsIsMaxExpanded?P.Hj:void 0,t?P.Nb:void 0,m.uiState.isInMobileView?P.ai:void 0,m.uiState.isTablet?P.Mq:void 0),autoComplete:"off",value:r.searchText,onKeyUp:function onKeyUp(o){return function filterFreeTextChanged(o,t){""!==o?m.settingsState.onAllGroups(t,!1):m.paletteViewHandler.isGroupFolded(r.id)&&m.settingsState.onAllGroups(t,!0),m.paletteViewHandler.onSearchTextChanged(o,t)}(o.target.value,r.id)},placeholder:x("configurator.QUICKFILTER"),type:"text","data-test-id":"plannerSearchbar",onMouseDown:function onMouseDown(o){return w(!1)},onTouchStart:function onTouchStart(o){w(!1),setTimeout((function(){S(!0)}),100)},onBlur:function onBlur(){j&&(w(m.uiState.isInMobileView),S(!1))},disabled:g}))})}))},30117:(o,t,r)=>{r.r(t),r.d(t,{default:()=>L});var i=r(34988),d=r(65515),l=r.n(d),a=r(9420),u=r(87363),p=r(10304),c=r(16641),m=r(93379),x=r.n(m),h=r(7795),v=r.n(h),b=r(90569),g=r.n(b),w=r(3565),y=r.n(w),I=r(19216),j=r.n(I),S=r(44589),k=r.n(S),P=r(15285),N={};N.styleTagTransform=k(),N.setAttributes=y(),N.insert=g().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=j();x()(P.ZP,N);P.ZP&&P.ZP.locals&&P.ZP.locals;var _=r(87623),D=r(74184),A=r(41017),K=r(93536),O=r(47514);function _createForOfIteratorHelper(o,t){var r="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!r){if(Array.isArray(o)||(r=function _unsupportedIterableToArray(o,t){if(o){if("string"==typeof o)return _arrayLikeToArray(o,t);var r={}.toString.call(o).slice(8,-1);return"Object"===r&&o.constructor&&(r=o.constructor.name),"Map"===r||"Set"===r?Array.from(o):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(o,t):void 0}}(o))||t&&o&&"number"==typeof o.length){r&&(o=r);var i=0,d=function F(){};return{s:d,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(o){throw o},f:d}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,u=!1;return{s:function s(){r=r.call(o)},n:function n(){var o=r.next();return a=o.done,o},e:function e(o){u=!0,l=o},f:function f(){try{a||null==r.return||r.return()}finally{if(u)throw l}}}}function _arrayLikeToArray(o,t){(null==t||t>o.length)&&(t=o.length);for(var r=0,i=Array(t);r<t;r++)i[r]=o[r];return i}const L=(0,a.Pi)((function GroupDropdown(o){var t,r,d,a,m=o.filteredGroups,x=o.PaletteComponent,h=o.id,v=o.item,b=o.showSearchBar,g=o.contentInnerClassName,w=(0,u.useState)(null),y=(0,i.Z)(w,2),I=y[0],j=y[1],S=[],k=-1,N=-1,L=-1,V=!1,C="---";if(m[0]&&null!==(t=m[0])&&void 0!==t&&null!==(t=t.items)&&void 0!==t&&t[0]){var T;(null===(T=m[0])||void 0===T||null===(T=T.items)||void 0===T?void 0:T[0]).parentName&&(V=!0);for(var U=v.currentItemsFilter?v.groups:m,z=function _loop(){var o=U[E];a||(a=o.items.find((function(o){return o.sel})),a&&(k=E));var t=o.items[0];if(V){var r=S.find((function(o){return o.key==t.parentName}));r||(r={type:"group",key:t.parentName,name:(0,O.jsxs)("div",{className:P.Kj,children:[(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:t.parentName}}),void 0!==t.pricePreviewPromise&&(0,O.jsx)(K.default,{asyncPricePreview:t.pricePreviewPromise})]}),items:[]},S.push(r)),r.items.push({label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:o.name}})}),value:o.name}),k==E&&(N=r.items.length-1,k=S.findIndex((function(o){return o.key==t.parentName})))}else S.push({label:(0,O.jsxs)("div",{className:P.Kj,children:[(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:o.name}}),void 0!==t.pricePreviewPromise&&(0,O.jsx)(K.default,{asyncPricePreview:t.pricePreviewPromise})]}),value:o.name})},E=0;E<U.length;E++)z();if(L=k,I&&(L=m.findIndex((function(o){return o.name==I}))),v.currentItemsFilter)C="---";else if(I)C=I;else{var R;if(null!==(R=S[k])&&void 0!==R&&R.label)C={label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:P.fL,dangerouslySetInnerHTML:{__html:S[k].value}})}),value:S[k].value},L=k;else if(k>=0){var G,M=null===(G=S[k])||void 0===G||null===(G=G.items)||void 0===G?void 0:G[N];C={label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:P.fL,dangerouslySetInnerHTML:{__html:M.value}})}),value:M.value};for(var W=N,Y=0;Y<S.length&&Y<k;Y++)W+=S[Y].items.length;L=W}}}var Z,B=[],H=_createForOfIteratorHelper(m);try{for(H.s();!(Z=H.n()).done;){var J,X=_createForOfIteratorHelper(Z.value.items);try{for(X.s();!(J=X.n()).done;){var q=J.value;B.push(q)}}catch(o){X.e(o)}finally{X.f()}}}catch(o){H.e(o)}finally{H.f()}var Q=v.currentItemsFilter?B:null===(r=m[L])||void 0===r?void 0:r.items;return(0,O.jsxs)(O.Fragment,{children:[b&&(0,O.jsx)(_.default,{doShowFilter:!0,style:{margin:"6px 2px 6px 0px",width:"calc(100% - 10px)",maxWidth:"unset",border:"1px solid lightgrey"},isInScroller:!1,item:v}),(0,O.jsxs)("div",{className:P.nC,children:[(0,O.jsxs)("div",{className:P.O7,children:[(0,O.jsx)("div",{className:P.eR,children:(0,O.jsx)(c.default,{id:h,dropdownRootClass:P.oF})}),(null===(d=m[L])||void 0===d?void 0:d.contentItemId)&&(0,O.jsx)(A.default,{item:m[L],style:{zIndex:100,top:"unset",left:"unset",position:"relative"}},m[L].key),(0,O.jsx)("div",{className:l()(P.eR,P.YS),children:(0,O.jsx)(p.Z,{className:l()(P.oF),controlClassName:P.x_,options:S,value:C,onChange:function onGroupSel(o){var t;null===(t=v.deleteCurFilter)||void 0===t||t.call(v),j(o.value)},menuClassName:P.Kh,arrowClosed:(0,O.jsx)(D.default,{open:!1}),arrowOpen:(0,O.jsx)(D.default,{open:!0})})})]}),(0,O.jsx)("div",{className:g,children:null==Q?void 0:Q.map((function(o,t){return(0,O.jsx)(x,{paletteId:h,item:o,hidePricePreview:!0,namePostFix:v.currentItemsFilter&&o.groupName?"<br/>"+o.groupName:void 0},t)}))})]})]})}))},96193:(o,t,r)=>{r.d(t,{Gp:()=>v,Hj:()=>h,Mq:()=>c,Nb:()=>m,Xx:()=>u,ZP:()=>b,_F:()=>x,ai:()=>p});var i=r(8081),d=r.n(i),l=r(23645),a=r.n(l)()(d());a.push([o.id,"/*SearchFilter*/\n\ninput.index-module--rVLUK {\n width: 96px;\n padding: 2px;\n margin-right: 12px;\n font-size: 14px;\n line-height: 20.8px;\n border-radius: var(--globalBorderRadius);\n border: none;\n float: right;\n color: var(--secondaryColor);\n transition: 0.35s ease;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n letter-spacing: 0.5px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n transition: width 0.2s ease;\n max-width: 240px;\n cursor: text;\n background: white;\n opacity: 1;\n}\n\n.index-module--cO8Ww.index-module--rVLUK {\n font-size: 12px;\n}\n\n.index-module--M7WBB.index-module--rVLUK {\n font-size: 15px;\n}\n\n.index-module--rVLUK.index-module--iFAfh.index-module--elYJb,\n.index-module--rVLUK.index-module--iFAfh.index-module--radk0 {\n display: block;\n line-height: 20.8px;\n width: 100%;\n max-width: 192px;\n padding-left: 1.1em;\n}\n\n.index-module--rVLUK.index-module--elYJb,\n.index-module--rVLUK.index-module--radk0 {\n width: 160px;\n margin-right: 48px;\n line-height: 27.2px;\n font-size: 17px;\n}\n\n.index-module--rVLUK:focus {\n outline: medium none invert;\n outline: initial;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK,\n.diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK,\n.diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK {\n background: #374c86;\n color: #fff;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK::-moz-placeholder, .diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK::-moz-placeholder, .diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK::-moz-placeholder {\n color: rgba(255, 255, 255, 0.6);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK::placeholder,\n.diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK::placeholder,\n.diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK::placeholder {\n color: rgba(255, 255, 255, 0.6);\n}\n\n.index-module--iFAfh.index-module--rVLUK.index-module--ljh7V {\n height: 25.6px;\n display: block;\n margin-right: 0px;\n}\n\n.index-module--cO8Ww.index-module--iFAfh.index-module--rVLUK.index-module--ljh7V {\n height: 19px;\n}\n",""]);var u="index-module--rVLUK",p="index-module--cO8Ww",c="index-module--M7WBB",m="index-module--iFAfh",x="index-module--elYJb",h="index-module--radk0",v="index-module--ljh7V";const b=a},15285:(o,t,r)=>{r.d(t,{Kh:()=>m,Kj:()=>v,O7:()=>x,YS:()=>w,ZP:()=>y,eR:()=>h,fL:()=>b,nC:()=>u,oF:()=>p,w8:()=>g,x_:()=>c});var i=r(8081),d=r.n(i),l=r(23645),a=r.n(l)()(d());a.push([o.id,".index-module--NmcGW {\n display: inline-block;\n width: 100%;\n}\n.index-module--NmcGW .index-module--huzmx {\n box-shadow: var(--boxShadowHover);\n}\n\n.index-module--NmcGW .index-module--KIWOS {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 52px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n}\n.index-module--NmcGW .index-module--CbNU9 {\n max-height: 400px !important;\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n}\n\n.index-module--Knibb {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n padding-top: 4px;\n justify-content: space-between;\n align-items: center;\n --infoIconSize: 24px;\n}\n.index-module--MeRLg {\n width: calc(50% - 32px);\n margin: 3px;\n}\n\n.index-module--migv4 {\n width: 100%;\n position: relative;\n}\n\n.index-module--ZJtCs {\n width: -moz-fit-content;\n width: fit-content;\n}\n.index-module--Rcf58 {\n padding-right: 64px;\n}\n\n.index-module--khpFY .Dropdown-root {\n position: relative;\n}\n\n.index-module--khpFY .Dropdown-control {\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n color: #333;\n cursor: default;\n outline: none;\n padding: 2px 24px 2px 10px;\n transition: all 200ms ease;\n background-color: #fff;\n border-radius: var(--globalBorderRadius);\n font-size: 14px;\n}\n\n.index-module--APlX2 .Dropdown-control {\n font-size: 12px;\n}\n\n.index-module--IJj1R .Dropdown-control {\n font-size: 15px;\n}\n\n.index-module--khpFY .Dropdown-control:hover {\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n}\n\n.index-module--khpFY .Dropdown-arrow {\n border-color: #999 transparent transparent;\n border-style: solid;\n border-width: 5px 5px 0;\n content: ' ';\n display: block;\n height: 0;\n margin-top: -ceil(2.5);\n position: absolute;\n right: 8px;\n top: 15px;\n width: 0;\n}\n\n.index-module--khpFY .is-open .Dropdown-arrow {\n border-color: transparent transparent #999;\n border-width: 0 5px 5px;\n}\n\n.index-module--khpFY .Dropdown-menu {\n background-color: white;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-top: -1px;\n max-height: 200px;\n overflow-y: auto;\n position: absolute;\n top: 100%;\n width: 100%;\n z-index: 1100;\n -webkit-overflow-scrolling: touch;\n}\n\n.index-module--khpFY .Dropdown-menu .Dropdown-group > .Dropdown-title {\n padding: 8px 10px;\n color: rgba(51, 51, 51, 1);\n font-weight: 300;\n text-transform: capitalize;\n}\n\n.index-module--khpFY .Dropdown-option {\n box-sizing: border-box;\n color: rgba(51, 51, 51, 0.8);\n cursor: pointer;\n display: block;\n padding: 8px 10px;\n}\n\n.index-module--khpFY .Dropdown-option:last-child {\n border-bottom-right-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.index-module--khpFY .Dropdown-option:hover {\n background-color: #f2f9fc;\n}\n\n.index-module--khpFY .Dropdown-option.is-selected {\n background-color: #f2f9fc;\n color: #333;\n}\n\n.index-module--khpFY .Dropdown-noresults {\n box-sizing: border-box;\n color: #ccc;\n cursor: default;\n display: block;\n padding: 8px 10px;\n}\n",""]);var u="index-module--NmcGW",p="index-module--huzmx",c="index-module--KIWOS",m="index-module--CbNU9",x="index-module--Knibb",h="index-module--MeRLg",v="index-module--migv4",b="index-module--ZJtCs",g="index-module--Rcf58",w="index-module--khpFY";const y=a}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[117,7623],{87623:(o,t,r)=>{r.r(t),r.d(t,{default:()=>O});var i=r(38946),d=r(80248),l=r(72874),a=r(9420),u=r(91214),p=r(87363),c=r(88683),m=r(93379),x=r.n(m),h=r(7795),v=r.n(h),b=r(90569),g=r.n(b),w=r(3565),y=r.n(w),I=r(19216),j=r.n(I),S=r(44589),k=r.n(S),P=r(96193),N={};N.styleTagTransform=k(),N.setAttributes=y(),N.insert=g().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=j();x()(P.ZP,N);P.ZP&&P.ZP.locals&&P.ZP.locals;var _=r(65515),D=r.n(_),A=r(47514),K=["isInScroller","item","doShowFilter"];function ownKeys(o,t){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(o);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){(0,d.Z)(o,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(r,t))}))}return o}const O=(0,a.Pi)((function Seachbar(o){var t=o.isInScroller,r=o.item,d=o.doShowFilter,a=(0,l.Z)(o,K),m=(0,u.NP)(),x=(0,c.useTranslation)().t,h=(0,p.useRef)(null);(0,p.useEffect)((function(){var o=m.settingsState.itemPalettes.get(r.id);(null==o?void 0:o.configStepKey)===r.configStepKey&&m.settingsState.updateItemPalette(o.id,_objectSpread(_objectSpread({},o),{},{htmlInputElement:h.current}))}),[h]);var v=(0,p.useState)(m.uiState.isInMobileView),b=(0,i.Z)(v,2),g=b[0],w=b[1],y=(0,p.useState)(!1),I=(0,i.Z)(y,2),j=I[0],S=I[1];return(0,A.jsx)("form",{autoComplete:"off",autoFocus:!1,onSubmit:function onSubmit(o){return o.preventDefault()},style:{height:"fit-content",marginBottom:0},children:(0,A.jsx)("input",_objectSpread(_objectSpread({},a),{},{ref:h,className:D()(P.Xx,d?void 0:P.Gp,m.uiState.configSettingsIsExpanded?P._F:void 0,m.uiState.configSettingsIsMaxExpanded?P.Hj:void 0,t?P.Nb:void 0,m.uiState.isInMobileView?P.ai:void 0,m.uiState.isTablet?P.Mq:void 0),autoComplete:"off",value:r.searchText,onKeyUp:function onKeyUp(o){return function filterFreeTextChanged(o,t){""!==o?m.settingsState.onAllGroups(t,!1):m.paletteViewHandler.isGroupFolded(r.id)&&m.settingsState.onAllGroups(t,!0),m.paletteViewHandler.onSearchTextChanged(o,t)}(o.target.value,r.id)},placeholder:x("configurator.QUICKFILTER"),type:"text","data-test-id":"plannerSearchbar",onMouseDown:function onMouseDown(o){return w(!1)},onTouchStart:function onTouchStart(o){w(!1),setTimeout((function(){S(!0)}),100)},onBlur:function onBlur(){j&&(w(m.uiState.isInMobileView),S(!1))},disabled:g}))})}))},30117:(o,t,r)=>{r.r(t),r.d(t,{default:()=>L});var i=r(38946),d=r(65515),l=r.n(d),a=r(9420),u=r(87363),p=r(10304),c=r(16641),m=r(93379),x=r.n(m),h=r(7795),v=r.n(h),b=r(90569),g=r.n(b),w=r(3565),y=r.n(w),I=r(19216),j=r.n(I),S=r(44589),k=r.n(S),P=r(15285),N={};N.styleTagTransform=k(),N.setAttributes=y(),N.insert=g().bind(null,"head"),N.domAPI=v(),N.insertStyleElement=j();x()(P.ZP,N);P.ZP&&P.ZP.locals&&P.ZP.locals;var _=r(87623),D=r(74184),A=r(41017),K=r(93536),O=r(47514);function _createForOfIteratorHelper(o,t){var r="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!r){if(Array.isArray(o)||(r=function _unsupportedIterableToArray(o,t){if(o){if("string"==typeof o)return _arrayLikeToArray(o,t);var r={}.toString.call(o).slice(8,-1);return"Object"===r&&o.constructor&&(r=o.constructor.name),"Map"===r||"Set"===r?Array.from(o):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(o,t):void 0}}(o))||t&&o&&"number"==typeof o.length){r&&(o=r);var i=0,d=function F(){};return{s:d,n:function n(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(o){throw o},f:d}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,u=!1;return{s:function s(){r=r.call(o)},n:function n(){var o=r.next();return a=o.done,o},e:function e(o){u=!0,l=o},f:function f(){try{a||null==r.return||r.return()}finally{if(u)throw l}}}}function _arrayLikeToArray(o,t){(null==t||t>o.length)&&(t=o.length);for(var r=0,i=Array(t);r<t;r++)i[r]=o[r];return i}const L=(0,a.Pi)((function GroupDropdown(o){var t,r,d,a,m=o.filteredGroups,x=o.PaletteComponent,h=o.id,v=o.item,b=o.showSearchBar,g=o.contentInnerClassName,w=(0,u.useState)(null),y=(0,i.Z)(w,2),I=y[0],j=y[1],S=[],k=-1,N=-1,L=-1,V=!1,C="---";if(m[0]&&null!==(t=m[0])&&void 0!==t&&null!==(t=t.items)&&void 0!==t&&t[0]){var T;(null===(T=m[0])||void 0===T||null===(T=T.items)||void 0===T?void 0:T[0]).parentName&&(V=!0);for(var U=v.currentItemsFilter?v.groups:m,z=function _loop(){var o=U[E];a||(a=o.items.find((function(o){return o.sel})),a&&(k=E));var t=o.items[0];if(V){var r=S.find((function(o){return o.key==t.parentName}));r||(r={type:"group",key:t.parentName,name:(0,O.jsxs)("div",{className:P.Kj,children:[(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:t.parentName}}),void 0!==t.pricePreviewPromise&&(0,O.jsx)(K.default,{asyncPricePreview:t.pricePreviewPromise})]}),items:[]},S.push(r)),r.items.push({label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:o.name}})}),value:o.name}),k==E&&(N=r.items.length-1,k=S.findIndex((function(o){return o.key==t.parentName})))}else S.push({label:(0,O.jsxs)("div",{className:P.Kj,children:[(0,O.jsx)("div",{className:l()(P.fL,t.pricePreviewPromise?P.w8:void 0),dangerouslySetInnerHTML:{__html:o.name}}),void 0!==t.pricePreviewPromise&&(0,O.jsx)(K.default,{asyncPricePreview:t.pricePreviewPromise})]}),value:o.name})},E=0;E<U.length;E++)z();if(L=k,I&&(L=m.findIndex((function(o){return o.name==I}))),v.currentItemsFilter)C="---";else if(I)C=I;else{var R;if(null!==(R=S[k])&&void 0!==R&&R.label)C={label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:P.fL,dangerouslySetInnerHTML:{__html:S[k].value}})}),value:S[k].value},L=k;else if(k>=0){var G,M=null===(G=S[k])||void 0===G||null===(G=G.items)||void 0===G?void 0:G[N];C={label:(0,O.jsx)("div",{className:P.Kj,children:(0,O.jsx)("div",{className:P.fL,dangerouslySetInnerHTML:{__html:M.value}})}),value:M.value};for(var W=N,Y=0;Y<S.length&&Y<k;Y++)W+=S[Y].items.length;L=W}}}var Z,B=[],H=_createForOfIteratorHelper(m);try{for(H.s();!(Z=H.n()).done;){var J,X=_createForOfIteratorHelper(Z.value.items);try{for(X.s();!(J=X.n()).done;){var q=J.value;B.push(q)}}catch(o){X.e(o)}finally{X.f()}}}catch(o){H.e(o)}finally{H.f()}var Q=v.currentItemsFilter?B:null===(r=m[L])||void 0===r?void 0:r.items;return(0,O.jsxs)(O.Fragment,{children:[b&&(0,O.jsx)(_.default,{doShowFilter:!0,style:{margin:"6px 2px 6px 0px",width:"calc(100% - 10px)",maxWidth:"unset",border:"1px solid lightgrey"},isInScroller:!1,item:v}),(0,O.jsxs)("div",{className:P.nC,children:[(0,O.jsxs)("div",{className:P.O7,children:[(0,O.jsx)("div",{className:P.eR,children:(0,O.jsx)(c.default,{id:h,dropdownRootClass:P.oF})}),(null===(d=m[L])||void 0===d?void 0:d.contentItemId)&&(0,O.jsx)(A.default,{item:m[L],style:{zIndex:100,top:"unset",left:"unset",position:"relative"}},m[L].key),(0,O.jsx)("div",{className:l()(P.eR,P.YS),children:(0,O.jsx)(p.Z,{className:l()(P.oF),controlClassName:P.x_,options:S,value:C,onChange:function onGroupSel(o){var t;null===(t=v.deleteCurFilter)||void 0===t||t.call(v),j(o.value)},menuClassName:P.Kh,arrowClosed:(0,O.jsx)(D.default,{open:!1}),arrowOpen:(0,O.jsx)(D.default,{open:!0})})})]}),(0,O.jsx)("div",{className:g,children:null==Q?void 0:Q.map((function(o,t){return(0,O.jsx)(x,{paletteId:h,item:o,hidePricePreview:!0,namePostFix:v.currentItemsFilter&&o.groupName?"<br/>"+o.groupName:void 0},t)}))})]})]})}))},96193:(o,t,r)=>{r.d(t,{Gp:()=>v,Hj:()=>h,Mq:()=>c,Nb:()=>m,Xx:()=>u,ZP:()=>b,_F:()=>x,ai:()=>p});var i=r(8081),d=r.n(i),l=r(23645),a=r.n(l)()(d());a.push([o.id,"/*SearchFilter*/\n\ninput.index-module--rVLUK {\n width: 96px;\n padding: 2px;\n margin-right: 12px;\n font-size: 14px;\n line-height: 20.8px;\n border-radius: var(--globalBorderRadius);\n border: none;\n float: right;\n color: var(--secondaryColor);\n transition: 0.35s ease;\n font-family: var(--diva-typography-font-family);\n font-weight: 100;\n letter-spacing: 0.5px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n transition: width 0.2s ease;\n max-width: 240px;\n cursor: text;\n background: white;\n opacity: 1;\n}\n\n.index-module--cO8Ww.index-module--rVLUK {\n font-size: 12px;\n}\n\n.index-module--M7WBB.index-module--rVLUK {\n font-size: 15px;\n}\n\n.index-module--rVLUK.index-module--iFAfh.index-module--elYJb,\n.index-module--rVLUK.index-module--iFAfh.index-module--radk0 {\n display: block;\n line-height: 20.8px;\n width: 100%;\n max-width: 192px;\n padding-left: 1.1em;\n}\n\n.index-module--rVLUK.index-module--elYJb,\n.index-module--rVLUK.index-module--radk0 {\n width: 160px;\n margin-right: 48px;\n line-height: 27.2px;\n font-size: 17px;\n}\n\n.index-module--rVLUK:focus {\n outline: medium none invert;\n outline: initial;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK,\n.diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK,\n.diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK {\n background: #374c86;\n color: #fff;\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK::-moz-placeholder, .diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK::-moz-placeholder, .diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK::-moz-placeholder {\n color: rgba(255, 255, 255, 0.6);\n}\n\n.diva-component-DIVA_BACKOFFICE_NEW .darkmode input.index-module--rVLUK::placeholder,\n.diva-component-DIVA_PRODUCT_ONBOARDING .darkmode input.index-module--rVLUK::placeholder,\n.diva-component-DIVA_DATA_ENGINE .darkmode input.index-module--rVLUK::placeholder {\n color: rgba(255, 255, 255, 0.6);\n}\n\n.index-module--iFAfh.index-module--rVLUK.index-module--ljh7V {\n height: 25.6px;\n display: block;\n margin-right: 0px;\n}\n\n.index-module--cO8Ww.index-module--iFAfh.index-module--rVLUK.index-module--ljh7V {\n height: 19px;\n}\n",""]);var u="index-module--rVLUK",p="index-module--cO8Ww",c="index-module--M7WBB",m="index-module--iFAfh",x="index-module--elYJb",h="index-module--radk0",v="index-module--ljh7V";const b=a},15285:(o,t,r)=>{r.d(t,{Kh:()=>m,Kj:()=>v,O7:()=>x,YS:()=>w,ZP:()=>y,eR:()=>h,fL:()=>b,nC:()=>u,oF:()=>p,w8:()=>g,x_:()=>c});var i=r(8081),d=r.n(i),l=r(23645),a=r.n(l)()(d());a.push([o.id,".index-module--NmcGW {\n display: inline-block;\n width: 100%;\n}\n.index-module--NmcGW .index-module--huzmx {\n box-shadow: var(--boxShadowHover);\n}\n\n.index-module--NmcGW .index-module--KIWOS {\n border-radius: var(--globalBorderRadius);\n border-color: white;\n padding: 2px 52px 3px 10px;\n line-height: 20.8px;\n -webkit-font-smoothing: antialiased;\n -webkit-text-stroke: 0.1px;\n color: var(--secondaryColor);\n}\n.index-module--NmcGW .index-module--CbNU9 {\n max-height: 400px !important;\n min-width: -moz-fit-content !important;\n min-width: fit-content !important;\n}\n\n.index-module--Knibb {\n width: 100%;\n height: -moz-fit-content;\n height: fit-content;\n position: relative;\n display: flex;\n padding-bottom: 4px;\n padding-top: 4px;\n justify-content: space-between;\n align-items: center;\n --infoIconSize: 24px;\n}\n.index-module--MeRLg {\n width: calc(50% - 32px);\n margin: 3px;\n}\n\n.index-module--migv4 {\n width: 100%;\n position: relative;\n}\n\n.index-module--ZJtCs {\n width: -moz-fit-content;\n width: fit-content;\n}\n.index-module--Rcf58 {\n padding-right: 64px;\n}\n\n.index-module--khpFY .Dropdown-root {\n position: relative;\n}\n\n.index-module--khpFY .Dropdown-control {\n position: relative;\n overflow: hidden;\n box-sizing: border-box;\n color: #333;\n cursor: default;\n outline: none;\n padding: 2px 24px 2px 10px;\n transition: all 200ms ease;\n background-color: #fff;\n border-radius: var(--globalBorderRadius);\n font-size: 14px;\n}\n\n.index-module--APlX2 .Dropdown-control {\n font-size: 12px;\n}\n\n.index-module--IJj1R .Dropdown-control {\n font-size: 15px;\n}\n\n.index-module--khpFY .Dropdown-control:hover {\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);\n}\n\n.index-module--khpFY .Dropdown-arrow {\n border-color: #999 transparent transparent;\n border-style: solid;\n border-width: 5px 5px 0;\n content: ' ';\n display: block;\n height: 0;\n margin-top: -ceil(2.5);\n position: absolute;\n right: 8px;\n top: 15px;\n width: 0;\n}\n\n.index-module--khpFY .is-open .Dropdown-arrow {\n border-color: transparent transparent #999;\n border-width: 0 5px 5px;\n}\n\n.index-module--khpFY .Dropdown-menu {\n background-color: white;\n box-sizing: border-box;\n border: 1px solid #ddd;\n margin-top: -1px;\n max-height: 200px;\n overflow-y: auto;\n position: absolute;\n top: 100%;\n width: 100%;\n z-index: 1100;\n -webkit-overflow-scrolling: touch;\n}\n\n.index-module--khpFY .Dropdown-menu .Dropdown-group > .Dropdown-title {\n padding: 8px 10px;\n color: rgba(51, 51, 51, 1);\n font-weight: 300;\n text-transform: capitalize;\n}\n\n.index-module--khpFY .Dropdown-option {\n box-sizing: border-box;\n color: rgba(51, 51, 51, 0.8);\n cursor: pointer;\n display: block;\n padding: 8px 10px;\n}\n\n.index-module--khpFY .Dropdown-option:last-child {\n border-bottom-right-radius: 2px;\n border-bottom-left-radius: 2px;\n}\n\n.index-module--khpFY .Dropdown-option:hover {\n background-color: #f2f9fc;\n}\n\n.index-module--khpFY .Dropdown-option.is-selected {\n background-color: #f2f9fc;\n color: #333;\n}\n\n.index-module--khpFY .Dropdown-noresults {\n box-sizing: border-box;\n color: #ccc;\n cursor: default;\n display: block;\n padding: 8px 10px;\n}\n",""]);var u="index-module--NmcGW",p="index-module--huzmx",c="index-module--KIWOS",m="index-module--CbNU9",x="index-module--Knibb",h="index-module--MeRLg",v="index-module--migv4",b="index-module--ZJtCs",g="index-module--Rcf58",w="index-module--khpFY";const y=a}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1316.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1316,6079,7553,8291,58],{65526:(e,n,t)=>{"use strict";var r=t(65807);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,n,t,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},36653:(e,n,t)=>{e.exports=t(65526)()},65807:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},46536:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});t(87363);var r=t(27139),o=t(91214),i=t(93379),s=t.n(i),a=t(7795),d=t.n(a),l=t(90569),c=t.n(l),h=t(3565),u=t.n(h),p=t(19216),m=t.n(p),g=t(44589),b=t.n(g),y=t(11311),f={};f.styleTagTransform=b(),f.setAttributes=u(),f.insert=c().bind(null,"head"),f.domAPI=d(),f.insertStyleElement=m();s()(y.ZP,f);y.ZP&&y.ZP.locals&&y.ZP.locals;var x=t(47514);var w={top:{top:0,height:12},right:{right:0,left:"auto",width:12},bottom:{bottom:0,top:"auto",height:12},left:{left:0,width:12},topRight:{top:0,right:0,left:"auto",bottom:"auto",width:16,height:16},bottomRight:{bottom:0,right:0,left:"auto",top:"auto",width:16,height:16},bottomLeft:{bottom:0,left:0,right:"auto",top:"auto",width:16,height:16},topLeft:{top:0,left:0,right:"auto",bottom:"auto",width:16,height:16}};const v=function FloatingWindow(e){var n=e.windowType,t=e.title,i=e.bounds,s=e.children,a=(0,o.NP)(),d=function handleDragStop(e,t){var r=function getSnappedBounds(e,n,t,r){var o=window.innerWidth,i=window.innerHeight,s=e,a=n;return e<=24&&(s=0),e+t>=o-24&&(s=Math.max(0,o-t)),n<=24&&(a=0),n+r>=i-24&&(a=Math.max(0,i-r)),{x:s,y:a}}(t.x,t.y,i.width,i.height);a.wysiwygDebugState.updateWysiwygWindowBounds(n,r)};return(0,x.jsxs)(r.s,{position:{x:i.x,y:i.y},size:{width:i.width,height:i.height},onDragStop:function onDragStop(e,n){return d(0,n)},onResizeStop:function handleResizeStop(e,t,r,o,s){var d,l,c=parseInt(null!==(d=r.style.width)&&void 0!==d?d:String(i.width),10),h=parseInt(null!==(l=r.style.height)&&void 0!==l?l:String(i.height),10);a.wysiwygDebugState.updateWysiwygWindowBounds(n,{x:s.x,y:s.y,width:c,height:h})},dragHandleClassName:y.Fs,minWidth:280,minHeight:200,className:y.nC,style:{display:"flex",flexDirection:"column"},bounds:"window",resizeHandleStyles:w,resizeHandleWrapperStyle:{zIndex:1e3},children:[(0,x.jsxs)("div",{className:y.Fs,children:[(0,x.jsx)("span",{className:y.r9,children:t}),(0,x.jsx)("button",{type:"button",className:y.Wb,onClick:function handleClose(){a.wysiwygDebugState.removeWysiwygWindow(n)},"aria-label":"Close",children:"×"})]}),(0,x.jsx)("div",{className:y.d1,children:(0,x.jsx)("div",{className:y.M1,children:s})})]})}},63344:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var r=t(
|
|
2
|
+
(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1316,6079,7553,8291,58],{65526:(e,n,t)=>{"use strict";var r=t(65807);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,n,t,o,i,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},36653:(e,n,t)=>{e.exports=t(65526)()},65807:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},46536:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});t(87363);var r=t(27139),o=t(91214),i=t(93379),s=t.n(i),a=t(7795),d=t.n(a),l=t(90569),c=t.n(l),h=t(3565),u=t.n(h),p=t(19216),m=t.n(p),g=t(44589),b=t.n(g),y=t(11311),f={};f.styleTagTransform=b(),f.setAttributes=u(),f.insert=c().bind(null,"head"),f.domAPI=d(),f.insertStyleElement=m();s()(y.ZP,f);y.ZP&&y.ZP.locals&&y.ZP.locals;var x=t(47514);var w={top:{top:0,height:12},right:{right:0,left:"auto",width:12},bottom:{bottom:0,top:"auto",height:12},left:{left:0,width:12},topRight:{top:0,right:0,left:"auto",bottom:"auto",width:16,height:16},bottomRight:{bottom:0,right:0,left:"auto",top:"auto",width:16,height:16},bottomLeft:{bottom:0,left:0,right:"auto",top:"auto",width:16,height:16},topLeft:{top:0,left:0,right:"auto",bottom:"auto",width:16,height:16}};const v=function FloatingWindow(e){var n=e.windowType,t=e.title,i=e.bounds,s=e.children,a=(0,o.NP)(),d=function handleDragStop(e,t){var r=function getSnappedBounds(e,n,t,r){var o=window.innerWidth,i=window.innerHeight,s=e,a=n;return e<=24&&(s=0),e+t>=o-24&&(s=Math.max(0,o-t)),n<=24&&(a=0),n+r>=i-24&&(a=Math.max(0,i-r)),{x:s,y:a}}(t.x,t.y,i.width,i.height);a.wysiwygDebugState.updateWysiwygWindowBounds(n,r)};return(0,x.jsxs)(r.s,{position:{x:i.x,y:i.y},size:{width:i.width,height:i.height},onDragStop:function onDragStop(e,n){return d(0,n)},onResizeStop:function handleResizeStop(e,t,r,o,s){var d,l,c=parseInt(null!==(d=r.style.width)&&void 0!==d?d:String(i.width),10),h=parseInt(null!==(l=r.style.height)&&void 0!==l?l:String(i.height),10);a.wysiwygDebugState.updateWysiwygWindowBounds(n,{x:s.x,y:s.y,width:c,height:h})},dragHandleClassName:y.Fs,minWidth:280,minHeight:200,className:y.nC,style:{display:"flex",flexDirection:"column"},bounds:"window",resizeHandleStyles:w,resizeHandleWrapperStyle:{zIndex:1e3},children:[(0,x.jsxs)("div",{className:y.Fs,children:[(0,x.jsx)("span",{className:y.r9,children:t}),(0,x.jsx)("button",{type:"button",className:y.Wb,onClick:function handleClose(){a.wysiwygDebugState.removeWysiwygWindow(n)},"aria-label":"Close",children:"×"})]}),(0,x.jsx)("div",{className:y.d1,children:(0,x.jsx)("div",{className:y.M1,children:s})})]})}},63344:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>m});var r=t(38946),o=t(80248),i=t(88291),s=(t(87363),t(61533)),a=t.n(s),d=t(91214),l=t(46536),c=t(32699),h=t(47514);function ownKeys(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var u={PartList:"Stückliste",PriceAnalyzer:"Preise",DecisionAnalyzer:"Decisions",OptionTreeTable:"Option Tree",PropertiesTable:"Properties",ErrorWarningOverview:"Errors & Warnings",ekText:"Ek Text",PriceList:"Price list"},p={PartList:"PartlistDebug",DecisionAnalyzer:"DecisionAnalyzer",OptionTreeTable:"OptionTreeTable",PropertiesTable:"PropertiesTable",PriceAnalyzer:"PriceAnalyzer",ErrorWarningOverview:"ErrorAndWarningOverview",PriceList:"PriceList",ekText:"EkTextViewer"};const m=function ToolContainer(e){(0,i.Z)(e);var n=(0,d.NP)(),t=(0,c.me)(),s=Array.from(n.wysiwygDebugState.activeWysiwygWindows.entries()),m=function renderContent(e){var n=p[e],r=t[n];if(!r)return(0,h.jsx)(c.oF,{name:n});var i="ErrorWarningOverview"===e?{}:{className:""};return(0,h.jsx)(r,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,o.Z)(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}({},i))},g=s.map((function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1];return(0,h.jsx)(l.default,{windowType:t,title:u[t],bounds:o,children:m(t)},t)}));return 0===g.length?null:a().createPortal((0,h.jsx)(h.Fragment,{children:g}),document.body)}},11311:(e,n,t)=>{"use strict";t.d(n,{Fs:()=>d,M1:()=>u,Wb:()=>c,ZP:()=>p,d1:()=>h,nC:()=>a,r9:()=>l});var r=t(8081),o=t.n(r),i=t(23645),s=t.n(i)()(o());s.push([e.id,".index-module--WtLnO {\n display: flex;\n flex-direction: column;\n height: 100%;\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);\n border-radius: 6px;\n overflow: hidden;\n background: #fff;\n z-index: 1500;\n}\n\n.index-module--Er8AF {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 8px 12px;\n background: #f3f3f3;\n border-bottom: 1px solid #e0e0e0;\n cursor: move;\n flex-shrink: 0;\n}\n\n.index-module--hpLSv {\n font-weight: 600;\n font-size: 14px;\n}\n\n.index-module--q70C1 {\n background: none;\n border: none;\n font-size: 20px;\n line-height: 1;\n cursor: pointer;\n padding: 0 4px;\n color: #666;\n}\n\n.index-module--q70C1:hover {\n color: #333;\n}\n\n.index-module--dFn6z {\n flex: 1 1 0;\n min-height: 0;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n}\n\n.index-module--BjxlB {\n flex: 1 1 0;\n min-height: 0;\n overflow-x: hidden;\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n/* Dark mode – matches backoffice (portaled to body) */\nbody.darkmode .index-module--WtLnO {\n background: rgb(20, 20, 20);\n box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);\n}\n\nbody.darkmode .index-module--Er8AF {\n background: rgb(30, 30, 30);\n border-bottom-color: rgba(255, 255, 255, 0.12);\n color: rgb(255, 255, 255);\n}\n\nbody.darkmode .index-module--hpLSv {\n color: rgb(255, 255, 255);\n}\n\nbody.darkmode .index-module--q70C1 {\n color: rgba(255, 255, 255, 0.65);\n}\n\nbody.darkmode .index-module--q70C1:hover {\n color: rgb(255, 255, 255);\n}\n\nbody.darkmode .index-module--dFn6z {\n background: rgb(20, 20, 20);\n color: rgb(255, 255, 255);\n}\n",""]);var a="index-module--WtLnO",d="index-module--Er8AF",l="index-module--hpLSv",c="index-module--q70C1",h="index-module--dFn6z",u="index-module--BjxlB";const p=s},88291:(e,n,t)=>{"use strict";function _objectDestructuringEmpty(e){if(null==e)throw new TypeError("Cannot destructure "+e)}t.d(n,{Z:()=>_objectDestructuringEmpty})}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1337.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1337],{79837:(t,r,o)=>{o.d(r,{d:()=>a});var a="autoPlaceDrag"},51337:(t,r,o)=>{o.r(r),o.d(r,{default:()=>C});var a=o(80248),i=o(34988),l=o(12952),c=o(91214),d=o(32699),u=o(87363),v=o(9420),p=o(88683),g=o(95729),y=o.n(g),m=o(22080),b=o(79837),S=o(71442),h=o(84658),P=o(50747),A=o.n(P),I=o(50698);function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,d=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{c||null==o.return||o.return()}finally{if(d)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a}function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(o),!0).forEach((function(r){(0,a.Z)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}var w=(0,p.getLogger)("Planner","CreateImageShot"),E={width:3840,height:2160,formats:["png"],jpegQuality:.92,settleFrames:60,stableMs:800,cameraPadding:1.25};var O=o(47514);function PlannerRTVNext_ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function PlannerRTVNext_objectSpread(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?PlannerRTVNext_ownKeys(Object(o),!0).forEach((function(r){(0,a.Z)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):PlannerRTVNext_ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function PlannerRTVNext_createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function PlannerRTVNext_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return PlannerRTVNext_arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?PlannerRTVNext_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,d=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{c||null==o.return||o.return()}finally{if(d)throw l}}}}function PlannerRTVNext_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a}var T=new Set(["PLANNER","ACC_PLANNER","PLANNER_2.0"]);function resolveAccessoryTargets(t,r){var o,a,i,l,c=null===(o=t.settingsState.plannedPlacesOnGrids)||void 0===o?void 0:o.find((function(t){var o;return(null!==(o=t.elementId)&&void 0!==o?o:"").replace(/^E/,"")===r.parentElementKey}));if(!c)return null;for(var d=0,u=Object.keys(c.grids);d<u.length;d++){var v=u[d],p=c.grids[v];if(p.idx===r.gridId){l=v;var g=p.accessories.find((function(t){return t.index===r.cellIdx}));if(g){a=g.basketId,i=g.articleCodex;break}}}return{parentBasketId:c.basketId,accBasketId:a,accCodex:i,gridName:l}}const C=(0,v.Pi)((function PlannerRTVNext(){var t,r,o,a,v,P,C,x=(0,c.NP)(),D=(0,d.Qv)(),k=(0,p.useDivaCore)(),R=k.state,j=R.apiConfig,N=R.jwt,_=k.actions;(0,u.useEffect)((function(){(0,m.JB)("rtv: PlannerRTVNext mounted")}),[]);var V=(0,u.useRef)(x.hqRenderScript);(0,u.useEffect)((function(){x.hqRenderScript!==V.current&&(V.current=x.hqRenderScript,x.hqRenderScript&&_.toggleLoading("RTV_Assembling",!1,!0))}),[x.hqRenderScript,_]);var L=(0,u.useMemo)((function(){return{onElementSelected:function onElementSelected(t,r){x.viewPlannerHandler.onElementSelected(t,r)},onElementDeselected:function onElementDeselected(){x.viewPlannerHandler.onClearElementSelection()},updatePlannerTrans:function updatePlannerTrans(t,r,o,a,i,l,c,d){x.divaWebPlanner.updatePlannerTrans(t,r,{x:o.x,y:o.y,z:o.z},a,i,l,c,d)},getDockSnapPreview:function getDockSnapPreview(t,r,o,a){return x.divaWebPlanner.getDockSnapPreview(r,o,a)},onElementDeleted:function onElementDeleted(t,r){x.viewPlannerHandler.onElementDeleted(t,r)},onElementCopy:function onElementCopy(t,r,o){return x.viewPlannerHandler.onElementCopy(t,r,o)},onDockingPointInteraction:function onDockingPointInteraction(t,r,o,a,i){return x.viewPlannerHandler.onDockingPointInteraction(t,r,o,a,i)},onAccessoryPlace:function onAccessoryPlace(t,r,o,a){x.paletteViewHandler.addAccessorieOnShelfPlannerView(t,r,o,a)},onAccessoryDragOver:function onAccessoryDragOver(t){x.settingsState.setDraggedAccessoryHasTarget(t)},onAccessorySelect:function onAccessorySelect(t){var r=resolveAccessoryTargets(x,t);r&&x.paletteViewHandler.selectShelfAccessorie(r.accCodex,r.accBasketId)},onAccessoryDeselect:function onAccessoryDeselect(){x.paletteViewHandler.selectShelfAccessorie(void 0)},onAccessoryDelete:function onAccessoryDelete(t){var r=resolveAccessoryTargets(x,t);r&&x.paletteViewHandler.deleteAccessorieOnShelfPlannerView(t.gridId,t.cellIdx,r.parentBasketId)},onAccessoryMoveStart:function onAccessoryMoveStart(t){var r=resolveAccessoryTargets(x,t);if(r&&r.accBasketId&&r.gridName)return x.divaWebPlanner.getFreeToMovePlacesOnGrids(r.gridName,r.accBasketId,!0)},onAccessoryMove:function onAccessoryMove(t,r){var o=resolveAccessoryTargets(x,t);if(o&&o.accBasketId){var a=r.articleCodex&&r.articleCodex!==o.accCodex?r.articleCodex:void 0;x.divaWebPlanner.moveShelfItemToGrid(o.accBasketId,r.parentBasketId,r.gridName,r.cellIdx,a)}},onSceneReady:function onSceneReady(){(0,m.JB)("rtv: onSceneReady"),_.toggleLoading("RTV_Assembling",!1,!1)}}}),[x.viewPlannerHandler,x.divaWebPlanner,x,_]),M=x.productState.rtvSelectedElementId,H=x.isParentViewVisible;(0,u.useEffect)((function(){if(H)return(0,S.RS)()}),[H]);var G=x.productState.doShowRTV,B=x.productState.doShow3DComb,U=x.productState.doShowGrid,W="CREATE_IMAGE"===x.configState.initMode,K=!(G||B||U||W),q=(0,u.useState)(!1),Z=(0,i.Z)(q,2),z=Z[0],Q=Z[1],$=H&&(z||!K);$!==z&&Q($);var J=(0,u.useState)("3d"),X=(0,i.Z)(J,2),Y=X[0],ee=X[1],ne=K?Y:U||W?"2d":"3d";ne!==Y&&ee(ne);var te=(0,u.useRef)(void 0),re=$?K?te.current:function buildPlannerScene2D(t){var r=t.viewPlannerHandler.plannedElementsDict;if(!r||0===r.size)return{isPoolPlanning:!1};var o=t.divaWebPlanner.getCatalogData(),a=(0,g.getDimensionConfigs)(null==o?void 0:o.dimensionConfig2D),i=(0,l.Z)(r.values()).some((function(t){return t.some((function(t){return null!=a[t.ArticleCodex]}))}));return{scene2d:(0,g.buildScene2D)(r,{fontUrl:null==o?void 0:o.plan2DFontUrl,dimensionConfigs:a,resolveTemplate:function resolveTemplate(r,o){return t.divaWebPlanner.convertTemplateToCodex(r,o)}}),isPoolPlanning:i}}(x):void 0;te.current=re;var oe=null==re?void 0:re.scene2d,ae=null!==(t=null==re?void 0:re.isPoolPlanning)&&void 0!==t&&t,ie=null!==(r=null===(o=x.divaWebPlanner.getCatalogData())||void 0===o?void 0:o.rtvPreset)&&void 0!==r?r:g.WHITE_ROOM_PRESET;if(function useCreateImageShot(t,r,o){var a="CREATE_IMAGE"===t.configState.initMode,l=(0,u.useRef)(!1),c=a&&r?r.elements.map((function(t){return"".concat(t.elementId,":").concat(t.width,"x").concat(t.depth,"@").concat(t.position[0],",").concat(t.position[1])})).join("|"):"";(0,u.useEffect)((function(){if(a&&c&&!l.current){var r=_objectSpread(_objectSpread(_objectSpread({},E),o.createImage),t.configState.createImageConfig),d=window.setTimeout((0,h.Z)(A().mark((function _callee(){var o,a,c,d,u,v,p,y,m,b,S;return A().wrap((function _callee$(h){for(;;)switch(h.prev=h.next){case 0:if(!l.current){h.next=2;break}return h.abrupt("return");case 2:return l.current=!0,h.prev=3,a={id:"plan-2d",viewMode:"2d",showGrid:!1,showDimensionLines:!0,showPosNr:!1,environment:_objectSpread(_objectSpread(_objectSpread(_objectSpread({},(0,g.emitConfig)(g.ENVIRONMENT_CONFIG,g.useRTVStore.getState().resolvedEnvironment)),r.dimensionLineUnit?{dimensionLineUnit:r.dimensionLineUnit}:{}),void 0!==r.dimensionLineHideUnit?{dimensionLineHideUnit:r.dimensionLineHideUnit}:{}),r.dimensionLineColor?{dimensionLineColor:r.dimensionLineColor}:{}),resolution:{width:r.width,height:r.height},camera:{padding:r.cameraPadding},format:"png",settleFrames:r.settleFrames},h.next=7,g.useRTVStore.getState().captureShots({shots:[a]});case 7:if(c=h.sent,d=(0,i.Z)(c,1),u=d[0]){h.next=12;break}throw new Error("captureShots returned no result");case 12:v=[],p=_createForOfIteratorHelper(r.formats),h.prev=14,p.s();case 16:if((y=p.n()).done){h.next=31;break}if("jpeg"!==(m=y.value)){h.next=24;break}return h.next=21,(0,I.N7)(u.blob,r.jpegQuality);case 21:h.t0=h.sent,h.next=27;break;case 24:return h.next=26,(0,I.fL)(u.blob);case 26:h.t0=h.sent;case 27:b=h.t0,v.push({format:m,dataUrl:b,width:u.width,height:u.height});case 29:h.next=16;break;case 31:h.next=36;break;case 33:h.prev=33,h.t1=h.catch(14),p.e(h.t1);case 36:return h.prev=36,p.f(),h.finish(36);case 39:null===(o=t.actions)||void 0===o||o.onEvent({type:"planImageCreated",data:{images:v}}),h.next=47;break;case 42:h.prev=42,h.t2=h.catch(3),w.warn("CREATE_IMAGE capture failed",h.t2),l.current=!1,null===(S=t.actions)||void 0===S||S.onEvent({type:"planImageFailed",data:{message:h.t2 instanceof Error?h.t2.message:String(h.t2)}});case 47:case"end":return h.stop()}}),_callee,null,[[3,42],[14,33,36,39]])}))),r.stableMs);return function(){return window.clearTimeout(d)}}}),[a,c,t,o])}(x,oe,ie),!$)return null;var le=null===(a=x.tabGroupState.curTabGroup)||void 0===a?void 0:a.type,ce=null!=le&&T.has(le),se=x.productState.rtvFocusElementId,de=ae||x.productState.doShow3DDimensionLines,ue=function buildElementsInfoFromArticles(t){for(var r,o,a,i,l,c=new Map,d=t.settingsState.articleInfos,u=t.viewPlannerHandler.plannedElementsDict,v=t.productState.rtvSelectedElementId,p="SHELFPLANNER"===(null===(r=t.tabGroupState.curTabGroup)||void 0===r?void 0:r.type),g=null!=(l=null===(i=t.tabGroupState.curTabGroup)||void 0===i?void 0:i.type)&&T.has(l),y=null===(o=t.divaWebPlanner.getCatalogData())||void 0===o?void 0:o.elementCopyAVLR,m=null===(a=t.tabGroupState.curOption)||void 0===a?void 0:a.codex,b=null!=y&&(g||Array.isArray(y)&&null!=m&&y.includes(m)),S=function resolveState(t,r,o){return o?p||r?"selectable":"unselectable":p?"active":void 0!==t&&v===t?"selected":r?"active":"selectable"},h=new Map,P=0,A=Object.keys(d);P<A.length;P++){var I=d[A[P]];void 0!==I.elementId&&h.set(I.elementId,{setId:I.setId,posNr:String(I.posNr),isActive:I.isActive,canDelete:I.isActive,isShelfAccessoire:!!I.isShelfAccessoire,shelfElementId:I.shelfElementId})}u&&u.forEach((function(t,r){var o,a=PlannerRTVNext_createForOfIteratorHelper(t);try{for(a.s();!(o=a.n()).done;){var i,l,d,u=o.value,v=u.getElementId(),p=u.getParentElementId(),g=h.get(v),y="BOX"===u.getPlannerType(),m=void 0,P=void 0,A=void 0,I=void 0;if(y){m=!0,P=!0;var w=u.getFreeDockingPointByTypeAndNumber("AVO",1);A=null!=w&&!w.IsDisabled}else!b||null!=p||null!=g&&g.isShelfAccessoire||(m=u.getFreeDockingPointsByType("AVL").some((function(t){return!t.IsDisabled})),P=u.getFreeDockingPointsByType("AVR").some((function(t){return!t.IsDisabled})),I=!0);var E=g?S(v,g.isActive,!!g.isShelfAccessoire):"unselectable",O=null!=g&&g.isShelfAccessoire?"shelfAccessoire":y?"boxElement":null!=p?"accessoire":"planned";c.set(null!==(i=null==g?void 0:g.shelfElementId)&&void 0!==i?i:String(v),{setId:null!==(l=null==g?void 0:g.setId)&&void 0!==l?l:r,posNr:null==g?void 0:g.posNr,state:E,type:O,articleCodex:u.ArticleCodex,canDelete:!!(null!=g&&g.isShelfAccessoire||I)||null!==(d=null==g?void 0:g.canDelete)&&void 0!==d&&d,parentElementId:p,canCopyLeft:m,canCopyRight:P,canCopyTop:A,copyAlwaysVisible:I})}}catch(t){a.e(t)}finally{a.f()}}));for(var w=0,E=Object.keys(d);w<E.length;w++){var O=d[E[w]];O.isShelfAccessoire&&O.shelfElementId&&!c.has(O.shelfElementId)&&c.set(O.shelfElementId,{setId:O.setId,posNr:String(O.posNr),state:S(O.elementId,O.isActive,!0),type:"shelfAccessoire",canDelete:!0})}return c}(x),fe=x.settingsState.selectedShelfAccessoire,ve=fe&&null!==(v=null===(P=Object.values(x.settingsState.articleInfos).find((function(t){return t.basketId===fe})))||void 0===P?void 0:P.shelfElementId)&&void 0!==v?v:null,pe=ve?null===(C=ue.get(ve))||void 0===C?void 0:C.state:void 0,ge=null!=ve&&null!=pe&&"unselectable"!==pe?ve:null,ye="2d"!==ne,me=x.divaWebPlanner.getCatalogData(),be=null!=me&&me.catalogCodex?{catalogCodex:me.catalogCodex,iln:me.supplierILN}:void 0;return(0,O.jsx)(y(),{catalogInfo:ye?be:void 0,hqRenderScript:ye?x.hqRenderScript:void 0,scene2d:oe,viewMode:ne,stopRender:K,config:{archiveBaseUrl:j.diva3darchive.endsWith("/")?j.diva3darchive.slice(0,-1):j.diva3darchive,constructorServiceUrl:j.constructorService,jwt:N,capabilities:{supports3d:!0},profiles:ie.profiles,profileMode:ie.profileMode,camera:ie.camera,uiConfig:PlannerRTVNext_objectSpread({plannerMode:x.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",accessoryPlacement:b.d},ae?{hideUiIcons:!0}:{})},plannerMode:ce,freePlacesOnGrids:x.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:x.settingsState.plannedPlacesOnGrids,armedAccessoryCodex:x.settingsState.armedAccessoryToken,draggedAccessoryCodex:x.settingsState.draggedAccessoryCodex,callbacks:L,analyzerComponents:D,focusElementId:se,elementsInfo:ue,selectedElementId:M,selectedAccessoryKey:ge,showDimensionLines:de})}))}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1337],{79837:(t,r,o)=>{o.d(r,{d:()=>a});var a="autoPlaceDrag"},51337:(t,r,o)=>{o.r(r),o.d(r,{default:()=>C});var a=o(80248),i=o(38946),l=o(61965),c=o(91214),d=o(32699),u=o(87363),v=o(9420),p=o(88683),g=o(95729),y=o.n(g),m=o(460),b=o(79837),S=o(71442),h=o(84658),P=o(50747),A=o.n(P),I=o(50698);function _createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,d=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{c||null==o.return||o.return()}finally{if(d)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a}function ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function _objectSpread(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(o),!0).forEach((function(r){(0,a.Z)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}var w=(0,p.getLogger)("Planner","CreateImageShot"),E={width:3840,height:2160,formats:["png"],jpegQuality:.92,settleFrames:60,stableMs:800,cameraPadding:1.25};var O=o(47514);function PlannerRTVNext_ownKeys(t,r){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.push.apply(o,a)}return o}function PlannerRTVNext_objectSpread(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?PlannerRTVNext_ownKeys(Object(o),!0).forEach((function(r){(0,a.Z)(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):PlannerRTVNext_ownKeys(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function PlannerRTVNext_createForOfIteratorHelper(t,r){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function PlannerRTVNext_unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return PlannerRTVNext_arrayLikeToArray(t,r);var o={}.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?PlannerRTVNext_arrayLikeToArray(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,c=!0,d=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return c=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{c||null==o.return||o.return()}finally{if(d)throw l}}}}function PlannerRTVNext_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=Array(r);o<r;o++)a[o]=t[o];return a}var T=new Set(["PLANNER","ACC_PLANNER","PLANNER_2.0"]);function resolveAccessoryTargets(t,r){var o,a,i,l,c=null===(o=t.settingsState.plannedPlacesOnGrids)||void 0===o?void 0:o.find((function(t){var o;return(null!==(o=t.elementId)&&void 0!==o?o:"").replace(/^E/,"")===r.parentElementKey}));if(!c)return null;for(var d=0,u=Object.keys(c.grids);d<u.length;d++){var v=u[d],p=c.grids[v];if(p.idx===r.gridId){l=v;var g=p.accessories.find((function(t){return t.index===r.cellIdx}));if(g){a=g.basketId,i=g.articleCodex;break}}}return{parentBasketId:c.basketId,accBasketId:a,accCodex:i,gridName:l}}const C=(0,v.Pi)((function PlannerRTVNext(){var t,r,o,a,v,P,C,x=(0,c.NP)(),D=(0,d.Qv)(),k=(0,p.useDivaCore)(),R=k.state,j=R.apiConfig,N=R.jwt,_=k.actions;(0,u.useEffect)((function(){(0,m.JB)("rtv: PlannerRTVNext mounted")}),[]);var V=(0,u.useRef)(x.hqRenderScript);(0,u.useEffect)((function(){x.hqRenderScript!==V.current&&(V.current=x.hqRenderScript,x.hqRenderScript&&_.toggleLoading("RTV_Assembling",!1,!0))}),[x.hqRenderScript,_]);var L=(0,u.useMemo)((function(){return{onElementSelected:function onElementSelected(t,r){x.viewPlannerHandler.onElementSelected(t,r)},onElementDeselected:function onElementDeselected(){x.viewPlannerHandler.onClearElementSelection()},updatePlannerTrans:function updatePlannerTrans(t,r,o,a,i,l,c,d){x.divaWebPlanner.updatePlannerTrans(t,r,{x:o.x,y:o.y,z:o.z},a,i,l,c,d)},getDockSnapPreview:function getDockSnapPreview(t,r,o,a){return x.divaWebPlanner.getDockSnapPreview(r,o,a)},onElementDeleted:function onElementDeleted(t,r){x.viewPlannerHandler.onElementDeleted(t,r)},onElementCopy:function onElementCopy(t,r,o){return x.viewPlannerHandler.onElementCopy(t,r,o)},onDockingPointInteraction:function onDockingPointInteraction(t,r,o,a,i){return x.viewPlannerHandler.onDockingPointInteraction(t,r,o,a,i)},onAccessoryPlace:function onAccessoryPlace(t,r,o,a){x.paletteViewHandler.addAccessorieOnShelfPlannerView(t,r,o,a)},onAccessoryDragOver:function onAccessoryDragOver(t){x.settingsState.setDraggedAccessoryHasTarget(t)},onAccessorySelect:function onAccessorySelect(t){var r=resolveAccessoryTargets(x,t);r&&x.paletteViewHandler.selectShelfAccessorie(r.accCodex,r.accBasketId)},onAccessoryDeselect:function onAccessoryDeselect(){x.paletteViewHandler.selectShelfAccessorie(void 0)},onAccessoryDelete:function onAccessoryDelete(t){var r=resolveAccessoryTargets(x,t);r&&x.paletteViewHandler.deleteAccessorieOnShelfPlannerView(t.gridId,t.cellIdx,r.parentBasketId)},onAccessoryMoveStart:function onAccessoryMoveStart(t){var r=resolveAccessoryTargets(x,t);if(r&&r.accBasketId&&r.gridName)return x.divaWebPlanner.getFreeToMovePlacesOnGrids(r.gridName,r.accBasketId,!0)},onAccessoryMove:function onAccessoryMove(t,r){var o=resolveAccessoryTargets(x,t);if(o&&o.accBasketId){var a=r.articleCodex&&r.articleCodex!==o.accCodex?r.articleCodex:void 0;x.divaWebPlanner.moveShelfItemToGrid(o.accBasketId,r.parentBasketId,r.gridName,r.cellIdx,a)}},onSceneReady:function onSceneReady(){(0,m.JB)("rtv: onSceneReady"),_.toggleLoading("RTV_Assembling",!1,!1)}}}),[x.viewPlannerHandler,x.divaWebPlanner,x,_]),M=x.productState.rtvSelectedElementId,H=x.isParentViewVisible;(0,u.useEffect)((function(){if(H)return(0,S.RS)()}),[H]);var G=x.productState.doShowRTV,B=x.productState.doShow3DComb,U=x.productState.doShowGrid,W="CREATE_IMAGE"===x.configState.initMode,K=!(G||B||U||W),q=(0,u.useState)(!1),Z=(0,i.Z)(q,2),z=Z[0],Q=Z[1],$=H&&(z||!K);$!==z&&Q($);var J=(0,u.useState)("3d"),X=(0,i.Z)(J,2),Y=X[0],ee=X[1],ne=K?Y:U||W?"2d":"3d";ne!==Y&&ee(ne);var te=(0,u.useRef)(void 0),re=$?K?te.current:function buildPlannerScene2D(t){var r=t.viewPlannerHandler.plannedElementsDict;if(!r||0===r.size)return{isPoolPlanning:!1};var o=t.divaWebPlanner.getCatalogData(),a=(0,g.getDimensionConfigs)(null==o?void 0:o.dimensionConfig2D),i=(0,l.Z)(r.values()).some((function(t){return t.some((function(t){return null!=a[t.ArticleCodex]}))}));return{scene2d:(0,g.buildScene2D)(r,{fontUrl:null==o?void 0:o.plan2DFontUrl,dimensionConfigs:a,resolveTemplate:function resolveTemplate(r,o){return t.divaWebPlanner.convertTemplateToCodex(r,o)}}),isPoolPlanning:i}}(x):void 0;te.current=re;var oe=null==re?void 0:re.scene2d,ae=null!==(t=null==re?void 0:re.isPoolPlanning)&&void 0!==t&&t,ie=null!==(r=null===(o=x.divaWebPlanner.getCatalogData())||void 0===o?void 0:o.rtvPreset)&&void 0!==r?r:g.WHITE_ROOM_PRESET;if(function useCreateImageShot(t,r,o){var a="CREATE_IMAGE"===t.configState.initMode,l=(0,u.useRef)(!1),c=a&&r?r.elements.map((function(t){return"".concat(t.elementId,":").concat(t.width,"x").concat(t.depth,"@").concat(t.position[0],",").concat(t.position[1])})).join("|"):"";(0,u.useEffect)((function(){if(a&&c&&!l.current){var r=_objectSpread(_objectSpread(_objectSpread({},E),o.createImage),t.configState.createImageConfig),d=window.setTimeout((0,h.Z)(A().mark((function _callee(){var o,a,c,d,u,v,p,y,m,b,S;return A().wrap((function _callee$(h){for(;;)switch(h.prev=h.next){case 0:if(!l.current){h.next=2;break}return h.abrupt("return");case 2:return l.current=!0,h.prev=3,a={id:"plan-2d",viewMode:"2d",showGrid:!1,showDimensionLines:!0,showPosNr:!1,environment:_objectSpread(_objectSpread(_objectSpread(_objectSpread({},(0,g.emitConfig)(g.ENVIRONMENT_CONFIG,g.useRTVStore.getState().resolvedEnvironment)),r.dimensionLineUnit?{dimensionLineUnit:r.dimensionLineUnit}:{}),void 0!==r.dimensionLineHideUnit?{dimensionLineHideUnit:r.dimensionLineHideUnit}:{}),r.dimensionLineColor?{dimensionLineColor:r.dimensionLineColor}:{}),resolution:{width:r.width,height:r.height},camera:{padding:r.cameraPadding},format:"png",settleFrames:r.settleFrames},h.next=7,g.useRTVStore.getState().captureShots({shots:[a]});case 7:if(c=h.sent,d=(0,i.Z)(c,1),u=d[0]){h.next=12;break}throw new Error("captureShots returned no result");case 12:v=[],p=_createForOfIteratorHelper(r.formats),h.prev=14,p.s();case 16:if((y=p.n()).done){h.next=31;break}if("jpeg"!==(m=y.value)){h.next=24;break}return h.next=21,(0,I.N7)(u.blob,r.jpegQuality);case 21:h.t0=h.sent,h.next=27;break;case 24:return h.next=26,(0,I.fL)(u.blob);case 26:h.t0=h.sent;case 27:b=h.t0,v.push({format:m,dataUrl:b,width:u.width,height:u.height});case 29:h.next=16;break;case 31:h.next=36;break;case 33:h.prev=33,h.t1=h.catch(14),p.e(h.t1);case 36:return h.prev=36,p.f(),h.finish(36);case 39:null===(o=t.actions)||void 0===o||o.onEvent({type:"planImageCreated",data:{images:v}}),h.next=47;break;case 42:h.prev=42,h.t2=h.catch(3),w.warn("CREATE_IMAGE capture failed",h.t2),l.current=!1,null===(S=t.actions)||void 0===S||S.onEvent({type:"planImageFailed",data:{message:h.t2 instanceof Error?h.t2.message:String(h.t2)}});case 47:case"end":return h.stop()}}),_callee,null,[[3,42],[14,33,36,39]])}))),r.stableMs);return function(){return window.clearTimeout(d)}}}),[a,c,t,o])}(x,oe,ie),!$)return null;var le=null===(a=x.tabGroupState.curTabGroup)||void 0===a?void 0:a.type,ce=null!=le&&T.has(le),se=x.productState.rtvFocusElementId,de=ae||x.productState.doShow3DDimensionLines,ue=function buildElementsInfoFromArticles(t){for(var r,o,a,i,l,c=new Map,d=t.settingsState.articleInfos,u=t.viewPlannerHandler.plannedElementsDict,v=t.productState.rtvSelectedElementId,p="SHELFPLANNER"===(null===(r=t.tabGroupState.curTabGroup)||void 0===r?void 0:r.type),g=null!=(l=null===(i=t.tabGroupState.curTabGroup)||void 0===i?void 0:i.type)&&T.has(l),y=null===(o=t.divaWebPlanner.getCatalogData())||void 0===o?void 0:o.elementCopyAVLR,m=null===(a=t.tabGroupState.curOption)||void 0===a?void 0:a.codex,b=null!=y&&(g||Array.isArray(y)&&null!=m&&y.includes(m)),S=function resolveState(t,r,o){return o?p||r?"selectable":"unselectable":p?"active":void 0!==t&&v===t?"selected":r?"active":"selectable"},h=new Map,P=0,A=Object.keys(d);P<A.length;P++){var I=d[A[P]];void 0!==I.elementId&&h.set(I.elementId,{setId:I.setId,posNr:String(I.posNr),isActive:I.isActive,canDelete:I.isActive,isShelfAccessoire:!!I.isShelfAccessoire,shelfElementId:I.shelfElementId})}u&&u.forEach((function(t,r){var o,a=PlannerRTVNext_createForOfIteratorHelper(t);try{for(a.s();!(o=a.n()).done;){var i,l,d,u=o.value,v=u.getElementId(),p=u.getParentElementId(),g=h.get(v),y="BOX"===u.getPlannerType(),m=void 0,P=void 0,A=void 0,I=void 0;if(y){m=!0,P=!0;var w=u.getFreeDockingPointByTypeAndNumber("AVO",1);A=null!=w&&!w.IsDisabled}else!b||null!=p||null!=g&&g.isShelfAccessoire||(m=u.getFreeDockingPointsByType("AVL").some((function(t){return!t.IsDisabled})),P=u.getFreeDockingPointsByType("AVR").some((function(t){return!t.IsDisabled})),I=!0);var E=g?S(v,g.isActive,!!g.isShelfAccessoire):"unselectable",O=null!=g&&g.isShelfAccessoire?"shelfAccessoire":y?"boxElement":null!=p?"accessoire":"planned";c.set(null!==(i=null==g?void 0:g.shelfElementId)&&void 0!==i?i:String(v),{setId:null!==(l=null==g?void 0:g.setId)&&void 0!==l?l:r,posNr:null==g?void 0:g.posNr,state:E,type:O,articleCodex:u.ArticleCodex,canDelete:!!(null!=g&&g.isShelfAccessoire||I)||null!==(d=null==g?void 0:g.canDelete)&&void 0!==d&&d,parentElementId:p,canCopyLeft:m,canCopyRight:P,canCopyTop:A,copyAlwaysVisible:I})}}catch(t){a.e(t)}finally{a.f()}}));for(var w=0,E=Object.keys(d);w<E.length;w++){var O=d[E[w]];O.isShelfAccessoire&&O.shelfElementId&&!c.has(O.shelfElementId)&&c.set(O.shelfElementId,{setId:O.setId,posNr:String(O.posNr),state:S(O.elementId,O.isActive,!0),type:"shelfAccessoire",canDelete:!0})}return c}(x),fe=x.settingsState.selectedShelfAccessoire,ve=fe&&null!==(v=null===(P=Object.values(x.settingsState.articleInfos).find((function(t){return t.basketId===fe})))||void 0===P?void 0:P.shelfElementId)&&void 0!==v?v:null,pe=ve?null===(C=ue.get(ve))||void 0===C?void 0:C.state:void 0,ge=null!=ve&&null!=pe&&"unselectable"!==pe?ve:null,ye="2d"!==ne,me=x.divaWebPlanner.getCatalogData(),be=null!=me&&me.catalogCodex?{catalogCodex:me.catalogCodex,iln:me.supplierILN}:void 0;return(0,O.jsx)(y(),{catalogInfo:ye?be:void 0,hqRenderScript:ye?x.hqRenderScript:void 0,scene2d:oe,viewMode:ne,stopRender:K,config:{archiveBaseUrl:j.diva3darchive.endsWith("/")?j.diva3darchive.slice(0,-1):j.diva3darchive,constructorServiceUrl:j.constructorService,jwt:N,capabilities:{supports3d:!0},profiles:ie.profiles,profileMode:ie.profileMode,camera:ie.camera,uiConfig:PlannerRTVNext_objectSpread({plannerMode:x.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",accessoryPlacement:b.d},ae?{hideUiIcons:!0}:{})},plannerMode:ce,freePlacesOnGrids:x.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:x.settingsState.plannedPlacesOnGrids,armedAccessoryCodex:x.settingsState.armedAccessoryToken,draggedAccessoryCodex:x.settingsState.draggedAccessoryCodex,callbacks:L,analyzerComponents:D,focusElementId:se,elementsInfo:ue,selectedElementId:M,selectedAccessoryKey:ge,showDimensionLines:de})}))}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1421.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1421],{91421:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(13125),i=n(43860),o=n(80248),d=n(
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1421],{91421:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var a=n(13125),i=n(43860),o=n(80248),d=n(460),r=function(){return(0,i.Z)((function Planner3DImageUI(e,t,n){(0,a.Z)(this,Planner3DImageUI),this.settingsState=n,(0,o.Z)(this,"uiHTMLContainer",void 0),(0,o.Z)(this,"classUI","wc3DImageUI"),(0,o.Z)(this,"getConfiguratorState",void 0),(0,o.Z)(this,"plannerPaletteViewInfo",void 0),this.getConfiguratorState=e,this.plannerPaletteViewInfo=t}),[{key:"addDelIcon",value:function addDelIcon(e,t,n,a){n>100||n<0||a>100||a<0||e.addTrashIconUI(t.getSetId(),t.getElementId(),t.getRotDeg(),new d.FM(n,a,"percentage"),"BOX"==t.getPlannerType()?"BOX":"3D")}},{key:"addDimensionInfo",value:function addDimensionInfo(e,t,n,a){var i=a.getAlternateRenderInfo();if(!a.getAlternateRenderingsExist()||null!=i){var o=n.parentElementId+"."+n.shelfGridId+"."+n.shelfRasterHeight,d=a.getLeftBottomFrontUIPos(t,o);if(d&&!(d.x<0||d.x>100||d.y<0||d.y>100)){var r=Math.round(a.getDistanceToGround(t,o));-1!=r&&e.addDistanceFromGround(t,n.parentElementId,r,d)}}}},{key:"addPosNrUI",value:function addPosNrUI(e,t,n,a,i,o){var r;n<0&&(n=0),n>100&&(n=100),a<0&&(a=0),a>100&&(a=100),e.addPosNrUI(t.getSetId(),t.getElementId(),t.getIsDockedAccessoire(),new d.FM(n,a,"percentage"),t.getRotDeg(),1,null===(r=e.getPosNrByBasketId(t.getBasketId()))||void 0===r?void 0:r.toString(),i?"selected":o?"selectable":"unselectable","3D")}},{key:"addBoxPlannerDockingPoints",value:function addBoxPlannerDockingPoints(e,t,n){var a=!1,i=t.getFreeDockingPointByTypeAndNumber("AVO",1);null==i||i.IsDisabled||(a=!0);var o=n.getBoxPlannerCornerUIPos(t.getSetId(),t.getElementId(),"LEFTCENTER");o&&e.addCopy(t.getSetId(),t.getElementId(),"BoxCopyLeft",o,"3D");var d=n.getBoxPlannerCornerUIPos(t.getSetId(),t.getElementId(),"RIGHTCENTER");if(d&&e.addCopy(t.getSetId(),t.getElementId(),"BoxCopyRight",d,"3D"),a){var r=n.getBoxPlannerCornerUIPos(t.getSetId(),t.getElementId(),"TOPCENTER");r&&e.addCopy(t.getSetId(),t.getElementId(),"BoxCopyTop",r,"3D")}}},{key:"addCopyIcon",value:function addCopyIcon(e,t){e.addCopy(t.getSetId(),t.getElementId(),"CopyElement",new d.FM(0,0),"3D")}},{key:"addAccDockingPoints",value:function addAccDockingPoints(e,t,n,a){for(var i=t.getAllDockingPoints(),o=0;o<i.length;o++){var r,l=i[o];if((null===(r=this.plannerPaletteViewInfo)||void 0===r||null===(r=r.plannerConfiguration.hideAVButtons)||void 0===r||!r.includes(l.Type))&&(("AVO"==l.Type||"AVC"==l.Type||"AVU"==l.Type||"AVS"==l.Type||"AVN"==l.Type)&&null==a||a===l.Type))for(var g=0;g<n.length;g++)l.Name==n[g].N&&e.addDP(t.getSetId(),t.getElementId(),l.DpId,"ACC",l.IsDocking?"DOCKING":"NOT_DOCKING",l.OnElementId,t.getRotDeg(),0,new d.FM(n[g].x,n[g].y,"percentage"),"3D")}}},{key:"addOutlinePolygon",value:function addOutlinePolygon(e,t,n,a,i){var o=t.getOutlinePolygonForSVG(n.getSetId(),n.getElementId(),i);o&&e.addOutline3D(n.getSetId(),n.getElementId(),o.points,o.avgCamDist,a,"BOX"==n.getPlannerType())}},{key:"initialize",value:function initialize(e){this.uiHTMLContainer||(this.uiHTMLContainer=document.createElement("div"),this.uiHTMLContainer.classList.add(this.classUI),e.appendChild(this.uiHTMLContainer))}},{key:"updateUI",value:function updateUI(e,t,n,a,i,o,d,r,l){var g=this;e.clear2D3DViewerUI(),t.forEach((function(t,n){for(var r=0;r<t.length;r++){var s=t[r];if(a.hasUIInfosOfElement(s.getSetId(),s.getElementId())){var c=!1,I=d;if(i.has(n))c=i.get(n).map((function(e){return e.getElementId()})).includes(s.getElementId());if(!c&&!d&&o.has(n))for(var u=o.get(n),h=0;h<u.length;h++)if(s.getElementId()==u[h].getElementId()){I=!0;break}switch(g.addOutlinePolygon(e,a,s,c?"selected":I?"selectable":"unselectable",l),s.getPlannerType()){case"STD":var P=["PLANNER","PRODUCTS","PROMOTED","PLANNER_2.0"].includes(g.getConfiguratorState()),D=a.getLeftTopBackUIPos(s.getSetId(),s.getElementId());if(!D||g.settingsState.posNrAreHidden&&!P||g.addPosNrUI(e,s,D.x,D.y,c,I),c&&P){s.getIsDockedAccessoire()?g.addAccDockingPoints(e,s,a.getAllDockingPoints(s.getSetId(),s.getElementId()),"AVO"):g.addAccDockingPoints(e,s,a.getAllDockingPoints(s.getSetId(),s.getElementId()));var f=a.getRightTopBackUIPos(s.getSetId(),s.getElementId());g.addDelIcon(e,s,f.x,f.y),g.addCopyIcon(e,s)}if("ACC_PLANNER"==g.getConfiguratorState()&&s.getIsDockedAccessoire()){var m=a.getRightTopBackUIPos(s.getSetId(),s.getElementId());g.addDelIcon(e,s,m.x,m.y)}break;case"BOX":var v=a.getBoxPlannerCornerUIPos(s.getSetId(),s.getElementId(),"RIGHTTOPFRONT");if(v&&g.addPosNrUI(e,s,v.x,v.y,c,I),c&&(g.addBoxPlannerDockingPoints(e,s,a),!g.checkBoxPlannerSingleElement(t)&&null!=s.getFreeDockingPointByTypeAndNumber("AVO",1))){var y=a.getBoxPlannerCornerUIPos(s.getSetId(),s.getElementId(),"RIGHTTOPFRONT");y&&g.addDelIcon(e,s,y.x,y.y)}}}}})),n.forEach((function(t,n){for(var i=0;i<t.length;i++){var o=t[i];o.isShelfAcc&&g.addDimensionInfo(e,n,o,a)}}))}},{key:"checkBoxPlannerSingleElement",value:function checkBoxPlannerSingleElement(e){if(1==e.length)return!0;if(2==e.length)for(var t=e[0].getAllDockingPoints(),n=e[0].getAllDockingPoints(),a=0;a<t.length;a++)for(var i=t[a],o=0;o<n.length;o++){var d=n[o];if(i.IsDocking&&d.IsDocking&&2==i.Number&&2==d.Number&&("AVO"==i.Type||"AVU"==i.Type))return!0}return!1}},{key:"Class3DUI",get:function get(){return this.classUI}}])}(),l=function(){return(0,i.Z)((function Planner3DImage(e,t,n,i,l){(0,a.Z)(this,Planner3DImage),(0,o.Z)(this,"imageContainer",void 0),(0,o.Z)(this,"UIHandler",void 0),(0,o.Z)(this,"curRendering",void 0),(0,o.Z)(this,"update3DImgSrcInView",void 0),(0,o.Z)(this,"onDoShowNav3DChanged",void 0),this.UIHandler=new r(e,i,l),this.curRendering=new d.Oy("Placeholder","Placeholder","",-1,-1,!1,!1,0,!1,"STREAM"),this.onDoShowNav3DChanged=n,this.update3DImgSrcInView=t}),[{key:"initialize",value:function initialize(e){this.imageContainer=document.getElementById(e),this.imageContainer&&this.UIHandler.initialize(this.imageContainer)}},{key:"clearView",value:function clearView(){this.curRendering=new d.Oy("Placeholder","Placeholder","",-1,-1,!1,!1,0,!1,"STREAM"),this.update3DImgSrcInView("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==")}},{key:"updateUI",value:function updateUI(e,t,n,a,i,o,d,r){this.UIHandler.updateUI(e,t,n,this.curRendering,a,i,o,d,r)}},{key:"updatePlannerView",value:function updatePlannerView(e){var t=this.curRendering.getHasStaticBackground(),n=e.getHasStaticBackground();t!=n&&this.onDoShowNav3DChanged(!n),this.curRendering=e,this.update3DImgSrcInView(e.getImageForSrc())}},{key:"resetSelectedElementsOnEnterPlannerMode",value:function resetSelectedElementsOnEnterPlannerMode(){return!1}}])}()}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 1429.diva-web-planner-react.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1429],{94069:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var r=t(84658),o=t(34988),a=t(50747),i=t.n(a),l=t(91214),s=t(87363),c=t(9420),d=t(88683),u=t(70318),p=t.n(u),A=t(43494),g=t(93379),v=t.n(g),w=t(7795),f=t.n(w),b=t(90569),R=t.n(b),h=t(3565),m=t.n(h),C=t(19216),y=t.n(C),S=t(44589),T=t.n(S),E=t(64890),D={};D.styleTagTransform=T(),D.setAttributes=m(),D.insert=R().bind(null,"head"),D.domAPI=f(),D.insertStyleElement=y();v()(E.Z,D);E.Z&&E.Z.locals&&E.Z.locals;var P=t(47514),U=(0,d.getLogger)("Planner","PlannerRTV");const I=(0,c.Pi)((function PlannerRTV(){var e,n,t,a=(0,l.NP)(),c=(0,s.useRef)(),u=(0,d.useTranslation)().t,g=(0,s.useState)(!1),v=(0,o.Z)(g,2),w=v[0],f=v[1],b=(0,s.useState)([]),R=(0,o.Z)(b,2),h=R[0],m=R[1],C=(0,s.useRef)(!0),y=(0,s.useRef)(),S=a.viewPlannerHandler.getPlannerViewConfig(),T=(0,s.useRef)(null),E=(0,d.useDivaCore)(),D=E.actions,I=E.state,L=I.apiConfig,x=I.isMobile,k=I.isFirefox,Y=I.jwt,B=I.idm3DEnvironmentEnabled,j=I.dimensions.isTablet,V=x||j;(0,s.useEffect)((function(){a.productState.glbUrl=void 0,y.current=void 0,a.productState.allow3DComb||(a.productState.activateAR=void 0)}),[a.settingsState.configChanged]),(0,s.useEffect)((function(){var e=[];a.viewPlannerHandler.plannerUIHandler.uiItems.forEach((function(n){"PosNr"!=n.type&&"TrashIcon"!=n.type&&"BoxCopyLeft"!=n.type&&"BoxCopyRight"!=n.type&&"BoxCopyTop"!=n.type||e.push({setId:n.setId,elementId:Number(n.elementId),active:"selected"==n.elemState,selectable:"unselectable"!=n.elemState,posNr:n.posNr,type:n.type})})),JSON.stringify(e)!=JSON.stringify(h)&&m(e)}),[a.viewPlannerHandler.plannerUIHandler.uiItems]);var X=V&&a.uiState.AllConfig.arViewerIframe,K=a.uiState.AllConfig.arViewerUrl+"?arObject=1";return(0,s.useEffect)((function(){D.loadModelViewer();var e=function messageListener(e){if(T.current){var n;if("AR_READY"===e.data.type&&a.productState.doShowARQRCode)if(U.debug("[AR-DEBUG-PARENT] PlannerRTV received AR_READY, currentBlob:",!!y.current),T.current.style.zIndex="10000",T.current.style.position="fixed",T.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),D.closeModal(),y.current)U.debug("[AR-DEBUG-PARENT] PlannerRTV resending SET_AR_OBJECT on AR_READY, blob size:",y.current.size),null===(n=T.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:y.current},"*");"AR_CLOSE"===e.data.type&&(a.productState.setIsARIframeVisible(!1),a.productState.setDoShowARQRCode(!1),T.current.style.zIndex="0",T.current.style.position="absolute",T.current.style.opacity="0",T.current.src=K,f(!1),a.productState.onChangePlannerView(a.productState.allow3DComb?"3DCOMB":a.productState.allowRTV?"RTV":"3D"))}};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}),[]),(0,s.useEffect)((function(){var e,n;(U.debug("[AR-DEBUG-PARENT] PlannerRTV useEffect doShowARQRCode:",a.productState.doShowARQRCode,"arViewerIframe:",X,"currentBlob:",!!y.current,"iframeRef:",!!T.current),X&&a.productState.doShowARQRCode&&y.current)&&(U.debug("[AR-DEBUG-PARENT] PlannerRTV sending SET_AR_OBJECT via useEffect, blob size:",null===(e=y.current)||void 0===e?void 0:e.size),T.current.style.zIndex="10000",T.current.style.position="fixed",T.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),null===(n=T.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:y.current},"*"))}),[a.productState.doShowARQRCode,y.current]),!a.productState.doShowRTV&&!0===C.current||!a.isParentViewVisible?(0,P.jsx)(P.Fragment,{}):(C.current=!0,void 0!==a.hqRenderScript&&a.productState.browserSupportAR?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(p(),{renderjob:a.hqRenderScript,isMobile:V,elementsInfo:h,inBackground:w,stopRender:!a.isParentViewVisible,viewHandler:a,freePlacesOnGrids:a.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:a.settingsState.plannedPlacesOnGrids,apiConfig:L,jwt:Y,renderInBackground:!!X&&!w,disableToggleLoading:!0,uiConfig:{templateConfig:null!==(e=null===(n=a.uiState.templateConfig)||void 0===n?void 0:n["Product/ProductCenter/PlannerUI/PlannerUIVariants"])&&void 0!==e?e:"standard",posNumIcon:S.posNumIcon,posTrashIcon:S.posTrashRotIcon,hideUiIcons:null!==(t=a.divaWebPlanner.hidePlannerUiIcons())&&void 0!==t&&t,plannerMode:a.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",idm3DEnvironmentEnabled:B},callbacks:{setGlb:V?function(){var e=(0,r.Z)(i().mark((function _callee(e){var n,t;return i().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:U.debug("[AR-DEBUG-PARENT] PlannerRTV setGlb called, glb:",!!e,"glb size:",null==e?void 0:e.size,"arViewerIframe:",X,"iframeRef:",!!T.current),X&&T.current&&e?(y.current=e,U.debug("[AR-DEBUG-PARENT] PlannerRTV sending SET_AR_OBJECT via setGlb"),null===(n=T.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:e},"*")):(a.productState.glbUrl&&URL.revokeObjectURL(a.productState.glbUrl),t=URL.createObjectURL(e),a.productState.glbUrl=t);case 2:case"end":return r.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}():void 0,onElementSelected:function onElementSelected(e,n){a.viewPlannerHandler.onElementSelected(e,n)},onMissingGeo:function onMissingGeo(){a.productState.loadRTVForAr&&D.openModal({title:u("configurator.missinggeo_title"),text:u("configurator.missinggeo"),accept:"OK"})}}},"real-time-renderer"),X&&(0,P.jsx)("iframe",{src:K,ref:T,allow:"xr-spatial-tracking; camera; accelerometer; magnetometer; gyroscope",allowFullScreen:!0,style:{width:"100vw",height:a.uiState.isMobilePortrait?"100vh":"100%",opacity:"0"}}),a.productState.glbUrl&&a.productState.loadRTVForAr&&!X&&(0,P.jsx)("div",{id:"ar-viewer",children:(0,P.jsxs)("model-viewer",{id:"model-viewer",ref:function ref(e){var n,t;c.current=e,document.addEventListener("visibilitychange",(function(){var e=document.getElementById("DivaCore");e&&(e.style.position="absolute",requestAnimationFrame((function(){e.style.position="relative"})))})),null===(n=c.current)||void 0===n||n.addEventListener("model-visibility",(function(e){var n;e.detail.visible&&a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()}))})),null===(t=c.current)||void 0===t||t.addEventListener("ar-status",(function(e){var n;a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()})),"failed"===e.detail.status||"not-presenting"==e.detail.status?f(!1):f(!0)}))},src:a.productState.glbUrl,ar:!0,"ar-scale":"fixed","ar-modes":k?"":"webxr quick-look","shadow-intensity":"1","camera-controls":!0,"touch-action":"pan-y",style:{position:"absolute",height:"100%",width:"100%",top:"0px",background:"white"},children:[(0,P.jsx)("div",{id:"ar-prompt",children:(0,P.jsx)("img",{src:A})}),(0,P.jsx)("button",{id:"ar-failure",children:"AR is not tracking!"})]})})]}):(0,P.jsx)(P.Fragment,{}))}))},64890:(e,n,t)=>{t.d(n,{Z:()=>p});var r=t(8081),o=t.n(r),a=t(23645),i=t.n(a),l=t(61667),s=t.n(l),c=new URL(t(43494),t.b),d=i()(o()),u=s()(c);d.push([e.id,"/* This keeps child nodes hidden while the element loads */\n#ar-viewer :not(:defined) > * {\n display: none;\n}\n\n#ar-viewer model-viewer {\n background-color: #eee;\n overflow-x: hidden;\n}\n\n#ar-viewer #ar-button {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 20px 20px;\n background-position: 12px 50%;\n background-color: #fff;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n bottom: 132px;\n padding: 0px 16px 0px 40px;\n font-size: 14px;\n color: #4285f4;\n height: 36px;\n line-height: 36px;\n border-radius: 18px;\n border: 1px solid #dadce0;\n}\n\n#ar-viewer #ar-button:active {\n background-color: #e8eaed;\n}\n\n#ar-viewer #ar-button:focus {\n outline: none;\n}\n\n#ar-viewer #ar-button.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer #ar-button:focus-visible {\n outline: 1px solid #4285f4;\n}\n\n@keyframes circle {\n from {\n transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);\n }\n to {\n transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);\n }\n}\n\n@keyframes elongate {\n from {\n transform: translateX(100px);\n }\n to {\n transform: translateX(-100px);\n }\n}\n\n#ar-viewer model-viewer > #ar-prompt {\n position: absolute;\n left: 50%;\n bottom: 0px;\n animation: elongate 2s infinite ease-in-out alternate;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-status='session-started'] > #ar-prompt {\n display: block;\n visibility: visible;\n}\n\n#ar-viewer model-viewer > #ar-prompt > img {\n animation: circle 4s linear infinite;\n}\n\n#ar-viewer model-viewer > #ar-failure {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 175px;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-tracking='not-tracking'] > #ar-failure {\n display: block;\n}\n\n#ar-viewer .slider {\n width: 100%;\n text-align: center;\n overflow: hidden;\n position: absolute;\n bottom: 16px;\n}\n\n#ar-viewer .slides {\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n}\n\n#ar-viewer .slide {\n scroll-snap-align: start;\n flex-shrink: 0;\n width: 100px;\n height: 100px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #fff;\n margin-right: 10px;\n border-radius: 10px;\n border: none;\n display: flex;\n}\n\n#ar-viewer .slide.selected {\n border: 2px solid #4285f4;\n}\n\n#ar-viewer .slide:focus {\n outline: none;\n}\n\n#ar-viewer .slide.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer .slide:focus-visible {\n outline: 1px solid #4285f4;\n}\n",""]);const p=d},43494:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAbvElEQVR4nO2dC3hU1bWA1zyTTCaZvECeIiJiUVpitOhtrkq1YGm9ohbls/ioVouC2gqFYiuCl4JWwOptqi0olVuRglfxirag9cW95eWg1RSwgDwC8g4JkEkySWb6rWGduLOZ95yZ81r/982X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D1q9QRJwLfmiiG2G4e+v1HWpmbT4jnSjaw0WVCKXoJ3X76LYQu0ykx0U8yW9yeZKNHq7lNsnKteQ+b8sHO+YPWGPVUEDvvXSzX7M6o0ShYGCx6L4aSd3X8sFy7YCdjIhEW/4eikOr9XpTinKglGEA5Wpp3tIMabAEUXje0ALTzydgnHA5mDm6yiCEaTlb63M55kc8CfppgfkFAIWpRf5a5yMIhj4eSNKGCTGZPSIsm5/tcVvMs4xfk9tEU0wNgHAVTooJ5MDHLSMG6YhxAgLN/oQ6k07YgjGJwBwA1viWg8f5dXoZ9H69yKHsFAMwUD31etYMBgrcicZYUYTjLdZE85YFQ+FK5WFIkRJgS7mJ4OxKmh0uS6KcKwBgCp+Khgrg/7hH0ZZ1p7AcwzG6qDB5WpJODAB0FCrNwzDIE9EsbiVEwIxjCW5WlrGPcpxqRjmFGWUHlo04WdNOMMQL7JvPcNE53pJOPxsws8wp+gueUe2SjkWGcbSvCL1Hr+weoMwjMLtUYZWHHiCYSjT7XHJx+V8bhiGOcUaqfd4gNuFYb4kILnFso0VwwhMoWAKOO+o4IZhmNPh2FQMwzAMY3kYhmEYhmEYhmEYhmEYhmEYhmEYhrEiAPAvMC2jj4+Dp4sAAAAASUVORK5CYII="}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignDivaWebPlannerReact=self.webpackChunkCrystaldesignDivaWebPlannerReact||[]).push([[1429],{94069:(e,n,t)=>{t.r(n),t.d(n,{default:()=>I});var r=t(84658),o=t(38946),a=t(50747),i=t.n(a),l=t(91214),s=t(87363),c=t(9420),d=t(88683),u=t(70318),p=t.n(u),A=t(43494),g=t(93379),v=t.n(g),w=t(7795),f=t.n(w),b=t(90569),R=t.n(b),h=t(3565),m=t.n(h),C=t(19216),y=t.n(C),S=t(44589),T=t.n(S),E=t(64890),D={};D.styleTagTransform=T(),D.setAttributes=m(),D.insert=R().bind(null,"head"),D.domAPI=f(),D.insertStyleElement=y();v()(E.Z,D);E.Z&&E.Z.locals&&E.Z.locals;var P=t(47514),U=(0,d.getLogger)("Planner","PlannerRTV");const I=(0,c.Pi)((function PlannerRTV(){var e,n,t,a=(0,l.NP)(),c=(0,s.useRef)(),u=(0,d.useTranslation)().t,g=(0,s.useState)(!1),v=(0,o.Z)(g,2),w=v[0],f=v[1],b=(0,s.useState)([]),R=(0,o.Z)(b,2),h=R[0],m=R[1],C=(0,s.useRef)(!0),y=(0,s.useRef)(),S=a.viewPlannerHandler.getPlannerViewConfig(),T=(0,s.useRef)(null),E=(0,d.useDivaCore)(),D=E.actions,I=E.state,L=I.apiConfig,x=I.isMobile,k=I.isFirefox,Y=I.jwt,B=I.idm3DEnvironmentEnabled,j=I.dimensions.isTablet,V=x||j;(0,s.useEffect)((function(){a.productState.glbUrl=void 0,y.current=void 0,a.productState.allow3DComb||(a.productState.activateAR=void 0)}),[a.settingsState.configChanged]),(0,s.useEffect)((function(){var e=[];a.viewPlannerHandler.plannerUIHandler.uiItems.forEach((function(n){"PosNr"!=n.type&&"TrashIcon"!=n.type&&"BoxCopyLeft"!=n.type&&"BoxCopyRight"!=n.type&&"BoxCopyTop"!=n.type||e.push({setId:n.setId,elementId:Number(n.elementId),active:"selected"==n.elemState,selectable:"unselectable"!=n.elemState,posNr:n.posNr,type:n.type})})),JSON.stringify(e)!=JSON.stringify(h)&&m(e)}),[a.viewPlannerHandler.plannerUIHandler.uiItems]);var X=V&&a.uiState.AllConfig.arViewerIframe,K=a.uiState.AllConfig.arViewerUrl+"?arObject=1";return(0,s.useEffect)((function(){D.loadModelViewer();var e=function messageListener(e){if(T.current){var n;if("AR_READY"===e.data.type&&a.productState.doShowARQRCode)if(U.debug("[AR-DEBUG-PARENT] PlannerRTV received AR_READY, currentBlob:",!!y.current),T.current.style.zIndex="10000",T.current.style.position="fixed",T.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),D.closeModal(),y.current)U.debug("[AR-DEBUG-PARENT] PlannerRTV resending SET_AR_OBJECT on AR_READY, blob size:",y.current.size),null===(n=T.current.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:y.current},"*");"AR_CLOSE"===e.data.type&&(a.productState.setIsARIframeVisible(!1),a.productState.setDoShowARQRCode(!1),T.current.style.zIndex="0",T.current.style.position="absolute",T.current.style.opacity="0",T.current.src=K,f(!1),a.productState.onChangePlannerView(a.productState.allow3DComb?"3DCOMB":a.productState.allowRTV?"RTV":"3D"))}};return window.addEventListener("message",e),function(){window.removeEventListener("message",e)}}),[]),(0,s.useEffect)((function(){var e,n;(U.debug("[AR-DEBUG-PARENT] PlannerRTV useEffect doShowARQRCode:",a.productState.doShowARQRCode,"arViewerIframe:",X,"currentBlob:",!!y.current,"iframeRef:",!!T.current),X&&a.productState.doShowARQRCode&&y.current)&&(U.debug("[AR-DEBUG-PARENT] PlannerRTV sending SET_AR_OBJECT via useEffect, blob size:",null===(e=y.current)||void 0===e?void 0:e.size),T.current.style.zIndex="10000",T.current.style.position="fixed",T.current.style.opacity="1",a.productState.setIsARIframeVisible(!0),null===(n=T.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:y.current},"*"))}),[a.productState.doShowARQRCode,y.current]),!a.productState.doShowRTV&&!0===C.current||!a.isParentViewVisible?(0,P.jsx)(P.Fragment,{}):(C.current=!0,void 0!==a.hqRenderScript&&a.productState.browserSupportAR?(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(p(),{renderjob:a.hqRenderScript,isMobile:V,elementsInfo:h,inBackground:w,stopRender:!a.isParentViewVisible,viewHandler:a,freePlacesOnGrids:a.settingsState.freePlacesOnGrids,plannedPlacesOnGrids:a.settingsState.plannedPlacesOnGrids,apiConfig:L,jwt:Y,renderInBackground:!!X&&!w,disableToggleLoading:!0,uiConfig:{templateConfig:null!==(e=null===(n=a.uiState.templateConfig)||void 0===n?void 0:n["Product/ProductCenter/PlannerUI/PlannerUIVariants"])&&void 0!==e?e:"standard",posNumIcon:S.posNumIcon,posTrashIcon:S.posTrashRotIcon,hideUiIcons:null!==(t=a.divaWebPlanner.hidePlannerUiIcons())&&void 0!==t&&t,plannerMode:a.productState.isBoxPlanner?"BoxPlanner":"3DCOMB",idm3DEnvironmentEnabled:B},callbacks:{setGlb:V?function(){var e=(0,r.Z)(i().mark((function _callee(e){var n,t;return i().wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:U.debug("[AR-DEBUG-PARENT] PlannerRTV setGlb called, glb:",!!e,"glb size:",null==e?void 0:e.size,"arViewerIframe:",X,"iframeRef:",!!T.current),X&&T.current&&e?(y.current=e,U.debug("[AR-DEBUG-PARENT] PlannerRTV sending SET_AR_OBJECT via setGlb"),null===(n=T.current)||void 0===n||null===(n=n.contentWindow)||void 0===n||n.postMessage({type:"SET_AR_OBJECT",payload:e},"*")):(a.productState.glbUrl&&URL.revokeObjectURL(a.productState.glbUrl),t=URL.createObjectURL(e),a.productState.glbUrl=t);case 2:case"end":return r.stop()}}),_callee)})));return function(n){return e.apply(this,arguments)}}():void 0,onElementSelected:function onElementSelected(e,n){a.viewPlannerHandler.onElementSelected(e,n)},onMissingGeo:function onMissingGeo(){a.productState.loadRTVForAr&&D.openModal({title:u("configurator.missinggeo_title"),text:u("configurator.missinggeo"),accept:"OK"})}}},"real-time-renderer"),X&&(0,P.jsx)("iframe",{src:K,ref:T,allow:"xr-spatial-tracking; camera; accelerometer; magnetometer; gyroscope",allowFullScreen:!0,style:{width:"100vw",height:a.uiState.isMobilePortrait?"100vh":"100%",opacity:"0"}}),a.productState.glbUrl&&a.productState.loadRTVForAr&&!X&&(0,P.jsx)("div",{id:"ar-viewer",children:(0,P.jsxs)("model-viewer",{id:"model-viewer",ref:function ref(e){var n,t;c.current=e,document.addEventListener("visibilitychange",(function(){var e=document.getElementById("DivaCore");e&&(e.style.position="absolute",requestAnimationFrame((function(){e.style.position="relative"})))})),null===(n=c.current)||void 0===n||n.addEventListener("model-visibility",(function(e){var n;e.detail.visible&&a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()}))})),null===(t=c.current)||void 0===t||t.addEventListener("ar-status",(function(e){var n;a.productState.setRTVActivateAR(null===(n=c.current)||void 0===n?void 0:n.canActivateAR,(function(){var e;return null===(e=c.current)||void 0===e?void 0:e.activateAR()})),"failed"===e.detail.status||"not-presenting"==e.detail.status?f(!1):f(!0)}))},src:a.productState.glbUrl,ar:!0,"ar-scale":"fixed","ar-modes":k?"":"webxr quick-look","shadow-intensity":"1","camera-controls":!0,"touch-action":"pan-y",style:{position:"absolute",height:"100%",width:"100%",top:"0px",background:"white"},children:[(0,P.jsx)("div",{id:"ar-prompt",children:(0,P.jsx)("img",{src:A})}),(0,P.jsx)("button",{id:"ar-failure",children:"AR is not tracking!"})]})})]}):(0,P.jsx)(P.Fragment,{}))}))},64890:(e,n,t)=>{t.d(n,{Z:()=>p});var r=t(8081),o=t.n(r),a=t(23645),i=t.n(a),l=t(61667),s=t.n(l),c=new URL(t(43494),t.b),d=i()(o()),u=s()(c);d.push([e.id,"/* This keeps child nodes hidden while the element loads */\n#ar-viewer :not(:defined) > * {\n display: none;\n}\n\n#ar-viewer model-viewer {\n background-color: #eee;\n overflow-x: hidden;\n}\n\n#ar-viewer #ar-button {\n background-image: url("+u+");\n background-repeat: no-repeat;\n background-size: 20px 20px;\n background-position: 12px 50%;\n background-color: #fff;\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n bottom: 132px;\n padding: 0px 16px 0px 40px;\n font-size: 14px;\n color: #4285f4;\n height: 36px;\n line-height: 36px;\n border-radius: 18px;\n border: 1px solid #dadce0;\n}\n\n#ar-viewer #ar-button:active {\n background-color: #e8eaed;\n}\n\n#ar-viewer #ar-button:focus {\n outline: none;\n}\n\n#ar-viewer #ar-button.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer #ar-button:focus-visible {\n outline: 1px solid #4285f4;\n}\n\n@keyframes circle {\n from {\n transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);\n }\n to {\n transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);\n }\n}\n\n@keyframes elongate {\n from {\n transform: translateX(100px);\n }\n to {\n transform: translateX(-100px);\n }\n}\n\n#ar-viewer model-viewer > #ar-prompt {\n position: absolute;\n left: 50%;\n bottom: 0px;\n animation: elongate 2s infinite ease-in-out alternate;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-status='session-started'] > #ar-prompt {\n display: block;\n visibility: visible;\n}\n\n#ar-viewer model-viewer > #ar-prompt > img {\n animation: circle 4s linear infinite;\n}\n\n#ar-viewer model-viewer > #ar-failure {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: 175px;\n display: none;\n}\n\n#ar-viewer model-viewer[ar-tracking='not-tracking'] > #ar-failure {\n display: block;\n}\n\n#ar-viewer .slider {\n width: 100%;\n text-align: center;\n overflow: hidden;\n position: absolute;\n bottom: 16px;\n}\n\n#ar-viewer .slides {\n display: flex;\n overflow-x: auto;\n scroll-snap-type: x mandatory;\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n}\n\n#ar-viewer .slide {\n scroll-snap-align: start;\n flex-shrink: 0;\n width: 100px;\n height: 100px;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n background-color: #fff;\n margin-right: 10px;\n border-radius: 10px;\n border: none;\n display: flex;\n}\n\n#ar-viewer .slide.selected {\n border: 2px solid #4285f4;\n}\n\n#ar-viewer .slide:focus {\n outline: none;\n}\n\n#ar-viewer .slide.focus-visible {\n outline: 1px solid #4285f4;\n}\n\n#ar-viewer .slide:focus-visible {\n outline: 1px solid #4285f4;\n}\n",""]);const p=d},43494:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAbvElEQVR4nO2dC3hU1bWA1zyTTCaZvECeIiJiUVpitOhtrkq1YGm9ohbls/ioVouC2gqFYiuCl4JWwOptqi0olVu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