tocco-admin 1.0.76 → 1.0.77

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.
Files changed (97) hide show
  1. package/changelog.md +3 -0
  2. package/dist/078dd0bd08c93b1512e3d1b777591b21.js +1 -0
  3. package/dist/0ca4856bacc99d59caaf8d6b0b8aa4c4.js +1 -0
  4. package/dist/144adc7fc170515d7ad0848f62750212.js +1 -0
  5. package/dist/{e0e32c3798e8895695ce5b372a0c989f.js → 17d6fad347d03f1f2e65fb4479b3f7b5.js} +1 -1
  6. package/dist/1d2edec11ed8c1921ed26bf5d16211a9.js +1 -0
  7. package/dist/1f61828212266980fa7429ad97f1f03a.js +1 -0
  8. package/dist/29412d07e2305a1c0f405f772230ff13.js +1 -0
  9. package/dist/330cb4f683608bf642291154235eb108.js +1 -0
  10. package/dist/36a42bf8f97fcc2f60e7ac238af8e132.js +1 -0
  11. package/dist/39398a0fc9612e2955292f1f6685e899.js +1 -0
  12. package/dist/39bc702796f79cda52cc9212f16ca98e.js +1 -0
  13. package/dist/3ce124d5c58fb2e6d1e5e6c8b08007c8.js +1 -0
  14. package/dist/3ec2ce7cdb0155466b585d94276aa5e9.js +1 -0
  15. package/dist/3f601e84c82edff0c1f70dfd55e793b2.js +1 -0
  16. package/dist/46cf0eb693fb264adccd486408cd153e.js +1 -0
  17. package/dist/4f3d9fe6a71eada52161766ffc07bc5b.js +1 -0
  18. package/dist/4fbad606f7168c43979349735a8172b9.js +1 -0
  19. package/dist/542e43220c9098c8a7c5bcb91772c1bd.js +1 -0
  20. package/dist/5f38028427c0348fbcd2e1d0f629608e.js +1 -0
  21. package/dist/63596b4896732fb322ab0496b4be1e74.js +1 -0
  22. package/dist/6a63f612728a4abdfd72ae8146aae21e.js +1 -0
  23. package/dist/6f767c6e3ff325a4e8b3f454a31d2792.js +1 -0
  24. package/dist/72b9dbd845087db7875bce3ed63af440.js +1 -0
  25. package/dist/744aef747001c7b433be1c2506249a70.js +1 -0
  26. package/dist/7abd9b8a6443d2700a17ac98da076145.js +1 -0
  27. package/dist/7d3181e5ababe06834584618705eb4e6.js +1 -0
  28. package/dist/7f79ecefa1fc3addf8b44266280ad1af.js +1 -0
  29. package/dist/7fb50a6507529be796f6f419966d135e.js +1 -0
  30. package/dist/{27ccb71fa24357a0919a861351d5b82d.js → 82d81a8c6de5021d55e1050a93fb8a89.js} +1 -1
  31. package/dist/85841f44fb83ebfe4fde3802e0146941.js +1 -0
  32. package/dist/8f1c8dfd4a163864c29da13625af9830.js +1 -0
  33. package/dist/9a63d1335ad4809036e34eb68c19aad2.js +1 -0
  34. package/dist/{7735af777659608bcd8cd6525e3bbe58.js → 9c0f556f943f797def423b4f822aaaac.js} +0 -0
  35. package/dist/acc41319993667f1f1396aeac2384b88.js +1 -0
  36. package/dist/af302c14557e2d4ea99ba5d5151b656b.js +1 -0
  37. package/dist/b68df8e7aa6fa65a922c39af0f7f1da2.js +1 -0
  38. package/dist/b7b1369f7d92d41c9e1a8ed18ff55f4f.js +1 -0
  39. package/dist/bac1da6651107290d1f5c0454d65f51e.js +1 -0
  40. package/dist/c7d34fa67452aa932714bde5be811755.js +1 -0
  41. package/dist/c838ad50c9f760381a55e995a354f711.js +1 -0
  42. package/dist/chunk-38.be0613f3d0bcadaeb971.js +1 -0
  43. package/dist/{chunk-531.e4c1295c40d41969e04f.js → chunk-531.544c7c25362d4922d4c3.js} +1 -1
  44. package/dist/chunk-551.d29f8ce5e73be2dcb324.js +14 -0
  45. package/dist/chunk-587.b86661a08b0ac7c75d75.js +1 -0
  46. package/dist/{chunk-135.7d660568a146bae2e324.js → chunk-661.97bf4f5f8de37ceaa0c5.js} +1 -1
  47. package/dist/chunk-817.9c88763b2c3e48339f72.js +1 -0
  48. package/dist/{chunk-847.b2d19e2e711a8a299e45.js → chunk-847.3e50d34f3b3da410955b.js} +1 -1
  49. package/dist/{chunk-actions.cc2ed64b17cab1e8600d.js → chunk-actions.4004b44bc7d140e6bac2.js} +1 -1
  50. package/dist/{chunk-code-editor.4dd59414589c013aff68.js → chunk-code-editor.3129c2aaa262c0bc7c8b.js} +1 -1
  51. package/dist/{chunk-phone-formatter.1b1e7968653c1d07afa0.js → chunk-phone-formatter.853b560090cfdc789496.js} +1 -1
  52. package/dist/chunk-vendor-icons.50a2e1e18f8642def02b.js +1 -0
  53. package/dist/chunk-vendor-libphonenumber-js.953f73c40c3310409f60.js +1 -0
  54. package/dist/{ad215d7ba317c941cdcc96ae78e86666.js → d0b7d391d6f314e33c05e23eadacfedf.js} +1 -1
  55. package/dist/{85a977f41a907dba8c672f9bf4943da0.js → d348e85dc2ed1ebfe2efcb918cb4a10f.js} +1 -1
  56. package/dist/e2edc11d0c5133fcca87ccb38a04f4bb.js +1 -0
  57. package/dist/e48948a9f1295bf7d546ee48c7b88d35.js +1 -0
  58. package/dist/e9c8f7e13e00284ce126890bf7ac46fd.js +1 -0
  59. package/dist/f487a8cc561dfae6c0b18f62a284c519.js +1 -0
  60. package/dist/{3646668820dc96864fbed7746f805947.js → f4b5e6253813413316fa56c85d891303.js} +1 -1
  61. package/dist/f8c168b135f9d7f1a4a767ae159f4119.js +1 -0
  62. package/dist/index.js +29 -25
  63. package/package.json +2 -2
  64. package/dist/03371bf1d5cbb1eab58e3a0130d1e9c2.js +0 -1
  65. package/dist/04770a551c5b6daa744be9b180a8d0fe.js +0 -1
  66. package/dist/0794fa2b9c882c72fa7d586069b61055.js +0 -1
  67. package/dist/0a858573915ab9b03fe79f98f8c51a04.js +0 -1
  68. package/dist/0beea7b55cf3b8c9f9b0bd46170bb30e.js +0 -1
  69. package/dist/11dc77ef2ea3a04834945a52f7de2072.js +0 -1
  70. package/dist/18cfa6de2de3832aa10439fbf963217a.js +0 -1
  71. package/dist/25c99a71d30112583893bc5277402c46.js +0 -1
  72. package/dist/28acb3b48578dfd30dd555fff7c822f7.js +0 -1
  73. package/dist/2d2a42eeeeec801ab35f2fff7d900e43.js +0 -1
  74. package/dist/36474100e81ab63c4ddbc94ab2cc8667.js +0 -1
  75. package/dist/37afa466cdb7fa8fc2e043164d48f29e.js +0 -1
  76. package/dist/38270ad5088729f40c461c4a5a6bad5d.js +0 -1
  77. package/dist/3dcc18a5dee46b57ad7f85c0bee86802.js +0 -1
  78. package/dist/5bad2df0e3bfd8fdc1a332fb6276cb39.js +0 -1
  79. package/dist/637e363c105dce85c12fb99d7ef2fa7d.js +0 -1
  80. package/dist/63b15fb6fc8f897b22a4bf72b7e8452a.js +0 -1
  81. package/dist/6bb61adbbc13088ee1c32d88b5c7e754.js +0 -1
  82. package/dist/7f12d133c88ce53d0837a6c4c0287a37.js +0 -1
  83. package/dist/964646d64dd3196a9c27fe302511414a.js +0 -1
  84. package/dist/97e72973d750ecb3bc2e75b75bf63c5b.js +0 -1
  85. package/dist/ab4b314445b23359319c14cce9a0e321.js +0 -1
  86. package/dist/b7b7be8216519adf62d75f123f9c6423.js +0 -1
  87. package/dist/b8197742452dd2e77090dde34cb2dc4d.js +0 -1
  88. package/dist/bb4d542cb170b3f7b27a42c69262975b.js +0 -1
  89. package/dist/c733414555a126e689832ffb55cc203f.js +0 -1
  90. package/dist/chunk-38.16fdbbd333462e3af373.js +0 -1
  91. package/dist/chunk-44.1bc228fea372a812f971.js +0 -1
  92. package/dist/chunk-551.7f40639dd11ab3b7f8b6.js +0 -14
  93. package/dist/chunk-587.2a1238896afc0b579db5.js +0 -1
  94. package/dist/chunk-vendor-icons.1c20cbda5d34dd7b415b.js +0 -1
  95. package/dist/chunk-vendor-libphonenumber-js.301325aec263c1363d69.js +0 -1
  96. package/dist/f42342b39da2c42adc65ebcf52839f90.js +0 -1
  97. package/dist/f7186078e00d958aa2b316483dfc7e1c.js +0 -1
@@ -0,0 +1,14 @@
1
+ (self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[551],{44020:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp(t,"gi"),n=new RegExp("("+t+")+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=o(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=n.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var o=i(r[0]);o!==r[0]&&(t[r[0]]=o)}r=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var c=a[s];e=e.replace(new RegExp(c,"g"),t[c])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),i=0;i<n.length;i++){var a=n[i],s=e[a];(o?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},36392:(e,t,r)=>{"use strict";r.d(t,{lX:()=>R});var n=r(30670),o=r.n(n),i=r(41143),a=r.n(i),s=r(14149),c=(r(54545),function(e){return"/"===e.charAt(0)?e:"/"+e}),u=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},l=function(e,t){return u(e,t)?e.substr(t.length):e},f=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},d=function(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o},p=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},h=function(e,t,r,n){var o=void 0;"string"==typeof e?(o=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e),o.state=t):(void 0===(o=p({},e)).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!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=(0,s.default)(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o};const m=function(){var e=null,t=[];return{setPrompt:function(t){return o()(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,i){if(null!=e){var a="function"==typeof e?e(t,r):e;"string"==typeof a?"function"==typeof n?n(a,i):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==a)}else i(!0)},appendListener:function(e){var r=!0,n=function(){r&&e.apply(void 0,arguments)};return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}};var y=!("undefined"==typeof window||!window.document||!window.document.createElement),g=function(e,t,r){return e.addEventListener?e.addEventListener(t,r,!1):e.attachEvent("on"+t,r)},v=function(e,t,r){return e.removeEventListener?e.removeEventListener(t,r,!1):e.detachEvent("on"+t,r)},b=function(e,t){return t(window.confirm(e))},w=function(){var e=window.navigator.userAgent;return(-1===e.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=function(){return-1===window.navigator.userAgent.indexOf("Trident")},x=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")},E="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},C=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},S="popstate",N="hashchange",M=function(){try{return window.history.state||{}}catch(e){return{}}};const R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a()(y,"Browser history needs a DOM");var t=window.history,r=w(),n=!O(),i=e.forceRefresh,s=void 0!==i&&i,p=e.getUserConfirmation,R=void 0===p?b:p,I=e.keyLength,k=void 0===I?6:I,A=e.basename?f(c(e.basename)):"",P=function(e){var t=e||{},r=t.key,n=t.state,i=window.location,a=i.pathname+i.search+i.hash;return o()(!A||u(a,A),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+a+'" to begin with "'+A+'".'),A&&(a=l(a,A)),h(a,n,r)},j=function(){return Math.random().toString(36).substr(2,k)},L=m(),_=function(e){C(ee,e),ee.length=t.length,L.notifyListeners(ee.location,ee.action)},T=function(e){x(e)||D(P(e.state))},F=function(){D(P(M()))},B=!1,D=function(e){if(B)B=!1,_();else{L.confirmTransitionTo(e,"POP",R,(function(t){t?_({action:"POP",location:e}):U(e)}))}},U=function(e){var t=ee.location,r=$.indexOf(t.key);-1===r&&(r=0);var n=$.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(B=!0,V(o))},H=P(M()),$=[H.key],z=function(e){return A+d(e)},W=function(e,n){o()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=h(e,n,j(),ee.location);L.confirmTransitionTo(a,i,R,(function(e){if(e){var n=z(a),c=a.key,u=a.state;if(r)if(t.pushState({key:c,state:u},null,n),s)window.location.href=n;else{var l=$.indexOf(ee.location.key),f=$.slice(0,-1===l?0:l+1);f.push(a.key),$=f,_({action:i,location:a})}else o()(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n}}))},q=function(e,n){o()(!("object"===(void 0===e?"undefined":E(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=h(e,n,j(),ee.location);L.confirmTransitionTo(a,i,R,(function(e){if(e){var n=z(a),c=a.key,u=a.state;if(r)if(t.replaceState({key:c,state:u},null,n),s)window.location.replace(n);else{var l=$.indexOf(ee.location.key);-1!==l&&($[l]=a.key),_({action:i,location:a})}else o()(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)}}))},V=function(e){t.go(e)},Y=function(){return V(-1)},Q=function(){return V(1)},X=0,G=function(e){1===(X+=e)?(g(window,S,T),n&&g(window,N,F)):0===X&&(v(window,S,T),n&&v(window,N,F))},K=!1,Z=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=L.setPrompt(e);return K||(G(1),K=!0),function(){return K&&(K=!1,G(-1)),t()}},J=function(e){var t=L.appendListener(e);return G(1),function(){G(-1),t()}},ee={length:t.length,action:"POP",location:H,createHref:z,push:W,replace:q,go:V,goBack:Y,goForward:Q,block:Z,listen:J};return ee};Object.assign;"function"==typeof Symbol&&Symbol.iterator,Object.assign},7548:e=>{e.exports=function(){}},28045:e=>{e.exports=function(e){return e}},52157:e=>{var t=Math.max;e.exports=function(e,r,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,u=r.length,l=t(a-s,0),f=Array(u+l),d=!o;++c<u;)f[c]=r[c];for(;++i<s;)(d||i<a)&&(f[n[i]]=e[i]);for(;l--;)f[c++]=e[i++];return f}},14054:e=>{var t=Math.max;e.exports=function(e,r,n,o){for(var i=-1,a=e.length,s=-1,c=n.length,u=-1,l=r.length,f=t(a-c,0),d=Array(f+l),p=!o;++i<f;)d[i]=e[i];for(var h=i;++u<l;)d[h+u]=r[u];for(;++s<c;)(p||i<a)&&(d[h+n[s]]=e[i++]);return d}},97991:e=>{e.exports=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}},22402:(e,t,r)=>{var n=r(71774),o=r(55639);e.exports=function(e,t,r){var i=1&t,a=n(e);return function t(){var n=this&&this!==o&&this instanceof t?a:e;return n.apply(i?r:this,arguments)}}},71774:(e,t,r)=>{var n=r(3118),o=r(13218);e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=n(e.prototype),i=e.apply(r,t);return o(i)?i:r}}},46347:(e,t,r)=>{var n=r(96874),o=r(71774),i=r(86935),a=r(94487),s=r(20893),c=r(46460),u=r(55639);e.exports=function(e,t,r){var l=o(e);return function o(){for(var f=arguments.length,d=Array(f),p=f,h=s(o);p--;)d[p]=arguments[p];var m=f<3&&d[0]!==h&&d[f-1]!==h?[]:c(d,h);if((f-=m.length)<r)return a(e,t,i,o.placeholder,void 0,d,m,void 0,void 0,r-f);var y=this&&this!==u&&this instanceof o?l:e;return n(y,this,d)}}},23468:(e,t,r)=>{var n=r(7548),o=r(99021),i=r(66833),a=r(97658),s=r(1469),c=r(86528);e.exports=function(e){return o((function(t){var r=t.length,o=r,u=n.prototype.thru;for(e&&t.reverse();o--;){var l=t[o];if("function"!=typeof l)throw new TypeError("Expected a function");if(u&&!f&&"wrapper"==a(l))var f=new n([],!0)}for(o=f?o:r;++o<r;){l=t[o];var d=a(l),p="wrapper"==d?i(l):void 0;f=p&&c(p[0])&&424==p[1]&&!p[4].length&&1==p[9]?f[a(p[0])].apply(f,p[3]):1==l.length&&c(l)?f[d]():f.thru(l)}return function(){var e=arguments,n=e[0];if(f&&1==e.length&&s(n))return f.plant(n).value();for(var o=0,i=r?t[o].apply(this,e):n;++o<r;)i=t[o].call(this,i);return i}}))}},86935:(e,t,r)=>{var n=r(52157),o=r(14054),i=r(97991),a=r(71774),s=r(94487),c=r(20893),u=r(90451),l=r(46460),f=r(55639);e.exports=function e(t,r,d,p,h,m,y,g,v,b){var w=128&r,O=1&r,x=2&r,E=24&r,C=512&r,S=x?void 0:a(t);return function N(){for(var M=arguments.length,R=Array(M),I=M;I--;)R[I]=arguments[I];if(E)var k=c(N),A=i(R,k);if(p&&(R=n(R,p,h,E)),m&&(R=o(R,m,y,E)),M-=A,E&&M<b){var P=l(R,k);return s(t,r,e,N.placeholder,d,R,P,g,v,b-M)}var j=O?d:this,L=x?j[t]:t;return M=R.length,g?R=u(R,g):C&&M>1&&R.reverse(),w&&v<M&&(R.length=v),this&&this!==f&&this instanceof N&&(L=S||a(L)),L.apply(j,R)}}},84375:(e,t,r)=>{var n=r(96874),o=r(71774),i=r(55639);e.exports=function(e,t,r,a){var s=1&t,c=o(e);return function t(){for(var o=-1,u=arguments.length,l=-1,f=a.length,d=Array(f+u),p=this&&this!==i&&this instanceof t?c:e;++l<f;)d[l]=a[l];for(;u--;)d[l++]=arguments[++o];return n(p,s?r:this,d)}}},94487:(e,t,r)=>{var n=r(86528),o=r(258),i=r(69255);e.exports=function(e,t,r,a,s,c,u,l,f,d){var p=8&t;t|=p?32:64,4&(t&=~(p?64:32))||(t&=-4);var h=[e,t,s,p?c:void 0,p?u:void 0,p?void 0:c,p?void 0:u,l,f,d],m=r.apply(void 0,h);return n(e)&&o(m,h),m.placeholder=a,i(m,e,t)}},97727:(e,t,r)=>{var n=r(28045),o=r(22402),i=r(46347),a=r(86935),s=r(84375),c=r(66833),u=r(63833),l=r(258),f=r(69255),d=r(40554),p=Math.max;e.exports=function(e,t,r,h,m,y,g,v){var b=2&t;if(!b&&"function"!=typeof e)throw new TypeError("Expected a function");var w=h?h.length:0;if(w||(t&=-97,h=m=void 0),g=void 0===g?g:p(d(g),0),v=void 0===v?v:d(v),w-=m?m.length:0,64&t){var O=h,x=m;h=m=void 0}var E=b?void 0:c(e),C=[e,t,r,h,m,O,x,y,g,v];if(E&&u(C,E),e=C[0],t=C[1],r=C[2],h=C[3],m=C[4],!(v=C[9]=void 0===C[9]?b?0:e.length:p(C[9]-w,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||16==t?i(e,t,v):32!=t&&33!=t||m.length?a.apply(void 0,C):s(e,t,r,h);else var S=o(e,t,r);return f((E?n:l)(S,C),e,t)}},66833:e=>{e.exports=function(){}},97658:e=>{e.exports=function(){return""}},20893:e=>{e.exports=function(){}},86528:e=>{e.exports=function(){return!1}},63833:e=>{e.exports=function(e){return e}},90451:(e,t,r)=>{var n=r(278),o=r(65776),i=Math.min;e.exports=function(e,t){for(var r=e.length,a=i(t.length,r),s=n(e);a--;){var c=t[a];e[a]=o(c,r)?s[c]:void 0}return e}},46460:e=>{e.exports=function(){return[]}},258:e=>{e.exports=function(e){return e}},69255:e=>{e.exports=function(e){return e}},40087:(e,t,r)=>{var n=r(97727);function o(e,t,r){var i=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t);return i.placeholder=o.placeholder,i}o.placeholder={},e.exports=o},59242:(e,t,r)=>{var n=r(23468)();e.exports=n},94885:e=>{e.exports=function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}},14176:(e,t,r)=>{var n=r(67206),o=r(94885),i=r(35937);e.exports=function(e,t){return i(e,o(n(t)))}},40554:e=>{e.exports=function(e){return e}},17563:(e,t,r)=>{"use strict";const n=r(70610),o=r(44020),i=r(80500),a=r(92806),s=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const o="string"==typeof r&&r.includes(e.arrayFormatSeparator),i="string"==typeof r&&!o&&l(r,e).includes(e.arrayFormatSeparator);r=i?l(r,e):r;const a=o||i?r.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===r?r:l(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(n[t]=r?l(r,e):r);const i=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],i):n[t]=i};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!=typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),r(l(e,t),a,n)}for(const e of Object.keys(n)){const r=n[e];if("object"==typeof r&&null!==r)for(const e of Object.keys(r))r[e]=h(r[e],t);else n[e]=h(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=f(r):e[t]=r,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>t.skipNull&&null==e[r]||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),"[",o,"]"].join("")]:[...r,[u(t,e),"[",u(o,e),"]=",u(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),"[]"].join("")]:[...r,[u(t,e),"[]=",u(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[u(t,e),":list="].join("")]:[...r,[u(t,e),":list=",u(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[u(r,e),t,u(o,e)].join("")]:[[n,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,u(t,e)]:[...r,[u(t,e),"=",u(n,e)].join("")]}}(t),o={};for(const t of Object.keys(e))r(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((r=>{const o=e[r];return void 0===o?"":null===o?u(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(r,t)+"[]":o.reduce(n(r),[]).join("&"):u(r,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=i(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:l(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let c=t.stringify(a,r);c&&(c=`?${c}`);let l=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${r[s]?u(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${c}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:i,fragmentIdentifier:c}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:a(i,r),fragmentIdentifier:c},n)},t.exclude=(e,r,n)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},77294:(e,t,r)=>{"use strict";r.d(t,{D:()=>we});var n=r(1024),o=r(30314);function i(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){return e instanceof i(e).Element||e instanceof Element}function s(e){return e instanceof i(e).HTMLElement||e instanceof HTMLElement}function c(e){return"undefined"!=typeof ShadowRoot&&(e instanceof i(e).ShadowRoot||e instanceof ShadowRoot)}var u=Math.max,l=Math.min,f=Math.round;function d(e,t){void 0===t&&(t=!1);var r=e.getBoundingClientRect(),n=1,o=1;if(s(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(n=f(r.width)/a||1),i>0&&(o=f(r.height)/i||1)}return{width:r.width/n,height:r.height/o,top:r.top/o,right:r.right/n,bottom:r.bottom/o,left:r.left/n,x:r.left/n,y:r.top/o}}function p(e){var t=i(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return d(m(e)).left+p(e).scrollLeft}function g(e){return i(e).getComputedStyle(e)}function v(e){var t=g(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function b(e,t,r){void 0===r&&(r=!1);var n,o,a=s(t),c=s(t)&&function(e){var t=e.getBoundingClientRect(),r=f(t.width)/e.offsetWidth||1,n=f(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),u=m(t),l=d(e,c),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!r)&&(("body"!==h(t)||v(u))&&(g=(n=t)!==i(n)&&s(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:p(n)),s(t)?((b=d(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):u&&(b.x=y(u))),{x:l.left+g.scrollLeft-b.x,y:l.top+g.scrollTop-b.y,width:l.width,height:l.height}}function w(e){var t=d(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function O(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(c(e)?e.host:null)||m(e)}function x(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:s(e)&&v(e)?e:x(O(e))}function E(e,t){var r;void 0===t&&(t=[]);var n=x(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=i(n),s=o?[a].concat(a.visualViewport||[],v(n)?n:[]):n,c=t.concat(s);return o?c:c.concat(E(O(s)))}function C(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return s(e)&&"fixed"!==g(e).position?e.offsetParent:null}function N(e){for(var t=i(e),r=S(e);r&&C(r)&&"static"===g(r).position;)r=S(r);return r&&("html"===h(r)||"body"===h(r)&&"static"===g(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&s(e)&&"fixed"===g(e).position)return null;var r=O(e);for(c(r)&&(r=r.host);s(r)&&["html","body"].indexOf(h(r))<0;){var n=g(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var M="top",R="bottom",I="right",k="left",A="auto",P=[M,R,I,k],j="start",L="end",_="viewport",T="popper",F=P.reduce((function(e,t){return e.concat([t+"-"+j,t+"-"+L])}),[]),B=[].concat(P,[A]).reduce((function(e,t){return e.concat([t,t+"-"+j,t+"-"+L])}),[]),D=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function U(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}var H={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function z(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?H:o;return function(e,t,r){void 0===r&&(r=i);var o,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},H,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],l=!1,f={state:c,setOptions:function(r){var o="function"==typeof r?r(c.options):r;d(),c.options=Object.assign({},i,c.options,o),c.scrollParents={reference:a(e)?E(e):e.contextElement?E(e.contextElement):[],popper:E(t)};var s=function(e){var t=U(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}(function(e){var t=e.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,c.options.modifiers)));return c.orderedModifiers=s.filter((function(e){return e.enabled})),c.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:c,name:t,instance:f,options:n}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!l){var e=c.elements,t=e.reference,r=e.popper;if($(t,r)){c.rects={reference:b(t,N(r),"fixed"===c.options.strategy),popper:w(r)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(e){return c.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<c.orderedModifiers.length;n++)if(!0!==c.reset){var o=c.orderedModifiers[n],i=o.fn,a=o.options,s=void 0===a?{}:a,u=o.name;"function"==typeof i&&(c=i({state:c,options:s,name:u,instance:f})||c)}else c.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(c)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){d(),l=!0}};if(!$(e,t))return f;function d(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(r).then((function(e){!l&&r.onFirstUpdate&&r.onFirstUpdate(e)})),f}}var W={passive:!0};function q(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function Y(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Q(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?q(o):null,a=o?V(o):null,s=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(i){case M:t={x:s,y:r.y-n.height};break;case R:t={x:s,y:r.y+r.height};break;case I:t={x:r.x+r.width,y:c};break;case k:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var u=i?Y(i):null;if(null!=u){var l="y"===u?"height":"width";switch(a){case j:t[u]=t[u]-(r[l]/2-n[l]/2);break;case L:t[u]=t[u]+(r[l]/2-n[l]/2)}}return t}var X={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,l=e.adaptive,d=e.roundOffsets,p=e.isFixed,h=s.x,y=void 0===h?0:h,v=s.y,b=void 0===v?0:v,w="function"==typeof d?d({x:y,y:b}):{x:y,y:b};y=w.x,b=w.y;var O=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),E=k,C=M,S=window;if(l){var A=N(r),P="clientHeight",j="clientWidth";if(A===i(r)&&"static"!==g(A=m(r)).position&&"absolute"===c&&(P="scrollHeight",j="scrollWidth"),A=A,o===M||(o===k||o===I)&&a===L)C=R,b-=(p&&A===S&&S.visualViewport?S.visualViewport.height:A[P])-n.height,b*=u?1:-1;if(o===k||(o===M||o===R)&&a===L)E=I,y-=(p&&A===S&&S.visualViewport?S.visualViewport.width:A[j])-n.width,y*=u?1:-1}var _,T=Object.assign({position:c},l&&X),F=!0===d?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:f(t*n)/n||0,y:f(r*n)/n||0}}({x:y,y:b}):{x:y,y:b};return y=F.x,b=F.y,u?Object.assign({},T,((_={})[C]=x?"0":"",_[E]=O?"0":"",_.transform=(S.devicePixelRatio||1)<=1?"translate("+y+"px, "+b+"px)":"translate3d("+y+"px, "+b+"px, 0)",_)):Object.assign({},T,((t={})[C]=x?b+"px":"",t[E]=O?y+"px":"",t.transform="",t))}const K={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=B.reduce((function(e,r){return e[r]=function(e,t,r){var n=q(e),o=[k,M].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[k,I].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}};var Z={left:"right",right:"left",bottom:"top",top:"bottom"};function J(e){return e.replace(/left|right|bottom|top/g,(function(e){return Z[e]}))}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,(function(e){return ee[e]}))}function re(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&c(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ne(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,t){return t===_?ne(function(e){var t=i(e),r=m(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=n.offsetLeft,c=n.offsetTop)),{width:o,height:a,x:s+y(e),y:c}}(e)):a(t)?function(e){var t=d(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ne(function(e){var t,r=m(e),n=p(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=u(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=u(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+y(e),c=-n.scrollTop;return"rtl"===g(o||r).direction&&(s+=u(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(m(e)))}function ie(e,t,r){var n="clippingParents"===t?function(e){var t=E(O(e)),r=["absolute","fixed"].indexOf(g(e).position)>=0&&s(e)?N(e):e;return a(r)?t.filter((function(e){return a(e)&&re(e,r)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),i=o[0],c=o.reduce((function(t,r){var n=oe(e,r);return t.top=u(n.top,t.top),t.right=l(n.right,t.right),t.bottom=l(n.bottom,t.bottom),t.left=u(n.left,t.left),t}),oe(e,i));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ae(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function se(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function ce(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.boundary,s=void 0===i?"clippingParents":i,c=r.rootBoundary,u=void 0===c?_:c,l=r.elementContext,f=void 0===l?T:l,p=r.altBoundary,h=void 0!==p&&p,y=r.padding,g=void 0===y?0:y,v=ae("number"!=typeof g?g:se(g,P)),b=f===T?"reference":T,w=e.rects.popper,O=e.elements[h?b:f],x=ie(a(O)?O:O.contextElement||m(e.elements.popper),s,u),E=d(e.elements.reference),C=Q({reference:E,element:w,strategy:"absolute",placement:o}),S=ne(Object.assign({},w,C)),N=f===T?S:E,k={top:x.top-N.top+v.top,bottom:N.bottom-x.bottom+v.bottom,left:x.left-N.left+v.left,right:N.right-x.right+v.right},A=e.modifiersData.offset;if(f===T&&A){var j=A[o];Object.keys(k).forEach((function(e){var t=[I,R].indexOf(e)>=0?1:-1,r=[M,R].indexOf(e)>=0?"y":"x";k[e]+=j[r]*t}))}return k}function ue(e,t,r){return u(e,l(t,r))}const le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,p=r.padding,h=r.tether,m=void 0===h||h,y=r.tetherOffset,g=void 0===y?0:y,v=ce(t,{boundary:c,rootBoundary:f,padding:p,altBoundary:d}),b=q(t.placement),O=V(t.placement),x=!O,E=Y(b),C="x"===E?"y":"x",S=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,L="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,_="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(S){if(i){var B,D="y"===E?M:k,U="y"===E?R:I,H="y"===E?"height":"width",$=S[E],z=$+v[D],W=$-v[U],Q=m?-P[H]/2:0,X=O===j?A[H]:P[H],G=O===j?-P[H]:-A[H],K=t.elements.arrow,Z=m&&K?w(K):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=J[D],te=J[U],re=ue(0,A[H],Z[H]),ne=x?A[H]/2-Q-re-ee-_.mainAxis:X-re-ee-_.mainAxis,oe=x?-A[H]/2+Q+re+te+_.mainAxis:G+re+te+_.mainAxis,ie=t.elements.arrow&&N(t.elements.arrow),ae=ie?"y"===E?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(B=null==T?void 0:T[E])?B:0,le=$+oe-se,fe=ue(m?l(z,$+ne-se-ae):z,$,m?u(W,le):W);S[E]=fe,F[E]=fe-$}if(s){var de,pe="x"===E?M:k,he="x"===E?R:I,me=S[C],ye="y"===C?"height":"width",ge=me+v[pe],ve=me-v[he],be=-1!==[M,k].indexOf(b),we=null!=(de=null==T?void 0:T[C])?de:0,Oe=be?ge:me-A[ye]-P[ye]-we+_.altAxis,xe=be?me+A[ye]+P[ye]-we-_.altAxis:ve,Ee=m&&be?function(e,t,r){var n=ue(e,t,r);return n>r?r:n}(Oe,me,xe):ue(m?Oe:ge,me,m?xe:ve);S[C]=Ee,F[C]=Ee-me}t.modifiersData[n]=F}},requiresIfExists:["offset"]};const fe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=q(r.placement),c=Y(s),u=[k,I].indexOf(s)>=0?"height":"width";if(i&&a){var l=function(e,t){return ae("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:se(e,P))}(o.padding,r),f=w(i),d="y"===c?M:k,p="y"===c?R:I,h=r.rects.reference[u]+r.rects.reference[c]-a[c]-r.rects.popper[u],m=a[c]-r.rects.reference[c],y=N(i),g=y?"y"===c?y.clientHeight||0:y.clientWidth||0:0,v=h/2-m/2,b=l[d],O=g-f[u]-l[p],x=g/2-f[u]/2+v,E=ue(b,x,O),C=c;r.modifiersData[n]=((t={})[C]=E,t.centerOffset=E-x,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&re(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function de(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function pe(e){return[M,I,R,k].some((function(t){return e[t]>=0}))}var he=z({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,s=n.resize,c=void 0===s||s,u=i(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",r.update,W)})),c&&u.addEventListener("resize",r.update,W),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",r.update,W)})),c&&u.removeEventListener("resize",r.update,W)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Q({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,c=void 0===s||s,u={placement:q(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,G(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,G(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];s(o)&&h(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});s(n)&&h(n)&&(Object.assign(n.style,i),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},K,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,c=r.fallbackPlacements,u=r.padding,l=r.boundary,f=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,h=void 0===p||p,m=r.allowedAutoPlacements,y=t.options.placement,g=q(y),v=c||(g===y||!h?[J(y)]:function(e){if(q(e)===A)return[];var t=J(e);return[te(e),t,te(t)]}(y)),b=[y].concat(v).reduce((function(e,r){return e.concat(q(r)===A?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,u=void 0===c?B:c,l=V(n),f=l?s?F:F.filter((function(e){return V(e)===l})):P,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,r){return t[r]=ce(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[q(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:r,boundary:l,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,E=!0,C=b[0],S=0;S<b.length;S++){var N=b[S],L=q(N),_=V(N)===j,T=[M,R].indexOf(L)>=0,D=T?"width":"height",U=ce(t,{placement:N,boundary:l,rootBoundary:f,altBoundary:d,padding:u}),H=T?_?I:k:_?R:M;w[D]>O[D]&&(H=J(H));var $=J(H),z=[];if(i&&z.push(U[L]<=0),s&&z.push(U[H]<=0,U[$]<=0),z.every((function(e){return e}))){C=N,E=!1;break}x.set(N,z)}if(E)for(var W=function(e){var t=b.find((function(t){var r=x.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},Y=h?3:1;Y>0;Y--){if("break"===W(Y))break}t.placement!==C&&(t.modifiersData[n]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},le,fe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ce(t,{elementContext:"reference"}),s=ce(t,{altBoundary:!0}),c=de(a,n),u=de(s,o,i),l=pe(c),f=pe(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),me=r(69590),ye=r.n(me),ge=function(e){return e.reduce((function(e,t){var r=t[0],n=t[1];return e[r]=n,e}),{})},ve="undefined"!=typeof window&&window.document&&window.document.createElement?n.useLayoutEffect:n.useEffect,be=[],we=function(e,t,r){void 0===r&&(r={});var i=n.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||be},s=n.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=s[0],u=s[1],l=n.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,r=Object.keys(t.elements);o.flushSync((function(){u({styles:ge(r.map((function(e){return[e,t.styles[e]||{}]}))),attributes:ge(r.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),f=n.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[l,{name:"applyStyles",enabled:!1}])};return ye()(i.current,e)?i.current||e:(i.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,l]),d=n.useRef();return ve((function(){d.current&&d.current.setOptions(f)}),[f]),ve((function(){if(null!=e&&null!=t){var n=(r.createPopper||he)(e,t,f);return d.current=n,function(){n.destroy(),d.current=null}}}),[e,t,r.createPopper]),{state:d.current?d.current.state:null,styles:c.styles,attributes:c.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}},80500:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},70610:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},18311:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function i(e){return e&&e.__esModule?e:{default:e}}var a=r(1024),s=i(a),c=i(r(9230)),u=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=i,r=a,n=!0,s=u=void 0}}(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={hover:!1}}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getLineStyle",value:function(e){return n({position:"absolute",height:"20%",left:0,right:0,top:2*e*20+"%",opacity:this.state.hover?.6:1},this.state.hover&&this.props.styles.bmBurgerBarsHover)}},{key:"render",value:function(){var e=this,t=void 0;if(this.props.customIcon){var r={className:("bm-icon "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmIcon)};t=s.default.cloneElement(this.props.customIcon,r)}else t=s.default.createElement("span",null,[0,1,2].map((function(t){return s.default.createElement("span",{key:t,className:("bm-burger-bars "+e.props.barClassName+" "+(e.state.hover?"bm-burger-bars-hover":"")).trim(),style:n({},e.getLineStyle(t),e.props.styles.bmBurgerBars)})})));return s.default.createElement("div",{className:("bm-burger-button "+this.props.className).trim(),style:n({zIndex:1e3},this.props.styles.bmBurgerButton)},s.default.createElement("button",{type:"button",id:"react-burger-menu-btn",onClick:this.props.onClick,onMouseOver:function(){e.setState({hover:!0}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!0})},onMouseOut:function(){e.setState({hover:!1}),e.props.onIconHoverChange&&e.props.onIconHoverChange({isMouseIn:!1})},style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},"Open Menu"),t)}}]),t}(a.Component);t.default=u,u.propTypes={barClassName:c.default.string,customIcon:c.default.element,styles:c.default.object},u.defaultProps={barClassName:"",className:"",styles:{}},e.exports=t.default},44114:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var c=s.get;if(void 0===c)return;return c.call(a)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=i,r=a,n=!0,s=u=void 0}};function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=r(1024),u=a(c),l=a(r(9230)),f=function(e){function t(){s(this,t),i(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"getCrossStyle",value:function(e){return{position:"absolute",width:3,height:14,transform:"before"===e?"rotate(45deg)":"rotate(-45deg)"}}},{key:"render",value:function(){var e,t=this;if(this.props.customIcon){var r={className:("bm-cross "+(this.props.customIcon.props.className||"")).trim(),style:n({width:"100%",height:"100%"},this.props.styles.bmCross)};e=u.default.cloneElement(this.props.customIcon,r)}else e=u.default.createElement("span",{style:{position:"absolute",top:"6px",right:"14px"}},["before","after"].map((function(e,r){return u.default.createElement("span",{key:r,className:("bm-cross "+t.props.crossClassName).trim(),style:n({},t.getCrossStyle(e),t.props.styles.bmCross)})})));return u.default.createElement("div",{className:("bm-cross-button "+this.props.className).trim(),style:n({},{position:"absolute",width:24,height:24,right:8,top:8},this.props.styles.bmCrossButton)},u.default.createElement("button",{type:"button",id:"react-burger-cross-btn",onClick:this.props.onClick,style:{position:"absolute",left:0,top:0,zIndex:1,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"},tabIndex:this.props.isOpen?0:-1},"Close Menu"),e)}}]),t}(c.Component);t.default=f,f.propTypes={crossClassName:l.default.string,customIcon:l.default.element,isOpen:l.default.bool,styles:l.default.object},f.defaultProps={crossClassName:"",className:"",styles:{},isOpen:!1},e.exports=t.default},67545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={overlay:function(e){return{position:"fixed",zIndex:1e3,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.3)",opacity:e?1:0,MozTransform:e?"":"translate3d(100%, 0, 0)",MsTransform:e?"":"translate3d(100%, 0, 0)",OTransform:e?"":"translate3d(100%, 0, 0)",WebkitTransform:e?"":"translate3d(100%, 0, 0)",transform:e?"":"translate3d(100%, 0, 0)",transition:e?"opacity 0.3s":"opacity 0.3s, transform 0s 0.3s"}},menuWrap:function(e,t,r){return{position:"fixed",right:r?0:"inherit",zIndex:1100,width:t,height:"100%",MozTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",MsTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",OTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",WebkitTransform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transform:e?"":r?"translate3d(100%, 0, 0)":"translate3d(-100%, 0, 0)",transition:"all 0.5s"}},menu:function(){return{height:"100%",boxSizing:"border-box",overflow:"auto"}},itemList:function(){return{height:"100%"}},item:function(){return{display:"block"}}},e.exports=t.default},24428:(e,t)=>{"use strict";function r(){var e=Array.from(document.getElementsByClassName("bm-item")).shift();e&&e.focus()}function n(){var e=Array.from(document.getElementsByClassName("bm-item")).pop();e&&e.focus()}function o(){var e=document.getElementById("react-burger-cross-btn");e&&e.focus()}function i(e){if(document.activeElement.className.includes("bm-item")){var t=document.activeElement[e];t?t.focus():o()}else"previousElementSibling"===e?n():r()}Object.defineProperty(t,"__esModule",{value:!0}),t.focusOnFirstMenuItem=r,t.focusOnLastMenuItem=n,t.focusOnCrossButton=o,t.focusOnMenuButton=function(){var e=document.getElementById("react-burger-menu-btn");e&&e.focus()},t.focusOnMenuItem=i,t.focusOnNextMenuItem=function(){i("nextElementSibling")},t.focusOnPreviousMenuItem=function(){i("previousElementSibling")}},32994:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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};function i(e){return e&&e.__esModule?e:{default:e}}var a=i(r(1024)),s=(i(r(30314)),i(r(9230))),c=i(r(67545)),u=r(24428),l=i(r(18311)),f=i(r(44114));t.default=function(e){if(!e)throw new Error("No styles supplied");var t="ArrowDown",r="ArrowUp";var i=function(i){var s,d,p=a.default.useState(!1),h=n(p,2),m=h[0],y=h[1],g=a.default.useRef(),v=a.default.useRef({}),b=(s=i.isOpen,d=a.default.useRef(s),a.default.useEffect((function(){d.current=s})),d.current);function w(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];v.current=e,S(),setTimeout((function(){y((function(t){return void 0!==e.isOpen?e.isOpen:!t}))}))}function O(){"function"==typeof i.onClose?i.onClose():w()}function x(e,t){var r=i.width,n=i.right;return e(m,"string"!=typeof r?r+"px":r,n,t)}function E(t,r,n){var a="bm"+t.replace(t.charAt(0),t.charAt(0).toUpperCase()),s=c.default[t]?x(c.default[t]):{};return e[t]&&(s=o({},s,x(e[t],r+1))),i.styles[a]&&(s=o({},s,i.styles[a])),n&&(s=o({},s,n)),i.noTransition&&delete s.transition,s}function C(e,t,r){var n=document.getElementById(e);if(n){var o=x(t);for(var a in o)o.hasOwnProperty(a)&&(n.style[a]=r?o[a]:"");var s=function(e){return e.style["overflow-x"]=r?"hidden":""};i.htmlClassName||s(document.querySelector("html")),i.bodyClassName||s(document.querySelector("body"))}else console.error("Element with ID '"+e+"' not found")}function S(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0],r=function(e,r){return e.classList[t?"add":"remove"](r)};i.htmlClassName&&r(document.querySelector("html"),i.htmlClassName),i.bodyClassName&&r(document.querySelector("body"),i.bodyClassName),e.pageWrap&&i.pageWrapId&&C(i.pageWrapId,e.pageWrap,t),e.outerContainer&&i.outerContainerId&&C(i.outerContainerId,e.outerContainer,t);var n=document.querySelector(".bm-menu-wrap");n&&(t?n.removeAttribute("hidden"):n.setAttribute("hidden",!0))}function N(){g.current&&clearTimeout(g.current)}function M(e){switch((e=e||window.event).key){case"Escape":i.disableCloseOnEsc||(O(),(0,u.focusOnMenuButton)());break;case t:(0,u.focusOnNextMenuItem)();break;case r:(0,u.focusOnPreviousMenuItem)();break;case"Home":(0,u.focusOnFirstMenuItem)();break;case"End":(0,u.focusOnLastMenuItem)()}}function R(e){if((e=e||window.event).target===document.getElementById("react-burger-menu-btn"))switch(e.key){case t:case" ":w();break;case r:w({focusOnLastItem:!0})}}return a.default.useEffect((function(){return i.isOpen&&w({isOpen:!0,noStateChange:!0}),function(){S(!1),N()}}),[]),a.default.useEffect((function(){var t,r;void 0!==i.isOpen&&i.isOpen!==m&&i.isOpen!==b?w():e.svg&&(t=document.getElementById("bm-morph-shape"),r=e.svg.lib(t).select("path"),m?e.svg.animate(r):setTimeout((function(){r.attr("d",e.svg.pathInitial)}),300))})),a.default.useEffect((function(){var e=v.current,t=e.noStateChange,r=e.focusOnLastItem;t||i.onStateChange({isOpen:m}),i.disableAutoFocus||(m?r?(0,u.focusOnLastMenuItem)():(0,u.focusOnFirstMenuItem)():document.activeElement?document.activeElement.blur():document.body.blur()),N(),g.current=setTimeout((function(){g.current=null,m||S(!1)}),500);var n=m?M:R,o=i.customOnKeyDown||n;return window.addEventListener("keydown",o),function(){window.removeEventListener("keydown",o)}}),[m]),a.default.createElement("div",null,!i.noOverlay&&a.default.createElement("div",{className:("bm-overlay "+i.overlayClassName).trim(),onClick:function(){!0===i.disableOverlayClick||"function"==typeof i.disableOverlayClick&&i.disableOverlayClick()||O()},style:E("overlay")}),!1!==i.customBurgerIcon&&a.default.createElement("div",{style:E("burgerIcon")},a.default.createElement(l.default,{onClick:function(){"function"==typeof i.onOpen?i.onOpen():w()},styles:i.styles,customIcon:i.customBurgerIcon,className:i.burgerButtonClassName,barClassName:i.burgerBarClassName,onIconStateChange:i.onIconStateChange})),a.default.createElement("div",{id:i.id,className:("bm-menu-wrap "+i.className).trim(),style:E("menuWrap"),"aria-hidden":!m},e.svg&&a.default.createElement("div",{id:"bm-morph-shape",className:("bm-morph-shape "+i.morphShapeClassName).trim(),style:E("morphShape")},a.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none"},a.default.createElement("path",{d:e.svg.pathInitial}))),a.default.createElement("div",{className:("bm-menu "+i.menuClassName).trim(),style:E("menu")},a.default.createElement(i.itemListElement,{className:("bm-item-list "+i.itemListClassName).trim(),style:E("itemList")},a.default.Children.map(i.children,(function(e,t){if(e){var r={key:t,className:["bm-item",i.itemClassName,e.props.className].filter((function(e){return!!e})).join(" "),style:E("item",t,e.props.style),tabIndex:m?0:-1};return a.default.cloneElement(e,r)}})))),!1!==i.customCrossIcon&&a.default.createElement("div",{style:E("closeButton")},a.default.createElement(f.default,{onClick:O,styles:i.styles,customIcon:i.customCrossIcon,className:i.crossButtonClassName,crossClassName:i.crossClassName,isOpen:m}))))};return i.propTypes={bodyClassName:s.default.string,burgerBarClassName:s.default.string,burgerButtonClassName:s.default.string,className:s.default.string,crossButtonClassName:s.default.string,crossClassName:s.default.string,customBurgerIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customCrossIcon:s.default.oneOfType([s.default.element,s.default.oneOf([!1])]),customOnKeyDown:s.default.func,disableAutoFocus:s.default.bool,disableCloseOnEsc:s.default.bool,disableOverlayClick:s.default.oneOfType([s.default.bool,s.default.func]),htmlClassName:s.default.string,id:s.default.string,isOpen:s.default.bool,itemClassName:s.default.string,itemListClassName:s.default.string,itemListElement:s.default.oneOf(["div","nav"]),menuClassName:s.default.string,morphShapeClassName:s.default.string,noOverlay:s.default.bool,noTransition:s.default.bool,onClose:s.default.func,onIconHoverChange:s.default.func,onOpen:s.default.func,onStateChange:s.default.func,outerContainerId:e&&e.outerContainer?s.default.string.isRequired:s.default.string,overlayClassName:s.default.string,pageWrapId:e&&e.pageWrap?s.default.string.isRequired:s.default.string,right:s.default.bool,styles:s.default.object,width:s.default.oneOfType([s.default.number,s.default.string])},i.defaultProps={bodyClassName:"",burgerBarClassName:"",burgerButtonClassName:"",className:"",crossButtonClassName:"",crossClassName:"",disableAutoFocus:!1,disableCloseOnEsc:!1,htmlClassName:"",id:"",itemClassName:"",itemListClassName:"",menuClassName:"",morphShapeClassName:"",noOverlay:!1,noTransition:!1,onStateChange:function(){},outerContainerId:"",overlayClassName:"",pageWrapId:"",styles:{},width:300,onIconHoverChange:function(){},itemListElement:"nav"},i},e.exports=t.default},19755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(32994),i=(n=o)&&n.__esModule?n:{default:n};t.default=(0,i.default)({}),e.exports=t.default},16159:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>N});var n,o=r(1024),i=r.n(o),a=Object.defineProperty,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))c.call(t,r)&&l(e,r,t[r]);if(s)for(var r of s(t))u.call(t,r)&&l(e,r,t[r]);return e},d=(e,t)=>{var r={};for(var n in e)c.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))t.indexOf(n)<0&&u.call(e,n)&&(r[n]=e[n]);return r};(e=>{const t=class{constructor(e,r,n,o){if(this.version=e,this.errorCorrectionLevel=r,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(n);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const r=this.getPenaltyScore();r<e&&(o=t,e=r),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(r,n){const o=e.QrSegment.makeSegments(r);return t.encodeSegments(o,n)}static encodeBinary(r,n){const o=e.QrSegment.makeBytes(r);return t.encodeSegments([o],n)}static encodeSegments(e,r,o=1,a=40,c=-1,u=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||c<-1||c>7)throw new RangeError("Invalid value");let l,f;for(l=o;;l++){const n=8*t.getNumDataCodewords(l,r),o=s.getTotalBits(e,l);if(o<=n){f=o;break}if(l>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])u&&f<=8*t.getNumDataCodewords(l,e)&&(r=e);let d=[];for(const t of e){n(t.mode.modeBits,4,d),n(t.numChars,t.mode.numCharCountBits(l),d);for(const e of t.getData())d.push(e)}i(d.length==f);const p=8*t.getNumDataCodewords(l,r);i(d.length<=p),n(0,Math.min(4,p-d.length),d),n(0,(8-d.length%8)%8,d),i(d.length%8==0);for(let e=236;d.length<p;e^=253)n(e,8,d);let h=[];for(;8*h.length<d.length;)h.push(0);return d.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(l,r,h,c)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let r=0;r<t;r++)for(let n=0;n<t;n++)0==r&&0==n||0==r&&n==t-1||r==t-1&&0==n||this.drawAlignmentPattern(e[r],e[n]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let r=t;for(let e=0;e<10;e++)r=r<<1^1335*(r>>>9);const n=21522^(t<<10|r);i(n>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(n,e));this.setFunctionModule(8,7,o(n,6)),this.setFunctionModule(8,8,o(n,7)),this.setFunctionModule(7,8,o(n,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(n,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(n,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(n,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){const r=o(t,e),n=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(n,i,r),this.setFunctionModule(i,n,r)}}drawFinderPattern(e,t){for(let r=-4;r<=4;r++)for(let n=-4;n<=4;n++){const o=Math.max(Math.abs(n),Math.abs(r)),i=e+n,a=t+r;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let r=-2;r<=2;r++)for(let n=-2;n<=2;n++)this.setFunctionModule(e+n,t+r,1!=Math.max(Math.abs(n),Math.abs(r)))}setFunctionModule(e,t,r){this.modules[t][e]=r,this.isFunction[t][e]=!0}addEccAndInterleave(e){const r=this.version,n=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(r,n))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][r],a=t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][r],s=Math.floor(t.getNumRawDataModules(r)/8),c=o-s%o,u=Math.floor(s/o);let l=[];const f=t.reedSolomonComputeDivisor(a);for(let r=0,n=0;r<o;r++){let o=e.slice(n,n+u-a+(r<c?0:1));n+=o.length;const i=t.reedSolomonComputeRemainder(o,f);r<c&&o.push(0),l.push(o.concat(i))}let d=[];for(let e=0;e<l[0].length;e++)l.forEach(((t,r)=>{(e!=u-a||r>=c)&&d.push(t[e])}));return i(d.length==s),d}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let r=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let n=0;n<this.size;n++)for(let i=0;i<2;i++){const a=t-i,s=0==(t+1&2)?this.size-1-n:n;!this.isFunction[s][a]&&r<8*e.length&&(this.modules[s][a]=o(e[r>>>3],7-(7&r)),r++)}}i(r==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let r=0;r<this.size;r++){let n;switch(e){case 0:n=(r+t)%2==0;break;case 1:n=t%2==0;break;case 2:n=r%3==0;break;case 3:n=(r+t)%3==0;break;case 4:n=(Math.floor(r/3)+Math.floor(t/2))%2==0;break;case 5:n=r*t%2+r*t%3==0;break;case 6:n=(r*t%2+r*t%3)%2==0;break;case 7:n=((r+t)%2+r*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][r]&&n&&(this.modules[t][r]=!this.modules[t][r])}}getPenaltyScore(){let e=0;for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[r][a]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[r][a],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size;r++){let n=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][r]==n?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),n||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),n=this.modules[a][r],o=1);e+=this.finderPenaltyTerminateAndCount(n,o,i)*t.PENALTY_N3}for(let r=0;r<this.size-1;r++)for(let n=0;n<this.size-1;n++){const o=this.modules[r][n];o==this.modules[r][n+1]&&o==this.modules[r+1][n]&&o==this.modules[r+1][n+1]&&(e+=t.PENALTY_N2)}let r=0;for(const e of this.modules)r=e.reduce(((e,t)=>e+(t?1:0)),r);const n=this.size*this.size,o=Math.ceil(Math.abs(20*r-10*n)/n)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let r=[6];for(let n=this.size-7;r.length<e;n-=t)r.splice(1,0,n);return r}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let r=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;r-=(25*t-10)*t-55,e>=7&&(r-=36)}return i(208<=r&&r<=29648),r}static getNumDataCodewords(e,r){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let r=[];for(let t=0;t<e-1;t++)r.push(0);r.push(1);let n=1;for(let o=0;o<e;o++){for(let e=0;e<r.length;e++)r[e]=t.reedSolomonMultiply(r[e],n),e+1<r.length&&(r[e]^=r[e+1]);n=t.reedSolomonMultiply(n,2)}return r}static reedSolomonComputeRemainder(e,r){let n=r.map((e=>0));for(const o of e){const e=o^n.shift();n.push(0),r.forEach(((r,o)=>n[o]^=t.reedSolomonMultiply(r,e)))}return n}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let r=0;for(let n=7;n>=0;n--)r=r<<1^285*(r>>>7),r^=(t>>>n&1)*e;return i(r>>>8==0),r}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const r=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(r&&e[0]>=4*t&&e[6]>=t?1:0)+(r&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let r=t;function n(e,t,r){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let n=t-1;n>=0;n--)r.push(e>>>n&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;const a=class{constructor(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}static makeBytes(e){let t=[];for(const r of e)n(r,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let r=0;r<e.length;){const o=Math.min(e.length-r,3);n(parseInt(e.substr(r,o),10),3*o+1,t),r+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,r=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),n(o,11,r)}return t<e.length&&n(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,r),new a(a.Mode.ALPHANUMERIC,e.length,r)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)n(e,8,t);else if(e<16384)n(2,2,t),n(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");n(6,3,t),n(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let r=0;for(const n of e){const e=n.mode.numCharCountBits(t);if(n.numChars>=1<<e)return 1/0;r+=4+e+n.bitData.length}return r}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let r=0;r<e.length;r++)"%"!=e.charAt(r)?t.push(e.charCodeAt(r)):(t.push(parseInt(e.substr(r+1,2),16)),r+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let r=t;r.LOW=new t(0,1),r.MEDIUM=new t(1,0),r.QUARTILE=new t(2,3),r.HIGH=new t(3,2),e.Ecc=r})(t=e.QrCode||(e.QrCode={}))})(n||(n={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let r=t;r.NUMERIC=new t(1,[10,12,14]),r.ALPHANUMERIC=new t(2,[9,11,13]),r.BYTE=new t(4,[8,16,16]),r.KANJI=new t(8,[8,10,12]),r.ECI=new t(7,[0,0,0]),e.Mode=r})(t=e.QrSegment||(e.QrSegment={}))})(n||(n={}));var p=n,h={L:p.QrCode.Ecc.LOW,M:p.QrCode.Ecc.MEDIUM,Q:p.QrCode.Ecc.QUARTILE,H:p.QrCode.Ecc.HIGH},m=128,y="L",g="#FFFFFF",v="#000000",b=!1;
2
+ /**
3
+ * @license qrcode.react
4
+ * Copyright (c) Paul O'Shannessy
5
+ * SPDX-License-Identifier: ISC
6
+ */function w(e,t=0){const r=[];return e.forEach((function(e,n){let o=null;e.forEach((function(i,a){if(!i&&null!==o)return r.push(`M${o+t} ${n+t}h${a-o}v1H${o+t}z`),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?r.push(`M${a+t},${n+t} h1v1H${a+t}z`):r.push(`M${o+t},${n+t} h${a+1-o}v1H${o+t}z`)}}))})),r.join("")}function O(e,t){return e.slice().map(((e,r)=>r<t.y||r>=t.y+t.h?e:e.map(((e,r)=>(r<t.x||r>=t.x+t.w)&&e))))}function x(e,t,r,n){if(null==n)return null;const o=r?4:0,i=e.length+2*o,a=Math.floor(.1*t),s=i/t,c=(n.width||a)*s,u=(n.height||a)*s,l=null==n.x?e.length/2-c/2:n.x*s,f=null==n.y?e.length/2-u/2:n.y*s;let d=null;if(n.excavate){let e=Math.floor(l),t=Math.floor(f);d={x:e,y:t,w:Math.ceil(c+l-e),h:Math.ceil(u+f-t)}}return{x:l,y:f,h:u,w:c,excavation:d}}var E=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function C(e){const t=e,{value:r,size:n=m,level:a=y,bgColor:s=g,fgColor:c=v,includeMargin:u=b,style:l,imageSettings:C}=t,S=d(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),N=null==C?void 0:C.src,M=(0,o.useRef)(null),R=(0,o.useRef)(null),[I,k]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=M.current){const e=M.current,t=e.getContext("2d");if(!t)return;let o=p.QrCode.encodeText(r,h[a]).getModules();const i=u?4:0,l=o.length+2*i,f=x(o,n,u,C),d=R.current,m=null!=f&&null!==d&&d.complete&&0!==d.naturalHeight&&0!==d.naturalWidth;m&&null!=f.excavation&&(o=O(o,f.excavation));const y=window.devicePixelRatio||1;e.height=e.width=n*y;const g=n/l*y;t.scale(g,g),t.fillStyle=s,t.fillRect(0,0,l,l),t.fillStyle=c,E?t.fill(new Path2D(w(o,i))):o.forEach((function(e,r){e.forEach((function(e,n){e&&t.fillRect(n+i,r+i,1,1)}))})),m&&t.drawImage(d,f.x+i,f.y+i,f.w,f.h)}})),(0,o.useEffect)((()=>{k(!1)}),[N]);const A=f({height:n,width:n},l);let P=null;return null!=N&&(P=i().createElement("img",{src:N,key:N,style:{display:"none"},onLoad:()=>{k(!0)},ref:R})),i().createElement(i().Fragment,null,i().createElement("canvas",f({style:A,height:n,width:n,ref:M},S)),P)}function S(e){const t=e,{value:r,size:n=m,level:o=y,bgColor:a=g,fgColor:s=v,includeMargin:c=b,imageSettings:u}=t,l=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let E=p.QrCode.encodeText(r,h[o]).getModules();const C=c?4:0,S=E.length+2*C,N=x(E,n,c,u);let M=null;null!=u&&null!=N&&(null!=N.excavation&&(E=O(E,N.excavation)),M=i().createElement("image",{xlinkHref:u.src,height:N.h,width:N.w,x:N.x+C,y:N.y+C,preserveAspectRatio:"none"}));const R=w(E,C);return i().createElement("svg",f({height:n,width:n,viewBox:`0 0 ${S} ${S}`},l),i().createElement("path",{fill:a,d:`M0,0 h${S}v${S}H0z`,shapeRendering:"crispEdges"}),i().createElement("path",{fill:s,d:R,shapeRendering:"crispEdges"}),M)}var N=e=>{const t=e,{renderAs:r}=t,n=d(t,["renderAs"]);return"svg"===r?i().createElement(S,f({},n)):i().createElement(C,f({},n))}},33188:(e,t,r)=>{"use strict";var n=r(38163),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var a=l(r);f&&(a=a.concat(f(r)));for(var s=c(t),m=c(r),y=0;y<a.length;++y){var g=a[y];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=d(r,g);try{u(t,g,v)}catch(e){}}}}return t}},71534:(e,t,r)=>{"use strict";var n=r(71909);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){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 e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},10317:(e,t,r)=>{e.exports=r(71534)()},71909:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98861:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n=r(1024),o=r.n(n),i=r(10317),a=r.n(i);function s(){return s=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},s.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(c(t)),t.handleErrored=t.handleErrored.bind(c(t)),t.handleChange=t.handleChange.bind(c(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(c(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var i=n.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},n}(o().Component);u.displayName="ReCAPTCHA",u.propTypes={sitekey:a().string.isRequired,onChange:a().func,grecaptcha:a().object,theme:a().oneOf(["dark","light"]),type:a().oneOf(["image","audio"]),tabindex:a().number,onExpired:a().func,onErrored:a().func,size:a().oneOf(["compact","normal","invisible"]),stoken:a().string,hl:a().string,badge:a().oneOf(["bottomright","bottomleft","inline"])},u.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var l=r(33188),f=r.n(l);function d(){return d=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},d.apply(this,arguments)}var p={},h=0;var m="onloadcallback";const y=(g=function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+m+"&render=explicit"},v=(v={callbackName:m,globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,o;function i(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}o=t,(r=i).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var a=i.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof g?g():g,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=p[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[v.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=v,o=n.globalName,i=n.callbackName,a=n.scriptId;if(o&&void 0!==window[o]&&(p[t]={loaded:!0,observers:{}}),p[t]){var s=p[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var c={};c[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},p[t]={loaded:!1,observers:c};var u=document.createElement("script");for(var l in u.src=t,u.async=!0,v.attributes)u.setAttribute(l,v.attributes[l]);a&&(u.id=a);var f=function(e){if(p[t]){var r=p[t].observers;for(var n in r)e(r[n])&&delete r[n]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=p[t];e&&(e.loaded=!0,f((function(t){return!i&&(t(e),!0)})))},u.onerror=function(){var e=p[t];e&&(e.errored=!0,f((function(t){return t(e),!0})))},document.body.appendChild(u)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===v.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=p[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===v.removeOnUnmount&&delete p[e])},a.render=function(){var t=v.globalName,r=this.props,o=(r.asyncScriptOnLoad,r.forwardedRef),i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=o,(0,n.createElement)(e,i)},i}(n.Component),o=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(r,d({},e,{forwardedRef:t}))}));return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:a().func},f()(o,e)})(u);var g,v;const b=y},66526:(e,t)=>{"use strict";
7
+ /** @license React v16.13.1
8
+ * react-is.production.min.js
9
+ *
10
+ * Copyright (c) Facebook, Inc. and its affiliates.
11
+ *
12
+ * This source code is licensed under the MIT license found in the
13
+ * LICENSE file in the root directory of this source tree.
14
+ */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=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 f:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case y:case m:case c:return e;default:return t}}case o:return t}}}function x(e){return O(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||O(e)===l},t.isConcurrentMode=x,t.isContextConsumer=function(e){return O(e)===u},t.isContextProvider=function(e){return O(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return O(e)===d},t.isFragment=function(e){return O(e)===i},t.isLazy=function(e){return O(e)===y},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)===a},t.isSuspense=function(e){return O(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=O},38163:(e,t,r)=>{"use strict";e.exports=r(66526)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[587],{12587:(e,t,n)=>{n.r(t),n.d(t,{app:()=>cr,chooseDocument:()=>vt.Z,default:()=>ar});var r=n(59713),o=n.n(r),a=n(319),c=n.n(a),i=n(52540),s=n(41609),u=n.n(s),l=n(18446),d=n.n(l),p=n(35937),f=n.n(p),h=n(45697),m=n.n(h),y=n(50600),v=n(34871),g=n(60598),b=n(22731),w=n(19743),O=n(45430),x=n(47490),P=n(81749),j=n(13025),S=n(36498),E=n(65378),C=n(35997),A=n(23369),Z=n(1024),k=n.n(Z),D=n(79311),F=n(1317),N=n(74806),L=n(50558),R="docs/create/OPEN_DIALOG",T="docs/create/FILES_SELECTED",_="docs/path/LOAD_BREADCRUMBS",M="docs/path/SET_BREADCRUMBS",I="docs/path/SET_SEARCH_MODE",B=function(e){return{type:M,payload:{breadcrumbs:e}}},U=n(20247),z=n(63038),H=n.n(z),W=n(29441),$=/^\/docs\/?$/;const V=function(e){return $.test(e)};var q=n(58804),Y=n(2977),G=n(88601),K=n(85893);function X(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 J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const Q=(0,q.Zz)((function(e){var t=e.embedded,n=e.resetSearchMode,r=e.theme,o=e.pathPrefix,a=e.breadcrumbsInfo;return(0,K.jsx)(Y.Z,J(J({},t?{backgroundColor:G.Z.color("paper")({theme:r})}:{}),{},{onClick:function(e){""===e.path&&n()},pathPrefix:o,breadcrumbsInfo:a}))}));function ee(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 te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ne=function(e){return(0,K.jsx)("span",te({},e))};const re=(0,q.Zz)((function(e){var t=e.embedded,n=e.navigate,r=e.resetSearchMode,o=e.theme,a=e.pathPrefix,c=e.breadcrumbsInfo;return(0,K.jsx)(Y.Z,te(te({},t?{backgroundColor:G.Z.color("paper")({theme:o})}:{}),{},{onClick:function(e){""===e.path&&r(),n("/docs/".concat(e.path))},linkComp:ne,pathPrefix:a,breadcrumbsInfo:c}))}));var oe={},ae=function(e){return{pathPrefix:"/docs",breadcrumbsInfo:e.docs.path.breadcrumbs,embedded:e.input.embedded}},ce=(0,L.connect)(ae,oe)((0,N.ZP)(Q)),ie=(0,L.connect)(ae,oe)((0,N.ZP)(re));const se=(0,U.U)({routerless:ie,router:ce});var ue="docs/list/CHANGE_LIST_PARENT",le="docs/list/CHANGE_SELECTION",de="docs/list/CHANGE_SEARCH_FORM_COLLAPSED",pe="docs/list/SET_SEARCH_FORM_COLLAPSED",fe="docs/list/SET_SCROLL_BEHAVIOUR",he=n(50258),me=n(88162),ye={"dms-create-folder":(0,Z.lazy)((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,36340))})),"dms-create-domain":(0,Z.lazy)((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,67210))})),"dms-edit":(0,Z.lazy)((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,90100))})),"dms-move":(0,Z.lazy)((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,4505))})),delete:(0,Z.lazy)((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,96954))}))};const ve=g.Z.actionFactory(ye);function ge(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}const be=function(e){var t=e.instanceCount,n=e.directory,r=e.onChange,a=e.path,c=(0,Z.useRef)(),i=C.Z.usePrevious(t);(0,Z.useEffect)((function(){c.current&&t>i&&c.current.click()}));return(0,K.jsx)("input",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"file",ref:c,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 we={onChange:function(e,t,n){return{type:T,payload:{location:e,files:t,isDirectory:n}}}};const Oe=(0,U.U)((0,L.connect)((function(e){return{instanceCount:e.docs.create.dialog.instanceCount,directory:e.docs.create.dialog.directory}}),we)(be));var xe,Pe,je,Se,Ee=n(28655),Ce=n.n(Ee),Ae=n(7281),Ze=q.ZP.div.withConfig({displayName:"StyledContentWrapper"})(xe||(xe=Ce()(["\n display: flex;\n align-items: center;\n"]))),ke=q.ZP.span.withConfig({displayName:"StyledIconWrapper"})(Pe||(Pe=Ce()(["\n font-size: ",";\n display: inline-block;\n margin-right: ",";\n"])),Ae.Z.font(1),Ae.Z.space(-2)),De=k().lazy((function(){return Promise.all([n.e(698),n.e(614),n.e(85)]).then(n.bind(n,77840))}));const Fe=function(e){var t=e.domainTypes,n=e.rootNodes,r=e.navigationStrategy,o=e.changeListParent,a=e.onSearchChange,c=e.emitAction,i=e.openFileDialog,s=e.limit,u=e.searchFormType,l=e.selectionStyle,d=e.getCustomLocation,p=e.disableViewPersistor,f=e.getListFormName,h=e.domainDetailFormName,m=e.folderDetailFormName,y=e.showActions,v=e.scrollBehaviour,g=e.sortable,b=e.searchMode,w=e.openResource,O=e.searchFormCollapsed,x=e.locale,P=e.changeSelection,j=e.changeSearchFormCollapsed,S=e.params,E=e.navigate,C=e.path,A=(0,Z.useReducer)((function(e){return e+1}),0),k=H()(A,2),D=k[0],F=k[1],N="entity-list-".concat(D),L=(0,Z.useState)([]),R=H()(L,2),T=R[0],_=R[1],M=(0,Z.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}(S)}),[S]),I=!M&&n?n.map((function(e){return"".concat(e.entityName,"/").concat(e.key)})):null,B=(0,Z.useMemo)((function(){return f?f(M,I):function(e,t){return e?"Docs_list_item":t?"Root_docs_list_item_specific":"Root_docs_list_item"}(M,I)}),[M,I,f]),U=(0,Z.useRef)(!1),z=(0,Z.useRef)(b),$=(0,Z.useRef)(C);z.current=b,$.current=C,(0,Z.useEffect)((function(){return U.current=!0,function(){return U.current=!1}})),(0,Z.useEffect)((function(){o(M),_([])}),[M,o]);var q=function(e){_(e),P(e)},Y=M||I?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),G=function(){if(!p)return V(C)?W.Z.viewInfoSelector("search").store:null}();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Z.Suspense,{fallback:je||(je=(0,K.jsx)(he.Z,{})),children:(0,K.jsx)(De,{id:"documents",entityName:"Docs_list_item",formName:B,searchListFormName:"Search_docs_list_item",limit:s||25,onRowClick:function(e){var t=e.id;if(q([t]),z.current&&V($.current)){if(!W.Z.viewInfoSelector("search").store){var n=W.Z.viewInfoSelector(N).store;W.Z.persistViewInfo("search",{store:n})}F()}var r=t.split("/"),o=H()(r,2),a=o[0],c=o[1],i=d?d(a,c):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))}}(a,c);i&&(w&&"Resource"===a?w(i):E(i))},searchFormPosition:"left",searchFormType:u||"admin",parent:M,onSearchChange:function(e){U.current&&a(e)},store:G,onStoreCreate:function(e){p||W.Z.persistViewInfo(N,{store:e})},cellRenderers:{"dms-label-with-icon":function(e,t,n){return(0,K.jsxs)(Ze,{children:[(0,K.jsx)(ke,{children:(0,K.jsx)(me.Z,{icon:e.icon})}),(0,K.jsx)("span",{children:n(t.children[0])})]})},"dms-actions":function(e,t,n){return(0,K.jsx)(Ze,{children:t.children.filter((function(t){return!t.dmsEntityModel||t.dmsEntityModel===e.type})).map((function(e){return n(e)}))})}},emitAction:c,actionAppComponent:ve,contextParams:{detailFormNames:{Domain:h,Folder:m}},customActions:{"upload-document":function(e,t,n,r,o,a,c){i(!1,a,c)},"upload-directory":function(e,t,n,r,o,a,c){i(!0,a,c)}},navigationStrategy:r,tql:Y,keys:I,selectionStyle:l||"multi_explicit",onSelectChange:q,selection:T,showActions:y,sortable:g,searchFormCollapsed:O,scrollBehaviour:v,onSearchFormCollapsedChange:j,locale:x},N)}),Se||(Se=(0,K.jsx)(Oe,{}))]})};var Ne={changeListParent:function(e){return{type:ue,payload:{parent:e}}},changeSelection:function(e){return{type:le,payload:{selection:e}}},changeSearchFormCollapsed:function(e){return{type:de,payload:{collapsed:e}}}};const Le=(0,U.U)((0,L.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}}),Ne)((0,N.ZP)(Fe)));var Re,Te,_e=q.ZP.div.withConfig({displayName:"StyledDocumentViewWrapper"})(Re||(Re=Ce()(["\n height: 100%;\n background-color: ",";\n padding-left: ",";\n overflow-y: hidden;\n"])),G.Z.color("paper"),Ae.Z.space(.5)),Me=k().lazy((function(){return Promise.all([n.e(698),n.e(614),n.e(847),n.e(85)]).then(n.bind(n,82445))}));const Ie=function(e){var t=e.breadcrumbs,n=e.formName,r=e.navigationStrategy,o=e.locale,a=e.emitAction,c=e.navigate,i=e.params;return(0,K.jsx)(_e,{children:(0,K.jsx)(Z.Suspense,{fallback:Te||(Te=(0,K.jsx)(he.Z,{})),children:(0,K.jsx)(Me,{entityName:"Resource",entityId:i.key,formName:n||"DmsResource",mode:"update",actionAppComponent:ve,navigationStrategy:r,emitAction:a,onEntityDeleted:function(){var e=t.slice().reverse().find((function(e){return"list"===e.type})),n="/docs/".concat(e.path);c(n)},locale:o})})})};var Be={emitAction:function(e){return y.Z.dispatchEmittedAction(e)}};const Ue=(0,U.U)((0,L.connect)((function(e){return{breadcrumbs:e.docs.path.breadcrumbs,formName:e.input.documentDetailFormName,locale:e.intl.locale}}),Be)((0,N.ZP)(Ie)));const ze=function(e){var t=e.params,n=e.navigationStrategy,r=e.handleSearchChange,o=e.emitAction,a=e.openFileDialog,c=e.searchMode,i=e.docsKey,s=t.model,u=t.view;return"doc"===s&&"detail"===u?(0,K.jsx)(Ue,{navigationStrategy:n}):(0,K.jsx)(Le,{navigationStrategy:n,onSearchChange:r,emitAction:o,openFileDialog:a,searchMode:c},i)};var He=n(80467);const We=function(e){var t,n,r=e.navigationStrategy,o=e.handleSearchChange,a=e.emitAction,c=e.openFileDialog,i=e.searchMode,s=e.docsKey;return(0,K.jsxs)(He.rs,{children:[(0,K.jsx)(He.AW,{exact:!0,path:"/docs/doc/:key/detail",render:function(){return t||(t=(0,K.jsx)(Ue,{navigationStrategy:r}))}}),(0,K.jsx)(He.AW,{exact:!0,path:["/docs/:model/:key/list","/docs"],render:function(){return n||(n=(0,K.jsx)(Le,{navigationStrategy:r,onSearchChange:o,emitAction:a,openFileDialog:c,searchMode:i},s))}})]})},$e=(0,U.U)({routerless:ze,router:We});var Ve,qe,Ye,Ge=n(11347),Ke=q.ZP.div.withConfig({displayName:"StyledWrapper"})(Ve||(Ve=Ce()(["\n display: grid;\n grid-template-rows: auto 1fr;\n grid-template-areas:\n 'breadcrumbs'\n 'content';\n ","\n width: 100%;\n"])),(function(e){return"inline"===e.scrollBehaviour&&"height: 100%;"})),Xe=q.ZP.div.withConfig({displayName:"StyledContent"})(qe||(qe=Ce()(["\n grid-area: content;\n ","\n ","\n"])),(function(e){return"inline"===e.scrollBehaviour&&"overflow-x: hidden;"}),Ge.C),Je=q.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(Ye||(Ye=Ce()(["\n grid-area: breadcrumbs;\n ","\n"])),(function(e){return e.noLeftPadding&&"\n > div {\n padding-left: 0;\n }\n "}));const Qe=function(e){var t=e.navigate,n=e.path,r=e.searchMode,o=e.navigationStrategy,a=e.setSearchMode,c=e.loadBreadcrumbs,i=e.emitAction,s=e.openFileDialog,u=e.noLeftPadding,l=e.scrollBehaviour,d=(0,Z.useReducer)((function(e){return e+1}),0),p=H()(d,2),f=p[0],h=p[1],m=(0,Z.useRef)(r);m.current=r,(0,Z.useEffect)((function(){c(n)}));var y=function(){m.current&&(W.Z.clearPersistedViews(),a(!1),c(n),h())},v="docs-view-".concat(f);return(0,K.jsxs)(Ke,{scrollBehaviour:l,children:[(0,K.jsx)(w.Z.ErrorBoundary,{children:(0,K.jsx)(Je,{noLeftPadding:u,children:(0,K.jsx)(se,{resetSearchMode:y})})}),(0,K.jsx)(Xe,{scrollBehaviour:l,children:(0,K.jsx)($e,{navigationStrategy:o,handleSearchChange:function(e){e.query&&e.query.hasUserChanges?(a(!0),t("/docs/"),c(n)):V(n)&&y()},emitAction:i,openFileDialog:s,searchMode:r,docsKey:v})})]})};var et={loadBreadcrumbs:function(e){return{type:_,payload:{location:e}}},setSearchMode:function(e){return{type:I,payload:{searchMode:e}}},emitAction:function(e){return y.Z.dispatchEmittedAction(e)},openFileDialog:function(e,t,n){return{type:R,payload:{directory:e,onSuccess:t,onError:n}}}};const tt=(0,U.U)((0,L.connect)((function(e){return{searchMode:e.docs.path.searchMode,navigationStrategy:e.input.navigationStrategy,noLeftPadding:e.input.noLeftPadding,scrollBehaviour:e.docs.list.scrollBehaviour}}),et)((0,N.ZP)(Qe)));var nt,rt,ot;const at=(0,F.w)((function(e){var t=e.handleNotifications,n=e.rootPath,r=e.navigate,o=e.path;return(0,Z.useEffect)((function(){(!o||"/"===o||"/docs"===o)&&n!==o&&r(n)}),[n,o,r]),(0,K.jsxs)(K.Fragment,{children:[t&&(nt||(nt=(0,K.jsx)(x.Z.Notifications,{}))),rt||(rt=(0,K.jsx)(D.Z,{})),ot||(ot=(0,K.jsx)(tt,{}))]})}));var ct,it,st;const ut=function(e){var t=e.rootPath,n=e.handleNotifications;return(0,K.jsxs)(K.Fragment,{children:[n&&(ct||(ct=(0,K.jsx)(x.Z.Notifications,{}))),it||(it=(0,K.jsx)(D.Z,{})),st||(st=(0,K.jsx)(tt,{})),(0,K.jsx)(He.AW,{exact:!0,path:"/",children:(0,K.jsx)(He.l_,{to:t})}),"/docs"!==t&&(0,K.jsx)(He.AW,{exact:!0,path:"/docs",children:(0,K.jsx)(He.l_,{to:t})})]})};var lt,dt,pt;const ft=function(e){var t=e.rootPath,n=e.handleNotifications,r=e.history;return(0,K.jsxs)(He.F0,{history:r,children:[n&&(lt||(lt=(0,K.jsx)(x.Z.Notifications,{}))),dt||(dt=(0,K.jsx)(D.Z,{})),pt||(pt=(0,K.jsx)(tt,{})),(0,K.jsx)(He.AW,{exact:!0,path:"/",children:(0,K.jsx)(He.l_,{to:t})}),"/docs"!==t&&(0,K.jsx)(He.AW,{exact:!0,path:"/docs",children:(0,K.jsx)(He.l_,{to:t})})]})};var ht=n(41654),mt=function(e){return ht.Z.getDispatchActions(e,yt)},yt=[{name:"searchFormCollapsed",action:function(e){return{type:pe,payload:{searchFormCollapsed:e}}},argsFactory:function(e){return[e.searchFormCollapsed]}},{name:"scrollBehaviour",action:function(e){return{type:fe,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}}],vt=n(91073),gt=n(15857),bt=n(87757),wt=n.n(bt),Ot=n(34857);function xt(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 Pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jt=o()({},R,(function(e,t){var n=t.payload,r=n.directory,o=n.onSuccess,a=n.onError;return Pt(Pt({},e),{},{dialog:{instanceCount:e.dialog.instanceCount+1,directory:r,onSuccess:o,onError:a}})})),St={dialog:{instanceCount:0,directory:!1,onSuccess:null,onError:null}};var Et=n(63094),Ct=n(44759),At=n(44586),Zt=n(80722);function kt(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Dt(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 Dt(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 a,c=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){i=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(i)throw a}}}}function Dt(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 Ft=wt().mark(_t),Nt=wt().mark(Mt),Lt=wt().mark(It),Rt=function(e){return e.docs.create.dialog},Tt=function(e,t){return e.intl.messages[t]};function _t(e){var t,n,r,o,a,c,i,s,u,l,d,p;return wt().wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return t=e.payload,n=t.location,r=t.files,o=t.isDirectory,f.next=3,(0,Ot.RE)(At.Z);case 3:return a=f.sent,c="client.docs-browser.uploadInProgress",o?c="client.docs-browser.uploadInProgressDirectory":r.length>1&&(c="client.docs-browser.uploadInProgressMultiple"),f.next=8,(0,Ot.gz)(x.Z.blockingInfo(a,c,null));case 8:return f.next=10,(0,Ot.Ys)(Rt);case 10:return i=f.sent,s=i.onSuccess,u=i.onError,f.prev=13,f.next=16,(0,Ot.RE)(Mt,n,r);case 16:if(403!==(l=f.sent).status){f.next=31;break}return f.next=20,(0,Ot.gz)(x.Z.removeBlockingInfo(a));case 20:return f.t0=u,f.next=23,(0,Ot.Ys)(Tt,"client.entity-detail.saveAbortedTitle");case 23:return f.t1=f.sent,f.next=26,(0,Ot.Ys)(Tt,"client.docs-browser.failedNoPermission");case 26:f.t2=f.sent,f.t3={title:f.t1,message:f.t2},(0,f.t0)(f.t3),f.next=42;break;case 31:return d=[{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}}))}}],f.next=34,(0,Ot.gz)(x.Z.removeBlockingInfo(a));case 34:return p=o?"client.docs-browser.uploadSuccessfulDirectory":"client.docs-browser.uploadSuccessful",f.t4=s,f.next=38,(0,Ot.Ys)(Tt,p);case 38:f.t5=f.sent,f.t6=d,f.t7={title:f.t5,remoteEvents:f.t6},(0,f.t4)(f.t7);case 42:f.next=55;break;case 44:return f.prev=44,f.t8=f.catch(13),Ct.Z.logError("Failed to upload files",f.t8),f.next=49,(0,Ot.gz)(x.Z.removeBlockingInfo(a));case 49:return f.t9=u,f.next=52,(0,Ot.Ys)(Tt,"client.docs-browser.uploadFailed");case 52:f.t10=f.sent,f.t11={title:f.t10},(0,f.t9)(f.t11);case 55:case"end":return f.stop()}}),Ft,null,[[13,44]])}function Mt(e,t){var n,r,o,a,c,i,s;return wt().wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(n=(0,Zt.Z)(e)){u.next=3;break}return u.abrupt("return");case 3:r=new FormData,o=kt(t);try{for(o.s();!(a=o.n()).done;)c=a.value,r.append("files[]",c)}catch(e){o.e(e)}finally{o.f()}return i="documents/".concat(n.model,"/").concat(n.key),s={method:"POST",body:r,acceptedStatusCodes:[403]},u.next=10,(0,Ot.RE)(Et.Z.requestSaga,i,s);case 10:return u.abrupt("return",u.sent);case 11:case"end":return u.stop()}}),Nt)}function It(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.ib)(T,_t)]);case 2:case"end":return e.stop()}}),Lt)}var Bt=wt().mark(Ut);function Ut(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.rM)(It)]);case 2:case"end":return e.stop()}}),Bt)}const zt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:St,t=arguments.length>1?arguments[1]:void 0,n=jt[t.type];return n?n(e,t):e};var Ht,Wt=n(81770),$t=(Ht={},o()(Ht,pe,Wt.Z.singleTransferReducer("searchFormCollapsed")),o()(Ht,fe,Wt.Z.singleTransferReducer("scrollBehaviour")),Ht),Vt={searchFormCollapsed:null,scrollBehaviour:"inline"};const qt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vt,t=arguments.length>1?arguments[1]:void 0,n=$t[t.type];return n?n(e,t):e};var Yt=wt().mark(Jt),Gt=wt().mark(Qt),Kt=wt().mark(en),Xt=wt().mark(tn);function Jt(e){var t;return wt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,Ot.gz)(O.Z.fireExternalEvent("onListParentChange",t.parent));case 3:case"end":return n.stop()}}),Yt)}function Qt(e){var t;return wt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,Ot.gz)(O.Z.fireExternalEvent("onSelectChange",t.selection));case 3:case"end":return n.stop()}}),Gt)}function en(e){var t;return wt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.payload,n.next=3,(0,Ot.gz)(O.Z.fireExternalEvent("onSearchFormCollapsedChange",t.collapsed));case 3:case"end":return n.stop()}}),Kt)}function tn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.Fm)(ue,Jt),(0,Ot.Fm)(le,Qt),(0,Ot.Fm)(de,en)]);case 2:case"end":return e.stop()}}),Xt)}var nn,rn=n(30081);function on(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 an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cn=(nn={},o()(nn,rn.qh,(function(e,t){var n=t.payload,r=n.selection,o=n.onSuccess,a=n.onError;return an(an({},e),{},{input:{selection:r,onSuccess:o,onError:a}})})),o()(nn,rn.FV,Wt.Z.singleTransferReducer("isWaiting")),o()(nn,rn.F$,(function(){return an({},sn)})),nn),sn={isWaiting:!1,input:{selection:null,onSuccess:null,onError:null}};var un=n(6756),ln=wt().mark(mn),dn=wt().mark(yn),pn=wt().mark(vn),fn=function(e){return e.docs.move.input},hn=function(e,t){return e.intl.messages[t]};function mn(e){var t,n,r,o,a,c;return wt().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload,n="documents/move",r={method:"POST",acceptedStatusCodes:[400,403],body:{targetEntityKey:t.target,selectedEntityKeys:t.selected}},i.next=5,(0,Ot.gz)(rn.p0(!0));case 5:return i.next=7,(0,Ot.RE)(Et.Z.requestSaga,n,r);case 7:if(204!==(o=i.sent).status){i.next=13;break}return i.next=11,(0,Ot.RE)(yn);case 11:i.next=20;break;case 13:return i.next=15,(0,Ot.gz)(rn.p0(!1));case 15:return c="client.actions.dms-move.failed.message","VALIDATION_FAILED"===(null===(a=o.body)||void 0===a?void 0:a.errorCode)&&(c=un.Z.getErrorCompact(o.body.errors)),403===o.status&&(c="client.docs-browser.failedNoPermission"),i.next=20,(0,Ot.gz)(x.Z.toaster({type:"error",title:"client.actions.dms-move.failed.title",body:c}));case 20:case"end":return i.stop()}}),ln)}function yn(){var e,t,n,r;return wt().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,Ot.Ys)(fn);case 2:return e=o.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}}))}}],o.t0=n,o.next=9,(0,Ot.Ys)(hn,"client.docs-browser.moveSuccessful");case 9:return o.t1=o.sent,o.t2=r,o.t3={title:o.t1,remoteEvents:o.t2},(0,o.t0)(o.t3),o.next=15,(0,Ot.gz)(rn.xv());case 15:case"end":return o.stop()}}),dn)}function vn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.Fm)(rn.uI,mn)]);case 2:case"end":return e.stop()}}),pn)}var gn=wt().mark(bn);function bn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.rM)(vn)]);case 2:case"end":return e.stop()}}),gn)}const wn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sn,t=arguments.length>1?arguments[1]:void 0,n=cn[t.type];return n?n(e,t):e};var On,xn=(On={},o()(On,M,Wt.Z.singleTransferReducer("breadcrumbs")),o()(On,I,Wt.Z.singleTransferReducer("searchMode")),On),Pn={breadcrumbs:[],searchMode:!1};var jn=wt().mark(Dn),Sn=wt().mark(Fn),En=wt().mark(Nn),Cn=wt().mark(Ln),An=function(e,t){return e.intl.messages[t]||t},Zn=function(e){return e.docs.path},kn=function(e){return e.input.rootNodes};function Dn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.Ys)(An,"client.docs-browser.breadcrumbs.start");case 2:return e.t0=e.sent,e.t1={display:e.t0,path:"",type:"list"},e.next=6,(0,Ot.Ys)(An,"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()}}),jn)}function Fn(e){var t,n,r,o,a,c;return wt().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=e.payload.location,n=(0,Zt.Z)(t),i.next=4,(0,Ot.Ys)(Zn);case 4:if(!i.sent.searchMode||n){i.next=11;break}return i.next=8,(0,Ot.RE)(Dn);case 8:r=i.sent,i.next=21;break;case 11:return o=n?"documents/".concat(n.model,"/").concat(n.key,"/breadcrumbs"):"documents/breadcrumbs",i.next=14,(0,Ot.RE)(Nn);case 14:return i.t0=i.sent,i.t1={rootnodes:i.t0},a={queryParams:i.t1},i.next=19,(0,Ot.RE)(Et.Z.requestSaga,o,a);case 19:c=i.sent,r=c.body.breadcrumbs;case 21:return i.next=23,(0,Ot.gz)(B(r));case 23:case"end":return i.stop()}}),Sn)}function Nn(){var e;return wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,Ot.Ys)(kn);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()}}),En)}function Ln(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.Fm)(_,Fn)]);case 2:case"end":return e.stop()}}),Cn)}var Rn=wt().mark(Tn);function Tn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.rM)(Ln)]);case 2:case"end":return e.stop()}}),Rn)}const _n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pn,t=arguments.length>1?arguments[1]:void 0,n=xn[t.type];return n?n(e,t):e};var Mn,In=n(40602),Bn=(Mn={},o()(Mn,In.RK,Wt.Z.singleTransferReducer("path")),o()(Mn,In.Sb,Wt.Z.singleTransferReducer("params")),Mn),Un={path:"",params:{}};var zn=n(96801),Hn=wt().mark($n),Wn=wt().mark(Vn);function $n(e){var t,n;return wt().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.payload.path,n=zn.Z.extractParamsFromPath("/docs/:model/:key/:view(list|detail)",t)||{},r.next=4,(0,Ot.gz)(In.PX(n));case 4:case"end":return r.stop()}}),Hn)}function Vn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.Fm)(In.RK,$n)]);case 2:case"end":return e.stop()}}),Wn)}var qn=wt().mark(Yn);function Yn(){return wt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ot.$6)([(0,Ot.rM)(Vn)]);case 2:case"end":return e.stop()}}),qn)}const Gn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Un,t=arguments.length>1?arguments[1]:void 0,n=Bn[t.type];return n?n(e,t):e},Kn={docs:(0,gt.UY)({path:_n,create:zt,list:qt,move:wn,routing:Gn})};var Xn=[Tn,Ut,tn,bn,Yn];function Jn(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 Qn="docs-browser",er=["onListParentChange","openResource","onSelectChange","onSearchFormCollapsedChange"],tr=function(e,t){return e.intl.messages[t]||t},nr=function(e){var t=e.routerType,n=e.store,r=e.rootPath,o=e.handleNotifications;if("routerless"===t)return(0,K.jsx)(at,{rootPath:r,handleNotifications:o});if("inherit"===t)return(0,K.jsx)(ut,{rootPath:r,handleNotifications:o});var a=function(e){return(0,i.Z)({getUserConfirmation:function(t,n){var r=e.getState(),o=tr(r,"client.common.ok"),a=tr(r,"client.common.cancel"),c=x.Z.confirm("",t,o,a,(function(){return n(!0)}),(function(){return n(!1)}));e.dispatch(c)}})}(n);return(0,K.jsx)(ft,{history:a,rootPath:r,handleNotifications:o})},rr=function(e,t,n,r){var o=v.Z.createStore(Kn,Xn,t,Qn);A.Z.setInputEnvs(t),O.Z.addToStore(o,n),y.Z.addToStore(o),g.Z.dynamicActionsAddToStore(o),w.Z.addToStore(o,!0,["console","remote","notification"]);var a=!n.emitAction;x.Z.addToStore(o,a),b.Z.addToStore(o);var i=Array.isArray(t.rootNodes)&&1===t.rootNodes.length&&"Resource"!==t.rootNodes[0].entityName?t.rootNodes[0]:null,s=i?"/docs/".concat(i.entityName.toLowerCase(),"/").concat(i.key,"/list"):"/docs",u=nr({routerType:t.routerType,store:o,rootPath:s,handleNotifications:a});return v.Z.createApp(Qn,u,o,{input:t,events:n,actions:[].concat(c()(mt(t)),[(0,In.c4)(t.initialLocation)]),publicPath:r,textResourceModules:["component","common","actions","entity-list","entity-detail",Qn]})},or=function(e){var t=v.Z.useApp({initApp:rr,props:e,packageName:Qn,externalEvents:er}),n=t.component,r=t.store,o=C.Z.usePrevious(e);return C.Z.useDidUpdate((function(){var t=f()(e,(function(e,t){return!d()(e,o[t])}));u()(t)||mt(t).forEach((function(e){r.dispatch(e)}))}),[e]),n};or.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jn(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({routerType:m().oneOf(["standalone","inherit","routerless"]),navigationStrategy:m().object,domainTypes:m().arrayOf(m().string),rootNodes:m().arrayOf(m().shape({entityName:m().string,key:m().string})),initialLocation:m().string,listLimit:m().number,documentDetailFormName:m().string,searchFormType:P.b,selectionStyle:j.l,scrollBehaviour:S.az,getListFormName:m().func,disableViewPersistor:m().bool,getCustomLocation:m().func,businessUnit:m().string,searchFormCollapsed:m().bool,backendUrl:m().string,appContext:E.Z.propTypes},er.reduce((function(e,t){return e[t]=m().func,e}),{}));const ar=or;var cr=v.Z.createBundleableApp(Qn,rr,or)},30081:(e,t,n)=>{n.d(t,{F$:()=>c,FV:()=>a,j2:()=>i,p0:()=>u,qh:()=>r,uI:()=>o,w6:()=>s,xv:()=>l});var r="docs/move/INITIALIZE",o="docs/move/MOVE_ELEMENTS",a="docs/move/SET_WAITING",c="docs/move/CLOSE",i=function(e,t,n){return{type:r,payload:{selection:e,onSuccess:t,onError:n}}},s=function(e,t){return{type:o,payload:{target:e,selected:t}}},u=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:a,payload:{isWaiting:e}}},l=function(){return{type:c}}},40602:(e,t,n)=>{n.d(t,{PX:()=>c,RK:()=>r,Sb:()=>o,c4:()=>a});var r="docs/routing/NAVIGATE",o="docs/routing/SET_PARAMS",a=function(e){return{type:r,payload:{path:e||""}}},c=function(e){return{type:o,payload:{params:e}}}},80722:(e,t,n)=>{n.d(t,{Z:()=>a});var r=/^\/docs\/doc\/(\d+)\/detail$/,o=/^\/docs\/(domain|folder)\/(\d+)\/list$/;const a=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=o.exec(e);return t&&t.length>=3?{model:t[1].charAt(0).toUpperCase()+t[1].slice(1),key:t[2]}:null}(e)}},1317:(e,t,n)=>{n.d(t,{C:()=>f,w:()=>p});var r=n(59713),o=n.n(r),a=n(50558),c=n(80467),i=n(40602),s=n(85893);function u(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={navigate:i.c4},p=(0,a.connect)((function(e){return{path:e.docs.routing.path,params:e.docs.routing.params}}),d),f=function(e){return function(t){var n=(0,c.TH)(),r=(0,c.k6)(),o=(0,c.UO)();return(0,s.jsx)(e,l(l({},t),{},{path:n.pathname,navigate:r.push,params:o}))}}},20247:(e,t,n)=>{n.d(t,{U:()=>h});var r=n(59713),o=n.n(r),a=n(6479),c=n.n(a),i=n(50558),s=n(1317),u=n(85893),l=["compProviderRouterType"];function d(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){return{compProviderRouterType:e.input.routerType}},h=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,i.connect)(f)((function(e){var t=e.compProviderRouterType,n=c()(e,l);return"routerless"===t?(0,u.jsx)(r,p({},n)):(0,u.jsx)(o,p({},n))}))}},67092:(e,t)=>{t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(-1===e.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)},t.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},88536:(e,t,n)=>{t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=i(n(14149)),a=i(n(54545)),c=n(3074);function i(e){return e&&e.__esModule?e:{default:e}}t.createLocation=function(e,t,n,a){var i=void 0;"string"==typeof e?(i=(0,c.parsePath)(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),a?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=(0,o.default)(i.pathname,a.pathname)):i.pathname=a.pathname:i.pathname||(i.pathname="/"),i},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,a.default)(e.state,t.state)}},3074:(e,t)=>{t.__esModule=!0;t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e};var n=t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};t.stripBasename=function(e,t){return n(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},52540:(e,t,n)=>{var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=l(n(30670)),a=l(n(41143)),c=n(88536),i=n(3074),s=l(n(3405)),u=n(67092);function l(e){return e&&e.__esModule?e:{default:e}}var d="hashchange",p={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+(0,i.stripLeadingSlash)(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:i.stripLeadingSlash,decodePath:i.addLeadingSlash},slash:{encodePath:i.addLeadingSlash,decodePath:i.addLeadingSlash}},f=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},h=function(e){return window.location.hash=e},m=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)};t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,a.default)(u.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,u.supportsGoWithoutReloadUsingHash)(),l=e.getUserConfirmation,y=void 0===l?u.getConfirmation:l,v=e.hashType,g=void 0===v?"slash":v,b=e.basename?(0,i.stripTrailingSlash)((0,i.addLeadingSlash)(e.basename)):"",w=p[g],O=w.encodePath,x=w.decodePath,P=function(){var e=x(f());return(0,o.default)(!b||(0,i.hasBasename)(e,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+b+'".'),b&&(e=(0,i.stripBasename)(e,b)),(0,c.createLocation)(e)},j=(0,s.default)(),S=function(e){r(V,e),V.length=t.length,j.notifyListeners(V.location,V.action)},E=!1,C=null,A=function(){var e=f(),t=O(e);if(e!==t)m(t);else{var n=P(),r=V.location;if(!E&&(0,c.locationsAreEqual)(r,n))return;if(C===(0,i.createPath)(n))return;C=null,Z(n)}},Z=function(e){if(E)E=!1,S();else{j.confirmTransitionTo(e,"POP",y,(function(t){t?S({action:"POP",location:e}):k(e)}))}},k=function(e){var t=V.location,n=L.lastIndexOf((0,i.createPath)(t));-1===n&&(n=0);var r=L.lastIndexOf((0,i.createPath)(e));-1===r&&(r=0);var o=n-r;o&&(E=!0,M(o))},D=f(),F=O(D);D!==F&&m(F);var N=P(),L=[(0,i.createPath)(N)],R=function(e){return"#"+O(b+(0,i.createPath)(e))},T=function(e,t){(0,o.default)(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=(0,c.createLocation)(e,void 0,void 0,V.location);j.confirmTransitionTo(r,n,y,(function(e){if(e){var t=(0,i.createPath)(r),a=O(b+t);if(f()!==a){C=t,h(a);var c=L.lastIndexOf((0,i.createPath)(V.location)),s=L.slice(0,-1===c?0:c+1);s.push(t),L=s,S({action:n,location:r})}else(0,o.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),S()}}))},_=function(e,t){(0,o.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=(0,c.createLocation)(e,void 0,void 0,V.location);j.confirmTransitionTo(r,n,y,(function(e){if(e){var t=(0,i.createPath)(r),o=O(b+t);f()!==o&&(C=t,m(o));var a=L.indexOf((0,i.createPath)(V.location));-1!==a&&(L[a]=t),S({action:n,location:r})}}))},M=function(e){(0,o.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},I=function(){return M(-1)},B=function(){return M(1)},U=0,z=function(e){1===(U+=e)?(0,u.addEventListener)(window,d,A):0===U&&(0,u.removeEventListener)(window,d,A)},H=!1,W=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=j.setPrompt(e);return H||(z(1),H=!0),function(){return H&&(H=!1,z(-1)),t()}},$=function(e){var t=j.appendListener(e);return z(1),function(){z(-1),t()}},V={length:t.length,action:"POP",location:N,createHref:R,push:T,replace:_,go:M,goBack:I,goForward:B,block:W,listen:$};return V}},3405:(e,t,n)=>{t.__esModule=!0;var r,o=n(30670),a=(r=o)&&r.__esModule?r:{default:r};t.default=function(){var e=null,t=[];return{setPrompt:function(t){return(0,a.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var c="function"==typeof e?e(t,n):e;"string"==typeof c?"function"==typeof r?r(c,o):((0,a.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==c)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}}}]);