tocco-devcon 1.0.0-hotfix30.21 → 1.0.0-hotfix30.24
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,13 @@
|
|
|
1
|
+
1.0.0-hotfix30.24
|
|
2
|
+
- keep all values on blur
|
|
3
|
+
- debouncer accepts value changes from outside
|
|
4
|
+
|
|
5
|
+
1.0.0-hotfix30.23
|
|
6
|
+
- allow duration values to be negative
|
|
7
|
+
|
|
8
|
+
1.0.0-hotfix30.22
|
|
9
|
+
- invalidate cache on page refresh properly
|
|
10
|
+
|
|
1
11
|
1.0.0-hotfix30.21
|
|
2
12
|
- do not reuse same tab for different reports
|
|
3
13
|
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
|
4
4
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
5
5
|
*/
|
|
6
|
-
function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){a=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,{icon:()=>Pe,noAuto:()=>ke,config:()=>I,toHtml:()=>Ft,layer:()=>je,text:()=>Se,counter:()=>_e,library:()=>xe,dom:()=>Ee,parse:()=>Ce,findIconDefinition:()=>ye});var u=function(){},s={},f={},m=null,d={mark:u,measure:u};try{"undefined"!=typeof window&&(s=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&(m=MutationObserver),"undefined"!=typeof performance&&(d=performance)}catch(t){}var p=(s.navigator||{}).userAgent,h=void 0===p?"":p,g=s,v=f,b=m,y=d,w=(g.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),x=~h.indexOf("MSIE")||~h.indexOf("Trident/"),k=["HTML","HEAD","STYLE","SCRIPT"],O=function(){try{return!0}catch(t){return!1}}(),E={fas:"solid",far:"regular",fal:"light",fad:"duotone",fab:"brands",fak:"kit",fa:"solid"},C={solid:"fas",regular:"far",light:"fal",duotone:"fad",brands:"fab",kit:"fak"},P=/Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/,S={900:"fas",400:"far",normal:"far",300:"fal"},_=[1,2,3,4,5,6,7,8,9,10],j=_.concat([11,12,13,14,15,16,17,18,19,20]),A=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],M={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},D=["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",M.GROUP,M.SWAP_OPACITY,M.PRIMARY,M.SECONDARY].concat(_.map((function(t){return"".concat(t,"x")}))).concat(j.map((function(t){return"w-".concat(t)}))),N=g.FontAwesomeConfig||{};if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=l(t,2),n=e[0],r=e[1],a=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=v.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=a&&(N[r]=a)}))}var Z=o({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},N);Z.autoReplaceSvg||(Z.observeMutations=!1);var I=o({},Z);g.FontAwesomeConfig=I;var R=g||{};R.___FONT_AWESOME___||(R.___FONT_AWESOME___={}),R.___FONT_AWESOME___.styles||(R.___FONT_AWESOME___.styles={}),R.___FONT_AWESOME___.hooks||(R.___FONT_AWESOME___.hooks={}),R.___FONT_AWESOME___.shims||(R.___FONT_AWESOME___.shims=[]);var L=R.___FONT_AWESOME___,T=[],z=!1;function F(t){w&&(z?setTimeout(t,0):T.push(t))}w&&((z=(v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState))||v.addEventListener("DOMContentLoaded",(function t(){v.removeEventListener("DOMContentLoaded",t),z=1,T.map((function(t){return t()}))})));var Y,U=function(){},W=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,B="undefined"==typeof setImmediate?setTimeout:setImmediate,H=[];function V(){for(var t=0;t<H.length;t++)H[t][0](H[t][1]);H=[],Y=!1}function X(t,e){H.push([t,e]),Y||(Y=!0,B(V,0))}function q(t){var e=t.owner,n=e._state,r=e._data,a=t[n],i=t.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(t){J(i,t)}}K(i,r)||("fulfilled"===n&&G(i,r),"rejected"===n&&J(i,r))}function K(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===r(e))){var a=e.then;if("function"==typeof a)return a.call(e,(function(r){n||(n=!0,e===r?Q(t,r):G(t,r))}),(function(e){n||(n=!0,J(t,e))})),!0}}catch(e){return n||J(t,e),!0}return!1}function G(t,e){t!==e&&K(t,e)||Q(t,e)}function Q(t,e){"pending"===t._state&&(t._state="settled",t._data=e,X(tt,t))}function J(t,e){"pending"===t._state&&(t._state="settled",t._data=e,X(et,t))}function $(t){t._then=t._then.forEach(q)}function tt(t){t._state="fulfilled",$(t)}function et(t){t._state="rejected",$(t),!t._handled&&W&&n.g.process.emit("unhandledRejection",t._data,t)}function nt(t){n.g.process.emit("rejectionHandled",t)}function rt(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof rt==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){J(e,t)}try{t((function(t){G(e,t)}),n)}catch(t){n(t)}}(t,this)}rt.prototype={constructor:rt,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(U),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&W&&X(nt,this)),"fulfilled"===this._state||"rejected"===this._state?X(q,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},rt.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new rt((function(e,n){var r=[],a=0;function i(t){return a++,function(n){r[t]=n,--a||e(r)}}for(var o,l=0;l<t.length;l++)(o=t[l])&&"function"==typeof o.then?o.then(i(l),n):r[l]=o;a||e(r)}))},rt.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new rt((function(e,n){for(var r,a=0;a<t.length;a++)(r=t[a])&&"function"==typeof r.then?r.then(e,n):e(r)}))},rt.resolve=function(t){return t&&"object"===r(t)&&t.constructor===rt?t:new rt((function(e){e(t)}))},rt.reject=function(t){return new rt((function(e,n){n(t)}))};var at="function"==typeof Promise?Promise:rt,it=16,ot={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function lt(t){if(t&&w){var e=v.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(e,r),t}}function ct(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function ut(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function st(t){return t.classList?ut(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function ft(t,e){var n=e.split("-"),r=n[0],a=n.slice(1).join("-");return r!==t||""===a||function(t){return~D.indexOf(t)}(a)?null:a}function mt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function dt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function pt(t){return t.size!==ot.size||t.x!==ot.x||t.y!==ot.y||t.rotate!==ot.rotate||t.flipX||t.flipY}function ht(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),l="rotate(".concat(e.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var gt={x:0,y:0,width:"100%",height:"100%"};function vt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function bt(t){var e=t.icons,n=e.main,r=e.mask,a=t.prefix,i=t.iconName,l=t.transform,c=t.symbol,u=t.title,s=t.maskId,f=t.titleId,m=t.extra,d=t.watchable,p=void 0!==d&&d,h=r.found?r:n,g=h.width,v=h.height,b="fak"===a,y=b?"":"fa-w-".concat(Math.ceil(g/v*16)),w=[I.replacementClass,i?"".concat(I.familyPrefix,"-").concat(i):"",y].filter((function(t){return-1===m.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(m.classes).join(" "),x={children:[],attributes:o({},m.attributes,{"data-prefix":a,"data-icon":i,class:w,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},k=b&&!~m.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};p&&(x.attributes["data-fa-i2svg"]=""),u&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||ct())},children:[u]});var O=o({},x,{prefix:a,iconName:i,main:n,mask:r,maskId:s,transform:l,symbol:c,styles:o({},k,m.styles)}),E=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,a=t.main,i=t.mask,l=t.maskId,c=t.transform,u=a.width,s=a.icon,f=i.width,m=i.icon,d=ht({transform:c,containerWidth:f,iconWidth:u}),p={tag:"rect",attributes:o({},gt,{fill:"white"})},h=s.children?{children:s.children.map(vt)}:{},g={tag:"g",attributes:o({},d.inner),children:[vt(o({tag:s.tag,attributes:o({},s.attributes,d.path)},h))]},v={tag:"g",attributes:o({},d.outer),children:[g]},b="mask-".concat(l||ct()),y="clip-".concat(l||ct()),w={tag:"mask",attributes:o({},gt,{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,v]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(e=m,"g"===e.tag?e.children:[e])},w]};return n.push(x,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},gt)}),{children:n,attributes:r}}(O):function(t){var e=t.children,n=t.attributes,r=t.main,a=t.transform,i=dt(t.styles);if(i.length>0&&(n.style=i),pt(a)){var l=ht({transform:a,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:o({},l.outer),children:[{tag:"g",attributes:o({},l.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:o({},r.icon.attributes,l.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(O),C=E.children,P=E.attributes;return O.children=C,O.attributes=P,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,a=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},a,{id:!0===i?"".concat(e,"-").concat(I.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(t){var e=t.children,n=t.main,r=t.mask,a=t.attributes,i=t.styles,l=t.transform;if(pt(l)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};a.style=dt(o({},i,{"transform-origin":"".concat(c.x+l.x/16,"em ").concat(c.y+l.y/16,"em")}))}return[{tag:"svg",attributes:a,children:e}]}(O)}function yt(t){var e=t.content,n=t.width,r=t.height,a=t.transform,i=t.title,l=t.extra,c=t.watchable,u=void 0!==c&&c,s=o({},l.attributes,i?{title:i}:{},{class:l.classes.join(" ")});u&&(s["data-fa-i2svg"]="");var f=o({},l.styles);pt(a)&&(f.transform=function(t){var e=t.transform,n=t.width,r=void 0===n?16:n,a=t.height,i=void 0===a?16:a,o=t.startCentered,l=void 0!==o&&o,c="";return c+=l&&x?"translate(".concat(e.x/it-r/2,"em, ").concat(e.y/it-i/2,"em) "):l?"translate(calc(-50% + ".concat(e.x/it,"em), calc(-50% + ").concat(e.y/it,"em)) "):"translate(".concat(e.x/it,"em, ").concat(e.y/it,"em) "),c+="scale(".concat(e.size/it*(e.flipX?-1:1),", ").concat(e.size/it*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var m=dt(f);m.length>0&&(s.style=m);var d=[];return d.push({tag:"span",attributes:s,children:[e]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function wt(t){var e=t.content,n=t.title,r=t.extra,a=o({},r.attributes,n?{title:n}:{},{class:r.classes.join(" ")}),i=dt(r.styles);i.length>0&&(a.style=i);var l=[];return l.push({tag:"span",attributes:a,children:[e]}),n&&l.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),l}var xt=function(){},kt=I.measurePerformance&&y&&y.mark&&y.measure?y:{mark:xt,measure:xt},Ot='FA "5.15.1"',Et=function(t){kt.mark("".concat(Ot," ").concat(t," ends")),kt.measure("".concat(Ot," ").concat(t),"".concat(Ot," ").concat(t," begins"),"".concat(Ot," ").concat(t," ends"))},Ct=function(t){return kt.mark("".concat(Ot," ").concat(t," begins")),function(){return Et(t)}},Pt=function(t,e,n,r){var a,i,o,l=Object.keys(t),c=l.length,u=void 0!==r?function(t,e){return function(n,r,a,i){return t.call(e,n,r,a,i)}}(e,r):e;for(void 0===n?(a=1,o=t[l[0]]):(a=0,o=n);a<c;a++)o=u(o,t[i=l[a]],i,t);return o};function St(t){for(var e="",n=0;n<t.length;n++){e+=("000"+t.charCodeAt(n).toString(16)).slice(-4)}return e}function _t(t){if(1!==t.length)return!1;var e,n,r,a,i,o=(n=0,a=(e=t).length,(i=e.charCodeAt(n))>=55296&&i<=56319&&a>n+1&&(r=e.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i);return o>=57344&&o<=63743}function jt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof L.hooks.addPack||a?L.styles[t]=o({},L.styles[t]||{},i):L.hooks.addPack(t,i),"fas"===t&&jt("fa",e)}var At=L.styles,Mt=L.shims,Dt={},Nt={},Zt={},It=function(){var t=function(t){return Pt(At,(function(e,n,r){return e[r]=Pt(n,t,{}),e}),{})};Dt=t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),Nt=t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in At;Zt=Pt(Mt,(function(t,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||e||(a="fas"),t[r]={prefix:a,iconName:i},t}),{})};function Rt(t,e){return(Dt[t]||{})[e]}It();var Lt=L.styles;function Tt(t){return t.reduce((function(t,e){var n=ft(I.familyPrefix,e);if(Lt[e])t.prefix=e;else if(I.autoFetchSvg&&Object.keys(E).indexOf(e)>-1)t.prefix=e;else if(n){var r="fa"===t.prefix?function(t){return Zt[t]||{prefix:null,iconName:null}}(n):{};t.iconName=r.iconName||n,t.prefix=r.prefix||t.prefix}else e!==I.replacementClass&&0!==e.indexOf("fa-w-")&&t.rest.push(e);return t}),{prefix:null,iconName:null,rest:[]})}function zt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Ft(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,a=t.children,i=void 0===a?[]:a;return"string"==typeof t?mt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(mt(t[n]),'" ')}),"").trim()}(r),">").concat(i.map(Ft).join(""),"</").concat(e,">")}var Yt=function(){};function Ut(t){return"string"==typeof(t.getAttribute?t.getAttribute("data-fa-i2svg"):null)}var Wt={replace:function(t){var e=t[0],n=t[1].map((function(t){return Ft(t)})).join("\n");if(e.parentNode&&e.outerHTML)e.outerHTML=n+(I.keepOriginalSource&&"svg"!==e.tagName.toLowerCase()?"\x3c!-- ".concat(e.outerHTML," Font Awesome fontawesome.com --\x3e"):"");else if(e.parentNode){var r=document.createElement("span");e.parentNode.replaceChild(r,e),r.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~st(e).indexOf(I.replacementClass))return Wt.replace(t);var r=new RegExp("".concat(I.familyPrefix,"-.*"));delete n[0].attributes.style,delete n[0].attributes.id;var a=n[0].attributes.class.split(" ").reduce((function(t,e){return e===I.replacementClass||e.match(r)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" ");var i=n.map((function(t){return Ft(t)})).join("\n");e.setAttribute("class",a.toNode.join(" ")),e.setAttribute("data-fa-i2svg",""),e.innerHTML=i}};function Bt(t){t()}function Ht(t,e){var n="function"==typeof e?e:Yt;if(0===t.length)n();else{var r=Bt;"async"===I.mutateApproach&&(r=g.requestAnimationFrame||Bt),r((function(){var e=!0===I.autoReplaceSvg?Wt.replace:Wt[I.autoReplaceSvg]||Wt.replace,r=Ct("mutate");t.map(e),r(),n()}))}}var Vt=!1;function Xt(){Vt=!1}var qt=null;function Kt(t){if(b&&I.observeMutations){var e=t.treeCallback,n=t.nodeCallback,r=t.pseudoElementsCallback,a=t.observeMutationsRoot,i=void 0===a?v:a;qt=new b((function(t){Vt||ut(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Ut(t.addedNodes[0])&&(I.searchPseudoElements&&r(t.target),e(t.target)),"attributes"===t.type&&t.target.parentNode&&I.searchPseudoElements&&r(t.target.parentNode),"attributes"===t.type&&Ut(t.target)&&~A.indexOf(t.attributeName))if("class"===t.attributeName){var a=Tt(st(t.target)),i=a.prefix,o=a.iconName;i&&t.target.setAttribute("data-prefix",i),o&&t.target.setAttribute("data-icon",o)}else n(t.target)}))})),w&&qt.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Gt(t){var e,n,r=t.getAttribute("data-prefix"),a=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",o=Tt(st(t));return r&&a&&(o.prefix=r,o.iconName=a),o.prefix&&i.length>1?o.iconName=(e=o.prefix,n=t.innerText,(Nt[e]||{})[n]):o.prefix&&1===i.length&&(o.iconName=Rt(o.prefix,St(t.innerText))),o}var Qt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return t.flipX=!0,t;if(r&&"v"===a)return t.flipY=!0,t;if(a=parseFloat(a),isNaN(a))return t;switch(r){case"grow":t.size=t.size+a;break;case"shrink":t.size=t.size-a;break;case"left":t.x=t.x-a;break;case"right":t.x=t.x+a;break;case"up":t.y=t.y-a;break;case"down":t.y=t.y+a;break;case"rotate":t.rotate=t.rotate+a}return t}),e):e};function Jt(t){var e=Gt(t),n=e.iconName,r=e.prefix,a=e.rest,i=function(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(t[r]=a.join(":").trim()),t}),{})),n}(t),o=function(t){return Qt(t.getAttribute("data-fa-transform"))}(t),l=function(t){var e=t.getAttribute("data-fa-symbol");return null!==e&&(""===e||e)}(t),c=function(t){var e=ut(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),r=t.getAttribute("data-fa-title-id");return I.autoA11y&&(n?e["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(r||ct()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),u=function(t){var e=t.getAttribute("data-fa-mask");return e?Tt(e.split(" ").map((function(t){return t.trim()}))):{prefix:null,iconName:null,rest:[]}}(t);return{iconName:n,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:r,transform:o,symbol:l,mask:u,maskId:t.getAttribute("data-fa-mask-id"),extra:{classes:a,styles:i,attributes:c}}}function $t(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}$t.prototype=Object.create(Error.prototype),$t.prototype.constructor=$t;var te={fill:"currentColor"},ee={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ne={tag:"path",attributes:o({},te,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},re=o({},ee,{attributeName:"opacity"}),ae={tag:"g",children:[ne,{tag:"circle",attributes:o({},te,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:o({},ee,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:o({},re,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:o({},te,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:[{tag:"animate",attributes:o({},re,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:o({},te,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:o({},re,{values:"0;0;1;1;0;0;"})}]}]},ie=L.styles;function oe(t){var e=t[0],n=t[1],r=l(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(I.familyPrefix,"-").concat(M.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(M.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(M.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function le(t,e){return new at((function(n,r){var a={found:!1,width:512,height:512,icon:ae};if(t&&e&&ie[e]&&ie[e][t])return n(oe(ie[e][t]));!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e&&_t(e)){if(t&&t.iconUploads){var n=t.iconUploads,r=Object.keys(n).find((function(t){return n[t]&&n[t].u&&n[t].u===St(e)}));if(r)n[r].v}}else if(t&&t.iconUploads&&t.iconUploads[e]&&t.iconUploads[e].v)t.iconUploads[e].v}(g.FontAwesomeKitConfig,t);g.FontAwesomeKitConfig&&g.FontAwesomeKitConfig.token&&g.FontAwesomeKitConfig.token,t&&e&&!I.showMissingIcons?r(new $t("Icon is missing for prefix ".concat(e," with icon name ").concat(t))):n(a)}))}var ce=L.styles;function ue(t){var e=Jt(t);return~e.extra.classes.indexOf("fa-layers-text")?function(t,e){var n=e.title,r=e.transform,a=e.extra,i=null,o=null;if(x){var l=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();i=c.width/l,o=c.height/l}return I.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),at.resolve([t,yt({content:t.innerHTML,width:i,height:o,transform:r,title:n,extra:a,watchable:!0})])}(t,e):function(t,e){var n=e.iconName,r=e.title,a=e.titleId,i=e.prefix,o=e.transform,c=e.symbol,u=e.mask,s=e.maskId,f=e.extra;return new at((function(e,m){at.all([le(n,i),le(u.iconName,u.prefix)]).then((function(u){var m=l(u,2),d=m[0],p=m[1];e([t,bt({icons:{main:d,mask:p},prefix:i,iconName:n,transform:o,symbol:c,mask:p,maskId:s,title:r,titleId:a,extra:f,watchable:!0})])}))}))}(t,e)}function se(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(w){var n=v.documentElement.classList,r=function(t){return n.add("".concat("fontawesome-i2svg","-").concat(t))},a=function(t){return n.remove("".concat("fontawesome-i2svg","-").concat(t))},i=I.autoFetchSvg?Object.keys(E):Object.keys(ce),o=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(i.map((function(t){return".".concat(t,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0!==o.length){var l=[];try{l=ut(t.querySelectorAll(o))}catch(t){}if(l.length>0){r("pending"),a("complete");var c=Ct("onTree"),u=l.reduce((function(t,e){try{var n=ue(e);n&&t.push(n)}catch(t){O||t instanceof $t&&console.error(t)}return t}),[]);return new at((function(t,n){at.all(u).then((function(n){Ht(n,(function(){r("active"),r("complete"),a("pending"),"function"==typeof e&&e(),c(),t()}))})).catch((function(){c(),n()}))}))}}}}function fe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ue(t).then((function(t){t&&Ht([t],e)}))}function me(t,e){var n="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new at((function(r,a){if(null!==t.getAttribute(n))return r();var i=ut(t.children).filter((function(t){return t.getAttribute("data-fa-pseudo-element")===e}))[0],l=g.getComputedStyle(t,e),c=l.getPropertyValue("font-family").match(P),u=l.getPropertyValue("font-weight"),s=l.getPropertyValue("content");if(i&&!c)return t.removeChild(i),r();if(c&&"none"!==s&&""!==s){var f=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Duotone","Brands","Kit"].indexOf(c[2])?C[c[2].toLowerCase()]:S[u],d=St(3===f.length?f.substr(1,1):f),p=Rt(m,d),h=p;if(!p||i&&i.getAttribute("data-prefix")===m&&i.getAttribute("data-icon")===h)r();else{t.setAttribute(n,h),i&&t.removeChild(i);var b={iconName:null,title:null,titleId:null,prefix:null,transform:ot,symbol:!1,mask:null,maskId:null,extra:{classes:[],styles:{},attributes:{}}},y=b.extra;y.attributes["data-fa-pseudo-element"]=e,le(p,m).then((function(a){var i=bt(o({},b,{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:h,extra:y,watchable:!0})),l=v.createElement("svg");":before"===e?t.insertBefore(l,t.firstChild):t.appendChild(l),l.outerHTML=i.map((function(t){return Ft(t)})).join("\n"),t.removeAttribute(n),r()})).catch(a)}}else r()}))}function de(t){return at.all([me(t,":before"),me(t,":after")])}function pe(t){return!(t.parentNode===document.head||~k.indexOf(t.tagName.toUpperCase())||t.getAttribute("data-fa-pseudo-element")||t.parentNode&&"svg"===t.parentNode.tagName)}function he(t){if(w)return new at((function(e,n){var r=ut(t.querySelectorAll("*")).filter(pe).map(de),a=Ct("searchPseudoElements");Vt=!0,at.all(r).then((function(){a(),Xt(),e()})).catch((function(){a(),Xt(),n()}))}))}function ge(){var t="svg-inline--fa",e=I.familyPrefix,n=I.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||n!==t){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");r=r.replace(a,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(o,".".concat(n))}return r}function ve(){I.autoAddCss&&!Oe&&(lt(ge()),Oe=!0)}function be(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Ft(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(w){var e=v.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function ye(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return zt(xe.definitions,n,r)||zt(L.styles,n,r)}var we,xe=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(e){t.definitions[e]=o({},t.definitions[e]||{},a[e]),jt(e,a[e]),It()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],a=r.prefix,i=r.iconName,o=r.icon;t[a]||(t[a]={}),t[a][i]=o})),t}}])&&a(e.prototype,n),r&&a(e,r),t}()),ke=function(){I.autoReplaceSvg=!1,I.observeMutations=!1,qt&&qt.disconnect()},Oe=!1,Ee={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(w){ve();var e=t.node,n=void 0===e?v:e,r=t.callback,a=void 0===r?function(){}:r;return I.searchPseudoElements&&he(n),se(n,a)}return at.reject("Operation requires a DOM of some kind.")},css:ge,insertCss:function(){Oe||(lt(ge()),Oe=!0)},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=t.observeMutationsRoot;!1===I.autoReplaceSvg&&(I.autoReplaceSvg=!0),I.observeMutations=!0,F((function(){Me({autoReplaceSvgRoot:e}),Kt({treeCallback:se,nodeCallback:fe,pseudoElementsCallback:he,observeMutationsRoot:n})}))}},Ce={transform:function(t){return Qt(t)}},Pe=(we=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?ot:n,a=e.symbol,i=void 0!==a&&a,l=e.mask,c=void 0===l?null:l,u=e.maskId,s=void 0===u?null:u,f=e.title,m=void 0===f?null:f,d=e.titleId,p=void 0===d?null:d,h=e.classes,g=void 0===h?[]:h,v=e.attributes,b=void 0===v?{}:v,y=e.styles,w=void 0===y?{}:y;if(t){var x=t.prefix,k=t.iconName,O=t.icon;return be(o({type:"icon"},t),(function(){return ve(),I.autoA11y&&(m?b["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(p||ct()):(b["aria-hidden"]="true",b.focusable="false")),bt({icons:{main:oe(O),mask:c?oe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:k,transform:o({},ot,r),symbol:i,title:m,maskId:s,titleId:p,extra:{attributes:b,styles:w,classes:g}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:ye(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:ye(r||{})),we(n,o({},e,{mask:r}))}),Se=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?ot:n,a=e.title,i=void 0===a?null:a,l=e.classes,u=void 0===l?[]:l,s=e.attributes,f=void 0===s?{}:s,m=e.styles,d=void 0===m?{}:m;return be({type:"text",content:t},(function(){return ve(),yt({content:t,transform:o({},ot,r),title:i,extra:{attributes:f,styles:d,classes:["".concat(I.familyPrefix,"-layers-text")].concat(c(u))}})}))},_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,r=void 0===n?null:n,a=e.classes,i=void 0===a?[]:a,o=e.attributes,l=void 0===o?{}:o,u=e.styles,s=void 0===u?{}:u;return be({type:"counter",content:t},(function(){return ve(),wt({content:t.toString(),title:r,extra:{attributes:l,styles:s,classes:["".concat(I.familyPrefix,"-layers-counter")].concat(c(i))}})}))},je=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,r=void 0===n?[]:n;return be({type:"layer"},(function(){ve();var e=[];return t((function(t){Array.isArray(t)?t.map((function(t){e=e.concat(t.abstract)})):e=e.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(I.familyPrefix,"-layers")].concat(c(r)).join(" ")},children:e}]}))},Ae={noAuto:ke,config:I,dom:Ee,library:xe,parse:Ce,findIconDefinition:ye,icon:Pe,text:Se,counter:_e,layer:je,toHtml:Ft},Me=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?v:e;(Object.keys(L.styles).length>0||I.autoFetchSvg)&&w&&I.autoReplaceSvg&&Ae.dom.i2svg({node:n})}},31636:(t,e,n)=>{n.d(e,{Z:()=>yn});n(35989);var r=n(63804),a=n.n(r),i=n(21661),o=n.n(i),l=n(61845),c=n.n(l),u=n(30627),s=n.n(u),f=n(16139);const m=function(t){return a().createElement(f.Z,o()({id:t.id,immutable:t.immutable,isMulti:!1,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};const d=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};var p=n(40706),h=n(693),g=n(80034),v=n.n(g),b=n(29163);function y(){var t=v()(["\n && {\n ","\n }\n"]);return y=function(){return t},t}const w=b.ZP.input.attrs((function(t){return{type:"text"}}))(y(),h.k9);const x=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(w,{disabled:t.immutable,id:t.id,name:t.name,onChange:function(e){return t.onChange(e.target.value)},immutable:t.immutable,value:t.value||""}))}));var k=n(87753),O=n.n(k);const E=function(){var t,e=(null===(t=navigator)||void 0===t?void 0:t.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(e)};var C=n(70536),P=n.n(C);function S(){var t=v()(["\n ","\n resize: none;\n margin: 0;\n min-height: 4em;\n"]);return S=function(){return t},t}function _(){var t=v()(["\n display: grid;\n width: 100%;\n\n &:after {\n content: attr(data-replicated-value) ' ';\n white-space: pre-wrap;\n word-break: break-all;\n visibility: hidden;\n ","\n\n /* prevent scrollbar on Firefox */\n padding-right: 15px;\n }\n"]);return _=function(){return t},t}function j(){var t=v()(["\n ","\n width: 100%;\n grid-area: 1 / 1 / 2 / 2;\n max-height: 25rem;\n box-sizing: border-box;\n"]);return j=function(){return t},t}var A=(0,b.iv)(j(),h.k9),M=b.ZP.div(_(),A),D=b.ZP.textarea(S(),A);const N=function(t){var e=t.value,n=t.onChange,i=t.name,o=t.id,l=t.disabled,c=t.immutable,u=(0,r.useState)(e),s=O()(u,2),f=s[0],m=s[1],d=!E(),p=(0,r.useCallback)(P()(m,500,{trailing:!0}),[]);return(0,r.useEffect)((function(){d&&p(e)}),[e]),a().createElement(M,d?{"data-replicated-value":f}:{},a().createElement(D,{value:e,name:i,id:o,onChange:n,disabled:l,immutable:c,rows:"1"}))};const Z=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(N,{id:t.id,immutable:t.immutable,maxRows:20,name:t.name,onChange:function(e){return t.onChange(e.target.value)},disabled:t.immutable,rows:2,value:t.value}))}));var I=n(22482),R=n.n(I),L=n(30381),T=n.n(L),z=n(86896),F=n(1538),Y=n.n(F),U=function(t){if(t&&0!==t.length){if(1===t.length)return t[0];throw new Error("Expected at most one item in array: ".concat(t.join(", ")))}return null},W=function(t){return Y()({d:"DD",m:"MM",Y:"YYYY",K:"A",H:"HH",h:"h",i:"mm"},(function(e,n){t=t.replace(e,n)})),t},B=(0,r.lazy)((function(){return Promise.all([n.e(669),n.e(85)]).then(n.bind(n,34486))})),H=a().createElement(a().Fragment,null);const V=function(t){return a().createElement(r.Suspense,{fallback:H},a().createElement(B,t))};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){R()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const K=function(t){var e=t.onChange,n=t.options,r=t.id,i=t.value,o=t.immutable,l=t.events,c=(0,z.Z)(),u=function(){return T()().locale(c.locale)._locale.longDateFormat("L")},s=function(t){var e=T()(t,[u(),"YYYY-MM-DD"]);return e.isValid()?e.toDate():null},f=q({altFormat:W(u()),dateFormat:W("YYYY-MM-DD"),allowInput:!0,parseDate:s},n?n.flatpickrOptions:{});return a().createElement(V,{id:r,value:[i],onChange:function(t){var n=U(t),r=n?function(t){if(null==t)return null;var e=new Date(t),n=e.getFullYear(),r=e.getMonth()+1,a=e.getDate();return[n,(r>9?"":"0")+r,(a>9?"":"0")+a].join("-")}(n):null;e(r)},parseDate:s,formatDate:function(t){return T()(t).format(u())},options:q(q({},n),{},{flatpickrOptions:f}),immutable:o,events:l})};var G=n(74806);function Q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function J(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(n),!0).forEach((function(e){R()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const $=(0,G.ZP)((function(t){var e=T()().locale(t.intl.locale)._locale.longDateFormat("L"),n=T()().locale(t.intl.locale)._locale.longDateFormat("LT"),i=W(e),o=W(n),l=(0,r.useMemo)((function(){return function(t){var r=T()(t,["D.M.YYYY H:m",e,n]);return r.isValid()?r.toDate():null}}),[]),c=J({enableTime:!0,time_24hr:!0,allowInput:!0,parseDate:l,altFormat:"".concat(i," ").concat(o),dateFormat:"Y-m-d\\TH:i:S.000\\Z"},t.options?t.options.flatpickrOptions:{});return a().createElement(V,{value:[t.value],onChange:function(e){return t.onChange(U(e))},parseDate:l,formatDate:function(t){return T()(t).format("".concat(e," ").concat(n))},immutable:t.immutable,options:J(J({},t.options),{},{flatpickrOptions:c}),events:t.events})}));var tt=n(77995);function et(){var t=v()(["\n && {\n ","\n }\n"]);return et=function(){return t},t}const nt=b.ZP.input.attrs((function(t){return{type:"time"}}))(et(),h.k9);const rt=function(t){var e=!!window.sidebar,n=t.value&&!t.immutable&&!e,r=t.value||"";return a().createElement(h.gg,{immutable:t.immutable},a().createElement(nt,{disabled:t.immutable,id:t.id,immutable:t.immutable,name:t.name,onChange:function(e){t.onChange(e.target.value)},value:r}),n&&a().createElement(h.Wg,null,a().createElement(tt.Z,{icon:"times",onClick:function(){t.onChange(null)},tabIndex:-1})))};function at(){var t=v()(["\n margin: 5px 0;\n"]);return at=function(){return t},t}var it=b.ZP.div(at());const ot=function(t){return a().createElement(it,null,a().createElement("input",{type:"checkbox",checked:t.value||!1,name:t.name,onChange:function(e){t.onChange&&t.onChange(e.target.checked)},id:t.id,disabled:t.immutable}))};var lt=(0,r.lazy)((function(){return Promise.all([n.e(215),n.e(85)]).then(n.bind(n,47241))}));const ct=function(t){return a().createElement(r.Suspense,{fallback:(e=t.value,a().createElement("div",null,a().createElement("p",null,e)))},a().createElement(lt,t));var e};function ut(){var t=v()(["\n margin-top: 5px;\n"]);return ut=function(){return t},t}var st=b.ZP.div(ut());const ft=function(t){var e=t.value,n=t.onChange,r=t.immutable,i=t.options;return a().createElement(st,null,a().createElement(ct,{value:e,onChange:n,mode:i.mode,theme:"textmate",showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r}}))};var mt=n(34217),dt=n.n(mt),pt=n(46990),ht=n(49245),gt=n(76490),vt=n(43642),bt=n(33177),yt=n(41804);function wt(){var t=v()(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"]);return wt=function(){return t},t}function xt(){var t=v()(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"]);return xt=function(){return t},t}var kt=b.ZP.div(xt(),yt.Z.space(-2)),Ot=b.ZP.div(wt(),bt.Z,yt.Z.space(-2));const Et=function(t){var e=t.value,n=t.downloadTitle,r=t.immutable,i=t.onUpload,l=t.deleteTitle,c=e.binaryLink&&e.binaryLink.startsWith("blob:");return a().createElement(kt,{className:"StyledView"},a().createElement(vt.Z,o()({alt:e.fileName},c&&{caption:e.fileName},{fileName:e.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:e.binaryLink,thumbnailUrl:e.thumbnailLink})),a().createElement(Ot,null,!r&&a().createElement(ht.Z,{icon:"trash",onClick:function(){return i(null)},tabIndex:-1,title:l||"delete"}),a().createElement(ht.Z,null,a().createElement(gt.Z,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:pt.Z.getDownloadUrl(e.binaryLink),tabIndex:-1,title:n||"download"}))))};var Ct=n(12785),Pt=n(75068),St=n(83540),_t=n(72277);function jt(){var t=v()(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"]);return jt=function(){return t},t}function At(){var t=v()(["\n && {\n ","\n }\n"]);return At=function(){return t},t}function Mt(){var t=v()(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"]);return Mt=function(){return t},t}var Dt=b.ZP.div(Mt(),yt.Z.space(-2)),Nt=(0,b.ZP)(_t.Fe)(At(),(0,St.Z)({fontSize:yt.Z.font(-1)})),Zt=b.ZP.div(jt(),yt.Z.space(-2));const It=function(t){return a().createElement(Dt,null,a().createElement(vt.Z,{caption:t.file.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:t.file.preview,thumbnailUrl:t.file.type.startsWith("image")?t.file.preview:null}),a().createElement(Zt,null,a().createElement(Ct.Z,{position:Pt.Z.position.PREPEND}),a().createElement(Nt,null,t.text||"uploading"," (",(e=t.file.size,n=Math.floor(Math.log(e)/Math.log(1024)),"".concat(1*(e/Math.pow(1024,n)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][n])),")")));var e,n};var Rt=n(84187),Lt=n(93038),Tt=n(57156);function zt(){var t=v()(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n"]);return zt=function(){return t},t}const Ft=b.ZP.div(zt(),(0,St.Z)(),(function(t){return t.immutable?"not-allowed":"pointer"}),Lt.Z.color("paper"),(function(t){return t.immutable?Tt.v.shade2(t):Tt.v.shade0(t)}),yt.Z.space(-2));var Yt=n(76142);function Ut(){var t=v()(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n"]);return Ut=function(){return t},t}function Wt(){var t=v()(["\n "," {\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: "," ",";\n }\n"]);return Wt=function(){return t},t}var Bt=b.ZP.div(Wt(),bt.Z,yt.Z.space(-3.1),yt.Z.space(-1.5),yt.Z.space(-2)),Ht=(0,b.ZP)(Yt.Z)(Ut());const Vt=function(t){var e=t.onDrop,n=t.immutable,r=t.text,i=t.onChoose;return a().createElement(Ft,{immutable:n},a().createElement(Ht,{disabled:n,multiple:!1,onDrop:function(t){return e(t[0])},title:r||"drag and drop or click"},a().createElement(Bt,null,a().createElement(ht.Z,null,a().createElement(Rt.Z,{icon:"arrow-to-top",position:Pt.Z.position.PREPEND})),i&&a().createElement(ht.Z,{onClick:function(t){i(),t.stopPropagation()}},a().createElement(Rt.Z,{icon:"folder",position:Pt.Z.position.PREPEND})))))};var Xt=function(t){var e=t.value,n=t.textResources,i=t.onUpload,l=t.onChoose,c=(0,r.useState)({isUploading:!1,previewFile:null}),u=O()(c,2),s=u[0],f=u[1];return(0,r.useEffect)((function(){dt()(e)||f({isUploading:!1,previewFile:null})}),[e]),e&&e.binaryLink?a().createElement(Et,o()({},t,{deleteTitle:n.delete,downloadTitle:n.download})):s.isUploading?a().createElement(It,o()({file:s.previewFile,text:n.uploading},t)):a().createElement(Vt,o()({},t,{onDrop:function(t){!function(t){f({isUploading:!0,previewFile:t})}(t),i(t)},onChoose:l}))};Xt.defaultProps={textResources:{}};const qt=Xt;var Kt=function(t){return a().createElement(qt,{onUpload:function(e){null===e?t.onChange&&t.onChange(null):t.options.upload&&t.options.upload(e)},onChoose:t.options.choose,immutable:t.immutable,textResources:{upload:t.options.uploadText,uploading:t.options.uploadingText,delete:t.options.deleteText,download:t.options.downloadText},value:t.value?t.value:null})};Kt.defaultProps={options:{}};const Gt=Kt;var Qt=n(61268),Jt=n.n(Qt),$t=n(95501),te=n.n($t),ee=n(31413),ne=n.n(ee),re=n(69891),ae=n.n(re),ie=n(49047),oe=n.n(ie),le=n(81130),ce=n.n(le),ue=n(9405),se=n(45376),fe=n(30022);function me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ce()(t);if(e){var a=ce()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return oe()(this,n)}}function de(){var t=v()(["\n && {\n button {\n margin-bottom: 0;\n }\n\n .ql-editor {\n ","\n\n &[contenteditable='false'] * {\n cursor: not-allowed;\n }\n }\n }\n"]);return de=function(){return t},t}var pe=b.ZP.div(de(),(function(t){return(0,fe.L)(t,"quill")})),he=a().createElement("i",null),ge=function(t){ae()(i,t);var e=me(i);function i(t){var a;return Jt()(this,i),a=e.call(this,t),R()(ne()(a),"lazyQuill",null),R()(ne()(a),"handleChange",(function(t,e,n){if(a.props.onChange&&"user"===n){var r="<p><br></p>"===t?"":t;a.props.onChange(r)}})),n.e(905).then(n.t.bind(n,38211,23)),n.e(905).then(n.t.bind(n,13937,23)),a.lazyQuill=(0,r.lazy)((function(){return n.e(905).then(n.t.bind(n,20955,23))})),a}return te()(i,[{key:"render",value:function(){var t=ue.Z.sanitizeHtml(this.props.value);return this.props.immutable?a().createElement(se.ZP.Span,null,a().createElement("div",{dangerouslySetInnerHTML:{__html:t}})):a().createElement(pe,null,a().createElement(r.Suspense,{fallback:he},a().createElement(this.lazyQuill,{name:this.props.name,onChange:this.handleChange,id:this.props.id,theme:"snow",defaultValue:t,modules:{clipboard:{matchVisual:!1}}})))}}]),i}(a().Component);ge.defaultProps={value:""};const ve=ge;const be=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!1,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const ye=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const we=function(t){return a().createElement(f.Z,o()({immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};function xe(){var t=v()(["\n && {\n ","\n }\n"]);return xe=function(){return t},t}const ke=b.ZP.input.attrs((function(t){return{type:"url"}}))(xe(),h.k9);const Oe=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(ke,{disabled:t.immutable,id:t.id,immutable:t.immutable,name:t.name,onChange:function(e){return t.onChange(((n=(n=e.target.value).toLowerCase()).indexOf(".")>0&&!/^[a-z0-9]+:\/\//.test(n)&&(n="https://".concat(n)),n));var n},value:t.value}),t.value&&a().createElement(h.Wg,null,a().createElement(gt.Z,{href:t.value,icon:"external-link",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})))}));var Ee=n(24159),Ce=n.n(Ee),Pe=n(94655),Se=n.n(Pe),_e=n(67120),je=n.n(_e);function Ae(){var t=v()(["\n && {\n ","\n }\n"]);return Ae=function(){return t},t}const Me=b.ZP.input.attrs((function(t){return{type:"tel"}}))(Ae(),h.k9);function De(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ne(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?De(Object(n),!0).forEach((function(e){R()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ze(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ce()(t);if(e){var a=ce()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return oe()(this,n)}}const Ie=function(t){ae()(i,t);var e,r=Ze(i);function i(t){var e;Jt()(this,i),e=r.call(this,t),R()(ne()(e),"componentIsUnmounted",!1),R()(ne()(e),"FALLBACK_DEFAULT_COUNTRY","CH"),R()(ne()(e),"amountOfSpacesBeforeCaret",(function(t,e){var n=t.substring(0,e-1).match(/\s/g);return n?n.length:0})),R()(ne()(e),"repositionCaret",(function(t,n,r){if(r&&t.length!==r){var a=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n),i=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(t),o=e.amountOfSpacesBeforeCaret(a,r),l=e.amountOfSpacesBeforeCaret(i,r)-o;window.requestAnimationFrame(function(){var t=r+l;this.setSelectionRange(t,t)}.bind(e.inputElement.current))}})),R()(ne()(e),"removeSpaces",(function(t){return t.replace(/\s/g,"")})),R()(ne()(e),"handleChange",(function(t){var n=t.target.value,r=e.state.libPhoneImport,a=r?r.parseNumber(n,e.state.defaultCountry):n,i=c()(a)?e.removeSpaces(new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n)):r.formatNumber(a,"E.164");e.props.onChange(i);var o=t.target.selectionStart;e.repositionCaret(n,e.props.value,o)})),R()(ne()(e),"determineDisplayValue",(function(){return e.props.value&&e.state.libPhoneImport&&e.state.libPhoneImport.AsYouType?new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(e.props.value):e.props.value||""}));var n=je()(t,"options.defaultCountry")||e.FALLBACK_DEFAULT_COUNTRY;return e.state={libPhoneImport:null,defaultCountry:n},e.importLibPhoneNumber(),e.inputElement=a().createRef(),e}return te()(i,[{key:"importLibPhoneNumber",value:(e=Se()(Ce().mark((function t(){var e;return Ce().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(877).then(n.bind(n,20872));case 2:e=t.sent,this.componentIsUnmounted||this.setState(Ne(Ne({},this.state),{},{libPhoneImport:e}));case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){this.componentIsUnmounted=!0}},{key:"render",value:function(){var t=this.determineDisplayValue();return a().createElement(h.gg,{immutable:this.props.immutable},a().createElement(Me,{disabled:this.props.immutable||!this.state.libPhoneImport,id:this.props.id,name:name,onChange:this.handleChange,immutable:this.props.immutable||!this.state.libPhoneImport,ref:this.inputElement,value:t}),t&&a().createElement(h.Wg,null,a().createElement(gt.Z,{href:"tel:".concat(this.props.value),icon:"phone",tabIndex:-1,neutral:!0})))}}]),i}(a().Component);var Re=n(59315);function Le(){var t=v()(["\n && {\n border: 1px solid transparent;\n left: 0;\n max-width: 100%;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n visibility: hidden;\n }\n"]);return Le=function(){return t},t}function Te(){var t=v()(["\n &&& {\n align-items: center;\n display: flex;\n flex-wrap: nowrap;\n margin-bottom: 0; /* reset bootstrap */\n\n &:first-child {\n margin-right: ",";\n }\n\n > span {\n color: ",";\n cursor: ",";\n }\n }\n"]);return Te=function(){return t},t}function ze(){var t=v()(["\n && {\n ","\n flex-grow: 0;\n min-width: 1ch;\n }\n"]);return ze=function(){return t},t}var Fe=b.ZP.input(ze(),h.k9),Ye=b.ZP.label(Te(),yt.Z.space(-1),(function(t){return t.immutable?(0,Re.iy)(je()(t.theme,"colors.text")):Lt.Z.color("text")}),(function(t){return t.immutable?"not-allowed":"default"})),Ue=b.ZP.span(Le());function We(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Be(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?We(Object(n),!0).forEach((function(e){R()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function He(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ce()(t);if(e){var a=ce()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return oe()(this,n)}}var Ve=function(t){ae()(n,t);var e=He(n);function n(t){var r;return Jt()(this,n),r=e.call(this,t),R()(ne()(r),"millisecondsToDuration",(function(t){if(!t&&0!==t)return{hours:"",minutes:""};var e=parseInt(t/6e4%60);return{hours:parseInt(t/36e5%24),minutes:e}})),R()(ne()(r),"componentDidMount",(function(){r.setState({hoursWidth:r.hoursShadow.current.offsetWidth,minutesWidth:r.minutesShadow.current.offsetWidth})})),R()(ne()(r),"componentDidUpdate",(function(t,e){r.state.hours!==e.hours&&r.setState({hoursWidth:r.hoursShadow.current.offsetWidth}),r.state.minutes!==e.minutes&&r.setState({minutesWidth:r.minutesShadow.current.offsetWidth})})),R()(ne()(r),"handleHourChange",(function(t){var e=t.target.value.replace(/[^-\d]/g,"");r.setState(Be(Be({},r.state),{},{hours:e})),r.handleChange(e,null)})),R()(ne()(r),"getDesiredInputInMinutes",(function(t){var e=t.value.replace(/[^-\d]/g,"");return t.validity.valid||(e=0),"".concat(e).length>2&&(e="".concat(e).slice(0,2)),e>59&&(e=0),e<0&&(e=59),e})),R()(ne()(r),"handleMinutesChange",(function(t){var e=r.getDesiredInputInMinutes(t.target);r.setState(Be(Be({},r.state),{},{minutes:e})),r.handleChange(null,e),2!==e.toString().length&&0!==e||t.target.select()})),R()(ne()(r),"handleChange",(function(t,e){var n=null!==e?e:r.state.minutes,a=null!==t?t:r.state.hours;""!==n||""!==a?r.props.onChange(function(t,e){return t||e?60*(t||0)*6e4+6e4*(e||0):null}(a,n)):r.props.onChange(null)})),R()(ne()(r),"handleOnBlur",(function(){return r.setState({showUnits:r.state.hours.toString().length>=1||r.state.minutes.toString().length>=1})})),R()(ne()(r),"handleOnFocus",(function(){return r.setState({showUnits:!0})})),R()(ne()(r),"preventNonNumeric",(function(t){t.charCode>=48&&t.charCode<=57||t.preventDefault()})),r.hoursShadow=a().createRef(),r.minutesShadow=a().createRef(),r.state=Be(Be({},r.millisecondsToDuration(t.value)),{},{showUnits:t.value>=0}),r}return te()(n,[{key:"render",value:function(){return a().createElement(h.gg,{onBlur:this.handleOnBlur,immutable:this.props.immutable,style:{overflowX:"auto"}},a().createElement(Ye,{immutable:this.props.immutable},a().createElement(Fe,{disabled:this.props.immutable,immutable:this.props.immutable,min:0,onChange:function(){},onFocus:this.handleOnFocus,onInput:this.handleHourChange,onKeyPress:this.preventNonNumeric,pattern:"\\d+",step:1,style:{width:this.state.hoursWidth},type:"number",value:this.state.hours}),this.state.showUnits&&a().createElement(se.ZP.Span,null,this.props.options.hoursLabel)),a().createElement(Ye,{immutable:this.props.immutable},a().createElement(Fe,{disabled:this.props.immutable,immutable:this.props.immutable,onChange:function(){},onFocus:this.handleOnFocus,onInput:this.handleMinutesChange,onKeyPress:this.preventNonNumeric,pattern:"\\d+",step:1,style:{width:this.state.minutesWidth},type:"number",value:this.state.minutes}),this.state.showUnits&&a().createElement(se.ZP.Span,null,this.props.options.minutesLabel)),a().createElement(Ue,{ref:this.hoursShadow},this.state.hours),a().createElement(Ue,{ref:this.minutesShadow},this.state.minutes))}}]),n}(a().Component);Ve.defaultProps={options:{hoursLabel:"hrs",minutesLabel:"min"}};const Xe=Ve;var qe=n(7691),Ke=n.n(qe),Ge=n(50360);function Qe(){var t=v()(["\n && {\n ","\n }\n"]);return Qe=function(){return t},t}const Je=(0,b.ZP)((function(t){t.immutable;var e=Ke()(t,["immutable"]);return a().createElement(Ge.Z,e)}))(Qe(),h.k9);function $e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function tn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$e(Object(n),!0).forEach((function(e){R()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$e(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var en=function(t){return 0!==t?Math.ceil(Math.log10(Math.abs(t)+1)):1},nn=function(t){return null!=t&&!isNaN(parseFloat(t))},rn=function(t,e,n){return!nn(n)||!(nn(e)&&n>e)&&!(nn(t)&&n<t)},an=function(t,e){return function(n){var r=n.floatValue;return en(r)<en(t)||rn(t,e,r)}};const on=(0,G.ZP)(p.Z.Debouncer((function(t){var e,n=(e=t.intl.locale,{thousandSeparator:1111..toLocaleString(e).replace(/1/g,""),decimalSeparator:1.1.toLocaleString(e).replace(/1/g,"")}),r=n.thousandSeparator,i=n.decimalSeparator,l=t.options||{},c=l.prePointDigits,u=l.postPointDigits,s=l.minValue,f=l.maxValue,m=l.allowNegative,d=l.fixedDecimalScale,p=l.suffix,g=l.prefix,v=l.format,b=function(t,e,n){if(t){var r=Math.pow(10,t)-(e?1/Math.pow(10,e):1);return n&&n>r?n:r}return n}(c,u,f),y=tn(tn({isAllowed:an(s,b),allowNegative:!!m},isNaN(u)?{}:{decimalScale:u}),{},{fixedDecimalScale:!!d});return a().createElement(h.gg,{immutable:t.immutable},a().createElement(Je,o()({decimalSeparator:i,disabled:t.immutable,id:t.id,isNumericString:!0,name:t.name,onValueChange:function(e){t.onChange&&rn(s,b,e.floatValue)&&t.onChange(void 0!==e.floatValue?e.floatValue:null)},immutable:t.immutable,thousandSeparator:r,value:t.value,suffix:p,prefix:g},y,{format:v,onBlur:function(e){var n,r=!(n=e.target.value)||isNaN(n)?null:parseFloat(n);t.onChange&&!rn(s,b,r)&&(e.target.value=null)}})))}),800));const ln=p.Z.Debouncer((function(t){var e=t.value,n=t.onChange,r=t.options,i=t.immutable,o=t.name,l=t.id,c=r||{},u=c.minValue,s=c.maxValue,f=c.format,m=c.allowLeadingZeros;return a().createElement(h.gg,{immutable:i},a().createElement(Je,{isAllowed:function(t){var e=t.floatValue;return!(s&&e>s||u&&e<u)},allowNegative:!0,decimalScale:0,disabled:i,id:l,name:o,onValueChange:function(t){var e=t.value,r=t.floatValue,a=m?e:r;void 0===a&&(a=null),n(a)},value:e,allowLeadingZeros:m,format:f}))}),800);var cn=n(7468),un=n.n(cn),sn=n(38366),fn=n.n(sn),mn=n(78295);function dn(){var t=v()(["\n && {\n ","\n position: relative;\n\n div {\n :nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n :nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; // higher than StyledIndicatorsContainerWrapper\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"]);return dn=function(){return t},t}var pn=b.ZP.div(dn(),h.yP,yt.Z.space(-2),yt.Z.space(-2),(function(t){var e=t.immutable,n=t.theme;return e?(0,Re.iy)(je()(n,"colors.text")):je()(n,"colors.text")}),h.k9,Lt.Z.color("paper"),Lt.Z.color("signal.info.text"),Lt.Z.color("secondaryLight"),(function(t){var e=t.theme;return(0,Re.HO)(je()(e,"colors.paper"),1)})),hn=a().createElement(se.ZP.Span,null,"/"),gn=a().createElement(Ct.Z,{size:"1.8rem"});var vn={boolean:ot,code:ft,date:K,datetime:$,document:Gt,duration:Xe,html:ve,integer:ln,location:function(t){var e=t.onChange,n=t.options,r=t.value,i=t.id,o=t.immutable,l=t.name,c=function(t){return function(e){return e[t]}},u=function(t){var e=t.state,n=t.country,r=t.postcode,i=t.city,o=e?"- ".concat(e):"",l=n?"/ ".concat(n.display):"";return a().createElement(se.ZP.Span,null,r," ",i," ",o," ",l)},s=function(t){return function(n,r){var a=r.newValue;e(R()({},t,a))}},f=function(t,n){var r=n.suggestion;e(r)},m=function(t){return function(e){var a=e.value;n.fetchSuggestions(R()({},t,a),r.country)}},d={id:i,value:r.postcode||"",onChange:s("postcode"),disabled:o},p={value:r.city||"",onChange:s("city"),disabled:o};return a().createElement(mn.Z,null,(function(t){var e,i,s,g=t.focused,v=t.getRef;return a().createElement(pn,{immutable:o,name:l,ref:v},a().createElement(fn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:m("postcode"),getSuggestionValue:c("postcode"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:d,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!o}}),(g||r.city||r.postcode)&&hn,a().createElement(fn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:m("city"),getSuggestionValue:c("city"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:p,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!o}}),a().createElement(h.Wg,null,n.isLoading&&gn,(s=r,Boolean(s.city||s.postcode)&&a().createElement(gt.Z,{href:(e=r,i=e?Object.values(e).filter(Boolean).map((function(t){return"object"===un()(t)&&t.display?t.display:t})).join("+"):"","".concat("https://www.google.com/maps/search/?api=1&query=").concat(i)),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:n.mapButtonTitle||"Show on map",neutral:!0}))))}))},"multi-remote":ye,"multi-select":d,number:on,phone:Ie,remote:be,"search-filter":we,"single-select":m,string:x,text:Z,url:Oe,time:rt};const bn=function(t){var e=t.type,n=t.value,i=t.options,l=t.id,u=t.events,f=t.readOnly,m=void 0!==f&&f,d=(0,r.useRef)(void 0);if(vn[e]){var p=vn[e];if(u&&u.onBlur){var h=u.onBlur;u.onBlur=function(){return h(void 0!==d.current?d.current:n)}}return a().createElement("div",o()({},s()(u,"onChange"),{"data-cy":"form-field"}),a().createElement(p,o()({value:n,onChange:function(t){d.current=t,u.onChange(t)}},c()(i)?{}:{options:i},{id:l,immutable:m,events:u})))}return console.log("No type-editor defined for type",e),null};const yn=function(t){return a().createElement(h.ZP,null,a().createElement(bn,t))}}}]);
|
|
6
|
+
function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),r.forEach((function(e){i(t,e,n[e])}))}return t}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){a=!0,i=t}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.r(e),n.d(e,{icon:()=>Pe,noAuto:()=>ke,config:()=>I,toHtml:()=>Ft,layer:()=>Ae,text:()=>Se,counter:()=>_e,library:()=>xe,dom:()=>Ee,parse:()=>Ce,findIconDefinition:()=>ye});var u=function(){},s={},f={},m=null,d={mark:u,measure:u};try{"undefined"!=typeof window&&(s=window),"undefined"!=typeof document&&(f=document),"undefined"!=typeof MutationObserver&&(m=MutationObserver),"undefined"!=typeof performance&&(d=performance)}catch(t){}var p=(s.navigator||{}).userAgent,h=void 0===p?"":p,g=s,v=f,b=m,y=d,w=(g.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),x=~h.indexOf("MSIE")||~h.indexOf("Trident/"),k=["HTML","HEAD","STYLE","SCRIPT"],O=function(){try{return!0}catch(t){return!1}}(),E={fas:"solid",far:"regular",fal:"light",fad:"duotone",fab:"brands",fak:"kit",fa:"solid"},C={solid:"fas",regular:"far",light:"fal",duotone:"fad",brands:"fab",kit:"fak"},P=/Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/,S={900:"fas",400:"far",normal:"far",300:"fal"},_=[1,2,3,4,5,6,7,8,9,10],A=_.concat([11,12,13,14,15,16,17,18,19,20]),j=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],D={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},N=["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",D.GROUP,D.SWAP_OPACITY,D.PRIMARY,D.SECONDARY].concat(_.map((function(t){return"".concat(t,"x")}))).concat(A.map((function(t){return"w-".concat(t)}))),M=g.FontAwesomeConfig||{};if(v&&"function"==typeof v.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(t){var e=l(t,2),n=e[0],r=e[1],a=function(t){return""===t||"false"!==t&&("true"===t||t)}(function(t){var e=v.querySelector("script["+t+"]");if(e)return e.getAttribute(t)}(n));null!=a&&(M[r]=a)}))}var Z=o({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},M);Z.autoReplaceSvg||(Z.observeMutations=!1);var I=o({},Z);g.FontAwesomeConfig=I;var T=g||{};T.___FONT_AWESOME___||(T.___FONT_AWESOME___={}),T.___FONT_AWESOME___.styles||(T.___FONT_AWESOME___.styles={}),T.___FONT_AWESOME___.hooks||(T.___FONT_AWESOME___.hooks={}),T.___FONT_AWESOME___.shims||(T.___FONT_AWESOME___.shims=[]);var R=T.___FONT_AWESOME___,L=[],z=!1;function F(t){w&&(z?setTimeout(t,0):L.push(t))}w&&((z=(v.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(v.readyState))||v.addEventListener("DOMContentLoaded",(function t(){v.removeEventListener("DOMContentLoaded",t),z=1,L.map((function(t){return t()}))})));var Y,B=function(){},W=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,U="undefined"==typeof setImmediate?setTimeout:setImmediate,H=[];function V(){for(var t=0;t<H.length;t++)H[t][0](H[t][1]);H=[],Y=!1}function X(t,e){H.push([t,e]),Y||(Y=!0,U(V,0))}function q(t){var e=t.owner,n=e._state,r=e._data,a=t[n],i=t.then;if("function"==typeof a){n="fulfilled";try{r=a(r)}catch(t){J(i,t)}}K(i,r)||("fulfilled"===n&&G(i,r),"rejected"===n&&J(i,r))}function K(t,e){var n;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(e&&("function"==typeof e||"object"===r(e))){var a=e.then;if("function"==typeof a)return a.call(e,(function(r){n||(n=!0,e===r?Q(t,r):G(t,r))}),(function(e){n||(n=!0,J(t,e))})),!0}}catch(e){return n||J(t,e),!0}return!1}function G(t,e){t!==e&&K(t,e)||Q(t,e)}function Q(t,e){"pending"===t._state&&(t._state="settled",t._data=e,X(tt,t))}function J(t,e){"pending"===t._state&&(t._state="settled",t._data=e,X(et,t))}function $(t){t._then=t._then.forEach(q)}function tt(t){t._state="fulfilled",$(t)}function et(t){t._state="rejected",$(t),!t._handled&&W&&n.g.process.emit("unhandledRejection",t._data,t)}function nt(t){n.g.process.emit("rejectionHandled",t)}function rt(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof rt==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(t,e){function n(t){J(e,t)}try{t((function(t){G(e,t)}),n)}catch(t){n(t)}}(t,this)}rt.prototype={constructor:rt,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(t,e){var n={owner:this,then:new this.constructor(B),fulfilled:t,rejected:e};return!e&&!t||this._handled||(this._handled=!0,"rejected"===this._state&&W&&X(nt,this)),"fulfilled"===this._state||"rejected"===this._state?X(q,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},rt.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new rt((function(e,n){var r=[],a=0;function i(t){return a++,function(n){r[t]=n,--a||e(r)}}for(var o,l=0;l<t.length;l++)(o=t[l])&&"function"==typeof o.then?o.then(i(l),n):r[l]=o;a||e(r)}))},rt.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new rt((function(e,n){for(var r,a=0;a<t.length;a++)(r=t[a])&&"function"==typeof r.then?r.then(e,n):e(r)}))},rt.resolve=function(t){return t&&"object"===r(t)&&t.constructor===rt?t:new rt((function(e){e(t)}))},rt.reject=function(t){return new rt((function(e,n){n(t)}))};var at="function"==typeof Promise?Promise:rt,it=16,ot={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function lt(t){if(t&&w){var e=v.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var n=v.head.childNodes,r=null,a=n.length-1;a>-1;a--){var i=n[a],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(r=i)}return v.head.insertBefore(e,r),t}}function ct(){for(var t=12,e="";t-- >0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function ut(t){for(var e=[],n=(t||[]).length>>>0;n--;)e[n]=t[n];return e}function st(t){return t.classList?ut(t.classList):(t.getAttribute("class")||"").split(" ").filter((function(t){return t}))}function ft(t,e){var n=e.split("-"),r=n[0],a=n.slice(1).join("-");return r!==t||""===a||function(t){return~N.indexOf(t)}(a)?null:a}function mt(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function dt(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,": ").concat(t[n],";")}),"")}function pt(t){return t.size!==ot.size||t.x!==ot.x||t.y!==ot.y||t.rotate!==ot.rotate||t.flipX||t.flipY}function ht(t){var e=t.transform,n=t.containerWidth,r=t.iconWidth,a={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),o="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),l="rotate(".concat(e.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(i," ").concat(o," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var gt={x:0,y:0,width:"100%",height:"100%"};function vt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function bt(t){var e=t.icons,n=e.main,r=e.mask,a=t.prefix,i=t.iconName,l=t.transform,c=t.symbol,u=t.title,s=t.maskId,f=t.titleId,m=t.extra,d=t.watchable,p=void 0!==d&&d,h=r.found?r:n,g=h.width,v=h.height,b="fak"===a,y=b?"":"fa-w-".concat(Math.ceil(g/v*16)),w=[I.replacementClass,i?"".concat(I.familyPrefix,"-").concat(i):"",y].filter((function(t){return-1===m.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(m.classes).join(" "),x={children:[],attributes:o({},m.attributes,{"data-prefix":a,"data-icon":i,class:w,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},k=b&&!~m.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};p&&(x.attributes["data-fa-i2svg"]=""),u&&x.children.push({tag:"title",attributes:{id:x.attributes["aria-labelledby"]||"title-".concat(f||ct())},children:[u]});var O=o({},x,{prefix:a,iconName:i,main:n,mask:r,maskId:s,transform:l,symbol:c,styles:o({},k,m.styles)}),E=r.found&&n.found?function(t){var e,n=t.children,r=t.attributes,a=t.main,i=t.mask,l=t.maskId,c=t.transform,u=a.width,s=a.icon,f=i.width,m=i.icon,d=ht({transform:c,containerWidth:f,iconWidth:u}),p={tag:"rect",attributes:o({},gt,{fill:"white"})},h=s.children?{children:s.children.map(vt)}:{},g={tag:"g",attributes:o({},d.inner),children:[vt(o({tag:s.tag,attributes:o({},s.attributes,d.path)},h))]},v={tag:"g",attributes:o({},d.outer),children:[g]},b="mask-".concat(l||ct()),y="clip-".concat(l||ct()),w={tag:"mask",attributes:o({},gt,{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,v]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(e=m,"g"===e.tag?e.children:[e])},w]};return n.push(x,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},gt)}),{children:n,attributes:r}}(O):function(t){var e=t.children,n=t.attributes,r=t.main,a=t.transform,i=dt(t.styles);if(i.length>0&&(n.style=i),pt(a)){var l=ht({transform:a,containerWidth:r.width,iconWidth:r.width});e.push({tag:"g",attributes:o({},l.outer),children:[{tag:"g",attributes:o({},l.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:o({},r.icon.attributes,l.path)}]}]})}else e.push(r.icon);return{children:e,attributes:n}}(O),C=E.children,P=E.attributes;return O.children=C,O.attributes=P,c?function(t){var e=t.prefix,n=t.iconName,r=t.children,a=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},a,{id:!0===i?"".concat(e,"-").concat(I.familyPrefix,"-").concat(n):i}),children:r}]}]}(O):function(t){var e=t.children,n=t.main,r=t.mask,a=t.attributes,i=t.styles,l=t.transform;if(pt(l)&&n.found&&!r.found){var c={x:n.width/n.height/2,y:.5};a.style=dt(o({},i,{"transform-origin":"".concat(c.x+l.x/16,"em ").concat(c.y+l.y/16,"em")}))}return[{tag:"svg",attributes:a,children:e}]}(O)}function yt(t){var e=t.content,n=t.width,r=t.height,a=t.transform,i=t.title,l=t.extra,c=t.watchable,u=void 0!==c&&c,s=o({},l.attributes,i?{title:i}:{},{class:l.classes.join(" ")});u&&(s["data-fa-i2svg"]="");var f=o({},l.styles);pt(a)&&(f.transform=function(t){var e=t.transform,n=t.width,r=void 0===n?16:n,a=t.height,i=void 0===a?16:a,o=t.startCentered,l=void 0!==o&&o,c="";return c+=l&&x?"translate(".concat(e.x/it-r/2,"em, ").concat(e.y/it-i/2,"em) "):l?"translate(calc(-50% + ".concat(e.x/it,"em), calc(-50% + ").concat(e.y/it,"em)) "):"translate(".concat(e.x/it,"em, ").concat(e.y/it,"em) "),c+="scale(".concat(e.size/it*(e.flipX?-1:1),", ").concat(e.size/it*(e.flipY?-1:1),") "),c+="rotate(".concat(e.rotate,"deg) ")}({transform:a,startCentered:!0,width:n,height:r}),f["-webkit-transform"]=f.transform);var m=dt(f);m.length>0&&(s.style=m);var d=[];return d.push({tag:"span",attributes:s,children:[e]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function wt(t){var e=t.content,n=t.title,r=t.extra,a=o({},r.attributes,n?{title:n}:{},{class:r.classes.join(" ")}),i=dt(r.styles);i.length>0&&(a.style=i);var l=[];return l.push({tag:"span",attributes:a,children:[e]}),n&&l.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),l}var xt=function(){},kt=I.measurePerformance&&y&&y.mark&&y.measure?y:{mark:xt,measure:xt},Ot='FA "5.15.1"',Et=function(t){kt.mark("".concat(Ot," ").concat(t," ends")),kt.measure("".concat(Ot," ").concat(t),"".concat(Ot," ").concat(t," begins"),"".concat(Ot," ").concat(t," ends"))},Ct=function(t){return kt.mark("".concat(Ot," ").concat(t," begins")),function(){return Et(t)}},Pt=function(t,e,n,r){var a,i,o,l=Object.keys(t),c=l.length,u=void 0!==r?function(t,e){return function(n,r,a,i){return t.call(e,n,r,a,i)}}(e,r):e;for(void 0===n?(a=1,o=t[l[0]]):(a=0,o=n);a<c;a++)o=u(o,t[i=l[a]],i,t);return o};function St(t){for(var e="",n=0;n<t.length;n++){e+=("000"+t.charCodeAt(n).toString(16)).slice(-4)}return e}function _t(t){if(1!==t.length)return!1;var e,n,r,a,i,o=(n=0,a=(e=t).length,(i=e.charCodeAt(n))>=55296&&i<=56319&&a>n+1&&(r=e.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i);return o>=57344&&o<=63743}function At(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,a=void 0!==r&&r,i=Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{});"function"!=typeof R.hooks.addPack||a?R.styles[t]=o({},R.styles[t]||{},i):R.hooks.addPack(t,i),"fas"===t&&At("fa",e)}var jt=R.styles,Dt=R.shims,Nt={},Mt={},Zt={},It=function(){var t=function(t){return Pt(jt,(function(e,n,r){return e[r]=Pt(n,t,{}),e}),{})};Nt=t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),Mt=t((function(t,e,n){var r=e[2];return t[n]=n,r.forEach((function(e){t[e]=n})),t}));var e="far"in jt;Zt=Pt(Dt,(function(t,n){var r=n[0],a=n[1],i=n[2];return"far"!==a||e||(a="fas"),t[r]={prefix:a,iconName:i},t}),{})};function Tt(t,e){return(Nt[t]||{})[e]}It();var Rt=R.styles;function Lt(t){return t.reduce((function(t,e){var n=ft(I.familyPrefix,e);if(Rt[e])t.prefix=e;else if(I.autoFetchSvg&&Object.keys(E).indexOf(e)>-1)t.prefix=e;else if(n){var r="fa"===t.prefix?function(t){return Zt[t]||{prefix:null,iconName:null}}(n):{};t.iconName=r.iconName||n,t.prefix=r.prefix||t.prefix}else e!==I.replacementClass&&0!==e.indexOf("fa-w-")&&t.rest.push(e);return t}),{prefix:null,iconName:null,rest:[]})}function zt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function Ft(t){var e=t.tag,n=t.attributes,r=void 0===n?{}:n,a=t.children,i=void 0===a?[]:a;return"string"==typeof t?mt(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,n){return e+"".concat(n,'="').concat(mt(t[n]),'" ')}),"").trim()}(r),">").concat(i.map(Ft).join(""),"</").concat(e,">")}var Yt=function(){};function Bt(t){return"string"==typeof(t.getAttribute?t.getAttribute("data-fa-i2svg"):null)}var Wt={replace:function(t){var e=t[0],n=t[1].map((function(t){return Ft(t)})).join("\n");if(e.parentNode&&e.outerHTML)e.outerHTML=n+(I.keepOriginalSource&&"svg"!==e.tagName.toLowerCase()?"\x3c!-- ".concat(e.outerHTML," Font Awesome fontawesome.com --\x3e"):"");else if(e.parentNode){var r=document.createElement("span");e.parentNode.replaceChild(r,e),r.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~st(e).indexOf(I.replacementClass))return Wt.replace(t);var r=new RegExp("".concat(I.familyPrefix,"-.*"));delete n[0].attributes.style,delete n[0].attributes.id;var a=n[0].attributes.class.split(" ").reduce((function(t,e){return e===I.replacementClass||e.match(r)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=a.toSvg.join(" ");var i=n.map((function(t){return Ft(t)})).join("\n");e.setAttribute("class",a.toNode.join(" ")),e.setAttribute("data-fa-i2svg",""),e.innerHTML=i}};function Ut(t){t()}function Ht(t,e){var n="function"==typeof e?e:Yt;if(0===t.length)n();else{var r=Ut;"async"===I.mutateApproach&&(r=g.requestAnimationFrame||Ut),r((function(){var e=!0===I.autoReplaceSvg?Wt.replace:Wt[I.autoReplaceSvg]||Wt.replace,r=Ct("mutate");t.map(e),r(),n()}))}}var Vt=!1;function Xt(){Vt=!1}var qt=null;function Kt(t){if(b&&I.observeMutations){var e=t.treeCallback,n=t.nodeCallback,r=t.pseudoElementsCallback,a=t.observeMutationsRoot,i=void 0===a?v:a;qt=new b((function(t){Vt||ut(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Bt(t.addedNodes[0])&&(I.searchPseudoElements&&r(t.target),e(t.target)),"attributes"===t.type&&t.target.parentNode&&I.searchPseudoElements&&r(t.target.parentNode),"attributes"===t.type&&Bt(t.target)&&~j.indexOf(t.attributeName))if("class"===t.attributeName){var a=Lt(st(t.target)),i=a.prefix,o=a.iconName;i&&t.target.setAttribute("data-prefix",i),o&&t.target.setAttribute("data-icon",o)}else n(t.target)}))})),w&&qt.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Gt(t){var e,n,r=t.getAttribute("data-prefix"),a=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",o=Lt(st(t));return r&&a&&(o.prefix=r,o.iconName=a),o.prefix&&i.length>1?o.iconName=(e=o.prefix,n=t.innerText,(Mt[e]||{})[n]):o.prefix&&1===i.length&&(o.iconName=Tt(o.prefix,St(t.innerText))),o}var Qt=function(t){var e={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t?t.toLowerCase().split(" ").reduce((function(t,e){var n=e.toLowerCase().split("-"),r=n[0],a=n.slice(1).join("-");if(r&&"h"===a)return t.flipX=!0,t;if(r&&"v"===a)return t.flipY=!0,t;if(a=parseFloat(a),isNaN(a))return t;switch(r){case"grow":t.size=t.size+a;break;case"shrink":t.size=t.size-a;break;case"left":t.x=t.x-a;break;case"right":t.x=t.x+a;break;case"up":t.y=t.y-a;break;case"down":t.y=t.y+a;break;case"rotate":t.rotate=t.rotate+a}return t}),e):e};function Jt(t){var e=Gt(t),n=e.iconName,r=e.prefix,a=e.rest,i=function(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),r=n[0],a=n.slice(1);return r&&a.length>0&&(t[r]=a.join(":").trim()),t}),{})),n}(t),o=function(t){return Qt(t.getAttribute("data-fa-transform"))}(t),l=function(t){var e=t.getAttribute("data-fa-symbol");return null!==e&&(""===e||e)}(t),c=function(t){var e=ut(t.attributes).reduce((function(t,e){return"class"!==t.name&&"style"!==t.name&&(t[e.name]=e.value),t}),{}),n=t.getAttribute("title"),r=t.getAttribute("data-fa-title-id");return I.autoA11y&&(n?e["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(r||ct()):(e["aria-hidden"]="true",e.focusable="false")),e}(t),u=function(t){var e=t.getAttribute("data-fa-mask");return e?Lt(e.split(" ").map((function(t){return t.trim()}))):{prefix:null,iconName:null,rest:[]}}(t);return{iconName:n,title:t.getAttribute("title"),titleId:t.getAttribute("data-fa-title-id"),prefix:r,transform:o,symbol:l,mask:u,maskId:t.getAttribute("data-fa-mask-id"),extra:{classes:a,styles:i,attributes:c}}}function $t(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}$t.prototype=Object.create(Error.prototype),$t.prototype.constructor=$t;var te={fill:"currentColor"},ee={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ne={tag:"path",attributes:o({},te,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},re=o({},ee,{attributeName:"opacity"}),ae={tag:"g",children:[ne,{tag:"circle",attributes:o({},te,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:o({},ee,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:o({},re,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:o({},te,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:[{tag:"animate",attributes:o({},re,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:o({},te,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:o({},re,{values:"0;0;1;1;0;0;"})}]}]},ie=R.styles;function oe(t){var e=t[0],n=t[1],r=l(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(I.familyPrefix,"-").concat(D.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(D.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(D.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function le(t,e){return new at((function(n,r){var a={found:!1,width:512,height:512,icon:ae};if(t&&e&&ie[e]&&ie[e][t])return n(oe(ie[e][t]));!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e&&_t(e)){if(t&&t.iconUploads){var n=t.iconUploads,r=Object.keys(n).find((function(t){return n[t]&&n[t].u&&n[t].u===St(e)}));if(r)n[r].v}}else if(t&&t.iconUploads&&t.iconUploads[e]&&t.iconUploads[e].v)t.iconUploads[e].v}(g.FontAwesomeKitConfig,t);g.FontAwesomeKitConfig&&g.FontAwesomeKitConfig.token&&g.FontAwesomeKitConfig.token,t&&e&&!I.showMissingIcons?r(new $t("Icon is missing for prefix ".concat(e," with icon name ").concat(t))):n(a)}))}var ce=R.styles;function ue(t){var e=Jt(t);return~e.extra.classes.indexOf("fa-layers-text")?function(t,e){var n=e.title,r=e.transform,a=e.extra,i=null,o=null;if(x){var l=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();i=c.width/l,o=c.height/l}return I.autoA11y&&!n&&(a.attributes["aria-hidden"]="true"),at.resolve([t,yt({content:t.innerHTML,width:i,height:o,transform:r,title:n,extra:a,watchable:!0})])}(t,e):function(t,e){var n=e.iconName,r=e.title,a=e.titleId,i=e.prefix,o=e.transform,c=e.symbol,u=e.mask,s=e.maskId,f=e.extra;return new at((function(e,m){at.all([le(n,i),le(u.iconName,u.prefix)]).then((function(u){var m=l(u,2),d=m[0],p=m[1];e([t,bt({icons:{main:d,mask:p},prefix:i,iconName:n,transform:o,symbol:c,mask:p,maskId:s,title:r,titleId:a,extra:f,watchable:!0})])}))}))}(t,e)}function se(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(w){var n=v.documentElement.classList,r=function(t){return n.add("".concat("fontawesome-i2svg","-").concat(t))},a=function(t){return n.remove("".concat("fontawesome-i2svg","-").concat(t))},i=I.autoFetchSvg?Object.keys(E):Object.keys(ce),o=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(i.map((function(t){return".".concat(t,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0!==o.length){var l=[];try{l=ut(t.querySelectorAll(o))}catch(t){}if(l.length>0){r("pending"),a("complete");var c=Ct("onTree"),u=l.reduce((function(t,e){try{var n=ue(e);n&&t.push(n)}catch(t){O||t instanceof $t&&console.error(t)}return t}),[]);return new at((function(t,n){at.all(u).then((function(n){Ht(n,(function(){r("active"),r("complete"),a("pending"),"function"==typeof e&&e(),c(),t()}))})).catch((function(){c(),n()}))}))}}}}function fe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ue(t).then((function(t){t&&Ht([t],e)}))}function me(t,e){var n="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new at((function(r,a){if(null!==t.getAttribute(n))return r();var i=ut(t.children).filter((function(t){return t.getAttribute("data-fa-pseudo-element")===e}))[0],l=g.getComputedStyle(t,e),c=l.getPropertyValue("font-family").match(P),u=l.getPropertyValue("font-weight"),s=l.getPropertyValue("content");if(i&&!c)return t.removeChild(i),r();if(c&&"none"!==s&&""!==s){var f=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Duotone","Brands","Kit"].indexOf(c[2])?C[c[2].toLowerCase()]:S[u],d=St(3===f.length?f.substr(1,1):f),p=Tt(m,d),h=p;if(!p||i&&i.getAttribute("data-prefix")===m&&i.getAttribute("data-icon")===h)r();else{t.setAttribute(n,h),i&&t.removeChild(i);var b={iconName:null,title:null,titleId:null,prefix:null,transform:ot,symbol:!1,mask:null,maskId:null,extra:{classes:[],styles:{},attributes:{}}},y=b.extra;y.attributes["data-fa-pseudo-element"]=e,le(p,m).then((function(a){var i=bt(o({},b,{icons:{main:a,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:h,extra:y,watchable:!0})),l=v.createElement("svg");":before"===e?t.insertBefore(l,t.firstChild):t.appendChild(l),l.outerHTML=i.map((function(t){return Ft(t)})).join("\n"),t.removeAttribute(n),r()})).catch(a)}}else r()}))}function de(t){return at.all([me(t,":before"),me(t,":after")])}function pe(t){return!(t.parentNode===document.head||~k.indexOf(t.tagName.toUpperCase())||t.getAttribute("data-fa-pseudo-element")||t.parentNode&&"svg"===t.parentNode.tagName)}function he(t){if(w)return new at((function(e,n){var r=ut(t.querySelectorAll("*")).filter(pe).map(de),a=Ct("searchPseudoElements");Vt=!0,at.all(r).then((function(){a(),Xt(),e()})).catch((function(){a(),Xt(),n()}))}))}function ge(){var t="svg-inline--fa",e=I.familyPrefix,n=I.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||n!==t){var a=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");r=r.replace(a,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(o,".".concat(n))}return r}function ve(){I.autoAddCss&&!Oe&&(lt(ge()),Oe=!0)}function be(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return Ft(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(w){var e=v.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function ye(t){var e=t.prefix,n=void 0===e?"fa":e,r=t.iconName;if(r)return zt(xe.definitions,n,r)||zt(R.styles,n,r)}var we,xe=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e,n,r;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach((function(e){t.definitions[e]=o({},t.definitions[e]||{},a[e]),At(e,a[e]),It()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,e){var n=e.prefix&&e.iconName&&e.icon?{0:e}:e;return Object.keys(n).map((function(e){var r=n[e],a=r.prefix,i=r.iconName,o=r.icon;t[a]||(t[a]={}),t[a][i]=o})),t}}])&&a(e.prototype,n),r&&a(e,r),t}()),ke=function(){I.autoReplaceSvg=!1,I.observeMutations=!1,qt&&qt.disconnect()},Oe=!1,Ee={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(w){ve();var e=t.node,n=void 0===e?v:e,r=t.callback,a=void 0===r?function(){}:r;return I.searchPseudoElements&&he(n),se(n,a)}return at.reject("Operation requires a DOM of some kind.")},css:ge,insertCss:function(){Oe||(lt(ge()),Oe=!0)},watch:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=t.observeMutationsRoot;!1===I.autoReplaceSvg&&(I.autoReplaceSvg=!0),I.observeMutations=!0,F((function(){De({autoReplaceSvgRoot:e}),Kt({treeCallback:se,nodeCallback:fe,pseudoElementsCallback:he,observeMutationsRoot:n})}))}},Ce={transform:function(t){return Qt(t)}},Pe=(we=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?ot:n,a=e.symbol,i=void 0!==a&&a,l=e.mask,c=void 0===l?null:l,u=e.maskId,s=void 0===u?null:u,f=e.title,m=void 0===f?null:f,d=e.titleId,p=void 0===d?null:d,h=e.classes,g=void 0===h?[]:h,v=e.attributes,b=void 0===v?{}:v,y=e.styles,w=void 0===y?{}:y;if(t){var x=t.prefix,k=t.iconName,O=t.icon;return be(o({type:"icon"},t),(function(){return ve(),I.autoA11y&&(m?b["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(p||ct()):(b["aria-hidden"]="true",b.focusable="false")),bt({icons:{main:oe(O),mask:c?oe(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:k,transform:o({},ot,r),symbol:i,title:m,maskId:s,titleId:p,extra:{attributes:b,styles:w,classes:g}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:ye(t||{}),r=e.mask;return r&&(r=(r||{}).icon?r:ye(r||{})),we(n,o({},e,{mask:r}))}),Se=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,r=void 0===n?ot:n,a=e.title,i=void 0===a?null:a,l=e.classes,u=void 0===l?[]:l,s=e.attributes,f=void 0===s?{}:s,m=e.styles,d=void 0===m?{}:m;return be({type:"text",content:t},(function(){return ve(),yt({content:t,transform:o({},ot,r),title:i,extra:{attributes:f,styles:d,classes:["".concat(I.familyPrefix,"-layers-text")].concat(c(u))}})}))},_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,r=void 0===n?null:n,a=e.classes,i=void 0===a?[]:a,o=e.attributes,l=void 0===o?{}:o,u=e.styles,s=void 0===u?{}:u;return be({type:"counter",content:t},(function(){return ve(),wt({content:t.toString(),title:r,extra:{attributes:l,styles:s,classes:["".concat(I.familyPrefix,"-layers-counter")].concat(c(i))}})}))},Ae=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,r=void 0===n?[]:n;return be({type:"layer"},(function(){ve();var e=[];return t((function(t){Array.isArray(t)?t.map((function(t){e=e.concat(t.abstract)})):e=e.concat(t.abstract)})),[{tag:"span",attributes:{class:["".concat(I.familyPrefix,"-layers")].concat(c(r)).join(" ")},children:e}]}))},je={noAuto:ke,config:I,dom:Ee,library:xe,parse:Ce,findIconDefinition:ye,icon:Pe,text:Se,counter:_e,layer:Ae,toHtml:Ft},De=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?v:e;(Object.keys(R.styles).length>0||I.autoFetchSvg)&&w&&I.autoReplaceSvg&&je.dom.i2svg({node:n})}},31636:(t,e,n)=>{n.d(e,{Z:()=>wn});n(35989);var r=n(63804),a=n.n(r),i=n(21661),o=n.n(i),l=n(61845),c=n.n(l),u=n(30627),s=n.n(u),f=n(16139);const m=function(t){return a().createElement(f.Z,o()({id:t.id,immutable:t.immutable,isMulti:!1,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};const d=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};var p=n(40706),h=n(693),g=n(80034),v=n.n(g),b=n(29163);function y(){var t=v()(["\n && {\n ","\n }\n"]);return y=function(){return t},t}const w=b.ZP.input.attrs((function(t){return{type:"text"}}))(y(),h.k9);const x=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(w,{disabled:t.immutable,id:t.id,name:t.name,onChange:function(e){return t.onChange(e.target.value)},immutable:t.immutable,value:t.value||""}))}));var k=n(87753),O=n.n(k);const E=function(){var t,e=(null===(t=navigator)||void 0===t?void 0:t.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(e)};var C=n(70536),P=n.n(C);function S(){var t=v()(["\n ","\n resize: none;\n margin: 0;\n min-height: 4em;\n"]);return S=function(){return t},t}function _(){var t=v()(["\n display: grid;\n width: 100%;\n\n &:after {\n content: attr(data-replicated-value) ' ';\n white-space: pre-wrap;\n word-break: break-all;\n visibility: hidden;\n ","\n\n /* prevent scrollbar on Firefox */\n padding-right: 15px;\n }\n"]);return _=function(){return t},t}function A(){var t=v()(["\n ","\n width: 100%;\n grid-area: 1 / 1 / 2 / 2;\n max-height: 25rem;\n box-sizing: border-box;\n"]);return A=function(){return t},t}var j=(0,b.iv)(A(),h.k9),D=b.ZP.div(_(),j),N=b.ZP.textarea(S(),j);const M=function(t){var e=t.value,n=t.onChange,i=t.name,o=t.id,l=t.disabled,c=t.immutable,u=(0,r.useState)(e),s=O()(u,2),f=s[0],m=s[1],d=!E(),p=(0,r.useCallback)(P()(m,500,{trailing:!0}),[]);return(0,r.useEffect)((function(){d&&p(e)}),[e]),a().createElement(D,d?{"data-replicated-value":f}:{},a().createElement(N,{value:e,name:i,id:o,onChange:n,disabled:l,immutable:c,rows:"1"}))};const Z=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(M,{id:t.id,immutable:t.immutable,maxRows:20,name:t.name,onChange:function(e){return t.onChange(e.target.value)},disabled:t.immutable,rows:2,value:t.value}))}));var I=n(22482),T=n.n(I),R=n(30381),L=n.n(R),z=n(86896),F=n(1538),Y=n.n(F),B=function(t){if(t&&0!==t.length){if(1===t.length)return t[0];throw new Error("Expected at most one item in array: ".concat(t.join(", ")))}return null},W=function(t){return Y()({d:"DD",m:"MM",Y:"YYYY",K:"A",H:"HH",h:"h",i:"mm"},(function(e,n){t=t.replace(e,n)})),t},U=function(t){return-1*Math.abs(t)},H=(0,r.lazy)((function(){return Promise.all([n.e(669),n.e(85)]).then(n.bind(n,34486))})),V=a().createElement(a().Fragment,null);const X=function(t){return a().createElement(r.Suspense,{fallback:V},a().createElement(H,t))};function q(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function K(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?q(Object(n),!0).forEach((function(e){T()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const G=function(t){var e=t.onChange,n=t.options,r=t.id,i=t.value,o=t.immutable,l=t.events,c=(0,z.Z)(),u=function(){return L()().locale(c.locale)._locale.longDateFormat("L")},s=function(t){var e=L()(t,[u(),"YYYY-MM-DD"]);return e.isValid()?e.toDate():null},f=K({altFormat:W(u()),dateFormat:W("YYYY-MM-DD"),allowInput:!0,parseDate:s},n?n.flatpickrOptions:{});return a().createElement(X,{id:r,value:[i],onChange:function(t){var n=B(t),r=n?function(t){if(null==t)return null;var e=new Date(t),n=e.getFullYear(),r=e.getMonth()+1,a=e.getDate();return[n,(r>9?"":"0")+r,(a>9?"":"0")+a].join("-")}(n):null;e(r)},parseDate:s,formatDate:function(t){return L()(t).format(u())},options:K(K({},n),{},{flatpickrOptions:f}),immutable:o,events:l})};var Q=n(74806);function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(Object(n),!0).forEach((function(e){T()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const tt=(0,Q.ZP)((function(t){var e=L()().locale(t.intl.locale)._locale.longDateFormat("L"),n=L()().locale(t.intl.locale)._locale.longDateFormat("LT"),i=W(e),o=W(n),l=(0,r.useMemo)((function(){return function(t){var r=L()(t,["D.M.YYYY H:m",e,n]);return r.isValid()?r.toDate():null}}),[]),c=$({enableTime:!0,time_24hr:!0,allowInput:!0,parseDate:l,altFormat:"".concat(i," ").concat(o),dateFormat:"Y-m-d\\TH:i:S.000\\Z"},t.options?t.options.flatpickrOptions:{});return a().createElement(X,{value:[t.value],onChange:function(e){return t.onChange(B(e))},parseDate:l,formatDate:function(t){return L()(t).format("".concat(e," ").concat(n))},immutable:t.immutable,options:$($({},t.options),{},{flatpickrOptions:c}),events:t.events})}));var et=n(77995);function nt(){var t=v()(["\n && {\n ","\n }\n"]);return nt=function(){return t},t}const rt=b.ZP.input.attrs((function(t){return{type:"time"}}))(nt(),h.k9);const at=function(t){var e=!!window.sidebar,n=t.value&&!t.immutable&&!e,r=t.value||"";return a().createElement(h.gg,{immutable:t.immutable},a().createElement(rt,{disabled:t.immutable,id:t.id,immutable:t.immutable,name:t.name,onChange:function(e){t.onChange(e.target.value)},value:r}),n&&a().createElement(h.Wg,null,a().createElement(et.Z,{icon:"times",onClick:function(){t.onChange(null)},tabIndex:-1})))};function it(){var t=v()(["\n margin: 5px 0;\n"]);return it=function(){return t},t}var ot=b.ZP.div(it());const lt=function(t){return a().createElement(ot,null,a().createElement("input",{type:"checkbox",checked:t.value||!1,name:t.name,onChange:function(e){t.onChange&&t.onChange(e.target.checked)},id:t.id,disabled:t.immutable}))};var ct=(0,r.lazy)((function(){return Promise.all([n.e(215),n.e(85)]).then(n.bind(n,47241))}));const ut=function(t){return a().createElement(r.Suspense,{fallback:(e=t.value,a().createElement("div",null,a().createElement("p",null,e)))},a().createElement(ct,t));var e};function st(){var t=v()(["\n margin-top: 5px;\n"]);return st=function(){return t},t}var ft=b.ZP.div(st());const mt=function(t){var e=t.value,n=t.onChange,r=t.immutable,i=t.options;return a().createElement(ft,null,a().createElement(ut,{value:e,onChange:n,mode:i.mode,theme:"textmate",showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:r}}))};var dt=n(34217),pt=n.n(dt),ht=n(46990),gt=n(49245),vt=n(76490),bt=n(43642),yt=n(33177),wt=n(41804);function xt(){var t=v()(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"]);return xt=function(){return t},t}function kt(){var t=v()(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"]);return kt=function(){return t},t}var Ot=b.ZP.div(kt(),wt.Z.space(-2)),Et=b.ZP.div(xt(),yt.Z,wt.Z.space(-2));const Ct=function(t){var e=t.value,n=t.downloadTitle,r=t.immutable,i=t.onUpload,l=t.deleteTitle,c=e.binaryLink&&e.binaryLink.startsWith("blob:");return a().createElement(Ot,{className:"StyledView"},a().createElement(bt.Z,o()({alt:e.fileName},c&&{caption:e.fileName},{fileName:e.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:e.binaryLink,thumbnailUrl:e.thumbnailLink})),a().createElement(Et,null,!r&&a().createElement(gt.Z,{icon:"trash",onClick:function(){return i(null)},tabIndex:-1,title:l||"delete"}),a().createElement(gt.Z,null,a().createElement(vt.Z,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:ht.Z.getDownloadUrl(e.binaryLink),tabIndex:-1,title:n||"download"}))))};var Pt=n(12785),St=n(75068),_t=n(83540),At=n(72277);function jt(){var t=v()(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"]);return jt=function(){return t},t}function Dt(){var t=v()(["\n && {\n ","\n }\n"]);return Dt=function(){return t},t}function Nt(){var t=v()(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"]);return Nt=function(){return t},t}var Mt=b.ZP.div(Nt(),wt.Z.space(-2)),Zt=(0,b.ZP)(At.Fe)(Dt(),(0,_t.Z)({fontSize:wt.Z.font(-1)})),It=b.ZP.div(jt(),wt.Z.space(-2));const Tt=function(t){return a().createElement(Mt,null,a().createElement(bt.Z,{caption:t.file.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:t.file.preview,thumbnailUrl:t.file.type.startsWith("image")?t.file.preview:null}),a().createElement(It,null,a().createElement(Pt.Z,{position:St.Z.position.PREPEND}),a().createElement(Zt,null,t.text||"uploading"," (",(e=t.file.size,n=Math.floor(Math.log(e)/Math.log(1024)),"".concat(1*(e/Math.pow(1024,n)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][n])),")")));var e,n};var Rt=n(84187),Lt=n(93038),zt=n(57156);function Ft(){var t=v()(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n"]);return Ft=function(){return t},t}const Yt=b.ZP.div(Ft(),(0,_t.Z)(),(function(t){return t.immutable?"not-allowed":"pointer"}),Lt.Z.color("paper"),(function(t){return t.immutable?zt.v.shade2(t):zt.v.shade0(t)}),wt.Z.space(-2));var Bt=n(76142);function Wt(){var t=v()(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n"]);return Wt=function(){return t},t}function Ut(){var t=v()(["\n "," {\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: "," ",";\n }\n"]);return Ut=function(){return t},t}var Ht=b.ZP.div(Ut(),yt.Z,wt.Z.space(-3.1),wt.Z.space(-1.5),wt.Z.space(-2)),Vt=(0,b.ZP)(Bt.Z)(Wt());const Xt=function(t){var e=t.onDrop,n=t.immutable,r=t.text,i=t.onChoose;return a().createElement(Yt,{immutable:n},a().createElement(Vt,{disabled:n,multiple:!1,onDrop:function(t){return e(t[0])},title:r||"drag and drop or click"},a().createElement(Ht,null,a().createElement(gt.Z,null,a().createElement(Rt.Z,{icon:"arrow-to-top",position:St.Z.position.PREPEND})),i&&a().createElement(gt.Z,{onClick:function(t){i(),t.stopPropagation()}},a().createElement(Rt.Z,{icon:"folder",position:St.Z.position.PREPEND})))))};var qt=function(t){var e=t.value,n=t.textResources,i=t.onUpload,l=t.onChoose,c=(0,r.useState)({isUploading:!1,previewFile:null}),u=O()(c,2),s=u[0],f=u[1];return(0,r.useEffect)((function(){pt()(e)||f({isUploading:!1,previewFile:null})}),[e]),e&&e.binaryLink?a().createElement(Ct,o()({},t,{deleteTitle:n.delete,downloadTitle:n.download})):s.isUploading?a().createElement(Tt,o()({file:s.previewFile,text:n.uploading},t)):a().createElement(Xt,o()({},t,{onDrop:function(t){!function(t){f({isUploading:!0,previewFile:t})}(t),i(t)},onChoose:l}))};qt.defaultProps={textResources:{}};const Kt=qt;var Gt=function(t){return a().createElement(Kt,{onUpload:function(e){null===e?t.onChange&&t.onChange(null):t.options.upload&&t.options.upload(e)},onChoose:t.options.choose,immutable:t.immutable,textResources:{upload:t.options.uploadText,uploading:t.options.uploadingText,delete:t.options.deleteText,download:t.options.downloadText},value:t.value?t.value:null})};Gt.defaultProps={options:{}};const Qt=Gt;var Jt=n(61268),$t=n.n(Jt),te=n(95501),ee=n.n(te),ne=n(31413),re=n.n(ne),ae=n(69891),ie=n.n(ae),oe=n(49047),le=n.n(oe),ce=n(81130),ue=n.n(ce),se=n(9405),fe=n(45376),me=n(30022);function de(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ue()(t);if(e){var a=ue()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return le()(this,n)}}function pe(){var t=v()(["\n && {\n button {\n margin-bottom: 0;\n }\n\n .ql-editor {\n ","\n\n &[contenteditable='false'] * {\n cursor: not-allowed;\n }\n }\n }\n"]);return pe=function(){return t},t}var he=b.ZP.div(pe(),(function(t){return(0,me.L)(t,"quill")})),ge=a().createElement("i",null),ve=function(t){ie()(i,t);var e=de(i);function i(t){var a;return $t()(this,i),a=e.call(this,t),T()(re()(a),"lazyQuill",null),T()(re()(a),"handleChange",(function(t,e,n){if(a.props.onChange&&"user"===n){var r="<p><br></p>"===t?"":t;a.props.onChange(r)}})),n.e(905).then(n.t.bind(n,38211,23)),n.e(905).then(n.t.bind(n,13937,23)),a.lazyQuill=(0,r.lazy)((function(){return n.e(905).then(n.t.bind(n,20955,23))})),a}return ee()(i,[{key:"render",value:function(){var t=se.Z.sanitizeHtml(this.props.value);return this.props.immutable?a().createElement(fe.ZP.Span,null,a().createElement("div",{dangerouslySetInnerHTML:{__html:t}})):a().createElement(he,null,a().createElement(r.Suspense,{fallback:ge},a().createElement(this.lazyQuill,{name:this.props.name,onChange:this.handleChange,id:this.props.id,theme:"snow",defaultValue:t,modules:{clipboard:{matchVisual:!1}}})))}}]),i}(a().Component);ve.defaultProps={value:""};const be=ve;const ye=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!1,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const we=function(t){return a().createElement(f.Z,o()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const xe=function(t){return a().createElement(f.Z,o()({immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};function ke(){var t=v()(["\n && {\n ","\n }\n"]);return ke=function(){return t},t}const Oe=b.ZP.input.attrs((function(t){return{type:"url"}}))(ke(),h.k9);const Ee=p.Z.Debouncer((function(t){return a().createElement(h.gg,{immutable:t.immutable},a().createElement(Oe,{disabled:t.immutable,id:t.id,immutable:t.immutable,name:t.name,onChange:function(e){return t.onChange(((n=(n=e.target.value).toLowerCase()).indexOf(".")>0&&!/^[a-z0-9]+:\/\//.test(n)&&(n="https://".concat(n)),n));var n},value:t.value}),t.value&&a().createElement(h.Wg,null,a().createElement(vt.Z,{href:t.value,icon:"external-link",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})))}));var Ce=n(24159),Pe=n.n(Ce),Se=n(94655),_e=n.n(Se),Ae=n(67120),je=n.n(Ae);function De(){var t=v()(["\n && {\n ","\n }\n"]);return De=function(){return t},t}const Ne=b.ZP.input.attrs((function(t){return{type:"tel"}}))(De(),h.k9);function Me(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ze(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Me(Object(n),!0).forEach((function(e){T()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ie(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ue()(t);if(e){var a=ue()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return le()(this,n)}}const Te=function(t){ie()(i,t);var e,r=Ie(i);function i(t){var e;$t()(this,i),e=r.call(this,t),T()(re()(e),"componentIsUnmounted",!1),T()(re()(e),"FALLBACK_DEFAULT_COUNTRY","CH"),T()(re()(e),"amountOfSpacesBeforeCaret",(function(t,e){var n=t.substring(0,e-1).match(/\s/g);return n?n.length:0})),T()(re()(e),"repositionCaret",(function(t,n,r){if(r&&t.length!==r){var a=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n),i=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(t),o=e.amountOfSpacesBeforeCaret(a,r),l=e.amountOfSpacesBeforeCaret(i,r)-o;window.requestAnimationFrame(function(){var t=r+l;this.setSelectionRange(t,t)}.bind(e.inputElement.current))}})),T()(re()(e),"removeSpaces",(function(t){return t.replace(/\s/g,"")})),T()(re()(e),"handleChange",(function(t){var n=t.target.value,r=e.state.libPhoneImport,a=r?r.parseNumber(n,e.state.defaultCountry):n,i=c()(a)?e.removeSpaces(new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n)):r.formatNumber(a,"E.164");e.props.onChange(i);var o=t.target.selectionStart;e.repositionCaret(n,e.props.value,o)})),T()(re()(e),"determineDisplayValue",(function(){return e.props.value&&e.state.libPhoneImport&&e.state.libPhoneImport.AsYouType?new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(e.props.value):e.props.value||""}));var n=je()(t,"options.defaultCountry")||e.FALLBACK_DEFAULT_COUNTRY;return e.state={libPhoneImport:null,defaultCountry:n},e.importLibPhoneNumber(),e.inputElement=a().createRef(),e}return ee()(i,[{key:"importLibPhoneNumber",value:(e=_e()(Pe().mark((function t(){var e;return Pe().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(877).then(n.bind(n,20872));case 2:e=t.sent,this.componentIsUnmounted||this.setState(Ze(Ze({},this.state),{},{libPhoneImport:e}));case 4:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){this.componentIsUnmounted=!0}},{key:"render",value:function(){var t=this.determineDisplayValue();return a().createElement(h.gg,{immutable:this.props.immutable},a().createElement(Ne,{disabled:this.props.immutable||!this.state.libPhoneImport,id:this.props.id,name:name,onChange:this.handleChange,immutable:this.props.immutable||!this.state.libPhoneImport,ref:this.inputElement,value:t}),t&&a().createElement(h.Wg,null,a().createElement(vt.Z,{href:"tel:".concat(this.props.value),icon:"phone",tabIndex:-1,neutral:!0})))}}]),i}(a().Component);var Re=n(59315);function Le(){var t=v()(["\n && {\n border: 1px solid transparent;\n left: 0;\n max-width: 100%;\n overflow: hidden;\n position: absolute;\n z-index: -1;\n visibility: hidden;\n }\n"]);return Le=function(){return t},t}function ze(){var t=v()(["\n &&& {\n align-items: center;\n display: flex;\n flex-wrap: nowrap;\n margin-bottom: 0; /* reset bootstrap */\n\n &:first-child {\n margin-right: ",";\n }\n\n > span {\n color: ",";\n cursor: ",";\n }\n }\n"]);return ze=function(){return t},t}function Fe(){var t=v()(["\n && {\n ","\n flex-grow: 0;\n min-width: 1ch;\n }\n"]);return Fe=function(){return t},t}var Ye=b.ZP.input(Fe(),h.k9),Be=b.ZP.label(ze(),wt.Z.space(-1),(function(t){return t.immutable?(0,Re.iy)(je()(t.theme,"colors.text")):Lt.Z.color("text")}),(function(t){return t.immutable?"not-allowed":"default"})),We=b.ZP.span(Le());function Ue(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function He(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ue(Object(n),!0).forEach((function(e){T()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ue(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ve(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ue()(t);if(e){var a=ue()(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return le()(this,n)}}var Xe=function(t){ie()(n,t);var e=Ve(n);function n(t){var r;return $t()(this,n),r=e.call(this,t),T()(re()(r),"WIDTH_PADDING",5),T()(re()(r),"millisecondsToDuration",(function(t){if(!t&&0!==t)return{hours:null,minutes:null};var e=parseInt(t/6e4%60),n=parseInt(t/36e5);return n<0&&(e=Math.abs(e)),{hours:n,minutes:e}})),T()(re()(r),"componentDidMount",(function(){r.setFieldWidths()})),T()(re()(r),"componentDidUpdate",(function(t,e){r.props.value!==t.value&&r.setState(He({},r.millisecondsToDuration(r.props.value))),r.state.hours===e.hours&&r.state.minutes===e.minutes||r.setFieldWidths()})),T()(re()(r),"setFieldWidths",(function(){r.setState({hoursWidth:r.hoursShadow.current.offsetWidth+r.WIDTH_PADDING,minutesWidth:r.minutesShadow.current.offsetWidth+r.WIDTH_PADDING})})),T()(re()(r),"handleHourChange",(function(t){var e=t.target.value.replace(/[^-\d]/g,"");r.handleChange(e,null)})),T()(re()(r),"handleMinutesChange",(function(t){var e=t.target.value.replace(/[^-\d]/g,"");r.handleChange(null,e)})),T()(re()(r),"handleChange",(function(t,e){var n=null!==e?e:r.state.minutes,a=null!==t?t:r.state.hours;""!==n||""!==a?(n>=60&&(a=0),r.props.onChange(function(t,e){return t||e?((t<0||e<0)&&(t=U(t),e=U(e)),60*(t||0)*6e4+6e4*(e||0)):null}(a,n))):r.props.onChange(null)})),T()(re()(r),"handleOnFocus",(function(){return r.setState({focussed:!0})})),T()(re()(r),"handleOnBlur",(function(){return r.setState({focussed:!1})})),T()(re()(r),"preventNonNumeric",(function(t){var e;t.charCode>=48&&t.charCode<=57||45===t.charCode&&!0===(null===(e=r.props.options)||void 0===e?void 0:e.allowNegative)||t.preventDefault()})),T()(re()(r),"getPattern",(function(){var t;return!0===(null===(t=r.props.options)||void 0===t?void 0:t.allowNegative)?"-?d+":"d+"})),T()(re()(r),"unitsVisible",(function(){return r.state.focussed||"number"==typeof r.props.value})),r.hoursShadow=a().createRef(),r.minutesShadow=a().createRef(),r.state=He(He({},r.millisecondsToDuration(t.value)),{},{focussed:!1}),r}return ee()(n,[{key:"render",value:function(){var t,e;return a().createElement(h.gg,{onBlur:this.handleOnBlur,immutable:this.props.immutable,style:{overflowX:"auto"}},a().createElement(Be,{immutable:this.props.immutable},a().createElement(Ye,{disabled:this.props.immutable,immutable:this.props.immutable,min:!0===(null===(t=this.props.options)||void 0===t?void 0:t.allowNegative)?void 0:0,onChange:function(){},onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onInput:this.handleHourChange,onKeyPress:this.preventNonNumeric,pattern:this.getPattern(),step:1,style:{width:this.state.hoursWidth+"px"},type:"number",value:null!==this.state.hours&&0!==this.state.hours?this.state.hours:""}),this.unitsVisible()&&a().createElement(fe.ZP.Span,null,this.props.options.hoursLabel)),a().createElement(Be,{immutable:this.props.immutable},a().createElement(Ye,{disabled:this.props.immutable,immutable:this.props.immutable,min:!0!==(null===(e=this.props.options)||void 0===e?void 0:e.allowNegative)||null!==this.state.hours&&0!==this.state.hours?0:void 0,onChange:function(){},onFocus:this.handleOnFocus,onBlur:this.handleOnBlur,onInput:this.handleMinutesChange,onKeyPress:this.preventNonNumeric,pattern:this.getPattern(),step:1,style:{width:this.state.minutesWidth+"px"},type:"number",value:null!==this.state.minutes?this.state.minutes:""}),this.unitsVisible()&&a().createElement(fe.ZP.Span,null,this.props.options.minutesLabel)),a().createElement(We,{ref:this.hoursShadow},this.state.hours),a().createElement(We,{ref:this.minutesShadow},this.state.minutes))}}]),n}(a().Component);Xe.defaultProps={options:{hoursLabel:"hrs",minutesLabel:"min"}};const qe=Xe;var Ke=n(7691),Ge=n.n(Ke),Qe=n(50360);function Je(){var t=v()(["\n && {\n ","\n }\n"]);return Je=function(){return t},t}const $e=(0,b.ZP)((function(t){t.immutable;var e=Ge()(t,["immutable"]);return a().createElement(Qe.Z,e)}))(Je(),h.k9);function tn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function en(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(n),!0).forEach((function(e){T()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var nn=function(t){return 0!==t?Math.ceil(Math.log10(Math.abs(t)+1)):1},rn=function(t){return null!=t&&!isNaN(parseFloat(t))},an=function(t,e,n){return!rn(n)||!(rn(e)&&n>e)&&!(rn(t)&&n<t)},on=function(t,e){return function(n){var r=n.floatValue;return nn(r)<nn(t)||an(t,e,r)}};const ln=(0,Q.ZP)(p.Z.Debouncer((function(t){var e,n=(e=t.intl.locale,{thousandSeparator:1111..toLocaleString(e).replace(/1/g,""),decimalSeparator:1.1.toLocaleString(e).replace(/1/g,"")}),r=n.thousandSeparator,i=n.decimalSeparator,l=t.options||{},c=l.prePointDigits,u=l.postPointDigits,s=l.minValue,f=l.maxValue,m=l.allowNegative,d=l.fixedDecimalScale,p=l.suffix,g=l.prefix,v=l.format,b=function(t,e,n){if(t){var r=Math.pow(10,t)-(e?1/Math.pow(10,e):1);return n&&n>r?n:r}return n}(c,u,f),y=en(en({isAllowed:on(s,b),allowNegative:!!m},isNaN(u)?{}:{decimalScale:u}),{},{fixedDecimalScale:!!d});return a().createElement(h.gg,{immutable:t.immutable},a().createElement($e,o()({decimalSeparator:i,disabled:t.immutable,id:t.id,isNumericString:!0,name:t.name,onValueChange:function(e){t.onChange&&an(s,b,e.floatValue)&&t.onChange(void 0!==e.floatValue?e.floatValue:null)},immutable:t.immutable,thousandSeparator:r,value:t.value,suffix:p,prefix:g},y,{format:v,onBlur:function(e){var n,r=!(n=e.target.value)||isNaN(n)?null:parseFloat(n);t.onChange&&!an(s,b,r)&&(e.target.value=null)}})))}),800));const cn=p.Z.Debouncer((function(t){var e=t.value,n=t.onChange,r=t.options,i=t.immutable,o=t.name,l=t.id,c=r||{},u=c.minValue,s=c.maxValue,f=c.format,m=c.allowLeadingZeros;return a().createElement(h.gg,{immutable:i},a().createElement($e,{isAllowed:function(t){var e=t.floatValue;return!(s&&e>s||u&&e<u)},allowNegative:!0,decimalScale:0,disabled:i,id:l,name:o,onValueChange:function(t){var e=t.value,r=t.floatValue,a=m?e:r;void 0===a&&(a=null),n(a)},value:e,allowLeadingZeros:m,format:f}))}),800);var un=n(7468),sn=n.n(un),fn=n(38366),mn=n.n(fn),dn=n(78295);function pn(){var t=v()(["\n && {\n ","\n position: relative;\n\n div {\n :nth-of-type(1) {\n flex: 0 0 13ch;\n margin-right: ",";\n }\n\n :nth-of-type(2) {\n flex: 1 1 auto;\n }\n }\n\n > span {\n flex: 0 0 auto;\n margin-right: ",";\n color: ",";\n }\n\n .react-autosuggest__input {\n ","\n width: 100%;\n }\n\n .react-autosuggest__suggestions-container--open {\n width: calc(100% + 17.5px);\n background-color: ",";\n box-shadow: 0 0 6px ",";\n border: 1px solid ",";\n bottom: -9px;\n left: -10px;\n max-height: 300px;\n overflow-y: auto;\n position: absolute;\n transform: translateY(100%);\n z-index: 2; // higher than StyledIndicatorsContainerWrapper\n }\n\n .react-autosuggest__suggestions-list {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n\n .react-autosuggest__suggestion {\n cursor: pointer;\n padding: 8px 12px;\n }\n\n .react-autosuggest__suggestion--highlighted {\n background-color: ",";\n }\n }\n"]);return pn=function(){return t},t}var hn=b.ZP.div(pn(),h.yP,wt.Z.space(-2),wt.Z.space(-2),(function(t){var e=t.immutable,n=t.theme;return e?(0,Re.iy)(je()(n,"colors.text")):je()(n,"colors.text")}),h.k9,Lt.Z.color("paper"),Lt.Z.color("signal.info.text"),Lt.Z.color("secondaryLight"),(function(t){var e=t.theme;return(0,Re.HO)(je()(e,"colors.paper"),1)})),gn=a().createElement(fe.ZP.Span,null,"/"),vn=a().createElement(Pt.Z,{size:"1.8rem"});var bn={boolean:lt,code:mt,date:G,datetime:tt,document:Qt,duration:qe,html:be,integer:cn,location:function(t){var e=t.onChange,n=t.options,r=t.value,i=t.id,o=t.immutable,l=t.name,c=function(t){return function(e){return e[t]}},u=function(t){var e=t.state,n=t.country,r=t.postcode,i=t.city,o=e?"- ".concat(e):"",l=n?"/ ".concat(n.display):"";return a().createElement(fe.ZP.Span,null,r," ",i," ",o," ",l)},s=function(t){return function(n,r){var a=r.newValue;e(T()({},t,a))}},f=function(t,n){var r=n.suggestion;e(r)},m=function(t){return function(e){var a=e.value;n.fetchSuggestions(T()({},t,a),r.country)}},d={id:i,value:r.postcode||"",onChange:s("postcode"),disabled:o},p={value:r.city||"",onChange:s("city"),disabled:o};return a().createElement(dn.Z,null,(function(t){var e,i,s,g=t.focused,v=t.getRef;return a().createElement(hn,{immutable:o,name:l,ref:v},a().createElement(mn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:m("postcode"),getSuggestionValue:c("postcode"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:d,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!o}}),(g||r.city||r.postcode)&&gn,a().createElement(mn(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:m("city"),getSuggestionValue:c("city"),renderSuggestion:u,onSuggestionsClearRequested:function(){},inputProps:p,onSuggestionSelected:f,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!o}}),a().createElement(h.Wg,null,n.isLoading&&vn,(s=r,Boolean(s.city||s.postcode)&&a().createElement(vt.Z,{href:(e=r,i=e?Object.values(e).filter(Boolean).map((function(t){return"object"===sn()(t)&&t.display?t.display:t})).join("+"):"","".concat("https://www.google.com/maps/search/?api=1&query=").concat(i)),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:n.mapButtonTitle||"Show on map",neutral:!0}))))}))},"multi-remote":we,"multi-select":d,number:ln,phone:Te,remote:ye,"search-filter":xe,"single-select":m,string:x,text:Z,url:Ee,time:at};const yn=function(t){var e=t.type,n=t.value,i=t.options,l=t.id,u=t.events,f=t.readOnly,m=void 0!==f&&f,d=(0,r.useRef)(void 0);if(bn[e]){var p=bn[e];if(u&&u.onBlur){var h=u.onBlur;u.onBlur=function(){var t=function(t){return["date","datetime"].includes(t)}(e)&&void 0!==d.current?d.current:n;return h(t)}}return a().createElement("div",o()({},s()(u,"onChange"),{"data-cy":"form-field"}),a().createElement(p,o()({value:n,onChange:function(t){d.current=t,u.onChange(t)}},c()(i)?{}:{options:i},{id:l,immutable:m,events:u})))}return console.log("No type-editor defined for type",e),null};const wn=function(t){return a().createElement(h.ZP,null,a().createElement(yn,t))}}}]);
|