@assaabloy/amarr-wc-qna 3.0.2 → 3.0.5
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/package.json +2 -2
- package/qna.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-qna",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Web component - Qna",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "qna.js",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Nagarro",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "fd82c19e401d5071b91c2d4c051ec2ac352b0ac7"
|
|
15
15
|
}
|
package/qna.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(n){function t(t){for(var a,r,d=t[0],p=t[1],c=t[2],s=0,m=[];s<d.length;s++)r=d[s],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&m.push(i[r][0]),i[r]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(n[a]=p[a]);for(l&&l(t);m.length;)m.shift()();return o.push.apply(o,c||[]),e()}function e(){for(var n,t=0;t<o.length;t++){for(var e=o[t],a=!0,d=1;d<e.length;d++){var p=e[d];0!==i[p]&&(a=!1)}a&&(o.splice(t--,1),n=r(r.s=e[0]))}return n}var a={},i={66:0},o=[];function r(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}r.m=n,r.c=a,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},r.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,t){if(1&t&&(n=r(n)),8&t)return n;if(4&t&&"object"===typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var a in n)r.d(e,a,function(t){return n[t]}.bind(null,a));return e},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],p=d.push.bind(d);d.push=t,d=d.slice();for(var c=0;c<d.length;c++)t(d[c]);var l=p;o.push([858,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"a",(function(){return a})),e.d(t,"b",(function(){return i}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920},i={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)")}},2:function(n,t,e){"use strict";e.d(t,"g",(function(){return i})),e.d(t,"U",(function(){return o})),e.d(t,"i",(function(){return r})),e.d(t,"D",(function(){return d})),e.d(t,"G",(function(){return p})),e.d(t,"v",(function(){return c})),e.d(t,"B",(function(){return l})),e.d(t,"o",(function(){return s})),e.d(t,"r",(function(){return m})),e.d(t,"I",(function(){return u})),e.d(t,"H",(function(){return x})),e.d(t,"P",(function(){return b})),e.d(t,"E",(function(){return h})),e.d(t,"u",(function(){return f})),e.d(t,"h",(function(){return A})),e.d(t,"t",(function(){return w})),e.d(t,"y",(function(){return U})),e.d(t,"w",(function(){return g})),e.d(t,"C",(function(){return k})),e.d(t,"s",(function(){return M})),e.d(t,"Q",(function(){return v})),e.d(t,"q",(function(){return D})),e.d(t,"J",(function(){return y})),e.d(t,"F",(function(){return z})),e.d(t,"R",(function(){return O})),e.d(t,"m",(function(){return N})),e.d(t,"j",(function(){return q})),e.d(t,"n",(function(){return W})),e.d(t,"k",(function(){return j})),e.d(t,"l",(function(){return C})),e.d(t,"z",(function(){return L})),e.d(t,"L",(function(){return _})),e.d(t,"x",(function(){return S})),e.d(t,"S",(function(){return Z})),e.d(t,"T",(function(){return T})),e.d(t,"b",(function(){return $})),e.d(t,"O",(function(){return I})),e.d(t,"A",(function(){return H})),e.d(t,"a",(function(){return F})),e.d(t,"d",(function(){return R})),e.d(t,"f",(function(){return J})),e.d(t,"e",(function(){return G})),e.d(t,"W",(function(){return B})),e.d(t,"c",(function(){return K})),e.d(t,"V",(function(){return Q})),e.d(t,"K",(function(){return V})),e.d(t,"M",(function(){return X})),e.d(t,"N",(function(){return Y})),e.d(t,"p",(function(){return nn}));var a=e(4),i=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},o=function(n){return btoa(unescape(encodeURIComponent(n)))},r=function(n){return n.toUpperCase()},d=function(n){return n.replaceAll(" ","-").toLowerCase()},p=new a.a(!1),c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),b=new a.a(!1),h=new a.a(!1),f=new a.a(!1),A=new a.a(!1),w=new a.a(""),U=new a.a(!0),g=new a.a(!0),k=new a.a(!0),M=new a.a(!0),v=new a.a(!0),D=new a.a(!0),y=new a.a({}),P=new a.a(!1),E=0,z=new a.a(!1),O=new a.a(""),N=new a.a(""),q=new a.a(""),W=new a.a(""),j=new a.a(""),C=new a.a(""),L=new a.a(""),_=new a.a(""),S=new a.a(!1),Z=new a.a(!1),T=new a.a(!1),$=function(){setTimeout((function(){E++,P.next(!0)}),0)},I=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},H=function(){return P.asObservable()},F=function(n){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n)},R=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},J=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},G=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},B=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},K=function(n){return/^[0-9]*$/.test(n)},Q=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},V=function(n){if(n&&""!==n&&-1===n.indexOf("(")&&-1===n.indexOf(") ")&&-1===n.indexOf("-")){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n},X=function(n){return n&&(n=n.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==n&&"0"!==n||(n=n.toFixed(2)),n},Y=function(n,t){return n=n?Number(n):0,(0===(t=t?Number(t):0)||"0"===t?0:(n-t)/t*100).toFixed(2)},nn=function(n){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:n.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:n.selectedHeight,glass:n.selectedGlass,collection:n.selectedCollection,print:!0,baseUrl:"",gplacement:n.selectedWindowPlacement,width:n.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return n.selectedColor&&(t.color=n.selectedColor),n.colorHex&&(t.colorHex=n.colorHex),n.colorZone&&(t.colorZone=n.colorZone),n.selectedConstruction&&(t.model=n.selectedConstruction),n.selectedWindowDesign&&(t.top=n.selectedWindowDesign),n.glazepattern&&(t.glazepattern=n.glazepattern),n.selectedHardware&&(t.hardware=n.selectedHardware),t}},26:function(n,t){n.exports=ReactDOM},7:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var a=e(5),i=e(0),o=e.n(i),r=function(n){var t=n.setter,e=t.componentThemes,i=t.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!i)return e.theme1;var n=i.match(/\d+/g).map(Number),t=Object.keys(e).find((function(t){return!(!Array.isArray(n)||1!==n.length)&&(t.includes(n[0])&&e[t])}));return t?e["".concat(t)]:e.theme1}},n.children)}},766:function(n,t,e){"use strict";e.r(t);var a=e(21),i=e(81);t.default=a.a.create({component:i.a,configuration:{tagname:"amarr-qna",useShadow:!1},plugins:[]})},8:function(n,t,e){"use strict";var a=e(0),i=e.n(a),o=e(5),r=e(20),d=e.n(r),p=Object(a.createContext)({});t.a=function(n){var t=!1;try{var e;t=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(r){console.log(r)}var a=t?[d.a]:[];return i.a.createElement(o.StyleSheetManager,{stylisPlugins:a},i.a.createElement(p.Provider,{value:{rtl:t}},n.children))}},81:function(n,t,e){"use strict";var a=e(0),i=e.n(a),o=e(12),r=e.n(o),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),c=e(5),l=e(1);function s(){var n=Object(p.a)(["\n ol.qna-container{\n margin-bottom: 0px;\n width: 100%;\n margin-left: -2rem;\n @media screen and "," {\n margin-left: -78px;\n }\n @media screen and "," and "," {\n margin-left: -45px;\n line-height: 28px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -32px;\n }\n @media screen and "," and ","{\n line-height: 24px;\n margin-left: -8px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -24px;\n }\n @media screen and "," {\n line-height: 24px;\n margin-left: -20px;\n }\n }\n li{\n padding-bottom: 40px;\n @media screen and "," {\n padding-bottom: 0px;\n }\n \n @media screen and "," and "," {\n padding-bottom: 15px;\n }\n }\n li:last-child{\n padding-bottom: 0px;\n }\n .qna-container li::marker{\n font-size: var(--font-size-l1);\n font-weight: var(--font-weight-semi-bold);\n @media screen and "," and "," {\n font-size: var(--font-size-m2);\n }\n @media screen and "," and "," {\n font-size: var(--font-size-m1);\n }\n @media "," {\n font-size: var(--font-size-m2);\n }\n }\n @media ","{\n li{\n margin: 0px 0px 0px 36px;\n }\n .qna-parent{\n margin-bottom: 24px;\n &:last-child{\n margin-bottom: 12px;\n }\n }\n }\n .qna-content-container{\n @media ","{\n display: block;\n width: 100% !important;\n padding-right: 20px;\n margin-bottom: 10px;\n padding-left: 16px;\n }\n display: inline-block;\n width: 50%;\n vertical-align: top;\n // margin-bottom: 40px;\n padding-left: 40px;\n // margin-top: -5px;\n \n @media "," {\n padding-left: 20px;\n }\n \n &.qna-radiogroup {\n width: 45%;\n margin: 0;\n @media ","{\n padding: 0;\n padding-left: 120px;\n }\n & label{\n display: inline-block;\n margin-left: 14px;\n // font-size: var(--font-size-s3);\n line-height: 30px;\n &.yes-label{\n margin-right: 42px;\n }\n }\n & span.input-radio-btn-container{\n position: relative;\n }\n & input[type='radio']:after{\n width: 20px;\n height: 20px;\n border-radius: 20px;\n top: -10px;\n left: -3px;\n position: relative;\n background-color: var(--white);\n content: '';\n display: inline-block;\n visibility: visible;\n border: 2px solid var(--border-color);\n @media screen and ","{\n width: 18px;\n height: 18px;\n top: -5px;\n left: -2px;\n }\n @media screen and ","{\n width: 16px;\n height: 16px;\n top: -3px;\n left: -2px;\n }\n // @media screen and ","{\n // top: -3px;\n // }\n }\n & input[type='radio']:checked:after{\n border: 2px solid var(--accent);\n }\n & input[type='radio']:checked + span{\n height: 10px;\n width: 10px;\n border-radius: 10px;\n background: var(--accent);\n position: absolute;\n top: 15px;\n left: 2px;\n @media screen and ","{\n width: 10px;\n height: 10px;\n top: 8px;\n }\n @media screen and "," and ","{\n height: 8px;\n width: 8px;\n top: 8px;\n left: 2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 5.8px;\n left: 1.2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 6.2px;\n left: 1.25px;\n }\n @media screen and ","{\n width: 8px;\n height: 8px;\n top: 9.6px;\n }\n }\n }\n &.qna-question-container{\n width: 55%;\n & h3{\n // font-size: 24px;\n font-weight:var(--font-weight-semi-bold);\n }\n & .description-style{\n // font-size: 20px;\n @media ","{\n padding-top: 20px;\n }\n }\n }\n }\n "]);return s=function(){return n},n}var m=c.default.div.withConfig({displayName:"styles__Content",componentId:"sc-10zot6e-0"})(["",""],(function(n){var t;(null===(t=n.gradients)||void 0===t?void 0:t.visible)?n.theme.gradient:n.theme;return Object(c.css)(s(),l.b.largeDesktopMin,l.b.mediumDesktopMin,l.b.mediumDesktopAndUp3Max,l.b.tabletPortraitAndUp,l.b.desktop2Max,l.b.desktopAndUp,l.b.desktopMax2,l.b.desktopMin2,l.b.smallDesktopAndUp2Max,l.b.mobileMax,l.b.desktop2Max,l.b.desktopAndUp,l.b.mediumDesktopAndUp3Max,l.b.mediumDesktopMin,l.b.mediumDesktopAndUp3Max,l.b.tabletPortraitAndUp,l.b.smallDesktopAndUp2Max,l.b.mobileMax,l.b.tabletPortraitAndUpMax,l.b.tabletPortraitAndUpMax,l.b.mediumDesktopAndUp3Max,l.b.largeMobileMin,l.b.mediumDesktopAndUp3Max,l.b.smallDesktopAndUp2Max,l.b.tabletPortraitAndUpMax,l.b.mediumDesktopAndUp3Max,l.b.desktopMin,l.b.smallDesktopAndUp2Max,l.b.tabletLandscapeAndUp,l.b.desktopAndUpMax,l.b.tabletPortraitAndUp,l.b.tabletPortraitMax,l.b.mobileMax,l.b.tabletPortraitAndUpMax)})),u=e(7),x=e(8),b=e(9),h=e(2),f=e(3),A=c.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1xk6uy9-0"})([".text-style{font-size:var(--font-size-m3);}.description-style{}.radio-container{display:flex;align-items:center;gap:var(--font-size-rc);}@media screen and ","{.radio-wrapper1{padding-left:120px;.radio-container:not(:last-child){margin-right:42px;}}}@media screen and ","{.radio-wrapper1{padding-left:20px;}}"],l.b.tabletPortraitAndUp,l.b.mobileMax),w=function(n){var t=n.item,e=n.yeslabel,o=n.nolabel,r=n.name,d=Object(a.useState)(!1),p=Object(f.a)(d,2),c=p[0],l=p[1],s=Object(a.useState)(!1),m=Object(f.a)(s,2),u=m[0],x=m[1];return i.a.createElement(A,null,i.a.createElement("div",{className:"d-flex align-items-baseline flex-wrap"},i.a.createElement("div",{className:"qna-question-container qna-content-container"},i.a.createElement("h5",null,t.question.text),i.a.createElement("div",{className:"d-none d-lg-block description-style body-text2"},u?c?t.yesAnswer.text:t.noAnswer.text:"")),i.a.createElement("div",{className:"radio-wrapper1"},i.a.createElement("div",{className:"radio-container"},i.a.createElement("input",{id:"yes-".concat(r),type:"radio",name:r,value:"yes",className:"qna-yes-radio",onChange:function(){x(!0),l(!0)}}),i.a.createElement("label",{htmlFor:"yes-".concat(r)},i.a.createElement("span",null,i.a.createElement("div",null)),e)),i.a.createElement("div",{className:"radio-container"},i.a.createElement("input",{id:"no-".concat(r),type:"radio",name:r,value:"no",className:"qna-no-radio",onChange:function(){x(!0),l(!1)}}),i.a.createElement("label",{htmlFor:"no-".concat(r)},i.a.createElement("span",null,i.a.createElement("div",null))," ",o)))),i.a.createElement("span",null,i.a.createElement("div",{className:"qna-question-container qna-content-container d-md-block d-lg-none "},u&&i.a.createElement("div",{className:"description-style body-text2 d-md-block d-lg-none mb-4"},u?c?t.yesAnswer.text:t.noAnswer.text:""))))},U={yesLabel:{text:""},noLabel:{text:""},qnaItems:[{question:{text:""},yesAnswer:{text:""},noAnswer:{text:""}}]},g=function(n){var t=r()({},U,Object(h.g)(n.content));return i.a.createElement(u.a,{setter:{componentThemes:d,selectedTheme:n.theme}},i.a.createElement(x.a,null,i.a.createElement(b.a,null,i.a.createElement(m,{isReversed:!1},i.a.createElement("div",{className:"container "},i.a.createElement("div",{className:"row"},i.a.createElement("ol",{className:"qna-container",role:"group"},t.qnaItems.map((function(n,e){return i.a.createElement("li",{key:e,className:"amarr-h5 qna-parent"},i.a.createElement(w,{item:n,yeslabel:t.yesLabel.text,nolabel:t.noLabel.text,name:"answer"+e}))})))))))))};g.defaultProps={theme:"",content:""};t.a=g},9:function(n,t,e){"use strict";e.d(t,"a",(function(){return r}));var a=e(0),i=e.n(a),o=e(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(n){return n.padding?"0 var(--grid-margin);":0}),(function(n){n.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),r=function(n){var t=n.className,e=n.children,a=n.maxWidth,r=void 0===a?1520:a,d=n.padding,p=void 0===d||d;return i.a.createElement(o,{className:t,maxWidth:r,padding:p},e)}}});
|
|
1
|
+
!function(e){function n(n){for(var a,o,d=n[0],c=n[1],l=n[2],u=0,s=[];u<d.length;u++)o=d[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&s.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(p&&p(n);s.length;)s.shift()();return i.push.apply(i,l||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,d=1;d<t.length;d++){var c=t[d];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},r={67:0},i=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=n,d=d.slice();for(var l=0;l<d.length;l++)n(d[l]);var p=c;i.push([854,0]),t()}({0:function(e,n){e.exports=React},1:function(e,n,t){"use strict";t.d(n,"g",(function(){return r})),t.d(n,"U",(function(){return i})),t.d(n,"i",(function(){return o})),t.d(n,"D",(function(){return d})),t.d(n,"G",(function(){return c})),t.d(n,"v",(function(){return l})),t.d(n,"B",(function(){return p})),t.d(n,"o",(function(){return u})),t.d(n,"r",(function(){return s})),t.d(n,"I",(function(){return m})),t.d(n,"H",(function(){return x})),t.d(n,"P",(function(){return f})),t.d(n,"E",(function(){return h})),t.d(n,"u",(function(){return w})),t.d(n,"h",(function(){return g})),t.d(n,"t",(function(){return b})),t.d(n,"y",(function(){return y})),t.d(n,"w",(function(){return v})),t.d(n,"C",(function(){return E})),t.d(n,"s",(function(){return q})),t.d(n,"Q",(function(){return O})),t.d(n,"q",(function(){return N})),t.d(n,"J",(function(){return z})),t.d(n,"F",(function(){return C})),t.d(n,"R",(function(){return j})),t.d(n,"m",(function(){return _})),t.d(n,"j",(function(){return Z})),t.d(n,"n",(function(){return D})),t.d(n,"k",(function(){return P})),t.d(n,"l",(function(){return S})),t.d(n,"z",(function(){return $})),t.d(n,"L",(function(){return M})),t.d(n,"x",(function(){return H})),t.d(n,"S",(function(){return F})),t.d(n,"T",(function(){return I})),t.d(n,"b",(function(){return U})),t.d(n,"O",(function(){return R})),t.d(n,"A",(function(){return T})),t.d(n,"a",(function(){return W})),t.d(n,"d",(function(){return J})),t.d(n,"f",(function(){return L})),t.d(n,"e",(function(){return G})),t.d(n,"W",(function(){return B})),t.d(n,"c",(function(){return K})),t.d(n,"V",(function(){return Q})),t.d(n,"K",(function(){return V})),t.d(n,"M",(function(){return X})),t.d(n,"N",(function(){return Y})),t.d(n,"p",(function(){return ee}));var a=t(3),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),p=new a.a(!1),u=new a.a(!1),s=new a.a(""),m=new a.a(!1),x=new a.a(!1),f=new a.a(!1),h=new a.a(!1),w=new a.a(!1),g=new a.a(!1),b=new a.a(""),y=new a.a(!0),v=new a.a(!0),E=new a.a(!0),q=new a.a(!0),O=new a.a(!0),N=new a.a(!0),z=new a.a({}),A=new a.a(!1),k=0,C=new a.a(!1),j=new a.a(""),_=new a.a(""),Z=new a.a(""),D=new a.a(""),P=new a.a(""),S=new a.a(""),$=new a.a(""),M=new a.a(""),H=new a.a(!1),F=new a.a(!1),I=new a.a(!1),U=function(){setTimeout((function(){k++,A.next(!0)}),0)},R=function(){setTimeout((function(){k>0&&k--,0==k&&A.next(!1)}),0)},T=function(){return A.asObservable()},W=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},J=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},L=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},G=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},B=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},K=function(e){return/^[0-9]*$/.test(e)},Q=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},V=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},X=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},Y=function(e,n){return e=e?Number(e):0,(0===(n=n?Number(n):0)||"0"===n?0:(e-n)/n*100).toFixed(2)},ee=function(e){var n={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(n.color=e.selectedColor),e.colorHex&&(n.colorHex=e.colorHex),e.colorZone&&(n.colorZone=e.colorZone),e.selectedConstruction&&(n.model=e.selectedConstruction),e.selectedWindowDesign&&(n.top=e.selectedWindowDesign),e.glazepattern&&(n.glazepattern=e.glazepattern),e.selectedHardware&&(n.hardware=e.selectedHardware),n}},19:function(e,n){e.exports=ReactDOM},76:function(e,n,t){"use strict";var a=t(0),r=t.n(a),i=t(4),o=i.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1irq4x3-0"})(["ol.qna-container{margin-bottom:0px;width:100%;margin-left:-2rem;@media screen and (min-width:1681px){margin-left:-78px;}@media screen and (min-width:1281px) and (max-width:1680px){margin-left:-45px;line-height:28px;}@media screen and (min-width:768px) and (max-width:1023px){line-height:24px;margin-left:-32px;}@media screen and (min-width:1024px) and (max-width:1025px){line-height:24px;margin-left:-8px;}@media screen and (min-width:1026px) and (max-width:1280px){line-height:24px;margin-left:-24px;}@media screen and (max-width:767px){line-height:24px;margin-left:-20px;}}li{padding-bottom:40px;@media screen and (max-width:1023px){padding-bottom:0px;}@media screen and (min-width:1024px) and (max-width:1680px){padding-bottom:15px;}}li:last-child{padding-bottom:0px;}.qna-container li::marker{font-size:24px;font-weight:600;@media screen and (min-width:1281px) and (max-width:1680px){font-size:18px;}@media screen and (min-width:768px) and (max-width:1280px){font-size:16px;}@media(max-width:767px){font-size:18px;}}@media(max-width:768px){li{margin:0px 0px 0px 36px;}.qna-parent{margin-bottom:24px;&:last-child{margin-bottom:12px;}}}.qna-content-container{@media(max-width:768px){display:block;width:100% !important;padding-right:20px;margin-bottom:10px;padding-left:16px;}display:inline-block;width:50%;vertical-align:top;padding-left:40px;@media(max-width:1680px){padding-left:20px;}&.qna-radiogroup{width:45%;margin:0;@media(min-width:769px){padding:0;padding-left:120px;}& label{display:inline-block;margin-left:14px;line-height:30px;&.yes-label{margin-right:42px;}}& span.input-radio-btn-container{position:relative;}& input[type='radio']:after{width:20px;height:20px;border-radius:20px;top:-10px;left:-3px;position:relative;background-color:white;content:'';display:inline-block;visibility:visible;border:2px solid #8d8d8d;@media screen and (max-width:1680px){width:18px;height:18px;top:-5px;left:-2px;}@media screen and (max-width:1280px){width:16px;height:16px;top:-3px;left:-2px;}}& input[type='radio']:checked:after{border:2px solid #006166;}& input[type='radio']:checked + span{height:10px;width:10px;border-radius:10px;background:#006166;position:absolute;top:15px;left:2px;@media screen and (max-width:1680px){width:10px;height:10px;top:8px;}@media screen and (min-width:1025px) and (max-width:1280px){height:8px;width:8px;top:8px;left:2px;}@media screen and (min-width:992px) and (max-width:1024px){width:9px;height:9px;top:5.8px;left:1.2px;}@media screen and (min-width:768px) and (max-width:991px){width:9px;height:9px;top:6.2px;left:1.25px;}@media screen and (max-width:767px){width:8px;height:8px;top:9.6px;}}}&.qna-question-container{width:55%;& h3{font-weight:600;}& .description-style{@media(max-width:768px){padding-top:20px;}}}}"]),d=t(1),c=t(2),l=i.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1xk6uy9-0"})([".text-style{font-size:1.4rem;}.description-style{}.radio-container{display:flex;align-items:center;gap:10rem;}@media screen and (min-width:768px){.radio-wrapper1{padding-left:120px;.radio-container:not(:last-child){margin-right:42px;}}}@media screen and (max-width:767px){.radio-wrapper1{padding-left:20px;}}"]),p=function(e){var n=e.item,t=e.yeslabel,i=e.nolabel,o=e.name,d=Object(a.useState)(!1),p=Object(c.a)(d,2),u=p[0],s=p[1],m=Object(a.useState)(!1),x=Object(c.a)(m,2),f=x[0],h=x[1];return r.a.createElement(l,null,r.a.createElement("div",{className:"d-flex align-items-baseline flex-wrap"},r.a.createElement("div",{className:"qna-question-container qna-content-container"},r.a.createElement("h5",null,n.question.text),r.a.createElement("div",{className:"d-none d-lg-block description-style body-text2"},f?u?n.yesAnswer.text:n.noAnswer.text:"")),r.a.createElement("div",{className:"radio-wrapper1"},r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"yes-".concat(o),type:"radio",name:o,value:"yes",className:"qna-yes-radio",onChange:function(){h(!0),s(!0)}}),r.a.createElement("label",{htmlFor:"yes-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null)),t)),r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"no-".concat(o),type:"radio",name:o,value:"no",className:"qna-no-radio",onChange:function(){h(!0),s(!1)}}),r.a.createElement("label",{htmlFor:"no-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null))," ",i)))),r.a.createElement("span",null,r.a.createElement("div",{className:"qna-question-container qna-content-container d-md-block d-lg-none "},f&&r.a.createElement("div",{className:"description-style body-text2 d-md-block d-lg-none mb-4"},f?u?n.yesAnswer.text:n.noAnswer.text:""))))},u=function(e){var n=e.qnaData,t=Object(d.g)(n);return r.a.createElement(o,null,r.a.createElement("div",{className:"container"},r.a.createElement("div",{className:"row"},r.a.createElement("ol",{className:"qna-container",role:"group"},t.qnaItems.map((function(e,n){return r.a.createElement("li",{key:n,className:"amarr-h5 qna-parent"},r.a.createElement(p,{item:e,yeslabel:t.yesLabel.text,nolabel:t.noLabel.text,name:"answer"+n}))}))))))};u.defaultProps={config:"",theme:"",qnaData:""};n.a=u},761:function(e,n,t){"use strict";t.r(n);var a=t(14),r=t(76);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-qna",useShadow:!1},plugins:[]})}});
|