kollapsminoriteten/wp-content/plugins/jetpack/_inc/build/admin.js

74 lines
1.1 MiB
JavaScript
Raw Normal View History

2021-09-07 21:40:48 +02:00
(function(){var __webpack_modules__={3197:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0},8900:function(e){function t(){return e.exports=t=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},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},9431:function(e,t,n){var r=t;r.bignum=n(910),r.define=n(4829).define,r.base=n(4170),r.constants=n(2144),r.decoders=n(6261),r.encoders=n(8995)},4829:function(e,t,n){var r=n(9431),i=n(9503);function s(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new s(e,t)},s.prototype._createNamed=function(e){var t;try{t=n(2578).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(r){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},s.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},s.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},s.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},s.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},322:function(e,t,n){var r=n(9503),i=n(4170).Reporter,s=n(778).Buffer;function a(e,t){i.call(this,t),s.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function o(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof o||(e=new o(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=s.byteLength(e);else{if(!s.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,i),t.C=a,a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=o,o.prototype.join=function(e,t){return e||(e=new s(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):s.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},4170:function(e,t,n){var r=t;r.Reporter=n(5398).b,r.DecoderBuffer=n(322).C,r.EncoderBuffer=n(322).R,r.Node=n(6570)},6570:function(e,t,n){var r=n(4170).Reporter,i=n(4170).EncoderBuffer,s=n(4170).DecoderBuffer,a=n(8282),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choic
2020-05-06 17:20:49 +02:00
/*!
2021-09-07 21:40:48 +02:00
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function P(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,s=Math.min(n,r);i<s;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function I(e,t,n,r){if(e===t)return 0!==e||(!n||c(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&p(e)&&p(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var a,o,l,u,d=f(e);if(d!==f(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var h=O(e),m=O(t);return h.length===m.length&&D(e,t,n,r,1,h)}if("[object Object]"===d&&(!y(e)&&y(t)||!w(e)&&w(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(_(e)){if(!_(t)||(l=e,u=t,!(s?l.source===u.source&&l.flags===u.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(u))))return!1}else if(k(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(v(e)){if(n||!x(e)&&!N(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===P(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var T=O(e),I=O(t);return T.length===I.length&&D(e,t,n,r,0,T)}if(w(e))return!(!w(t)||e.size!==t.size)&&D(e,t,n,r,2);if(y(e))return!(!y(t)||e.size!==t.size)&&D(e,t,n,r,3);if(g(e)){if(o=t,(a=e).byteLength!==o.byteLength||0!==P(new Uint8Array(a),new Uint8Array(o)))return!1}else if(E(e)&&!function(e,t){return C(e)?C(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):S(e)?S(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):j(e)?j(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):M(e)?M(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):A(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return D(e,t,n,r,0)}function R(e,t){return t.filter((function(t){return h(e,t)}))}function D(e,t,n,r,i,s){if(5===arguments.length){s=Object.keys(e);var a=Object.keys(t);if(s.length!==a.length)return!1}for(var o=0;o<s.length;o++)if(!d(t,s[o]))return!1;if(n&&5===arguments.length){var c=l(e);if(0!==c.length){var p=0;for(o=0;o<c.length;o++){var u=c[o];if(h(e,u)){if(!h(t,u))return!1;s.push(u),p++}else if(h(t,u))return!1}var f=l(t);if(c.length!==f.length&&R(t,f).length!==p)return!1}else{var m=l(t);if(0!==m.length&&0!==R(t,m).length)return!1}}if(0===s.length&&(0===i||1===i&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var g=r.val1.get(e);if(void 0!==g){var v=r.val2.get(t);if(void 0!==v)return g===v}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var b=V(e,t,n,s,r,i);return r.val1.delete(e),r.val2.delete(t),b}function U(e,t,n,r){for(var i=a(e),s=0;s<i.length;s++){var o=i[s];if(I(t,o,n,r))return e.delete(o),!0}return!1}function L(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(p(e))return!1}return!0}function z(e,t,n){var r=L(n);return null!=r?r:t.has(r)&&!e.has(r)}function F(e,t,n,r,i){var s=L(n);if(null!=s)return s;var a=t.get(s);return!(void 0===a&&!t.has(s)||!I(r,a,!1,i))&&(!e.has(s)&&I(r,a,!1,i))}function B(e,t,n,r,i,s){for(var o=a(e),c=0;c<o.length;c++){var l=o[c];if(I(n,l,i,s)&&I(r,t.get(l),i,s))return e.delete(l),!0}return!1}function V(e,t,n,s,c,l){var p=0;if(2===l){if(!function(e,t,n,r){for(var s=null,o=a(e),c=0;c<o.length;c++){var l=o[c];if("object"===i(l)&&null!==l)null===s&&(s=new Set),s.add(l);else if(!t.has(l)){if(n)return!1;if(!z(e,t,l))return!1;null===s&&(s=new Set),s.add(l)}}if(null!==s){for(var p=a(t),u=0;u<p.length;u++){var d=p[u];if("object"===i(d)&&null!==d){if(!U(s,d,n,r))return!1}else if(!n&&!e.has(d)&&!U(s,d,n,r))return!1}return 0===s.size}return!0}(e,t,n,c))return!1}else if(3===l){if(!function(e,t,n
2020-05-06 17:20:49 +02:00
/*!
* The buffer module from node.js, for the browser.
*
2021-09-07 21:40:48 +02:00
* @author Feross Aboukhadijeh <https://feross.org>
2020-05-06 17:20:49 +02:00
* @license MIT
2021-09-07 21:40:48 +02:00
*/const i=n(2803),s=n(3644),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;const o=2147483647;function c(e){if(e>o)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return p(e,t,n)}function p(e,t,n){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|g(e,t);let r=c(n);const i=r.write(e,t);i!==n&&(r=r.slice(0,i));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Y(e,Uint8Array)){const t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Y(e,ArrayBuffer)||e&&Y(e.buffer,ArrayBuffer))return f(e,t,n);if("undefined"!=typeof SharedArrayBuffer&&(Y(e,SharedArrayBuffer)||e&&Y(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);const i=function(e){if(l.isBuffer(e)){const t=0|m(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||Z(e.length)?c(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),c(e<0?0:0|m(e))}function h(e){const t=e.length<0?0:0|m(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function f(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');let r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,l.prototype),r}function m(e){if(e>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Y(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);const n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(i)return r?-1:W(e).length;t=(""+t).toLowerCase(),i=!0}}function v(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return x(this,t,n);case"latin1":case"binary":return N(this,t,n);case"base64":return j(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var a=i.apply(null,n);a&&e.push(a)}}else if("object"===s)if(n.toString===Object.prototype.toString)for(var o in n)r.call(n,o)&&n[o]&&e.push(o);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},6767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(6670));t.default=c;var i=a(n(8407)),s=a(n(6121));function a(e){return e&&e.__esModule?e:{default:e}}var o=new r.default;function c(e,t){return o.set(e,t),function(){o.delete(e)}}function l(e){o.forEach((function(t,n){(0,s.default)(n,e.target)||t.call(n,e)}))}function p(e){e||(e=document),i.default.bind(e,"click",l)}c.globalClick=l,c.install=p,"undefined"!=typeof document&&p(document),e.exports=t.default},1439:function(e){
/*!
* clipboard.js v2.0.6
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var s=0,a=r.length;s<a;s++)r[s].fn!==t&&r[s].fn._!==t&&i.push(r[s]);return i.length?n[e]=i:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){var r=n(3),i=n(4);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return i(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){var r=n(5);function i(e,t,n,r,i){var a=s.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}function s(e,t,n,i){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&i.call(e,n)}}e.exports=function(e,t,n,r,s){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,n,r,s)})))}},function(e,t){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var s,a,o=8*i-r-1,c=(1<<o)-1,l=c>>1,p=-7,u=n?i-1:0,d=n?-1:1,h=e[t+u];for(u+=d,s=h&(1<<-p)-1,h>>=-p,p+=o;p>0;s=256*s+e[t+u],u+=d,p-=8);for(a=s&(1<<-p)-1,s>>=-p,p+=r;p>0;a=256*a+e[t+u],u+=d,p-=8);if(0===s)s=1-l;else{if(s===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),s-=l}return(h?-1:1)*a*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var a,o,c,l=8*s-i-1,p=(1<<l)-1,u=p>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:s-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=p):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+u>=1?d/c:d*Math.pow(2,1-u))*c>=2&&(a++,c/=2),a+u>=p?(o=0,a=p):a+u>=1?(o=(t*c-1)*Math.pow(2,i),a+=u):(o=t*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&o,h+=f,o/=256,i-=8);for(a=a<<i|o,l+=i;l>0;e[n+h]=255&a,h+=f,a/=256,l-=8);e[n+h-f]|=128*m}},9503:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},215:function(e,t,n){"use strict";var r="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},i=o(n(3804)),s=o(n(7234)),a=o(n(6974));function o(e){return e&&e.__esModule?e:{default:e}}var c=void 0;function l(e,t){var n,a,o,p,u,d,h,f,m=[],g={};for(d=0;d<e.length;d++)if("string"!==(u=e[d]).type){if(!t.hasOwnProperty(u.value)||void 0===t[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==r(t[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){n=t[u.value],o=d;break}m.push(t[u.value])}else m.push(u.value);return n&&(p=function(e,t){var n,r,i=t[e],s=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===i.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return r;s--}}throw new Error("Missing closing component token `"+i.value+"`")}(o,e),h=l(e.slice(o+1,p),t),a=i.default.cloneElement(n,{},h),m.push(a),p<e.length-1&&(f=l(e.slice(p+1),t),m=m.concat(f))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,s.default)(g))}t.Z=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var s=(0,a.default)(t);try{return l(s,n)}catch(o){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+o.message+"`");return t}}},6974:function(e){"use strict";function t(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(t)}},4546:function(e){"use strict";e.exports=function(e,t,n,r,i,s,a,o){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,s,a,o],p=0;(c=new Error(t.replace(/%s/g,(function(){return l[p++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},8304:function(e,t,n){"use strict";var r=n(7828)(),i=n(6422)("Object.prototype.toString"),s=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},a=function(e){return!!s(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},o=function(){retu
2021-07-23 11:58:50 +02:00
/*
object-assign
(c) Sindre Sorhus
@license MIT
2021-09-07 21:40:48 +02:00
*/var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,s){for(var a,o,c=i(e),l=1;l<arguments.length;l++){for(var p in a=Object(arguments[l]))n.call(a,p)&&(c[p]=a[p]);if(t){o=t(a);for(var u=0;u<o.length;u++)r.call(a,o[u])&&(c[o[u]]=a[o[u]])}}return c}},2335:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},8706:function(e,t,n){"use strict";var r=n(3185),i=n(3120),s=n(2335),a=n(5432),o=n(5894),c=i(a(),Object);r(c,{getPolyfill:a,implementation:s,shim:o}),e.exports=c},5432:function(e,t,n){"use strict";var r=n(2335);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},5894:function(e,t,n){"use strict";var r=n(5432),i=n(3185);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},6128:function(e,t,n){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,s=Object.prototype.toString,a=n(6133),o=Object.prototype.propertyIsEnumerable,c=!o.call({toString:null},"toString"),l=o.call((function(){}),"prototype"),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{u(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===s.call(e),r=a(e),o=t&&"[object String]"===s.call(e),d=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var f=l&&n;if(o&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)d.push(String(g));else for(var v in e)f&&"prototype"===v||!i.call(e,v)||d.push(String(v));if(c)for(var b=function(e){if("undefined"==typeof window||!h)return u(e);try{return u(e)}catch(t){return!1}}(e),y=0;y<p.length;++y)b&&"constructor"===p[y]||!i.call(e,p[y])||d.push(p[y]);return d}}e.exports=r},8517:function(e,t,n){"use strict";var r=Array.prototype.slice,i=n(6133),s=Object.keys,a=s?function(e){return s(e)}:n(6128),o=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return i(e)?o(r.call(e)):o(e)}):Object.keys=a;return Object.keys||a},e.exports=a},6133:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},4471:function(e,t,n){"use strict";var r=n(5806),i=n(1434);e.exports=h;var s,a,o="undefined"!=typeof document&&document.ontouchstart?"touchstart":"click",c="undefined"!=typeof window&&(window.history.location||window.location),l=!0,p=!0,u="",d=!1;function h(e,t){if("function"==typeof e)return h("*",e);if("function"==typeof t)for(var n=new g(
2020-06-23 13:49:54 +02:00
/** @license React v16.13.1
2020-05-06 17:20:49 +02:00
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2021-09-07 21:40:48 +02:00
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,o=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,p=n?Symbol.for("react.async_mode"):60111,u=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case p:case u:case s:case o:case a:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case m:case c:return e;default:return t}}case i:return t}}}function k(e){return w(e)===u}t.AsyncMode=p,t.ConcurrentMode=u,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=s,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=o,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||w(e)===p},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===u||e===o||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===y||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},364:function(e,t,n){"use strict";e.exports=n(6462)},3244:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return!(0,s.default)(this.props,e)||!(0,s.default)(this.state,t)};var r,i=n(360),s=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},1425:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(3244),s=(r=i)&&r.__esModule?r:{default:r};t.default={shouldComponentUpdate:s.default},e.exports=t.default},360:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),s=0;s<n.length;s++)if(!i(n[s])||e[n[s]]!==t[n[s]])return!1;return!0},e.exports=t.default},997:function(e){"use strict";var t={};function n(e,n,r){r||(r=Error);var i=function(e){var t,r;function i(t,r,i){return e.call(this,function(e,t,r){return"string"==typeof n?n:n(e,t,r)}(t,r,i))||this}return r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,i}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}n("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),n("ERR_INVALID_ARG_TYPE",(function(e,t,n){var i,s,a,o;if("string"==typeof t&&(s="not ",t.substr(!a||a<0?0:+a,s.length)===s)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))o="The ".concat(e," ").concat(i," ").concat(r(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
var r=n(778),i=r.Buffer;function s(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(s(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),s(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},2023:function(e,t,n){var r=n(7225).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,s=e.length,a=this._len,o=0;o<s;){for(var c=a%i,l=Math.min(s-o,i-c),p=0;p<l;p++)n[c+p]=e[o+p];o+=l,(a+=l)%i==0&&this._update(n)}return this._len+=s,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var s=this._hash();return e?s.toString(e):s},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},5636:function(e,t,n){var r=e.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=n(3443),r.sha1=n(2798),r.sha224=n(7803),r.sha256=n(1772),r.sha384=n(3030),r.sha512=n(566)},3443:function(e,t,n){var r=n(9503),i=n(2023),s=n(7225).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function p(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=n[u-3]^n[u-8]^n[u-14]^n[u-16];for(var d=0;d<80;++d){var h=~~(d/20),f=0|((t=r)<<5|t>>>27)+p(h,i,s,o)+c+n[d]+a[h];c=o,o=s,s=l(i),i=r,r=f}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},2798:function(e,t,n){var r=n(9503),i=n(2023),s=n(7225).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function c(){this.init(),this._w=o,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function p(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,s=0|this._c,o=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var f=~~(h/20),m=l(r)+u(f,i,s,o)+c+n[h]+a[f]|0;c=o,o=s,s=p(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=s+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=s.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,
2021-07-23 11:58:50 +02:00
/** @license React vundefined
* use-subscription.production.min.js
2020-05-06 17:20:49 +02:00
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2021-09-07 21:40:48 +02:00
*/var r=n(1625),i=n(3804);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,s=i.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=s[0];var a=s[1];return s=e.value,e.getCurrentValue===t&&e.subscribe===n||(s=t(),a({getCurrentValue:t,subscribe:n,value:s})),i.useDebugValue(s),i.useEffect((function(){function e(){if(!i){var e=t();a((function(i){return i.getCurrentValue!==t||i.subscribe!==n||i.value===e?i:r({},i,{value:e})}))}}var i=!1,s=n(e);return e(),function(){i=!0,s()}}),[t,n]),s}},4550:function(e,t,n){"use strict";e.exports=n(4850)},9231:function(e,t,n){var r=n(5246);function i(e){try{if(!window.localStorage)return!1}catch(n){return!1}var t=window.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(i("noDeprecation"))return e;var n=!1;return function(){if(!n){if(i("throwDeprecation"))throw new Error(t);i("traceDeprecation")?r.trace(t):r.warn(t),n=!0}return e.apply(this,arguments)}}},1311:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},8370:function(e,t,n){"use strict";var r=n(8304),i=n(7372),s=n(8987),a=n(4760);function o(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,p=o(Object.prototype.toString),u=o(Number.prototype.valueOf),d=o(String.prototype.valueOf),h=o(Boolean.prototype.valueOf);if(c)var f=o(BigInt.prototype.valueOf);if(l)var m=o(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(n){return!1}}function v(e){return"[object Map]"===p(e)}function b(e){return"[object Set]"===p(e)}function y(e){return"[object WeakMap]"===p(e)}function _(e){return"[object WeakSet]"===p(e)}function w(e){return"[object ArrayBuffer]"===p(e)}function k(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===p(e)}function C(e){return"undefined"!=typeof DataView&&(E.working?E(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||C(e)},t.isUint8Array=function(e){return"Uint8Array"===s(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===s(e)},t.isUint16Array=function(e){return"Uint16Array"===s(e)},t.isUint32Array=function(e){return"Uint32Array"===s(e)},t.isInt8Array=function(e){return"Int8Array"===s(e)},t.isInt16Array=function(e){return"Int16Array"===s(e)},t.isInt32Array=function(e){return"Int32Array"===s(e)},t.isFloat32Array=function(e){return"Float32Array"===s(e)},t.isFloat64Array=function(e){return"Float64Array"===s(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===s(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===s(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(b.working?b(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},_.working="undefined"!=typeof WeakSet&&_(new WeakSet),t.isWeakSet=function(e){return _(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),t.isArrayBuffer=k,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=C;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function j(e){return"[object SharedArrayBuffer]"===p(e)}function M(e){return void 0!==S&&(void 0===j.working&&(j.working=j(new S)),j.working?j(e):e instanceof S)}function A(e){return g(e,u)}function x(e){return g(e,d)}function N(e){return g(e,h)}function T(e){return c&&g(e
2021-04-27 08:32:47 +02:00
/*!
* focus-trap 6.3.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/
2021-09-07 21:40:48 +02:00
function rf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(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 af,of=(af=[],{activateTrap:function(e){if(af.length>0){var t=af[af.length-1];t!==e&&t.pause()}var n=af.indexOf(e);-1===n||af.splice(n,1),af.push(e)},deactivateTrap:function(e){var t=af.indexOf(e);-1!==t&&af.splice(t,1),af.length>0&&af[af.length-1].unpause()}}),cf=function(e){return setTimeout(e,0)},lf=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},pf=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},uf=function(e,t){var n,r=document,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sf(Object(n),!0).forEach((function(t){rf(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},a=function(e){return s.containers.some((function(t){return t.contains(e)}))},o=function(e){var t=i[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=r.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},c=function(){var e;if(null!==o("initialFocus"))e=o("initialFocus");else if(a(r.activeElement))e=r.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||o("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},l=function(){if(s.tabbableGroups=s.containers.map((function(e){var t,n,r,i=(n=[],r=[],Gh(e,(t=t||{}).includeContainer,ef.bind(null,t)).forEach((function(e,t){var i=$h(e);0===i?n.push(e):r.push({documentOrder:t,tabIndex:i,node:e})})),r.sort(Yh).map((function(e){return e.node})).concat(n));if(i.length>0)return{container:e,firstTabbableNode:i[0],lastTabbableNode:i[i.length-1]}})).filter((function(e){return!!e})),s.tabbableGroups.length<=0&&!o("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function e(t){t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(c()))},u=function(e){a(e.target)||(pf(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!nf(e.target)}):pf(i.allowOutsideClick,e)||e.preventDefault())},d=function(e){var t=a(e.target);t||e.target instanceof Document?t&&(s.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),p(s.mostRecentlyFocusedNode||c()))},h=function(e){if(!1!==i.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){l();var t=null;if(s.tabbableGroups.length>0)if(lf(s.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var n=lf(s.tabbableGroups,(function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var r=0===n?s.tabbableGroups.length-1:n-1;t=s.tabbableGroups[r].lastTabbableNode}}else{var i=lf(s.tabbableGroups,(function(t){var n=t.lastTabbableNode;return e.target===n}));if(i>=0){var a=i===s.tabbableGroups.length-1?0:i+1;t=s.tabbableGroups[a].firstTabbableNode}}else
2021-04-27 08:32:47 +02:00
/*
* Exposes number format capability
*
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
* @license See CREDITS.md
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
2021-09-07 21:40:48 +02:00
*/
function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,s):""+Math.round(i)).split("."))[0].length>3&&(c[0]=c[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(c[1]||"").length<s&&(c[1]=c[1]||"",c[1]+=new Array(s-c[1].length+1).join("0")),c.join(o)}var xb=Ap()("i18n-calypso"),Nb="number_format_decimals",Tb="number_format_thousands_sep",Ob="messages",Pb=[function(e){return e}],Ib={};function Rb(){Fb.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Db(e){return Array.prototype.slice.call(e)}function Ub(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&Rb("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Db(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&Rb("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Db(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Lb(e,t){return e.dcnpgettext(Ob,t.context,t.original,t.plural,t.count)}function zb(e,t){for(var n=Pb.length-1;n>=0;n--){var r=Pb[n](Object.assign({},t));if(e.state.locale[r.original])return Lb(e.state.tannin,r)}return null}function Fb(){if(!(this instanceof Fb))return new Fb;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:Eb()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new tv.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}Fb.throwErrors=!1,Fb.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},Fb.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},Fb.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},Fb.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return Ab(e,n,r,i)},Fb.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},Fb.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var i=e[""]["key-hash"],s=function(e,t){var n=!1===t?"":String(t);if(void 0!==Ib[n+e])return Ib[n+e];var r=Sb()().update(e).digest("hex");return Ib[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=s(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=s(t.original,e),t}};if("sha1"===i.substr(0,4))if(4===i.length)Pb.push(a(!1));else{var o=i.substr(5).indexOf("-");if(o<0){var c=Number(i.substr(5));Pb.push(a(c))}else for(var l=Number(i.substr(5,o)),p=Number(i.substr(6+o)),u=l;u<=p;u++)Pb.push(a(u))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new wb(fg({},Ob,this.state.locale)),this.state.numberFormatSettings.decimal_point=Lb(this.state.tannin,Ub([Nb])),this.state.numberFormatSettings.thousands_sep=Lb(this.state.tannin,Ub([Tb]
2020-05-06 17:20:49 +02:00
/**
* This test is for touch events.
* It may not accurately detect a touch screen, but may be close enough depending on the use case.
*
* @copyright Modernizr © 2009-2015.
* @license See CREDITS.md.
* @see https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js
*
* @returns {Boolean} whether touch screen is available
*/
2021-09-07 21:40:48 +02:00
function l_(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}Gl()(c_,"displayName","ModuleChartBarContainer"),Gl()(c_,"propTypes",{isTouch:c().bool,data:c().array,yAxisMax:c().number,width:c().number,barClick:c().func});const p_=bt._x;class u_ extends i().Component{constructor(...e){super(...e),Gl()(this,"state",{maxBars:100,width:650}),Gl()(this,"resize",(()=>{let e,t=this.refs.chart.clientWidth-82;l_()?(t=t<=0?350:t,e=Math.floor(t/this.props.minTouchBarWidth)):e=Math.floor(t/this.props.minBarWidth),this.setState({maxBars:e,width:t})})),Gl()(this,"getYAxisMax",(e=>{const t=Math.max.apply(null,e),n=Math.pow(10,t.toString().length-1);let r=Math.ceil((t+1)/n)*n;return r<10&&(r=10),r})),Gl()(this,"getData",(()=>{let e=this.props.data;return e=e.slice(0-this.state.maxBars),e})),Gl()(this,"getValues",(()=>{let e=this.getData();return e=e.map((function(e){return e.value}),this),e})),Gl()(this,"isEmptyChart",(e=>0===(e=e.filter((function(e){return e>0}),this)).length))}componentDidMount(){this.resize=(0,vt.throttle)(this.resize,400),window.addEventListener("resize",this.resize),this.resize()}componentWillUnmount(){window.removeEventListener("resize",this.resize)}UNSAFE_componentWillReceiveProps(e){this.props.loading&&!e.loading&&this.resize()}render(){const e=this.getValues(),t=this.getYAxisMax(e),n=this.getData();let r;return e.length&&this.isEmptyChart(e)&&(r=i().createElement("div",{className:"dops-chart__empty"},i().createElement("span",{className:"dops-chart__empty_notice"},p_("No activity this period","Notice in the empty statistics chart","jetpack")))),i().createElement("div",{ref:"chart",className:"dops-chart"},i().createElement("div",{className:"dops-chart__y-axis-markers"},i().createElement("div",{className:"dops-chart__y-axis-marker is-hundred"}),i().createElement("div",{className:"dops-chart__y-axis-marker is-fifty"}),i().createElement("div",{className:"dops-chart__y-axis-marker is-zero"})),i().createElement("div",{className:"dops-chart__y-axis"},i().createElement("div",{className:"dops-chart__y-axis-width-fix"},new Number(1e5).toLocaleString()),i().createElement("div",{className:"dops-chart__y-axis-label is-hundred"},t.toLocaleString()),i().createElement("div",{className:"dops-chart__y-axis-label is-fifty"},(t/2).toLocaleString()),i().createElement("div",{className:"dops-chart__y-axis-label is-zero"},0)),i().createElement(c_,{barClick:this.props.barClick,data:n,yAxisMax:t,chartWidth:this.state.width,isTouch:l_()}),r)}}Gl()(u_,"displayName","ModuleChart"),Gl()(u_,"propTypes",{loading:c().bool,data:c().array,minTouchBarWidth:c().number,minBarWidth:c().number,barClick:c().func}),Gl()(u_,"defaultProps",{minTouchBarWidth:42,minBarWidth:15,barClick:vt.noop});const d_=bt.__,h_=bt._x,f_=bt._n;class m_ extends r.Component{constructor(...e){super(...e),Gl()(this,"trackViewDetailedStats",(()=>Rp.tracks.recordJetpackClick("view_detailed_stats"))),Gl()(this,"trackViewWpcomStats",(()=>Rp.tracks.recordJetpackClick("view_wpcom_stats")))}statsBottom(){let e;return e="object"==typeof this.props.statsData.general?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]}render(){const e=this.statsBottom()[0];return i().createElement("div",null,i().createElement("div",{className:"jp-at-a-glance__stats-summary"},i().createElement("div",{className:"jp-at-a-glance__stats-summary-today"},i().createElement("p",{className:"jp-at-a-glance__stat-details"},h_("Views today","Referring to a number of page views","jetpack")),i().createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),i().createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},i().createElement("p",{className:"jp-at-a-glance__stat-details"},h_("Best overall day","Referring to a number of page views","jetpack")),i().createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,bt.sprintf