tocco-widget-bundle 3.9.16 → 3.9.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/changelog.md CHANGED
@@ -1,3 +1,6 @@
1
+ 3.9.17
2
+ - limit watchForHover to activate in window.onload
3
+
1
4
  3.9.16
2
5
  - Add `watchForHover` styling utility
3
6
 
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["tocco-address-update"]=t(require("React"),require("ReactDOM")):e["tocco-address-update"]=t(e.React,e.ReactDOM)}(self,((e,t)=>(()=>{var n,r,o={58363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundTableEvenRow:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",border:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",info:"#027cc1",success:"#337f37",warning:"#ec8a00",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0}}},56038:(e,t,n)=>{"use strict";var r=n(45697),o=n.n(r);o().string.isRequired,o().string,o().string.isRequired,o().func.isRequired,o().bool,o().bool,o().shape({minLines:o().number,maxLines:o().number,enableBasicAutocompletion:o().bool,enableLiveAutocompletion:o().bool,enableSnippets:o().bool,readOnly:o().bool}),o().oneOfType([o().string,o().shape({entityModel:o().string,field:o().string,key:o().string})]),o().string},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r,o=n(30168),i=n(67165).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,o.Z)([""])))},46395:(e,t,n)=>{"use strict";n.d(t,{q:()=>f.q,Z:()=>d});var r,o=n(4942),i=n(1024),a=n.n(i),c=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(608),n.e(614)]).then(n.bind(n,99579))}));const d=function(e){return(0,c.jsx)(i.Suspense,{fallback:r||(r=(0,c.jsx)(a().Fragment,{})),children:(0,c.jsx)(l,u({},e))})};var f=n(40493)},84265:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});n(45697);var r,o=n(46395),i=n(27936),a=n(30168),c=n(67165);const s=c.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,a.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,i.wy)(),(function(e){return e.breakWords?(0,i._)():(0,i.lo)()}),i.rS.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var u=n(85893),l=function(e){var t=e.alt,n=e.breakWords,r=e.download,a=e.href,c=e.neutral,l=e.onClick,d=e.rel,f=e.tabIndex,p=e.target,h=e.title,m=e.label,g=e.icon,y=e.children,v=e.useTitle,b=h||(n?void 0:m);return(0,u.jsxs)(s,{alt:t,breakWords:n,download:r,href:a,neutral:c,onClick:l,rel:d,tabIndex:f,target:p,title:v?b:void 0,children:[g&&(0,u.jsx)(o.Z,{icon:g,position:i.co.position.PREPEND}),m||y]})};l.defaultProps={breakWords:!0,useTitle:!0,href:"#",target:"_self"};const d=l;var f,p=n(9481);(0,c.ZP)(p.rU)(f||(f=(0,a.Z)(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,i.wy)(),i.FS.color("secondary"),i.FS.color("text"),i.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?i.FS.color("text"):i.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>T,Fe:()=>U,GI:()=>Y,HK:()=>V,HV:()=>q,IV:()=>Z,Kf:()=>_,Te:()=>F,Ts:()=>C,UB:()=>B,Vg:()=>D,Xv:()=>z,_B:()=>M,ar:()=>I,kO:()=>H,kQ:()=>N,nb:()=>L,nr:()=>R,q_:()=>E,xr:()=>A,z2:()=>W});var r,o,i,a,c,s,u,l,d,f,p,h,m,g,y,v,b,w,O,x,S,k=n(30168),j=n(67165),P=n(27936),E=j.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,k.Z)(["\n && {\n ","\n }\n ","\n"])),(0,P.wy)({fontWeight:P.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),D=j.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,k.Z)(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),P.FS.color("backgroundTypographyCode"),P.FS.radii("form"),P.bA.space(-4),P.bA.space(-2)),C=j.ZP.del.withConfig({displayName:"StyledDel"})(i||(i=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),_=j.ZP.em.withConfig({displayName:"StyledEm"})(a||(a=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),T=j.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=(0,k.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-2),P.bA.space(-1)),A=j.ZP.i.withConfig({displayName:"StyledI"})(s||(s=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),F=j.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),I=j.ZP.label.withConfig({displayName:"StyledLabel"})(l||(l=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-1)),N=j.ZP.mark.withConfig({displayName:"StyledMark"})(d||(d=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),color:P.FS.color("paper")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.FS.color("signal.info"),P.FS.radii("form"),P.bA.space(-4),P.bA.space(-2)),M=j.ZP.p.withConfig({displayName:"StyledP"})(f||(f=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-1)),R=j.ZP.pre.withConfig({displayName:"StyledPre"})(p||(p=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.FS.color("backgroundTypographyCode"),P.FS.radii("form"),P.FS.color("border"),P.bA.space(-1),P.bA.space(-3),P.bA.space(-2)),Z=j.ZP.s.withConfig({displayName:"StyledS"})(h||(h=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),L=j.ZP.small.withConfig({displayName:"StyledSmall"})(m||(m=(0,k.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,P.wy)(),P.FS.fontSize("factor"),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),U=j.ZP.span.withConfig({displayName:"StyledSpan"})(g||(g=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),H=j.ZP.sub.withConfig({displayName:"StyledSub"})(y||(y=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),B=j.ZP.sup.withConfig({displayName:"StyledSup"})(v||(v=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),V=j.ZP.strong.withConfig({displayName:"StyledStrong"})(b||(b=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontWeight:P.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),W=j.ZP.time.withConfig({displayName:"StyledTime"})(w||(w=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),z=j.ZP.u.withConfig({displayName:"StyledU"})(O||(O=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),Y=j.ZP.var.withConfig({displayName:"StyledVar"})(x||(x=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),q=j.ZP.q.withConfig({displayName:"StyledQ"})(S||(S=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}))},48921:(e,t,n)=>{"use strict";n.d(t,{XU:()=>m,ar:()=>W.ar,EF:()=>Z,Fe:()=>W.Fe,hc:()=>H,Ly:()=>he,ZP:()=>me});n(45697);var r,o,i,a,c,s,u,l=n(27936),d=n(30168),f=n(67165),p=function(e){var t;switch(e.styledLike){case"H1":t=l.bA.font(5)(e);break;case"H2":t=l.bA.font(4)(e);break;case"H3":t=l.bA.font(3)(e);break;case"H4":t=l.bA.font(2)(e);break;case"H5":t=l.bA.font(1)(e);break;default:t=l.bA.font(0)(e)}return(0,l.wy)({fontWeight:l.rS.fontWeight("bold"),fontSize:t})},h=function(e){return(0,f.iv)(r||(r=(0,d.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),l.bA.space(0),l.bA.space(-1))},m=f.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),g=f.ZP.h2.withConfig({displayName:"StyledH2"})(i||(i=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),y=f.ZP.h3.withConfig({displayName:"StyledH3"})(a||(a=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),v=f.ZP.h4.withConfig({displayName:"StyledH4"})(c||(c=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),b=f.ZP.h5.withConfig({displayName:"StyledH5"})(s||(s=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),w=f.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),O=n(85893),x=function(e){return(0,O.jsx)(m,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};x.defaultProps={breakWords:!0,styledLike:"H1"};var S=function(e){return(0,O.jsx)(g,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};S.defaultProps={breakWords:!0,styledLike:"H2"};var k=function(e){return(0,O.jsx)(y,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};k.defaultProps={breakWords:!0,styledLike:"H3"};var j=function(e){return(0,O.jsx)(v,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};j.defaultProps={breakWords:!0,styledLike:"H4"};var P=function(e){return(0,O.jsx)(b,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};P.defaultProps={breakWords:!0,styledLike:"H5"};var E,D,C,_,T,A,F,I=function(e){return(0,O.jsx)(w,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};I.defaultProps={breakWords:!0,styledLike:"H6"};var N=f.ZP.dd.withConfig({displayName:"StyledDd"})(E||(E=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)(),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),M=f.ZP.dl.withConfig({displayName:"StyledDl"})(D||(D=(0,d.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1)),R=f.ZP.dt.withConfig({displayName:"StyledDt"})(C||(C=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)({fontWeight:l.rS.fontWeight("bold")}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),Z=f.ZP.li.withConfig({displayName:"StyledLi"})(_||(_=(0,d.Z)(["\n && {\n ","\n ","\n }\n"])),(0,l.wy)(),(0,l._)()),L=f.ZP.ol.withConfig({displayName:"StyledList"})(T||(T=(0,d.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1),l.bA.space(-.1)),U=(0,f.ZP)(L).withConfig({displayName:"StyledOl"})(A||(A=(0,d.Z)(["\n list-style-type: decimal;\n"]))),H=(0,f.ZP)(L).withConfig({displayName:"StyledUl"})(F||(F=(0,d.Z)(["\n && {\n list-style-type: disc;\n }\n"]))),B=function(e){return(0,O.jsx)(N,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})},V=function(e){return(0,O.jsx)(R,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};B.defaultProps=V.defaultProps={breakWords:!0};var W=n(69829),z=function(e){return(0,O.jsx)(W.q_,{breakWords:e.breakWords,title:de(e),children:e.children})},Y=function(e){return(0,O.jsx)(W.Vg,{title:de(e),children:e.children})},q=function(e){return(0,O.jsx)(W.Ts,{breakWords:e.breakWords,title:de(e),children:e.children})},G=function(e){return(0,O.jsx)(W.Kf,{breakWords:e.breakWords,title:de(e),children:e.children})},K=function(e){return(0,O.jsx)(W.Bs,{breakWords:e.breakWords,title:de(e),children:e.children})},X=function(e){return(0,O.jsx)(W.xr,{breakWords:e.breakWords,title:de(e),children:e.children})},$=function(e){return(0,O.jsx)(W.Te,{breakWords:e.breakWords,title:de(e),children:e.children})},Q=function(e){return(0,O.jsx)(W.kQ,{breakWords:e.breakWords,title:de(e),children:e.children})},J=function(e){return(0,O.jsx)(W._B,{breakWords:e.breakWords,title:de(e),children:e.children})},ee=function(e){return(0,O.jsx)(W.nr,{breakWords:e.breakWords,title:de(e),children:e.children})},te=function(e){return(0,O.jsx)(W.IV,{breakWords:e.breakWords,title:de(e),children:e.children})},ne=function(e){return(0,O.jsx)(W.nb,{breakWords:e.breakWords,title:de(e),children:e.children})},re=function(e){return(0,O.jsx)(W.Fe,{breakWords:e.breakWords,title:de(e),children:e.children})},oe=function(e){return(0,O.jsx)(W.kO,{breakWords:e.breakWords,title:de(e),children:e.children})},ie=function(e){return(0,O.jsx)(W.UB,{breakWords:e.breakWords,title:de(e),children:e.children})},ae=function(e){return(0,O.jsx)(W.HK,{breakWords:e.breakWords,title:de(e),children:e.children})},ce=function(e){return(0,O.jsx)(W.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},se=function(e){return(0,O.jsx)(W.Xv,{breakWords:e.breakWords,title:de(e),children:e.children})},ue=function(e){return(0,O.jsx)(W.GI,{breakWords:e.breakWords,title:de(e),children:e.children})},le=function(e){return(0,O.jsx)(W.HV,{breakWords:e.breakWords,title:de(e),children:e.children})},de=function(e){return!e.useTitle||e.breakWords?void 0:(0,l.JX)(e.children)};z.defaultProps=Y.defaultProps=q.defaultProps=G.defaultProps=K.defaultProps=X.defaultProps=$.defaultProps=Q.defaultProps=J.defaultProps=ee.defaultProps=le.defaultProps=te.defaultProps=ne.defaultProps=re.defaultProps=ae.defaultProps=oe.defaultProps=ie.defaultProps=se.defaultProps=ue.defaultProps={breakWords:!0,useTitle:!0},ce.defaultProps={breakWords:!1};var fe=n(27361),pe=n.n(fe),he=function(e,t){var n="\n color: ".concat(l.rS.color("text")(e),";\n font-family: ").concat(l.rS.fontFamily("regular")(e),";\n font-size: ").concat(l.bA.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(l.rS.fontWeight("regular")(e),";\n line-height: ").concat(l.rS.lineHeight("regular")(e),";\n\n a {\n color: ").concat(l.rS.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(pe()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(pe()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(l.bA.font(5)(e),";}\n h2 {font-size: ").concat(l.bA.font(4)(e),";}\n h3 {font-size: ").concat(l.bA.font(3)(e),";}\n h4 {font-size: ").concat(l.bA.font(2)(e),";}\n h5 {font-size: ").concat(l.bA.font(1)(e),";}\n h6 {font-size: ").concat(l.bA.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),";\n margin-top: ").concat(l.bA.space(0)(e),";\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(l.bA.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n};const me={H1:x,H2:S,H3:k,H4:j,H5:P,H6:I,Dd:B,Dt:V,Dl:function(e){return(0,O.jsx)(M,{children:e.children})},Li:function(e){return(0,O.jsx)(Z,{children:e.children})},Ol:function(e){return(0,O.jsx)(U,{children:e.children})},Ul:function(e){return(0,O.jsx)(H,{as:"ul",children:e.children})},B:z,Code:Y,Del:q,Em:G,Figcaption:K,I:X,Ins:$,Label:function(e){return(0,O.jsx)(W.ar,{breakWords:e.breakWords,title:de(e),htmlFor:e.for,children:e.children})},Mark:Q,P:J,Pre:ee,Q:le,S:te,Small:ne,Span:re,Strong:ae,Sub:oe,Sup:ie,Time:ce,U:se,Var:ue}},27936:(e,t,n)=>{"use strict";n.d(t,{mT:()=>s,v5:()=>c,kk:()=>f,wy:()=>p,lo:()=>h,_:()=>m,co:()=>E,JX:()=>F,Hx:()=>M,b1:()=>D,bA:()=>W,rS:()=>H,FS:()=>K,Kd:()=>q,zf:()=>G});var r,o,i=n(27361),a=n.n(i),c={base:function(e){var t=e.theme;return a()(t,"colors.text")},shade1:function(e){var t=e.theme;return a()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return a()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return a()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return a()(t,"colors.signal.info")}},s={base:function(e){var t=e.theme;return a()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return a()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return a()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},u=n(30168),l=n(40342),d=n(67165),f=function(e){var t=a()(e.theme,"colors.signal.info",E.fallbackColors.INFO);return(0,d.iv)(r||(r=(0,u.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,l.DZ)(.4,t))};const p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,d.iv)(o||(o=(0,u.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||H.color("text"),e.fontFamily||H.fontFamily("regular"),e.fontSize||W.font(0),e.fontStyle||"normal",e.fontWeight||H.fontWeight("regular"),e.lineHeight||H.lineHeight("regular"))};var h=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},m=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"},g=n(45697),y=n.n(g),v={NONE:"none",SPIN:"spin"},b={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},w={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},O={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},x={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},S=y().oneOf(Object.values(v)),k=y().oneOf(Object.values(b)),j=y().oneOf(Object.values(O)),P=y().oneOf(Object.values(x));const E={animation:v,animationPropTypes:S,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:b,inkPropTypes:k,layout:w,layoutPropTypes:y().oneOf(Object.values(w)),look:O,lookPropTypes:j,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return y().oneOf(Object.values(e))},position:x,positionPropTypes:P};var D="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;n(35937);var C=n(71002),_=n(1024),T=n.n(_),A=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const F=function e(t){var n="";return T().Children.map(t,(function(t,r){"string"==typeof t||"number"==typeof t?n="".concat(n).concat(t):"object"===(0,C.Z)(t)&&t.props.children?n="".concat(n).concat(e(t.props.children)):"object"===(0,C.Z)(t)&&t.props.dangerouslySetInnerHTML&&(n="".concat(n," ").concat(A(t.props.dangerouslySetInnerHTML.__html)))})),n};var I,N=function(e,t){return(0,l.XV)(e,H.color("text")({theme:t}),H.color("paper")({theme:t}))};const M=function(e){var t=e.ink,n=e.look,r=e.theme,o=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?H.color("primary")({theme:n}):r?H.color("secondary")({theme:n}):H.color("paper")({theme:n})}(t,n,r),i=function(e,t,n,r){return"primary"===e&&"raised"!==t?H.color("primary")({theme:n}):N(r,n)}(t,n,r,o),a=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(H.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,r),c=function(e,t,n){return"raised"===t?"primary"===e?H.color("primaryLight")({theme:n}):H.color("secondaryLight")({theme:n}):H.color("backgroundItemHover")({theme:n})}(t,n,r),s=function(e,t,n){return"raised"===e?H.color("paper")({theme:t}):N(n,t)}(n,r,o);return(0,d.iv)(I||(I=(0,u.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),o,i,a,c,s,(0,l.$n)(.1,c),(0,l.nV)(.41,o),(0,l.nV)(.75,i))};var R=n(59854),Z=n.n(R),L=n(5435),U=function(e){return 0===Object.keys(e).length?L.Z:e};const H={color:function(e){return function(t){var n=t.theme;return a()(U(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return a()(U(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return a()(U(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return a()(U(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return a()(U(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return a()(U(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return a()(U(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return a()(U(n),"specificProperties.".concat(e))}}};var B=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(Z()(V(t,e,n),3)).concat(r)},V=function(e,t,n){return Math.pow(n,t)*e};const W={declareScale:B,exponentiate:V,font:function(e,t){return function(n){return B(e,H.fontSize("base")(n),H.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return B(e,H.space("base")(n),H.space("factor")(n),t)}}};var z=n(29439),Y=function(){return window.innerWidth},q=function(e,t){var n=(0,_.useState)(e),r=(0,z.Z)(n,2),o=r[0],i=r[1],a=(0,_.useState)(Y()),c=(0,z.Z)(a,2),s=c[0],u=c[1];(0,_.useEffect)((function(){var e=function(){u(Y())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[s]),(0,_.useEffect)((function(){i(s<768||e)}),[s,e]);var l=(0,_.useCallback)((function(){i(!o),Y()>768&&t(!o)}),[o,t]);return{isCollapsed:o,toggleCollapse:l}},G=function(e){(0,_.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])};(function(){var e=0,t=function(){new Date-e<500||document.body.classList.add("hasHover")};document.addEventListener("touchstart",(function(){e=new Date}),!0),document.addEventListener("touchstart",(function(){document.body.classList.remove("hasHover")}),!0),document.addEventListener("mousemove",t,!0),t()})();var K=H},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){window.console&&(console.error||console.log).apply(void 0,arguments)},logWarning:function(){window.console&&(console.warn||console.log).apply(void 0,arguments)}}},98773:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d,L0:()=>u,Li:()=>l,Nc:()=>a,S9:()=>p,b_:()=>i,cU:()=>h,hG:()=>o,hK:()=>y,l9:()=>s,lj:()=>m,n7:()=>g,y5:()=>f});var r=n(44759),o="__n-u-l-l__",i={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},a=Object.values(i),c={backendUrl:void 0,businessUnit:void 0,embedType:i.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},d=function(e){c.businessUnit=e},f=function(){return c.embedType},p=function(){var e=f();return[i.admin,i.legacyAdmin].includes(e)},h=function(){var e=f();return[i.widget].includes(e)},m=function(e){a.includes(e)?c.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(a.join(", ")))},g=function(){return c.widgetConfigKey},y=function(e){c.widgetConfigKey=e}},28002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(4942),o=n(44759),i=n(98773),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=function(e){var t=e.mapping;return t[(0,i.y5)()||i.b_.admin]||t[i.b_.admin]};const u=function(e){var t=e.mapping;e.propTypes;return function(e){var n=s({mapping:t});return n||o.Z.logError("Unable to render embed component: No embed component defined."),(0,a.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};const l={EmbedType:i.b_,isInAdminEmbedded:i.S9,isInWidgetEmbedded:i.cU,embedStrategyFactory:u,embedStrategy:s,getBackendUrl:i.l9,setBackendUrl:i.L0,getBusinessUnit:i.Li,setBusinessUnit:i.AK,getEmbedType:i.y5,setEmbedType:i.lj,getWidgetConfigKey:i.n7,setWidgetConfigKey:i.hK,NULL_BUSINESS_UNIT:i.hG,ALLOWED_EMBED_TYPES:i.Nc,setInputEnvs:function(e){var t,n,r,o;(e.backendUrl&&(0,i.L0)(e.backendUrl),e.businessUnit&&(0,i.AK)(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,i.lj)(null===(r=e.appContext)||void 0===r?void 0:r.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,i.hK)(null===(o=e.appContext)||void 0===o?void 0:o.widgetConfigKey)}}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(77017),o="_tocco_originId";const i={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.v4)());return sessionStorage.setItem(o,e),e}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(4942),o=n(71002),i=n(28002),a=n(58940);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},l=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.Z)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",a.Z.getOriginId()),!t.has("X-Business-Unit")&&i.Z.getBusinessUnit()&&t.set("X-Business-Unit",i.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",i.Z.isInAdminEmbedded()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)};const f={prepareHeaders:l,prepareUrl:d,executeRequest:function(e){var t=function(e){return s(s(s({},u),e),{},{headers:l(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=i.Z.getBackendUrl(),r=d(n,e);return fetch(r,t)},extractBody:function(e){return e.json()}}},94184:(e,t)=>{var n;
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports["tocco-address-update"]=t(require("React"),require("ReactDOM")):e["tocco-address-update"]=t(e.React,e.ReactDOM)}(self,((e,t)=>(()=>{var n,r,o={58363:(e,t)=>{"use strict";t.Z=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},5435:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundTableEvenRow:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",border:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",info:"#027cc1",success:"#337f37",warning:"#ec8a00",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0}}},56038:(e,t,n)=>{"use strict";var r=n(45697),o=n.n(r);o().string.isRequired,o().string,o().string.isRequired,o().func.isRequired,o().bool,o().bool,o().shape({minLines:o().number,maxLines:o().number,enableBasicAutocompletion:o().bool,enableLiveAutocompletion:o().bool,enableSnippets:o().bool,readOnly:o().bool}),o().oneOfType([o().string,o().shape({entityModel:o().string,field:o().string,key:o().string})]),o().string},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});var r,o=n(30168),i=n(67165).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=(0,o.Z)([""])))},46395:(e,t,n)=>{"use strict";n.d(t,{q:()=>f.q,Z:()=>d});var r,o=n(4942),i=n(1024),a=n.n(i),c=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=(0,i.lazy)((function(){return Promise.all([n.e(198),n.e(608),n.e(614)]).then(n.bind(n,99579))}));const d=function(e){return(0,c.jsx)(i.Suspense,{fallback:r||(r=(0,c.jsx)(a().Fragment,{})),children:(0,c.jsx)(l,u({},e))})};var f=n(40493)},84265:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});n(45697);var r,o=n(46395),i=n(27936),a=n(30168),c=n(67165);const s=c.ZP.a.withConfig({displayName:"StyledLink"})(r||(r=(0,a.Z)(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,i.wy)(),(function(e){return e.breakWords?(0,i._)():(0,i.lo)()}),i.rS.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var u=n(85893),l=function(e){var t=e.alt,n=e.breakWords,r=e.download,a=e.href,c=e.neutral,l=e.onClick,d=e.rel,f=e.tabIndex,p=e.target,h=e.title,m=e.label,g=e.icon,y=e.children,v=e.useTitle,b=h||(n?void 0:m);return(0,u.jsxs)(s,{alt:t,breakWords:n,download:r,href:a,neutral:c,onClick:l,rel:d,tabIndex:f,target:p,title:v?b:void 0,children:[g&&(0,u.jsx)(o.Z,{icon:g,position:i.co.position.PREPEND}),m||y]})};l.defaultProps={breakWords:!0,useTitle:!0,href:"#",target:"_self"};const d=l;var f,p=n(9481);(0,c.ZP)(p.rU)(f||(f=(0,a.Z)(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,i.wy)(),i.FS.color("secondary"),i.FS.color("text"),i.FS.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?i.FS.color("text"):i.FS.color("secondaryLight")}),(function(e){return e.neutral?"none":"underline"}))},69829:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>T,Fe:()=>U,GI:()=>Y,HK:()=>V,HV:()=>q,IV:()=>Z,Kf:()=>_,Te:()=>F,Ts:()=>C,UB:()=>B,Vg:()=>D,Xv:()=>z,_B:()=>M,ar:()=>I,kO:()=>H,kQ:()=>N,nb:()=>L,nr:()=>R,q_:()=>E,xr:()=>A,z2:()=>W});var r,o,i,a,c,s,u,l,d,f,p,h,m,g,y,v,b,w,O,x,S,k=n(30168),j=n(67165),P=n(27936),E=j.ZP.b.withConfig({displayName:"StyledB"})(r||(r=(0,k.Z)(["\n && {\n ","\n }\n ","\n"])),(0,P.wy)({fontWeight:P.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),D=j.ZP.code.withConfig({displayName:"StyledCode"})(o||(o=(0,k.Z)(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),P.FS.color("backgroundTypographyCode"),P.FS.radii("form"),P.bA.space(-4),P.bA.space(-2)),C=j.ZP.del.withConfig({displayName:"StyledDel"})(i||(i=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),_=j.ZP.em.withConfig({displayName:"StyledEm"})(a||(a=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),T=j.ZP.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=(0,k.Z)(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-2),P.bA.space(-1)),A=j.ZP.i.withConfig({displayName:"StyledI"})(s||(s=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),F=j.ZP.ins.withConfig({displayName:"StyledIns"})(u||(u=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),I=j.ZP.label.withConfig({displayName:"StyledLabel"})(l||(l=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-1)),N=j.ZP.mark.withConfig({displayName:"StyledMark"})(d||(d=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),color:P.FS.color("paper")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.FS.color("signal.info"),P.FS.radii("form"),P.bA.space(-4),P.bA.space(-2)),M=j.ZP.p.withConfig({displayName:"StyledP"})(f||(f=(0,k.Z)(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.bA.space(-1)),R=j.ZP.pre.withConfig({displayName:"StyledPre"})(p||(p=(0,k.Z)(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}),P.FS.color("backgroundTypographyCode"),P.FS.radii("form"),P.FS.color("border"),P.bA.space(-1),P.bA.space(-3),P.bA.space(-2)),Z=j.ZP.s.withConfig({displayName:"StyledS"})(h||(h=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),L=j.ZP.small.withConfig({displayName:"StyledSmall"})(m||(m=(0,k.Z)(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,P.wy)(),P.FS.fontSize("factor"),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),U=j.ZP.span.withConfig({displayName:"StyledSpan"})(g||(g=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),H=j.ZP.sub.withConfig({displayName:"StyledSub"})(y||(y=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),B=j.ZP.sup.withConfig({displayName:"StyledSup"})(v||(v=(0,k.Z)(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,P.wy)({fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),V=j.ZP.strong.withConfig({displayName:"StyledStrong"})(b||(b=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)({fontWeight:P.FS.fontWeight("bold")}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),W=j.ZP.time.withConfig({displayName:"StyledTime"})(w||(w=(0,k.Z)(["\n && {\n ","\n ","\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),z=j.ZP.u.withConfig({displayName:"StyledU"})(O||(O=(0,k.Z)(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),Y=j.ZP.var.withConfig({displayName:"StyledVar"})(x||(x=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,P.wy)({fontFamily:P.FS.fontFamily("monospace"),fontSize:P.bA.font(-1)}),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()})),q=j.ZP.q.withConfig({displayName:"StyledQ"})(S||(S=(0,k.Z)(["\n && {\n ","\n ","\n\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,P.wy)(),(function(e){return e.breakWords?(0,P._)():(0,P.lo)()}))},48921:(e,t,n)=>{"use strict";n.d(t,{XU:()=>m,ar:()=>W.ar,EF:()=>Z,Fe:()=>W.Fe,hc:()=>H,Ly:()=>he,ZP:()=>me});n(45697);var r,o,i,a,c,s,u,l=n(27936),d=n(30168),f=n(67165),p=function(e){var t;switch(e.styledLike){case"H1":t=l.bA.font(5)(e);break;case"H2":t=l.bA.font(4)(e);break;case"H3":t=l.bA.font(3)(e);break;case"H4":t=l.bA.font(2)(e);break;case"H5":t=l.bA.font(1)(e);break;default:t=l.bA.font(0)(e)}return(0,l.wy)({fontWeight:l.rS.fontWeight("bold"),fontSize:t})},h=function(e){return(0,f.iv)(r||(r=(0,d.Z)(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),l.bA.space(0),l.bA.space(-1))},m=f.ZP.h1.withConfig({displayName:"StyledH1"})(o||(o=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),g=f.ZP.h2.withConfig({displayName:"StyledH2"})(i||(i=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),y=f.ZP.h3.withConfig({displayName:"StyledH3"})(a||(a=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),v=f.ZP.h4.withConfig({displayName:"StyledH4"})(c||(c=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),b=f.ZP.h5.withConfig({displayName:"StyledH5"})(s||(s=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),w=f.ZP.h6.withConfig({displayName:"StyledH6"})(u||(u=(0,d.Z)(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return p(e)}),(function(e){return h()}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),O=n(85893),x=function(e){return(0,O.jsx)(m,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};x.defaultProps={breakWords:!0,styledLike:"H1"};var S=function(e){return(0,O.jsx)(g,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};S.defaultProps={breakWords:!0,styledLike:"H2"};var k=function(e){return(0,O.jsx)(y,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};k.defaultProps={breakWords:!0,styledLike:"H3"};var j=function(e){return(0,O.jsx)(v,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};j.defaultProps={breakWords:!0,styledLike:"H4"};var P=function(e){return(0,O.jsx)(b,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};P.defaultProps={breakWords:!0,styledLike:"H5"};var E,D,C,_,T,A,F,I=function(e){return(0,O.jsx)(w,{breakWords:e.breakWords,styledLike:e.styledLike,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};I.defaultProps={breakWords:!0,styledLike:"H6"};var N=f.ZP.dd.withConfig({displayName:"StyledDd"})(E||(E=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)(),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),M=f.ZP.dl.withConfig({displayName:"StyledDl"})(D||(D=(0,d.Z)(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1)),R=f.ZP.dt.withConfig({displayName:"StyledDt"})(C||(C=(0,d.Z)(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,l.wy)({fontWeight:l.rS.fontWeight("bold")}),(function(e){return e.breakWords?(0,l._)():(0,l.lo)()})),Z=f.ZP.li.withConfig({displayName:"StyledLi"})(_||(_=(0,d.Z)(["\n && {\n ","\n ","\n }\n"])),(0,l.wy)(),(0,l._)()),L=f.ZP.ol.withConfig({displayName:"StyledList"})(T||(T=(0,d.Z)(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),l.bA.space(-1),l.bA.space(-.1)),U=(0,f.ZP)(L).withConfig({displayName:"StyledOl"})(A||(A=(0,d.Z)(["\n list-style-type: decimal;\n"]))),H=(0,f.ZP)(L).withConfig({displayName:"StyledUl"})(F||(F=(0,d.Z)(["\n && {\n list-style-type: disc;\n }\n"]))),B=function(e){return(0,O.jsx)(N,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})},V=function(e){return(0,O.jsx)(R,{breakWords:e.breakWords,title:e.breakWords?void 0:(0,l.JX)(e.children),children:e.children})};B.defaultProps=V.defaultProps={breakWords:!0};var W=n(69829),z=function(e){return(0,O.jsx)(W.q_,{breakWords:e.breakWords,title:de(e),children:e.children})},Y=function(e){return(0,O.jsx)(W.Vg,{title:de(e),children:e.children})},q=function(e){return(0,O.jsx)(W.Ts,{breakWords:e.breakWords,title:de(e),children:e.children})},G=function(e){return(0,O.jsx)(W.Kf,{breakWords:e.breakWords,title:de(e),children:e.children})},K=function(e){return(0,O.jsx)(W.Bs,{breakWords:e.breakWords,title:de(e),children:e.children})},X=function(e){return(0,O.jsx)(W.xr,{breakWords:e.breakWords,title:de(e),children:e.children})},$=function(e){return(0,O.jsx)(W.Te,{breakWords:e.breakWords,title:de(e),children:e.children})},Q=function(e){return(0,O.jsx)(W.kQ,{breakWords:e.breakWords,title:de(e),children:e.children})},J=function(e){return(0,O.jsx)(W._B,{breakWords:e.breakWords,title:de(e),children:e.children})},ee=function(e){return(0,O.jsx)(W.nr,{breakWords:e.breakWords,title:de(e),children:e.children})},te=function(e){return(0,O.jsx)(W.IV,{breakWords:e.breakWords,title:de(e),children:e.children})},ne=function(e){return(0,O.jsx)(W.nb,{breakWords:e.breakWords,title:de(e),children:e.children})},re=function(e){return(0,O.jsx)(W.Fe,{breakWords:e.breakWords,title:de(e),children:e.children})},oe=function(e){return(0,O.jsx)(W.kO,{breakWords:e.breakWords,title:de(e),children:e.children})},ie=function(e){return(0,O.jsx)(W.UB,{breakWords:e.breakWords,title:de(e),children:e.children})},ae=function(e){return(0,O.jsx)(W.HK,{breakWords:e.breakWords,title:de(e),children:e.children})},ce=function(e){return(0,O.jsx)(W.z2,{breakWords:e.breakWords,title:e.title,dateTime:e.dateTime,children:e.children})},se=function(e){return(0,O.jsx)(W.Xv,{breakWords:e.breakWords,title:de(e),children:e.children})},ue=function(e){return(0,O.jsx)(W.GI,{breakWords:e.breakWords,title:de(e),children:e.children})},le=function(e){return(0,O.jsx)(W.HV,{breakWords:e.breakWords,title:de(e),children:e.children})},de=function(e){return!e.useTitle||e.breakWords?void 0:(0,l.JX)(e.children)};z.defaultProps=Y.defaultProps=q.defaultProps=G.defaultProps=K.defaultProps=X.defaultProps=$.defaultProps=Q.defaultProps=J.defaultProps=ee.defaultProps=le.defaultProps=te.defaultProps=ne.defaultProps=re.defaultProps=ae.defaultProps=oe.defaultProps=ie.defaultProps=se.defaultProps=ue.defaultProps={breakWords:!0,useTitle:!0},ce.defaultProps={breakWords:!1};var fe=n(27361),pe=n.n(fe),he=function(e,t){var n="\n color: ".concat(l.rS.color("text")(e),";\n font-family: ").concat(l.rS.fontFamily("regular")(e),";\n font-size: ").concat(l.bA.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(l.rS.fontWeight("regular")(e),";\n line-height: ").concat(l.rS.lineHeight("regular")(e),";\n\n a {\n color: ").concat(l.rS.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(pe()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(pe()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(l.bA.font(5)(e),";}\n h2 {font-size: ").concat(l.bA.font(4)(e),";}\n h3 {font-size: ").concat(l.bA.font(3)(e),";}\n h4 {font-size: ").concat(l.bA.font(2)(e),";}\n h5 {font-size: ").concat(l.bA.font(1)(e),";}\n h6 {font-size: ").concat(l.bA.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(l.rS.fontWeight("bold")(e),";\n margin-top: ").concat(l.bA.space(0)(e),";\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(l.bA.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(l.bA.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n};const me={H1:x,H2:S,H3:k,H4:j,H5:P,H6:I,Dd:B,Dt:V,Dl:function(e){return(0,O.jsx)(M,{children:e.children})},Li:function(e){return(0,O.jsx)(Z,{children:e.children})},Ol:function(e){return(0,O.jsx)(U,{children:e.children})},Ul:function(e){return(0,O.jsx)(H,{as:"ul",children:e.children})},B:z,Code:Y,Del:q,Em:G,Figcaption:K,I:X,Ins:$,Label:function(e){return(0,O.jsx)(W.ar,{breakWords:e.breakWords,title:de(e),htmlFor:e.for,children:e.children})},Mark:Q,P:J,Pre:ee,Q:le,S:te,Small:ne,Span:re,Strong:ae,Sub:oe,Sup:ie,Time:ce,U:se,Var:ue}},27936:(e,t,n)=>{"use strict";n.d(t,{mT:()=>s,v5:()=>c,kk:()=>f,wy:()=>p,lo:()=>h,_:()=>m,co:()=>E,JX:()=>F,Hx:()=>M,b1:()=>D,bA:()=>W,rS:()=>H,FS:()=>K,Kd:()=>q,zf:()=>G});var r,o,i=n(27361),a=n.n(i),c={base:function(e){var t=e.theme;return a()(t,"colors.text")},shade1:function(e){var t=e.theme;return a()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return a()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return a()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return a()(t,"colors.signal.info")}},s={base:function(e){var t=e.theme;return a()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return a()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return a()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}},u=n(30168),l=n(40342),d=n(67165),f=function(e){var t=a()(e.theme,"colors.signal.info",E.fallbackColors.INFO);return(0,d.iv)(r||(r=(0,u.Z)(["\n transition: border-color ease-in-out 100ms;\n will-change: border-color;\n\n &:focus,\n &:focus-within {\n border-color: ",";\n box-shadow: 0 0 6px ",";\n outline: 0;\n\n /**\n * Disable box-shadow for Safari\n * in order to be able to tab through the form fluently\n */\n @media not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n box-shadow: none;\n }\n }\n }\n "])),t,(0,l.DZ)(.4,t))};const p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,d.iv)(o||(o=(0,u.Z)(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||H.color("text"),e.fontFamily||H.fontFamily("regular"),e.fontSize||W.font(0),e.fontStyle||"normal",e.fontWeight||H.fontWeight("regular"),e.lineHeight||H.lineHeight("regular"))};var h=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},m=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"},g=n(45697),y=n.n(g),v={NONE:"none",SPIN:"spin"},b={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},w={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},O={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},x={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},S=y().oneOf(Object.values(v)),k=y().oneOf(Object.values(b)),j=y().oneOf(Object.values(O)),P=y().oneOf(Object.values(x));const E={animation:v,animationPropTypes:S,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:b,inkPropTypes:k,layout:w,layoutPropTypes:y().oneOf(Object.values(w)),look:O,lookPropTypes:j,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return y().oneOf(Object.values(e))},position:x,positionPropTypes:P};var D="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;n(35937);var C=n(71002),_=n(1024),T=n.n(_),A=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const F=function e(t){var n="";return T().Children.map(t,(function(t,r){"string"==typeof t||"number"==typeof t?n="".concat(n).concat(t):"object"===(0,C.Z)(t)&&t.props.children?n="".concat(n).concat(e(t.props.children)):"object"===(0,C.Z)(t)&&t.props.dangerouslySetInnerHTML&&(n="".concat(n," ").concat(A(t.props.dangerouslySetInnerHTML.__html)))})),n};var I,N=function(e,t){return(0,l.XV)(e,H.color("text")({theme:t}),H.color("paper")({theme:t}))};const M=function(e){var t=e.ink,n=e.look,r=e.theme,o=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?H.color("primary")({theme:n}):r?H.color("secondary")({theme:n}):H.color("paper")({theme:n})}(t,n,r),i=function(e,t,n,r){return"primary"===e&&"raised"!==t?H.color("primary")({theme:n}):N(r,n)}(t,n,r,o),a=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(H.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,r),c=function(e,t,n){return"raised"===t?"primary"===e?H.color("primaryLight")({theme:n}):H.color("secondaryLight")({theme:n}):H.color("backgroundItemHover")({theme:n})}(t,n,r),s=function(e,t,n){return"raised"===e?H.color("paper")({theme:t}):N(n,t)}(n,r,o);return(0,d.iv)(I||(I=(0,u.Z)(["\n background: ",";\n color: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:focus,\n &:hover {\n background: ",";\n color: ",";\n }\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n color: ",";\n cursor: not-allowed;\n }\n "])),o,i,a,c,s,(0,l.$n)(.1,c),(0,l.nV)(.41,o),(0,l.nV)(.75,i))};var R=n(59854),Z=n.n(R),L=n(5435),U=function(e){return 0===Object.keys(e).length?L.Z:e};const H={color:function(e){return function(t){var n=t.theme;return a()(U(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return a()(U(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return a()(U(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return a()(U(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return a()(U(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return a()(U(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return a()(U(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return a()(U(n),"specificProperties.".concat(e))}}};var B=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(Z()(V(t,e,n),3)).concat(r)},V=function(e,t,n){return Math.pow(n,t)*e};const W={declareScale:B,exponentiate:V,font:function(e,t){return function(n){return B(e,H.fontSize("base")(n),H.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return B(e,H.space("base")(n),H.space("factor")(n),t)}}};var z=n(29439),Y=function(){return window.innerWidth},q=function(e,t){var n=(0,_.useState)(e),r=(0,z.Z)(n,2),o=r[0],i=r[1],a=(0,_.useState)(Y()),c=(0,z.Z)(a,2),s=c[0],u=c[1];(0,_.useEffect)((function(){var e=function(){u(Y())};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}}),[s]),(0,_.useEffect)((function(){i(s<768||e)}),[s,e]);var l=(0,_.useCallback)((function(){i(!o),Y()>768&&t(!o)}),[o,t]);return{isCollapsed:o,toggleCollapse:l}},G=function(e){(0,_.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])};(function(){window.onload=function(){var e=0,t=function(){new Date-e<500||document.body.classList.add("hasHover")};document.addEventListener("touchstart",(function(){e=new Date}),!0),document.addEventListener("touchstart",(function(){document.body.classList.remove("hasHover")}),!0),document.addEventListener("mousemove",t,!0),t()}})();var K=H},44759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={log:function(){var e;window.console&&(e=console).log.apply(e,arguments)},logError:function(){window.console&&(console.error||console.log).apply(void 0,arguments)},logWarning:function(){window.console&&(console.warn||console.log).apply(void 0,arguments)}}},98773:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d,L0:()=>u,Li:()=>l,Nc:()=>a,S9:()=>p,b_:()=>i,cU:()=>h,hG:()=>o,hK:()=>y,l9:()=>s,lj:()=>m,n7:()=>g,y5:()=>f});var r=n(44759),o="__n-u-l-l__",i={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},a=Object.values(i),c={backendUrl:void 0,businessUnit:void 0,embedType:i.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},d=function(e){c.businessUnit=e},f=function(){return c.embedType},p=function(){var e=f();return[i.admin,i.legacyAdmin].includes(e)},h=function(){var e=f();return[i.widget].includes(e)},m=function(e){a.includes(e)?c.embedType=e:r.Z.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(a.join(", ")))},g=function(){return c.widgetConfigKey},y=function(e){c.widgetConfigKey=e}},28002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(4942),o=n(44759),i=n(98773),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var s=function(e){var t=e.mapping;return t[(0,i.y5)()||i.b_.admin]||t[i.b_.admin]};const u=function(e){var t=e.mapping;e.propTypes;return function(e){var n=s({mapping:t});return n||o.Z.logError("Unable to render embed component: No embed component defined."),(0,a.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}};const l={EmbedType:i.b_,isInAdminEmbedded:i.S9,isInWidgetEmbedded:i.cU,embedStrategyFactory:u,embedStrategy:s,getBackendUrl:i.l9,setBackendUrl:i.L0,getBusinessUnit:i.Li,setBusinessUnit:i.AK,getEmbedType:i.y5,setEmbedType:i.lj,getWidgetConfigKey:i.n7,setWidgetConfigKey:i.hK,NULL_BUSINESS_UNIT:i.hG,ALLOWED_EMBED_TYPES:i.Nc,setInputEnvs:function(e){var t,n,r,o;(e.backendUrl&&(0,i.L0)(e.backendUrl),e.businessUnit&&(0,i.AK)(e.businessUnit),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,i.lj)(null===(r=e.appContext)||void 0===r?void 0:r.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,i.hK)(null===(o=e.appContext)||void 0===o?void 0:o.widgetConfigKey)}}},58940:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(77017),o="_tocco_originId";const i={getOriginId:function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.v4)());return sessionStorage.setItem(o,e),e}}},54159:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(4942),o=n(71002),i=n(28002),a=n(58940);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={method:"GET",credentials:"include"},l=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===(0,o.Z)(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",a.Z.getOriginId()),!t.has("X-Business-Unit")&&i.Z.getBusinessUnit()&&t.set("X-Business-Unit",i.Z.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",i.Z.isInAdminEmbedded()?"client":"widget"),t},d=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)};const f={prepareHeaders:l,prepareUrl:d,executeRequest:function(e){var t=function(e){return s(s(s({},u),e),{},{headers:l(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=i.Z.getBackendUrl(),r=d(n,e);return fetch(r,t)},extractBody:function(e){return e.json()}}},94184:(e,t)=>{var n;
2
2
  /*!
3
3
  Copyright (c) 2018 Jed Watson.
4
4
  Licensed under the MIT License (MIT), see