tocco-admin 1.0.18 → 1.0.21
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 +17 -0
- package/dist/chunk-229.2ea952f1867a78801d4b.js +1 -0
- package/dist/{chunk-314.06fbc31e051912aa797d.js → chunk-314.fd36699dbd136490aa1f.js} +1 -2
- package/dist/{chunk-378.d89c9e1aceb1eda54046.js → chunk-333.6e7bb6ee20346be796e1.js} +1 -2
- package/dist/chunk-335.7cef6cf94cd9ea8910eb.js +1 -0
- package/dist/chunk-342.8f3c7176df159e2a140e.js +6 -0
- package/dist/chunk-404.34b136a50b9cf1357c4f.js +1 -0
- package/dist/{chunk-413.a87d7653543f87fb986b.js → chunk-413.8f9875231f3ea3dc91b3.js} +1 -2
- package/dist/{chunk-51.6b8c9d2c2b4f89de46ce.js → chunk-51.ff992f4a4488d7d44357.js} +1 -2
- package/dist/{chunk-696.c28466168bbf1bd96ac6.js → chunk-696.4246384f89ce1ee8933f.js} +1 -2
- package/dist/{chunk-82.31084b7daa6e3ae23a98.js → chunk-82.fe992385267f6eb716e8.js} +1 -2
- package/dist/chunk-actions.66c72d85dd44315566fe.js +1 -0
- package/dist/chunk-code-editor.64a44ea8d4fed4580847.js +1 -0
- package/dist/{chunk-vendor-fontawesome.f71ea56f6b7b560a21a4.js → chunk-vendor-fontawesome.7d3f7dd081d6f37ee4c9.js} +1 -1
- package/dist/chunk-vendor-icons.c1cc12e8f9e141eb191b.js +1 -0
- package/dist/index.js +3 -4
- package/package.json +1 -2
- package/dist/chunk-163.c0d9544ec345494b1a2e.js +0 -7
- package/dist/chunk-163.c0d9544ec345494b1a2e.js.map +0 -1
- package/dist/chunk-314.06fbc31e051912aa797d.js.map +0 -1
- package/dist/chunk-368.fdad57fbc3465d09373f.js +0 -2
- package/dist/chunk-368.fdad57fbc3465d09373f.js.map +0 -1
- package/dist/chunk-378.d89c9e1aceb1eda54046.js.map +0 -1
- package/dist/chunk-395.e670367a30bd131e5c51.js +0 -2
- package/dist/chunk-395.e670367a30bd131e5c51.js.map +0 -1
- package/dist/chunk-413.a87d7653543f87fb986b.js.map +0 -1
- package/dist/chunk-51.6b8c9d2c2b4f89de46ce.js.map +0 -1
- package/dist/chunk-696.c28466168bbf1bd96ac6.js.map +0 -1
- package/dist/chunk-82.31084b7daa6e3ae23a98.js.map +0 -1
- package/dist/chunk-actions.3b4aac3f72ded7dcb505.js +0 -2
- package/dist/chunk-actions.3b4aac3f72ded7dcb505.js.map +0 -1
- package/dist/chunk-code-editor.73b0f627952f5dd27561.js +0 -2
- package/dist/chunk-code-editor.73b0f627952f5dd27561.js.map +0 -1
- package/dist/chunk-docs-actions.f33942c4f1459f1d1376.js +0 -2
- package/dist/chunk-docs-actions.f33942c4f1459f1d1376.js.map +0 -1
- package/dist/chunk-vendor-icons.dafd17ccd5a526750a0a.js +0 -1
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[342],{75597:t=>{"use strict";t.exports=function(){}},41143:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,c){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,c],f=0;(u=new Error(e.replace(/%s/g,(function(){return s[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},280:(t,e,n)=>{var r=n(5569)(Object.keys,Object);t.exports=r},41609:(t,e,n)=>{var r=n(280),o=n(64160),i=n(35694),a=n(1469),c=n(98612),u=n(44144),s=n(25726),f=n(36719),l=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(c(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||f(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(s(t))return!r(t).length;for(var n in t)if(l.call(t,n))return!1;return!0}},35937:(t,e,n)=>{var r=n(29932),o=n(67206),i=n(63012),a=n(46904);t.exports=function(t,e){if(null==t)return{};var n=r(a(t),(function(t){return[t]}));return e=o(e),i(t,n,(function(t,n){return e(t,n[0])}))}},27418:t=>{"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,i){for(var a,c,u=o(t),s=1;s<arguments.length;s++){for(var f in a=Object(arguments[s]))n.call(a,f)&&(u[f]=a[f]);if(e){c=e(a);for(var l=0;l<c.length;l++)r.call(a,c[l])&&(u[c[l]]=a[c[l]])}}return u}},64593:(t,e,n)=>{"use strict";n.d(e,{q:()=>vt});var r,o,i,a,c=n(89324),u=n.n(c),s=n(83524),f=n.n(s),l=n(69590),p=n.n(l),h=n(1024),d=n.n(h),v=n(27418),y=n.n(v),m="bodyAttributes",g="htmlAttributes",b="titleAttributes",w={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},T=(Object.keys(w).map((function(t){return w[t]})),"charset"),O="cssText",x="href",E="http-equiv",C="innerHTML",A="itemprop",P="name",S="property",j="rel",k="src",R="target",_={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},L="defaultTitle",I="defer",U="encodeSpecialCharacters",M="onChangeClientState",N="titleTemplate",H=Object.keys(_).reduce((function(t,e){return t[_[e]]=e,t}),{}),D=[w.NOSCRIPT,w.SCRIPT,w.STYLE],W="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},q=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},F=function(){function t(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)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},$=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},Y=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},K=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===e?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Z=function(t){var e=G(t,w.TITLE),n=G(t,N);if(n&&e)return n.replace(/%s/g,(function(){return Array.isArray(e)?e.join(""):e}));var r=G(t,L);return e||r||void 0},V=function(t){return G(t,M)||function(){}},z=function(t,e){return e.filter((function(e){return void 0!==e[t]})).map((function(e){return e[t]})).reduce((function(t,e){return B({},t,e)}),{})},J=function(t,e){return e.filter((function(t){return void 0!==t[w.BASE]})).map((function(t){return t[w.BASE]})).reverse().reduce((function(e,n){if(!e.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==t.indexOf(i)&&n[i])return e.concat(n)}return e}),[])},X=function(t,e,n){var r={};return n.filter((function(e){return!!Array.isArray(e[t])||(void 0!==e[t]&&rt("Helmet: "+t+' should be of type "Array". Instead found type "'+W(e[t])+'"'),!1)})).map((function(e){return e[t]})).reverse().reduce((function(t,n){var o={};n.filter((function(t){for(var n=void 0,i=Object.keys(t),a=0;a<i.length;a++){var c=i[a],u=c.toLowerCase();-1===e.indexOf(u)||n===j&&"canonical"===t[n].toLowerCase()||u===j&&"stylesheet"===t[u].toLowerCase()||(n=u),-1===e.indexOf(c)||c!==C&&c!==O&&c!==A||(n=c)}if(!n||!t[n])return!1;var s=t[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][s]&&(o[n][s]=!0,!0)})).reverse().forEach((function(e){return t.push(e)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var c=i[a],u=y()({},r[c],o[c]);r[c]=u}return t}),[]).reverse()},G=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.hasOwnProperty(e))return r[e]}return null},Q=(r=Date.now(),function(t){var e=Date.now();e-r>16?(r=e,t(e)):setTimeout((function(){Q(t)}),0)}),tt=function(t){return clearTimeout(t)},et="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Q:n.g.requestAnimationFrame||Q,nt="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||tt:n.g.cancelAnimationFrame||tt,rt=function(t){return console&&"function"==typeof console.warn&&console.warn(t)},ot=null,it=function(t,e){var n=t.baseTag,r=t.bodyAttributes,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,u=t.onChangeClientState,s=t.scriptTags,f=t.styleTags,l=t.title,p=t.titleAttributes;ut(w.BODY,r),ut(w.HTML,o),ct(l,p);var h={baseTag:st(w.BASE,n),linkTags:st(w.LINK,i),metaTags:st(w.META,a),noscriptTags:st(w.NOSCRIPT,c),scriptTags:st(w.SCRIPT,s),styleTags:st(w.STYLE,f)},d={},v={};Object.keys(h).forEach((function(t){var e=h[t],n=e.newTags,r=e.oldTags;n.length&&(d[t]=n),r.length&&(v[t]=h[t].oldTags)})),e&&e(),u(t,d,v)},at=function(t){return Array.isArray(t)?t.join(""):t},ct=function(t,e){void 0!==t&&document.title!==t&&(document.title=at(t)),ut(w.TITLE,e)},ut=function(t,e){var n=document.getElementsByTagName(t)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(e),c=0;c<a.length;c++){var u=a[c],s=e[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===o.indexOf(u)&&o.push(u);var f=i.indexOf(u);-1!==f&&i.splice(f,1)}for(var l=i.length-1;l>=0;l--)n.removeAttribute(i[l]);o.length===i.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==a.join(",")&&n.setAttribute("data-react-helmet",a.join(","))}},st=function(t,e){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(t+"[data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return e&&e.length&&e.forEach((function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if(r===C)n.innerHTML=e.innerHTML;else if(r===O)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var c=void 0===e[r]?"":e[r];n.setAttribute(r,c)}n.setAttribute("data-react-helmet","true"),o.some((function(t,e){return a=e,n.isEqualNode(t)}))?o.splice(a,1):i.push(n)})),o.forEach((function(t){return t.parentNode.removeChild(t)})),i.forEach((function(t){return n.appendChild(t)})),{oldTags:o,newTags:i}},ft=function(t){return Object.keys(t).reduce((function(e,n){var r=void 0!==t[n]?n+'="'+t[n]+'"':""+n;return e?e+" "+r:r}),"")},lt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[_[n]||n]=t[n],e}),e)},pt=function(t,e,n){switch(t){case w.TITLE:return{toComponent:function(){return t=e.title,n=e.titleAttributes,(r={key:t})["data-react-helmet"]=!0,o=lt(n,r),[d().createElement(w.TITLE,o,t)];var t,n,r,o},toString:function(){return function(t,e,n,r){var o=ft(n),i=at(e);return o?"<"+t+' data-react-helmet="true" '+o+">"+K(i,r)+"</"+t+">":"<"+t+' data-react-helmet="true">'+K(i,r)+"</"+t+">"}(t,e.title,e.titleAttributes,n)}};case m:case g:return{toComponent:function(){return lt(e)},toString:function(){return ft(e)}};default:return{toComponent:function(){return function(t,e){return e.map((function(e,n){var r,o=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(e).forEach((function(t){var n=_[t]||t;if(n===C||n===O){var r=e.innerHTML||e.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=e[t]})),d().createElement(t,o)}))}(t,e)},toString:function(){return function(t,e,n){return e.reduce((function(e,r){var o=Object.keys(r).filter((function(t){return!(t===C||t===O)})).reduce((function(t,e){var o=void 0===r[e]?e:e+'="'+K(r[e],n)+'"';return t?t+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===D.indexOf(t);return e+"<"+t+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+t+">")}),"")}(t,e,n)}}}},ht=function(t){var e=t.baseTag,n=t.bodyAttributes,r=t.encode,o=t.htmlAttributes,i=t.linkTags,a=t.metaTags,c=t.noscriptTags,u=t.scriptTags,s=t.styleTags,f=t.title,l=void 0===f?"":f,p=t.titleAttributes;return{base:pt(w.BASE,e,r),bodyAttributes:pt(m,n,r),htmlAttributes:pt(g,o,r),link:pt(w.LINK,i,r),meta:pt(w.META,a,r),noscript:pt(w.NOSCRIPT,c,r),script:pt(w.SCRIPT,u,r),style:pt(w.STYLE,s,r),title:pt(w.TITLE,{title:l,titleAttributes:p},r)}},dt=f()((function(t){return{baseTag:J([x,R],t),bodyAttributes:z(m,t),defer:G(t,I),encode:G(t,U),htmlAttributes:z(g,t),linkTags:X(w.LINK,[j,x],t),metaTags:X(w.META,[P,T,E,S,A],t),noscriptTags:X(w.NOSCRIPT,[C],t),onChangeClientState:V(t),scriptTags:X(w.SCRIPT,[k,C],t),styleTags:X(w.STYLE,[O],t),title:Z(t),titleAttributes:z(b,t)}}),(function(t){ot&&nt(ot),t.defer?ot=et((function(){it(t,(function(){ot=null}))})):(it(t),ot=null)}),ht)((function(){return null})),vt=(o=dt,a=i=function(t){function e(){return q(this,e),Y(this,t.apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.shouldComponentUpdate=function(t){return!p()(this.props,t)},e.prototype.mapNestedChildrenToProps=function(t,e){if(!e)return null;switch(t.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:e};case w.STYLE:return{cssText:e}}throw new Error("<"+t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},e.prototype.flattenArrayTypeChildren=function(t){var e,n=t.child,r=t.arrayTypeChildren,o=t.newChildProps,i=t.nestedChildren;return B({},r,((e={})[n.type]=[].concat(r[n.type]||[],[B({},o,this.mapNestedChildrenToProps(n,i))]),e))},e.prototype.mapObjectTypeChildren=function(t){var e,n,r=t.child,o=t.newProps,i=t.newChildProps,a=t.nestedChildren;switch(r.type){case w.TITLE:return B({},o,((e={})[r.type]=a,e.titleAttributes=B({},i),e));case w.BODY:return B({},o,{bodyAttributes:B({},i)});case w.HTML:return B({},o,{htmlAttributes:B({},i)})}return B({},o,((n={})[r.type]=B({},i),n))},e.prototype.mapArrayTypeChildrenToProps=function(t,e){var n=B({},e);return Object.keys(t).forEach((function(e){var r;n=B({},n,((r={})[e]=t[e],r))})),n},e.prototype.warnOnInvalidChildren=function(t,e){return!0},e.prototype.mapChildrenToProps=function(t,e){var n=this,r={};return d().Children.forEach(t,(function(t){if(t&&t.props){var o=t.props,i=o.children,a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((function(e,n){return e[H[n]||n]=t[n],e}),e)}($(o,["children"]));switch(n.warnOnInvalidChildren(t,i),t.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:t,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:e=n.mapObjectTypeChildren({child:t,newProps:e,newChildProps:a,nestedChildren:i})}}})),e=this.mapArrayTypeChildrenToProps(r,e)},e.prototype.render=function(){var t=this.props,e=t.children,n=$(t,["children"]),r=B({},n);return e&&(r=this.mapChildrenToProps(e,r)),d().createElement(o,r)},F(e,null,[{key:"canUseDOM",set:function(t){o.canUseDOM=t}}]),e}(d().Component),i.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var t=o.rewind();return t||(t=ht({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},a);vt.renderStatic=vt.rewind},17579:(t,e,n)=>{"use strict";var r=n(80070);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},89324:(t,e,n)=>{t.exports=n(17579)()},80070:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},96559:(t,e,n)=>{"use strict";n.d(e,{rU:()=>U});var r=n(80467);function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e)}var a=n(1024),c=n.n(a);function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t){return"/"===t.charAt(0)}function f(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}const l=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&s(t),a=e&&s(e),c=i||a;if(t&&s(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,p=o.length;p>=0;p--){var h=o[p];"."===h?f(o,p):".."===h?(f(o,p),l++):l&&(f(o,p),l--)}if(!c)for(;l--;l)o.unshift("..");!c||""===o[0]||o[0]&&s(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};var p=n(2177);function h(t){return"/"===t.charAt(0)?t:"/"+t}function d(t){return"/"===t.charAt(0)?t.substr(1):t}function v(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function y(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function m(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function g(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=u({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function b(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function T(t,e){e(window.confirm(t))}function O(){try{return window.history.state||{}}catch(t){return{}}}function x(t){void 0===t&&(t={}),w||(0,p.Z)(!1);var e,n=window.history,r=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=t,a=i.forceRefresh,c=void 0!==a&&a,s=i.getUserConfirmation,f=void 0===s?T:s,l=i.keyLength,d=void 0===l?6:l,x=t.basename?y(h(t.basename)):"";function E(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname+o.search+o.hash;return x&&(i=v(i,x)),g(i,r,n)}function C(){return Math.random().toString(36).substr(2,d)}var A=b();function P(t){u(D,t),D.length=n.length,A.notifyListeners(D.location,D.action)}function S(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||R(E(t.state))}function j(){R(E(O()))}var k=!1;function R(t){if(k)k=!1,P();else{A.confirmTransitionTo(t,"POP",f,(function(e){e?P({action:"POP",location:t}):function(t){var e=D.location,n=L.indexOf(e.key);-1===n&&(n=0);var r=L.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(k=!0,U(o))}(t)}))}}var _=E(O()),L=[_.key];function I(t){return x+m(t)}function U(t){n.go(t)}var M=0;function N(t){1===(M+=t)&&1===t?(window.addEventListener("popstate",S),o&&window.addEventListener("hashchange",j)):0===M&&(window.removeEventListener("popstate",S),o&&window.removeEventListener("hashchange",j))}var H=!1;var D={length:n.length,action:"POP",location:_,createHref:I,push:function(t,e){var o=g(t,e,C(),D.location);A.confirmTransitionTo(o,"PUSH",f,(function(t){if(t){var e=I(o),i=o.key,a=o.state;if(r)if(n.pushState({key:i,state:a},null,e),c)window.location.href=e;else{var u=L.indexOf(D.location.key),s=L.slice(0,u+1);s.push(o.key),L=s,P({action:"PUSH",location:o})}else window.location.href=e}}))},replace:function(t,e){var o=g(t,e,C(),D.location);A.confirmTransitionTo(o,"REPLACE",f,(function(t){if(t){var e=I(o),i=o.key,a=o.state;if(r)if(n.replaceState({key:i,state:a},null,e),c)window.location.replace(e);else{var u=L.indexOf(D.location.key);-1!==u&&(L[u]=o.key),P({action:"REPLACE",location:o})}else window.location.replace(e)}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(t){void 0===t&&(t=!1);var e=A.setPrompt(t);return H||(N(1),H=!0),function(){return H&&(H=!1,N(-1)),e()}},listen:function(t){var e=A.appendListener(t);return N(1),function(){N(-1),e()}}};return D}var E={hashbang:{encodePath:function(t){return"!"===t.charAt(0)?t:"!/"+d(t)},decodePath:function(t){return"!"===t.charAt(0)?t.substr(1):t}},noslash:{encodePath:d,decodePath:h},slash:{encodePath:h,decodePath:h}};function C(t){var e=t.indexOf("#");return-1===e?t:t.slice(0,e)}function A(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)}function P(t){window.location.replace(C(window.location.href)+"#"+t)}function S(t){void 0===t&&(t={}),w||(0,p.Z)(!1);var e=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),t),r=n.getUserConfirmation,o=void 0===r?T:r,i=n.hashType,a=void 0===i?"slash":i,c=t.basename?y(h(t.basename)):"",s=E[a],f=s.encodePath,l=s.decodePath;function d(){var t=l(A());return c&&(t=v(t,c)),g(t)}var O=b();function x(t){u(D,t),D.length=e.length,O.notifyListeners(D.location,D.action)}var S=!1,j=null;function k(){var t,e,n=A(),r=f(n);if(n!==r)P(r);else{var i=d(),a=D.location;if(!S&&(e=i,(t=a).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash))return;if(j===m(i))return;j=null,function(t){if(S)S=!1,x();else{O.confirmTransitionTo(t,"POP",o,(function(e){e?x({action:"POP",location:t}):function(t){var e=D.location,n=I.lastIndexOf(m(e));-1===n&&(n=0);var r=I.lastIndexOf(m(t));-1===r&&(r=0);var o=n-r;o&&(S=!0,U(o))}(t)}))}}(i)}}var R=A(),_=f(R);R!==_&&P(_);var L=d(),I=[m(L)];function U(t){e.go(t)}var M=0;function N(t){1===(M+=t)&&1===t?window.addEventListener("hashchange",k):0===M&&window.removeEventListener("hashchange",k)}var H=!1;var D={length:e.length,action:"POP",location:L,createHref:function(t){var e=document.querySelector("base"),n="";return e&&e.getAttribute("href")&&(n=C(window.location.href)),n+"#"+f(c+m(t))},push:function(t,e){var n=g(t,void 0,void 0,D.location);O.confirmTransitionTo(n,"PUSH",o,(function(t){if(t){var e=m(n),r=f(c+e);if(A()!==r){j=e,function(t){window.location.hash=t}(r);var o=I.lastIndexOf(m(D.location)),i=I.slice(0,o+1);i.push(e),I=i,x({action:"PUSH",location:n})}else x()}}))},replace:function(t,e){var n=g(t,void 0,void 0,D.location);O.confirmTransitionTo(n,"REPLACE",o,(function(t){if(t){var e=m(n),r=f(c+e);A()!==r&&(j=e,P(r));var o=I.indexOf(m(D.location));-1!==o&&(I[o]=e),x({action:"REPLACE",location:n})}}))},go:U,goBack:function(){U(-1)},goForward:function(){U(1)},block:function(t){void 0===t&&(t=!1);var e=O.setPrompt(t);return H||(N(1),H=!0),function(){return H&&(H=!1,N(-1)),e()}},listen:function(t){var e=O.appendListener(t);return N(1),function(){N(-1),e()}}};return D}n(94662);function j(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}c().Component;c().Component;var k=function(t,e){return"function"==typeof t?t(e):t},R=function(t,e){return"string"==typeof t?g(t,null,null,e):t},_=function(t){return t},L=c().forwardRef;void 0===L&&(L=_);var I=L((function(t,e){var n=t.innerRef,r=t.navigate,o=t.onClick,i=j(t,["innerRef","navigate","onClick"]),a=i.target,s=u({},i,{onClick:function(t){try{o&&o(t)}catch(e){throw t.preventDefault(),e}t.defaultPrevented||0!==t.button||a&&"_self"!==a||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||(t.preventDefault(),r())}});return s.ref=_!==L&&e||n,c().createElement("a",s)}));var U=L((function(t,e){var n=t.component,o=void 0===n?I:n,i=t.replace,a=t.to,s=t.innerRef,f=j(t,["component","replace","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(t){t||(0,p.Z)(!1);var n=t.history,r=R(k(a,t.location),t.location),l=r?n.createHref(r):"",h=u({},f,{href:l,navigate:function(){var e=k(a,t.location),r=m(t.location)===m(R(e));(i||r?n.replace:n.push)(e)}});return _!==L?h.ref=e||s:h.innerRef=s,c().createElement(o,h)}))})),M=function(t){return t},N=c().forwardRef;void 0===N&&(N=M);N((function(t,e){var n=t["aria-current"],o=void 0===n?"page":n,i=t.activeClassName,a=void 0===i?"active":i,s=t.activeStyle,f=t.className,l=t.exact,h=t.isActive,d=t.location,v=t.sensitive,y=t.strict,m=t.style,g=t.to,b=t.innerRef,w=j(t,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return c().createElement(r.s6.Consumer,null,(function(t){t||(0,p.Z)(!1);var n=d||t.location,i=R(k(g,n),n),T=i.pathname,O=T&&T.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=O?(0,r.LX)(n.pathname,{path:O,exact:l,sensitive:v,strict:y}):null,E=!!(h?h(x,n):x),C="function"==typeof f?f(E):f,A="function"==typeof m?m(E):m;E&&(C=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).join(" ")}(C,a),A=u({},A,s));var P=u({"aria-current":E&&o||null,className:C,style:A,to:i},w);return M!==N?P.ref=e||b:P.innerRef=b,c().createElement(U,P)}))}))},126:(t,e,n)=>{"use strict";var r=n(51235);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},94662:(t,e,n)=>{t.exports=n(126)()},51235:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},80467:(t,e,n)=>{"use strict";function r(t,e){return(r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{NL:()=>R,l_:()=>U,AW:()=>D,F0:()=>j,rs:()=>Y,s6:()=>S,LX:()=>H,k6:()=>Z,TH:()=>V,UO:()=>z});var i=n(1024),a=n.n(i),c=n(88462),u=n.n(c);function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function f(t){return"/"===t.charAt(0)}function l(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}const p=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&f(t),a=e&&f(e),c=i||a;if(t&&f(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var u=o[o.length-1];n="."===u||".."===u||""===u}else n=!1;for(var s=0,p=o.length;p>=0;p--){var h=o[p];"."===h?l(o,p):".."===h?(l(o,p),s++):s&&(l(o,p),s--)}if(!c)for(;s--;s)o.unshift("..");!c||""===o[0]||o[0]&&f(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function h(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}const d=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"==typeof e||"object"==typeof n){var r=h(e),o=h(n);return r!==e||o!==n?t(r,o):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1};function v(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function y(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(o=s({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=p(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function m(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"==typeof t?t(e,n):t;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach((function(t){return t.apply(void 0,n)}))}}}"undefined"==typeof window||!window.document||window.document.createElement;function g(t,e,n){return Math.min(Math.max(t,e),n)}function b(t){void 0===t&&(t={});var e=t,n=e.getUserConfirmation,r=e.initialEntries,o=void 0===r?["/"]:r,i=e.initialIndex,a=void 0===i?0:i,c=e.keyLength,u=void 0===c?6:c,f=m();function l(t){s(T,t),T.length=T.entries.length,f.notifyListeners(T.location,T.action)}function p(){return Math.random().toString(36).substr(2,u)}var h=g(a,0,o.length-1),d=o.map((function(t){return y(t,void 0,"string"==typeof t?p():t.key||p())})),b=v;function w(t){var e=g(T.index+t,0,T.entries.length-1),r=T.entries[e];f.confirmTransitionTo(r,"POP",n,(function(t){t?l({action:"POP",location:r,index:e}):l()}))}var T={length:d.length,action:"POP",location:d[h],index:h,entries:d,createHref:b,push:function(t,e){var r=y(t,e,p(),T.location);f.confirmTransitionTo(r,"PUSH",n,(function(t){if(t){var e=T.index+1,n=T.entries.slice(0);n.length>e?n.splice(e,n.length-e,r):n.push(r),l({action:"PUSH",location:r,index:e,entries:n})}}))},replace:function(t,e){var r=y(t,e,p(),T.location);f.confirmTransitionTo(r,"REPLACE",n,(function(t){t&&(T.entries[T.index]=r,l({action:"REPLACE",location:r}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(t){var e=T.index+t;return e>=0&&e<T.entries.length},block:function(t){return void 0===t&&(t=!1),f.setPrompt(t)},listen:function(t){return f.appendListener(t)}};return T}var w="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function T(t){var e=[];return{on:function(t){e.push(t)},off:function(t){e=e.filter((function(e){return e!==t}))},get:function(){return t},set:function(n,r){t=n,e.forEach((function(e){return e(t,r)}))}}}const O=a().createContext||function(t,e){var n,r,a="__create-react-context-"+function(){var t="__global_unique_id__";return w[t]=(w[t]||0)+1}()+"__",c=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).emitter=T(e.props.value),e}o(n,t);var r=n.prototype;return r.getChildContext=function(){var t;return(t={})[a]=this.emitter,t},r.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n,r=this.props.value,o=t.value;((i=r)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?n=0:(n="function"==typeof e?e(r,o):1073741823,0!==(n|=0)&&this.emitter.set(t.value,n))}var i,a},r.render=function(){return this.props.children},n}(i.Component);c.childContextTypes=((n={})[a]=u().object.isRequired,n);var s=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).state={value:t.getValue()},t.onUpdate=function(e,n){0!=((0|t.observedBits)&n)&&t.setState({value:t.getValue()})},t}o(n,e);var r=n.prototype;return r.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?1073741823:e},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?1073741823:t},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():t},r.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(i.Component);return s.contextTypes=((r={})[a]=u().object,r),{Provider:c,Consumer:s}};var x=n(2177),E=n(39658),C=n.n(E);n(59864);n(8679);var A=function(t){var e=O();return e.displayName=t,e},P=A("Router-History"),S=A("Router"),j=function(t){function e(e){var n;return(n=t.call(this,e)||this).state={location:e.history.location},n._isMounted=!1,n._pendingLocation=null,e.staticContext||(n.unlisten=e.history.listen((function(t){n._isMounted?n.setState({location:t}):n._pendingLocation=t}))),n}o(e,t),e.computeRootMatch=function(t){return{path:"/",url:"/",params:{},isExact:"/"===t}};var n=e.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a().createElement(S.Provider,{value:{history:this.props.history,location:this.state.location,match:e.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a().createElement(P.Provider,{children:this.props.children||null,value:this.props.history}))},e}(a().Component);a().Component;var k=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var n=e.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(t){this.props.onUpdate&&this.props.onUpdate.call(this,this,t)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},e}(a().Component);function R(t){var e=t.message,n=t.when,r=void 0===n||n;return a().createElement(S.Consumer,null,(function(t){if(t||(0,x.Z)(!1),!r||t.staticContext)return null;var n=t.history.block;return a().createElement(k,{onMount:function(t){t.release=n(e)},onUpdate:function(t,r){r.message!==e&&(t.release(),t.release=n(e))},onUnmount:function(t){t.release()},message:e})}))}var _={},L=0;function I(t,e){return void 0===t&&(t="/"),void 0===e&&(e={}),"/"===t?t:function(t){if(_[t])return _[t];var e=C().compile(t);return L<1e4&&(_[t]=e,L++),e}(t)(e,{pretty:!0})}function U(t){var e=t.computedMatch,n=t.to,r=t.push,o=void 0!==r&&r;return a().createElement(S.Consumer,null,(function(t){t||(0,x.Z)(!1);var r=t.history,i=t.staticContext,c=o?r.push:r.replace,u=y(e?"string"==typeof n?I(n,e.params):s({},n,{pathname:I(n.pathname,e.params)}):n);return i?(c(u),null):a().createElement(k,{onMount:function(){c(u)},onUpdate:function(t,e){var n,r,o=y(e.to);n=o,r=s({},u,{key:o.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&d(n.state,r.state)||c(u)},to:n})}))}var M={},N=0;function H(t,e){void 0===e&&(e={}),("string"==typeof e||Array.isArray(e))&&(e={path:e});var n=e,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,c=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(e,n){if(!n&&""!==n)return null;if(e)return e;var r=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=M[n]||(M[n]={});if(r[t])return r[t];var o=[],i={regexp:C()(t,o,e),keys:o};return N<1e4&&(r[t]=i,N++),i}(n,{end:i,strict:c,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(t);if(!u)return null;var f=u[0],l=u.slice(1),p=t===f;return i&&!p?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:p,params:a.reduce((function(t,e,n){return t[e.name]=l[n],t}),{})}}),null)}var D=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(S.Consumer,null,(function(e){e||(0,x.Z)(!1);var n=t.props.location||e.location,r=s({},e,{location:n,match:t.props.computedMatch?t.props.computedMatch:t.props.path?H(n.pathname,t.props):e.match}),o=t.props,i=o.children,c=o.component,u=o.render;return Array.isArray(i)&&function(t){return 0===a().Children.count(t)}(i)&&(i=null),a().createElement(S.Provider,{value:r},r.match?i?"function"==typeof i?i(r):i:c?a().createElement(c,r):u?u(r):null:"function"==typeof i?i(r):null)}))},e}(a().Component);function W(t){return"/"===t.charAt(0)?t:"/"+t}function q(t,e){if(!t)return e;var n=W(t);return 0!==e.pathname.indexOf(n)?e:s({},e,{pathname:e.pathname.substr(n.length)})}function F(t){return"string"==typeof t?t:v(t)}function B(t){return function(){(0,x.Z)(!1)}}function $(){}a().Component;var Y=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(){var t=this;return a().createElement(S.Consumer,null,(function(e){e||(0,x.Z)(!1);var n,r,o=t.props.location||e.location;return a().Children.forEach(t.props.children,(function(t){if(null==r&&a().isValidElement(t)){n=t;var i=t.props.path||t.props.from;r=i?H(o.pathname,s({},t.props,{path:i})):e.match}})),r?a().cloneElement(n,{location:o,computedMatch:r}):null}))},e}(a().Component);var K=a().useContext;function Z(){return K(P)}function V(){return K(S).location}function z(){var t=K(S).match;return t?t.params:{}}},76585:t=>{t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},39658:(t,e,n)=>{var r=n(76585);t.exports=h,t.exports.parse=i,t.exports.compile=function(t,e){return c(i(t,e),e)},t.exports.tokensToFunction=c,t.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(t,e){for(var n,r=[],i=0,a=0,c="",f=e&&e.delimiter||"/";null!=(n=o.exec(t));){var l=n[0],p=n[1],h=n.index;if(c+=t.slice(a,h),a=h+l.length,p)c+=p[1];else{var d=t[a],v=n[2],y=n[3],m=n[4],g=n[5],b=n[6],w=n[7];c&&(r.push(c),c="");var T=null!=v&&null!=d&&d!==v,O="+"===b||"*"===b,x="?"===b||"*"===b,E=n[2]||f,C=m||g;r.push({name:y||i++,prefix:v||"",delimiter:E,optional:x,repeat:O,partial:T,asterisk:!!w,pattern:C?s(C):w?".*":"[^"+u(E)+"]+?"})}}return a<t.length&&(c+=t.substr(a)),c&&r.push(c),r}function a(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function c(t,e){for(var n=new Array(t.length),o=0;o<t.length;o++)"object"==typeof t[o]&&(n[o]=new RegExp("^(?:"+t[o].pattern+")$",l(e)));return function(e,o){for(var i="",c=e||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<t.length;s++){var f=t[s];if("string"!=typeof f){var l,p=c[f.name];if(null==p){if(f.optional){f.partial&&(i+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(r(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(l=u(p[h]),!n[s].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?encodeURI(p).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})):u(p),!n[s].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');i+=f.prefix+l}}else i+=f}return i}}function u(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function f(t,e){return t.keys=e,t}function l(t){return t&&t.sensitive?"":"i"}function p(t,e,n){r(e)||(n=e||n,e=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",c=0;c<t.length;c++){var s=t[c];if("string"==typeof s)a+=u(s);else{var p=u(s.prefix),h="(?:"+s.pattern+")";e.push(s),s.repeat&&(h+="(?:"+p+h+")*"),a+=h=s.optional?s.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(n.delimiter||"/"),v=a.slice(-d.length)===d;return o||(a=(v?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&v?"":"(?="+d+"|$)",f(new RegExp("^"+a,l(n)),e)}function h(t,e,n){return r(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return f(t,e)}(t,e):r(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(h(t[o],e,n).source);return f(new RegExp("(?:"+r.join("|")+")",l(n)),e)}(t,e,n):function(t,e,n){return p(i(t,n),e,n)}(t,e,n)}},45872:(t,e,n)=>{"use strict";var r=n(4795);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},88462:(t,e,n)=>{t.exports=n(45872)()},4795:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(t,e,n)=>{"use strict";var r,o=n(1024),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=function(t,e,n){if("function"!=typeof t)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof e)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var u,s=[];function f(){u=t(s.map((function(t){return t.props}))),l.canUseDOM?e(u):n&&(u=n(u))}var l=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o.peek=function(){return u},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var t=u;return u=void 0,s=[],t};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var t=s.indexOf(this);s.splice(t,1),f()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(r)+")"),a(l,"canUseDOM",c),l}}},14149:(t,e,n)=>{"use strict";function r(t){return"/"===t.charAt(0)}function o(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}n.r(e),n.d(e,{default:()=>i});const i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t&&t.split("/")||[],i=e&&e.split("/")||[],a=t&&r(t),c=e&&r(e),u=a||c;if(t&&r(t)?i=n:n.length&&(i.pop(),i=i.concat(n)),!i.length)return"/";var s=void 0;if(i.length){var f=i[i.length-1];s="."===f||".."===f||""===f}else s=!1;for(var l=0,p=i.length;p>=0;p--){var h=i[p];"."===h?o(i,p):".."===h?(o(i,p),l++):l&&(o(i,p),l--)}if(!u)for(;l--;l)i.unshift("..");!u||""===i[0]||i[0]&&r(i[0])||i.unshift("");var d=i.join("/");return s&&"/"!==d.substr(-1)&&(d+="/"),d}},2177:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var r="Invariant failed";function o(t,e){if(!t)throw new Error(r)}},54545:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});var 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};const o=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));var o=void 0===e?"undefined":r(e);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=e.valueOf(),a=n.valueOf();if(i!==e||a!==n)return t(i,a);var c=Object.keys(e),u=Object.keys(n);return c.length===u.length&&c.every((function(r){return t(e[r],n[r])}))}return!1}},13993:(t,e,n)=>{"use strict";var r=n(89349);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},97985:(t,e,n)=>{t.exports=n(13993)()},89349:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6078:(t,e,n)=>{var r=n(43069);t.exports=function(t){if(Array.isArray(t))return r(t)}},91772:t=>{t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},31503:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},7691:(t,e,n)=>{var r=n(35615);t.exports=function(t,e){if(null==t)return{};var n,o,i=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},35615:t=>{t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}},292:(t,e,n)=>{var r=n(6078),o=n(91772),i=n(27258),a=n(31503);t.exports=function(t){return r(t)||o(t)||i(t)||a()}},71518:t=>{t.exports=s,t.exports.match=function(t,e){var n=[];return r(s(t,n,e),n)},t.exports.regexpToFunction=r,t.exports.parse=n,t.exports.compile=function(t,e){return o(n(t,e),e)},t.exports.tokensToFunction=o,t.exports.tokensToRegExp=u;var e=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function n(t,n){for(var r,o=[],c=0,u=0,s="",f=n&&n.delimiter||"/",l=n&&n.whitelist||void 0,p=!1;null!==(r=e.exec(t));){var h=r[0],d=r[1],v=r.index;if(s+=t.slice(u,v),u=v+h.length,d)s+=d[1],p=!0;else{var y="",m=r[2],g=r[3],b=r[4],w=r[5];if(!p&&s.length){var T=s.length-1,O=s[T];(!l||l.indexOf(O)>-1)&&(y=O,s=s.slice(0,T))}s&&(o.push(s),s="",p=!1);var x="+"===w||"*"===w,E="?"===w||"*"===w,C=g||b,A=y||f;o.push({name:m||c++,prefix:y,delimiter:A,optional:E,repeat:x,pattern:C?a(C):"[^"+i(A===f?A:A+f)+"]+?"})}}return(s||u<t.length)&&o.push(s+t.substr(u)),o}function r(t,e){return function(n,r){var o=t.exec(n);if(!o)return!1;for(var i=o[0],a=o.index,c={},u=r&&r.decode||decodeURIComponent,s=1;s<o.length;s++)if(void 0!==o[s]){var f=e[s-1];f.repeat?c[f.name]=o[s].split(f.delimiter).map((function(t){return u(t,f)})):c[f.name]=u(o[s],f)}return{path:i,index:a,params:c}}}function o(t,e){for(var n=new Array(t.length),r=0;r<t.length;r++)"object"==typeof t[r]&&(n[r]=new RegExp("^(?:"+t[r].pattern+")$",c(e)));return function(e,r){for(var o="",i=r&&r.encode||encodeURIComponent,a=!r||!1!==r.validate,c=0;c<t.length;c++){var u=t[c];if("string"!=typeof u){var s,f=e?e[u.name]:void 0;if(Array.isArray(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but got array');if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var l=0;l<f.length;l++){if(s=i(f[l],u),a&&!n[c].test(s))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'"');o+=(0===l?u.prefix:u.delimiter)+s}}else if("string"!=typeof f&&"number"!=typeof f&&"boolean"!=typeof f){if(!u.optional)throw new TypeError('Expected "'+u.name+'" to be '+(u.repeat?"an array":"a string"))}else{if(s=i(String(f),u),a&&!n[c].test(s))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but got "'+s+'"');o+=u.prefix+s}}else o+=u}return o}}function i(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(t){return t.replace(/([=!:$/()])/g,"\\$1")}function c(t){return t&&t.sensitive?"":"i"}function u(t,e,n){for(var r=(n=n||{}).strict,o=!1!==n.start,a=!1!==n.end,u=n.delimiter||"/",s=[].concat(n.endsWith||[]).map(i).concat("$").join("|"),f=o?"^":"",l=0;l<t.length;l++){var p=t[l];if("string"==typeof p)f+=i(p);else{var h=p.repeat?"(?:"+p.pattern+")(?:"+i(p.delimiter)+"(?:"+p.pattern+"))*":p.pattern;e&&e.push(p),p.optional?p.prefix?f+="(?:"+i(p.prefix)+"("+h+"))?":f+="("+h+")?":f+=i(p.prefix)+"("+h+")"}}if(a)r||(f+="(?:"+i(u)+")?"),f+="$"===s?"$":"(?="+s+")";else{var d=t[t.length-1],v="string"==typeof d?d[d.length-1]===u:void 0===d;r||(f+="(?:"+i(u)+"(?="+s+"))?"),v||(f+="(?="+i(u)+"|"+s+")")}return new RegExp(f,c(n))}function s(t,e,r){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return t}(t,e):Array.isArray(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(s(t[o],e,n).source);return new RegExp("(?:"+r.join("|")+")",c(n))}(t,e,r):function(t,e,r){return u(n(t,r),e,r)}(t,e,r)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[404],{22404:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Cn});var r=n(15857),a=n(74806),o=n(46458),i=function(e,t){return{type:"path/SET_CURRENT_VIEW_INFO",payload:{location:e,currentViewInfo:t}}},c=function(e,t){return{type:"path/UPDATE_BREADCRUMBS_INFO",payload:{path:e,breadcrumbsInfo:t}}},s=function(e){return{type:"path/SET_RELATIONS",payload:{relations:e}}},l=function(e){return{type:"path/SET_RELATIONS_INFO",payload:{relationsInfo:e}}},u=function(e){return{type:"path/SELECT_RELATION",payload:{selectedRelation:e}}},d=n(28655),p=n.n(d),f=(n(22982),n(1024)),m=n.n(f),h=n(80467),y=n(29163),v=n(27361),g=n.n(v),E=n(79327),b=n(24038),w=n(7813),x=n(31089),S=n(28941),P=n(44166),Z=n(25450),C={"widget-code-copy":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,79081))})),"user-qr-action":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,51787))})),"input-edit":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,86684))})),resourcescheduler:(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,28247))})),"show-output-jobs-action":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,67030))})),delete:(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,9830))})),merge:(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,51393))})),copy:(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,59423))})),documents:(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,21185))})),"password-update":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,68653))})),"widget-config-edit":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,88879))})),"connect-principal":(0,f.lazy)((function(){return Promise.all([n.e(413),n.e(85),n.e(107)]).then(n.bind(n,91165))}))},k=m().createElement(P.Z,null);const R=function(e){var t=e.appId,n=C[t];if(!n)return Z.Z.logError("no action found with id: ".concat(t)),null;var r=(0,o.connect)(null,{emitAction:function(e){return S.Z.dispatchEmittedAction(e)}})(n);return m().createElement(f.Suspense,{fallback:k},m().createElement(r,e))};var N=function(e){var t=e.history,n=e.match,r=e.setCurrentViewTitle,a=e.currentViewInfo,o=e.intl,i=t.location;if((0,f.useEffect)((function(){return a&&r(o.formatMessage({id:"client.actions.".concat(a.actionId,".title")})),function(){r(null)}}),[a,r,o]),!a)return null;var c=E.Z.fromQueryString(i.search),s=g()(i,"state.selection",c.actionProperties),l=g()(i,"state.definition.properties",c.actionProperties),u=function(){t.replace((0,w.H)(n.url,2))};return m().createElement(R,{history:t,match:n,appId:a.actionId,selection:s,actionProperties:l,navigationStrategy:(0,x.ZP)(t,n),onSuccess:u,onError:u,onCancel:u})},O=function(e,t){return 0===Object.keys(b.Z.difference(e,t)).length};const A=m().memo(N,O);var I={setCurrentViewTitle:function(e){return{type:"path/SET_CURRENT_VIEW_TITLE",payload:{currentViewTitle:e}}}};const T=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname]}}),I)((0,a.ZP)(A));var D=n(89507),_=n(319),F=n.n(_),L=n(63038),V=n.n(L),j=n(50744),M=n(93038),B=n(41804);function U(){var e=p()(["\n margin: 0;\n background-color: ",";\n padding: 0 0 0 ",";\n overflow: hidden;\n height: 100%;\n"]);return U=function(){return e},e}var z=y.ZP.div.withConfig({displayName:"StyledEntityDetailAppWrapper"})(U(),M.Z.color("paper"),B.Z.space(0));const W=function(e){var t=e.currentViewInfo,n=e.history,r=e.match,a=e.intl,o=e.chooseDocument,i=e.dispatchEmittedAction,c=n.location,s=g()(c,"state.defaultValues",[]),l=(0,f.useState)(!1),u=V()(l,2),d=u[0],p=u[1];if(!t)return null;var y,v=t.model,E=t.reverseRelation,b=t.parentKey,w=v.name,S=g()(v,"paths.".concat(E,".multi"),!1),P=[].concat(F()(E&&b?[{id:E,value:S?[b]:b}]:[]),F()(s));return m().createElement(z,null,m().createElement(h.NL,{when:d,message:(y="client.entity-browser.detail.confirmTouchedFormLeave",a.formatMessage({id:y}))}),m().createElement(j.Z,{entityName:w,formName:w,mode:"create",defaultValues:P,emitAction:function(e){i(e)},navigationStrategy:(0,x.ZP)(n,r),chooseDocument:o,onEntityCreated:function(e){var t=e.id;p(!1),n.push(r.url.replace(/create$/,t))},onTouchedChange:function(e){var t=e.touched;return p(t)}}))};var H={chooseDocument:D.Z.actions.chooseDocument,dispatchEmittedAction:S.Z.dispatchEmittedAction};const $=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname]}}),H)((0,a.ZP)(W));var K=n(94844),q=n(67154),Y=n.n(q),G=n(17563),X=n(52911),Q=n(58239),J=n(87757),ee=n.n(J),te=n(48926),ne=n.n(te),re=n(84387),ae=n(89571);const oe=function(e){var t=e.entityName,n=e.entityKey,r=e.showActions,a=e.noLeftPadding,o=e.openResource,i=(0,f.useState)(null),c=V()(i,2),s=c[0],l=c[1],u=(0,f.useCallback)(ne()(ee().mark((function e(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:re.Z.simpleRequest("entities/2.0/"+t+"/"+n+"/entitydocs/folder").then((function(e){l(e.body.key)}));case 1:case"end":return e.stop()}}),e)}))),[t,n]);return(0,f.useEffect)((function(){u()}),[u]),s&&m().createElement(ae.default,Y()({routerType:"routerless",noLeftPadding:a,sortable:!1,searchFormType:"none",rootNodes:[{key:s,entityName:"Folder"}],embedded:!0,showActions:r},!1===r?{selectionStyle:"none"}:{},{disableViewPersistor:!0},o?{openResource:o}:{},{scrollBehaviour:"inline"}))};const ie=function(e){var t=e.currentViewInfo;return m().createElement(oe,{noLeftPadding:!1,entityName:t.parentModel.name,entityKey:t.parentKey,showActions:!0})};const ce=function(e){var t=e.match,n=e.history,r=e.currentViewInfo,a=e.emitAction,o=e.searchFormCollapsed,i=e.saveUserPreferences;if(!r)return null;var c=G.parse(n.location.search);return"Resource"===r.model.name?m().createElement(ie,{currentViewInfo:r}):m().createElement(X.ZP,Y()({emitAction:a,limit:25,id:"".concat(r.model.name,"_list"),entityName:r.model.name,formName:c.formName||r.model.name,onRowClick:function(e){var r=e.id;n.push(t.url.replace(/list$/,"")+r)}},r.reverseRelation&&{parent:{key:r.parentKey,reverseRelationName:r.reverseRelation,model:r.parentModel.name}},{showLink:!0,navigationStrategy:(0,x.ZP)(n,t),searchFormPosition:"left",searchFormType:"admin",scrollBehaviour:"inline",store:Q.Z.viewInfoSelector(n.location.pathname).store,onStoreCreate:function(e){Q.Z.persistViewInfo(n.location.pathname,{store:e},r.level)},actionAppComponent:R,tql:c.tql,searchFormCollapsed:o,onSearchFormCollapsedChange:function(e){var t=e.collapsed;i({"admin.list.searchFormCollapsed":t})}}))};var se={emitAction:function(e){return S.Z.dispatchEmittedAction(e)},saveUserPreferences:K.RK};const le=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname],searchFormCollapsed:g()(e.preferences.userPreferences,"admin.list.searchFormCollapsed",!1)}}),se)((0,a.ZP)(ce));var ue=n(59713),de=n.n(ue);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){de()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function me(){var e=p()(["\n margin: 0;\n background-color: ",";\n padding: 0 0 0 ",";\n overflow: hidden;\n height: 100%;\n"]);return me=function(){return e},e}var he=y.ZP.div.withConfig({displayName:"StyledEntityDetailAppWrapper"})(me(),M.Z.color("paper"),B.Z.space(0));const ye=function(e){var t=e.currentViewInfo,n=e.history,r=e.match,a=e.intl,o=e.chooseDocument,i=e.emitAction,c=e.propagateRefresh,s=e.invalidateLastBreadcrumb,l=(0,f.useState)(!1),u=V()(l,2),d=u[0],p=u[1];if(!t||t.pathname!==n.location.pathname)return null;var y=G.parse(location.search).formName,v=t.model.name;return m().createElement(he,null,m().createElement(h.NL,{when:d,message:function(e){return n.location.pathname!==e.pathname&&(t="client.entity-browser.detail.confirmTouchedFormLeave",a.formatMessage({id:t}));var t}}),m().createElement(j.Z,{entityName:v,entityId:t.key,formName:y||v,mode:"update",emitAction:i,onTouchedChange:function(e){var t=e.touched;p(t)},navigationStrategy:fe(fe({},(0,x.ZP)(n,r)),{},{navigateToCreateRelative:function(e,t){if(e){var a=(0,w.H)(r.url,1);n.push({pathname:"".concat(a,"/").concat(e,"/create"),state:t})}else{var o=(0,w.H)(r.url,2);n.push({pathname:o+"/create",state:t})}}}),chooseDocument:o,onEntityDeleted:function(){var e=(0,w.H)(r.url,2);n.push(e)},onEntityUpdated:function(){var e=n.location;s(e)},onRefresh:function(){var e=n.location;c(e)},actionAppComponent:R,onSubGridRowClick:function(e){var t=e.id,a=e.relationName,o=(0,w.H)(r.url);n.push("".concat(o,"/").concat(a,"/").concat(t))}}))};var ve={chooseDocument:D.Z.actions.chooseDocument,emitAction:function(e){return S.Z.dispatchEmittedAction(e)},propagateRefresh:function(e){return{type:"path/PROPAGATE_REFRESH",payload:{location:e}}},invalidateLastBreadcrumb:function(e){return{type:"path/INVALIDATE_LAST_BREADCRUMB",payload:{location:e}}}};const ge=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname]}}),ve)((0,a.ZP)(ye));var Ee=n(84187),be=n(45376),we={};const xe=function(e){var t=e.currentViewInfo,n=e.history,r=e.selectedRelation;return m().createElement(oe,{entityName:t.model.name,entityKey:t.key,showActions:!1,noLeftPadding:!0,history:n,openResource:function(e){n.push("".concat(r.relationName,"/list#").concat(e))}})};var Se=function(e){var t=e.selectedRelation,n=e.currentViewInfo,r=e.match,a=e.history,o=e.emitAction;return m().createElement(X.ZP,{id:"preview"+t.reverseRelationName+t.targetEntity,key:t.reverseRelationName+t.targetEntity,entityName:t.targetEntity,formName:t.targetEntity,parent:{key:n.key,reverseRelationName:t.reverseRelationName,model:n.model.name,relationName:t.relationName},showLink:!0,navigationStrategy:(0,x.ZP)(a,r),onRowClick:function(e){var n=e.id,o=r.url.replace(/detail$/,"");a.push("".concat(o).concat(t.relationName,"/").concat(n))},onNavigateToCreate:function(){var e=(0,w.H)(r.url);a.push(e+"/"+t.relationName+"/create")},searchFormType:"fulltext",selectionStyle:"none",store:Q.Z.viewInfoSelector(a.location.pathname)["store-".concat(t.relationName)],onStoreCreate:function(e){Q.Z.persistViewInfo(n.pathname,de()({},"store-".concat(t.relationName),e),n.level)},showActions:!1,limit:15,emitAction:o,scrollBehaviour:"inline"})};const Pe=m().memo(Se);var Ze=n(53622),Ce=n(49245),ke=n(16828),Re=n(72277);function Ne(){var e=p()(["\n && {\n max-width: 110px;\n }\n"]);return Ne=function(){return e},e}function Oe(){var e=p()(["\n border-radius: ",";\n padding: "," ",";\n display: flex;\n background-color: ",";\n height: fit-content;\n\n &&& {\n * {\n color: ",";\n box-sizing: initial;\n }\n }\n ",";\n\n // allow hover styles only on non-touch devices\n @media (hover: hover) and (pointer: fine) {\n &:hover "," {\n display: flex;\n }\n\n && {\n :hover {\n background-color: ",";\n\n * {\n color: ",";\n }\n cursor: pointer;\n }\n }\n\n ",":hover * {\n color: ",";\n }\n }\n"]);return Oe=function(){return e},e}function Ae(){var e=p()(["\n display: none;\n margin-left: auto;\n\n * {\n color: ",";\n padding-left: ",";\n }\n"]);return Ae=function(){return e},e}function Ie(){var e=p()(["\n padding-left: ",";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n"]);return Ie=function(){return e},e}function Te(){var e=p()(["\n background-color: ",";\n padding: ",";\n display: grid;\n grid-template-columns: repeat(auto-fit, 170px);\n grid-gap: ",";\n justify-content: space-between;\n overflow-y: auto;\n align-content: flex-start;\n height: fit-content;\n min-height: 150px;\n max-height: 20%;\n ","\n"]);return Te=function(){return e},e}function De(){var e=p()(["\n background-color: ",";\n padding: ",";\n margin-top: 3px;\n display: flex;\n flex-direction: column;\n flex: 1;\n"]);return De=function(){return e},e}function _e(){var e=p()(["\n font-size: ",";\n padding: 0;\n margin-left: auto;\n\n &:hover,\n ",":hover & {\n background-color: transparent;\n color: ",";\n }\n"]);return _e=function(){return e},e}function Fe(){var e=p()(["\n display: flex;\n background-color: ",";\n padding-top: ",";\n padding-bottom: ",";\n"]);return Fe=function(){return e},e}function Le(){var e=p()(["\n display: ",";\n flex: 1;\n height: 100%;\n width: 25px;\n background: ",";\n padding-top: ",";\n padding-left: ",";\n align-items: flex-start;\n\n &:hover {\n cursor: pointer;\n }\n"]);return Le=function(){return e},e}function Ve(){var e=p()(["\n display: ",";\n height: 100%;\n flex-direction: column;\n"]);return Ve=function(){return e},e}var je=y.ZP.div.withConfig({displayName:"StyledRelationsViewWrapper"})(Ve(),(function(e){return e.isCollapsed?"none":"flex"})),Me=y.ZP.div.withConfig({displayName:"StyledPlaceHolder"})(Le(),(function(e){return e.isCollapsed?"flex":"none"}),M.Z.color("paper"),B.Z.space(-1.5),B.Z.space(-2.5)),Be=y.ZP.div.withConfig({displayName:"StyledToggleCollapse"})(Fe(),M.Z.color("paper"),B.Z.space(-1.5),B.Z.space(-1.5)),Ue=(0,y.ZP)(Ce.Z).withConfig({displayName:"StyledToggleCollapseButton"})(_e(),B.Z.font(0),Me,M.Z.color("secondaryLight")),ze=y.ZP.div.withConfig({displayName:"StyledPreviewBox"})(De(),M.Z.color("paper"),B.Z.space(-1)),We=y.ZP.div.withConfig({displayName:"StyledRelationBoxes"})(Te(),M.Z.color("paper"),B.Z.space(-1),B.Z.space(-2),ke.C),He=(0,y.ZP)(Ze.Z).withConfig({displayName:"StyledPreviewLink"})(Ie(),B.Z.space(-.5)),$e=y.ZP.div.withConfig({displayName:"StyledRelationLinks"})(Ae(),M.Z.color("text"),B.Z.space(-4.5)),Ke=y.ZP.div.withConfig({displayName:"StyledRelationBox"})(Oe(),M.Z.radii("large"),B.Z.space(-2.7),B.Z.space(-1),(function(e){return e.selected&&M.Z.color("secondary")}),(function(e){return e.selected&&M.Z.color("paper")}),(function(e){return e.selected&&"\n ".concat($e," {\n display: flex;\n }\n ")}),$e,M.Z.color("secondaryLight"),M.Z.color("paper"),Ze.Z,M.Z.color("secondary")),qe=(0,y.ZP)(Re.Fe).withConfig({displayName:"StyledRelationLabel"})(Ne()),Ye=m().createElement(Ee.Z,{icon:"arrow-right"}),Ge=m().createElement(Ee.Z,{icon:"plus"});const Xe=function(e){var t,n,r=e.relation,a=e.history,o=e.match,i=e.relationsInfo,c=e.selectRelation,s=e.selectedRelation,l=e.intl,u=e.entityName,d=r.relationName,p=r.targetEntity,f=r.relationDisplay,h=function(e){return l.formatMessage({id:e})};return m().createElement(Ke,{selected:(null==s?void 0:s.relationName)===d,onClick:function(){c(r),a.replace({search:"?relation=".concat(d)}),function(e,t){we[e]=t}(u,d)}},m().createElement(qe,{title:f.label},f.label),(null===(n=i[d])||void 0===n?void 0:n.count)>0?m().createElement(qe,null," (",i[d].count,")"):null,m().createElement($e,null,m().createElement(Ze.Z,{"aria-label":h("client.admin.entities.relationsView.relationLinkView"),to:o.url.replace(/(relations|detail)$/,d)},Ye),(null===(t=i[d])||void 0===t?void 0:t.createPermission)&&"Resource"!==p&&m().createElement(Ze.Z,{"aria-label":h("client.admin.entities.relationsView.relationLinkCreate"),to:o.url.replace(/(relations|detail)$/,d)+"/create"},Ge)))};var Qe=m().createElement(m().Fragment,null),Je=m().createElement(Ee.Z,{icon:"arrow-right"}),et=m().createElement(Ee.Z,{icon:"plus"}),tt=function(e){var t=e.history,n=e.match,r=e.currentViewInfo,a=e.relations,o=e.relationsInfo,i=e.emitAction,c=e.intl,s=e.isCollapsed,l=e.toggleCollapse,u=e.selectedRelation,d=e.selectRelation,p=g()(r,"model.name"),h=(0,f.useCallback)((function(){if((null==a?void 0:a.length)>0){var e=G.parse(t.location.search).relation;if(e)d(a.find((function(t){return t.relationName===e})));else{var n=we[p];d(n?a.find((function(e){return e.relationName===n})):a[0])}}}),[a,p,t.location.search,d]);if((0,f.useEffect)(h,[h]),(0,f.useEffect)((function(){return u?null:h()}),[u,h]),!a||0===a.length||!r)return null;var y,v,E=function(e){return c.formatMessage({id:e})},b=u?"Resource"===u.targetEntity?xe:Pe:function(){return Qe},w=a.map((function(t){return m().createElement(Xe,Y()({key:"relation-".concat(t.relationName),relation:t,entityName:p},e))}));return m().createElement(m().Fragment,null,m().createElement(je,{isCollapsed:s},m().createElement(Be,null,m().createElement(Ue,{icon:"chevron-right",onClick:l})),m().createElement(We,null,w),u&&m().createElement(ze,null,m().createElement(be.ZP.H4,null,u.relationDisplay.label,m().createElement(He,{"aria-label":E("client.admin.entities.relationsView.relationLinkView"),to:n.url.replace(/(relations|detail)$/,u.relationName)},Je),(y=u.relationName,(null===(v=o[y])||void 0===v?void 0:v.createPermission)&&"Resource"!==u.targetEntity&&m().createElement(He,{"aria-label":E("client.admin.entities.relationsView.relationLinkCreate"),to:n.url.replace(/(relations|detail)$/,u.relationName)+"/create"},et))),m().createElement(b,{selectedRelation:u,match:n,history:t,currentViewInfo:r,emitAction:i}))),m().createElement(Me,{onClick:l,isCollapsed:s},m().createElement(Ue,{icon:"chevron-left",isCollapsed:s})))},nt=function(e,t){return 0===Object.keys(b.Z.difference(e,t)).length};const rt=m().memo(tt,nt);var at={emitAction:function(e){return S.Z.dispatchEmittedAction(e)},selectRelation:u};const ot=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname],relations:e.entities.path.relations,relationsInfo:e.entities.path.relationsInfo,selectedRelation:e.entities.path.selectedRelation}}),at)((0,a.ZP)(rt));function it(){var e=p()(["\n flex: ",";\n"]);return it=function(){return e},e}function ct(){var e=p()(["\n flex: 1;\n margin-right: 1rem;\n ","\n"]);return ct=function(){return e},e}function st(){var e=p()(["\n display: flex;\n flex-direction: row;\n height: 100%;\n\n .react-bs-container-body {\n height: auto !important;\n }\n"]);return st=function(){return e},e}var lt=y.ZP.div.withConfig({displayName:"StyledDetailViewContainer"})(st()),ut=y.ZP.div.withConfig({displayName:"StyledDetailViewLeft"})(ct(),(function(e){return!e.isCollapsed&&" @media(max - width: 1024px) {\n flex: none;\n width: 40%;\n }"})),dt=y.ZP.div.withConfig({displayName:"StyledDetailViewRight"})(it(),(function(e){return e.isCollapsed?"0":"1"}));const pt=function(e){var t=e.match,n=e.history,r=(e.currentViewInfo,e.relationViewCollapsed),a=e.saveUserPreferences,o=(0,f.useState)(!1),i=V()(o,2),c=i[0],s=i[1];(0,f.useEffect)((function(){s(r)}),[r]);var l=function(e){a({"admin.detail.relationViewCollapsed":e})};return m().createElement(lt,null,m().createElement(ut,{isCollapsed:c},m().createElement(ge,{match:t,history:n})),m().createElement(dt,{isCollapsed:c},m().createElement(ot,{match:t,history:n,isCollapsed:c,toggleCollapse:function(){s(!c),l(!c)}})))};var ft={saveUserPreferences:K.RK};const mt=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname],relationViewCollapsed:g()(e.preferences.userPreferences,"admin.detail.relationViewCollapsed",!1)}}),ft)((0,a.ZP)(pt));const ht=function(e){var t,n,r=e.match,a=(t=r.path,n=":relation",t.split(n).length-1);return m().createElement(h.rs,null,m().createElement(h.AW,{exact:!0,path:"".concat(r.url),render:function(e){var t=e.match;return m().createElement(h.l_,{to:"".concat(t.url.replace(/\/$/,""),"/detail")})}}),m().createElement(h.AW,{path:"".concat(r.path,"/detail"),component:mt}),m().createElement(h.AW,{path:"".concat(r.path,"/edit"),component:ge}),m().createElement(h.AW,{path:"".concat(r.path,"/relations"),component:ot}),m().createElement(h.AW,{path:"".concat(r.path,"/action"),component:T}),m().createElement(h.AW,{path:"".concat(r.path,"/:relation_").concat(a),component:yt}))};const yt=function(e){var t=e.match;return m().createElement(h.rs,null,m().createElement(h.AW,{exact:!0,path:t.url,render:function(e){var t=e.match;return m().createElement(h.l_,{to:"".concat(t.url.replace(/\/$/,""),"/list")})}}),m().createElement(h.AW,{path:"".concat(t.path,"/action/:id"),component:T}),m().createElement(h.AW,{path:"".concat(t.path,"/list"),component:le}),m().createElement(h.AW,{path:"".concat(t.path,"/create"),component:$}),m().createElement(h.AW,{path:"".concat(t.path,"/:key"),component:ht}))};var vt=m().createElement("div",null,m().createElement(be.ZP.H2,null,"Entities Overview"),m().createElement(be.ZP.Span,null,"List of all available Entities"),m().createElement("ul",null,m().createElement("li",null,m().createElement(Ze.Z,{to:"/e/User"},"User")),m().createElement("li",null,m().createElement(Ze.Z,{to:"/e/Address"},"Address"))));const gt=function(e){return vt};var Et=n(6300);const bt=(0,o.connect)((function(e,t){return{pathPrefix:"/e",breadcrumbsInfo:e.entities.path.breadcrumbsInfo,currentView:e.entities.path.currentViewTitle?{display:e.entities.path.currentViewTitle,title:e.entities.path.currentViewTitle}:null}}),{})((0,a.ZP)(Et.Z));var wt=n(44012),xt=n(49492);const St=function(e){var t=e.currentViewInfo,n="client.admin.entity.errorView.",r="detail"===t.type?"detailTitle":"defaultTitle",a="detail"===t.type?"detailDescription":"list"===t.type&&t.error.relationName?"relationDescription":"listDescription";return m().createElement(xt.Z,{title:m().createElement(wt.Z,{id:n+r}),message:m().createElement(wt.Z,{id:n+a,values:t.error})})};const Pt=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname]}}))((0,a.ZP)(St));function Zt(){var e=p()(["\n grid-area: breadcrumbs;\n"]);return Zt=function(){return e},e}function Ct(){var e=p()(["\n grid-area: content;\n overflow: hidden;\n"]);return Ct=function(){return e},e}function kt(){var e=p()(["\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-areas:\n 'breadcrumbs'\n 'content';\n height: 100%;\n width: 100%;\n"]);return kt=function(){return e},e}var Rt=y.ZP.div.withConfig({displayName:"StyledWrapper"})(kt()),Nt=y.ZP.div.withConfig({displayName:"StyledContent"})(Ct()),Ot=y.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(Zt()),At=m().createElement(Ot,null,m().createElement(bt,null));const It=function(e){var t=e.match,n=e.history,r=e.loadCurrentRoute,a=e.currentViewInfo,o=n.location;(0,f.useEffect)((function(){r(o)}),[o,r]);var i=a&&a.error?m().createElement(Pt,{history:n}):m().createElement(h.rs,null,m().createElement(h.AW,{path:"".concat(t.url,"/action/:actionId"),component:T}),m().createElement(h.AW,{path:"".concat(t.url,"/:entity"),component:yt}),m().createElement(h.AW,{exact:!0,path:t.url,component:gt}));return m().createElement(Rt,null,At,m().createElement(Nt,null,i))};var Tt={loadCurrentRoute:function(e){return{type:"path/LOAD_CURRENT_ROUTE",payload:{location:e}}}};const Dt=(0,o.connect)((function(e,t){return{currentViewInfo:e.entities.path.currentViewInfos[t.history.location.pathname]}}),Tt)((0,a.ZP)(It));var _t,Ft=n(34857),Lt=n(60954);function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){de()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mt=(_t={},de()(_t,"path/SET_CURRENT_VIEW_INFO",(function(e,t){var n=t.payload,r=n.location,a=n.currentViewInfo;return jt(jt({},e),{},{currentViewInfos:jt(jt({},e.currentViewInfos),{},de()({},r,jt(jt({},e.currentViewInfos[r]),a)))})})),de()(_t,"path/SET_BREADCRUMBS_INFO",Lt.Z.singleTransferReducer("breadcrumbsInfo")),de()(_t,"path/UPDATE_BREADCRUMBS_INFO",(function(e,t){var n=t.payload,r=n.path,a=n.breadcrumbsInfo;return jt(jt({},e),{},{breadcrumbsInfo:e.breadcrumbsInfo.map((function(e){return e.path===r?jt(jt({},e),a):e}))})})),de()(_t,"path/SET_RELATIONS",Lt.Z.singleTransferReducer("relations")),de()(_t,"path/SET_RELATIONS_INFO",Lt.Z.singleTransferReducer("relationsInfo")),de()(_t,"path/SET_CURRENT_VIEW_TITLE",Lt.Z.singleTransferReducer("currentViewTitle")),de()(_t,"path/SELECT_RELATION",Lt.Z.singleTransferReducer("selectedRelation")),_t),Bt={currentViewInfos:{},breadcrumbsInfo:[],relations:null,relationsInfo:{},selectedRelation:null};var Ut=n(57557),zt=n.n(Ut),Wt=n(78718),Ht=n.n(Wt),$t=n(35937),Kt=n.n($t),qt=n(64916),Yt=function(e){var t=qt.Z.extractParamsFromPath("/e/:entity/:key?/:relation*/:view(list|detail|edit|create|relations|action)/:actionId?",e),n=qt.Z.extractParamsFromPath("/e/action/:actionId",e);return t||n};function Gt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(n),!0).forEach((function(t){de()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qt=ee().mark(pn),Jt=ee().mark(fn),en=ee().mark(mn),tn=ee().mark(hn),nn=ee().mark(yn),rn=ee().mark(En),an=ee().mark(bn),on=ee().mark(wn),cn=ee().mark(xn),sn=ee().mark(Sn),ln=ee().mark(Pn),un=function(e){return e.entities.path},dn=/[^/]+\/?[^/]+/g;function pn(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ft.$6)([(0,Ft.Fm)("path/LOAD_CURRENT_ROUTE",fn),(0,Ft.Fm)("path/PROPAGATE_REFRESH",bn),(0,Ft.Fm)("path/INVALIDATE_LAST_BREADCRUMB",wn)]);case 2:case"end":return e.stop()}}),Qt)}function fn(e){var t,n,r,a;return ee().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.payload.location,n=t.pathname,o.next=4,(0,Ft.RE)(yn,n);case 4:if(!((r=o.sent).length>0)){o.next=16;break}return o.next=8,(0,Ft.RE)(mn,n,r);case 8:return a=o.sent,o.next=11,(0,Ft.RE)(hn,r);case 11:if("detail"!==a.type||a.error){o.next=14;break}return o.next=14,(0,Ft.Cs)(En,a.model,a.key);case 14:return o.next=16,(0,Ft.RE)(Q.Z.clearPersistedViews,a.level+1);case 16:case"end":return o.stop()}}),Jt)}function mn(e,t){var n;return ee().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Ft.RE)(vn,e,t);case 2:return n=r.sent,r.next=5,(0,Ft.gz)(i(e,n));case 5:return r.abrupt("return",n);case 6:case"end":return r.stop()}}),en)}function hn(e){var t;return ee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ft.RE)(gn,e);case 2:return t=n.sent,n.next=5,(0,Ft.gz)({type:"path/SET_BREADCRUMBS_INFO",payload:{breadcrumbsInfo:t}});case 5:return n.abrupt("return",t);case 6:case"end":return n.stop()}}),tn)}function yn(e){var t,n,r,a,o,i,c,s,l,u,d,p,f,m,h,y,v;return ee().wrap((function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,Ft.RE)(Yt,e);case 2:if(t=g.sent,n=[],null!==t){g.next=6;break}return g.abrupt("return",n);case 6:if(!t.entity){g.next=70;break}return g.prev=7,g.next=10,(0,Ft.RE)(re.Z.fetchModel,t.entity);case 10:r=g.sent,n.push({type:"list",model:r}),g.next=18;break;case 14:return g.prev=14,g.t0=g.catch(7),n.push({type:"list",error:{entityName:t.entity}}),g.abrupt("return",n);case 18:if(!t.key){g.next=67;break}return g.next=21,(0,Ft.RE)(re.Z.entityExists,r.name,t.key);case 21:if(!g.sent){g.next=29;break}return g.next=25,(0,Ft.RE)(re.Z.fetchDisplay,r.name,t.key);case 25:a=g.sent,n.push({type:"detail",key:t.key,model:r,display:a}),g.next=31;break;case 29:return n.push({type:"detail",error:{entityName:r.label,key:t.key}}),g.abrupt("return",n);case 31:if(!t.relation){g.next=67;break}o=t.relation.split("/"),i=0;case 34:if(!(i<o.length)){g.next=67;break}if(c=o[i],s=n[n.length-1],i%2!=0){g.next=50;break}if(l=c,u=s.model.paths[l]){g.next=43;break}return n.push({type:"list",error:{relationName:l,entityName:s.model.name}}),g.abrupt("return",n);case 43:return d=u.targetEntity,g.next=46,(0,Ft.RE)(re.Z.fetchModel,d);case 46:p=g.sent,n.push({type:"list",model:p,relationName:l,parent:s}),g.next=64;break;case 50:return f=c,m=s.model,g.next=54,(0,Ft.RE)(re.Z.entityExists,m.name,f);case 54:if(!g.sent){g.next=62;break}return g.next=58,(0,Ft.RE)(re.Z.fetchDisplay,m.name,f);case 58:h=g.sent,n.push({type:"detail",model:m,key:f,display:h,relationName:s.relationName,parent:s.parent}),g.next=64;break;case 62:return n.push({type:"detail",error:{entityName:m.name,key:f}}),g.abrupt("return",n);case 64:i++,g.next=34;break;case 67:"create"===t.view?(y=n[n.length-1],v=n[n.length-2],n.push({type:"create",model:y.model,parent:v,relationName:y.relationName})):t.actionId&&n.push({type:"action",actionId:t.actionId}),g.next=71;break;case 70:t.actionId&&n.push({type:"action",actionId:t.actionId});case 71:return g.abrupt("return",n);case 72:case"end":return g.stop()}}),nn,null,[[7,14]])}var vn=function(e,t){var n=t[t.length-1],r=n.parent;return Xt(Xt({},zt()(n,["parent"])),{},{pathname:e,level:t.length-1},r&&n.relationName&&{parentKey:r.key,reverseRelation:r.model.paths[n.relationName].reverseRelationName,parentModel:r.model})},gn=function(e){var t="";return e.map((function(e){return e.error?{type:"error"}:"action"===e.type?null:(t=(t?t+"/":"")+(e.key?e.key:e.relationName||e.model.name),{type:e.type,display:e.display||e.model.label,path:t+"/"+e.type})})).filter((function(e){return e}))};function En(e,t){var n,r;return ee().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=Kt()(e.paths,(function(e,t){return e.relationDisplay&&e.relationDisplay.show})),r=Object.keys(n).map((function(e){return Ht()(n[e],["relationName","reverseRelationName","targetEntity","relationDisplay.label","relationDisplay.order"])})).sort((function(e,t){return e.relationDisplay.order>t.relationDisplay.order?1:-1})),a.next=4,(0,Ft.gz)(u(null));case 4:return a.next=6,(0,Ft.gz)(s(r));case 6:return a.next=8,(0,Ft.RE)(Pn,e.name,t);case 8:case"end":return a.stop()}}),rn)}function bn(e){var t,n,r,a,o;return ee().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload.location,n=t.pathname,i.next=4,(0,Ft.Ys)(un);case 4:if(r=i.sent,a=r.currentViewInfos,"detail"!==(o=a[n]).type||o.error){i.next=12;break}return i.next=10,(0,Ft.Cs)(Pn,o.model.name,o.key);case 10:return i.next=12,(0,Ft.gz)(u(null));case 12:case"end":return i.stop()}}),an)}function wn(e){var t,n,r,a,o,s,l,u;return ee().wrap((function(d){for(;;)switch(d.prev=d.next){case 0:return t=e.payload.location,n=t.pathname,d.next=4,(0,Ft.RE)(Yt,n);case 4:if(null==(r=d.sent)||!r.entity||null==r||!r.key){d.next=29;break}return d.prev=6,d.next=9,(0,Ft.RE)(Sn,r);case 9:if(!(a=d.sent)){d.next=24;break}return o=a.entityName,s=a.key,d.next=14,(0,Ft.RE)(re.Z.invalidateDisplay,o,s);case 14:return d.next=16,(0,Ft.RE)(re.Z.fetchDisplay,o,s);case 16:return l=d.sent,d.next=19,(0,Ft.gz)(i(n,{display:l}));case 19:return d.next=21,(0,Ft.RE)(xn,n);case 21:return u=d.sent,d.next=24,(0,Ft.gz)(c(u,{display:l}));case 24:d.next=29;break;case 26:d.prev=26,d.t0=d.catch(6),Z.Z.logError("breadcrumbs invalidation failed",d.t0);case 29:case"end":return d.stop()}}),on,null,[[6,26]])}function xn(e){var t;return ee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ft.RE)(Yt,e);case 2:if(null!==(t=n.sent)&&t.entity){n.next=5;break}return n.abrupt("return","");case 5:return n.abrupt("return",[t.entity,t.key,t.relation,t.view].filter(Boolean).join("/"));case 6:case"end":return n.stop()}}),cn)}function Sn(e){var t,n,r,a,o,i,c,s,l,u;return ee().wrap((function(d){for(;;)switch(d.prev=d.next){case 0:if(e&&e.entity&&e.key&&"action"!==e.view){d.next=2;break}return d.abrupt("return",null);case 2:return d.next=4,(0,Ft.RE)(re.Z.fetchModel,e.entity);case 4:if(t=d.sent,e.relation){d.next=7;break}return d.abrupt("return",{entityName:t.name,key:e.key});case 7:if(!((n=e.relation.match(dn)).length<1)){d.next=10;break}return d.abrupt("return",null);case 10:r=t,a=null,o=0;case 13:if(!(o<n.length)){d.next=25;break}if(i=n[o].split("/"),c=V()(i,2),s=c[0],l=c[1],(u=r.paths[s])&&l){d.next=18;break}return d.abrupt("return",null);case 18:return d.next=20,(0,Ft.RE)(re.Z.fetchModel,u.targetEntity);case 20:r=d.sent,a={entityName:r.name,key:l};case 22:o++,d.next=13;break;case 25:return d.abrupt("return",a);case 26:case"end":return d.stop()}}),sn)}function Pn(e,t){var n,r,a;return ee().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n="client/entities/".concat(e,"/").concat(t,"/relations"),o.next=3,(0,Ft.RE)(re.Z.requestSaga,n);case 3:return r=o.sent,a=r.body.relations,o.next=7,(0,Ft.gz)(l(a));case 7:case"end":return o.stop()}}),ln)}const Zn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bt,t=arguments.length>1?arguments[1]:void 0,n=Mt[t.type];return n?n(e,t):e},Cn={container:Dt,reducers:{entities:(0,r.UY)({path:Zn})},sagas:[pn]}},89571:(e,t,n)=>{n.r(t),n.d(t,{chooseDocument:()=>at.Z,default:()=>Un});var r=n(59713),a=n.n(r),o=n(319),i=n.n(o),c=n(52540),s=n(41609),l=n.n(s),u=n(18446),d=n.n(u),p=n(35937),f=n.n(p),m=n(45697),h=n.n(m),y=n(1024),v=n.n(y),g=n(28941),E=n(73118),b=n(33400),w=n(76772),x=n(72048),S=n(22151),P=n(33075),Z=n(29396),C=n(14082),k=n(62410),R=n(76398),N=n(50872),O=n(77035),A=n(74806),I=n(46458),T=function(e){return{type:"docs/path/SET_BREADCRUMBS",payload:{breadcrumbs:e}}},D=n(53110),_=n(63038),F=n.n(_),L=n(58239),V=/^\/docs\/?$/;const j=function(e){return V.test(e)};var M=n(67154),B=n.n(M),U=n(29163),z=n(6300),W=n(93038);const H=(0,U.Zz)((function(e){var t=e.embedded,n=e.resetSearchMode,r=e.theme,a=e.pathPrefix,o=e.breadcrumbsInfo;return v().createElement(z.Z,B()({},t?{backgroundColor:W.Z.color("paper")({theme:r})}:{},{onClick:function(e){""===e.path&&n()},pathPrefix:a,breadcrumbsInfo:o}))}));var $=function(e){return v().createElement("span",e)};const K=(0,U.Zz)((function(e){var t=e.embedded,n=e.navigate,r=e.resetSearchMode,a=e.theme,o=e.pathPrefix,i=e.breadcrumbsInfo;return v().createElement(z.Z,B()({},t?{backgroundColor:W.Z.color("paper")({theme:a})}:{},{onClick:function(e){""===e.path&&r(),n("/docs/".concat(e.path))},linkComp:$,pathPrefix:o,breadcrumbsInfo:i}))}));var q={},Y=function(e){return{pathPrefix:"/docs",breadcrumbsInfo:e.docs.path.breadcrumbs,embedded:e.input.embedded}},G=(0,I.connect)(Y,q)((0,A.ZP)(H)),X=(0,I.connect)(Y,q)((0,A.ZP)(K));const Q=(0,D.U)({routerless:X,router:G});var J=n(87757),ee=n.n(J),te=n(44166),ne=n(84187),re=n(25450),ae={"dms-create-folder":(0,y.lazy)((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,11625))})),"dms-create-domain":(0,y.lazy)((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,53285))})),"dms-edit":(0,y.lazy)((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,65290))})),"dms-move":(0,y.lazy)((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,75517))})),delete:(0,y.lazy)((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,45052))}))},oe=v().createElement(te.Z,null);const ie=function(e){var t=e.appId,n=ae[t];if(!n)return re.Z.logError("no action found with id: ".concat(t)),null;var r=(0,I.connect)(null,{emitAction:function(e){return g.Z.dispatchEmittedAction(e)}})(n);return v().createElement(y.Suspense,{fallback:oe},v().createElement(r,e))};const ce=function(e){var t=e.instanceCount,n=e.directory,r=e.onChange,a=e.path,o=(0,y.useRef)(),i=k.Z.usePrevious(t);(0,y.useEffect)((function(){o.current&&t>i&&o.current.click()}));return v().createElement("input",B()({type:"file",ref:o,style:{display:"none"},onChange:function(e){var t=e.target.files;t&&t.length>0&&r&&r(a,t,n),e.target.value=null},multiple:!0},n?{webkitdirectory:"true",directory:"true"}:{}))};var se={onChange:function(e,t,n){return{type:"docs/create/FILES_SELECTED",payload:{location:e,files:t,isDirectory:n}}}};const le=(0,D.U)((0,I.connect)((function(e){return{instanceCount:e.docs.create.dialog.instanceCount,directory:e.docs.create.dialog.directory}}),se)(ce));var ue=n(28655),de=n.n(ue),pe=n(41804);function fe(){var e=de()(["\n font-size: ",";\n display: inline-block;\n margin-right: ",";\n"]);return fe=function(){return e},e}function me(){var e=de()(["\n display: flex;\n align-items: center;\n"]);return me=function(){return e},e}var he=U.ZP.div.withConfig({displayName:"StyledContentWrapper"})(me()),ye=U.ZP.span.withConfig({displayName:"StyledIconWrapper"})(fe(),pe.Z.font(1),pe.Z.space(-2)),ve=v().lazy((function(){return Promise.all([n.e(335),n.e(614),n.e(85)]).then(n.bind(n,39901))})),ge=v().createElement(te.Z,null),Ee=v().createElement(le,null);const be=function(e){var t=e.domainTypes,n=e.rootNodes,r=e.navigationStrategy,a=e.changeListParent,o=e.onSearchChange,i=e.emitAction,c=e.openFileDialog,s=e.limit,l=e.searchFormType,u=e.selectionStyle,d=e.getCustomLocation,p=e.disableViewPersistor,f=e.getListFormName,m=e.domainDetailFormName,h=e.folderDetailFormName,g=e.showActions,E=e.scrollBehaviour,b=e.sortable,w=e.searchMode,x=e.openResource,S=e.searchFormCollapsed,P=e.locale,Z=e.changeSelection,C=e.changeSearchFormCollapsed,k=e.params,R=e.navigate,N=e.path,O=(0,y.useReducer)((function(e){return e+1}),0),A=F()(O,2),I=A[0],T=A[1],D="entity-list-".concat(I),_=(0,y.useState)([]),V=F()(_,2),M=V[0],B=V[1],U=(0,y.useMemo)((function(){return function(e){if(e&&e.model){var t=e.model.charAt(0).toUpperCase()+e.model.slice(1),n=e.key;return{model:"Docs_list_item",key:"".concat(t,"/").concat(n)}}return null}(k)}),[k]),z=!U&&n?n.map((function(e){return"".concat(e.entityName,"/").concat(e.key)})):null,W=(0,y.useMemo)((function(){return f?f(U,z):function(e,t){return e?"Docs_list_item":t?"Root_docs_list_item_specific":"Root_docs_list_item"}(U,z)}),[U,z,f]),H=(0,y.useRef)(!1),$=(0,y.useRef)(w);$.current=w,(0,y.useEffect)((function(){return H.current=!0,function(){return H.current=!1}})),(0,y.useEffect)((function(){a(U),B([])}),[U,a]);var K=function(e){B(e),Z(e)},q=U||z?null:function(e){return Array.isArray(e)&&e.length>0?"exists(relDomain_type where IN(unique_id, ".concat(e.map((function(e){return'"'.concat(e,'"')})).join(","),"))"):null}(t),Y=ee().mark((function e(t,n,r,a,o,i,s){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:!1,c(!1,i,s);case 2:case"end":return e.stop()}}),e)})),G=ee().mark((function e(t,n,r,a,o,i,s){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:!0,c(!0,i,s);case 2:case"end":return e.stop()}}),e)})),X=p?void 0:j(N)?L.Z.viewInfoSelector("search").store:null;return v().createElement(v().Fragment,null,v().createElement(y.Suspense,{fallback:ge},v().createElement(ve,{key:D,id:"documents",entityName:"Docs_list_item",formName:W,limit:s||25,onRowClick:function(e){var t=e.id;if(K([t]),$.current&&j(N)){if(!L.Z.viewInfoSelector("search").store){var n=L.Z.viewInfoSelector(D).store;L.Z.persistViewInfo("search",{store:n})}T()}var r=t.split("/"),a=F()(r,2),o=a[0],i=a[1],c=d?d(o,i):function(e,t){switch(e){case"Domain":return"/docs/domain/".concat(t,"/list");case"Folder":return"/docs/folder/".concat(t,"/list");case"Resource":return"/docs/doc/".concat(t,"/detail");default:throw new Error("Unexpected model: ".concat(e))}}(o,i);c&&(x&&"Resource"===o?x(c):R(c))},searchFormPosition:"left",searchFormType:l||"admin",parent:U,onSearchChange:function(e){H.current&&o(e)},store:X,onStoreCreate:function(e){return p||L.Z.persistViewInfo(D,{store:e}),null}(X),cellRenderers:{"dms-label-with-icon":function(e,t,n){return v().createElement(he,null,v().createElement(ye,null,v().createElement(ne.Z,{icon:e.icon})),v().createElement("span",null,n(t.children[0])))},"dms-actions":function(e,t,n){return v().createElement(he,null,t.children.filter((function(t){return!t.dmsEntityModel||t.dmsEntityModel===e.type})).map((function(e){return n(e)})))}},emitAction:i,actionAppComponent:ie,contextParams:{detailFormNames:{Domain:m,Folder:h}},customActions:{"upload-document":Y,"upload-directory":G},navigationStrategy:r,tql:q,keys:z,selectionStyle:u||"multi_explicit",onSelectChange:K,selection:M,showActions:g,sortable:b,searchFormCollapsed:S,scrollBehaviour:E,onSearchFormCollapsedChange:C,locale:P})),Ee)};var we={changeListParent:function(e){return{type:"docs/list/CHANGE_LIST_PARENT",payload:{parent:e}}},changeSelection:function(e){return{type:"docs/list/CHANGE_SELECTION",payload:{selection:e}}},changeSearchFormCollapsed:function(e){return{type:"docs/list/CHANGE_SEARCH_FORM_COLLAPSED",payload:{collapsed:e}}}};const xe=(0,D.U)((0,I.connect)((function(e){return{domainTypes:e.input.domainTypes,rootNodes:e.input.rootNodes,limit:e.input.listLimit,searchFormType:e.input.searchFormType,selectionStyle:e.input.selectionStyle,getCustomLocation:e.input.getCustomLocation,disableViewPersistor:e.input.disableViewPersistor,getListFormName:e.input.getListFormName,domainDetailFormName:e.input.domainDetailFormName,folderDetailFormName:e.input.folderDetailFormName,showActions:e.input.showActions,sortable:e.input.sortable,openResource:e.input.openResource,searchFormCollapsed:e.docs.list.searchFormCollapsed,scrollBehaviour:e.docs.list.scrollBehaviour,locale:e.intl.locale}}),we)((0,A.ZP)(be)));function Se(){var e=de()(["\n height: 100%;\n background-color: ",";\n padding-left: ",";\n overflow-y: hidden;\n"]);return Se=function(){return e},e}var Pe=U.ZP.div.withConfig({displayName:"StyledDocumentViewWrapper"})(Se(),W.Z.color("paper"),pe.Z.space(.5)),Ze=v().lazy((function(){return Promise.all([n.e(335),n.e(614),n.e(198),n.e(85)]).then(n.bind(n,1388))})),Ce=v().createElement(te.Z,null);const ke=function(e){var t=e.breadcrumbs,n=e.formName,r=e.navigationStrategy,a=e.locale,o=e.emitAction,i=e.navigate,c=e.params;return v().createElement(Pe,null,v().createElement(y.Suspense,{fallback:Ce},v().createElement(Ze,{entityName:"Resource",entityId:c.key,formName:n||"DmsResource",mode:"update",actionAppComponent:ie,navigationStrategy:r,emitAction:o,onEntityDeleted:function(){var e=t.slice().reverse().find((function(e){return"list"===e.type})),n="/docs/".concat(e.path);i(n)},locale:a})))};var Re={emitAction:function(e){return g.Z.dispatchEmittedAction(e)}};const Ne=(0,D.U)((0,I.connect)((function(e){return{breadcrumbs:e.docs.path.breadcrumbs,formName:e.input.documentDetailFormName,locale:e.intl.locale}}),Re)((0,A.ZP)(ke)));const Oe=function(e){var t=e.params,n=e.navigationStrategy,r=e.handleSearchChange,a=e.emitAction,o=e.openFileDialog,i=e.searchMode,c=e.docsKey,s=t.model,l=t.view;return"doc"===s&&"detail"===l?v().createElement(Ne,{navigationStrategy:n}):v().createElement(xe,{key:c,navigationStrategy:n,onSearchChange:r,emitAction:a,openFileDialog:o,searchMode:i})};var Ae=n(80467);const Ie=function(e){var t=e.navigationStrategy,n=e.handleSearchChange,r=e.emitAction,a=e.openFileDialog,o=e.searchMode,i=e.docsKey,c=v().createElement(Ne,{navigationStrategy:t}),s=v().createElement(xe,{key:i,navigationStrategy:t,onSearchChange:n,emitAction:r,openFileDialog:a,searchMode:o});return v().createElement(Ae.rs,null,v().createElement(Ae.AW,{exact:!0,path:"/docs/doc/:key/detail",render:function(){return c}}),v().createElement(Ae.AW,{exact:!0,path:["/docs/:model/:key/list","/docs"],render:function(){return s}}))},Te=(0,D.U)({routerless:Oe,router:Ie});var De=n(16828);function _e(){var e=de()(["\n grid-area: breadcrumbs;\n ","\n"]);return _e=function(){return e},e}function Fe(){var e=de()(["\n grid-area: content;\n ","\n ","\n"]);return Fe=function(){return e},e}function Le(){var e=de()(["\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-areas:\n 'breadcrumbs'\n 'content';\n ","\n width: 100%;\n"]);return Le=function(){return e},e}var Ve=U.ZP.div.withConfig({displayName:"StyledWrapper"})(Le(),(function(e){return"inline"===e.scrollBehaviour&&"height: 100%;"})),je=U.ZP.div.withConfig({displayName:"StyledContent"})(Fe(),(function(e){return"inline"===e.scrollBehaviour&&"overflow-x: hidden;"}),De.C),Me=U.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(_e(),(function(e){return e.noLeftPadding&&"\n > div {\n padding-left: 0;\n }\n "}));const Be=function(e){var t=e.navigate,n=e.path,r=e.searchMode,a=e.navigationStrategy,o=e.setSearchMode,i=e.loadBreadcrumbs,c=e.emitAction,s=e.openFileDialog,l=e.noLeftPadding,u=e.scrollBehaviour,d=(0,y.useReducer)((function(e){return e+1}),0),p=F()(d,2),f=p[0],m=p[1],h=(0,y.useRef)(r);h.current=r,(0,y.useEffect)((function(){i(n)}));var g=function(){h.current&&(L.Z.clearPersistedViews(),o(!1),i(n),m())},E="docs-view-".concat(f);return v().createElement(Ve,{scrollBehaviour:u},v().createElement(Me,{noLeftPadding:l},v().createElement(Q,{resetSearchMode:g})),v().createElement(je,{scrollBehaviour:u},v().createElement(Te,{navigationStrategy:a,handleSearchChange:function(e){e.query&&e.query.hasUserChanges?(o(!0),t("/docs/"),i(n)):j(n)&&g()},emitAction:c,openFileDialog:s,searchMode:r,docsKey:E})))};var Ue={loadBreadcrumbs:function(e){return{type:"docs/path/LOAD_BREADCRUMBS",payload:{location:e}}},setSearchMode:function(e){return{type:"docs/path/SET_SEARCH_MODE",payload:{searchMode:e}}},emitAction:function(e){return g.Z.dispatchEmittedAction(e)},openFileDialog:function(e,t,n){return{type:"docs/create/OPEN_DIALOG",payload:{directory:e,onSuccess:t,onError:n}}}};const ze=(0,D.U)((0,I.connect)((function(e){return{searchMode:e.docs.path.searchMode,navigationStrategy:e.input.navigationStrategy,noLeftPadding:e.input.noLeftPadding,scrollBehaviour:e.docs.list.scrollBehaviour}}),Ue)((0,A.ZP)(Be)));var We=v().createElement(S.Z.Notifications,null),He=v().createElement(N.Z,null),$e=v().createElement(ze,null);const Ke=(0,O.w)((function(e){var t=e.handleNotifications,n=e.rootPath,r=e.navigate,a=e.path;return(0,y.useEffect)((function(){(!a||"/"===a||"/docs"===a)&&n!==a&&r(n)}),[n,a,r]),v().createElement(v().Fragment,null,t&&We,He,$e)}));var qe=v().createElement(S.Z.Notifications,null),Ye=v().createElement(N.Z,null),Ge=v().createElement(ze,null);const Xe=function(e){var t=e.rootPath,n=e.handleNotifications;return v().createElement(v().Fragment,null,n&&qe,Ye,Ge,v().createElement(Ae.AW,{exact:!0,path:"/"},v().createElement(Ae.l_,{to:t})),"/docs"!==t&&v().createElement(Ae.AW,{exact:!0,path:"/docs"},v().createElement(Ae.l_,{to:t})))};var Qe=v().createElement(S.Z.Notifications,null),Je=v().createElement(N.Z,null),et=v().createElement(ze,null);const tt=function(e){var t=e.rootPath,n=e.handleNotifications,r=e.history;return v().createElement(Ae.F0,{history:r},n&&Qe,Je,et,v().createElement(Ae.AW,{exact:!0,path:"/"},v().createElement(Ae.l_,{to:t})),"/docs"!==t&&v().createElement(Ae.AW,{exact:!0,path:"/docs"},v().createElement(Ae.l_,{to:t})))};var nt=function(e){return rt.reduce((function(t,n){return void 0!==e[n.name]&&t.push(n.action.apply(n,i()(n.argsFactory(e)))),t}),[])},rt=[{name:"searchFormCollapsed",action:function(e){return{type:"docs/list/SET_SEARCH_FORM_COLLAPSED",payload:{searchFormCollapsed:e}}},argsFactory:function(e){return[e.searchFormCollapsed]}},{name:"scrollBehaviour",action:function(e){return{type:"docs/list/SET_SCROLL_BEHAVIOUR",payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}}],at=n(89507),ot=n(15857),it=n(34857);function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lt=a()({},"docs/create/OPEN_DIALOG",(function(e,t){var n=t.payload,r=n.directory,a=n.onSuccess,o=n.onError;return st(st({},e),{},{dialog:{instanceCount:e.dialog.instanceCount+1,directory:r,onSuccess:a,onError:o}})})),ut={dialog:{instanceCount:0,directory:!1,onSuccess:null,onError:null}};var dt=n(84387),pt=n(44586),ft=n(1662);function mt(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ht(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(c)throw o}}}}function ht(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yt=ee().mark(wt),vt=ee().mark(xt),gt=ee().mark(St),Et=function(e){return e.docs.create.dialog},bt=function(e,t){return e.intl.messages[t]};function wt(e){var t,n,r,a,o,i,c,s,l,u,d;return ee().wrap((function(p){for(;;)switch(p.prev=p.next){case 0:return t=e.payload,n=t.location,r=t.files,a=t.isDirectory,p.next=3,(0,it.RE)(pt.Z);case 3:return o=p.sent,p.next=6,(0,it.gz)(S.Z.blockingInfo(o,a?"client.docs-browser.uploadInProgressDirectory":r.length>1?"client.docs-browser.uploadInProgressMultiple":"client.docs-browser.uploadInProgress",null));case 6:return p.next=8,(0,it.Ys)(Et);case 8:return i=p.sent,c=i.onSuccess,s=i.onError,p.prev=11,p.next=14,(0,it.RE)(xt,n,r);case 14:if(403!==(l=p.sent).status){p.next=29;break}return p.next=18,(0,it.gz)(S.Z.removeBlockingInfo(o));case 18:return p.t0=s,p.next=21,(0,it.Ys)(bt,"client.entity-detail.saveAbortedTitle");case 21:return p.t1=p.sent,p.next=24,(0,it.Ys)(bt,"client.docs-browser.failedNoPermission");case 24:p.t2=p.sent,p.t3={title:p.t1,message:p.t2},(0,p.t0)(p.t3),p.next=40;break;case 29:return u=[{type:"entity-create-event",payload:{entities:l.body.items.filter((function(e){return 201===e.status})).map((function(e){return{entityName:e.bean.model,key:e.bean.key}}))}}],p.next=32,(0,it.gz)(S.Z.removeBlockingInfo(o));case 32:return d=a?"client.docs-browser.uploadSuccessfulDirectory":"client.docs-browser.uploadSuccessful",p.t4=c,p.next=36,(0,it.Ys)(bt,d);case 36:p.t5=p.sent,p.t6=u,p.t7={title:p.t5,remoteEvents:p.t6},(0,p.t4)(p.t7);case 40:p.next=53;break;case 42:return p.prev=42,p.t8=p.catch(11),re.Z.logError("Failed to upload files",p.t8),p.next=47,(0,it.gz)(S.Z.removeBlockingInfo(o));case 47:return p.t9=s,p.next=50,(0,it.Ys)(bt,"client.docs-browser.uploadFailed");case 50:p.t10=p.sent,p.t11={title:p.t10},(0,p.t9)(p.t11);case 53:case"end":return p.stop()}}),yt,null,[[11,42]])}function xt(e,t){var n,r,a,o,i,c,s;return ee().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(n=(0,ft.Z)(e)){l.next=3;break}return l.abrupt("return");case 3:r=new FormData,a=mt(t);try{for(a.s();!(o=a.n()).done;)i=o.value,r.append("files",i)}catch(e){a.e(e)}finally{a.f()}return c="documents/".concat(n.model,"/").concat(n.key),s={method:"POST",body:r,acceptedStatusCodes:[403]},l.next=10,(0,it.RE)(dt.Z.requestSaga,c,s);case 10:return l.abrupt("return",l.sent);case 11:case"end":return l.stop()}}),vt)}function St(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.ib)("docs/create/FILES_SELECTED",wt)]);case 2:case"end":return e.stop()}}),gt)}var Pt=ee().mark(Zt);function Zt(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.rM)(St)]);case 2:case"end":return e.stop()}}),Pt)}const Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ut,t=arguments.length>1?arguments[1]:void 0,n=lt[t.type];return n?n(e,t):e};var kt,Rt=n(60954),Nt=(kt={},a()(kt,"docs/list/SET_SEARCH_FORM_COLLAPSED",Rt.Z.singleTransferReducer("searchFormCollapsed")),a()(kt,"docs/list/SET_SCROLL_BEHAVIOUR",Rt.Z.singleTransferReducer("scrollBehaviour")),kt),Ot={searchFormCollapsed:null,scrollBehaviour:"inline"};const At=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ot,t=arguments.length>1?arguments[1]:void 0,n=Nt[t.type];return n?n(e,t):e};var It=ee().mark(Ft),Tt=ee().mark(Lt),Dt=ee().mark(Vt),_t=ee().mark(jt);function Ft(e){var t;return ee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,it.gz)(x.Z.fireExternalEvent("onListParentChange",t.parent));case 3:case"end":return n.stop()}}),It)}function Lt(e){var t;return ee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,it.gz)(x.Z.fireExternalEvent("onSelectChange",t.selection));case 3:case"end":return n.stop()}}),Tt)}function Vt(e){var t;return ee().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,it.gz)(x.Z.fireExternalEvent("onSearchFormCollapsedChange",t.collapsed));case 3:case"end":return n.stop()}}),Dt)}function jt(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.Fm)("docs/list/CHANGE_LIST_PARENT",Ft),(0,it.Fm)("docs/list/CHANGE_SELECTION",Lt),(0,it.Fm)("docs/list/CHANGE_SEARCH_FORM_COLLAPSED",Vt)]);case 2:case"end":return e.stop()}}),_t)}var Mt,Bt=n(30023);function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=(Mt={},a()(Mt,Bt.qh,(function(e,t){var n=t.payload,r=n.selection,a=n.onSuccess,o=n.onError;return zt(zt({},e),{},{input:{selection:r,onSuccess:a,onError:o}})})),a()(Mt,Bt.FV,Rt.Z.singleTransferReducer("isWaiting")),a()(Mt,Bt.F$,(function(){return zt({},Ht)})),Mt),Ht={isWaiting:!1,input:{selection:null,onSuccess:null,onError:null}};var $t=n(31167),Kt=ee().mark(Qt),qt=ee().mark(Jt),Yt=ee().mark(en),Gt=function(e){return e.docs.move.input},Xt=function(e,t){return e.intl.messages[t]};function Qt(e){var t,n,r,a,o,i;return ee().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload,n="documents/move",r={method:"POST",acceptedStatusCodes:[400,403],body:{targetEntityKey:t.target,selectedEntityKeys:t.selected}},c.next=5,(0,it.gz)(Bt.p0(!0));case 5:return c.next=7,(0,it.RE)(dt.Z.requestSaga,n,r);case 7:if(204!==(a=c.sent).status){c.next=13;break}return c.next=11,(0,it.RE)(Jt);case 11:c.next=20;break;case 13:return c.next=15,(0,it.gz)(Bt.p0(!1));case 15:return i="client.actions.dms-move.failed.message","VALIDATION_FAILED"===(null===(o=a.body)||void 0===o?void 0:o.errorCode)&&(i=$t.Z.getErrorCompact(a.body.errors)),403===a.status&&(i="client.docs-browser.failedNoPermission"),c.next=20,(0,it.gz)(S.Z.toaster({type:"error",title:"client.actions.dms-move.failed.title",body:i}));case 20:case"end":return c.stop()}}),Kt)}function Jt(){var e,t,n,r;return ee().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,it.Ys)(Gt);case 2:return e=a.sent,t=e.selection,n=e.onSuccess,r=[{type:"entity-update-event",payload:{entities:t.ids.map((function(e){return{entityName:"Docs_list_item",key:e}}))}}],a.t0=n,a.next=9,(0,it.Ys)(Xt,"client.docs-browser.moveSuccessful");case 9:return a.t1=a.sent,a.t2=r,a.t3={title:a.t1,remoteEvents:a.t2},(0,a.t0)(a.t3),a.next=15,(0,it.gz)(Bt.xv());case 15:case"end":return a.stop()}}),qt)}function en(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.Fm)(Bt.uI,Qt)]);case 2:case"end":return e.stop()}}),Yt)}var tn=ee().mark(nn);function nn(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.rM)(en)]);case 2:case"end":return e.stop()}}),tn)}const rn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ht,t=arguments.length>1?arguments[1]:void 0,n=Wt[t.type];return n?n(e,t):e};var an,on=(an={},a()(an,"docs/path/SET_BREADCRUMBS",Rt.Z.singleTransferReducer("breadcrumbs")),a()(an,"docs/path/SET_SEARCH_MODE",Rt.Z.singleTransferReducer("searchMode")),an),cn={breadcrumbs:[],searchMode:!1};var sn=ee().mark(hn),ln=ee().mark(yn),un=ee().mark(vn),dn=ee().mark(gn),pn=function(e,t){return e.intl.messages[t]||t},fn=function(e){return e.docs.path},mn=function(e){return e.input.rootNodes};function hn(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.Ys)(pn,"client.docs-browser.breadcrumbs.start");case 2:return e.t0=e.sent,e.t1={display:e.t0,path:"",type:"list"},e.next=6,(0,it.Ys)(pn,"client.docs-browser.breadcrumbs.searchResults");case 6:return e.t2=e.sent,e.t3={display:e.t2,path:"",type:"list"},e.abrupt("return",[e.t1,e.t3]);case 9:case"end":return e.stop()}}),sn)}function yn(e){var t,n,r,a,o,i;return ee().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return t=e.payload.location,n=(0,ft.Z)(t),c.next=4,(0,it.Ys)(fn);case 4:if(!c.sent.searchMode||n){c.next=11;break}return c.next=8,(0,it.RE)(hn);case 8:r=c.sent,c.next=21;break;case 11:return a=n?"documents/".concat(n.model,"/").concat(n.key,"/breadcrumbs"):"documents/breadcrumbs",c.next=14,(0,it.RE)(vn);case 14:return c.t0=c.sent,c.t1={rootnodes:c.t0},o={queryParams:c.t1},c.next=19,(0,it.RE)(dt.Z.requestSaga,a,o);case 19:i=c.sent,r=i.body.breadcrumbs;case 21:return c.next=23,(0,it.gz)(T(r));case 23:case"end":return c.stop()}}),ln)}function vn(){var e;return ee().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,it.Ys)(mn);case 2:return e=t.sent,t.abrupt("return",Array.isArray(e)&&e.length>0?e.map((function(e){return"".concat(e.entityName,"/").concat(e.key)})).join(","):null);case 4:case"end":return t.stop()}}),un)}function gn(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.Fm)("docs/path/LOAD_BREADCRUMBS",yn)]);case 2:case"end":return e.stop()}}),dn)}var En=ee().mark(bn);function bn(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.rM)(gn)]);case 2:case"end":return e.stop()}}),En)}const wn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cn,t=arguments.length>1?arguments[1]:void 0,n=on[t.type];return n?n(e,t):e};var xn,Sn=n(10154),Pn=(xn={},a()(xn,Sn.RK,Rt.Z.singleTransferReducer("path")),a()(xn,Sn.Sb,Rt.Z.singleTransferReducer("params")),xn),Zn={path:"",params:{}};var Cn=n(64916),kn=ee().mark(Nn),Rn=ee().mark(On);function Nn(e){var t,n;return ee().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.path,n=Cn.Z.extractParamsFromPath("/docs/:model/:key/:view(list|detail)",t)||{},r.next=4,(0,it.gz)(Sn.PX(n));case 4:case"end":return r.stop()}}),kn)}function On(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.Fm)(Sn.RK,Nn)]);case 2:case"end":return e.stop()}}),Rn)}var An=ee().mark(In);function In(){return ee().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,it.$6)([(0,it.rM)(On)]);case 2:case"end":return e.stop()}}),An)}const Tn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zn,t=arguments.length>1?arguments[1]:void 0,n=Pn[t.type];return n?n(e,t):e},Dn={docs:(0,ot.UY)({path:wn,create:Ct,list:At,move:rn,routing:Tn})};var _n=[bn,Zt,jt,nn,In];function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ln=["onListParentChange","openResource","onSelectChange","onSearchFormCollapsedChange"],Vn=function(e,t){return e.intl.messages[t]||t},jn=function(e){var t=e.routerType,n=e.store,r=e.rootPath,a=e.handleNotifications;if("routerless"===t)return v().createElement(Ke,{rootPath:r,handleNotifications:a});if("inherit"===t)return v().createElement(Xe,{rootPath:r,handleNotifications:a});var o=function(e){return(0,c.Z)({getUserConfirmation:function(t,n){var r=e.getState(),a=Vn(r,"client.common.ok"),o=Vn(r,"client.common.cancel"),i=S.Z.confirm("",t,a,o,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(i)}})}(n);return v().createElement(tt,{history:o,rootPath:r,handleNotifications:a})},Mn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,a=E.Z.createStore(Dn,_n,t,"docs-browser");t.backendUrl&&R.Z.setBackendUrl(t.backendUrl),t.businessUnit&&R.Z.setBusinessUnit(t.businessUnit),x.Z.addToStore(a,n),g.Z.addToStore(a),w.Z.addToStore(a,!0,["console","remote","notification"]);var o=!n.emitAction;S.Z.addToStore(a,o),b.Z.addToStore(a);var c=Array.isArray(t.rootNodes)&&1===t.rootNodes.length&&"Resource"!==t.rootNodes[0].entityName?t.rootNodes[0]:null,s=c?"/docs/".concat(c.entityName.toLowerCase(),"/").concat(c.key,"/list"):"/docs",l=jn({routerType:t.routerType,store:a,rootPath:s,handleNotifications:o});return E.Z.createApp("docs-browser",l,a,{input:t,events:n,actions:[].concat(i()(nt(t)),[(0,Sn.c4)(t.initialLocation)]),publicPath:r,textResourceModules:["component","common","actions","entity-list","entity-detail","docs-browser"]})},Bn=function(e){var t=E.Z.useApp({initApp:Mn,props:e,packageName:"docs-browser",externalEvents:Ln}),n=t.component,r=t.store,a=k.Z.usePrevious(e);return k.Z.useDidUpdate((function(){var t=f()(e,(function(e,t){return!d()(e,a[t])}));l()(t)||nt(t).forEach((function(e){r.dispatch(e)}))}),[e]),n};Bn.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fn(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({routerType:h().oneOf(["standalone","inherit","routerless"]),navigationStrategy:h().object,domainTypes:h().arrayOf(h().string),rootNodes:h().arrayOf(h().shape({entityName:h().string,key:h().string})),initialLocation:h().string,listLimit:h().number,documentDetailFormName:h().string,searchFormType:P.b,selectionStyle:Z.l,scrollBehaviour:C.az,getListFormName:h().func,disableViewPersistor:h().bool,getCustomLocation:h().func,businessUnit:h().string,searchFormCollapsed:h().bool,backendUrl:h().string},Ln.reduce((function(e,t){return e[t]=h().func,e}),{}));const Un=Bn},30023:(e,t,n)=>{n.d(t,{qh:()=>r,uI:()=>a,FV:()=>o,F$:()=>i,j2:()=>c,w6:()=>s,p0:()=>l,xv:()=>u});var r="docs/move/INITIALIZE",a="docs/move/MOVE_ELEMENTS",o="docs/move/SET_WAITING",i="docs/move/CLOSE",c=function(e,t,n){return{type:r,payload:{selection:e,onSuccess:t,onError:n}}},s=function(e,t){return{type:a,payload:{target:e,selected:t}}},l=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:o,payload:{isWaiting:e}}},u=function(){return{type:i}}},10154:(e,t,n)=>{n.d(t,{RK:()=>r,Sb:()=>a,c4:()=>o,PX:()=>i});var r="docs/routing/NAVIGATE",a="docs/routing/SET_PARAMS",o=function(e){return{type:r,payload:{path:e||""}}},i=function(e){return{type:a,payload:{params:e}}}},1662:(e,t,n)=>{n.d(t,{Z:()=>o});var r=/^\/docs\/doc\/(\d+)\/detail$/,a=/^\/docs\/(domain|folder)\/(\d+)\/list$/;const o=function(e){return function(e){var t=r.exec(e);return t&&t.length>=2?{model:"Resource",key:t[1]}:null}(e)||function(e){var t=a.exec(e);return t&&t.length>=3?{model:t[1].charAt(0).toUpperCase()+t[1].slice(1),key:t[2]}:null}(e)}},77035:(e,t,n)=>{n.d(t,{w:()=>u,C:()=>d});var r=n(67154),a=n.n(r),o=n(1024),i=n.n(o),c=n(46458),s=n(80467),l={navigate:n(10154).c4},u=(0,c.connect)((function(e){return{path:e.docs.routing.path,params:e.docs.routing.params}}),l),d=function(e){return function(t){var n=(0,s.TH)(),r=(0,s.k6)(),o=(0,s.UO)();return i().createElement(e,a()({},t,{path:n.pathname,navigate:r.push,params:o}))}}},53110:(e,t,n)=>{n.d(t,{U:()=>u});var r=n(6479),a=n.n(r),o=n(1024),i=n.n(o),c=n(46458),s=n(77035),l=function(e){return{compProviderRouterType:e.input.routerType}},u=function(e){var t=e.routerless,n=e.router,r=t?(0,s.w)(t):(0,s.w)(e),o=n?(0,s.C)(n):(0,s.C)(e);return(0,c.connect)(l)((function(e){var t=e.compProviderRouterType,n=a()(e,["compProviderRouterType"]);return"routerless"===t?i().createElement(r,n):i().createElement(o,n)}))}}}]);
|
|
@@ -42,5 +42,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
42
42
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
43
|
PERFORMANCE OF THIS SOFTWARE.
|
|
44
44
|
***************************************************************************** */
|
|
45
|
-
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},36585:function(e,t,n){var r,o;e=n.nmd(e),function(){var i,a,s,l=[].slice;if(i=null!==e&&null!=e.exports&&!0,a=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e){var t;if(null==e)throw new Error("Can't find moment");return(t=function(){function t(t,n,r,o){var i;null==o&&(o={}),"string"!=typeof r&&(o=null!=r?r:{},r=null),"boolean"==typeof o&&(o={allDay:o}),this._oStart=e(t,r,o.parseStrict),this._oEnd=e(n,r,o.parseStrict),this.allDay=null!=(i=o.allDay)&&i,this._mutated()}return t._extend=function(){var e,t,n,r,o,i;for(t=arguments[0],n=0,r=(i=2<=arguments.length?l.call(arguments,1):[]).length;n<r;n++)for(e in o=i[n])void 0!==o[e]&&(t[e]=o[e]);return t},t.prototype.start=function(){return this._start.clone()},t.prototype.end=function(){return this._end.clone()},t.prototype.isSame=function(e){return this._start.isSame(this._end,e)},t.prototype.length=function(e,t){return null==t&&(t=!1),this._displayEnd.diff(this._start,e,t)},t.prototype.count=function(e){var t;return t=this.start().startOf(e),this.end().startOf(e).diff(t,e)+1},t.prototype.countInner=function(e){var t,n,r;return(r=(n=this._inner(e))[0])>=(t=n[1])?0:t.diff(r,e)},t.prototype.iterate=function(e,t,n){var r,o,i,a,s;return e=(i=this._prepIterateInputs(e,t,n))[0],t=i[1],n=i[2],a=this.start().startOf(t),r=this.end().startOf(t),this.allDay&&(r=r.add(1,"d")),s=this,o=function(){return!s.allDay&&a<=r&&(!n||!a.isSame(r)||s._end.hours()>n)||s.allDay&&a<r},this._iterateHelper(t,a,o,e)},t.prototype.iterateInner=function(e,t){var n,r,o,i,a;return e=(o=this._prepIterateInputs(e,t))[0],t=o[1],i=this._inner(t,e),a=i[0],n=i[1],r=function(){return a<n},this._iterateHelper(t,a,r,e)},t.prototype.humanizeLength=function(){return this.allDay?this.isSame("d")?"all day":this._start.from(this.end().add(1,"d"),!0):this._start.from(this._end,!0)},t.prototype.asDuration=function(t){var n;return n=this._end.diff(this._start),e.duration(n)},t.prototype.isPast=function(){return this._lastMilli<e()},t.prototype.isFuture=function(){return this._start>e()},t.prototype.isCurrent=function(){return!this.isPast()&&!this.isFuture()},t.prototype.contains=function(t){return e.isMoment(t)||(t=e(t)),this._start<=t&&this._lastMilli>=t},t.prototype.isEmpty=function(){return this._start.isSame(this._displayEnd)},t.prototype.overlaps=function(e){return this._displayEnd.isAfter(e._start)&&this._start.isBefore(e._displayEnd)},t.prototype.engulfs=function(e){return this._start<=e._start&&this._displayEnd>=e._displayEnd},t.prototype.union=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start<e._start?this._start:e._start,this._lastMilli>e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.intersection=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start>e._start?this._start:e._start,this._lastMilli<e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.xor=function(){var e,n,r,o,i,a,s,c,u,d,f,p,h,A,g,v,m;for(h=1<=arguments.length?l.call(arguments,0):[],f=0,v=null,g=[],e=function(){var e,t,n;for(n=[],e=0,t=h.length;e<t;e++)(d=h[e]).allDay&&n.push(d);return n}().length===h.length,n=[],r=i=0,c=(A=[this].concat(h)).length;i<c;r=++i)o=A[r],n.push({time:o._start,i:r,type:0}),n.push({time:o._displayEnd,i:r,type:1});for(a=0,u=(n=n.sort((function(e,t){return e.time-t.time}))).length;a<u;a++)1===(p=n[a]).type&&(f-=1),f===p.type&&(v=p.time),f===(p.type+1)%2&&(v&&((s=g[g.length-1])&&s._end.isSame(v)?(s._oEnd=p.time,s._mutated()):(m=new t(v,e?p.time.clone().subtract(1,"d"):p.time,e)).isEmpty()||g.push(m)),v=null),0===p.type&&(f+=1);return g},t.prototype.difference=function(){var e,t,n,r,o,i,a;for(n=1<=arguments.length?l.call(arguments,0):[],o=[],e=0,t=(r=this.xor.apply(this,n).map((a=this,function(e){return a.intersection(e)}))).length;e<t;e++)!(i=r[e]).isEmpty()&&i.isValid()&&o.push(i);return o},t.prototype.split=function(){var t,n,r,o,i,s,c,u,d,f;if(t=1<=arguments.length?l.call(arguments,0):[],r=c=this.start(),e.isDuration(t[0])?n=t[0]:!e.isMoment(t[0])&&!a(t[0])&&"object"==typeof t[0]||"number"==typeof t[0]&&"string"==typeof t[1]?n=e.duration(t[0],t[1]):d=a(t[0])?t[0]:t,d&&(d=function(){var t,n,r;for(r=[],t=0,n=d.length;t<n;t++)u=d[t],r.push(e(u));return r}(),d=function(){var e,t,n;for(n=[],e=0,t=d.length;e<t;e++)(s=d[e]).isValid()&&s>=c&&n.push(s);return n}().sort((function(e,t){return e.valueOf()-t.valueOf()}))),n&&0===n.asMilliseconds()||d&&0===d.length)return[this];for(f=[],i=0,o=this._displayEnd;c<o&&(null==d||d[i]);)r=n?c.clone().add(n):d[i].clone(),r=e.min(o,r),c.isSame(r)||f.push(e.twix(c,r)),c=r,i+=1;return!r.isSame(this._displayEnd)&&d&&f.push(e.twix(r,this._displayEnd)),f},t.prototype.divide=function(e){return this.split(this.length()/e,"ms").slice(0,+(e-1)+1||9e9)},t.prototype.isValid=function(){return this._start.isValid()&&this._end.isValid()&&this._start<=this._displayEnd},t.prototype.equals=function(e){return e instanceof t&&this.allDay===e.allDay&&this._start.valueOf()===e._start.valueOf()&&this._end.valueOf()===e._end.valueOf()},t.prototype.toString=function(){return"{start: "+this._start.format()+", end: "+this._end.format()+", allDay: "+(this.allDay?"true":"false")+"}"},t.prototype.toArray=function(e,t,n){var r,o;for(r=this.iterate(e,t,n),o=[];r.hasNext();)o.push(r.next());return o},t.prototype.simpleFormat=function(e,n){var r,o;return r={allDay:"(all day)",template:t.formatTemplate},t._extend(r,n||{}),o=r.template(this._start.format(e),this._end.format(e)),this.allDay&&r.allDay&&(o+=" "+r.allDay),o},t.prototype.format=function(n){var r,o,i,a,s,l,c,u,d,f,p,h,A,g,v,m,y,C,b;if(this.isEmpty())return"";for(h=this._start.localeData()._longDateFormat.LT[0],v={groupMeridiems:!0,spaceBeforeMeridiem:!0,spaceBeforeMonth:!0,spaceBeforeDay:!0,showDayOfWeek:!1,showYearFirst:!1,hideTime:!1,hideYear:!1,implicitMinutes:!0,implicitDate:!1,implicitYear:!0,yearFormat:"YYYY",monthFormat:"MMM",weekdayFormat:"ddd",dayFormat:"D",meridiemFormat:"A",hourFormat:h,minuteFormat:"mm",allDay:"all day",explicitAllDay:!1,lastNightEndsAt:0,template:t.formatTemplate},t._extend(v,n||{}),l=[],g=v.hourFormat&&"h"===v.hourFormat[0],p=this._start.localeData()._longDateFormat.L,r=p.indexOf("M")<p.indexOf("D"),u=v.lastNightEndsAt>0&&!this.allDay&&this.end().startOf("d").valueOf()===this.start().add(1,"d").startOf("d").valueOf()&&this._start.hours()>12&&this._end.hours()<v.lastNightEndsAt,A=!(v.hideDate||v.implicitDate&&this.start().startOf("d").valueOf()===e().startOf("d").valueOf()&&(this.isSame("d")||u)),o=!(this.allDay||v.hideTime),this.allDay&&this.isSame("d")&&(v.implicitDate||v.explicitAllDay)&&l.push({name:"all day simple",fn:function(){return v.allDay},pre:" ",slot:0}),!A||v.hideYear||v.implicitYear&&this._start.year()===e().year()&&this.isSame("y")||l.push({name:"year",fn:function(e){return e.format(v.yearFormat)},pre:r?", ":" ",slot:v.showYearFirst?-1:4}),o&&A&&l.push({name:"month-date",fn:function(e){var t;return t=r?v.monthFormat+" "+v.dayFormat:v.dayFormat+" "+v.monthFormat,e.format(t)},ignoreEnd:function(){return u},pre:" ",slot:2}),!o&&A&&l.push({name:"month",fn:function(e){return e.format(v.monthFormat)},pre:v.spaceBeforeMonth?" ":"",slot:r?2:3}),!o&&A&&l.push({name:"date",fn:function(e){return e.format(v.dayFormat)},pre:v.spaceBeforeDay?" ":"",slot:r?3:2}),A&&v.showDayOfWeek&&l.push({name:"day of week",fn:function(e){return e.format(v.weekdayFormat)},pre:" ",slot:1}),v.groupMeridiems&&g&&!this.allDay&&!v.hideTime&&l.push({name:"meridiem",fn:function(e){return e.format(v.meridiemFormat)},slot:6,pre:v.spaceBeforeMeridiem?" ":""}),this.allDay||v.hideTime||l.push({name:"time",fn:function(e){var t;return t=0===e.minutes()&&v.implicitMinutes&&g?e.format(v.hourFormat):e.format(v.hourFormat+":"+v.minuteFormat),!v.groupMeridiems&&g&&(v.spaceBeforeMeridiem&&(t+=" "),t+=e.format(v.meridiemFormat)),t},slot:5,pre:", "}),y=[],a=[],i=[],C=!0,b=this,m=function(e){var t,n,r;return r=e.fn(b._start),t=e.ignoreEnd&&e.ignoreEnd()?r:e.fn(b._end),n={format:e,value:function(){return r}},t===r&&C?i.push(n):(C&&(C=!1,i.push({format:{slot:e.slot,pre:""},value:function(){return v.template(s(y),s(a,!0).trim())}})),y.push(n),a.push({format:e,value:function(){return t}}))},d=0,f=l.length;d<f;d++)m(l[d]);return c=!0,(s=function(e,t){var n,r,o,i,a,s;for(o=!0,s="",n=0,r=(i=e.sort((function(e,t){return e.format.slot-t.format.slot}))).length;n<r;n++)a=i[n],c||(s+=o&&t?" ":a.format.pre),s+=a.value(),c=!1,o=!1;return s})(i)},t.prototype._iterateHelper=function(e,t,n,r){return{next:function(){var o;return n()?(o=t.clone(),t.add(r,e),o):null},hasNext:n}},t.prototype._prepIterateInputs=function(){var t,n,r,o,i,a;return"number"==typeof(t=1<=arguments.length?l.call(arguments,0):[])[0]?t:("string"==typeof t[0]&&(o=t.shift(),n=null!=(i=t.pop())?i:1,t.length&&(r=null!=(a=t[0])&&a)),e.isDuration(t[0])&&(o="ms",n=t[0].as(o)),[n,o,r])},t.prototype._inner=function(e,t){var n,r,o;return null==e&&(e="ms"),null==t&&(t=1),o=this.start(),n=this._displayEnd.clone(),o>o.clone().startOf(e)&&o.startOf(e).add(t,e),n<n.clone().endOf(e)&&n.startOf(e),r=o.twix(n).asDuration(e).get(e)%t,n.subtract(r,e),[o,n]},t.prototype._mutated=function(){return this._start=this.allDay?this._oStart.clone().startOf("d"):this._oStart,this._lastMilli=this.allDay?this._oEnd.clone().endOf("d"):this._oEnd,this._end=this.allDay?this._oEnd.clone().startOf("d"):this._oEnd,this._displayEnd=this.allDay?this._end.clone().add(1,"d"):this._end},t}())._extend(e.locale(),{_twix:t.defaults}),t.formatTemplate=function(e,t){return e+" - "+t},e.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,arguments,(function(){}))},e.fn.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,[this].concat(l.call(arguments)),(function(){}))},e.fn.forDuration=function(e,n){return new t(this,this.clone().add(e),n)},e.duration.fn&&(e.duration.fn.afterMoment=function(n,r){return new t(n,e(n).clone().add(this),r)},e.duration.fn.beforeMoment=function(n,r){return new t(e(n).clone().subtract(this),n,r)}),e.twixClass=t,t},i)return e.exports=s(n(30381));r=[n(30381)],void 0===(o=function(e){return s(e)}.apply(t,r))||(e.exports=o),this.moment?this.Twix=s(this.moment):"undefined"!=typeof moment&&null!==moment&&(this.Twix=s(moment))}.call(this)}}]);
|
|
46
|
-
//# sourceMappingURL=chunk-413.a87d7653543f87fb986b.js.map
|
|
45
|
+
var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},36585:function(e,t,n){var r,o;e=n.nmd(e),function(){var i,a,s,l=[].slice;if(i=null!==e&&null!=e.exports&&!0,a=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e){var t;if(null==e)throw new Error("Can't find moment");return(t=function(){function t(t,n,r,o){var i;null==o&&(o={}),"string"!=typeof r&&(o=null!=r?r:{},r=null),"boolean"==typeof o&&(o={allDay:o}),this._oStart=e(t,r,o.parseStrict),this._oEnd=e(n,r,o.parseStrict),this.allDay=null!=(i=o.allDay)&&i,this._mutated()}return t._extend=function(){var e,t,n,r,o,i;for(t=arguments[0],n=0,r=(i=2<=arguments.length?l.call(arguments,1):[]).length;n<r;n++)for(e in o=i[n])void 0!==o[e]&&(t[e]=o[e]);return t},t.prototype.start=function(){return this._start.clone()},t.prototype.end=function(){return this._end.clone()},t.prototype.isSame=function(e){return this._start.isSame(this._end,e)},t.prototype.length=function(e,t){return null==t&&(t=!1),this._displayEnd.diff(this._start,e,t)},t.prototype.count=function(e){var t;return t=this.start().startOf(e),this.end().startOf(e).diff(t,e)+1},t.prototype.countInner=function(e){var t,n,r;return(r=(n=this._inner(e))[0])>=(t=n[1])?0:t.diff(r,e)},t.prototype.iterate=function(e,t,n){var r,o,i,a,s;return e=(i=this._prepIterateInputs(e,t,n))[0],t=i[1],n=i[2],a=this.start().startOf(t),r=this.end().startOf(t),this.allDay&&(r=r.add(1,"d")),s=this,o=function(){return!s.allDay&&a<=r&&(!n||!a.isSame(r)||s._end.hours()>n)||s.allDay&&a<r},this._iterateHelper(t,a,o,e)},t.prototype.iterateInner=function(e,t){var n,r,o,i,a;return e=(o=this._prepIterateInputs(e,t))[0],t=o[1],i=this._inner(t,e),a=i[0],n=i[1],r=function(){return a<n},this._iterateHelper(t,a,r,e)},t.prototype.humanizeLength=function(){return this.allDay?this.isSame("d")?"all day":this._start.from(this.end().add(1,"d"),!0):this._start.from(this._end,!0)},t.prototype.asDuration=function(t){var n;return n=this._end.diff(this._start),e.duration(n)},t.prototype.isPast=function(){return this._lastMilli<e()},t.prototype.isFuture=function(){return this._start>e()},t.prototype.isCurrent=function(){return!this.isPast()&&!this.isFuture()},t.prototype.contains=function(t){return e.isMoment(t)||(t=e(t)),this._start<=t&&this._lastMilli>=t},t.prototype.isEmpty=function(){return this._start.isSame(this._displayEnd)},t.prototype.overlaps=function(e){return this._displayEnd.isAfter(e._start)&&this._start.isBefore(e._displayEnd)},t.prototype.engulfs=function(e){return this._start<=e._start&&this._displayEnd>=e._displayEnd},t.prototype.union=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start<e._start?this._start:e._start,this._lastMilli>e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.intersection=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start>e._start?this._start:e._start,this._lastMilli<e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.xor=function(){var e,n,r,o,i,a,s,c,u,d,f,p,h,A,g,v,m;for(h=1<=arguments.length?l.call(arguments,0):[],f=0,v=null,g=[],e=function(){var e,t,n;for(n=[],e=0,t=h.length;e<t;e++)(d=h[e]).allDay&&n.push(d);return n}().length===h.length,n=[],r=i=0,c=(A=[this].concat(h)).length;i<c;r=++i)o=A[r],n.push({time:o._start,i:r,type:0}),n.push({time:o._displayEnd,i:r,type:1});for(a=0,u=(n=n.sort((function(e,t){return e.time-t.time}))).length;a<u;a++)1===(p=n[a]).type&&(f-=1),f===p.type&&(v=p.time),f===(p.type+1)%2&&(v&&((s=g[g.length-1])&&s._end.isSame(v)?(s._oEnd=p.time,s._mutated()):(m=new t(v,e?p.time.clone().subtract(1,"d"):p.time,e)).isEmpty()||g.push(m)),v=null),0===p.type&&(f+=1);return g},t.prototype.difference=function(){var e,t,n,r,o,i,a;for(n=1<=arguments.length?l.call(arguments,0):[],o=[],e=0,t=(r=this.xor.apply(this,n).map((a=this,function(e){return a.intersection(e)}))).length;e<t;e++)!(i=r[e]).isEmpty()&&i.isValid()&&o.push(i);return o},t.prototype.split=function(){var t,n,r,o,i,s,c,u,d,f;if(t=1<=arguments.length?l.call(arguments,0):[],r=c=this.start(),e.isDuration(t[0])?n=t[0]:!e.isMoment(t[0])&&!a(t[0])&&"object"==typeof t[0]||"number"==typeof t[0]&&"string"==typeof t[1]?n=e.duration(t[0],t[1]):d=a(t[0])?t[0]:t,d&&(d=function(){var t,n,r;for(r=[],t=0,n=d.length;t<n;t++)u=d[t],r.push(e(u));return r}(),d=function(){var e,t,n;for(n=[],e=0,t=d.length;e<t;e++)(s=d[e]).isValid()&&s>=c&&n.push(s);return n}().sort((function(e,t){return e.valueOf()-t.valueOf()}))),n&&0===n.asMilliseconds()||d&&0===d.length)return[this];for(f=[],i=0,o=this._displayEnd;c<o&&(null==d||d[i]);)r=n?c.clone().add(n):d[i].clone(),r=e.min(o,r),c.isSame(r)||f.push(e.twix(c,r)),c=r,i+=1;return!r.isSame(this._displayEnd)&&d&&f.push(e.twix(r,this._displayEnd)),f},t.prototype.divide=function(e){return this.split(this.length()/e,"ms").slice(0,+(e-1)+1||9e9)},t.prototype.isValid=function(){return this._start.isValid()&&this._end.isValid()&&this._start<=this._displayEnd},t.prototype.equals=function(e){return e instanceof t&&this.allDay===e.allDay&&this._start.valueOf()===e._start.valueOf()&&this._end.valueOf()===e._end.valueOf()},t.prototype.toString=function(){return"{start: "+this._start.format()+", end: "+this._end.format()+", allDay: "+(this.allDay?"true":"false")+"}"},t.prototype.toArray=function(e,t,n){var r,o;for(r=this.iterate(e,t,n),o=[];r.hasNext();)o.push(r.next());return o},t.prototype.simpleFormat=function(e,n){var r,o;return r={allDay:"(all day)",template:t.formatTemplate},t._extend(r,n||{}),o=r.template(this._start.format(e),this._end.format(e)),this.allDay&&r.allDay&&(o+=" "+r.allDay),o},t.prototype.format=function(n){var r,o,i,a,s,l,c,u,d,f,p,h,A,g,v,m,y,C,b;if(this.isEmpty())return"";for(h=this._start.localeData()._longDateFormat.LT[0],v={groupMeridiems:!0,spaceBeforeMeridiem:!0,spaceBeforeMonth:!0,spaceBeforeDay:!0,showDayOfWeek:!1,showYearFirst:!1,hideTime:!1,hideYear:!1,implicitMinutes:!0,implicitDate:!1,implicitYear:!0,yearFormat:"YYYY",monthFormat:"MMM",weekdayFormat:"ddd",dayFormat:"D",meridiemFormat:"A",hourFormat:h,minuteFormat:"mm",allDay:"all day",explicitAllDay:!1,lastNightEndsAt:0,template:t.formatTemplate},t._extend(v,n||{}),l=[],g=v.hourFormat&&"h"===v.hourFormat[0],p=this._start.localeData()._longDateFormat.L,r=p.indexOf("M")<p.indexOf("D"),u=v.lastNightEndsAt>0&&!this.allDay&&this.end().startOf("d").valueOf()===this.start().add(1,"d").startOf("d").valueOf()&&this._start.hours()>12&&this._end.hours()<v.lastNightEndsAt,A=!(v.hideDate||v.implicitDate&&this.start().startOf("d").valueOf()===e().startOf("d").valueOf()&&(this.isSame("d")||u)),o=!(this.allDay||v.hideTime),this.allDay&&this.isSame("d")&&(v.implicitDate||v.explicitAllDay)&&l.push({name:"all day simple",fn:function(){return v.allDay},pre:" ",slot:0}),!A||v.hideYear||v.implicitYear&&this._start.year()===e().year()&&this.isSame("y")||l.push({name:"year",fn:function(e){return e.format(v.yearFormat)},pre:r?", ":" ",slot:v.showYearFirst?-1:4}),o&&A&&l.push({name:"month-date",fn:function(e){var t;return t=r?v.monthFormat+" "+v.dayFormat:v.dayFormat+" "+v.monthFormat,e.format(t)},ignoreEnd:function(){return u},pre:" ",slot:2}),!o&&A&&l.push({name:"month",fn:function(e){return e.format(v.monthFormat)},pre:v.spaceBeforeMonth?" ":"",slot:r?2:3}),!o&&A&&l.push({name:"date",fn:function(e){return e.format(v.dayFormat)},pre:v.spaceBeforeDay?" ":"",slot:r?3:2}),A&&v.showDayOfWeek&&l.push({name:"day of week",fn:function(e){return e.format(v.weekdayFormat)},pre:" ",slot:1}),v.groupMeridiems&&g&&!this.allDay&&!v.hideTime&&l.push({name:"meridiem",fn:function(e){return e.format(v.meridiemFormat)},slot:6,pre:v.spaceBeforeMeridiem?" ":""}),this.allDay||v.hideTime||l.push({name:"time",fn:function(e){var t;return t=0===e.minutes()&&v.implicitMinutes&&g?e.format(v.hourFormat):e.format(v.hourFormat+":"+v.minuteFormat),!v.groupMeridiems&&g&&(v.spaceBeforeMeridiem&&(t+=" "),t+=e.format(v.meridiemFormat)),t},slot:5,pre:", "}),y=[],a=[],i=[],C=!0,b=this,m=function(e){var t,n,r;return r=e.fn(b._start),t=e.ignoreEnd&&e.ignoreEnd()?r:e.fn(b._end),n={format:e,value:function(){return r}},t===r&&C?i.push(n):(C&&(C=!1,i.push({format:{slot:e.slot,pre:""},value:function(){return v.template(s(y),s(a,!0).trim())}})),y.push(n),a.push({format:e,value:function(){return t}}))},d=0,f=l.length;d<f;d++)m(l[d]);return c=!0,(s=function(e,t){var n,r,o,i,a,s;for(o=!0,s="",n=0,r=(i=e.sort((function(e,t){return e.format.slot-t.format.slot}))).length;n<r;n++)a=i[n],c||(s+=o&&t?" ":a.format.pre),s+=a.value(),c=!1,o=!1;return s})(i)},t.prototype._iterateHelper=function(e,t,n,r){return{next:function(){var o;return n()?(o=t.clone(),t.add(r,e),o):null},hasNext:n}},t.prototype._prepIterateInputs=function(){var t,n,r,o,i,a;return"number"==typeof(t=1<=arguments.length?l.call(arguments,0):[])[0]?t:("string"==typeof t[0]&&(o=t.shift(),n=null!=(i=t.pop())?i:1,t.length&&(r=null!=(a=t[0])&&a)),e.isDuration(t[0])&&(o="ms",n=t[0].as(o)),[n,o,r])},t.prototype._inner=function(e,t){var n,r,o;return null==e&&(e="ms"),null==t&&(t=1),o=this.start(),n=this._displayEnd.clone(),o>o.clone().startOf(e)&&o.startOf(e).add(t,e),n<n.clone().endOf(e)&&n.startOf(e),r=o.twix(n).asDuration(e).get(e)%t,n.subtract(r,e),[o,n]},t.prototype._mutated=function(){return this._start=this.allDay?this._oStart.clone().startOf("d"):this._oStart,this._lastMilli=this.allDay?this._oEnd.clone().endOf("d"):this._oEnd,this._end=this.allDay?this._oEnd.clone().startOf("d"):this._oEnd,this._displayEnd=this.allDay?this._end.clone().add(1,"d"):this._end},t}())._extend(e.locale(),{_twix:t.defaults}),t.formatTemplate=function(e,t){return e+" - "+t},e.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,arguments,(function(){}))},e.fn.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,[this].concat(l.call(arguments)),(function(){}))},e.fn.forDuration=function(e,n){return new t(this,this.clone().add(e),n)},e.duration.fn&&(e.duration.fn.afterMoment=function(n,r){return new t(n,e(n).clone().add(this),r)},e.duration.fn.beforeMoment=function(n,r){return new t(e(n).clone().subtract(this),n,r)}),e.twixClass=t,t},i)return e.exports=s(n(30381));r=[n(30381)],void 0===(o=function(e){return s(e)}.apply(t,r))||(e.exports=o),this.moment?this.Twix=s(this.moment):"undefined"!=typeof moment&&null!==moment&&(this.Twix=s(moment))}.call(this)}}]);
|
|
@@ -6,5 +6,4 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case p:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return O(e)===p}t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||O(e)===l},t.isConcurrentMode=C,t.isContextConsumer=function(e){return O(e)===c},t.isContextProvider=function(e){return O(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return O(e)===f},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===i},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===i||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=O},6830:(e,t,r)=>{"use strict";e.exports=r(75617)},538:(e,t,r)=>{var n=r(73081);function o(e){this.mode=n.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},13102:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},32398:e=>{e.exports={L:1,M:0,Q:3,H:2}},41606:(e,t,r)=>{var n=r(80415);function o(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var a=0;a<e.getLength();a++)t[r+a]^=n.gexp(n.glog(this.get(r))+n.glog(e.get(a)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=n.glog(this.get(0))-n.glog(e.get(0)),r=new Array(this.getLength()),a=0;a<this.getLength();a++)r[a]=this.get(a);for(a=0;a<e.getLength();a++)r[a]^=n.gexp(n.glog(e.get(a))+t);return new o(r,0).mod(e)}},e.exports=o},43443:(e,t,r)=>{var n=r(538),o=r(74886),a=r(13102),i=r(7032),s=r(41606);function u(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=u.prototype;c.addData=function(e){var t=new n(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),r=new a,n=0,s=0;s<t.length;s++)n+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var u=this.dataList[s];r.put(u.mode,4),r.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=u.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=i.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},c.createMovieClip=function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var o=0;o<this.modules.length;o++)for(var a=1*o,i=0;i<this.modules[o].length;i++){var s=1*i;this.modules[o][i]&&(n.beginFill(0,100),n.moveTo(s,a),n.lineTo(s+1,a),n.lineTo(s+1,a+1),n.lineTo(s,a+1),n.endFill())}return n},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],o=e[r];if(null==this.modules[n][o])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[n+a][o+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++){n=!e&&1==(t>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},c.setupTypeInfo=function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=i.getBCHTypeInfo(r),o=0;o<15;o++){var a=!e&&1==(n>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(o=0;o<15;o++){a=!e&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var r=-1,n=this.moduleCount-1,o=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[n][s-u]){var c=!1;a<e.length&&(c=1==(e[a]>>>o&1)),i.getMask(t,n,s-u)&&(c=!c),this.modules[n][s-u]=c,-1==--o&&(a++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}},u.PAD0=236,u.PAD1=17,u.createData=function(e,t,r){for(var n=o.getRSBlocks(e,t),s=new a,c=0;c<r.length;c++){var l=r[c];s.put(l.mode,4),s.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(s)}var p=0;for(c=0;c<n.length;c++)p+=n[c].dataCount;if(s.getLengthInBits()>8*p)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*p+")");for(s.getLengthInBits()+4<=8*p&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*p||(s.put(u.PAD0,8),s.getLengthInBits()>=8*p));)s.put(u.PAD1,8);return u.createBytes(s,n)},u.createBytes=function(e,t){for(var r=0,n=0,o=0,a=new Array(t.length),u=new Array(t.length),c=0;c<t.length;c++){var l=t[c].dataCount,p=t[c].totalCount-l;n=Math.max(n,l),o=Math.max(o,p),a[c]=new Array(l);for(var f=0;f<a[c].length;f++)a[c][f]=255&e.buffer[f+r];r+=l;var h=i.getErrorCorrectPolynomial(p),d=new s(a[c],h.getLength()-1).mod(h);u[c]=new Array(h.getLength()-1);for(f=0;f<u[c].length;f++){var m=f+d.getLength()-u[c].length;u[c][f]=m>=0?d.get(m):0}}var g=0;for(f=0;f<t.length;f++)g+=t[f].totalCount;var y=new Array(g),v=0;for(f=0;f<n;f++)for(c=0;c<t.length;c++)f<a[c].length&&(y[v++]=a[c][f]);for(f=0;f<o;f++)for(c=0;c<t.length;c++)f<u[c].length&&(y[v++]=u[c][f]);return y},e.exports=u},74886:(e,t,r)=>{var n=r(32398);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var r=o.getRsBlockTable(e,t);if(null==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,a=new Array,i=0;i<n;i++)for(var s=r[3*i+0],u=r[3*i+1],c=r[3*i+2],l=0;l<s;l++)a.push(new o(u,c));return a},o.getRsBlockTable=function(e,t){switch(t){case n.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case n.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case n.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case n.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},80415:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)t.EXP_TABLE[r]=1<<r;for(r=8;r<256;r++)t.EXP_TABLE[r]=t.EXP_TABLE[r-4]^t.EXP_TABLE[r-5]^t.EXP_TABLE[r-6]^t.EXP_TABLE[r-8];for(r=0;r<255;r++)t.LOG_TABLE[t.EXP_TABLE[r]]=r;e.exports=t},73081:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},7032:(e,t,r)=>{var n=r(73081),o=r(41606),a=r(80415),i=0,s=1,u=2,c=3,l=4,p=5,f=6,h=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;d.getBCHDigit(t)-d.getBCHDigit(d.G15)>=0;)t^=d.G15<<d.getBCHDigit(t)-d.getBCHDigit(d.G15);return(e<<10|t)^d.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;d.getBCHDigit(t)-d.getBCHDigit(d.G18)>=0;)t^=d.G18<<d.getBCHDigit(t)-d.getBCHDigit(d.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case i:return(t+r)%2==0;case s:return t%2==0;case u:return r%3==0;case c:return(t+r)%3==0;case l:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case p:return t*r%2+t*r%3==0;case f:return(t*r%2+t*r%3)%2==0;case h:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),r=0;r<e;r++)t=t.multiply(new o([1,a.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var o=0;o<t;o++){for(var a=0,i=e.isDark(n,o),s=-1;s<=1;s++)if(!(n+s<0||t<=n+s))for(var u=-1;u<=1;u++)o+u<0||t<=o+u||0==s&&0==u||i==e.isDark(n+s,o+u)&&a++;a>5&&(r+=3+a-5)}for(n=0;n<t-1;n++)for(o=0;o<t-1;o++){var c=0;e.isDark(n,o)&&c++,e.isDark(n+1,o)&&c++,e.isDark(n,o+1)&&c++,e.isDark(n+1,o+1)&&c++,0!=c&&4!=c||(r+=3)}for(n=0;n<t;n++)for(o=0;o<t-6;o++)e.isDark(n,o)&&!e.isDark(n,o+1)&&e.isDark(n,o+2)&&e.isDark(n,o+3)&&e.isDark(n,o+4)&&!e.isDark(n,o+5)&&e.isDark(n,o+6)&&(r+=40);for(o=0;o<t;o++)for(n=0;n<t-6;n++)e.isDark(n,o)&&!e.isDark(n+1,o)&&e.isDark(n+2,o)&&e.isDark(n+3,o)&&e.isDark(n+4,o)&&!e.isDark(n+5,o)&&e.isDark(n+6,o)&&(r+=40);var l=0;for(o=0;o<t;o++)for(n=0;n<t;n++)e.isDark(n,o)&&l++;return r+=10*(Math.abs(100*l/t/t-50)/5)}};e.exports=d},42420:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(r,!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?h(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=r(1024),v=(r(35989),r(43443)),b=r(32398);function w(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n<2048?(t+=String.fromCharCode(192|n>>6),t+=String.fromCharCode(128|63&n)):n<55296||n>=57344?(t+=String.fromCharCode(224|n>>12),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n)):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t+=String.fromCharCode(240|n>>18),t+=String.fromCharCode(128|n>>12&63),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n))}return t}var O={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[];return e.forEach((function(e,n){var o=null;e.forEach((function(a,i){if(!a&&null!==o)return r.push("M".concat(o+t," ").concat(n+t,"h").concat(i-o,"v1H").concat(o+t,"z")),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?r.push("M".concat(i+t,",").concat(n+t," h1v1H").concat(i+t,"z")):r.push("M".concat(o+t,",").concat(n+t," h").concat(i+1-o,"v1H").concat(o+t,"z"))}}))})),r.join("")}function E(e,t){return e.slice().map((function(e,r){return r<t.y||r>=t.y+t.h?e:e.map((function(e,r){return(r<t.x||r>=t.x+t.w)&&e}))}))}function x(e,t){var r=e.imageSettings,n=e.size,o=e.includeMargin;if(null==r)return null;var a=o?4:0,i=t.length+2*a,s=Math.floor(.1*n),u=i/n,c=(r.width||s)*u,l=(r.height||s)*u,p=null==r.x?t.length/2-c/2:r.x*u,f=null==r.y?t.length/2-l/2:r.y*u,h=null;if(r.excavate){var d=Math.floor(p),m=Math.floor(f);h={x:d,y:m,w:Math.ceil(c+p-d),h:Math.ceil(l+f-m)}}return{x:p,y:f,h:l,w:c,excavation:h}}var k=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),S=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return g(h(r=p(this,(e=f(t)).call.apply(e,[this].concat(o)))),"_canvas",void 0),g(h(r),"_image",void 0),g(h(r),"state",{imgLoaded:!1}),g(h(r),"handleImageLoad",(function(){r.setState({imgLoaded:!0})})),r}return d(t,e),l(t,[{key:"componentDidMount",value:function(){this._image&&this._image.complete&&this.handleImageLoad(),this.update()}},{key:"componentWillReceiveProps",value:function(e){var t,r;(null===(t=this.props.imageSettings)||void 0===t?void 0:t.src)!==(null===(r=e.imageSettings)||void 0===r?void 0:r.src)&&this.setState({imgLoaded:!1})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,o=e.bgColor,a=e.fgColor,i=e.includeMargin,s=e.imageSettings,u=new v(-1,b[n]);if(u.addData(w(t)),u.make(),null!=this._canvas){var c=this._canvas,l=c.getContext("2d");if(!l)return;var p=u.modules;if(null===p)return;var f=i?4:0,h=p.length+2*f,d=x(this.props,p);null!=s&&null!=d&&null!=d.excavation&&(p=E(p,d.excavation));var m=window.devicePixelRatio||1;c.height=c.width=r*m;var g=r/h*m;l.scale(g,g),l.fillStyle=o,l.fillRect(0,0,h,h),l.fillStyle=a,k?l.fill(new Path2D(C(p,f))):p.forEach((function(e,t){e.forEach((function(e,r){e&&l.fillRect(r+f,t+f,1,1)}))})),this.state.imgLoaded&&this._image&&null!=d&&l.drawImage(this._image,d.x+f,d.y+f,d.w,d.h)}}},{key:"render",value:function(){var e=this,t=this.props,r=(t.value,t.size),n=(t.level,t.bgColor,t.fgColor,t.style),a=(t.includeMargin,t.imageSettings),u=s(t,["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"]),c=i({height:r,width:r},n),l=null,p=a&&a.src;return null!=a&&null!=p&&(l=y.createElement("img",{src:p,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),y.createElement(y.Fragment,null,y.createElement("canvas",o({style:c,height:r,width:r,ref:function(t){return e._canvas=t}},u)),l)}}]),t}(y.PureComponent);g(S,"defaultProps",O);var _=function(e){function t(){return u(this,t),p(this,f(t).apply(this,arguments))}return d(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,a=e.bgColor,i=e.fgColor,u=e.includeMargin,c=e.imageSettings,l=s(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),p=new v(-1,b[n]);p.addData(w(t)),p.make();var f=p.modules;if(null===f)return null;var h=u?4:0,d=f.length+2*h,m=x(this.props,f),g=null;null!=c&&null!=m&&(null!=m.excavation&&(f=E(f,m.excavation)),g=y.createElement("image",{xlinkHref:c.src,height:m.h,width:m.w,x:m.x+h,y:m.y+h,preserveAspectRatio:"none"}));var O=C(f,h);return y.createElement("svg",o({shapeRendering:"crispEdges",height:r,width:r,viewBox:"0 0 ".concat(d," ").concat(d)},l),y.createElement("path",{fill:a,d:"M0,0 h".concat(d,"v").concat(d,"H0z")}),y.createElement("path",{fill:i,d:O}),g)}}]),t}(y.PureComponent);g(_,"defaultProps",O);var L=function(e){var t=e.renderAs,r=s(e,["renderAs"]),n="svg"===t?_:S;return y.createElement(n,r)};L.defaultProps=i({renderAs:"canvas"},O),e.exports=L}}]);
|
|
10
|
-
//# sourceMappingURL=chunk-51.6b8c9d2c2b4f89de46ce.js.map
|
|
9
|
+
*/var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case p:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case u:return e;default:return t}}case o:return t}}}function C(e){return O(e)===p}t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return C(e)||O(e)===l},t.isConcurrentMode=C,t.isContextConsumer=function(e){return O(e)===c},t.isContextProvider=function(e){return O(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return O(e)===f},t.isFragment=function(e){return O(e)===a},t.isLazy=function(e){return O(e)===g},t.isMemo=function(e){return O(e)===m},t.isPortal=function(e){return O(e)===o},t.isProfiler=function(e){return O(e)===s},t.isStrictMode=function(e){return O(e)===i},t.isSuspense=function(e){return O(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===s||e===i||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=O},6830:(e,t,r)=>{"use strict";e.exports=r(75617)},538:(e,t,r)=>{var n=r(73081);function o(e){this.mode=n.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},13102:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},32398:e=>{e.exports={L:1,M:0,Q:3,H:2}},41606:(e,t,r)=>{var n=r(80415);function o(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var a=0;a<e.getLength();a++)t[r+a]^=n.gexp(n.glog(this.get(r))+n.glog(e.get(a)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=n.glog(this.get(0))-n.glog(e.get(0)),r=new Array(this.getLength()),a=0;a<this.getLength();a++)r[a]=this.get(a);for(a=0;a<e.getLength();a++)r[a]^=n.gexp(n.glog(e.get(a))+t);return new o(r,0).mod(e)}},e.exports=o},43443:(e,t,r)=>{var n=r(538),o=r(74886),a=r(13102),i=r(7032),s=r(41606);function u(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=u.prototype;c.addData=function(e){var t=new n(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),r=new a,n=0,s=0;s<t.length;s++)n+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var u=this.dataList[s];r.put(u.mode,4),r.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=u.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=i.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},c.createMovieClip=function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var o=0;o<this.modules.length;o++)for(var a=1*o,i=0;i<this.modules[o].length;i++){var s=1*i;this.modules[o][i]&&(n.beginFill(0,100),n.moveTo(s,a),n.lineTo(s+1,a),n.lineTo(s+1,a+1),n.lineTo(s,a+1),n.endFill())}return n},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],o=e[r];if(null==this.modules[n][o])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[n+a][o+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++){n=!e&&1==(t>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},c.setupTypeInfo=function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=i.getBCHTypeInfo(r),o=0;o<15;o++){var a=!e&&1==(n>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(o=0;o<15;o++){a=!e&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var r=-1,n=this.moduleCount-1,o=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[n][s-u]){var c=!1;a<e.length&&(c=1==(e[a]>>>o&1)),i.getMask(t,n,s-u)&&(c=!c),this.modules[n][s-u]=c,-1==--o&&(a++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}},u.PAD0=236,u.PAD1=17,u.createData=function(e,t,r){for(var n=o.getRSBlocks(e,t),s=new a,c=0;c<r.length;c++){var l=r[c];s.put(l.mode,4),s.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(s)}var p=0;for(c=0;c<n.length;c++)p+=n[c].dataCount;if(s.getLengthInBits()>8*p)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*p+")");for(s.getLengthInBits()+4<=8*p&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*p||(s.put(u.PAD0,8),s.getLengthInBits()>=8*p));)s.put(u.PAD1,8);return u.createBytes(s,n)},u.createBytes=function(e,t){for(var r=0,n=0,o=0,a=new Array(t.length),u=new Array(t.length),c=0;c<t.length;c++){var l=t[c].dataCount,p=t[c].totalCount-l;n=Math.max(n,l),o=Math.max(o,p),a[c]=new Array(l);for(var f=0;f<a[c].length;f++)a[c][f]=255&e.buffer[f+r];r+=l;var h=i.getErrorCorrectPolynomial(p),d=new s(a[c],h.getLength()-1).mod(h);u[c]=new Array(h.getLength()-1);for(f=0;f<u[c].length;f++){var m=f+d.getLength()-u[c].length;u[c][f]=m>=0?d.get(m):0}}var g=0;for(f=0;f<t.length;f++)g+=t[f].totalCount;var y=new Array(g),v=0;for(f=0;f<n;f++)for(c=0;c<t.length;c++)f<a[c].length&&(y[v++]=a[c][f]);for(f=0;f<o;f++)for(c=0;c<t.length;c++)f<u[c].length&&(y[v++]=u[c][f]);return y},e.exports=u},74886:(e,t,r)=>{var n=r(32398);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var r=o.getRsBlockTable(e,t);if(null==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,a=new Array,i=0;i<n;i++)for(var s=r[3*i+0],u=r[3*i+1],c=r[3*i+2],l=0;l<s;l++)a.push(new o(u,c));return a},o.getRsBlockTable=function(e,t){switch(t){case n.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case n.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case n.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case n.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},80415:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)t.EXP_TABLE[r]=1<<r;for(r=8;r<256;r++)t.EXP_TABLE[r]=t.EXP_TABLE[r-4]^t.EXP_TABLE[r-5]^t.EXP_TABLE[r-6]^t.EXP_TABLE[r-8];for(r=0;r<255;r++)t.LOG_TABLE[t.EXP_TABLE[r]]=r;e.exports=t},73081:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},7032:(e,t,r)=>{var n=r(73081),o=r(41606),a=r(80415),i=0,s=1,u=2,c=3,l=4,p=5,f=6,h=7,d={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;d.getBCHDigit(t)-d.getBCHDigit(d.G15)>=0;)t^=d.G15<<d.getBCHDigit(t)-d.getBCHDigit(d.G15);return(e<<10|t)^d.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;d.getBCHDigit(t)-d.getBCHDigit(d.G18)>=0;)t^=d.G18<<d.getBCHDigit(t)-d.getBCHDigit(d.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return d.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case i:return(t+r)%2==0;case s:return t%2==0;case u:return r%3==0;case c:return(t+r)%3==0;case l:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case p:return t*r%2+t*r%3==0;case f:return(t*r%2+t*r%3)%2==0;case h:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),r=0;r<e;r++)t=t.multiply(new o([1,a.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var o=0;o<t;o++){for(var a=0,i=e.isDark(n,o),s=-1;s<=1;s++)if(!(n+s<0||t<=n+s))for(var u=-1;u<=1;u++)o+u<0||t<=o+u||0==s&&0==u||i==e.isDark(n+s,o+u)&&a++;a>5&&(r+=3+a-5)}for(n=0;n<t-1;n++)for(o=0;o<t-1;o++){var c=0;e.isDark(n,o)&&c++,e.isDark(n+1,o)&&c++,e.isDark(n,o+1)&&c++,e.isDark(n+1,o+1)&&c++,0!=c&&4!=c||(r+=3)}for(n=0;n<t;n++)for(o=0;o<t-6;o++)e.isDark(n,o)&&!e.isDark(n,o+1)&&e.isDark(n,o+2)&&e.isDark(n,o+3)&&e.isDark(n,o+4)&&!e.isDark(n,o+5)&&e.isDark(n,o+6)&&(r+=40);for(o=0;o<t;o++)for(n=0;n<t-6;n++)e.isDark(n,o)&&!e.isDark(n+1,o)&&e.isDark(n+2,o)&&e.isDark(n+3,o)&&e.isDark(n+4,o)&&!e.isDark(n+5,o)&&e.isDark(n+6,o)&&(r+=40);var l=0;for(o=0;o<t;o++)for(n=0;n<t;n++)e.isDark(n,o)&&l++;return r+=10*(Math.abs(100*l/t/t-50)/5)}};e.exports=d},42420:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(r,!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function p(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?h(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=r(1024),v=(r(35989),r(43443)),b=r(32398);function w(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n<2048?(t+=String.fromCharCode(192|n>>6),t+=String.fromCharCode(128|63&n)):n<55296||n>=57344?(t+=String.fromCharCode(224|n>>12),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n)):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t+=String.fromCharCode(240|n>>18),t+=String.fromCharCode(128|n>>12&63),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n))}return t}var O={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function C(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[];return e.forEach((function(e,n){var o=null;e.forEach((function(a,i){if(!a&&null!==o)return r.push("M".concat(o+t," ").concat(n+t,"h").concat(i-o,"v1H").concat(o+t,"z")),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?r.push("M".concat(i+t,",").concat(n+t," h1v1H").concat(i+t,"z")):r.push("M".concat(o+t,",").concat(n+t," h").concat(i+1-o,"v1H").concat(o+t,"z"))}}))})),r.join("")}function E(e,t){return e.slice().map((function(e,r){return r<t.y||r>=t.y+t.h?e:e.map((function(e,r){return(r<t.x||r>=t.x+t.w)&&e}))}))}function x(e,t){var r=e.imageSettings,n=e.size,o=e.includeMargin;if(null==r)return null;var a=o?4:0,i=t.length+2*a,s=Math.floor(.1*n),u=i/n,c=(r.width||s)*u,l=(r.height||s)*u,p=null==r.x?t.length/2-c/2:r.x*u,f=null==r.y?t.length/2-l/2:r.y*u,h=null;if(r.excavate){var d=Math.floor(p),m=Math.floor(f);h={x:d,y:m,w:Math.ceil(c+p-d),h:Math.ceil(l+f-m)}}return{x:p,y:f,h:l,w:c,excavation:h}}var k=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),S=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return g(h(r=p(this,(e=f(t)).call.apply(e,[this].concat(o)))),"_canvas",void 0),g(h(r),"_image",void 0),g(h(r),"state",{imgLoaded:!1}),g(h(r),"handleImageLoad",(function(){r.setState({imgLoaded:!0})})),r}return d(t,e),l(t,[{key:"componentDidMount",value:function(){this._image&&this._image.complete&&this.handleImageLoad(),this.update()}},{key:"componentWillReceiveProps",value:function(e){var t,r;(null===(t=this.props.imageSettings)||void 0===t?void 0:t.src)!==(null===(r=e.imageSettings)||void 0===r?void 0:r.src)&&this.setState({imgLoaded:!1})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,o=e.bgColor,a=e.fgColor,i=e.includeMargin,s=e.imageSettings,u=new v(-1,b[n]);if(u.addData(w(t)),u.make(),null!=this._canvas){var c=this._canvas,l=c.getContext("2d");if(!l)return;var p=u.modules;if(null===p)return;var f=i?4:0,h=p.length+2*f,d=x(this.props,p);null!=s&&null!=d&&null!=d.excavation&&(p=E(p,d.excavation));var m=window.devicePixelRatio||1;c.height=c.width=r*m;var g=r/h*m;l.scale(g,g),l.fillStyle=o,l.fillRect(0,0,h,h),l.fillStyle=a,k?l.fill(new Path2D(C(p,f))):p.forEach((function(e,t){e.forEach((function(e,r){e&&l.fillRect(r+f,t+f,1,1)}))})),this.state.imgLoaded&&this._image&&null!=d&&l.drawImage(this._image,d.x+f,d.y+f,d.w,d.h)}}},{key:"render",value:function(){var e=this,t=this.props,r=(t.value,t.size),n=(t.level,t.bgColor,t.fgColor,t.style),a=(t.includeMargin,t.imageSettings),u=s(t,["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"]),c=i({height:r,width:r},n),l=null,p=a&&a.src;return null!=a&&null!=p&&(l=y.createElement("img",{src:p,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),y.createElement(y.Fragment,null,y.createElement("canvas",o({style:c,height:r,width:r,ref:function(t){return e._canvas=t}},u)),l)}}]),t}(y.PureComponent);g(S,"defaultProps",O);var _=function(e){function t(){return u(this,t),p(this,f(t).apply(this,arguments))}return d(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,a=e.bgColor,i=e.fgColor,u=e.includeMargin,c=e.imageSettings,l=s(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),p=new v(-1,b[n]);p.addData(w(t)),p.make();var f=p.modules;if(null===f)return null;var h=u?4:0,d=f.length+2*h,m=x(this.props,f),g=null;null!=c&&null!=m&&(null!=m.excavation&&(f=E(f,m.excavation)),g=y.createElement("image",{xlinkHref:c.src,height:m.h,width:m.w,x:m.x+h,y:m.y+h,preserveAspectRatio:"none"}));var O=C(f,h);return y.createElement("svg",o({shapeRendering:"crispEdges",height:r,width:r,viewBox:"0 0 ".concat(d," ").concat(d)},l),y.createElement("path",{fill:a,d:"M0,0 h".concat(d,"v").concat(d,"H0z")}),y.createElement("path",{fill:i,d:O}),g)}}]),t}(y.PureComponent);g(_,"defaultProps",O);var L=function(e){var t=e.renderAs,r=s(e,["renderAs"]),n="svg"===t?_:S;return y.createElement(n,r)};L.defaultProps=i({renderAs:"canvas"},O),e.exports=L}}]);
|
|
@@ -10,5 +10,4 @@ function e(n,t){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Obje
|
|
|
10
10
|
* License - https://fontawesome.com/license (Commercial License)
|
|
11
11
|
* Copyright 2022 Fonticons, Inc.
|
|
12
12
|
*/
|
|
13
|
-
var e={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.15C227.7 49.08 218.1 66.9 201.1 71.94C121.8 95.55 64 169.1 64 255.1C64 362 149.1 447.1 256 447.1C362 447.1 448 362 448 255.1C448 169.1 390.2 95.55 310.9 71.94C293.9 66.9 284.3 49.08 289.3 32.15C294.4 15.21 312.2 5.562 329.1 10.6C434.9 42.07 512 139.1 512 255.1C512 397.4 397.4 511.1 256 511.1C114.6 511.1 0 397.4 0 255.1C0 139.1 77.15 42.07 182.9 10.6C199.8 5.562 217.6 15.21 222.7 32.15V32.15z"]},r={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8C339.8 59.39 300.2 59.39 275.8 83.8L91.8 267.8C49.71 309.9 49.71 378.1 91.8 420.2C133.9 462.3 202.1 462.3 244.2 420.2L396.2 268.2C407.1 257.3 424.9 257.3 435.8 268.2C446.7 279.1 446.7 296.9 435.8 307.8L283.8 459.8C219.8 523.8 116.2 523.8 52.2 459.8C-11.75 395.8-11.75 292.2 52.2 228.2L236.2 44.2C282.5-2.08 357.5-2.08 403.8 44.2C450.1 90.48 450.1 165.5 403.8 211.8L227.8 387.8C199.2 416.4 152.8 416.4 124.2 387.8C95.59 359.2 95.59 312.8 124.2 284.2L268.2 140.2C279.1 129.3 296.9 129.3 307.8 140.2C318.7 151.1 318.7 168.9 307.8 179.8L163.8 323.8C157.1 330.5 157.1 341.5 163.8 348.2C170.5 354.9 181.5 354.9 188.2 348.2L364.2 172.2C388.6 147.8 388.6 108.2 364.2 83.8V83.8z"]},i={prefix:"fas",iconName:"square",icon:[448,512,[9723,9724,61590,9632],"f0c8","M0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96z"]},o={prefix:"fas",iconName:"square-full",icon:[512,512,[128997,128998,128999,129e3,129001,129002,129003,11036,11035],"f45c","M0 0H512V512H0V0z"]},s={prefix:"fas",iconName:"star",icon:[576,512,[61446,11088],"f005","M381.2 150.3L524.9 171.5C536.8 173.2 546.8 181.6 550.6 193.1C554.4 204.7 551.3 217.3 542.7 225.9L438.5 328.1L463.1 474.7C465.1 486.7 460.2 498.9 450.2 506C440.3 513.1 427.2 514 416.5 508.3L288.1 439.8L159.8 508.3C149 514 135.9 513.1 126 506C116.1 498.9 111.1 486.7 113.2 474.7L137.8 328.1L33.58 225.9C24.97 217.3 21.91 204.7 25.69 193.1C29.46 181.6 39.43 173.2 51.42 171.5L195 150.3L259.4 17.97C264.7 6.954 275.9-.0391 288.1-.0391C300.4-.0391 311.6 6.954 316.9 17.97L381.2 150.3z"]}},72629:(n,t,a)=>{"use strict";a.d(t,{G:()=>x});var e=a(87060),r=a(75116),i=a.n(r),o=a(1024),s=a.n(o);function c(n,t){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.push.apply(a,e)}return a}function f(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){u(n,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(a,t))}))}return n}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,t,a){return t in n?Object.defineProperty(n,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[t]=a,n}function m(n,t){if(null==n)return{};var a,e,r=function(n,t){if(null==n)return{};var a,e,r={},i=Object.keys(n);for(e=0;e<i.length;e++)a=i[e],t.indexOf(a)>=0||(r[a]=n[a]);return r}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(e=0;e<i.length;e++)a=i[e],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(r[a]=n[a])}return r}function d(n){return function(n){if(Array.isArray(n))return p(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return p(n,t);var a=Object.prototype.toString.call(n).slice(8,-1);"Object"===a&&n.constructor&&(a=n.constructor.name);if("Map"===a||"Set"===a)return Array.from(n);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return p(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var a=0,e=new Array(t);a<t;a++)e[a]=n[a];return e}function b(n){return t=n,(t-=0)==t?n:(n=n.replace(/[\-_\s]+(.)?/g,(function(n,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+n.substr(1);var t}var v=["style"];function g(n){return n.split(";").map((function(n){return n.trim()})).filter((function(n){return n})).reduce((function(n,t){var a,e=t.indexOf(":"),r=b(t.slice(0,e)),i=t.slice(e+1).trim();return r.startsWith("webkit")?n[(a=r,a.charAt(0).toUpperCase()+a.slice(1))]=i:n[r]=i,n}),{})}var y=!1;try{y=!0}catch(n){}function h(n){return n&&"object"===l(n)&&n.prefix&&n.iconName&&n.icon?n:e.Qc.icon?e.Qc.icon(n):null===n?null:n&&"object"===l(n)&&n.prefix&&n.iconName?n:Array.isArray(n)&&2===n.length?{prefix:n[0],iconName:n[1]}:"string"==typeof n?{prefix:"fas",iconName:n}:void 0}function k(n,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?u({},n,t):{}}var w=["forwardedRef"];function x(n){var t=n.forwardedRef,a=m(n,w),r=a.icon,i=a.mask,o=a.symbol,s=a.className,c=a.title,l=a.titleId,p=h(r),b=k("classes",[].concat(d(function(n){var t,a=n.beat,e=n.fade,r=n.flash,i=n.spin,o=n.spinPulse,s=n.spinReverse,c=n.pulse,f=n.fixedWidth,l=n.inverse,m=n.border,d=n.listItem,p=n.flip,b=n.size,v=n.rotation,g=n.pull,y=(u(t={"fa-beat":a,"fa-fade":e,"fa-flash":r,"fa-spin":i,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":c,"fa-fw":f,"fa-inverse":l,"fa-border":m,"fa-li":d,"fa-flip-horizontal":"horizontal"===p||"both"===p,"fa-flip-vertical":"vertical"===p||"both"===p},"fa-".concat(b),null!=b),u(t,"fa-rotate-".concat(v),null!=v&&0!==v),u(t,"fa-pull-".concat(g),null!=g),u(t,"fa-swap-opacity",n.swapOpacity),t);return Object.keys(y).map((function(n){return y[n]?n:null})).filter((function(n){return n}))}(a)),d(s.split(" ")))),v=k("transform","string"==typeof a.transform?e.Qc.transform(a.transform):a.transform),g=k("mask",h(i)),A=(0,e.qv)(p,f(f(f(f({},b),v),g),{},{symbol:o,title:c,titleId:l}));if(!A)return function(){var n;!y&&console&&"function"==typeof console.error&&(n=console).error.apply(n,arguments)}("Could not find icon",p),null;var C=A.abstract,N={ref:t};return Object.keys(a).forEach((function(n){x.defaultProps.hasOwnProperty(n)||(N[n]=a[n])})),O(C[0],N)}x.displayName="FontAwesomeIcon",x.propTypes={beat:i().bool,border:i().bool,className:i().string,fade:i().bool,flash:i().bool,mask:i().oneOfType([i().object,i().array,i().string]),fixedWidth:i().bool,inverse:i().bool,flip:i().oneOf(["horizontal","vertical","both"]),icon:i().oneOfType([i().object,i().array,i().string]),listItem:i().bool,pull:i().oneOf(["right","left"]),pulse:i().bool,rotation:i().oneOf([0,90,180,270]),size:i().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i().bool,spinPulse:i().bool,spinReverse:i().bool,symbol:i().oneOfType([i().bool,i().string]),title:i().string,transform:i().oneOfType([i().string,i().object]),swapOpacity:i().bool},x.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var O=function n(t,a){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof a)return a;var r=(a.children||[]).map((function(a){return n(t,a)})),i=Object.keys(a.attributes||{}).reduce((function(n,t){var e=a.attributes[t];switch(t){case"class":n.attrs.className=e,delete a.attributes.class;break;case"style":n.attrs.style=g(e);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?n.attrs[t.toLowerCase()]=e:n.attrs[b(t)]=e}return n}),{attrs:{}}),o=e.style,s=void 0===o?{}:o,c=m(e,v);return i.attrs.style=f(f({},i.attrs.style),s),t.apply(void 0,[a.tag,f(f({},i.attrs),c)].concat(d(r)))}.bind(null,s().createElement)},1:(n,t,a)=>{"use strict";var e=a(11248);function r(){}function i(){}i.resetWarningCache=r,n.exports=function(){function n(n,t,a,r,i,o){if(o!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return n}n.isRequired=n;var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,elementType:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}},75116:(n,t,a)=>{n.exports=a(1)()},11248:n=>{"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
|
|
14
|
-
//# sourceMappingURL=chunk-696.c28466168bbf1bd96ac6.js.map
|
|
13
|
+
var e={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.15C227.7 49.08 218.1 66.9 201.1 71.94C121.8 95.55 64 169.1 64 255.1C64 362 149.1 447.1 256 447.1C362 447.1 448 362 448 255.1C448 169.1 390.2 95.55 310.9 71.94C293.9 66.9 284.3 49.08 289.3 32.15C294.4 15.21 312.2 5.562 329.1 10.6C434.9 42.07 512 139.1 512 255.1C512 397.4 397.4 511.1 256 511.1C114.6 511.1 0 397.4 0 255.1C0 139.1 77.15 42.07 182.9 10.6C199.8 5.562 217.6 15.21 222.7 32.15V32.15z"]},r={prefix:"fas",iconName:"paperclip",icon:[448,512,[128206],"f0c6","M364.2 83.8C339.8 59.39 300.2 59.39 275.8 83.8L91.8 267.8C49.71 309.9 49.71 378.1 91.8 420.2C133.9 462.3 202.1 462.3 244.2 420.2L396.2 268.2C407.1 257.3 424.9 257.3 435.8 268.2C446.7 279.1 446.7 296.9 435.8 307.8L283.8 459.8C219.8 523.8 116.2 523.8 52.2 459.8C-11.75 395.8-11.75 292.2 52.2 228.2L236.2 44.2C282.5-2.08 357.5-2.08 403.8 44.2C450.1 90.48 450.1 165.5 403.8 211.8L227.8 387.8C199.2 416.4 152.8 416.4 124.2 387.8C95.59 359.2 95.59 312.8 124.2 284.2L268.2 140.2C279.1 129.3 296.9 129.3 307.8 140.2C318.7 151.1 318.7 168.9 307.8 179.8L163.8 323.8C157.1 330.5 157.1 341.5 163.8 348.2C170.5 354.9 181.5 354.9 188.2 348.2L364.2 172.2C388.6 147.8 388.6 108.2 364.2 83.8V83.8z"]},i={prefix:"fas",iconName:"square",icon:[448,512,[9723,9724,61590,9632],"f0c8","M0 96C0 60.65 28.65 32 64 32H384C419.3 32 448 60.65 448 96V416C448 451.3 419.3 480 384 480H64C28.65 480 0 451.3 0 416V96z"]},o={prefix:"fas",iconName:"square-full",icon:[512,512,[128997,128998,128999,129e3,129001,129002,129003,11036,11035],"f45c","M0 0H512V512H0V0z"]},s={prefix:"fas",iconName:"star",icon:[576,512,[61446,11088],"f005","M381.2 150.3L524.9 171.5C536.8 173.2 546.8 181.6 550.6 193.1C554.4 204.7 551.3 217.3 542.7 225.9L438.5 328.1L463.1 474.7C465.1 486.7 460.2 498.9 450.2 506C440.3 513.1 427.2 514 416.5 508.3L288.1 439.8L159.8 508.3C149 514 135.9 513.1 126 506C116.1 498.9 111.1 486.7 113.2 474.7L137.8 328.1L33.58 225.9C24.97 217.3 21.91 204.7 25.69 193.1C29.46 181.6 39.43 173.2 51.42 171.5L195 150.3L259.4 17.97C264.7 6.954 275.9-.0391 288.1-.0391C300.4-.0391 311.6 6.954 316.9 17.97L381.2 150.3z"]}},72629:(n,t,a)=>{"use strict";a.d(t,{G:()=>x});var e=a(87060),r=a(75116),i=a.n(r),o=a(1024),s=a.n(o);function c(n,t){var a=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),a.push.apply(a,e)}return a}function f(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){u(n,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(a,t))}))}return n}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function u(n,t,a){return t in n?Object.defineProperty(n,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[t]=a,n}function m(n,t){if(null==n)return{};var a,e,r=function(n,t){if(null==n)return{};var a,e,r={},i=Object.keys(n);for(e=0;e<i.length;e++)a=i[e],t.indexOf(a)>=0||(r[a]=n[a]);return r}(n,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(e=0;e<i.length;e++)a=i[e],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(n,a)&&(r[a]=n[a])}return r}function d(n){return function(n){if(Array.isArray(n))return p(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"==typeof n)return p(n,t);var a=Object.prototype.toString.call(n).slice(8,-1);"Object"===a&&n.constructor&&(a=n.constructor.name);if("Map"===a||"Set"===a)return Array.from(n);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return p(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var a=0,e=new Array(t);a<t;a++)e[a]=n[a];return e}function b(n){return t=n,(t-=0)==t?n:(n=n.replace(/[\-_\s]+(.)?/g,(function(n,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+n.substr(1);var t}var v=["style"];function g(n){return n.split(";").map((function(n){return n.trim()})).filter((function(n){return n})).reduce((function(n,t){var a,e=t.indexOf(":"),r=b(t.slice(0,e)),i=t.slice(e+1).trim();return r.startsWith("webkit")?n[(a=r,a.charAt(0).toUpperCase()+a.slice(1))]=i:n[r]=i,n}),{})}var y=!1;try{y=!0}catch(n){}function h(n){return n&&"object"===l(n)&&n.prefix&&n.iconName&&n.icon?n:e.Qc.icon?e.Qc.icon(n):null===n?null:n&&"object"===l(n)&&n.prefix&&n.iconName?n:Array.isArray(n)&&2===n.length?{prefix:n[0],iconName:n[1]}:"string"==typeof n?{prefix:"fas",iconName:n}:void 0}function k(n,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?u({},n,t):{}}var w=["forwardedRef"];function x(n){var t=n.forwardedRef,a=m(n,w),r=a.icon,i=a.mask,o=a.symbol,s=a.className,c=a.title,l=a.titleId,p=h(r),b=k("classes",[].concat(d(function(n){var t,a=n.beat,e=n.fade,r=n.flash,i=n.spin,o=n.spinPulse,s=n.spinReverse,c=n.pulse,f=n.fixedWidth,l=n.inverse,m=n.border,d=n.listItem,p=n.flip,b=n.size,v=n.rotation,g=n.pull,y=(u(t={"fa-beat":a,"fa-fade":e,"fa-flash":r,"fa-spin":i,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":c,"fa-fw":f,"fa-inverse":l,"fa-border":m,"fa-li":d,"fa-flip-horizontal":"horizontal"===p||"both"===p,"fa-flip-vertical":"vertical"===p||"both"===p},"fa-".concat(b),null!=b),u(t,"fa-rotate-".concat(v),null!=v&&0!==v),u(t,"fa-pull-".concat(g),null!=g),u(t,"fa-swap-opacity",n.swapOpacity),t);return Object.keys(y).map((function(n){return y[n]?n:null})).filter((function(n){return n}))}(a)),d(s.split(" ")))),v=k("transform","string"==typeof a.transform?e.Qc.transform(a.transform):a.transform),g=k("mask",h(i)),A=(0,e.qv)(p,f(f(f(f({},b),v),g),{},{symbol:o,title:c,titleId:l}));if(!A)return function(){var n;!y&&console&&"function"==typeof console.error&&(n=console).error.apply(n,arguments)}("Could not find icon",p),null;var C=A.abstract,N={ref:t};return Object.keys(a).forEach((function(n){x.defaultProps.hasOwnProperty(n)||(N[n]=a[n])})),O(C[0],N)}x.displayName="FontAwesomeIcon",x.propTypes={beat:i().bool,border:i().bool,className:i().string,fade:i().bool,flash:i().bool,mask:i().oneOfType([i().object,i().array,i().string]),fixedWidth:i().bool,inverse:i().bool,flip:i().oneOf(["horizontal","vertical","both"]),icon:i().oneOfType([i().object,i().array,i().string]),listItem:i().bool,pull:i().oneOf(["right","left"]),pulse:i().bool,rotation:i().oneOf([0,90,180,270]),size:i().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:i().bool,spinPulse:i().bool,spinReverse:i().bool,symbol:i().oneOfType([i().bool,i().string]),title:i().string,transform:i().oneOfType([i().string,i().object]),swapOpacity:i().bool},x.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var O=function n(t,a){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof a)return a;var r=(a.children||[]).map((function(a){return n(t,a)})),i=Object.keys(a.attributes||{}).reduce((function(n,t){var e=a.attributes[t];switch(t){case"class":n.attrs.className=e,delete a.attributes.class;break;case"style":n.attrs.style=g(e);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?n.attrs[t.toLowerCase()]=e:n.attrs[b(t)]=e}return n}),{attrs:{}}),o=e.style,s=void 0===o?{}:o,c=m(e,v);return i.attrs.style=f(f({},i.attrs.style),s),t.apply(void 0,[a.tag,f(f({},i.attrs),c)].concat(d(r)))}.bind(null,s().createElement)},1:(n,t,a)=>{"use strict";var e=a(11248);function r(){}function i(){}i.resetWarningCache=r,n.exports=function(){function n(n,t,a,r,i,o){if(o!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return n}n.isRequired=n;var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:t,element:n,elementType:n,instanceOf:t,node:n,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}},75116:(n,t,a)=>{n.exports=a(1)()},11248:n=>{"use strict";n.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
|