tocco-admin 1.0.4 → 1.0.8

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 (45) hide show
  1. package/changelog.md +22 -0
  2. package/dist/chunk-140.e4b48d2a60e4ffb79b25.js +7 -0
  3. package/dist/chunk-140.e4b48d2a60e4ffb79b25.js.map +1 -0
  4. package/dist/chunk-172.34f7d09fbb39a8bfaad0.js +2 -0
  5. package/dist/chunk-172.34f7d09fbb39a8bfaad0.js.map +1 -0
  6. package/dist/chunk-207.cc1646ee6c7a19f6220b.js +2 -0
  7. package/dist/chunk-207.cc1646ee6c7a19f6220b.js.map +1 -0
  8. package/dist/chunk-333.076420568f93c6cdc24b.js +2 -0
  9. package/dist/chunk-333.076420568f93c6cdc24b.js.map +1 -0
  10. package/dist/{chunk-389.5572ffcab03a0d9d2a34.js → chunk-389.6ecc00ac9d83836cb8c6.js} +2 -2
  11. package/dist/{chunk-389.5572ffcab03a0d9d2a34.js.map → chunk-389.6ecc00ac9d83836cb8c6.js.map} +1 -1
  12. package/dist/chunk-404.e573ba4c4c7cedc843f3.js +2 -0
  13. package/dist/chunk-404.e573ba4c4c7cedc843f3.js.map +1 -0
  14. package/dist/chunk-51.77155794b021526c7990.js +10 -0
  15. package/dist/chunk-51.77155794b021526c7990.js.map +1 -0
  16. package/dist/chunk-actions.c7efc5f5036d72d3b972.js +2 -0
  17. package/dist/chunk-actions.c7efc5f5036d72d3b972.js.map +1 -0
  18. package/dist/chunk-code-editor.4932fdbfef27989069a5.js +2 -0
  19. package/dist/chunk-code-editor.4932fdbfef27989069a5.js.map +1 -0
  20. package/dist/chunk-docs-actions.fe615fd8e3c8ff68c449.js +7 -0
  21. package/dist/chunk-docs-actions.fe615fd8e3c8ff68c449.js.map +1 -0
  22. package/dist/chunk-vendor-icons.aae1dc235d12dd74b38e.js +1 -0
  23. package/dist/{chunk-vendor-quill.d2c4075d7a2f3dc521b9.js → chunk-vendor-quill.4404add78e687c1422ce.js} +7 -7
  24. package/dist/index.js +10 -10
  25. package/dist/index.js.map +1 -1
  26. package/package.json +6 -5
  27. package/dist/chunk-215.e754c21a4318bf45a54e.js +0 -2
  28. package/dist/chunk-215.e754c21a4318bf45a54e.js.map +0 -1
  29. package/dist/chunk-308.2619c807dd54e06b172b.js +0 -2
  30. package/dist/chunk-308.2619c807dd54e06b172b.js.map +0 -1
  31. package/dist/chunk-404.4623b1e641adeb84a349.js +0 -2
  32. package/dist/chunk-404.4623b1e641adeb84a349.js.map +0 -1
  33. package/dist/chunk-460.b4c78fb7b40f867014a2.js +0 -20
  34. package/dist/chunk-460.b4c78fb7b40f867014a2.js.map +0 -1
  35. package/dist/chunk-617.fca2e832439c172aedad.js +0 -7
  36. package/dist/chunk-617.fca2e832439c172aedad.js.map +0 -1
  37. package/dist/chunk-817.5c2200dfd53556f2f257.js +0 -2
  38. package/dist/chunk-817.5c2200dfd53556f2f257.js.map +0 -1
  39. package/dist/chunk-actions.1f598fbe1ed8797b7703.js +0 -2
  40. package/dist/chunk-actions.1f598fbe1ed8797b7703.js.map +0 -1
  41. package/dist/chunk-code-editor.311af9f0f84338bb73c0.js +0 -7
  42. package/dist/chunk-code-editor.311af9f0f84338bb73c0.js.map +0 -1
  43. package/dist/chunk-docs-actions.c19755c23baf5cd8e09b.js +0 -2
  44. package/dist/chunk-docs-actions.c19755c23baf5cd8e09b.js.map +0 -1
  45. package/dist/chunk-vendor-icons.9ce8f3269ac4f0a81b33.js +0 -1
@@ -1,20 +0,0 @@
1
- (self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[460],{44020:e=>{"use strict";var t=new RegExp("%[a-f0-9]{2}","gi"),r=new RegExp("(%[a-f0-9]{2})+","gi");function n(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],n(r),n(o))}function o(e){try{return decodeURIComponent(e)}catch(a){for(var r=e.match(t),o=1;o<r.length;o++)r=(e=n(r,o).join("")).match(t);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":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var a=o(n[0]);a!==n[0]&&(t[n[0]]=a)}n=r.exec(e)}t["%C2"]="�";for(var i=Object.keys(t),s=0;s<i.length;s++){var u=i[s];e=e.replace(new RegExp(u,"g"),t[u])}return e}(e)}}},92806:e=>{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),a=0;a<n.length;a++){var i=n[a],s=e[i];(o?-1!==t.indexOf(i):t(i,s,e))&&(r[i]=s)}return r}},36392:(e,t,r)=>{"use strict";r.d(t,{lX:()=>A});var n=r(75597),o=r.n(n),a=r(41143),i=r.n(a),s=r(14149),u=(r(54545),function(e){return"/"===e.charAt(0)?e:"/"+e}),c=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},l=function(e,t){return c(e,t)?e.substr(t.length):e},f=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},p=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},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},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 a=t.indexOf("?");return-1!==a&&(r=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(o=d({},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,a){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,a):(o()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),a(!0)):a(!1!==i)}else a(!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))},E=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=function(){return-1===window.navigator.userAgent.indexOf("Trident")},O=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")},w="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=function(){try{return window.history.state||{}}catch(e){return{}}};const A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i()(y,"Browser history needs a DOM");var t=window.history,r=E(),n=!T(),a=e.forceRefresh,s=void 0!==a&&a,d=e.getUserConfirmation,A=void 0===d?b:d,_=e.keyLength,P=void 0===_?6:_,L=e.basename?f(u(e.basename)):"",M=function(e){var t=e||{},r=t.key,n=t.state,a=window.location,i=a.pathname+a.search+a.hash;return o()(!L||c(i,L),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+L+'".'),L&&(i=l(i,L)),h(i,n,r)},N=function(){return Math.random().toString(36).substr(2,P)},x=m(),R=function(e){C(Q,e),Q.length=t.length,x.notifyListeners(Q.location,Q.action)},I=function(e){O(e)||B(M(e.state))},k=function(){B(M(S()))},j=!1,B=function(e){if(j)j=!1,R();else{x.confirmTransitionTo(e,"POP",A,(function(t){t?R({action:"POP",location:e}):D(e)}))}},D=function(e){var t=Q.location,r=G.indexOf(t.key);-1===r&&(r=0);var n=G.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(j=!0,q(o))},H=M(S()),G=[H.key],U=function(e){return L+p(e)},F=function(e,n){o()(!("object"===(void 0===e?"undefined":w(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 a=h(e,n,N(),Q.location);x.confirmTransitionTo(a,"PUSH",A,(function(e){if(e){var n=U(a),i=a.key,u=a.state;if(r)if(t.pushState({key:i,state:u},null,n),s)window.location.href=n;else{var c=G.indexOf(Q.location.key),l=G.slice(0,-1===c?0:c+1);l.push(a.key),G=l,R({action:"PUSH",location:a})}else o()(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n}}))},$=function(e,n){o()(!("object"===(void 0===e?"undefined":w(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 a=h(e,n,N(),Q.location);x.confirmTransitionTo(a,"REPLACE",A,(function(e){if(e){var n=U(a),i=a.key,u=a.state;if(r)if(t.replaceState({key:i,state:u},null,n),s)window.location.replace(n);else{var c=G.indexOf(Q.location.key);-1!==c&&(G[c]=a.key),R({action:"REPLACE",location:a})}else o()(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)}}))},q=function(e){t.go(e)},W=function(){return q(-1)},z=function(){return q(1)},Y=0,K=function(e){1===(Y+=e)?(g(window,"popstate",I),n&&g(window,"hashchange",k)):0===Y&&(v(window,"popstate",I),n&&v(window,"hashchange",k))},X=!1,V=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=x.setPrompt(e);return X||(K(1),X=!0),function(){return X&&(X=!1,K(-1)),t()}},J=function(e){var t=x.appendListener(e);return K(1),function(){K(-1),t()}},Q={length:t.length,action:"POP",location:H,createHref:U,push:F,replace:$,go:q,goBack:W,goForward:z,block:V,listen:J};return Q};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 a=-1,i=e.length,s=n.length,u=-1,c=r.length,l=t(i-s,0),f=Array(c+l),p=!o;++u<c;)f[u]=r[u];for(;++a<s;)(p||a<i)&&(f[n[a]]=e[a]);for(;l--;)f[u++]=e[a++];return f}},14054:e=>{var t=Math.max;e.exports=function(e,r,n,o){for(var a=-1,i=e.length,s=-1,u=n.length,c=-1,l=r.length,f=t(i-u,0),p=Array(f+l),d=!o;++a<f;)p[a]=e[a];for(var h=a;++c<l;)p[h+c]=r[c];for(;++s<u;)(d||a<i)&&(p[h+n[s]]=e[a++]);return p}},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 a=1&t,i=n(e);return function t(){var n=this&&this!==o&&this instanceof t?i:e;return n.apply(a?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),a=e.apply(r,t);return o(a)?a:r}}},46347:(e,t,r)=>{var n=r(96874),o=r(71774),a=r(86935),i=r(94487),s=r(20893),u=r(46460),c=r(55639);e.exports=function(e,t,r){var l=o(e);return function o(){for(var f=arguments.length,p=Array(f),d=f,h=s(o);d--;)p[d]=arguments[d];var m=f<3&&p[0]!==h&&p[f-1]!==h?[]:u(p,h);if((f-=m.length)<r)return i(e,t,a,o.placeholder,void 0,p,m,void 0,void 0,r-f);var y=this&&this!==c&&this instanceof o?l:e;return n(y,this,p)}}},23468:(e,t,r)=>{var n=r(7548),o=r(99021),a=r(66833),i=r(97658),s=r(1469),u=r(86528);e.exports=function(e){return o((function(t){var r=t.length,o=r,c=n.prototype.thru;for(e&&t.reverse();o--;){var l=t[o];if("function"!=typeof l)throw new TypeError("Expected a function");if(c&&!f&&"wrapper"==i(l))var f=new n([],!0)}for(o=f?o:r;++o<r;){l=t[o];var p=i(l),d="wrapper"==p?a(l):void 0;f=d&&u(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?f[i(d[0])].apply(f,d[3]):1==l.length&&u(l)?f[p]():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,a=r?t[o].apply(this,e):n;++o<r;)a=t[o].call(this,a);return a}}))}},86935:(e,t,r)=>{var n=r(52157),o=r(14054),a=r(97991),i=r(71774),s=r(94487),u=r(20893),c=r(90451),l=r(46460),f=r(55639);e.exports=function e(t,r,p,d,h,m,y,g,v,b){var E=128&r,T=1&r,O=2&r,w=24&r,C=512&r,S=O?void 0:i(t);return function A(){for(var _=arguments.length,P=Array(_),L=_;L--;)P[L]=arguments[L];if(w)var M=u(A),N=a(P,M);if(d&&(P=n(P,d,h,w)),m&&(P=o(P,m,y,w)),_-=N,w&&_<b){var x=l(P,M);return s(t,r,e,A.placeholder,p,P,x,g,v,b-_)}var R=T?p:this,I=O?R[t]:t;return _=P.length,g?P=c(P,g):C&&_>1&&P.reverse(),E&&v<_&&(P.length=v),this&&this!==f&&this instanceof A&&(I=S||i(I)),I.apply(R,P)}}},84375:(e,t,r)=>{var n=r(96874),o=r(71774),a=r(55639);e.exports=function(e,t,r,i){var s=1&t,u=o(e);return function t(){for(var o=-1,c=arguments.length,l=-1,f=i.length,p=Array(f+c),d=this&&this!==a&&this instanceof t?u:e;++l<f;)p[l]=i[l];for(;c--;)p[l++]=arguments[++o];return n(d,s?r:this,p)}}},94487:(e,t,r)=>{var n=r(86528),o=r(258),a=r(69255);e.exports=function(e,t,r,i,s,u,c,l,f,p){var d=8&t;t|=d?32:64,4&(t&=~(d?64:32))||(t&=-4);var h=[e,t,s,d?u:void 0,d?c:void 0,d?void 0:u,d?void 0:c,l,f,p],m=r.apply(void 0,h);return n(e)&&o(m,h),m.placeholder=i,a(m,e,t)}},97727:(e,t,r)=>{var n=r(28045),o=r(22402),a=r(46347),i=r(86935),s=r(84375),u=r(66833),c=r(63833),l=r(258),f=r(69255),p=r(40554),d=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 E=h?h.length:0;if(E||(t&=-97,h=m=void 0),g=void 0===g?g:d(p(g),0),v=void 0===v?v:p(v),E-=m?m.length:0,64&t){var T=h,O=m;h=m=void 0}var w=b?void 0:u(e),C=[e,t,r,h,m,T,O,y,g,v];if(w&&c(C,w),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:d(C[9]-E,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||16==t?a(e,t,v):32!=t&&33!=t||m.length?i.apply(void 0,C):s(e,t,r,h);else var S=o(e,t,r);return f((w?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),a=Math.min;e.exports=function(e,t){for(var r=e.length,i=a(t.length,r),s=n(e);i--;){var u=t[i];e[i]=o(u,r)?s[u]: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 a=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t);return a.placeholder=o.placeholder,a}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),a=r(35937);e.exports=function(e,t){return a(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),a=r(80500),i=r(92806),s=Symbol("encodeFragmentIdentifier");function u(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(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){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function d(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 h(e,t){u((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"comma":case"separator":return(t,r,n)=>{const o="string"==typeof r&&r.includes(e.arrayFormatSeparator),a="string"==typeof r&&!o&&l(r,e).includes(e.arrayFormatSeparator);r=a?l(r,e):r;const i=o||a?r.split(e.arrayFormatSeparator).map(t=>l(t,e)):null===r?r:l(r,e);n[t]=i};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 a=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>l(t,e));void 0!==n[t]?n[t]=[].concat(n[t],a):n[t]=a};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,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:l(i,t),r(l(e,t),i,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]=d(r[e],t);else n[e]=d(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]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=p,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";u((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,[c(t,e),"[",o,"]"].join("")]:[...r,[c(t,e),"[",c(o,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(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?[[c(r,e),t,c(o,e)].join("")]:[[n,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),o={};for(const t of Object.keys(e))r(t)||(o[t]=e[t]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map(r=>{const o=e[r];return void 0===o?"":null===o?c(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":o.reduce(n(r),[]).join("&"):c(r,t)+"="+c(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=a(e,"#");return Object.assign({url:r.split("?")[0]||"",query:h(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=f(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let u=t.stringify(i,r);u&&(u="?"+u);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]?c(e.fragmentIdentifier,r):e.fragmentIdentifier)),`${n}${u}${l}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:a,fragmentIdentifier:u}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:i(a,r),fragmentIdentifier:u},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)}},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())},99123:(e,t,r)=>{var n;
2
- /*!
3
- Copyright (c) 2015 Jed Watson.
4
- Based on code that is Copyright 2013-2015, Facebook, Inc.
5
- All rights reserved.
6
- */!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},45226:e=>{"use strict";
7
- /*
8
- object-assign
9
- (c) Sindre Sorhus
10
- @license MIT
11
- */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,a){for(var i,s,u=o(e),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))r.call(i,l)&&(u[l]=i[l]);if(t){s=t(i);for(var f=0;f<s.length;f++)n.call(i,s[f])&&(u[s[f]]=i[s[f]])}}return u}},7135:(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 a(e){return e&&e.__esModule?e:{default:e}}var i=r(1024),s=a(i),u=a(r(22982)),c=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,a=t,i=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,r=i,n=!0,s=c=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)},t,s.default.createElement("button",{onClick:this.props.onClick,onMouseOver:function(){return e.setState({hover:!0})},onMouseOut:function(){return e.setState({hover:!1})},style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"}},"Open Menu"))}}]),t}(i.Component);t.default=c,c.propTypes={barClassName:u.default.string,customIcon:u.default.element,styles:u.default.object},c.defaultProps={barClassName:"",className:"",styles:{}},e.exports=t.default},97039:(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}}(),a=function(e,t,r){for(var n=!0;n;){var o=e,a=t,i=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,r=i,n=!0,s=c=void 0}};function i(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 u=r(1024),c=i(u),l=i(r(22982)),f=function(e){function t(){s(this,t),a(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=c.default.cloneElement(this.props.customIcon,r)}else e=c.default.createElement("span",{style:{position:"absolute",top:"6px",right:"14px"}},["before","after"].map((function(e,r){return c.default.createElement("span",{key:r,className:("bm-cross "+t.props.crossClassName).trim(),style:n({},t.getCrossStyle(e),t.props.styles.bmCross)})})));return c.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)},e,c.default.createElement("button",{onClick:this.props.onClick,style:{position:"absolute",left:0,top:0,width:"100%",height:"100%",margin:0,padding:0,border:"none",fontSize:0,background:"transparent",cursor:"pointer"},tabIndex:this.props.tabIndex},"Close Menu"))}}]),t}(u.Component);t.default=f,f.propTypes={crossClassName:l.default.string,customIcon:l.default.element,styles:l.default.object,tabIndex:l.default.number},f.defaultProps={crossClassName:"",className:"",styles:{},tabIndex:0},e.exports=t.default},32045:(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},11803:(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 a(e){return e&&e.__esModule?e:{default:e}}var i=r(1024),s=a(i),u=a(r(30314)),c=a(r(22982)),l=a(r(32045)),f=a(r(7135)),p=a(r(97039));t.default=function(e){var t=function(t){function r(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t,r){for(var n=!0;n;){var o=e,a=t,i=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=a,r=i,n=!0,s=c=void 0}}(Object.getPrototypeOf(r.prototype),"constructor",this).call(this,t),this.state={isOpen:!1},!e)throw new Error("No styles supplied")}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)}(r,t),o(r,[{key:"toggleMenu",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=t.isOpen,n=t.noStateChange,o={isOpen:void 0!==r?r:!this.state.isOpen};this.applyWrapperStyles(),this.setState(o,(function(){if(!n&&e.props.onStateChange(o),!e.props.disableAutoFocus)if(o.isOpen){var t=document.querySelector(".bm-item");t&&t.focus()}else document.activeElement?document.activeElement.blur():document.body.blur();e.timeoutId&&clearTimeout(e.timeoutId),e.timeoutId=setTimeout((function(){e.timeoutId=null,o.isOpen||e.applyWrapperStyles(!1)}),500)}))}},{key:"applyWrapperStyles",value:function(){var t=arguments.length<=0||void 0===arguments[0]||arguments[0],r=function(e,r){return e.classList[t?"add":"remove"](r)};this.props.htmlClassName&&r(document.querySelector("html"),this.props.htmlClassName),this.props.bodyClassName&&r(document.querySelector("body"),this.props.bodyClassName),e.pageWrap&&this.props.pageWrapId&&this.handleExternalWrapper(this.props.pageWrapId,e.pageWrap,t),e.outerContainer&&this.props.outerContainerId&&this.handleExternalWrapper(this.props.outerContainerId,e.outerContainer,t)}},{key:"handleExternalWrapper",value:function(e,t,r){var n=document.getElementById(e);if(n){var o=this.getStyle(t);for(var a in o)o.hasOwnProperty(a)&&(n.style[a]=r?o[a]:"");var i=function(e){return e.style["overflow-x"]=r?"hidden":""};this.props.htmlClassName||i(document.querySelector("html")),this.props.bodyClassName||i(document.querySelector("body"))}else console.error("Element with ID '"+e+"' not found")}},{key:"getStyles",value:function(t,r,o){var a="bm"+t.replace(t.charAt(0),t.charAt(0).toUpperCase()),i=l.default[t]?this.getStyle(l.default[t]):{};return e[t]&&(i=n({},i,this.getStyle(e[t],r+1))),this.props.styles[a]&&(i=n({},i,this.props.styles[a])),o&&(i=n({},i,o)),this.props.noTransition&&delete i.transition,i}},{key:"getStyle",value:function(e,t){var r=this.props.width,n="string"!=typeof r?r+"px":r;return e(this.state.isOpen,n,this.props.right,t)}},{key:"listenForClose",value:function(e){e=e||window.event,this.props.disableCloseOnEsc||!this.state.isOpen||"Escape"!==e.key&&27!==e.keyCode||this.toggleMenu()}},{key:"shouldDisableOverlayClick",value:function(){return"function"==typeof this.props.disableOverlayClick?this.props.disableOverlayClick():this.props.disableOverlayClick}},{key:"componentDidMount",value:function(){this.props.customOnKeyDown?window.onkeydown=this.props.customOnKeyDown:window.onkeydown=this.listenForClose.bind(this),this.props.isOpen&&this.toggleMenu({isOpen:!0,noStateChange:!0})}},{key:"componentWillUnmount",value:function(){window.onkeydown=null,this.applyWrapperStyles(!1)}},{key:"componentDidUpdate",value:function(t){var r,n,o=this;void 0!==this.props.isOpen&&this.props.isOpen!==this.state.isOpen&&this.props.isOpen!==t.isOpen?this.toggleMenu():e.svg&&(r=u.default.findDOMNode(o,"bm-morph-shape"),n=e.svg.lib(r).select("path"),o.state.isOpen?e.svg.animate(n):setTimeout((function(){n.attr("d",e.svg.pathInitial)}),300))}},{key:"render",value:function(){var t=this;return s.default.createElement("div",null,!this.props.noOverlay&&s.default.createElement("div",{className:("bm-overlay "+this.props.overlayClassName).trim(),onClick:function(){return!t.shouldDisableOverlayClick()&&t.toggleMenu()},style:this.getStyles("overlay")}),s.default.createElement("div",{id:this.props.id,className:("bm-menu-wrap "+this.props.className).trim(),style:this.getStyles("menuWrap")},e.svg&&s.default.createElement("div",{className:("bm-morph-shape "+this.props.morphShapeClassName).trim(),style:this.getStyles("morphShape")},s.default.createElement("svg",{width:"100%",height:"100%",viewBox:"0 0 100 800",preserveAspectRatio:"none"},s.default.createElement("path",{d:e.svg.pathInitial}))),s.default.createElement("div",{className:("bm-menu "+this.props.menuClassName).trim(),style:this.getStyles("menu")},s.default.createElement("nav",{className:("bm-item-list "+this.props.itemListClassName).trim(),style:this.getStyles("itemList")},s.default.Children.map(this.props.children,(function(e,r){if(e){var n={key:r,className:["bm-item",t.props.itemClassName,e.props.className].filter((function(e){return!!e})).join(" "),style:t.getStyles("item",r,e.props.style),tabIndex:t.state.isOpen?0:-1};return s.default.cloneElement(e,n)}})))),!1!==this.props.customCrossIcon&&s.default.createElement("div",{style:this.getStyles("closeButton")},s.default.createElement(p.default,{onClick:function(){return t.toggleMenu()},styles:this.props.styles,customIcon:this.props.customCrossIcon,className:this.props.crossButtonClassName,crossClassName:this.props.crossClassName,tabIndex:this.state.isOpen?0:-1}))),!1!==this.props.customBurgerIcon&&s.default.createElement("div",{style:this.getStyles("burgerIcon")},s.default.createElement(f.default,{onClick:function(){return t.toggleMenu()},styles:this.props.styles,customIcon:this.props.customBurgerIcon,className:this.props.burgerButtonClassName,barClassName:this.props.burgerBarClassName})))}}]),r}(i.Component);return t.propTypes={bodyClassName:c.default.string,burgerBarClassName:c.default.string,burgerButtonClassName:c.default.string,className:c.default.string,crossButtonClassName:c.default.string,crossClassName:c.default.string,customBurgerIcon:c.default.oneOfType([c.default.element,c.default.oneOf([!1])]),customCrossIcon:c.default.oneOfType([c.default.element,c.default.oneOf([!1])]),customOnKeyDown:c.default.func,disableAutoFocus:c.default.bool,disableCloseOnEsc:c.default.bool,disableOverlayClick:c.default.oneOfType([c.default.bool,c.default.func]),htmlClassName:c.default.string,id:c.default.string,isOpen:c.default.bool,itemClassName:c.default.string,itemListClassName:c.default.string,menuClassName:c.default.string,morphShapeClassName:c.default.string,noOverlay:c.default.bool,noTransition:c.default.bool,onStateChange:c.default.func,outerContainerId:e&&e.outerContainer?c.default.string.isRequired:c.default.string,overlayClassName:c.default.string,pageWrapId:e&&e.pageWrap?c.default.string.isRequired:c.default.string,right:c.default.bool,styles:c.default.object,width:c.default.oneOfType([c.default.number,c.default.string])},t.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},t},e.exports=t.default},82440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(11803),a=(n=o)&&n.__esModule?n:{default:n};t.default=(0,a.default)({}),e.exports=t.default},23113:e=>{"use strict";var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty,o="undefined"!=typeof Element;e.exports=function(e,a){try{return function e(a,i){if(a===i)return!0;if(a&&i&&"object"==typeof a&&"object"==typeof i){var s,u,c,l=t(a),f=t(i);if(l&&f){if((u=a.length)!=i.length)return!1;for(s=u;0!=s--;)if(!e(a[s],i[s]))return!1;return!0}if(l!=f)return!1;var p=a instanceof Date,d=i instanceof Date;if(p!=d)return!1;if(p&&d)return a.getTime()==i.getTime();var h=a instanceof RegExp,m=i instanceof RegExp;if(h!=m)return!1;if(h&&m)return a.toString()==i.toString();var y=r(a);if((u=y.length)!==r(i).length)return!1;for(s=u;0!=s--;)if(!n.call(i,y[s]))return!1;if(o&&a instanceof Element&&i instanceof Element)return a===i;for(s=u;0!=s--;)if(!("_owner"===(c=y[s])&&a.$$typeof||e(a[c],i[c])))return!1;return!0}return a!=a&&i!=i}(e,a)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-2146828260===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},38276:(e,t,r)=>{t.ql=void 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}}(),a=f(r(1024)),i=f(r(22982)),s=f(r(20762)),u=f(r(23113)),c=r(6773),l=r(61763);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var m,y,g,v=(0,s.default)(c.reducePropsToState,c.handleClientStateChange,c.mapStateOnServer)((function(){return null})),b=(m=v,g=y=function(e){function t(){return d(this,t),h(this,e.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),t.prototype.shouldComponentUpdate=function(e){return!(0,u.default)(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.NOSCRIPT:return{innerHTML:t};case l.TAG_NAMES.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,o=e.arrayTypeChildren,a=e.newChildProps,i=e.nestedChildren;return n({},o,((t={})[r.type]=[].concat(o[r.type]||[],[n({},a,this.mapNestedChildrenToProps(r,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,r,o=e.child,a=e.newProps,i=e.newChildProps,s=e.nestedChildren;switch(o.type){case l.TAG_NAMES.TITLE:return n({},a,((t={})[o.type]=s,t.titleAttributes=n({},i),t));case l.TAG_NAMES.BODY:return n({},a,{bodyAttributes:n({},i)});case l.TAG_NAMES.HTML:return n({},a,{htmlAttributes:n({},i)})}return n({},a,((r={})[o.type]=n({},i),r))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=n({},t);return Object.keys(e).forEach((function(t){var o;r=n({},r,((o={})[t]=e[t],o))})),r},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var r=this,n={};return a.default.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,a=o.children,i=p(o,["children"]),s=(0,c.convertReactPropstoHtmlAttributes)(i);switch(r.warnOnInvalidChildren(e,a),e.type){case l.TAG_NAMES.LINK:case l.TAG_NAMES.META:case l.TAG_NAMES.NOSCRIPT:case l.TAG_NAMES.SCRIPT:case l.TAG_NAMES.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:a});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},t.prototype.render=function(){var e=this.props,t=e.children,r=p(e,["children"]),o=n({},r);return t&&(o=this.mapChildrenToProps(t,o)),a.default.createElement(m,o)},o(t,null,[{key:"canUseDOM",set:function(e){m.canUseDOM=e}}]),t}(a.default.Component),y.propTypes={base:i.default.object,bodyAttributes:i.default.object,children:i.default.oneOfType([i.default.arrayOf(i.default.node),i.default.node]),defaultTitle:i.default.string,defer:i.default.bool,encodeSpecialCharacters:i.default.bool,htmlAttributes:i.default.object,link:i.default.arrayOf(i.default.object),meta:i.default.arrayOf(i.default.object),noscript:i.default.arrayOf(i.default.object),onChangeClientState:i.default.func,script:i.default.arrayOf(i.default.object),style:i.default.arrayOf(i.default.object),title:i.default.string,titleAttributes:i.default.object,titleTemplate:i.default.string},y.defaultProps={defer:!0,encodeSpecialCharacters:!0},y.peek=m.peek,y.rewind=function(){var e=m.rewind();return e||(e=(0,c.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},g);b.renderStatic=b.rewind,t.ql=b},61763:(e,t)=>{t.__esModule=!0;t.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"};var r=t.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},n=(t.VALID_TAG_NAMES=Object.keys(r).map((function(e){return r[e]})),t.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},t.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});t.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},t.HTML_TAG_MAP=Object.keys(n).reduce((function(e,t){return e[n[t]]=t,e}),{}),t.SELF_CLOSING_TAGS=[r.NOSCRIPT,r.SCRIPT,r.STYLE],t.HELMET_ATTRIBUTE="data-react-helmet"},6773:(e,t,r)=>{t.__esModule=!0,t.warn=t.requestAnimationFrame=t.reducePropsToState=t.mapStateOnServer=t.handleClientStateChange=t.convertReactPropstoHtmlAttributes=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},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},a=u(r(1024)),i=u(r(45226)),s=r(61763);function u(e){return e&&e.__esModule?e:{default:e}}var c,l=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},f=function(e){var t=y(e,s.TAG_NAMES.TITLE),r=y(e,s.HELMET_PROPS.TITLE_TEMPLATE);if(r&&t)return r.replace(/%s/g,(function(){return t}));var n=y(e,s.HELMET_PROPS.DEFAULT_TITLE);return t||n||void 0},p=function(e){return y(e,s.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},d=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return o({},e,t)}),{})},h=function(e,t){return t.filter((function(e){return void 0!==e[s.TAG_NAMES.BASE]})).map((function(e){return e[s.TAG_NAMES.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o<n.length;o++){var a=n[o].toLowerCase();if(-1!==e.indexOf(a)&&r[a])return t.concat(r)}return t}),[])},m=function(e,t,r){var o={};return r.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&T("Helmet: "+e+' should be of type "Array". Instead found type "'+n(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,r){var n={};r.filter((function(e){for(var r=void 0,a=Object.keys(e),i=0;i<a.length;i++){var u=a[i],c=u.toLowerCase();-1===t.indexOf(c)||r===s.TAG_PROPERTIES.REL&&"canonical"===e[r].toLowerCase()||c===s.TAG_PROPERTIES.REL&&"stylesheet"===e[c].toLowerCase()||(r=c),-1===t.indexOf(u)||u!==s.TAG_PROPERTIES.INNER_HTML&&u!==s.TAG_PROPERTIES.CSS_TEXT&&u!==s.TAG_PROPERTIES.ITEM_PROP||(r=u)}if(!r||!e[r])return!1;var l=e[r].toLowerCase();return o[r]||(o[r]={}),n[r]||(n[r]={}),!o[r][l]&&(n[r][l]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(n),u=0;u<a.length;u++){var c=a[u],l=(0,i.default)({},o[c],n[c]);o[c]=l}return e}),[]).reverse()},y=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},g=(c=Date.now(),function(e){var t=Date.now();t-c>16?(c=t,e(t)):setTimeout((function(){g(e)}),0)}),v=function(e){return clearTimeout(e)},b="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||g:r.g.requestAnimationFrame||g,E="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||v:r.g.cancelAnimationFrame||v,T=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},O=null,w=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,u=e.noscriptTags,c=e.onChangeClientState,l=e.scriptTags,f=e.styleTags,p=e.title,d=e.titleAttributes;A(s.TAG_NAMES.BODY,n),A(s.TAG_NAMES.HTML,o),S(p,d);var h={baseTag:_(s.TAG_NAMES.BASE,r),linkTags:_(s.TAG_NAMES.LINK,a),metaTags:_(s.TAG_NAMES.META,i),noscriptTags:_(s.TAG_NAMES.NOSCRIPT,u),scriptTags:_(s.TAG_NAMES.SCRIPT,l),styleTags:_(s.TAG_NAMES.STYLE,f)},m={},y={};Object.keys(h).forEach((function(e){var t=h[e],r=t.newTags,n=t.oldTags;r.length&&(m[e]=r),n.length&&(y[e]=h[e].oldTags)})),t&&t(),c(e,m,y)},C=function(e){return Array.isArray(e)?e.join(""):e},S=function(e,t){void 0!==e&&document.title!==e&&(document.title=C(e)),A(s.TAG_NAMES.TITLE,t)},A=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(s.HELMET_ATTRIBUTE),o=n?n.split(","):[],a=[].concat(o),i=Object.keys(t),u=0;u<i.length;u++){var c=i[u],l=t[c]||"";r.getAttribute(c)!==l&&r.setAttribute(c,l),-1===o.indexOf(c)&&o.push(c);var f=a.indexOf(c);-1!==f&&a.splice(f,1)}for(var p=a.length-1;p>=0;p--)r.removeAttribute(a[p]);o.length===a.length?r.removeAttribute(s.HELMET_ATTRIBUTE):r.getAttribute(s.HELMET_ATTRIBUTE)!==i.join(",")&&r.setAttribute(s.HELMET_ATTRIBUTE,i.join(","))}},_=function(e,t){var r=document.head||document.querySelector(s.TAG_NAMES.HEAD),n=r.querySelectorAll(e+"["+s.HELMET_ATTRIBUTE+"]"),o=Array.prototype.slice.call(n),a=[],i=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===s.TAG_PROPERTIES.INNER_HTML)r.innerHTML=t.innerHTML;else if(n===s.TAG_PROPERTIES.CSS_TEXT)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var u=void 0===t[n]?"":t[n];r.setAttribute(n,u)}r.setAttribute(s.HELMET_ATTRIBUTE,"true"),o.some((function(e,t){return i=t,r.isEqualNode(e)}))?o.splice(i,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:a}},P=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[s.REACT_TAG_MAP[r]||r]=e[r],t}),t)},M=function(e,t,r){switch(e){case s.TAG_NAMES.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(n={key:e})[s.HELMET_ATTRIBUTE]=!0,o=L(r,n),[a.default.createElement(s.TAG_NAMES.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=P(r),a=C(t);return o?"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+">"+l(a,n)+"</"+e+">":"<"+e+" "+s.HELMET_ATTRIBUTE+'="true">'+l(a,n)+"</"+e+">"}(e,t.title,t.titleAttributes,r)}};case s.ATTRIBUTE_NAMES.BODY:case s.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return L(t)},toString:function(){return P(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,o=((n={key:r})[s.HELMET_ATTRIBUTE]=!0,n);return Object.keys(t).forEach((function(e){var r=s.REACT_TAG_MAP[e]||e;if(r===s.TAG_PROPERTIES.INNER_HTML||r===s.TAG_PROPERTIES.CSS_TEXT){var n=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:n}}else o[r]=t[e]})),a.default.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!(e===s.TAG_PROPERTIES.INNER_HTML||e===s.TAG_PROPERTIES.CSS_TEXT)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+l(n[t],r)+'"';return e?e+" "+o:o}),""),a=n.innerHTML||n.cssText||"",i=-1===s.SELF_CLOSING_TAGS.indexOf(e);return t+"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+(i?"/>":">"+a+"</"+e+">")}),"")}(e,t,r)}}}};t.convertReactPropstoHtmlAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[s.HTML_TAG_MAP[r]||r]=e[r],t}),t)},t.handleClientStateChange=function(e){O&&E(O),e.defer?O=b((function(){w(e,(function(){O=null}))})):(w(e),O=null)},t.mapStateOnServer=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,u=e.noscriptTags,c=e.scriptTags,l=e.styleTags,f=e.title,p=void 0===f?"":f,d=e.titleAttributes;return{base:M(s.TAG_NAMES.BASE,t,n),bodyAttributes:M(s.ATTRIBUTE_NAMES.BODY,r,n),htmlAttributes:M(s.ATTRIBUTE_NAMES.HTML,o,n),link:M(s.TAG_NAMES.LINK,a,n),meta:M(s.TAG_NAMES.META,i,n),noscript:M(s.TAG_NAMES.NOSCRIPT,u,n),script:M(s.TAG_NAMES.SCRIPT,c,n),style:M(s.TAG_NAMES.STYLE,l,n),title:M(s.TAG_NAMES.TITLE,{title:p,titleAttributes:d},n)}},t.reducePropsToState=function(e){return{baseTag:h([s.TAG_PROPERTIES.HREF],e),bodyAttributes:d(s.ATTRIBUTE_NAMES.BODY,e),defer:y(e,s.HELMET_PROPS.DEFER),encode:y(e,s.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:d(s.ATTRIBUTE_NAMES.HTML,e),linkTags:m(s.TAG_NAMES.LINK,[s.TAG_PROPERTIES.REL,s.TAG_PROPERTIES.HREF],e),metaTags:m(s.TAG_NAMES.META,[s.TAG_PROPERTIES.NAME,s.TAG_PROPERTIES.CHARSET,s.TAG_PROPERTIES.HTTPEQUIV,s.TAG_PROPERTIES.PROPERTY,s.TAG_PROPERTIES.ITEM_PROP],e),noscriptTags:m(s.TAG_NAMES.NOSCRIPT,[s.TAG_PROPERTIES.INNER_HTML],e),onChangeClientState:p(e),scriptTags:m(s.TAG_NAMES.SCRIPT,[s.TAG_PROPERTIES.SRC,s.TAG_PROPERTIES.INNER_HTML],e),styleTags:m(s.TAG_NAMES.STYLE,[s.TAG_PROPERTIES.CSS_TEXT],e),title:f(e),titleAttributes:d(s.ATTRIBUTE_NAMES.TITLE,e)}},t.requestAnimationFrame=b,t.warn=T},20762:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var o=r(1024),a=n(o),i=n(r(99123)),s=n(r(17151));function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}e.exports=function(e,t,r){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(n){if("function"!=typeof n)throw new Error("Expected WrappedComponent to be a React component.");var l=[],f=void 0;function p(){f=e(l.map((function(e){return e.props}))),d.canUseDOM?t(f):r&&(f=r(f))}var d=function(e){function t(){return u(this,t),c(this,e.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),t.peek=function(){return f},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=f;return f=void 0,l=[],e},t.prototype.shouldComponentUpdate=function(e){return!s(e,this.props)},t.prototype.componentWillMount=function(){l.push(this),p()},t.prototype.componentDidUpdate=function(){p()},t.prototype.componentWillUnmount=function(){var e=l.indexOf(this);l.splice(e,1),p()},t.prototype.render=function(){return a.createElement(n,this.props)},t}(o.Component);return d.displayName="SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")",d.canUseDOM=i.canUseDOM,d}}},17151:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<a.length;u++){var c=a[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(o=r?r.call(n,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},69762:(e,t,r)=>{"use strict";var n=r(6830),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=d(r);o&&o!==h&&e(t,o,n)}var i=l(r);f&&(i=i.concat(f(r)));for(var s=u(t),m=u(r),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=p(r,g);try{c(t,g,v)}catch(e){}}}}return t}},41997:(e,t,r)=>{"use strict";var n=r(87643);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==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:a,resetWarningCache:o};return r.PropTypes=r,r}},80055:(e,t,r)=>{e.exports=r(41997)()},87643:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},18395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(1024),o=r.n(n),a=r(80055),i=r.n(a);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}).apply(this,arguments)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(u(t)),t.handleErrored=t.handleErrored.bind(u(t)),t.handleChange=t.handleChange.bind(u(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(u(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=n.prototype;return a.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},a.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},a.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},a.executeAsync=function(){var e=this;return new Promise((function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()}))},a.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},a.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},a.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},a.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},a.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())},a.componentDidMount=function(){this.explicitRender()},a.componentDidUpdate=function(){this.explicitRender()},a.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},a.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)},a.handleRecaptchaRef=function(e){this.captcha=e},a.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={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return o().createElement("div",s({},t,{ref:this.handleRecaptchaRef}))},n}(o().Component);c.displayName="ReCAPTCHA",c.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"])},c.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var l=r(69762),f=r.n(l);function p(){return(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}).apply(this,arguments)}var d={},h=0;var m,y;const g=(m=function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload=onloadcallback&render=explicit"},y=(y={callbackName:"onloadcallback",globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,o;function a(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}o=t,(r=a).prototype=Object.create(o.prototype),r.prototype.constructor=r,r.__proto__=o;var i=a.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+h++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof m?m():m,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=d[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[y.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=y,o=n.globalName,a=n.callbackName,i=n.scriptId;if(o&&void 0!==window[o]&&(d[t]={loaded:!0,observers:{}}),d[t]){var s=d[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},d[t]={loaded:!1,observers:u};var c=document.createElement("script");for(var l in c.src=t,c.async=!0,y.attributes)c.setAttribute(l,y.attributes[l]);i&&(c.id=i);var f=function(e){if(d[t]){var r=d[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=d[t];e&&(e.loaded=!0,f((function(t){return!a&&(t(e),!0)})))},c.onerror=function(){var e=d[t];e&&(e.errored=!0,f((function(t){return t(e),!0})))},document.body.appendChild(c)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===y.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=d[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===y.removeOnUnmount&&delete d[e])},i.render=function(){var t=y.globalName,r=this.props,o=(r.asyncScriptOnLoad,r.forwardedRef),a=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(a[t]=void 0!==window[t]?window[t]:void 0),a.ref=o,(0,n.createElement)(e,a)},a}(n.Component),o=(0,n.forwardRef)((function(e,t){return(0,n.createElement)(r,p({},e,{forwardedRef:t}))}));return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:i().func},f()(o,e)})(c)},75617:(e,t)=>{"use strict";
12
- /** @license React v16.13.1
13
- * react-is.production.min.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=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,E=r?Symbol.for("react.scope"):60119;function T(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case a:case s:case i:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case m:case u:return e;default:return t}}case o:return t}}}function O(e){return T(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return O(e)||T(e)===l},t.isConcurrentMode=O,t.isContextConsumer=function(e){return T(e)===c},t.isContextProvider=function(e){return T(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return T(e)===p},t.isFragment=function(e){return T(e)===a},t.isLazy=function(e){return T(e)===y},t.isMemo=function(e){return T(e)===m},t.isPortal=function(e){return T(e)===o},t.isProfiler=function(e){return T(e)===s},t.isStrictMode=function(e){return T(e)===i},t.isSuspense=function(e){return T(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===E||e.$$typeof===g)},t.typeOf=T},6830:(e,t,r)=>{"use strict";e.exports=r(75617)},538:(e,t,r)=>{var n=r(73081);function o(e){this.mode=n.MODE_8BIT_BYTE,this.data=e}o.prototype={getLength:function(e){return this.data.length},write:function(e){for(var t=0;t<this.data.length;t++)e.put(this.data.charCodeAt(t),8)}},e.exports=o},13102:e=>{function t(){this.buffer=new Array,this.length=0}t.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t},32398:e=>{e.exports={L:1,M:0,Q:3,H:2}},41606:(e,t,r)=>{var n=r(80415);function o(e,t){if(null==e.length)throw new Error(e.length+"/"+t);for(var r=0;r<e.length&&0==e[r];)r++;this.num=new Array(e.length-r+t);for(var n=0;n<e.length-r;n++)this.num[n]=e[n+r]}o.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),r=0;r<this.getLength();r++)for(var a=0;a<e.getLength();a++)t[r+a]^=n.gexp(n.glog(this.get(r))+n.glog(e.get(a)));return new o(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=n.glog(this.get(0))-n.glog(e.get(0)),r=new Array(this.getLength()),a=0;a<this.getLength();a++)r[a]=this.get(a);for(a=0;a<e.getLength();a++)r[a]^=n.gexp(n.glog(e.get(a))+t);return new o(r,0).mod(e)}},e.exports=o},43443:(e,t,r)=>{var n=r(538),o=r(74886),a=r(13102),i=r(7032),s=r(41606);function u(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}var c=u.prototype;c.addData=function(e){var t=new n(e);this.dataList.push(t),this.dataCache=null},c.isDark=function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},c.getModuleCount=function(){return this.moduleCount},c.make=function(){if(this.typeNumber<1){var e=1;for(e=1;e<40;e++){for(var t=o.getRSBlocks(e,this.errorCorrectLevel),r=new a,n=0,s=0;s<t.length;s++)n+=t[s].dataCount;for(s=0;s<this.dataList.length;s++){var u=this.dataList[s];r.put(u.mode,4),r.put(u.getLength(),i.getLengthInBits(u.mode,e)),u.write(r)}if(r.getLengthInBits()<=8*n)break}this.typeNumber=e}this.makeImpl(!1,this.getBestMaskPattern())},c.makeImpl=function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=u.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},c.setupPositionProbePattern=function(e,t){for(var r=-1;r<=7;r++)if(!(e+r<=-1||this.moduleCount<=e+r))for(var n=-1;n<=7;n++)t+n<=-1||this.moduleCount<=t+n||(this.modules[e+r][t+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)},c.getBestMaskPattern=function(){for(var e=0,t=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=i.getLostPoint(this);(0==r||e>n)&&(e=n,t=r)}return t},c.createMovieClip=function(e,t,r){var n=e.createEmptyMovieClip(t,r);this.make();for(var o=0;o<this.modules.length;o++)for(var a=1*o,i=0;i<this.modules[o].length;i++){var s=1*i;this.modules[o][i]&&(n.beginFill(0,100),n.moveTo(s,a),n.lineTo(s+1,a),n.lineTo(s+1,a+1),n.lineTo(s,a+1),n.endFill())}return n},c.setupTimingPattern=function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},c.setupPositionAdjustPattern=function(){for(var e=i.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var r=0;r<e.length;r++){var n=e[t],o=e[r];if(null==this.modules[n][o])for(var a=-2;a<=2;a++)for(var s=-2;s<=2;s++)this.modules[n+a][o+s]=-2==a||2==a||-2==s||2==s||0==a&&0==s}},c.setupTypeNumber=function(e){for(var t=i.getBCHTypeNumber(this.typeNumber),r=0;r<18;r++){var n=!e&&1==(t>>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++){n=!e&&1==(t>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},c.setupTypeInfo=function(e,t){for(var r=this.errorCorrectLevel<<3|t,n=i.getBCHTypeInfo(r),o=0;o<15;o++){var a=!e&&1==(n>>o&1);o<6?this.modules[o][8]=a:o<8?this.modules[o+1][8]=a:this.modules[this.moduleCount-15+o][8]=a}for(o=0;o<15;o++){a=!e&&1==(n>>o&1);o<8?this.modules[8][this.moduleCount-o-1]=a:o<9?this.modules[8][15-o-1+1]=a:this.modules[8][15-o-1]=a}this.modules[this.moduleCount-8][8]=!e},c.mapData=function(e,t){for(var r=-1,n=this.moduleCount-1,o=7,a=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var u=0;u<2;u++)if(null==this.modules[n][s-u]){var c=!1;a<e.length&&(c=1==(e[a]>>>o&1)),i.getMask(t,n,s-u)&&(c=!c),this.modules[n][s-u]=c,-1==--o&&(a++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}},u.PAD0=236,u.PAD1=17,u.createData=function(e,t,r){for(var n=o.getRSBlocks(e,t),s=new a,c=0;c<r.length;c++){var l=r[c];s.put(l.mode,4),s.put(l.getLength(),i.getLengthInBits(l.mode,e)),l.write(s)}var f=0;for(c=0;c<n.length;c++)f+=n[c].dataCount;if(s.getLengthInBits()>8*f)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*f+")");for(s.getLengthInBits()+4<=8*f&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*f||(s.put(u.PAD0,8),s.getLengthInBits()>=8*f));)s.put(u.PAD1,8);return u.createBytes(s,n)},u.createBytes=function(e,t){for(var r=0,n=0,o=0,a=new Array(t.length),u=new Array(t.length),c=0;c<t.length;c++){var l=t[c].dataCount,f=t[c].totalCount-l;n=Math.max(n,l),o=Math.max(o,f),a[c]=new Array(l);for(var p=0;p<a[c].length;p++)a[c][p]=255&e.buffer[p+r];r+=l;var d=i.getErrorCorrectPolynomial(f),h=new s(a[c],d.getLength()-1).mod(d);u[c]=new Array(d.getLength()-1);for(p=0;p<u[c].length;p++){var m=p+h.getLength()-u[c].length;u[c][p]=m>=0?h.get(m):0}}var y=0;for(p=0;p<t.length;p++)y+=t[p].totalCount;var g=new Array(y),v=0;for(p=0;p<n;p++)for(c=0;c<t.length;c++)p<a[c].length&&(g[v++]=a[c][p]);for(p=0;p<o;p++)for(c=0;c<t.length;c++)p<u[c].length&&(g[v++]=u[c][p]);return g},e.exports=u},74886:(e,t,r)=>{var n=r(32398);function o(e,t){this.totalCount=e,this.dataCount=t}o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(e,t){var r=o.getRsBlockTable(e,t);if(null==r)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var n=r.length/3,a=new Array,i=0;i<n;i++)for(var s=r[3*i+0],u=r[3*i+1],c=r[3*i+2],l=0;l<s;l++)a.push(new o(u,c));return a},o.getRsBlockTable=function(e,t){switch(t){case n.L:return o.RS_BLOCK_TABLE[4*(e-1)+0];case n.M:return o.RS_BLOCK_TABLE[4*(e-1)+1];case n.Q:return o.RS_BLOCK_TABLE[4*(e-1)+2];case n.H:return o.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},e.exports=o},80415:e=>{for(var t={glog:function(e){if(e<1)throw new Error("glog("+e+")");return t.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return t.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},r=0;r<8;r++)t.EXP_TABLE[r]=1<<r;for(r=8;r<256;r++)t.EXP_TABLE[r]=t.EXP_TABLE[r-4]^t.EXP_TABLE[r-5]^t.EXP_TABLE[r-6]^t.EXP_TABLE[r-8];for(r=0;r<255;r++)t.LOG_TABLE[t.EXP_TABLE[r]]=r;e.exports=t},73081:e=>{e.exports={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8}},7032:(e,t,r)=>{var n=r(73081),o=r(41606),a=r(80415),i=0,s=1,u=2,c=3,l=4,f=5,p=6,d=7,h={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;h.getBCHDigit(t)-h.getBCHDigit(h.G15)>=0;)t^=h.G15<<h.getBCHDigit(t)-h.getBCHDigit(h.G15);return(e<<10|t)^h.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;h.getBCHDigit(t)-h.getBCHDigit(h.G18)>=0;)t^=h.G18<<h.getBCHDigit(t)-h.getBCHDigit(h.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return h.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,r){switch(e){case i:return(t+r)%2==0;case s:return t%2==0;case u:return r%3==0;case c:return(t+r)%3==0;case l:return(Math.floor(t/2)+Math.floor(r/3))%2==0;case f:return t*r%2+t*r%3==0;case p:return(t*r%2+t*r%3)%2==0;case d:return(t*r%3+(t+r)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new o([1],0),r=0;r<e;r++)t=t.multiply(new o([1,a.gexp(r)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case n.MODE_NUMBER:return 10;case n.MODE_ALPHA_NUM:return 9;case n.MODE_8BIT_BYTE:case n.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case n.MODE_NUMBER:return 12;case n.MODE_ALPHA_NUM:return 11;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case n.MODE_NUMBER:return 14;case n.MODE_ALPHA_NUM:return 13;case n.MODE_8BIT_BYTE:return 16;case n.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),r=0,n=0;n<t;n++)for(var o=0;o<t;o++){for(var a=0,i=e.isDark(n,o),s=-1;s<=1;s++)if(!(n+s<0||t<=n+s))for(var u=-1;u<=1;u++)o+u<0||t<=o+u||0==s&&0==u||i==e.isDark(n+s,o+u)&&a++;a>5&&(r+=3+a-5)}for(n=0;n<t-1;n++)for(o=0;o<t-1;o++){var c=0;e.isDark(n,o)&&c++,e.isDark(n+1,o)&&c++,e.isDark(n,o+1)&&c++,e.isDark(n+1,o+1)&&c++,0!=c&&4!=c||(r+=3)}for(n=0;n<t;n++)for(o=0;o<t-6;o++)e.isDark(n,o)&&!e.isDark(n,o+1)&&e.isDark(n,o+2)&&e.isDark(n,o+3)&&e.isDark(n,o+4)&&!e.isDark(n,o+5)&&e.isDark(n,o+6)&&(r+=40);for(o=0;o<t;o++)for(n=0;n<t-6;n++)e.isDark(n,o)&&!e.isDark(n+1,o)&&e.isDark(n+2,o)&&e.isDark(n+3,o)&&e.isDark(n+4,o)&&!e.isDark(n+5,o)&&e.isDark(n+6,o)&&(r+=40);var l=0;for(o=0;o<t;o++)for(n=0;n<t;n++)e.isDark(n,o)&&l++;return r+=10*(Math.abs(100*l/t/t-50)/5)}};e.exports=h},42420:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(r,!0).forEach((function(t){y(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function f(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?d(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g=r(1024),v=(r(35989),r(43443)),b=r(32398);function E(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n<2048?(t+=String.fromCharCode(192|n>>6),t+=String.fromCharCode(128|63&n)):n<55296||n>=57344?(t+=String.fromCharCode(224|n>>12),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n)):(r++,n=65536+((1023&n)<<10|1023&e.charCodeAt(r)),t+=String.fromCharCode(240|n>>18),t+=String.fromCharCode(128|n>>12&63),t+=String.fromCharCode(128|n>>6&63),t+=String.fromCharCode(128|63&n))}return t}var T={size:128,level:"L",bgColor:"#FFFFFF",fgColor:"#000000",includeMargin:!1};function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[];return e.forEach((function(e,n){var o=null;e.forEach((function(a,i){if(!a&&null!==o)return r.push("M".concat(o+t," ").concat(n+t,"h").concat(i-o,"v1H").concat(o+t,"z")),void(o=null);if(i!==e.length-1)a&&null===o&&(o=i);else{if(!a)return;null===o?r.push("M".concat(i+t,",").concat(n+t," h1v1H").concat(i+t,"z")):r.push("M".concat(o+t,",").concat(n+t," h").concat(i+1-o,"v1H").concat(o+t,"z"))}}))})),r.join("")}function w(e,t){return e.slice().map((function(e,r){return r<t.y||r>=t.y+t.h?e:e.map((function(e,r){return(r<t.x||r>=t.x+t.w)&&e}))}))}function C(e,t){var r=e.imageSettings,n=e.size,o=e.includeMargin;if(null==r)return null;var a=o?4:0,i=t.length+2*a,s=Math.floor(.1*n),u=i/n,c=(r.width||s)*u,l=(r.height||s)*u,f=null==r.x?t.length/2-c/2:r.x*u,p=null==r.y?t.length/2-l/2:r.y*u,d=null;if(r.excavate){var h=Math.floor(f),m=Math.floor(p);d={x:h,y:m,w:Math.ceil(c+f-h),h:Math.ceil(l+p-m)}}return{x:f,y:p,h:l,w:c,excavation:d}}var S=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}(),A=function(e){function t(){var e,r;u(this,t);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return y(d(r=f(this,(e=p(t)).call.apply(e,[this].concat(o)))),"_canvas",void 0),y(d(r),"_image",void 0),y(d(r),"state",{imgLoaded:!1}),y(d(r),"handleImageLoad",(function(){r.setState({imgLoaded:!0})})),r}return h(t,e),l(t,[{key:"componentDidMount",value:function(){this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"update",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,o=e.bgColor,a=e.fgColor,i=e.includeMargin,s=e.imageSettings,u=new v(-1,b[n]);if(u.addData(E(t)),u.make(),null!=this._canvas){var c=this._canvas,l=c.getContext("2d");if(!l)return;var f=u.modules;if(null===f)return;var p=i?4:0,d=f.length+2*p,h=C(this.props,f);null!=s&&null!=h&&null!=h.excavation&&(f=w(f,h.excavation));var m=window.devicePixelRatio||1;c.height=c.width=r*m;var y=r/d*m;l.scale(y,y),l.fillStyle=o,l.fillRect(0,0,d,d),l.fillStyle=a,S?l.fill(new Path2D(O(f,p))):f.forEach((function(e,t){e.forEach((function(e,r){e&&l.fillRect(r+p,t+p,1,1)}))})),this.state.imgLoaded&&this._image&&null!=h&&l.drawImage(this._image,h.x+p,h.y+p,h.w,h.h)}}},{key:"render",value:function(){var e=this,t=this.props,r=(t.value,t.size),n=(t.level,t.bgColor,t.fgColor,t.style),a=(t.includeMargin,t.imageSettings),u=s(t,["value","size","level","bgColor","fgColor","style","includeMargin","imageSettings"]),c=i({height:r,width:r},n),l=null,f=a&&a.src;return null!=a&&null!=f&&(l=g.createElement("img",{src:f,style:{display:"none"},onLoad:this.handleImageLoad,ref:function(t){return e._image=t}})),g.createElement(g.Fragment,null,g.createElement("canvas",o({style:c,height:r,width:r,ref:function(t){return e._canvas=t}},u)),l)}}]),t}(g.PureComponent);y(A,"defaultProps",T);var _=function(e){function t(){return u(this,t),f(this,p(t).apply(this,arguments))}return h(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.value,r=e.size,n=e.level,a=e.bgColor,i=e.fgColor,u=e.includeMargin,c=e.imageSettings,l=s(e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]),f=new v(-1,b[n]);f.addData(E(t)),f.make();var p=f.modules;if(null===p)return null;var d=u?4:0,h=p.length+2*d,m=C(this.props,p),y=null;null!=c&&null!=m&&(null!=m.excavation&&(p=w(p,m.excavation)),y=g.createElement("image",{xlinkHref:c.src,height:m.h,width:m.w,x:m.x+d,y:m.y+d,preserveAspectRatio:"none"}));var T=O(p,d);return g.createElement("svg",o({shapeRendering:"crispEdges",height:r,width:r,viewBox:"0 0 ".concat(h," ").concat(h)},l),g.createElement("path",{fill:a,d:"M0,0 h".concat(h,"v").concat(h,"H0z")}),g.createElement("path",{fill:i,d:T}),y)}}]),t}(g.PureComponent);y(_,"defaultProps",T);var P=function(e){var t=e.renderAs,r=s(e,["renderAs"]),n="svg"===t?_:A;return g.createElement(n,r)};P.defaultProps=i({renderAs:"canvas"},T),e.exports=P}}]);
20
- //# sourceMappingURL=chunk-460.b4c78fb7b40f867014a2.js.map