tocco-devcon 1.0.3 → 1.0.6
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 +20 -0
- package/dist/0b923a43967ff893ec63b92dc4f19017.js +1 -0
- package/dist/25894751679e07fd95b21d0d3f6c8c8b.js +1 -0
- package/dist/54560f13b36626237959e93b7771a484.js +1 -0
- package/dist/58c35e5c73bbc1664bbd67c570342aa0.js +1 -0
- package/dist/637e363c105dce85c12fb99d7ef2fa7d.js +1 -0
- package/dist/8423f61a6b43ebee39273fd08e332d47.js +1 -0
- package/dist/8f5997c65fc8937aa89d15d9a7237f63.js +1 -0
- package/dist/a2d3450d9a39c72312a0afa486269a02.js +1 -0
- package/dist/a4d638b976f02f35740be031f996e088.js +1 -0
- package/dist/aa0619cbb003e1dd873d027494aa84c4.js +1 -0
- package/dist/cf26dd07f19bcb5b7efbf057a6cfeb8f.js +1 -0
- package/dist/cf9c7cbfc2b609b9ae59daeab82719c4.js +1 -0
- package/dist/chunk-314.e86335551ef008332d0b.js +1 -0
- package/dist/chunk-333.6e2b4bd987bb0a389434.js +1 -0
- package/dist/chunk-696.6412df2b10fa072eaf80.js +13 -0
- package/dist/chunk-82.d8e2f9fc408d506ceb28.js +13 -0
- package/dist/chunk-code-editor.d24ffee05722047a1a7d.js +1 -0
- package/dist/chunk-vendor-fontawesome.511607848878b714a005.js +7 -0
- package/dist/chunk-vendor-libphonenumber-js.d1823895c9e1013739f8.js +1 -0
- package/dist/e56fe7e8042772742953d0daa47cd621.js +1 -0
- package/dist/f9891d13237b59ce53f07874ab7a711b.js +1 -0
- package/dist/fc00657a30e4c8d53e47374ba0b1e8bf.js +1 -0
- package/dist/index.js +9 -10
- package/package.json +1 -1
- package/dist/18e63e724098792b95b076412a860636.js +0 -1
- package/dist/6fe3f0823e345813c2084b243cb6650b.js +0 -1
- package/dist/77dd68f6396b8ab4ce2c238d6ddb5354.js +0 -1
- package/dist/chunk-277.0af81c9b7e1548b99110.js +0 -2
- package/dist/chunk-277.0af81c9b7e1548b99110.js.map +0 -1
- package/dist/chunk-378.5ad4b80176f57ab52eed.js +0 -2
- package/dist/chunk-378.5ad4b80176f57ab52eed.js.map +0 -1
- package/dist/chunk-669.8a80f3127dd26f6aa3cc.js +0 -18
- package/dist/chunk-669.8a80f3127dd26f6aa3cc.js.map +0 -1
- package/dist/chunk-687.51f51a01b7ab160061d4.js +0 -2
- package/dist/chunk-687.51f51a01b7ab160061d4.js.map +0 -1
- package/dist/chunk-696.14f872b12be45b6b73b6.js +0 -2
- package/dist/chunk-696.14f872b12be45b6b73b6.js.map +0 -1
- package/dist/chunk-82.c072846d20587bb0bb2a.js +0 -2
- package/dist/chunk-82.c072846d20587bb0bb2a.js.map +0 -1
- package/dist/chunk-code-editor.a05c61137cf171c6945b.js +0 -2
- package/dist/chunk-code-editor.a05c61137cf171c6945b.js.map +0 -1
- package/dist/chunk-vendor-fontawesome.ba189cb93222b9d56bac.js +0 -6
- package/dist/chunk-vendor-libphonenumber-js.37b12356c360c7f4fa63.js +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[198],{78947:(t,e,n)=>{
|
|
2
|
-
/*!
|
|
3
|
-
* Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
|
|
4
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
5
|
-
*/
|
|
6
|
-
function a(t){return(a="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 r(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}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]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),a.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=[],a=!0,r=!1,i=void 0;try{for(var o,l=t[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!e||n.length!==e);a=!0);}catch(t){r=!0,i=t}finally{try{a||null==l.return||l.return()}finally{if(r)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:()=>Oe,noAuto:()=>xe,config:()=>I,toHtml:()=>zt,layer:()=>_e,text:()=>Se,counter:()=>Pe,library:()=>we,dom:()=>Ee,parse:()=>Ce,findIconDefinition:()=>be});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,g=void 0===p?"":p,h=s,v=f,b=m,y=d,w=(h.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&"function"==typeof v.createElement),x=~g.indexOf("MSIE")||~g.indexOf("Trident/"),k=["HTML","HEAD","STYLE","SCRIPT"],E=function(){try{return!0}catch(t){return!1}}(),C={fas:"solid",far:"regular",fal:"light",fad:"duotone",fab:"brands",fak:"kit",fa:"solid"},O={solid:"fas",regular:"far",light:"fal",duotone:"fad",brands:"fab",kit:"fak"},S=/Font Awesome ([5 ]*)(Solid|Regular|Light|Duotone|Brands|Free|Pro|Kit).*/i,P={900:"fas",400:"far",normal:"far",300:"fal"},_=[1,2,3,4,5,6,7,8,9,10],N=_.concat([11,12,13,14,15,16,17,18,19,20]),A=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],j={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},M=["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",j.GROUP,j.SWAP_OPACITY,j.PRIMARY,j.SECONDARY].concat(_.map((function(t){return"".concat(t,"x")}))).concat(N.map((function(t){return"w-".concat(t)}))),D=h.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],a=e[1],r=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!=r&&(D[a]=r)}))}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},D);Z.autoReplaceSvg||(Z.observeMutations=!1);var I=o({},Z);h.FontAwesomeConfig=I;var L=h||{};L.___FONT_AWESOME___||(L.___FONT_AWESOME___={}),L.___FONT_AWESOME___.styles||(L.___FONT_AWESOME___.styles={}),L.___FONT_AWESOME___.hooks||(L.___FONT_AWESOME___.hooks={}),L.___FONT_AWESOME___.shims||(L.___FONT_AWESOME___.shims=[]);var T=L.___FONT_AWESOME___,R=[],z=!1;function F(t){w&&(z?setTimeout(t,0):R.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,R.map((function(t){return t()}))})));var Y,B=function(){},U=void 0!==n.g&&void 0!==n.g.process&&"function"==typeof n.g.process.emit,W="undefined"==typeof setImmediate?setTimeout:setImmediate,V=[];function H(){for(var t=0;t<V.length;t++)V[t][0](V[t][1]);V=[],Y=!1}function q(t,e){V.push([t,e]),Y||(Y=!0,W(H,0))}function X(t){var e=t.owner,n=e._state,a=e._data,r=t[n],i=t.then;if("function"==typeof r){n="fulfilled";try{a=r(a)}catch(t){J(i,t)}}K(i,a)||("fulfilled"===n&&G(i,a),"rejected"===n&&J(i,a))}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"===a(e))){var r=e.then;if("function"==typeof r)return r.call(e,(function(a){n||(n=!0,e===a?Q(t,a):G(t,a))}),(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,q(tt,t))}function J(t,e){"pending"===t._state&&(t._state="settled",t._data=e,q(et,t))}function $(t){t._then=t._then.forEach(X)}function tt(t){t._state="fulfilled",$(t)}function et(t){t._state="rejected",$(t),!t._handled&&U&&n.g.process.emit("unhandledRejection",t._data,t)}function nt(t){n.g.process.emit("rejectionHandled",t)}function at(t){if("function"!=typeof t)throw new TypeError("Promise resolver "+t+" is not a function");if(this instanceof at==!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)}at.prototype={constructor:at,_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&&U&&q(nt,this)),"fulfilled"===this._state||"rejected"===this._state?q(X,n):this._then.push(n),n.then},catch:function(t){return this.then(null,t)}},at.all=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.all().");return new at((function(e,n){var a=[],r=0;function i(t){return r++,function(n){a[t]=n,--r||e(a)}}for(var o,l=0;l<t.length;l++)(o=t[l])&&"function"==typeof o.then?o.then(i(l),n):a[l]=o;r||e(a)}))},at.race=function(t){if(!Array.isArray(t))throw new TypeError("You must pass an array to Promise.race().");return new at((function(e,n){for(var a,r=0;r<t.length;r++)(a=t[r])&&"function"==typeof a.then?a.then(e,n):e(a)}))},at.resolve=function(t){return t&&"object"===a(t)&&t.constructor===at?t:new at((function(e){e(t)}))},at.reject=function(t){return new at((function(e,n){n(t)}))};var rt="function"==typeof Promise?Promise:at,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,a=null,r=n.length-1;r>-1;r--){var i=n[r],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(a=i)}return v.head.insertBefore(e,a),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("-"),a=n[0],r=n.slice(1).join("-");return a!==t||""===r||function(t){return~M.indexOf(t)}(r)?null:r}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 gt(t){var e=t.transform,n=t.containerWidth,a=t.iconWidth,r={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:r,inner:{transform:"".concat(i," ").concat(o," ").concat(l)},path:{transform:"translate(".concat(a/2*-1," -256)")}}}var ht={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,a=e.mask,r=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,g=a.found?a:n,h=g.width,v=g.height,b="fak"===r,y=b?"":"fa-w-".concat(Math.ceil(h/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":r,"data-icon":i,class:w,role:m.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(h," ").concat(v)})},k=b&&!~m.classes.indexOf("fa-fw")?{width:"".concat(h/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 E=o({},x,{prefix:r,iconName:i,main:n,mask:a,maskId:s,transform:l,symbol:c,styles:o({},k,m.styles)}),C=a.found&&n.found?function(t){var e,n=t.children,a=t.attributes,r=t.main,i=t.mask,l=t.maskId,c=t.transform,u=r.width,s=r.icon,f=i.width,m=i.icon,d=gt({transform:c,containerWidth:f,iconWidth:u}),p={tag:"rect",attributes:o({},ht,{fill:"white"})},g=s.children?{children:s.children.map(vt)}:{},h={tag:"g",attributes:o({},d.inner),children:[vt(o({tag:s.tag,attributes:o({},s.attributes,d.path)},g))]},v={tag:"g",attributes:o({},d.outer),children:[h]},b="mask-".concat(l||ct()),y="clip-".concat(l||ct()),w={tag:"mask",attributes:o({},ht,{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,")")},ht)}),{children:n,attributes:a}}(E):function(t){var e=t.children,n=t.attributes,a=t.main,r=t.transform,i=dt(t.styles);if(i.length>0&&(n.style=i),pt(r)){var l=gt({transform:r,containerWidth:a.width,iconWidth:a.width});e.push({tag:"g",attributes:o({},l.outer),children:[{tag:"g",attributes:o({},l.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:o({},a.icon.attributes,l.path)}]}]})}else e.push(a.icon);return{children:e,attributes:n}}(E),O=C.children,S=C.attributes;return E.children=O,E.attributes=S,c?function(t){var e=t.prefix,n=t.iconName,a=t.children,r=t.attributes,i=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},r,{id:!0===i?"".concat(e,"-").concat(I.familyPrefix,"-").concat(n):i}),children:a}]}]}(E):function(t){var e=t.children,n=t.main,a=t.mask,r=t.attributes,i=t.styles,l=t.transform;if(pt(l)&&n.found&&!a.found){var c={x:n.width/n.height/2,y:.5};r.style=dt(o({},i,{"transform-origin":"".concat(c.x+l.x/16,"em ").concat(c.y+l.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}(E)}function yt(t){var e=t.content,n=t.width,a=t.height,r=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(r)&&(f.transform=function(t){var e=t.transform,n=t.width,a=void 0===n?16:n,r=t.height,i=void 0===r?16:r,o=t.startCentered,l=void 0!==o&&o,c="";return c+=l&&x?"translate(".concat(e.x/it-a/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:r,startCentered:!0,width:n,height:a}),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,a=t.extra,r=o({},a.attributes,n?{title:n}:{},{class:a.classes.join(" ")}),i=dt(a.styles);i.length>0&&(r.style=i);var l=[];return l.push({tag:"span",attributes:r,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},Et='FA "5.15.4"',Ct=function(t){kt.mark("".concat(Et," ").concat(t," ends")),kt.measure("".concat(Et," ").concat(t),"".concat(Et," ").concat(t," begins"),"".concat(Et," ").concat(t," ends"))},Ot=function(t){return kt.mark("".concat(Et," ").concat(t," begins")),function(){return Ct(t)}},St=function(t,e,n,a){var r,i,o,l=Object.keys(t),c=l.length,u=void 0!==a?function(t,e){return function(n,a,r,i){return t.call(e,n,a,r,i)}}(e,a):e;for(void 0===n?(r=1,o=t[l[0]]):(r=0,o=n);r<c;r++)o=u(o,t[i=l[r]],i,t);return o};function Pt(t){for(var e="",n=0;n<t.length;n++){e+=("000"+t.charCodeAt(n).toString(16)).slice(-4)}return e}function _t(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.skipHooks,r=void 0!==a&&a,i=Object.keys(e).reduce((function(t,n){var a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{});"function"!=typeof T.hooks.addPack||r?T.styles[t]=o({},T.styles[t]||{},i):T.hooks.addPack(t,i),"fas"===t&&_t("fa",e)}var Nt=T.styles,At=T.shims,jt={},Mt={},Dt={},Zt=function(){var t=function(t){return St(Nt,(function(e,n,a){return e[a]=St(n,t,{}),e}),{})};jt=t((function(t,e,n){return e[3]&&(t[e[3]]=n),t})),Mt=t((function(t,e,n){var a=e[2];return t[n]=n,a.forEach((function(e){t[e]=n})),t}));var e="far"in Nt;Dt=St(At,(function(t,n){var a=n[0],r=n[1],i=n[2];return"far"!==r||e||(r="fas"),t[a]={prefix:r,iconName:i},t}),{})};function It(t,e){return(jt[t]||{})[e]}Zt();var Lt=T.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(C).indexOf(e)>-1)t.prefix=e;else if(n){var a="fa"===t.prefix?function(t){return Dt[t]||{prefix:null,iconName:null}}(n):{};t.iconName=a.iconName||n,t.prefix=a.prefix||t.prefix}else e!==I.replacementClass&&0!==e.indexOf("fa-w-")&&t.rest.push(e);return t}),{prefix:null,iconName:null,rest:[]})}function Rt(t,e,n){if(t&&t[e]&&t[e][n])return{prefix:e,iconName:n,icon:t[e][n]}}function zt(t){var e=t.tag,n=t.attributes,a=void 0===n?{}:n,r=t.children,i=void 0===r?[]:r;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()}(a),">").concat(i.map(zt).join(""),"</").concat(e,">")}var Ft=function(){};function Yt(t){return"string"==typeof(t.getAttribute?t.getAttribute("data-fa-i2svg"):null)}var Bt={replace:function(t){var e=t[0],n=t[1].map((function(t){return zt(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 a=document.createElement("span");e.parentNode.replaceChild(a,e),a.outerHTML=n}},nest:function(t){var e=t[0],n=t[1];if(~st(e).indexOf(I.replacementClass))return Bt.replace(t);var a=new RegExp("".concat(I.familyPrefix,"-.*"));delete n[0].attributes.style,delete n[0].attributes.id;var r=n[0].attributes.class.split(" ").reduce((function(t,e){return e===I.replacementClass||e.match(a)?t.toSvg.push(e):t.toNode.push(e),t}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" ");var i=n.map((function(t){return zt(t)})).join("\n");e.setAttribute("class",r.toNode.join(" ")),e.setAttribute("data-fa-i2svg",""),e.innerHTML=i}};function Ut(t){t()}function Wt(t,e){var n="function"==typeof e?e:Ft;if(0===t.length)n();else{var a=Ut;"async"===I.mutateApproach&&(a=h.requestAnimationFrame||Ut),a((function(){var e=!0===I.autoReplaceSvg?Bt.replace:Bt[I.autoReplaceSvg]||Bt.replace,a=Ot("mutate");t.map(e),a(),n()}))}}var Vt=!1;function Ht(){Vt=!1}var qt=null;function Xt(t){if(b&&I.observeMutations){var e=t.treeCallback,n=t.nodeCallback,a=t.pseudoElementsCallback,r=t.observeMutationsRoot,i=void 0===r?v:r;qt=new b((function(t){Vt||ut(t).forEach((function(t){if("childList"===t.type&&t.addedNodes.length>0&&!Yt(t.addedNodes[0])&&(I.searchPseudoElements&&a(t.target),e(t.target)),"attributes"===t.type&&t.target.parentNode&&I.searchPseudoElements&&a(t.target.parentNode),"attributes"===t.type&&Yt(t.target)&&~A.indexOf(t.attributeName))if("class"===t.attributeName){var r=Tt(st(t.target)),i=r.prefix,o=r.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 Kt(t){var e,n,a=t.getAttribute("data-prefix"),r=t.getAttribute("data-icon"),i=void 0!==t.innerText?t.innerText.trim():"",o=Tt(st(t));return a&&r&&(o.prefix=a,o.iconName=r),o.prefix&&i.length>1?o.iconName=(e=o.prefix,n=t.innerText,(Mt[e]||{})[n]):o.prefix&&1===i.length&&(o.iconName=It(o.prefix,Pt(t.innerText))),o}var Gt=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("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return t.flipX=!0,t;if(a&&"v"===r)return t.flipY=!0,t;if(r=parseFloat(r),isNaN(r))return t;switch(a){case"grow":t.size=t.size+r;break;case"shrink":t.size=t.size-r;break;case"left":t.x=t.x-r;break;case"right":t.x=t.x+r;break;case"up":t.y=t.y-r;break;case"down":t.y=t.y+r;break;case"rotate":t.rotate=t.rotate+r}return t}),e):e};function Qt(t){var e=Kt(t),n=e.iconName,a=e.prefix,r=e.rest,i=function(t){var e=t.getAttribute("style"),n=[];return e&&(n=e.split(";").reduce((function(t,e){var n=e.split(":"),a=n[0],r=n.slice(1);return a&&r.length>0&&(t[a]=r.join(":").trim()),t}),{})),n}(t),o=function(t){return Gt(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"),a=t.getAttribute("data-fa-title-id");return I.autoA11y&&(n?e["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(a||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:a,transform:o,symbol:l,mask:u,maskId:t.getAttribute("data-fa-mask-id"),extra:{classes:r,styles:i,attributes:c}}}function Jt(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}Jt.prototype=Object.create(Error.prototype),Jt.prototype.constructor=Jt;var $t={fill:"currentColor"},te={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ee={tag:"path",attributes:o({},$t,{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"})},ne=o({},te,{attributeName:"opacity"}),ae={tag:"g",children:[ee,{tag:"circle",attributes:o({},$t,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:o({},te,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:o({},ne,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:o({},$t,{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({},ne,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:o({},$t,{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({},ne,{values:"0;0;1;1;0;0;"})}]}]},re=T.styles;function ie(t){var e=t[0],n=t[1],a=l(t.slice(4),1)[0];return{found:!0,width:e,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(I.familyPrefix,"-").concat(j.GROUP)},children:[{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(j.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(I.familyPrefix,"-").concat(j.PRIMARY),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}function oe(t,e){return new rt((function(n,a){var r={found:!1,width:512,height:512,icon:ae};if(t&&e&&re[e]&&re[e][t])return n(ie(re[e][t]));t&&e&&!I.showMissingIcons?a(new Jt("Icon is missing for prefix ".concat(e," with icon name ").concat(t))):n(r)}))}var le=T.styles;function ce(t){var e=Qt(t);return~e.extra.classes.indexOf("fa-layers-text")?function(t,e){var n=e.title,a=e.transform,r=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&&(r.attributes["aria-hidden"]="true"),rt.resolve([t,yt({content:t.innerHTML,width:i,height:o,transform:a,title:n,extra:r,watchable:!0})])}(t,e):function(t,e){var n=e.iconName,a=e.title,r=e.titleId,i=e.prefix,o=e.transform,c=e.symbol,u=e.mask,s=e.maskId,f=e.extra;return new rt((function(e,m){rt.all([oe(n,i),oe(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:a,titleId:r,extra:f,watchable:!0})])}))}))}(t,e)}function ue(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(w){var n=v.documentElement.classList,a=function(t){return n.add("".concat("fontawesome-i2svg","-").concat(t))},r=function(t){return n.remove("".concat("fontawesome-i2svg","-").concat(t))},i=I.autoFetchSvg?Object.keys(C):Object.keys(le),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){a("pending"),r("complete");var c=Ot("onTree"),u=l.reduce((function(t,e){try{var n=ce(e);n&&t.push(n)}catch(t){E||t instanceof Jt&&console.error(t)}return t}),[]);return new rt((function(t,n){rt.all(u).then((function(n){Wt(n,(function(){a("active"),a("complete"),r("pending"),"function"==typeof e&&e(),c(),t()}))})).catch((function(){c(),n()}))}))}}}}function se(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ce(t).then((function(t){t&&Wt([t],e)}))}function fe(t,e){var n="".concat("data-fa-pseudo-element-pending").concat(e.replace(":","-"));return new rt((function(a,r){if(null!==t.getAttribute(n))return a();var i=ut(t.children).filter((function(t){return t.getAttribute("data-fa-pseudo-element")===e}))[0],l=h.getComputedStyle(t,e),c=l.getPropertyValue("font-family").match(S),u=l.getPropertyValue("font-weight"),s=l.getPropertyValue("content");if(i&&!c)return t.removeChild(i),a();if(c&&"none"!==s&&""!==s){var f=l.getPropertyValue("content"),m=~["Solid","Regular","Light","Duotone","Brands","Kit"].indexOf(c[2])?O[c[2].toLowerCase()]:P[u],d=Pt(3===f.length?f.substr(1,1):f),p=It(m,d),g=p;if(!p||i&&i.getAttribute("data-prefix")===m&&i.getAttribute("data-icon")===g)a();else{t.setAttribute(n,g),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,oe(p,m).then((function(r){var i=bt(o({},b,{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:g,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 zt(t)})).join("\n"),t.removeAttribute(n),a()})).catch(r)}}else a()}))}function me(t){return rt.all([fe(t,":before"),fe(t,":after")])}function de(t){return!(t.parentNode===document.head||~k.indexOf(t.tagName.toUpperCase())||t.getAttribute("data-fa-pseudo-element")||t.parentNode&&"svg"===t.parentNode.tagName)}function pe(t){if(w)return new rt((function(e,n){var a=ut(t.querySelectorAll("*")).filter(de).map(me),r=Ot("searchPseudoElements");Vt=!0,rt.all(a).then((function(){r(),Ht(),e()})).catch((function(){r(),Ht(),n()}))}))}function ge(){var t="svg-inline--fa",e=I.familyPrefix,n=I.replacementClass,a='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 r=new RegExp("\\.".concat("fa","\\-"),"g"),i=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");a=a.replace(r,".".concat(e,"-")).replace(i,"--".concat(e,"-")).replace(o,".".concat(n))}return a}function he(){I.autoAddCss&&!ke&&(lt(ge()),ke=!0)}function ve(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return zt(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(w){var e=v.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function be(t){var e=t.prefix,n=void 0===e?"fa":e,a=t.iconName;if(a)return Rt(we.definitions,n,a)||Rt(T.styles,n,a)}var ye,we=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,a;return e=t,(n=[{key:"add",value:function(){for(var t=this,e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(e){t.definitions[e]=o({},t.definitions[e]||{},r[e]),_t(e,r[e]),Zt()}))}},{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 a=n[e],r=a.prefix,i=a.iconName,o=a.icon;t[r]||(t[r]={}),t[r][i]=o})),t}}])&&r(e.prototype,n),a&&r(e,a),t}()),xe=function(){I.autoReplaceSvg=!1,I.observeMutations=!1,qt&&qt.disconnect()},ke=!1,Ee={i2svg:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(w){he();var e=t.node,n=void 0===e?v:e,a=t.callback,r=void 0===a?function(){}:a;return I.searchPseudoElements&&pe(n),ue(n,r)}return rt.reject("Operation requires a DOM of some kind.")},css:ge,insertCss:function(){ke||(lt(ge()),ke=!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(){Ae({autoReplaceSvgRoot:e}),Xt({treeCallback:ue,nodeCallback:se,pseudoElementsCallback:pe,observeMutationsRoot:n})}))}},Ce={transform:function(t){return Gt(t)}},Oe=(ye=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,a=void 0===n?ot:n,r=e.symbol,i=void 0!==r&&r,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,g=e.classes,h=void 0===g?[]:g,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,E=t.icon;return ve(o({type:"icon"},t),(function(){return he(),I.autoA11y&&(m?b["aria-labelledby"]="".concat(I.replacementClass,"-title-").concat(p||ct()):(b["aria-hidden"]="true",b.focusable="false")),bt({icons:{main:ie(E),mask:c?ie(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:k,transform:o({},ot,a),symbol:i,title:m,maskId:s,titleId:p,extra:{attributes:b,styles:w,classes:h}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(t||{}).icon?t:be(t||{}),a=e.mask;return a&&(a=(a||{}).icon?a:be(a||{})),ye(n,o({},e,{mask:a}))}),Se=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.transform,a=void 0===n?ot:n,r=e.title,i=void 0===r?null:r,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 ve({type:"text",content:t},(function(){return he(),yt({content:t,transform:o({},ot,a),title:i,extra:{attributes:f,styles:d,classes:["".concat(I.familyPrefix,"-layers-text")].concat(c(u))}})}))},Pe=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.title,a=void 0===n?null:n,r=e.classes,i=void 0===r?[]:r,o=e.attributes,l=void 0===o?{}:o,u=e.styles,s=void 0===u?{}:u;return ve({type:"counter",content:t},(function(){return he(),wt({content:t.toString(),title:a,extra:{attributes:l,styles:s,classes:["".concat(I.familyPrefix,"-layers-counter")].concat(c(i))}})}))},_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.classes,a=void 0===n?[]:n;return ve({type:"layer"},(function(){he();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(a)).join(" ")},children:e}]}))},Ne={noAuto:xe,config:I,dom:Ee,library:we,parse:Ce,findIconDefinition:be,icon:Oe,text:Se,counter:Pe,layer:_e,toHtml:zt},Ae=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.autoReplaceSvgRoot,n=void 0===e?v:e;(Object.keys(T.styles).length>0||I.autoFetchSvg)&&w&&I.autoReplaceSvg&&Ne.dom.i2svg({node:n})}},61410:(t,e,n)=>{n.d(e,{Z:()=>gn});n(35989);var a=n(1024),r=n.n(a),i=n(693),o=n(21661),l=n.n(o),c=n(61845),u=n.n(c),s=n(30627),f=n.n(s),m=n(80034),d=n.n(m),p=n(29163);function g(){var t=d()(["\n margin: 5px 0;\n"]);return g=function(){return t},t}var h=p.ZP.div.withConfig({displayName:"StyledBoolEdit"})(g());const v=function(t){return r().createElement(h,null,r().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 b=(0,a.lazy)((function(){return Promise.all([n.e(378),n.e(85)]).then(n.bind(n,72143))}));const y=function(t){return r().createElement(a.Suspense,{fallback:(e=t.value,r().createElement("div",null,r().createElement("p",null,e)))},r().createElement(b,t));var e};function w(){var t=d()(["\n margin-top: 5px;\n"]);return w=function(){return t},t}var x=p.ZP.div.withConfig({displayName:"EditorWrapper"})(w());const k=function(t){var e=t.value,n=t.onChange,a=t.immutable,i=t.options;return r().createElement(x,null,r().createElement(y,{value:e,onChange:n,mode:i.mode,theme:"textmate",showGutter:!0,editorOptions:{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,enableSnippets:!0,minLines:5,maxLines:50,readOnly:a,wrap:!0,indentedSoftWrap:!1},implicitModel:i.implicitModel}))};var E=n(22482),C=n.n(E),O=n(30381),S=n.n(O),P=n(86896),_=n(1538),N=n.n(_),A=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},j=function(t){return N()({d:"DD",m:"MM",Y:"YYYY",K:"A",H:"HH",h:"h",i:"mm"},(function(e,n){t=t.replace(e,n)})),t},M=(0,a.lazy)((function(){return Promise.all([n.e(669),n.e(85)]).then(n.bind(n,34486))})),D=r().createElement(r().Fragment,null);const Z=function(t){return r().createElement(a.Suspense,{fallback:D},r().createElement(M,t))};function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function L(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){C()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const T=function(t){var e=t.onChange,n=t.options,a=t.id,i=t.value,o=t.immutable,l=t.events,c=(0,P.Z)(),u=function(){return S()().locale(c.locale)._locale.longDateFormat("L")},s=function(t){var e=S()(t,[u(),"YYYY-MM-DD"]);return e.isValid()?e.toDate():null},f=L({altFormat:j(u()),dateFormat:j("YYYY-MM-DD"),allowInput:!0,parseDate:s},n?n.flatpickrOptions:{});return r().createElement(Z,{id:a,value:[i],onChange:function(t){var n=A(t),a=n?function(t){if(null==t)return null;var e=new Date(t),n=e.getFullYear(),a=e.getMonth()+1,r=e.getDate();return[n,(a>9?"":"0")+a,(r>9?"":"0")+r].join("-")}(n):null;e(a)},parseDate:s,formatDate:function(t){return S()(t).format(u())},options:L(L({},n),{},{flatpickrOptions:f}),immutable:o,events:l})};var R=n(74806);function z(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function F(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?z(Object(n),!0).forEach((function(e){C()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}const Y=(0,R.ZP)((function(t){var e=S()().locale(t.intl.locale)._locale.longDateFormat("L"),n=S()().locale(t.intl.locale)._locale.longDateFormat("LT"),i=j(e),o=j(n),l=(0,a.useMemo)((function(){return function(t){var a=S()(t,["D.M.YYYY H:m",e,n]);return a.isValid()?a.toDate():null}}),[e,n]),c=F({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 r().createElement(Z,{value:[t.value],onChange:function(e){return t.onChange(A(e))},parseDate:l,formatDate:function(t){return S()(t).format("".concat(e," ").concat(n))},immutable:t.immutable,options:F(F({},t.options),{},{flatpickrOptions:c}),events:t.events})}));var B=n(87753),U=n.n(B),W=n(34217),V=n.n(W),H=n(49245),q=n(76142),X=n(33177),K=n(83540),G=n(93038),Q=n(57156),J=n(41804);function $(){var t=d()(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n display: flex;\n\n "," {\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: ",";\n }\n"]);return $=function(){return t},t}function tt(){var t=d()(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n"]);return tt=function(){return t},t}var et=(0,p.ZP)(q.Z).withConfig({displayName:"StyledDropzone"})(tt()),nt=p.ZP.div.withConfig({displayName:"StyledUploadInput"})($(),(0,K.Z)(),(function(t){return t.immutable?"not-allowed":"pointer"}),G.Z.color("paper"),(function(t){return t.immutable?Q.v.shade2(t):Q.v.shade0(t)}),J.Z.space(-2),X.Z,J.Z.space(-3.1),J.Z.space(-1.5)),at=r().createElement(H.Z,{icon:"arrow-to-top"});const rt=function(t){var e=t.onDrop,n=t.immutable,a=t.text,i=t.onChoose;return r().createElement(nt,{immutable:n},r().createElement(et,{disabled:n,multiple:!1,onDrop:function(t){return e(t[0])},title:a||"drag and drop or click"},at),i&&r().createElement(H.Z,{onClick:function(t){i(),t.stopPropagation()},icon:"folder",label:"browse docs",iconOnly:!0}))};var it=n(12785),ot=n(43642),lt=n(75068),ct=n(72277);function ut(){var t=d()(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"]);return ut=function(){return t},t}function st(){var t=d()(["\n && {\n ","\n }\n"]);return st=function(){return t},t}function ft(){var t=d()(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"]);return ft=function(){return t},t}var mt=p.ZP.div.withConfig({displayName:"StyledUploadProgress"})(ft(),J.Z.space(-2)),dt=(0,p.ZP)(ct.Fe).withConfig({displayName:"StyledUploadProgressText"})(st(),(0,K.Z)({fontSize:J.Z.font(-1)})),pt=p.ZP.div.withConfig({displayName:"StyledUploadProgressIconAndText"})(ut(),J.Z.space(-2));const gt=function(t){return r().createElement(mt,null,r().createElement(ot.Z,{caption:t.file.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:t.file.preview,thumbnailUrl:t.file.type.startsWith("image")?t.file.preview:null}),r().createElement(pt,null,r().createElement(it.Z,{position:lt.Z.position.PREPEND}),r().createElement(dt,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 ht=n(46990),vt=n(76490);function bt(){var t=d()(["\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 bt=function(){return t},t}function yt(){var t=d()(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"]);return yt=function(){return t},t}var wt=p.ZP.div.withConfig({displayName:"StyledView"})(yt(),J.Z.space(-2)),xt=p.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(bt(),X.Z,J.Z.space(-2));const kt=function(t){var e=t.value,n=t.downloadTitle,a=t.immutable,i=t.onUpload,o=t.deleteTitle,c=e.binaryLink&&e.binaryLink.startsWith("blob:");return r().createElement(wt,{className:"StyledView"},r().createElement(ot.Z,l()({alt:e.fileName},c&&{caption:e.fileName},{fileName:e.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:e.binaryLink,thumbnailUrl:e.thumbnailLink})),r().createElement(xt,null,!a&&r().createElement(H.Z,{icon:"trash",onClick:function(){return i(null)},tabIndex:-1,title:o||"delete"}),r().createElement(H.Z,null,r().createElement(vt.Z,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:ht.Z.getDownloadUrl(e.binaryLink),tabIndex:-1,title:n||"download"}))))};var Et=function(t){var e=t.value,n=t.textResources,i=t.onUpload,o=t.onChoose,c=(0,a.useRef)(e),u=(0,a.useState)({isUploading:!1,previewFile:null}),s=U()(u,2),f=s[0],m=s[1];return(0,a.useEffect)((function(){V()(c.current,e)||m({isUploading:!1,previewFile:null}),c.current=e}),[e]),null!=e&&e.binaryLink?r().createElement(kt,l()({},t,{deleteTitle:n.delete,downloadTitle:n.download})):f.isUploading?r().createElement(gt,l()({file:f.previewFile,text:n.uploading},t)):r().createElement(rt,l()({},t,{onDrop:function(t){!function(t){m({isUploading:!0,previewFile:t})}(t),i(t)},onChoose:o}))};Et.defaultProps={textResources:{}};const Ct=Et;var Ot=function(t){return r().createElement(Ct,{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})};Ot.defaultProps={options:{}};const St=Ot;var Pt=n(62410),_t=n(42514),Nt=n(45376),At=n(67120),jt=n.n(At),Mt=n(59315);function Dt(){var t=d()(["\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 }\n"]);return Dt=function(){return t},t}function Zt(){var t=d()(["\n &&& {\n align-items: center;\n display: flex;\n flex-wrap: nowrap;\n margin-bottom: 0; /* reset bootstrap */\n margin-left: ",";\n\n &:first-child {\n margin-left: 0;\n }\n\n > span {\n color: ",";\n cursor: ",";\n }\n }\n"]);return Zt=function(){return t},t}function It(){var t=d()(["\n && {\n ","\n flex-grow: 0;\n width: ","px;\n min-width: 2.5ch;\n }\n"]);return It=function(){return t},t}var Lt=p.ZP.input.withConfig({displayName:"StyledDurationEdit"})(It(),i.k9,(function(t){return t.width})),Tt=p.ZP.label.withConfig({displayName:"StyledDurationEditFocusable"})(Zt(),J.Z.space(1),(function(t){return t.immutable?(0,Mt.iy)(jt()(t.theme,"colors.text")):G.Z.color("text")}),(function(t){return t.immutable?"not-allowed":"default"})),Rt=p.ZP.span.withConfig({displayName:"StyledDurationEditShadow"})(Dt(),K.Z),zt=function(t){var e,n=t.value,o=t.immutable,l=t.onChange,c=t.options,u=(0,a.useRef)(null),s=(0,a.useRef)(null),f=(0,a.useRef)(null),m=_t.Z.millisecondsToDuration(n),d=m.seconds,p=(0,a.useState)(m.hours),g=U()(p,2),h=g[0],v=g[1],b=(0,a.useState)(m.minutes),y=U()(b,2),w=y[0],x=y[1],k=(0,a.useState)(0),E=U()(k,2),C=E[0],O=E[1],S=(0,a.useState)(0),P=U()(S,2),_=P[0],N=P[1],A=(null===(e=f.current)||void 0===e?void 0:e.offsetWidth)||0,j=(0,a.useState)(n>=0),M=U()(j,2),D=M[0],Z=M[1],I=Pt.Z.usePrevious(h),L=Pt.Z.usePrevious(w);(0,a.useEffect)((function(){O(u.current.offsetWidth),N(s.current.offsetWidth)}),[]),(0,a.useEffect)((function(){h!==I&&O(u.current.offsetWidth),w!==L&&N(s.current.offsetWidth)}),[h,w]);var T=function(t,e){var n=null!==e?e:w,a=null!==t?t:h;l(""!==n||""!==a?function(t,e){return t||e?60*(t||0)*6e4+6e4*(e||0):null}(a,n):null)},R=function(){Z(!0)},z=function(t){!(t.charCode>=48&&t.charCode<=57)&&t.preventDefault()},F=o&&Boolean(d);return r().createElement(i.gg,{onBlur:function(){Z(h.toString().length>=1||w.toString().length>=1)},immutable:o},r().createElement(Tt,{immutable:o},r().createElement(Lt,{disabled:o,immutable:o,min:0,onChange:function(){},onFocus:R,onInput:function(t){var e=t.target.value.replace(/[^-\d]/g,"");v(e),T(e,null)},onKeyPress:z,pattern:"\\d+",step:1,width:C,type:"number",value:h}),D&&r().createElement(Nt.ZP.Span,null,c.hoursLabel)),r().createElement(Tt,{immutable:o},r().createElement(Lt,{disabled:o,immutable:o,onChange:function(){},onFocus:R,onInput:function(t){var e=function(t){var e=t.value.replace(/[^-\d]/g,"");return t.validity.valid||(e=0),e.length>2&&(e=e.slice(0,2)),e>59&&(e=0),e<0&&(e=59),e}(t.target);x(e),T(null,e),2!==e.toString().length&&0!==e||t.target.select()},onKeyPress:z,pattern:"\\d+",step:1,width:_,type:"number",value:w}),D&&r().createElement(Nt.ZP.Span,null,c.minutesLabel)),F&&r().createElement(Tt,{immutable:o},r().createElement(Lt,{disabled:o,immutable:o,onChange:function(){},width:A,type:"number",value:d}),D&&r().createElement(Nt.ZP.Span,null,c.secondsLabel)),r().createElement(Rt,{ref:u},h),r().createElement(Rt,{ref:s},w),F&&r().createElement(Rt,{ref:f},d))};zt.defaultProps={options:{hoursLabel:"hrs",minutesLabel:"min",secondsLabel:"s"}};const Ft=zt;var Yt=n(61268),Bt=n.n(Yt),Ut=n(95501),Wt=n.n(Ut),Vt=n(31413),Ht=n.n(Vt),qt=n(69891),Xt=n.n(qt),Kt=n(49047),Gt=n.n(Kt),Qt=n(81130),Jt=n.n(Qt),$t=n(9405),te=n(30022);function ee(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,a=Jt()(t);if(e){var r=Jt()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Gt()(this,n)}}function ne(){var t=d()(["\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 ne=function(){return t},t}var ae=p.ZP.div.withConfig({displayName:"StyledHtmlEdit"})(ne(),(function(t){return(0,te.L)(t,"quill")})),re=r().createElement("i",null),ie=function(t){Xt()(i,t);var e=ee(i);function i(t){var r;return Bt()(this,i),r=e.call(this,t),C()(Ht()(r),"lazyQuill",null),C()(Ht()(r),"handleChange",(function(t,e,n){if(r.props.onChange&&"user"===n){var a="<p><br></p>"===t?"":t;r.props.onChange(a)}})),n.e(905).then(n.bind(n,38211)),n.e(905).then(n.bind(n,13937)),r.lazyQuill=(0,a.lazy)((function(){return n.e(905).then(n.t.bind(n,20955,23))})),r}return Wt()(i,[{key:"render",value:function(){var t=$t.Z.sanitizeHtml(this.props.value);return this.props.immutable?r().createElement(Nt.ZP.Span,null,r().createElement("div",{dangerouslySetInnerHTML:{__html:t}})):r().createElement(ae,null,r().createElement(a.Suspense,{fallback:re},r().createElement(this.lazyQuill,{name:this.props.name,onChange:this.handleChange,id:this.props.id,theme:"snow",defaultValue:t,modules:{clipboard:{matchVisual:!1}}})))}}]),i}(r().Component);ie.defaultProps={value:""};const oe=ie;var le=n(7691),ce=n.n(le),ue=n(50360);function se(){var t=d()(["\n && {\n ","\n }\n"]);return se=function(){return t},t}const fe=(0,p.ZP)((function(t){t.immutable;var e=ce()(t,["immutable"]);return r().createElement(ue.Z,e)})).withConfig({displayName:"StyledNumberEdit"})(se(),i.k9);const me=Pt.Z.Debouncer((function(t){var e=t.value,n=t.onChange,a=t.options,o=t.immutable,l=t.name,c=t.id,u=a||{},s=u.minValue,f=u.maxValue,m=u.format,d=u.allowLeadingZeros;return r().createElement(i.gg,{immutable:o},r().createElement(fe,{isAllowed:function(t){var e=t.floatValue;return!(f&&e>f||s&&e<s)},allowNegative:!0,decimalScale:0,disabled:o,id:c,name:l,onValueChange:function(t){var e=t.value,a=t.floatValue,r=d?e:a;void 0===r&&(r=null),n(r)},value:e,allowLeadingZeros:d,format:m}))}),800);var de=n(7468),pe=n.n(de),ge=n(38366),he=n.n(ge),ve=n(71870);function be(){var t=d()(["\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 be=function(){return t},t}var ye=p.ZP.div.withConfig({displayName:"StyledLocationEdit"})(be(),i.yP,J.Z.space(-2),J.Z.space(-2),(function(t){var e=t.immutable,n=t.theme;return e?(0,Mt.iy)(jt()(n,"colors.text")):jt()(n,"colors.text")}),i.k9,G.Z.color("paper"),G.Z.color("signal.info.text"),G.Z.color("secondaryLight"),(function(t){var e=t.theme;return(0,Mt.HO)(jt()(e,"colors.paper"),1)})),we=r().createElement(Nt.ZP.Span,null,"/"),xe=r().createElement(it.Z,{size:"1.8rem"});const ke=function(t){var e=t.onChange,n=t.options,a=t.value,o=t.id,l=t.immutable,c=t.name,u=function(t){return function(e){return e[t]}},s=function(t){var e=t.state,n=t.country,a=t.postcode,i=t.city,o=e?"- ".concat(e):"",l=n?"/ ".concat(n.display):"";return r().createElement(Nt.ZP.Span,null,a," ",i," ",o," ",l)},f=function(t){return function(n,a){var r=a.newValue;e(C()({},t,r))}},m=function(t,n){var a=n.suggestion;e(a)},d=function(t){return function(e){var r=e.value;n.fetchSuggestions(C()({},t,r),a.country)}},p={id:o,value:a.postcode||"",onChange:f("postcode"),disabled:l},g={value:a.city||"",onChange:f("city"),disabled:l};return r().createElement(ve.Z,null,(function(t){var e,o,f,h=t.focused,v=t.getRef;return r().createElement(ye,{immutable:l,name:c,ref:v},r().createElement(he(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:d("postcode"),getSuggestionValue:u("postcode"),renderSuggestion:s,onSuggestionsClearRequested:function(){},inputProps:p,onSuggestionSelected:m,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!l}}),(h||a.city||a.postcode)&&we,r().createElement(he(),{suggestions:n.suggestions||[],onSuggestionsFetchRequested:d("city"),getSuggestionValue:u("city"),renderSuggestion:s,onSuggestionsClearRequested:function(){},inputProps:g,onSuggestionSelected:m,focusInputOnSuggestionClick:!1,shouldRenderSuggestions:function(t){return t&&!l}}),r().createElement(i.Wg,null,n.isLoading&&xe,(f=a,Boolean(f.city||f.postcode)&&r().createElement(vt.Z,{href:(e=a,o=e?Object.values(e).filter(Boolean).map((function(t){return"object"===pe()(t)&&t.display?t.display:t})).join("+"):"","".concat("https://www.google.com/maps/search/?api=1&query=").concat(o)),icon:"map-marked",tabIndex:-1,target:"_blank",dense:!1,title:n.mapButtonTitle||"Show on map",neutral:!0}))))}))};var Ee=n(16139);const Ce=function(t){return r().createElement(Ee.Z,l()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const Oe=function(t){return r().createElement(Ee.Z,l()({id:t.id,isMulti:!0,immutable:t.immutable,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};function Se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Pe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Se(Object(n),!0).forEach((function(e){C()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _e=function(t){return 0!==t?Math.ceil(Math.log10(Math.abs(t)+1)):1},Ne=function(t){return null!=t&&!isNaN(parseFloat(t))},Ae=function(t,e,n){return!Ne(n)||!(Ne(e)&&n>e)&&!(Ne(t)&&n<t)},je=function(t,e){return function(n){var a=n.floatValue;return _e(a)<_e(t)||Ae(t,e,a)}};const Me=(0,R.ZP)(Pt.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,"")}),a=n.thousandSeparator,o=n.decimalSeparator,c=t.options||{},u=c.prePointDigits,s=c.postPointDigits,f=c.minValue,m=c.maxValue,d=c.allowNegative,p=c.fixedDecimalScale,g=c.suffix,h=c.prefix,v=c.format,b=function(t,e,n){if(t){var a=Math.pow(10,t)-(e?1/Math.pow(10,e):1);return n&&n>a?n:a}return n}(u,s,m),y=Pe(Pe({isAllowed:je(f,b),allowNegative:!!d},isNaN(s)?{}:{decimalScale:s}),{},{fixedDecimalScale:!!p});return r().createElement(i.gg,{immutable:t.immutable},r().createElement(fe,l()({decimalSeparator:o,disabled:t.immutable,id:t.id,isNumericString:!0,name:t.name,onValueChange:function(e){t.onChange&&Ae(f,b,e.floatValue)&&t.onChange(void 0!==e.floatValue?e.floatValue:null)},immutable:t.immutable,thousandSeparator:a,value:t.value,suffix:g,prefix:h},y,{format:v,onBlur:function(e){var n,a=!(n=e.target.value)||isNaN(n)?null:parseFloat(n);t.onChange&&!Ae(f,b,a)&&(e.target.value=null)}})))}),800));var De=n(24159),Ze=n.n(De),Ie=n(94655),Le=n.n(Ie);function Te(){var t=d()(["\n && {\n ","\n }\n"]);return Te=function(){return t},t}const Re=p.ZP.input.attrs((function(t){return{type:"tel"}})).withConfig({displayName:"StyledPhoneEdit"})(Te(),i.k9);function ze(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function Fe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(n),!0).forEach((function(e){C()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ye(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,a=Jt()(t);if(e){var r=Jt()(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return Gt()(this,n)}}const Be=function(t){Xt()(o,t);var e,a=Ye(o);function o(t){var e;Bt()(this,o),e=a.call(this,t),C()(Ht()(e),"componentIsUnmounted",!1),C()(Ht()(e),"FALLBACK_DEFAULT_COUNTRY","CH"),C()(Ht()(e),"amountOfSpacesBeforeCaret",(function(t,e){var n=t.substring(0,e-1).match(/\s/g);return n?n.length:0})),C()(Ht()(e),"repositionCaret",(function(t,n,a){if(a&&t.length!==a){var r=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n),i=new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(t),o=e.amountOfSpacesBeforeCaret(r,a),l=e.amountOfSpacesBeforeCaret(i,a)-o;window.requestAnimationFrame(function(){var t=a+l;this.setSelectionRange(t,t)}.bind(e.inputElement.current))}})),C()(Ht()(e),"removeSpaces",(function(t){return t.replace(/\s/g,"")})),C()(Ht()(e),"handleChange",(function(t){var n=t.target.value,a=e.state.libPhoneImport,r=a?a.parseNumber(n,e.state.defaultCountry):n,i=u()(r)?e.removeSpaces(new e.state.libPhoneImport.AsYouType(e.state.defaultCountry).input(n)):a.formatNumber(r,"E.164");e.props.onChange(i);var o=t.target.selectionStart;e.repositionCaret(n,e.props.value,o)})),C()(Ht()(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=jt()(t,"options.defaultCountry")||e.FALLBACK_DEFAULT_COUNTRY;return e.state={libPhoneImport:null,defaultCountry:n},e.importLibPhoneNumber(),e.inputElement=r().createRef(),e}return Wt()(o,[{key:"importLibPhoneNumber",value:(e=Le()(Ze().mark((function t(){var e;return Ze().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.e(877).then(n.bind(n,93512));case 2:e=t.sent,this.componentIsUnmounted||this.setState(Fe(Fe({},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 r().createElement(i.gg,{immutable:this.props.immutable},r().createElement(Re,{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&&r().createElement(i.Wg,null,r().createElement(vt.Z,{href:"tel:".concat(this.props.value),icon:"phone",tabIndex:-1,neutral:!0})))}}]),o}(r().Component);const Ue=function(t){return r().createElement(Ee.Z,l()({id:t.id,isMulti:!1,immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const We=function(t){return r().createElement(Ee.Z,l()({immutable:t.immutable,onChange:t.onChange,value:t.value},t.options))};const Ve=function(t){return r().createElement(Ee.Z,l()({id:t.id,immutable:t.immutable,isMulti:!1,onChange:t.onChange,value:t.value,openMenuOnClick:!0},t.options))};function He(){var t=d()(["\n && {\n ","\n }\n"]);return He=function(){return t},t}const qe=p.ZP.input.attrs((function(t){return{type:"text"}})).withConfig({displayName:"StyledStringEdit"})(He(),i.k9);const Xe=Pt.Z.Debouncer((function(t){return r().createElement(i.gg,{immutable:t.immutable},r().createElement(qe,{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 Ke=n(70536),Ge=n.n(Ke);const Qe=function(){var t,e=(null===(t=navigator)||void 0===t?void 0:t.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(e)};function Je(){var t=d()(["\n ","\n resize: none;\n margin: 0;\n min-height: 4em;\n"]);return Je=function(){return t},t}function $e(){var t=d()(["\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 $e=function(){return t},t}function tn(){var t=d()(["\n ","\n width: 100%;\n grid-area: 1 / 1 / 2 / 2;\n max-height: 25rem;\n box-sizing: border-box;\n"]);return tn=function(){return t},t}var en=(0,p.iv)(tn(),i.k9),nn=p.ZP.div.withConfig({displayName:"StyledSizeWrapper"})($e(),en),an=p.ZP.textarea.withConfig({displayName:"StyledTextarea"})(Je(),en);const rn=function(t){var e=t.value,n=t.onChange,i=t.name,o=t.id,l=t.disabled,c=t.immutable,u=(0,a.useState)(e),s=U()(u,2),f=s[0],m=s[1],d=!Qe(),p=(0,a.useCallback)(Ge()(m,500,{trailing:!0}),[]);return(0,a.useEffect)((function(){d&&p(e)}),[e,d,p]),r().createElement(nn,d?{"data-replicated-value":f}:{},r().createElement(an,{value:e,name:i,id:o,onChange:n,disabled:l,immutable:c,rows:"1"}))};const on=Pt.Z.Debouncer((function(t){return r().createElement(i.gg,{immutable:t.immutable},r().createElement(rn,{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 ln=n(77995);function cn(){var t=d()(["\n && {\n ","\n }\n"]);return cn=function(){return t},t}const un=p.ZP.input.attrs((function(t){return{type:"time"}})).withConfig({displayName:"StyledTimeEdit"})(cn(),i.k9);const sn=function(t){var e=!!window.sidebar,n=t.value&&!t.immutable&&!e,a=t.value||"";return r().createElement(i.gg,{immutable:t.immutable},r().createElement(un,{disabled:t.immutable,id:t.id,immutable:t.immutable,name:t.name,onChange:function(e){t.onChange(e.target.value)},value:a}),n&&r().createElement(i.Wg,null,r().createElement(ln.Z,{icon:"times",onClick:function(){t.onChange(null)},tabIndex:-1})))};function fn(){var t=d()(["\n && {\n ","\n }\n"]);return fn=function(){return t},t}const mn=p.ZP.input.attrs((function(t){return{type:"url"}})).withConfig({displayName:"StyledUrlEdit"})(fn(),i.k9);var dn={boolean:v,code:k,date:T,datetime:Y,document:St,duration:Ft,html:oe,integer:me,location:ke,"multi-remote":Ce,"multi-select":Oe,number:Me,phone:Be,remote:Ue,"search-filter":We,"single-select":Ve,string:Xe,text:on,url:Pt.Z.Debouncer((function(t){return r().createElement(i.gg,{immutable:t.immutable},r().createElement(mn,{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&&r().createElement(i.Wg,null,r().createElement(vt.Z,{href:t.value,icon:"external-link",look:"ball",tabIndex:-1,target:"_blank",neutral:!0})))})),time:sn};const pn=function(t){var e=t.type,n=t.value,a=t.options,i=t.id,o=t.events,c=t.readOnly,s=void 0!==c&&c;if(dn[e]){var m,d=dn[e];if(o&&o.onBlur){var p=o.onBlur;o.onBlur=function(){return p(void 0!==m?m:n)}}return r().createElement("div",l()({},f()(o,"onChange"),{"data-cy":"form-field"}),r().createElement(d,l()({value:n,onChange:function(t){m=t,o.onChange(t)}},u()(a)?{}:{options:a},{id:i,immutable:s,events:o})))}return console.log("No type-editor defined for type",e),null};const gn=function(t){return r().createElement(i.ZP,null,r().createElement(pn,t))}}}]);
|