mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-02 21:28:47 +08:00
CI Build Artifacts (commit: 36fc21ccbc, version: 1.8.0)
This commit is contained in:
1 parent
6f487b6e61
commit
003cb1aa8c
202 files changed
+7389
-2
No files matched your search
@@ -0,0 +1,117 @@
|
||||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue"),require("__jszip"),require("__jsyaml")):"function"===typeof define&&define.amd?define([,"__jszip","__jsyaml"],t):"object"===typeof exports?exports["harvester-1.8.0"]=t(require("vue"),require("__jszip"),require("__jsyaml")):e["harvester-1.8.0"]=t(e["Vue"],e["__jszip"],e["__jsyaml"])})("undefined"!==typeof self?self:this,(function(e,t,r){return function(){var n={4979:function(){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r=Object(e);for(let n=1;n<arguments.length;n++){const e=arguments[n];if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}return r},writable:!0,configurable:!0}),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};const r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}e.prototype=window.Event.prototype,"function"!==typeof window.CustomEvent&&(window.CustomEvent=e)})(),Number.isInteger=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}},60425:function(e,t,r){"use strict";function n(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){var t=n(e).Element;return e instanceof t||e instanceof Element}function a(e){var t=n(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function o(e){if("undefined"===typeof ShadowRoot)return!1;var t=n(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}r.d(t,{n4:function(){return lt}});var s=Math.max,l=Math.min,c=Math.round;function u(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(u())}function h(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var o=e.getBoundingClientRect(),s=1,l=1;t&&a(e)&&(s=e.offsetWidth>0&&c(o.width)/e.offsetWidth||1,l=e.offsetHeight>0&&c(o.height)/e.offsetHeight||1);var u=i(e)?n(e):window,h=u.visualViewport,p=!d()&&r,f=(o.left+(p&&h?h.offsetLeft:0))/s,m=(o.top+(p&&h?h.offsetTop:0))/l,g=o.width/s,v=o.height/l;return{width:g,height:v,top:m,right:f+g,bottom:m+v,left:f,x:f,y:m}}function p(e){var t=n(e),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function f(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function m(e){return e!==n(e)&&a(e)?f(e):p(e)}function g(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function b(e){return h(v(e)).left+p(e).scrollLeft}function y(e){return n(e).getComputedStyle(e)}function w(e){var t=y(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function E(e){var t=e.getBoundingClientRect(),r=c(t.width)/e.offsetWidth||1,n=c(t.height)/e.offsetHeight||1;return 1!==r||1!==n}function _(e,t,r){void 0===r&&(r=!1);var n=a(t),i=a(t)&&E(t),o=v(t),s=h(e,i,r),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&(("body"!==g(t)||w(o))&&(l=m(t)),a(t)?(c=h(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=b(o))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function S(e){var t=h(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function k(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||v(e)}function x(e){return["html","body","#document"].indexOf(g(e))>=0?e.ownerDocument.body:a(e)&&w(e)?e:x(k(e))}function A(e,t){var r;void 0===t&&(t=[]);var i=x(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),o=n(i),s=a?[o].concat(o.visualViewport||[],w(i)?i:[]):i,l=t.concat(s);return a?l:l.concat(A(k(s)))}function C(e){return["table","td","th"].indexOf(g(e))>=0}function N(e){return a(e)&&"fixed"!==y(e).position?e.offsetParent:null}function T(e){var t=/firefox/i.test(u()),r=/Trident/i.test(u());if(r&&a(e)){var n=y(e);if("fixed"===n.position)return null}var i=k(e);o(i)&&(i=i.host);while(a(i)&&["html","body"].indexOf(g(i))<0){var s=y(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode}return null}function R(e){var t=n(e),r=N(e);while(r&&C(r)&&"static"===y(r).position)r=N(r);return r&&("html"===g(r)||"body"===g(r)&&"static"===y(r).position)?t:r||T(e)||t}var O="top",I="bottom",L="right",D="left",P="auto",M=[O,I,L,D],B="start",F="end",$="clippingParents",U="viewport",j="popper",V="reference",K=M.reduce((function(e,t){return e.concat([t+"-"+B,t+"-"+F])}),[]),H=[].concat(M,[P]).reduce((function(e,t){return
Line truncated
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||||
* @license MIT
|
||||
*/function F(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}var $=void 0,U=!0,j=!1,V=0,K=1,H=2,G=3;function z(e,t){return u?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function q(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=0;r<e.byteLength;r++)if(e[r]!==t[r])return!1;return!0}function X(e,t){return e.byteLength===t.byteLength&&0===F(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function W(e,t){return e.byteLength===t.byteLength&&0===F(new Uint8Array(e),new Uint8Array(t))}function Y(e,t){return T(e)?T(t)&&p(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):R(e)?R(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):O(e)?O(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):I(e)?I(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):L(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function Q(e,t,r,n){if(e===t)return 0!==e||(!r||p(e,t));if(r){if("object"!==c(e))return"number"===typeof e&&m(e)&&m(t);if("object"!==c(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==c(e))return(null===t||"object"!==c(t))&&e==t;if(null===t||"object"!==c(t))return!1}var i=y(e),a=y(t);if(i!==a)return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var o=B(e,$),s=B(t,$);return o.length===s.length&&Z(e,t,r,n,K,o)}if("[object Object]"===i&&(!k(e)&&k(t)||!A(e)&&A(t)))return!1;if(S(e)){if(!S(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(x(e)){if(!x(t)||!z(e,t))return!1}else if(C(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(_(e)){if(r||!D(e)&&!P(e)){if(!X(e,t))return!1}else if(!q(e,t))return!1;var l=B(e,$),u=B(t,$);return l.length===u.length&&Z(e,t,r,n,V,l)}if(A(e))return!(!A(t)||e.size!==t.size)&&Z(e,t,r,n,H);if(k(e))return!(!k(t)||e.size!==t.size)&&Z(e,t,r,n,G);if(E(e)){if(!W(e,t))return!1}else if(N(e)&&!Y(e,t))return!1}return Z(e,t,r,n,V)}function J(e,t){return t.filter((function(t){return b(e,t)}))}function Z(e,t,r,n,i,a){if(5===arguments.length){a=Object.keys(e);var o=Object.keys(t);if(a.length!==o.length)return!1}for(var s=0;s<a.length;s++)if(!v(t,a[s]))return!1;if(r&&5===arguments.length){var l=f(e);if(0!==l.length){var c=0;for(s=0;s<l.length;s++){var u=l[s];if(b(e,u)){if(!b(t,u))return!1;a.push(u),c++}else if(b(t,u))return!1}var d=f(t);if(l.length!==d.length&&J(t,d).length!==c)return!1}else{var h=f(t);if(0!==h.length&&0!==J(t,h).length)return!1}}if(0===a.length&&(i===V||i===K&&0===e.length||0===e.size))return!0;if(void 0===n)n={val1:new Map,val2:new Map,position:0};else{var p=n.val1.get(e);if(void 0!==p){var m=n.val2.get(t);if(void 0!==m)return p===m}n.position++}n.val1.set(e,n.position),n.val2.set(t,n.position);var g=se(e,t,r,a,n,i);return n.val1.delete(e),n.val2.delete(t),g}function ee(e,t,r,n){for(var i=d(e),a=0;a<i.length;a++){var o=i[a];if(Q(t,o,r,n))return e.delete(o),!0}return!1}function te(e){switch(c(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(m(e))return!1}return!0}function re(e,t,r){var n=te(r);return null!=n?n:t.has(n)&&!e.has(n)}function ne(e,t,r,n,i){var a=te(r);if(null!=a)return a;var o=t.get(a);return!(void 0===o&&!t.has(a)||!Q(n,o,!1,i))&&(!e.has(a)&&Q(n,o,!1,i))}function ie(e,t,r,n){for(var i=null,a=d(e),o=0;o<a.length;o++){var s=a[o];if("object"===c(s)&&null!==s)null===i&&(i=new Set),i.add(s);else if(!t.has(s)){if(r)return!1;if(!re(e,t,s))return!1;null===i&&(i=new Set),i.add(s)}}if(null!==i){for(var l=d(t),u=0;u<l.length;u++){var h=l[u];if("object"===c(h)&&null!==h){if(!ee(i,h,r,n))return!1}else if(!r&&!e.has(h)&&!ee(i,h,r,n))return!1}return 0===i.size}return!0}function ae(e,t,r,n,i,a){for(var o=d(e),s=0;s<o.length;s++){var l=o[s];if(Q(r,l,i,a)&&Q(n,t.get(l),i,a))return e.delete(l),!0}return!1}function oe(e,t,r,i){for(var a=null,o=h(e),s=0;s<o.length;s++){var l=n(o[s],2),u=l[0],d=l[1];if("object"===c(u)&&null!==u)null===a&&(a=new Set),a.add(u);else{var p=t.get(u);if(void 0===p&&!t.has(u)||!Q(d,p,r,i)){if(r)return!1;if(!ne(e,t,u,d,i))return!1;null===a&&(a=new Set),a.add(u)}}}if(null!==a){for(var f=h(t),m=0;m<f.length;m++){var g=n(f[m],2),v=g[0],b=g[1];if("object"===c(v)&&null!==v){if(!ae(a,e,v,b,r,i))return!1}else if(!r&&(!e.has(v)||!Q(e.get(v),b,!1,i))&&!ae(a,e,v,b,!1,i))return!1}return 0===a.size}return!0}function se(e,t,r,n,i,a){var o=0;if(a===H){if(!ie(e,t,r,i))return!1}else if(a===G){if(!oe(e,t,r,i))return!1}else if(a===K)for(;o<e.length;o++){if(!v(e,o)){if(v(t,o))return!1;for(var s=Object.keys(e);o<s.length;o++){var l=s[o];if(!v(t,l)||!Q(e[l],t[l],r,i))return!1}return s.length===Object.keys(t).length}if(!v(t,o)||!Q(e[o],t[o],r,i))return!1}for(o=0;o<n.length;o++){varLine truncated
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/t.Buffer=u,t.SlowBuffer=E,t.INSPECT_MAX_BYTES=50;var s=2147483647;function l(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(r){return!1}}function c(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return d(e,t,r)}function d(e,t,r){if("string"===typeof e)return m(e,t);if(ArrayBuffer.isView(e))return v(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(J(e,ArrayBuffer)||e&&J(e.buffer,ArrayBuffer))return b(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(J(e,SharedArrayBuffer)||e&&J(e.buffer,SharedArrayBuffer)))return b(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);var i=y(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function h(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 p(e,t,r){return h(e),e<=0?c(e):void 0!==t?"string"===typeof r?c(e).fill(t,r):c(e).fill(t):c(e)}function f(e){return h(e),c(e<0?0:0|w(e))}function m(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|_(e,t),n=c(r),i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function g(e){for(var t=e.length<0?0:0|w(e.length),r=c(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function v(e){if(J(e,Uint8Array)){var t=new Uint8Array(e);return b(t.buffer,t.byteOffset,t.byteLength)}return g(e)}function b(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function y(e){if(u.isBuffer(e)){var t=0|w(e.length),r=c(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!==typeof e.length||Z(e.length)?c(0):g(e):"Buffer"===e.type&&Array.isArray(e.data)?g(e.data):void 0}function w(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function E(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||J(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);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Y(e).length;default:if(i)return n?-1:q(e).length;t=(""+t).toLowerCase(),i=!0}}function S(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return L(this,t,r);case"ascii":return M(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function k(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function x(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Z(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function A(e,t,r,n,i){var a,o=1,s=e.length,l=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)returLine truncated
|
||||
/*!
|
||||
* focus-trap 7.6.5
|
||||
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
||||
*/
|
||||
function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function $(e){if(Array.isArray(e))return F(e)}function U(e,t,r){return(t=q(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function V(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function K(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 H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?K(Object(r),!0).forEach((function(t){U(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e){return $(e)||j(e)||X(e)||V()}function z(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function q(e){var t=z(e,"string");return"symbol"==typeof t?t:t+""}function X(e,t){if(e){if("string"==typeof e)return F(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F(e,t):void 0}}var W={activateTrap:function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r._setPausedState(!0)}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}},Y=function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeof e.select},Q=function(e){return"Escape"===(null===e||void 0===e?void 0:e.key)||"Esc"===(null===e||void 0===e?void 0:e.key)||27===(null===e||void 0===e?void 0:e.keyCode)},J=function(e){return"Tab"===(null===e||void 0===e?void 0:e.key)||9===(null===e||void 0===e?void 0:e.keyCode)},Z=function(e){return J(e)&&!e.shiftKey},ee=function(e){return J(e)&&e.shiftKey},te=function(e){return setTimeout(e,0)},re=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"===typeof e?e.apply(void 0,r):e},ne=function(e){return e.target.shadowRoot&&"function"===typeof e.composedPath?e.composedPath()[0]:e.target},ie=[],ae=function(e,t){var r,n=(null===t||void 0===t?void 0:t.document)||document,i=(null===t||void 0===t?void 0:t.trapStack)||ie,a=H({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Z,isKeyBackward:ee},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(e,t,r){return e&&void 0!==e[t]?e[t]:a[r||t]},l=function(e,t){var r="function"===typeof(null===t||void 0===t?void 0:t.composedPath)?t.composedPath():void 0;return o.containerGroups.findIndex((function(t){var n=t.container,i=t.tabbableNodes;return n.contains(e)||(null===r||void 0===r?void 0:r.includes(n))||i.find((function(t){return t===e}))}))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.hasFallback,i=void 0!==r&&r,o=t.params,s=void 0===o?[]:o,l=a[e];if("function"===typeof l&&(l=l.apply(void 0,G(s))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"===typeof l){try{c=n.querySelector(l)}catch(u){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))}if(!c&&!i)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},u=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!B(e,a.tabbableOptions))if(l(n.activeElement)>=0)e=n.activeElement;else{var t=o.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||c("fallbackFocus")}else null===e&&(e=c("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map((function(e){var t=L(e,a.tabbableOptions),r=D(e,a.tabbableOptions),n=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,o=r.find((function(e){return P(e)})),s=r.slice().reverse().find((function(e){return P(e)})),l=!!t.find((function(e){return m(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:l,firstTabbableNode:n,lastTabbableNoLine truncated
|
||||
/*!
|
||||
|
||||
diff v4.0.1
|
||||
|
||||
Software License Agreement (BSD License)
|
||||
|
||||
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use of this software in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the
|
||||
following disclaimer in the documentation and/or other
|
||||
materials provided with the distribution.
|
||||
|
||||
* Neither the name of Kevin Decker nor the names of its
|
||||
contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior
|
||||
written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
||||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
||||
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
|
||||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@license
|
||||
*/
|
||||
(function(e,r){r(t)})(0,(function(e){"use strict";function t(){}function r(e,t,r,n,i){for(var a=0,o=t.length,s=0,l=0;a<o;a++){var c=t[a];if(c.removed){if(c.value=e.join(n.slice(l,l+c.count)),l+=c.count,a&&t[a-1].added){var u=t[a-1];t[a-1]=t[a],t[a]=u}}else{if(!c.added&&i){var d=r.slice(s,s+c.count);d=d.map((function(e,t){var r=n[l+t];return r.length>e.length?r:e})),c.value=e.join(d)}else c.value=e.join(r.slice(s,s+c.count));s+=c.count,c.added||(l+=c.count)}}var h=t[o-1];return o>1&&"string"===typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[o-2].value+=h.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.callback;"function"===typeof i&&(a=i,i={}),this.options=i;var o=this;function s(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var l=t.length,c=e.length,u=1,d=l+c,h=[{newPos:-1,components:[]}],p=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=l&&p+1>=c)return s([{value:this.join(t),count:t.length}]);function f(){for(var i=-1*u;i<=u;i+=2){var a=void 0,d=h[i-1],p=h[i+1],f=(p?p.newPos:0)-i;d&&(h[i-1]=void 0);var m=d&&d.newPos+1<l,g=p&&0<=f&&f<c;if(m||g){if(!m||g&&d.newPos<p.newPos?(a=n(p),o.pushComponent(a.components,void 0,!0)):(a=d,a.newPos++,o.pushComponent(a.components,!0,void 0)),f=o.extractCommon(a,t,e,i),a.newPos+1>=l&&f+1>=c)return s(r(o,a.components,t,e,o.useLongestToken));h[i]=a}else h[i]=void 0}u++}if(a)(function e(){setTimeout((function(){if(u>d)return a();f()||e()}),0)})();else while(u<=d){var m=f();if(m)return m}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){var i=t.length,a=r.length,o=e.newPos,s=o-n,l=0;while(o+1<i&&s+1<a&&this.equals(t[o+1],r[s+1]))o++,s++,l++;return l&&e.components.push({count:l}),e.newPos=o,s},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}};var i=new t;function a(e,t,r){return i.diff(e,t,r)}function o(e,t){if("function"===typeof e)t.callback=e;else if(e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}var s=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,c=new t;function u(e,t,r){return r=o(r,{ignoreWhitespace:!0}),c.diff(e,t,r)}function d(e,t,r){return c.diff(e,t,r)}c.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},c.tokenize=function(e){for(var t=e.split(/(\s+|[()[\]{}'"]|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&s.test(t[r])&&s.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t};var h=new t;function p(e,t,r){return h.diff(e,t,r)}function f(e,t,r){var n=o(r,{ignoreWhitespace:!0});return h.diff(e,t,n)}h.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t};var m=new t;function g(e,t,r){return m.diff(e,t,r)}m.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)};var v=new t;function b(e,t,r){return v.diff(e,t,r)}function y(e){return y="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},y(e)}function w(e){return E(e)||_(e)||S()}function E(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function _(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function S(){throw new TypeError("Invalid attempt to spread non-iterable instance")}v.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)};var k=Object.prototype.toString,x=new t;function A(e,t,r){return x.diff(e,t,r)}function C(e,t,r,n,i){var a,o;for(t=t||[],r=r||[],n&&(e=n(i,e)),a=0;a<t.length;a+=1)if(t[a]===e)return r[a];if("[object Array]"===k.call(e)){for(t.push(e),o=new Array(e.length),r.push(o),a=0;a<e.length;a+=1)o[a]=C(e[a],t,r,n,i);return t.pop(),r.pop(),o}if(e&&e.toJSON&&(e=e.toJSON()),"object"===y(e)&&null!==e){t.push(e),o={},r.push(o);var s,l=[];for(s in e)e.hasOwnProperty(s)&&l.push(s);for(l.sort(),a=0;a<l.length;a+=1)s=l[a],o[s]=C(e[s],t,r,n,s);t.pop(),r.pop()}else o=e;return o}x.useLongestToken=!0,x.tokenize=h.tokenize,x.castInput=function(e){var t=this.options,r=t.undefinedReplacement,n=t.stringifyReplacer,i=void 0===n?funLine truncated
|
||||
/**
|
||||
* A handy class to calculate color values.
|
||||
*
|
||||
* @version 1.0
|
||||
* @author Robert Eisele <robert@xarg.org>
|
||||
* @copyright Copyright (c) 2010, Robert Eisele
|
||||
* @link http://www.xarg.org/2010/03/generate-client-side-png-files-using-javascript/
|
||||
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
|
||||
*
|
||||
*/
|
||||
(function(){function t(e,t){for(var r=2;r<arguments.length;r++)for(var n=0;n<arguments[r].length;n++)e[t++]=arguments[r].charAt(n)}function r(e){return String.fromCharCode(e>>8&255,255&e)}function n(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function i(e){return String.fromCharCode(255&e,e>>8&255)}var a=function(e,a,o){this.width=e,this.height=a,this.depth=o,this.pix_size=a*(e+1),this.data_size=2+this.pix_size+5*Math.floor((65534+this.pix_size)/65535)+4,this.ihdr_offs=0,this.ihdr_size=25,this.plte_offs=this.ihdr_offs+this.ihdr_size,this.plte_size=8+3*o+4,this.trns_offs=this.plte_offs+this.plte_size,this.trns_size=8+o+4,this.idat_offs=this.trns_offs+this.trns_size,this.idat_size=8+this.data_size+4,this.iend_offs=this.idat_offs+this.idat_size,this.iend_size=12,this.buffer_size=this.iend_offs+this.iend_size,this.buffer=new Array,this.palette=new Object,this.pindex=0;for(var s=new Array,l=0;l<this.buffer_size;l++)this.buffer[l]="\0";t(this.buffer,this.ihdr_offs,n(this.ihdr_size-12),"IHDR",n(e),n(a),"\b"),t(this.buffer,this.plte_offs,n(this.plte_size-12),"PLTE"),t(this.buffer,this.trns_offs,n(this.trns_size-12),"tRNS"),t(this.buffer,this.idat_offs,n(this.idat_size-12),"IDAT"),t(this.buffer,this.iend_offs,n(this.iend_size-12),"IEND");var c=30912;c+=31-c%31,t(this.buffer,this.idat_offs+8,r(c));for(l=0;(l<<16)-1<this.pix_size;l++){var u,d;l+65535<this.pix_size?(u=65535,d="\0"):(u=this.pix_size-(l<<16)-l,d=""),t(this.buffer,this.idat_offs+8+2+(l<<16)+(l<<2),d,i(u),i(~u))}for(l=0;l<256;l++){for(var h=l,p=0;p<8;p++)h=1&h?-306674912^h>>1&2147483647:h>>1&2147483647;s[l]=h}this.index=function(e,t){var r=t*(this.width+1)+e+1,n=this.idat_offs+8+2+5*Math.floor(r/65535+1)+r;return n},this.color=function(e,t,r,n){n=n>=0?n:255;var i=((n<<8|e)<<8|t)<<8|r;if("undefined"==typeof this.palette[i]){if(this.pindex==this.depth)return"\0";var a=this.plte_offs+8+3*this.pindex;this.buffer[a+0]=String.fromCharCode(e),this.buffer[a+1]=String.fromCharCode(t),this.buffer[a+2]=String.fromCharCode(r),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(n),this.palette[i]=String.fromCharCode(this.pindex++)}return this.palette[i]},this.getBase64=function(){var e,t,r,n,i,a,o,s=this.getDump(),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=s.length,u=0,d="";do{e=s.charCodeAt(u),n=e>>2,t=s.charCodeAt(u+1),i=(3&e)<<4|t>>4,r=s.charCodeAt(u+2),a=c<u+2?64:(15&t)<<2|r>>6,o=c<u+3?64:63&r,d+=l.charAt(n)+l.charAt(i)+l.charAt(a)+l.charAt(o)}while((u+=3)<c);return d},this.getDump=function(){for(var e=65521,r=5552,i=1,a=0,o=r,l=0;l<this.height;l++)for(var c=-1;c<this.width;c++)i+=this.buffer[this.index(c,l)].charCodeAt(0),a+=i,0==(o-=1)&&(i%=e,a%=e,o=r);function u(e,r,i){for(var a=-1,o=4;o<i-4;o+=1)a=s[255&(a^e[r+o].charCodeAt(0))]^a>>8&16777215;t(e,r+i-4,n(~a))}return i%=e,a%=e,t(this.buffer,this.idat_offs+this.idat_size-8,n(a<<16|i)),u(this.buffer,this.ihdr_offs,this.ihdr_size),u(this.buffer,this.plte_offs,this.plte_size),u(this.buffer,this.trns_offs,this.trns_size),u(this.buffer,this.idat_offs,this.idat_size),u(this.buffer,this.iend_offs,this.iend_size),"PNG\r\n\n"+this.buffer.join("")}};"undefined"!==typeof e.exports?e.exports=a:window.PNGlib=a})()},39318:function(e,t){
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
t.read=function(e,t,r,n,i){var a,o,s=8*i-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=c}return(p?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,f=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),t+=o+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+p]=255&s,p+=f,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*m}},35615: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 r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},55387:function(e,t,r){"use strict";var n=r(51913)(),i=r(79818),a=i("Object.prototype.toString"),o=function(e){return!(n&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===a(e)},s=function(e){return!!o(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==a(e)&&"[object Function]"===a(e.callee)},l=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=l?o:s},89617:function(e){"use strict";var t,r,n=Function.prototype.toString,i="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof i&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i((function(){throw 42}),null,t)}catch(y){y!==r&&(i=null)}else i=null;var a=/^\s*class\b/,o=function(e){try{var t=n.call(e);return a.test(t)}catch(r){return!1}},s=function(e){try{return!o(e)&&(n.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="[object Object]",u="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",p="[object HTML document.all class]",f="[object HTMLCollection]",m="function"===typeof Symbol&&!!Symbol.toStringTag,g=!(0 in[,]),v=function(){return!1};if("object"===typeof document){var b=document.all;l.call(b)===l.call(document.all)&&(v=function(e){if((g||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=l.call(e);return(t===h||t===p||t===f||t===c)&&null==e("")}catch(r){}return!1})}e.exports=i?function(e){if(v(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{i(e,null,t)}catch(n){if(n!==r)return!1}return!o(e)&&s(e)}:function(e){if(v(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(m)return s(e);if(o(e))return!1;var t=l.call(e);return!(t!==u&&t!==d&&!/^\[object HTML/.test(t))&&s(e)}},2625:function(e,t,r){"use strict";var n,i=r(14607),a=r(46132),o=a(/^\s*(?:function)?\*/),s=r(51913)(),l=r(46369),c=i("Object.prototype.toString"),u=i("Function.prototype.toString"),d=function(){if(!s)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!==typeof e)return!1;if(o(u(e)))return!0;if(!s){var t=c(e);return"[object GeneratorFunction]"===t}if(!l)return!1;if("undefined"===typeof n){var r=d();n=!!r&&l(r)}return l(e)===n}},98006:function(e){"use strict";e.exports=function(e){return e!==e}},7838:function(e,t,r){"use strict";var n=r(28498),i=r(41857),a=r(98006),o=r(41591),s=r(61641),l=n(o(),Number);i(l,{getPolyfill:o,implementation:a,shim:s}),e.exports=l},41591:function(e,t,r){"use strict";var n=r(98006);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:n}},61641:function(e,t,r){"use strict";var n=r(41857),i=r(41591);e.exports=function(){var e=i();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},52672:function(e,t,r){"use strict";var n,i=r(14607),a=r(51913)(),o=r(78554),s=r(69336);if(a){var l=i("RegExp.prototype.exec"),c={},u=function(){throw c},d={toString:u,valueOf:u};"symbol"===typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=u),n=function(e){if(!e||"object"!==typeof e)return!1;var t=s(e,"lastIndex"),r=t&&o(t,"value");if(!r)return!1;try{l(e,d)}catch(n){return n===c}}}else{var h=i("Object.prototype.toString"),p="[object RegExp]";n=function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&h(e)===p}}e.exports=n},95943:function(e,t,r){"use strict";var n=r(52730);e.exports=function(e){return!!n(e)}},24138:function(e){e.exports=i;var t=/^(?:\w+:)?\/\/(\S+)$/,r=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,n=/^[^\s\.]+\.\S{2,}$/;function i(e){if("string"!==typeof e)return!1;var i=e.match(t);if(!i)return!1;var a=i[1];return!!a&&!(!r.test(a)&&!n.test(a))}},39198:function(e,t,r){var n=r(33486)["hp"],i={userAgentLine truncated
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
var c,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="=";function h(e){var t,r,n="";for(t=0;t+3<=e.length;t+=3)r=parseInt(e.substring(t,t+3),16),n+=u.charAt(r>>6)+u.charAt(63&r);if(t+1==e.length?(r=parseInt(e.substring(t,t+1),16),n+=u.charAt(r<<2)):t+2==e.length&&(r=parseInt(e.substring(t,t+2),16),n+=u.charAt(r>>2)+u.charAt((3&r)<<4)),d)while((3&n.length)>0)n+=d;return n}function p(e){var t,r,n,i="",a=0;for(t=0;t<e.length;++t){if(e.charAt(t)==d)break;n=u.indexOf(e.charAt(t)),n<0||(0==a?(i+=C(n>>2),r=3&n,a=1):1==a?(i+=C(r<<2|n>>4),r=15&n,a=2):2==a?(i+=C(r),i+=C(n>>2),r=3&n,a=3):(i+=C(r<<2|n>>4),i+=C(15&n),a=0))}return 1==a&&(i+=C(r<<2)),i}function f(e){var t,r=p(e),n=new Array;for(t=0;2*t<r.length;++t)n[t]=parseInt(r.substring(2*t,2*t+2),16);return n}var m=0xdeadbeefcafe,g=15715070==(16777215&m);function v(e,t,r){null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function b(){return new v(null)}function y(e,t,r,n,i,a){while(--a>=0){var o=t*this[e++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i}function w(e,t,r,n,i,a){var o=32767&t,s=t>>15;while(--a>=0){var l=32767&this[e],c=this[e++]>>15,u=s*l+c*o;l=o*l+((32767&u)<<15)+r[n]+(1073741823&i),i=(l>>>30)+(u>>>15)+s*c+(i>>>30),r[n++]=1073741823&l}return i}function E(e,t,r,n,i,a){var o=16383&t,s=t>>14;while(--a>=0){var l=16383&this[e],c=this[e++]>>14,u=s*l+c*o;l=o*l+((16383&u)<<14)+r[n]+i,i=(l>>28)+(u>>14)+s*c,r[n++]=268435455&l}return i}g&&"Microsoft Internet Explorer"==i.appName?(v.prototype.am=w,c=30):g&&"Netscape"!=i.appName?(v.prototype.am=y,c=26):(v.prototype.am=E,c=28),v.prototype.DB=c,v.prototype.DM=(1<<c)-1,v.prototype.DV=1<<c;var _=52;v.prototype.FV=Math.pow(2,_),v.prototype.F1=_-c,v.prototype.F2=2*c-_;var S,k,x="0123456789abcdefghijklmnopqrstuvwxyz",A=new Array;for(S="0".charCodeAt(0),k=0;k<=9;++k)A[S++]=k;for(S="a".charCodeAt(0),k=10;k<36;++k)A[S++]=k;for(S="A".charCodeAt(0),k=10;k<36;++k)A[S++]=k;function C(e){return x.charAt(e)}function N(e,t){var r=A[e.charCodeAt(t)];return null==r?-1:r}function T(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function R(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function O(e){var t=b();return t.fromInt(e),t}function I(e,t){var r;if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;var n=e.length,i=!1,a=0;while(--n>=0){var o=8==r?255&e[n]:N(e,n);o<0?"-"==e.charAt(n)&&(i=!0):(i=!1,0==a?this[this.t++]=o:a+r>this.DB?(this[this.t-1]|=(o&(1<<this.DB-a)-1)<<a,this[this.t++]=o>>this.DB-a):this[this.t-1]|=o<<a,a+=r,a>=this.DB&&(a-=this.DB))}8==r&&0!=(128&e[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),i&&v.ZERO.subTo(this,this)}function L(){var e=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t}function D(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,n=(1<<t)-1,i=!1,a="",o=this.t,s=this.DB-o*this.DB%t;if(o-- >0){s<this.DB&&(r=this[o]>>s)>0&&(i=!0,a=C(r));while(o>=0)s<t?(r=(this[o]&(1<<s)-1)<<t-s,r|=this[--o]>>(s+=this.DB-t)):(r=this[o]>>(s-=t)&n,s<=0&&(s+=this.DB,--o)),r>0&&(i=!0),i&&(a+=C(r))}return i?a:"0"}function P(){var e=b();return v.ZERO.subTo(this,e),e}function M(){return this.s<0?this.negate():this}function B(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(t=r-e.t,0!=t)return this.s<0?-t:t;while(--r>=0)if(0!=(t=this[r]-e[r]))return t;return 0}function F(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function $(){return this.t<=0?0:this.DB*(this.t-1)+F(this[this.t-1]^this.s&this.DM)}function U(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s}function j(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s}function V(e,t){var r,n=e%this.DB,i=this.DB-n,a=(1<<i)-1,o=Math.floor(e/this.DB),s=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+o+1]=this[r]>>i|s,s=(this[r]&a)<<n;for(r=o-1;r>=0;--r)t[r]=0;t[o]=s,t.t=this.t+o+1,t.s=this.s,t.clamp()}function K(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,i=this.DB-n,a=(1<<n)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&a)<<i,t[o-r]=this[o]>>n;n>0&&(t[this.t-r-1]|=(this.s&a)<<i),t.t=this.t-r,t.clamp()}}function H(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n-=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()}function G(e,t){var r=this.abs(),n=e.abs(),i=r.t;t.t=i+n.t;while(--i>=0)t[i]=0;for(i=0;i<n.t;++i)t[i+r.t]=r.am(0,Line truncated
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
function de(){var e=b();return this.copyTo(e),e}function he(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function pe(){return 0==this.t?this.s:this[0]<<24>>24}function fe(){return 0==this.t?this.s:this[0]<<16>>16}function me(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function ge(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function ve(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=O(r),i=b(),a=b(),o="";this.divRemTo(n,i,a);while(i.signum()>0)o=(r+a.intValue()).toString(e).substr(1)+o,i.divRemTo(n,i,a);return a.intValue().toString(e)+o}function be(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),i=!1,a=0,o=0,s=0;s<e.length;++s){var l=N(e,s);l<0?"-"==e.charAt(s)&&0==this.signum()&&(i=!0):(o=t*o+l,++a>=r&&(this.dMultiply(n),this.dAddOffset(o,0),a=0,o=0))}a>0&&(this.dMultiply(Math.pow(t,a)),this.dAddOffset(o,0)),i&&v.ZERO.subTo(this,this)}function ye(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else{this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(v.ONE.shiftLeft(e-1),Ce,this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(t))this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(v.ONE.shiftLeft(e-1),this)}else{var n=new Array,i=7&e;n.length=1+(e>>3),t.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}}function we(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,i=0;if(e-- >0){n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[i++]=r|this.s<<this.DB-n);while(e>=0)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(t[i++]=r)}return t}function Ee(e){return 0==this.compareTo(e)}function _e(e){return this.compareTo(e)<0?this:e}function Se(e){return this.compareTo(e)>0?this:e}function ke(e,t,r){var n,i,a=Math.min(e.t,this.t);for(n=0;n<a;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(i=e.s&this.DM,n=a;n<this.t;++n)r[n]=t(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=a;n<e.t;++n)r[n]=t(i,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()}function xe(e,t){return e&t}function Ae(e){var t=b();return this.bitwiseTo(e,xe,t),t}function Ce(e,t){return e|t}function Ne(e){var t=b();return this.bitwiseTo(e,Ce,t),t}function Te(e,t){return e^t}function Re(e){var t=b();return this.bitwiseTo(e,Te,t),t}function Oe(e,t){return e&~t}function Ie(e){var t=b();return this.bitwiseTo(e,Oe,t),t}function Le(){for(var e=b(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e}function De(e){var t=b();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t}function Pe(e){var t=b();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t}function Me(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Be(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+Me(this[e]);return this.s<0?this.t*this.DB:-1}function Fe(e){var t=0;while(0!=e)e&=e-1,++t;return t}function $e(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=Fe(this[r]^t);return e}function Ue(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function je(e,t){var r=v.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r}function Ve(e){return this.changeBit(e,Ce)}function Ke(e){return this.changeBit(e,Oe)}function He(e){return this.changeBit(e,Te)}function Ge(e,t){var r=0,n=0,i=Math.min(e.t,this.t);while(r<i)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){n+=e.s;while(r<this.t)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{n+=this.s;while(r<e.t)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()}function ze(e){var t=b();return this.addTo(e,t),t}function qe(e){var t=b();return this.subTo(e,t),t}function Xe(e){var t=b();return this.multiplyTo(e,t),t}function We(){var e=b();return this.squareTo(e),e}function Ye(e){var t=b();return this.divRemTo(e,t,null),t}function Qe(e){var t=b();return this.divRemTo(e,null,t),t}function Je(e){var t=b(),r=b();return this.divRemTo(e,t,r),new Array(t,r)}function Ze(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()}function et(e,t){if(0!=e){while(this.t<=t)this[this.t++]=0;this[t]+=e;while(this[t]>=this.DV)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}}function tt(){}function rt(e){return e}function nt(e,t,r){e.multiplyTo(t,r)}function it(e,t){e.squareTo(t)}function at(e){return this.exp(e,new tt)}function ot(e,t,r){var n,i=Math.min(this.t+e.t,t);r.s=0,r.t=i;while(i>0)r[--i]=0;for(n=r.t-this.t;i<n;++i)r[i+this.t]=this.am(0,e[i],r,i,0,this.t);for(n=Math.min(e.t,t);i<n;++i)this.am(0,e[i],r,i,0,t-i);r.clamp()}function st(e,t,r){--t;var n=r.t=this.t+e.t-t;r.s=0;while(--n>=0)r[n]=0;for(n=Math.maLine truncated
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
function _t(){this.i=0,this.j=0,this.S=new Array}function St(e){var t,r,n;for(t=0;t<256;++t)this.S[t]=t;for(r=0,t=0;t<256;++t)r=r+this.S[t]+e[t%e.length]&255,n=this.S[t],this.S[t]=this.S[r],this.S[r]=n;this.i=0,this.j=0}function kt(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]}function xt(){return new _t}v.prototype.chunkSize=me,v.prototype.toRadix=ve,v.prototype.fromRadix=be,v.prototype.fromNumber=ye,v.prototype.bitwiseTo=ke,v.prototype.changeBit=je,v.prototype.addTo=Ge,v.prototype.dMultiply=Ze,v.prototype.dAddOffset=et,v.prototype.multiplyLowerTo=ot,v.prototype.multiplyUpperTo=st,v.prototype.modInt=gt,v.prototype.millerRabin=Et,v.prototype.clone=de,v.prototype.intValue=he,v.prototype.byteValue=pe,v.prototype.shortValue=fe,v.prototype.signum=ge,v.prototype.toByteArray=we,v.prototype.equals=Ee,v.prototype.min=_e,v.prototype.max=Se,v.prototype.and=Ae,v.prototype.or=Ne,v.prototype.xor=Re,v.prototype.andNot=Ie,v.prototype.not=Le,v.prototype.shiftLeft=De,v.prototype.shiftRight=Pe,v.prototype.getLowestSetBit=Be,v.prototype.bitCount=$e,v.prototype.testBit=Ue,v.prototype.setBit=Ve,v.prototype.clearBit=Ke,v.prototype.flipBit=He,v.prototype.add=ze,v.prototype.subtract=qe,v.prototype.multiply=Xe,v.prototype.divide=Ye,v.prototype.remainder=Qe,v.prototype.divideAndRemainder=Je,v.prototype.modPow=ft,v.prototype.modInverse=vt,v.prototype.pow=at,v.prototype.gcd=mt,v.prototype.isProbablePrime=wt,v.prototype.square=We,_t.prototype.init=St,_t.prototype.next=kt;var At,Ct,Nt,Tt=256;
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/function Rt(e){Ct[Nt++]^=255&e,Ct[Nt++]^=e>>8&255,Ct[Nt++]^=e>>16&255,Ct[Nt++]^=e>>24&255,Nt>=Tt&&(Nt-=Tt)}function Ot(){Rt((new Date).getTime())}if(null==Ct){var It;if(Ct=new Array,Nt=0,void 0!==a&&(void 0!==a.crypto||void 0!==a.msCrypto)){var Lt=a.crypto||a.msCrypto;if(Lt.getRandomValues){var Dt=new Uint8Array(32);for(Lt.getRandomValues(Dt),It=0;It<32;++It)Ct[Nt++]=Dt[It]}else if("Netscape"==i.appName&&i.appVersion<"5"){var Pt=a.crypto.random(32);for(It=0;It<Pt.length;++It)Ct[Nt++]=255&Pt.charCodeAt(It)}}while(Nt<Tt)It=Math.floor(65536*Math.random()),Ct[Nt++]=It>>>8,Ct[Nt++]=255&It;Nt=0,Ot()}function Mt(){if(null==At){for(Ot(),At=xt(),At.init(Ct),Nt=0;Nt<Ct.length;++Nt)Ct[Nt]=0;Nt=0}return At.next()}function Bt(e){var t;for(t=0;t<e.length;++t)e[t]=Mt()}function Ft(){}
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
function $t(e,t){return new v(e,t)}function Ut(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function jt(e,t){if(this.isPublic=!0,this.isPrivate=!1,"string"!==typeof e)this.n=e,this.e=t;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA public key";this.n=$t(e,16),this.e=parseInt(t,16)}}function Vt(e){return e.modPowInt(this.e,this.n)}function Kt(e,t,r){if(this.isPrivate=!0,"string"!==typeof e)this.n=e,this.e=t,this.d=r;else{if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key";this.n=$t(e,16),this.e=parseInt(t,16),this.d=$t(r,16)}}function Ht(e,t,r,n,i,a,o,s){if(this.isPrivate=!0,this.isPublic=!1,null==e)throw"RSASetPrivateEx N == null";if(null==t)throw"RSASetPrivateEx E == null";if(0==e.length)throw"RSASetPrivateEx N.length == 0";if(0==t.length)throw"RSASetPrivateEx E.length == 0";if(!(null!=e&&null!=t&&e.length>0&&t.length>0))throw"Invalid RSA private key in RSASetPrivateEx";this.n=$t(e,16),this.e=parseInt(t,16),this.d=$t(r,16),this.p=$t(n,16),this.q=$t(i,16),this.dmp1=$t(a,16),this.dmq1=$t(o,16),this.coeff=$t(s,16)}function Gt(e,t){var r=new Ft,n=e>>1;this.e=parseInt(t,16);for(var i=new v(t,16),a=e/2-100,o=v.ONE.shiftLeft(a);;){for(;;)if(this.p=new v(e-n,1,r),0==this.p.subtract(v.ONE).gcd(i).compareTo(v.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new v(n,1,r),0==this.q.subtract(v.ONE).gcd(i).compareTo(v.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var l=this.q.subtract(this.p).abs();if(!(l.bitLength()<a||l.compareTo(o)<=0)){var c=this.p.subtract(v.ONE),u=this.q.subtract(v.ONE),d=c.multiply(u);if(0==d.gcd(i).compareTo(v.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=i.modInverse(d),this.dmp1=this.d.mod(c),this.dmq1=this.d.mod(u),this.coeff=this.q.modInverse(this.p);break}}}this.isPrivate=!0}function zt(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);var t=e.mod(this.p).modPow(this.dmp1,this.p),r=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(r)<0)t=t.add(this.p);return t.subtract(r).multiply(this.coeff).mod(this.p).multiply(this.q).add(r)}
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
function qt(e,t){this.x=t,this.q=e}function Xt(e){return e==this||this.q.equals(e.q)&&this.x.equals(e.x)}function Wt(){return this.x}function Yt(){return new qt(this.q,this.x.negate().mod(this.q))}function Qt(e){return new qt(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function Jt(e){return new qt(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function Zt(e){return new qt(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function er(){return new qt(this.q,this.x.square().mod(this.q))}function tr(e){return new qt(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function rr(e,t,r,n){this.curve=e,this.x=t,this.y=r,this.z=null==n?v.ONE:n,this.zinv=null}function nr(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function ir(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))}function ar(e){return e==this||(this.isInfinity()?e.isInfinity():e.isInfinity()?this.isInfinity():(t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),!!t.equals(v.ZERO)&&(r=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),r.equals(v.ZERO))));var t,r}function or(){return null==this.x&&null==this.y||this.z.equals(v.ZERO)&&!this.y.toBigInteger().equals(v.ZERO)}function sr(){return new rr(this.curve,this.x,this.y.negate(),this.z)}function lr(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q),r=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(v.ZERO.equals(r))return v.ZERO.equals(t)?this.twice():this.curve.getInfinity();var n=new v("3"),i=this.x.toBigInteger(),a=this.y.toBigInteger(),o=(e.x.toBigInteger(),e.y.toBigInteger(),r.square()),s=o.multiply(r),l=i.multiply(o),c=t.square().multiply(this.z),u=c.subtract(l.shiftLeft(1)).multiply(e.z).subtract(s).multiply(r).mod(this.curve.q),d=l.multiply(n).multiply(t).subtract(a.multiply(s)).subtract(c.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),h=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new rr(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(d),h)}function cr(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new v("3"),t=this.x.toBigInteger(),r=this.y.toBigInteger(),n=r.multiply(this.z),i=n.multiply(r).mod(this.curve.q),a=this.curve.a.toBigInteger(),o=t.square().multiply(e);v.ZERO.equals(a)||(o=o.add(this.z.square().multiply(a))),o=o.mod(this.curve.q);var s=o.square().subtract(t.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),l=o.multiply(e).multiply(t).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(o.square().multiply(o)).mod(this.curve.q),c=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new rr(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(l),c)}function ur(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,r=e,n=r.multiply(new v("3")),i=this.negate(),a=this,o=this.curve.q.subtract(e),s=o.multiply(new v("3")),l=new rr(this.curve,this.x,this.y),c=l.negate();for(t=n.bitLength()-2;t>0;--t){a=a.twice();var u=n.testBit(t),d=r.testBit(t);u!=d&&(a=a.add(u?this:i))}for(t=s.bitLength()-2;t>0;--t){l=l.twice();var h=s.testBit(t),p=o.testBit(t);h!=p&&(l=l.add(h?l:c))}return a}function dr(e,t,r){var n;n=e.bitLength()>r.bitLength()?e.bitLength()-1:r.bitLength()-1;var i=this.curve.getInfinity(),a=this.add(t);while(n>=0)i=i.twice(),e.testBit(n)?i=r.testBit(n)?i.add(a):i.add(this):r.testBit(n)&&(i=i.add(t)),--n;return i}function hr(e,t,r){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(r),this.infinity=new rr(this,null,null)}function pr(){return this.q}function fr(){return this.a}function mr(){return this.b}function gr(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function vr(){return this.infinity}function br(e){return new qt(this.q,e)}function yr(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:var t=e.substr(0,2),r=(e.substr(2),this.fromBigInteger(new v(l,16))),n=this.getA(),i=this.getB(),a=r.square().add(n).multiply(r).add(i),o=a.sqrt();return"03"==t&&(o=o.negate()),new rr(this,r,o);case 4:case 6:case 7:var s=(e.length-2)/2,l=e.substr(2,s),c=e.substr(s+2,s);return new rr(this,this.fromBigInteger(new v(l,16)),this.fromBigInteger(new v(c,16)));default:return null}}Ft.prototype.nextBytes=Bt,Ut.prototype.doPublic=Vt,Ut.prototype.setPublic=jt,Ut.prototype.type="RSA",Ut.prototype.doPrivate=zt,Ut.prototype.setPrivate=Kt,Ut.prototype.setPrivateEx=Ht,Ut.prototype.generate=Gt,qt.prototype.equals=Xt,qt.prototype.tLine truncated
|
||||
/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib
|
||||
*/
|
||||
qt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},rr.prototype.getEncoded=function(e){var t=function(e,t){var r=e.toByteArrayUnsigned();if(t<r.length)r=r.slice(r.length-t);else while(t>r.length)r.unshift(0);return r},r=this.getX().toBigInteger(),n=this.getY().toBigInteger(),i=t(r,32);return e?n.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(t(n,32))),i},rr.decodeFrom=function(e,t){t[0];var r=t.length-1,n=t.slice(1,1+r/2),i=t.slice(1+r/2,1+r);n.unshift(0),i.unshift(0);var a=new v(n),o=new v(i);return new rr(e,e.fromBigInteger(a),e.fromBigInteger(o))},rr.decodeFromHex=function(e,t){t.substr(0,2);var r=t.length-2,n=t.substr(2,r/2),i=t.substr(2+r/2,r/2),a=new v(n,16),o=new v(i,16);return new rr(e,e.fromBigInteger(a),e.fromBigInteger(o))},rr.prototype.add2D=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;if(this.x.equals(e.x))return this.y.equals(e.y)?this.twice():this.curve.getInfinity();var t=e.x.subtract(this.x),r=e.y.subtract(this.y),n=r.divide(t),i=n.square().subtract(this.x).subtract(e.x),a=n.multiply(this.x.subtract(i)).subtract(this.y);return new rr(this.curve,i,a)},rr.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=this.curve.fromBigInteger(v.valueOf(2)),t=this.curve.fromBigInteger(v.valueOf(3)),r=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),n=r.square().subtract(this.x.multiply(e)),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new rr(this.curve,n,i)},rr.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,r=e,n=r.multiply(new v("3")),i=this.negate(),a=this;for(t=n.bitLength()-2;t>0;--t){a=a.twice();var o=n.testBit(t),s=r.testBit(t);o!=s&&(a=a.add2D(o?this:i))}return a},rr.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),r=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),i=this.curve.getQ(),a=t.multiply(t).mod(i),o=e.multiply(e).multiply(e).add(r.multiply(e)).add(n).mod(i);return a.equals(o)},rr.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},rr.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),r=this.getY().toBigInteger();if(t.compareTo(v.ONE)<0||t.compareTo(e.subtract(v.ONE))>0)throw new Error("x coordinate out of bounds");if(r.compareTo(v.ONE)<0||r.compareTo(e.subtract(v.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(e).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};
|
||||
/*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval
|
||||
*/
|
||||
var wr=function(){var e="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)",t='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))',r='(?:"'+t+'*")',n=new RegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+e+"|"+r+")","g"),i=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),a={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function o(e,t,r){return t?a[t]:String.fromCharCode(parseInt(r,16))}var s=new String(""),l="\\",c=Object.hasOwnProperty;return function(e,t){var r,a,u=e.match(n),d=u[0],h=!1;"{"===d?r={}:"["===d?r=[]:(r=[],h=!0);for(var p=[r],f=1-h,m=u.length;f<m;++f){var g;switch(d=u[f],d.charCodeAt(0)){default:g=p[0],g[a||g.length]=+d,a=void 0;break;case 34:if(d=d.substring(1,d.length-1),-1!==d.indexOf(l)&&(d=d.replace(i,o)),g=p[0],!a){if(!(g instanceof Array)){a=d||s;break}a=g.length}g[a]=d,a=void 0;break;case 91:g=p[0],p.unshift(g[a||g.length]=[]),a=void 0;break;case 93:p.shift();break;case 102:g=p[0],g[a||g.length]=!1,a=void 0;break;case 110:g=p[0],g[a||g.length]=null,a=void 0;break;case 116:g=p[0],g[a||g.length]=!0,a=void 0;break;case 123:g=p[0],p.unshift(g[a||g.length]={}),a=void 0;break;case 125:p.shift();break}}if(h){if(1!==p.length)throw new Error;r=r[0]}else if(p.length)throw new Error;if(t){var v=function(e,r){var n=e[r];if(n&&"object"===typeof n){var i=null;for(var a in n)if(c.call(n,a)&&n!==e){var o=v(n,a);void 0!==o?n[a]=o:(i||(i=[]),i.push(a))}if(i)for(var s=i.length;--s>=0;)delete n[i[s]]}return t.call(e,r,n)};r=v({"":r},"")}return r}}();"undefined"!=typeof Er&&Er||(Er={}),"undefined"!=typeof Er.asn1&&Er.asn1||(Er.asn1={}),Er.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){return Cn(e)},this.getPEMStringFromHex=function(e,t){return Wr(e,t)},this.newObject=function(e){var t=Er,r=t.asn1,n=r.ASN1Object,i=r.DERBoolean,a=r.DERInteger,o=r.DERBitString,s=r.DEROctetString,l=r.DERNull,c=r.DERObjectIdentifier,u=r.DEREnumerated,d=r.DERUTF8String,h=r.DERNumericString,p=r.DERPrintableString,f=r.DERTeletexString,m=r.DERIA5String,g=r.DERUTCTime,v=r.DERGeneralizedTime,b=r.DERVisibleString,y=r.DERBMPString,w=r.DERSequence,E=r.DERSet,_=r.DERTaggedObject,S=r.ASN1Util.newObject;if(e instanceof r.ASN1Object)return e;var k=Object.keys(e);if(1!=k.length)throw new Error("key of param shall be only one.");var x=k[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+x+":"))throw new Error("undefined key: "+x);if("bool"==x)return new i(e[x]);if("int"==x)return new a(e[x]);if("bitstr"==x)return new o(e[x]);if("octstr"==x)return new s(e[x]);if("null"==x)return new l(e[x]);if("oid"==x)return new c(e[x]);if("enum"==x)return new u(e[x]);if("utf8str"==x)return new d(e[x]);if("numstr"==x)return new h(e[x]);if("prnstr"==x)return new p(e[x]);if("telstr"==x)return new f(e[x]);if("ia5str"==x)return new m(e[x]);if("utctime"==x)return new g(e[x]);if("gentime"==x)return new v(e[x]);if("visstr"==x)return new b(e[x]);if("bmpstr"==x)return new y(e[x]);if("asn1"==x)return new n(e[x]);if("seq"==x){for(var A=e[x],C=[],N=0;N<A.length;N++){var T=S(A[N]);C.push(T)}return new w({array:C})}if("set"==x){for(A=e[x],C=[],N=0;N<A.length;N++){T=S(A[N]);C.push(T)}return new E({array:C})}if("tag"==x){var R=e[x];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var O=S(R[2]);return new _({tag:R[0],explicit:R[1],obj:O})}return new _(R)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.tohex()}},Er.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",r=parseInt(e.substr(0,2),16),n=Math.floor(r/40),i=r%40,a=(t=n+"."+i,""),o=2;o<e.length;o+=2){var s=parseInt(e.substr(o,2),16),l=("00000000"+s.toString(2)).slice(-8);if(a+=l.substr(1,7),"0"==l.substr(0,1)){var c=new v(a,2);t=t+"."+c.toString(10),a=""}}return t},Er.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},r=function(e){var r="",n=new v(e,10),i=n.toString(2),a=7-i.length%7;7==a&&(a=0);for(var o="",s=0;s<a;s++)o+="0";i=o+i;for(s=0;s<i.length-1;s+=7){var l=i.substr(s,7);s!=i.length-7&&(l="1"+l),r+=t(parseInt(l,2))}return r};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var n="",i=e.split("."),a=40*parseInt(i[0])+parseInt(i[1]);n+=t(a),i.splice(0,2);for(var o=0;o<i.length;o++)n+=r(i[o]);return n},Er.asn1.ASN1Object=function(e){var t="";this.params=null,this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n="+t.length+",v="+this.hV);var e=this.hV.length/2,r=e.toString(16);if(r.length%2==1&&(r="0"+r),e<128)return r;var n=r.length/2;if(n>15)throw new Error("ASN.1 length too long to represent by 8x: n = "+e.toString(16));var i=128+n;return i.toString(16)+r},this.tohex=function(){return(null==this.hTLV||this.isModifLine truncated
|
||||
/**
|
||||
* @license
|
||||
* Lodash <https://lodash.com/>
|
||||
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
||||
* Released under MIT license <https://lodash.com/license>
|
||||
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
||||
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
||||
*/e=r.nmd(e),function(){var i,a="4.17.23",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",p=1,f=2,m=4,g=1,v=2,b=1,y=2,w=4,E=8,_=16,S=32,k=64,x=128,A=256,C=512,N=30,T="...",R=800,O=16,I=1,L=2,D=3,P=1/0,M=9007199254740991,B=17976931348623157e292,F=NaN,$=4294967295,U=$-1,j=$>>>1,V=[["ary",x],["bind",b],["bindKey",y],["curry",E],["curryRight",_],["flip",C],["partial",S],["partialRight",k],["rearg",A]],K="[object Arguments]",H="[object Array]",G="[object AsyncFunction]",z="[object Boolean]",q="[object Date]",X="[object DOMException]",W="[object Error]",Y="[object Function]",Q="[object GeneratorFunction]",J="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",re="[object Promise]",ne="[object Proxy]",ie="[object RegExp]",ae="[object Set]",oe="[object String]",se="[object Symbol]",le="[object Undefined]",ce="[object WeakMap]",ue="[object WeakSet]",de="[object ArrayBuffer]",he="[object DataView]",pe="[object Float32Array]",fe="[object Float64Array]",me="[object Int8Array]",ge="[object Int16Array]",ve="[object Int32Array]",be="[object Uint8Array]",ye="[object Uint8ClampedArray]",we="[object Uint16Array]",Ee="[object Uint32Array]",_e=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,ke=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xe=/&(?:amp|lt|gt|quot|#39);/g,Ae=/[&<>"']/g,Ce=RegExp(xe.source),Ne=RegExp(Ae.source),Te=/<%-([\s\S]+?)%>/g,Re=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,Ie=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Le=/^\w*$/,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pe=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(Pe.source),Be=/^\s+/,Fe=/\s/,$e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ue=/\{\n\/\* \[wrapped with (.+)\] \*/,je=/,? & /,Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ke=/[()=,{}\[\]\/\s]/,He=/\\(\\)?/g,Ge=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,We=/^\[object .+?Constructor\]$/,Ye=/^0o[0-7]+$/i,Qe=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",rt="\\u0300-\\u036f",nt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",at=rt+nt+it,ot="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",lt="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ut="\\u2000-\\u206f",dt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",pt="\\ufe0e\\ufe0f",ft=lt+ct+ut+dt,mt="['’]",gt="["+tt+"]",vt="["+ft+"]",bt="["+at+"]",yt="\\d+",wt="["+ot+"]",Et="["+st+"]",_t="[^"+tt+ft+yt+ot+st+ht+"]",St="\\ud83c[\\udffb-\\udfff]",kt="(?:"+bt+"|"+St+")",xt="[^"+tt+"]",At="(?:\\ud83c[\\udde6-\\uddff]){2}",Ct="[\\ud800-\\udbff][\\udc00-\\udfff]",Nt="["+ht+"]",Tt="\\u200d",Rt="(?:"+Et+"|"+_t+")",Ot="(?:"+Nt+"|"+_t+")",It="(?:"+mt+"(?:d|ll|m|re|s|t|ve))?",Lt="(?:"+mt+"(?:D|LL|M|RE|S|T|VE))?",Dt=kt+"?",Pt="["+pt+"]?",Mt="(?:"+Tt+"(?:"+[xt,At,Ct].join("|")+")"+Pt+Dt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ft="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",$t=Pt+Dt+Mt,Ut="(?:"+[wt,At,Ct].join("|")+")"+$t,jt="(?:"+[xt+bt+"?",bt,At,Ct,gt].join("|")+")",Vt=RegExp(mt,"g"),Kt=RegExp(bt,"g"),Ht=RegExp(St+"(?="+St+")|"+jt+$t,"g"),Gt=RegExp([Nt+"?"+Et+"+"+It+"(?="+[vt,Nt,"$"].join("|")+")",Ot+"+"+Lt+"(?="+[vt,Nt+Rt,"$"].join("|")+")",Nt+"?"+Rt+"+"+It,Nt+"+"+Lt,Ft,Bt,yt,Ut].join("|"),"g"),zt=RegExp("["+Tt+tt+at+pt+"]"),qt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Wt=-1,Yt={};Yt[pe]=Yt[fe]=Yt[me]=Yt[ge]=Yt[ve]=Yt[be]=Yt[ye]=Yt[we]=Yt[Ee]=!0,Yt[K]=Yt[H]=Yt[de]=Yt[z]=Yt[he]=Yt[q]=Yt[W]=Yt[Y]=Yt[J]=Yt[Z]=Yt[te]=Yt[ie]=Yt[ae]=Yt[oe]=Yt[ce]=!1;var Qt={};Qt[K]=Qt[H]=Qt[de]=Qt[he]=Qt[z]=Qt[q]=Qt[pe]=Qt[fe]=Qt[me]=Qt[ge]=Qt[ve]=Qt[J]=Qt[Z]=Qt[te]=Qt[ie]=Qt[ae]=Qt[oe]=Qt[se]=Qt[be]=Qt[ye]=Qt[we]=Qt[Ee]=!0,Qt[W]=Qt[Y]=Qt[ce]=!1;var Jt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă"Line truncated
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
const i=r(7991),a=r(39318),o="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.hp=u,t.IS=50;const s=2147483647;function l(){try{const e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function c(e){if(e>s)throw new RangeError('The value "'+e+'" is invalid for option "size"');const t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return f(e)}return d(e,t,r)}function d(e,t,r){if("string"===typeof e)return m(e,t);if(ArrayBuffer.isView(e))return v(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(se(e,ArrayBuffer)||e&&se(e.buffer,ArrayBuffer))return b(e,t,r);if("undefined"!==typeof SharedArrayBuffer&&(se(e,SharedArrayBuffer)||e&&se(e.buffer,SharedArrayBuffer)))return b(e,t,r);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');const n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return u.from(n,t,r);const i=y(e);if(i)return i;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function h(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 p(e,t,r){return h(e),e<=0?c(e):void 0!==t?"string"===typeof r?c(e).fill(t,r):c(e).fill(t):c(e)}function f(e){return h(e),c(e<0?0:0|w(e))}function m(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const r=0|_(e,t);let n=c(r);const i=n.write(e,t);return i!==r&&(n=n.slice(0,i)),n}function g(e){const t=e.length<0?0:0|w(e.length),r=c(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function v(e){if(se(e,Uint8Array)){const t=new Uint8Array(e);return b(t.buffer,t.byteOffset,t.byteLength)}return g(e)}function b(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,u.prototype),n}function y(e){if(u.isBuffer(e)){const t=0|w(e.length),r=c(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!==typeof e.length||le(e.length)?c(0):g(e):"Buffer"===e.type&&Array.isArray(e.data)?g(e.data):void 0}function w(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function E(e){return+e!=e&&0,u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||se(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 r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return re(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return ae(e).length;default:if(i)return n?-1:re(e).length;t=(""+t).toLowerCase(),i=!0}}function S(e,t,r){let n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,r);case"utf8":case"utf-8":return L(this,t,r);case"ascii":return M(this,t,r);case"latin1":case"binary":return B(this,t,r);case"base64":return I(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function k(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function x(e,t,r,n,i){if(0===e.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,le(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,i);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function A(e,t,r,n,i){let a,o=1,s=e.lLine truncated
|
||||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
var n=r(1048),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),o.prototype=Object.create(i.prototype),a(i,o),o.from=function(e,t,r){if("number"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!==typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"===typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},46132:function(e,t,r){"use strict";var n=r(14607),i=r(52672),a=n("RegExp.prototype.exec"),o=r(3468);e.exports=function(e){if(!i(e))throw new o("`regex` must be a RegExp");return function(t){return null!==a(e,t)}}},51565:function(e,t,r){"use strict";const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=a(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?o[s.COMPARATORLOOSE]:o[s.COMPARATOR],r=e.match(t);if(!r)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new u(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):(t=a(t),(!t.includePrerelease||"<0.0.0-0"!==this.value&&"<0.0.0-0"!==e.value)&&(!(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!e.operator.startsWith(">"))||(!(!this.operator.startsWith("<")||!e.operator.startsWith("<"))||(!(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))||(!!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))||!!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))))))))}}e.exports=i;const a=r(13990),{safeRe:o,t:s}=r(72841),l=r(54004),c=r(41361),u=r(24517),d=r(37476)},37476:function(e,t,r){"use strict";const n=/\s+/g;class i{constructor(e,t){if(t=s(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof l)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(n," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!b(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&y(t[0])){this.set=[t];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e<t.length;e++)e>0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&g)|(this.options.loose&&v),r=t+":"+e,n=o.get(r);if(n)return n;const i=this.options.loose,a=i?d[h.HYPHENRANGELOOSE]:d[h.HYPHENRANGE];e=e.replace(a,O(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(d[h.COMPARATORTRIM],p),c("comparator trim",e),e=e.replace(d[h.TILDETRIM],f),c("tilde trim",e),e=e.replace(d[h.CARETTRIM],m),c("caret trim",e);let s=e.split(" ").map((e=>E(e,this.options))).join(" ").split(/\s+/).map((e=>R(e,this.options)));i&&(s=s.filter((e=>(c("loose invalid filter",e,this.options),!!e.match(d[h.COMPARATORLOOSE]))))),c("range list",s);const u=new Map,y=s.map((e=>new l(e,this.options)));for(const o of y){if(b(o))return[o];u.set(o.value,o)}u.size>1&&u.has("")&&u.delete("");const w=[...u.values()];return o.set(r,w),w}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((r=>w(r,t)&&e.set.some((e=>w(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"===typeof e)try{e=new u(e,this.options)}catch(t){return!1}for(let r=0;r<this.set.lengLine truncated
|
||||
/*!
|
||||
* vuex v4.1.0
|
||||
* (c) 2022 Evan You
|
||||
* @license MIT
|
||||
*/var m="store";function g(e){return void 0===e&&(e=null),(0,n.inject)(null!==e?e:m)}function v(e,t){Object.keys(e).forEach((function(r){return t(e[r],r)}))}function b(e){return null!==e&&"object"===typeof e}function y(e){return e&&"function"===typeof e.then}function w(e,t){return function(){return e(t)}}function E(e,t,r){return t.indexOf(e)<0&&(r&&r.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function _(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var r=e.state;k(e,r,[],e._modules.root,!0),S(e,r,t)}function S(e,t,r){var i=e._state,a=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={},l={},c=(0,n.effectScope)(!0);c.run((function(){v(o,(function(t,r){s[r]=w(t,e),l[r]=(0,n.computed)((function(){return s[r]()})),Object.defineProperty(e.getters,r,{get:function(){return l[r].value},enumerable:!0})}))})),e._state=(0,n.reactive)({data:t}),e._scope=c,e.strict&&R(e),i&&r&&e._withCommit((function(){i.data=null})),a&&a.stop()}function k(e,t,r,n,i){var a=!r.length,o=e._modules.getNamespace(r);if(n.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=n),!a&&!i){var s=O(t,r.slice(0,-1)),l=r[r.length-1];e._withCommit((function(){s[l]=n.state}))}var c=n.context=x(e,o,r);n.forEachMutation((function(t,r){var n=o+r;C(e,n,t,c)})),n.forEachAction((function(t,r){var n=t.root?r:o+r,i=t.handler||t;N(e,n,i,c)})),n.forEachGetter((function(t,r){var n=o+r;T(e,n,t,c)})),n.forEachChild((function(n,a){k(e,t,r.concat(a),n,i)}))}function x(e,t,r){var n=""===t,i={dispatch:n?e.dispatch:function(r,n,i){var a=I(r,n,i),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:n?e.commit:function(r,n,i){var a=I(r,n,i),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return e.getters}:function(){return A(e,t)}},state:{get:function(){return O(e.state,r)}}}),i}function A(e,t){if(!e._makeLocalGettersCache[t]){var r={},n=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,n)===t){var a=i.slice(n);Object.defineProperty(r,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=r}return e._makeLocalGettersCache[t]}function C(e,t,r,n){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){r.call(e,n.state,t)}))}function N(e,t,r,n){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=r.call(e,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:e.getters,rootState:e.state},t);return y(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function T(e,t,r,n){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return r(n.state,n.getters,e.state,e.getters)})}function R(e){(0,n.watch)((function(){return e._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function O(e,t){return t.reduce((function(e,t){return e[t]}),e)}function I(e,t,r){return b(e)&&e.type&&(r=t,t=e,e=e.type),{type:e,payload:t,options:r}}var L="vuex bindings",D="vuex:mutations",P="vuex:actions",M="vuex",B=0;function F(e,t){f({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[L]},(function(r){r.addTimelineLayer({id:D,label:"Vuex Mutations",color:$}),r.addTimelineLayer({id:P,label:"Vuex Actions",color:$}),r.addInspector({id:M,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),r.on.getInspectorTree((function(r){if(r.app===e&&r.inspectorId===M)if(r.filter){var n=[];G(n,t._modules.root,r.filter,""),r.rootNodes=n}else r.rootNodes=[H(t._modules.root,"")]})),r.on.getInspectorState((function(r){if(r.app===e&&r.inspectorId===M){var n=r.nodeId;A(t,n),r.state=z(X(t._modules,n),"root"===n?t.getters:t._makeLocalGettersCache,n)}})),r.on.editInspectorState((function(r){if(r.app===e&&r.inspectorId===M){var n=r.nodeId,i=r.path;"root"!==n&&(i=n.split("/").filter(Boolean).concat(i)),t._withCommit((function(){r.set(t._state.data,i,r.state.value)}))}})),t.subscribe((function(e,t){var n={};e.payload&&(n.payload=e.payload),n.state=t,r.notifyComponentUpdate(),r.sendInspectorTree(M),r.sendInspectorState(M),r.addTimelineEvent({layerId:D,event:{time:Date.now(),title:e.type,data:n}})})),t.subscribeAction({before:function(e,t){var n={};e.payload&&(n.payload=e.payload),e._id=B++,e._time=Date.now(),n.state=t,r.addTimelineEvent({layerId:P,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:n}})},after:function(e,t){var n={},i=Date.now()-e._time;n.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},e.payload&&(n.payload=e.payload),n.state=t,r.addTimelineEvent({layerId:P,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:n}})}})}))}var $=8702998,U=6710886
Line truncated
|
||||
/*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
|
||||
const{entries:le,setPrototypeOf:ce,isFrozen:ue,getPrototypeOf:de,getOwnPropertyDescriptor:he}=Object;let{freeze:pe,seal:fe,create:me}=Object,{apply:ge,construct:ve}="undefined"!==typeof Reflect&&Reflect;pe||(pe=function(e){return e}),fe||(fe=function(e){return e}),ge||(ge=function(e,t,r){return e.apply(t,r)}),ve||(ve=function(e,t){return new e(...t)});const be=Ie(Array.prototype.forEach),ye=Ie(Array.prototype.lastIndexOf),we=Ie(Array.prototype.pop),Ee=Ie(Array.prototype.push),_e=Ie(Array.prototype.splice),Se=Ie(String.prototype.toLowerCase),ke=Ie(String.prototype.toString),xe=Ie(String.prototype.match),Ae=Ie(String.prototype.replace),Ce=Ie(String.prototype.indexOf),Ne=Ie(String.prototype.trim),Te=Ie(Object.prototype.hasOwnProperty),Re=Ie(RegExp.prototype.test),Oe=Le(TypeError);function Ie(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return ge(e,t,n)}}function Le(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ve(e,r)}}function De(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Se;ce&&ce(e,null);let n=t.length;while(n--){let i=t[n];if("string"===typeof i){const e=r(i);e!==i&&(ue(t)||(t[n]=e),i=e)}e[i]=!0}return e}function Pe(e){for(let t=0;t<e.length;t++){const r=Te(e,t);r||(e[t]=null)}return e}function Me(e){const t=me(null);for(const[r,n]of le(e)){const i=Te(e,r);i&&(Array.isArray(n)?t[r]=Pe(n):n&&"object"===typeof n&&n.constructor===Object?t[r]=Me(n):t[r]=n)}return t}function Be(e,t){while(null!==e){const r=he(e,t);if(r){if(r.get)return Ie(r.get);if("function"===typeof r.value)return Ie(r.value)}e=de(e)}function r(){return null}return r}const Fe=pe(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),$e=pe(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ue=pe(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),je=pe(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ve=pe(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Ke=pe(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),He=pe(["#text"]),Ge=pe(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel"Line truncated
|
||||
//# sourceMappingURL=harvester-1.8.0.umd.min.js.map
|
||||
Reference in new issue
Block a user