mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-12-03 05:38:47 +08:00
CI Build Artifacts (commit: 754192c8c8, version: 1.9.1-rc5)
This commit is contained in:
1 parent
332427dc61
commit
bd96f32bb0
88 files changed
+924
-2
No files matched your search
@@ -0,0 +1,99 @@
|
||||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue"),require("__jsyaml"),require("__jszip"),require("__vueRouter")):"function"===typeof define&&define.amd?define([,"__jsyaml","__jszip","__vueRouter"],t):"object"===typeof exports?exports["harvester-1.9.1-rc5"]=t(require("vue"),require("__jsyaml"),require("__jszip"),require("__vueRouter")):e["harvester-1.9.1-rc5"]=t(e["Vue"],e["__jsyaml"],e["__jszip"],e["__vueRouter"])})("undefined"!==typeof self?self:this,function(e,t,n,r){return function(){var a={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 n=Object(e);for(let r=1;r<arguments.length;r++){const e=arguments[r];if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}return n},writable:!0,configurable:!0}),(()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};const n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}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,n){"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function a(e){var t=r(e).Element;return e instanceof t||e instanceof Element}function i(e){var t=r(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function o(e){if("undefined"===typeof ShadowRoot)return!1;var t=r(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}n.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 p(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),s=1,l=1;t&&i(e)&&(s=e.offsetWidth>0&&c(o.width)/e.offsetWidth||1,l=e.offsetHeight>0&&c(o.height)/e.offsetHeight||1);var u=a(e)?r(e):window,p=u.visualViewport,h=!d()&&n,f=(o.left+(h&&p?p.offsetLeft:0))/s,m=(o.top+(h&&p?p.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 h(e){var t=r(e),n=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:n,scrollTop:a}}function f(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function m(e){return e!==r(e)&&i(e)?f(e):h(e)}function g(e){return e?(e.nodeName||"").toLowerCase():null}function v(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function b(e){return p(v(e)).left+h(e).scrollLeft}function y(e){return r(e).getComputedStyle(e)}function _(e){var t=y(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function w(e){var t=e.getBoundingClientRect(),n=c(t.width)/e.offsetWidth||1,r=c(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function E(e,t,n){void 0===n&&(n=!1);var r=i(t),a=i(t)&&w(t),o=v(t),s=p(e,a,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==g(t)||_(o))&&(l=m(t)),i(t)?(c=p(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 k(e){var t=p(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function S(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:i(e)&&_(e)?e:x(S(e))}function A(e,t){var n;void 0===t&&(t=[]);var a=x(e),i=a===(null==(n=e.ownerDocument)?void 0:n.body),o=r(a),s=i?[o].concat(o.visualViewport||[],_(a)?a:[]):a,l=t.concat(s);return i?l:l.concat(A(S(s)))}function C(e){return["table","td","th"].indexOf(g(e))>=0}function N(e){return i(e)&&"fixed"!==y(e).position?e.offsetParent:null}function T(e){var t=/firefox/i.test(u()),n=/Trident/i.test(u());if(n&&i(e)){var r=y(e);if("fixed"===r.position)return null}var a=S(e);o(a)&&(a=a.host);while(i(a)&&["html","body"].indexOf(g(a))<0){var s=y(a);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 a;a=a.parentNode}return null}function R(e){var t=r(e),n=N(e);while(n&&C(n)&&"static"===y(n).position)n=N(n);return n&&("html"===g(n)||"body"===g(n)&&"static"===y(n).position)?t:n||T(e)||t}var O="top",I="bottom",D="right",L="left",P="auto",M=[O,I,D,L],B="start",F="end",$="clippingParents",V="viewport",U="popper",j="reference",K=M.reduce(function(e,t){returnLine 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 n=e.length,r=t.length,a=0,i=Math.min(n,r);a<i;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0}var $=void 0,V=!0,U=!1,j=0,K=1,G=2,H=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 n=0;n<e.byteLength;n++)if(e[n]!==t[n])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)&&h(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):D(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function Q(e,t,n,r){if(e===t)return 0!==e||(!n||h(e,t));if(n){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 a=y(e),i=y(t);if(a!==i)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,n,r,K,o)}if("[object Object]"===a&&(!S(e)&&S(t)||!A(e)&&A(t)))return!1;if(k(e)){if(!k(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(e)){if(n||!L(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,n,r,j,l)}if(A(e))return!(!A(t)||e.size!==t.size)&&Z(e,t,n,r,G);if(S(e))return!(!S(t)||e.size!==t.size)&&Z(e,t,n,r,H);if(w(e)){if(!W(e,t))return!1}else if(N(e)&&!Y(e,t))return!1}return Z(e,t,n,r,j)}function J(e,t){return t.filter(function(t){return b(e,t)})}function Z(e,t,n,r,a,i){if(5===arguments.length){i=Object.keys(e);var o=Object.keys(t);if(i.length!==o.length)return!1}for(var s=0;s<i.length;s++)if(!v(t,i[s]))return!1;if(n&&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;i.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 p=f(t);if(0!==p.length&&0!==J(t,p).length)return!1}}if(0===i.length&&(a===j||a===K&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var h=r.val1.get(e);if(void 0!==h){var m=r.val2.get(t);if(void 0!==m)return h===m}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var g=se(e,t,n,i,r,a);return r.val1.delete(e),r.val2.delete(t),g}function ee(e,t,n,r){for(var a=d(e),i=0;i<a.length;i++){var o=a[i];if(Q(t,o,n,r))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 ne(e,t,n){var r=te(n);return null!=r?r:t.has(r)&&!e.has(r)}function re(e,t,n,r,a){var i=te(n);if(null!=i)return i;var o=t.get(i);return!(void 0===o&&!t.has(i)||!Q(r,o,!1,a))&&(!e.has(i)&&Q(r,o,!1,a))}function ae(e,t,n,r){for(var a=null,i=d(e),o=0;o<i.length;o++){var s=i[o];if("object"===c(s)&&null!==s)null===a&&(a=new Set),a.add(s);else if(!t.has(s)){if(n)return!1;if(!ne(e,t,s))return!1;null===a&&(a=new Set),a.add(s)}}if(null!==a){for(var l=d(t),u=0;u<l.length;u++){var p=l[u];if("object"===c(p)&&null!==p){if(!ee(a,p,n,r))return!1}else if(!n&&!e.has(p)&&!ee(a,p,n,r))return!1}return 0===a.size}return!0}function ie(e,t,n,r,a,i){for(var o=d(e),s=0;s<o.length;s++){var l=o[s];if(Q(n,l,a,i)&&Q(r,t.get(l),a,i))return e.delete(l),!0}return!1}function oe(e,t,n,a){for(var i=null,o=p(e),s=0;s<o.length;s++){var l=r(o[s],2),u=l[0],d=l[1];if("object"===c(u)&&null!==u)null===i&&(i=new Set),i.add(u);else{var h=t.get(u);if(void 0===h&&!t.has(u)||!Q(d,h,n,a)){if(n)return!1;if(!re(e,t,u,d,a))return!1;null===i&&(i=new Set),i.add(u)}}}if(null!==i){for(var f=p(t),m=0;m<f.length;m++){var g=r(f[m],2),v=g[0],b=g[1];if("object"===c(v)&&null!==v){if(!ie(i,e,v,b,n,a))return!1}else if(!n&&(!e.has(v)||!Q(e.get(v),b,!1,a))&&!ie(i,e,v,b,!1,a))return!1}return 0===i.size}return!0}function se(e,t,n,r,a,i){var o=0;if(i===G){if(!ae(e,t,n,a))return!1}else if(i===H){if(!oe(e,t,n,a))return!1}else if(i===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],n,a))return!1}return s.length===Object.keys(t).length}if(!v(t,o)||!Q(e[o],t[o],n,a))return!1}for(o=0;o<r.length;o++){var cLine truncated
|
||||
/*!
|
||||
* The buffer module from node.js, for the browser.
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/const a=n(7991),i=n(39318),o="function"===typeof Symbol&&"function"===typeof Symbol["for"]?Symbol["for"]("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=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,n){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,n)}function d(e,t,n){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,n);if("undefined"!==typeof SharedArrayBuffer&&(se(e,SharedArrayBuffer)||e&&se(e.buffer,SharedArrayBuffer)))return b(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 u.from(r,t,n);const a=y(e);if(a)return a;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return u.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 p(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 h(e,t,n){return p(e),e<=0?c(e):void 0!==t?"string"===typeof n?c(e).fill(t,n):c(e).fill(t):c(e)}function f(e){return p(e),c(e<0?0:0|_(e))}function m(e,t){if("string"===typeof t&&""!==t||(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);const n=0|E(e,t);let r=c(n);const a=r.write(e,t);return a!==n&&(r=r.slice(0,a)),r}function g(e){const t=e.length<0?0:0|_(e.length),n=c(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}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,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,u.prototype),r}function y(e){if(u.isBuffer(e)){const t=0|_(e.length),n=c(t);return 0===n.length||e.copy(n,0,0,t),n}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 _(e){if(e>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function w(e){return+e!=e&&(e=0),u.alloc(+e)}function E(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 n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let a=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ne(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ie(e).length;default:if(a)return r?-1:ne(e).length;t=(""+t).toLowerCase(),a=!0}}function k(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,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return F(this,t,n);case"utf8":case"utf-8":return D(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return I(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function S(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function x(e,t,n,r,a){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,le(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:A(e,t,n,r,a);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):A(e,[t],n,r,a);throw new TypeError("val must be string, number or BuffeLine 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 n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function $(e){if(Array.isArray(e))return F(e)}function V(e,t,n){return(t=q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function j(){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 n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(t){V(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function H(e){return $(e)||U(e)||X(e)||j()}function z(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;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 n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}var W={activateTrap:function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,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)},ne=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},re=function(e){return e.target.shadowRoot&&"function"===typeof e.composedPath?e.composedPath()[0]:e.target},ae=[],ie=function(e,t){var n,r=(null===t||void 0===t?void 0:t.document)||document,a=(null===t||void 0===t?void 0:t.trapStack)||ae,i=G({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,n){return e&&void 0!==e[t]?e[t]:i[n||t]},l=function(e,t){var n="function"===typeof(null===t||void 0===t?void 0:t.composedPath)?t.composedPath():void 0;return o.containerGroups.findIndex(function(t){var r=t.container,a=t.tabbableNodes;return r.contains(e)||(null===n||void 0===n?void 0:n.includes(r))||a.find(function(t){return t===e})})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,a=void 0!==n&&n,o=t.params,s=void 0===o?[]:o,l=i[e];if("function"===typeof l&&(l=l.apply(void 0,H(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=r.querySelector(l)}catch(u){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))}if(!c&&!a)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,i.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{var t=o.tabbableGroups[0],n=t&&t.firstTabbableNode;e=n||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=D(e,i.tabbableOptions),n=L(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return P(e)}),s=n.slice().reverse().find(function(e){return P(e)}),l=!!t.find(function(e){return m(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:a,firstDomTabbLine 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 n=2;n<arguments.length;n++)for(var r=0;r<arguments[n].length;r++)e[t++]=arguments[n].charAt(r)}function n(e){return String.fromCharCode(e>>8&255,255&e)}function r(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function a(e){return String.fromCharCode(255&e,e>>8&255)}var i=function(e,i,o){this.width=e,this.height=i,this.depth=o,this.pix_size=i*(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,r(this.ihdr_size-12),"IHDR",r(e),r(i),"\b"),t(this.buffer,this.plte_offs,r(this.plte_size-12),"PLTE"),t(this.buffer,this.trns_offs,r(this.trns_size-12),"tRNS"),t(this.buffer,this.idat_offs,r(this.idat_size-12),"IDAT"),t(this.buffer,this.iend_offs,r(this.iend_size-12),"IEND");var c=30912;c+=31-c%31,t(this.buffer,this.idat_offs+8,n(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,a(u),a(~u))}for(l=0;l<256;l++){for(var p=l,h=0;h<8;h++)p=1&p?-306674912^p>>1&2147483647:p>>1&2147483647;s[l]=p}this.index=function(e,t){var n=t*(this.width+1)+e+1,r=this.idat_offs+8+2+5*Math.floor(n/65535+1)+n;return r},this.color=function(e,t,n,r){r=r>=0?r:255;var a=((r<<8|e)<<8|t)<<8|n;if("undefined"==typeof this.palette[a]){if(this.pindex==this.depth)return"\0";var i=this.plte_offs+8+3*this.pindex;this.buffer[i+0]=String.fromCharCode(e),this.buffer[i+1]=String.fromCharCode(t),this.buffer[i+2]=String.fromCharCode(n),this.buffer[this.trns_offs+8+this.pindex]=String.fromCharCode(r),this.palette[a]=String.fromCharCode(this.pindex++)}return this.palette[a]},this.getBase64=function(){var e,t,n,r,a,i,o,s=this.getDump(),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=s.length,u=0,d="";do{e=s.charCodeAt(u),r=e>>2,t=s.charCodeAt(u+1),a=(3&e)<<4|t>>4,n=s.charCodeAt(u+2),i=c<u+2?64:(15&t)<<2|n>>6,o=c<u+3?64:63&n,d+=l.charAt(r)+l.charAt(a)+l.charAt(i)+l.charAt(o)}while((u+=3)<c);return d},this.getDump=function(){for(var e=65521,n=5552,a=1,i=0,o=n,l=0;l<this.height;l++)for(var c=-1;c<this.width;c++)a+=this.buffer[this.index(c,l)].charCodeAt(0),i+=a,0==(o-=1)&&(a%=e,i%=e,o=n);function u(e,n,a){for(var i=-1,o=4;o<a-4;o+=1)i=s[255&(i^e[n+o].charCodeAt(0))]^i>>8&16777215;t(e,n+a-4,r(-1^i))}return a%=e,i%=e,t(this.buffer,this.idat_offs+this.idat_size-8,r(i<<16|a)),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=i:window.PNGlib=i})()},39318:function(e,t){
|
||||
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
t.read=function(e,t,n,r,a){var i,o,s=8*a-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?a-1:0,p=n?-1:1,h=e[t+d];for(d+=p,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=p,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===i)i=1-c;else{if(i===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),i-=c}return(h?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,n,r,a,i){var o,s,l,c=8*i-a-1,u=(1<<c)-1,d=u>>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-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?(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?p/l:p*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,a),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),o=0));a>=8;e[n+h]=255&s,h+=f,s/=256,a-=8);for(o=o<<a|s,c+=a;c>0;e[n+h]=255&o,h+=f,o/=256,c-=8);e[n+h-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 n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},55387:function(e,t,n){"use strict";var r=n(51913)(),a=n(14607),i=a("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"===typeof e&&"length"in e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"callee"in e&&"[object Function]"===i(e.callee)},l=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=l?o:s},89617:function(e){"use strict";var t,n,r=Function.prototype.toString,a="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof a&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},a(function(){throw 42},null,t)}catch(y){y!==n&&(a=null)}else a=null;var i=/^\s*class\b/,o=function(e){try{var t=r.call(e);return i.test(t)}catch(n){return!1}},s=function(e){try{return!o(e)&&(r.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="[object Object]",u="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",h="[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===p||t===h||t===f||t===c)&&null==e("")}catch(n){}return!1})}e.exports=a?function(e){if(v(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{a(e,null,t)}catch(r){if(r!==n)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,n){"use strict";var r=n(14607),a=n(46132),i=a(/^\s*(?:function)?\*/),o=n(51913)(),s=n(46369),l=r("Object.prototype.toString"),c=r("Function.prototype.toString"),u=n(14898);e.exports=function(e){if("function"!==typeof e)return!1;if(i(c(e)))return!0;if(!o){var t=l(e);return"[object GeneratorFunction]"===t}if(!s)return!1;var n=u();return n&&s(e)===n.prototype}},98006:function(e){"use strict";e.exports=function(e){return e!==e}},7838:function(e,t,n){"use strict";var r=n(28498),a=n(41857),i=n(98006),o=n(41591),s=n(61641),l=r(o(),Number);a(l,{getPolyfill:o,implementation:i,shim:s}),e.exports=l},41591:function(e,t,n){"use strict";var r=n(98006);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},61641:function(e,t,n){"use strict";var r=n(41857),a=n(41591);e.exports=function(){var e=a();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},52672:function(e,t,n){"use strict";var r,a=n(14607),i=n(51913)(),o=n(78554),s=n(69336);if(i){var l=a("RegExp.prototype.exec"),c={},u=function(){throw c},d={toString:u,valueOf:u};"symbol"===typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=u),r=function(e){if(!e||"object"!==typeof e)return!1;var t=s(e,"lastIndex"),n=t&&o(t,"value");if(!n)return!1;try{l(e,d)}catch(r){return r===c}}}else{var p=a("Object.prototype.toString"),h="[object RegExp]";r=function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&p(e)===h}}e.exports=r},95943:function(e,t,n){"use strict";var r=n(52730);e.exports=function(e){return!!r(e)}},39198:function(e,t,n){var r=n(1048)["Buffer"],a={userAgent:!1},i={},o="11.1.1",s="jsrsasign(all) 11.1.1 (2026-02-21) (c) 2010-2023 Kenji Urushima | kjur.github.io/jsrsasign/license",l=l||function(e,t){var n={},r=n.lib={},a=r.Base=function(){function e(){}return{extend:function(t){e.prototype=this;var n=new e;return t&&n.mixIn(t),n.hasOwnProperty("init")||(n.init=function(){n.$supeLine truncated
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
var c,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d="=";function p(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=u.charAt(n>>6)+u.charAt(63&n);if(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=u.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=u.charAt(n>>2)+u.charAt((3&n)<<4)),d)while((3&r.length)>0)r+=d;return r}function h(e){var t,n,r,a="",i=0;for(t=0;t<e.length;++t){if(e.charAt(t)==d)break;r=u.indexOf(e.charAt(t)),r<0||(0==i?(a+=C(r>>2),n=3&r,i=1):1==i?(a+=C(n<<2|r>>4),n=15&r,i=2):2==i?(a+=C(n),a+=C(r>>2),n=3&r,i=3):(a+=C(n<<2|r>>4),a+=C(15&r),i=0))}return 1==i&&(a+=C(n<<2)),a}function f(e){var t,n=h(e),r=new Array;for(t=0;2*t<n.length;++t)r[t]=parseInt(n.substring(2*t,2*t+2),16);return r}var m=0xdeadbeefcafe,g=15715070==(16777215&m);function v(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function b(){return new v(null)}function y(e,t,n,r,a,i){while(--i>=0){var o=t*this[e++]+n[r]+a;a=Math.floor(o/67108864),n[r++]=67108863&o}return a}function _(e,t,n,r,a,i){var o=32767&t,s=t>>15;while(--i>=0){var l=32767&this[e],c=this[e++]>>15,u=s*l+c*o;l=o*l+((32767&u)<<15)+n[r]+(1073741823&a),a=(l>>>30)+(u>>>15)+s*c+(a>>>30),n[r++]=1073741823&l}return a}function w(e,t,n,r,a,i){var o=16383&t,s=t>>14;while(--i>=0){var l=16383&this[e],c=this[e++]>>14,u=s*l+c*o;l=o*l+((16383&u)<<14)+n[r]+a,a=(l>>28)+(u>>14)+s*c,n[r++]=268435455&l}return a}g&&"Microsoft Internet Explorer"==a.appName?(v.prototype.am=_,c=30):g&&"Netscape"!=a.appName?(v.prototype.am=y,c=26):(v.prototype.am=w,c=28),v.prototype.DB=c,v.prototype.DM=(1<<c)-1,v.prototype.DV=1<<c;var E=52;v.prototype.FV=Math.pow(2,E),v.prototype.F1=E-c,v.prototype.F2=2*c-E;var k,S,x="0123456789abcdefghijklmnopqrstuvwxyz",A=new Array;for(k="0".charCodeAt(0),S=0;S<=9;++S)A[k++]=S;for(k="a".charCodeAt(0),S=10;S<36;++S)A[k++]=S;for(k="A".charCodeAt(0),S=10;S<36;++S)A[k++]=S;function C(e){return x.charAt(e)}function N(e,t){var n=A[e.charCodeAt(t)];return null==n?-1:n}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 n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;var r=e.length,a=!1,i=0;while(--r>=0){var o=8==n?255&e[r]:N(e,r);o<0?"-"==e.charAt(r)&&(a=!0):(a=!1,0==i?this[this.t++]=o:i+n>this.DB?(this[this.t-1]|=(o&(1<<this.DB-i)-1)<<i,this[this.t++]=o>>this.DB-i):this[this.t-1]|=o<<i,i+=n,i>=this.DB&&(i-=this.DB))}8==n&&0!=(128&e[0])&&(this.s=-1,i>0&&(this[this.t-1]|=(1<<this.DB-i)-1<<i)),this.clamp(),a&&v.ZERO.subTo(this,this)}function D(){var e=this.s&this.DM;while(this.t>0&&this[this.t-1]==e)--this.t}function L(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 n,r=(1<<t)-1,a=!1,i="",o=this.t,s=this.DB-o*this.DB%t;if(o-- >0){s<this.DB&&(n=this[o]>>s)>0&&(a=!0,i=C(n));while(o>=0)s<t?(n=(this[o]&(1<<s)-1)<<t-s,n|=this[--o]>>(s+=this.DB-t)):(n=this[o]>>(s-=t)&r,s<=0&&(s+=this.DB,--o)),n>0&&(a=!0),a&&(i+=C(n))}return a?i:"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 n=this.t;if(t=n-e.t,0!=t)return this.s<0?-t:t;while(--n>=0)if(0!=(t=this[n]-e[n]))return t;return 0}function F(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function $(){return this.t<=0?0:this.DB*(this.t-1)+F(this[this.t-1]^this.s&this.DM)}function V(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function U(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function j(e,t){var n,r=e%this.DB,a=this.DB-r,i=(1<<a)-1,o=Math.floor(e/this.DB),s=this.s<<r&this.DM;for(n=this.t-1;n>=0;--n)t[n+o+1]=this[n]>>a|s,s=(this[n]&i)<<r;for(n=o-1;n>=0;--n)t[n]=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 n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,a=this.DB-r,i=(1<<r)-1;t[0]=this[n]>>r;for(var o=n+1;o<this.t;++o)t[o-n-1]|=(this[o]&i)<<a,t[o-n]=this[o]>>r;r>0&&(t[this.t-n-1]|=(this.s&i)<<a),t.t=this.t-n,t.clamp()}}function G(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r-=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function H(e,t){var n=this.abs(),r=e.abs(),a=n.t;t.t=a+r.t;while(--a>=0)t[a]=0;for(a=0;a<r.t;++a)t[a+n.t]=n.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 pe(){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 he(){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),n=Math.pow(e,t),r=O(n),a=b(),i=b(),o="";this.divRemTo(r,a,i);while(a.signum()>0)o=(n+i.intValue()).toString(e).substr(1)+o,a.divRemTo(r,a,i);return i.intValue().toString(e)+o}function be(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),r=Math.pow(t,n),a=!1,i=0,o=0,s=0;s<e.length;++s){var l=N(e,s);l<0?"-"==e.charAt(s)&&0==this.signum()&&(a=!0):(o=t*o+l,++i>=n&&(this.dMultiply(r),this.dAddOffset(o,0),i=0,o=0))}i>0&&(this.dMultiply(Math.pow(t,i)),this.dAddOffset(o,0)),a&&v.ZERO.subTo(this,this)}function ye(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else{this.fromNumber(e,n),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 r=new Array,a=7&e;r.length=1+(e>>3),t.nextBytes(r),a>0?r[0]&=(1<<a)-1:r[0]=0,this.fromString(r,256)}}function _e(){var e=this.t,t=new Array;t[0]=this.s;var n,r=this.DB-e*this.DB%8,a=0;if(e-- >0){r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[a++]=n|this.s<<this.DB-r);while(e>=0)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==a&&(128&this.s)!=(128&n)&&++a,(a>0||n!=this.s)&&(t[a++]=n)}return t}function we(e){return 0==this.compareTo(e)}function Ee(e){return this.compareTo(e)<0?this:e}function ke(e){return this.compareTo(e)>0?this:e}function Se(e,t,n){var r,a,i=Math.min(e.t,this.t);for(r=0;r<i;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(a=e.s&this.DM,r=i;r<this.t;++r)n[r]=t(this[r],a);n.t=this.t}else{for(a=this.s&this.DM,r=i;r<e.t;++r)n[r]=t(a,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.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 De(){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 Le(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,n=0;n<this.t;++n)e+=Fe(this[n]^t);return e}function Ve(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)}function Ue(e,t){var n=v.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n}function je(e){return this.changeBit(e,Ce)}function Ke(e){return this.changeBit(e,Oe)}function Ge(e){return this.changeBit(e,Te)}function He(e,t){var n=0,r=0,a=Math.min(e.t,this.t);while(n<a)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){r+=e.s;while(n<this.t)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{r+=this.s;while(n<e.t)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,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(),n=b();return this.divRemTo(e,t,n),new Array(t,n)}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 nt(e){return e}function rt(e,t,n){e.multiplyTo(t,n)}function at(e,t){e.squareTo(t)}function it(e){return this.exp(e,new tt)}function ot(e,t,n){var r,a=Math.min(this.t+e.t,t);n.s=0,n.t=a;while(a>0)n[--a]=0;for(r=n.t-this.t;a<r;++a)n[a+this.t]=this.am(0,e[a],n,a,0,this.t);for(r=Math.min(e.t,t);a<r;++a)this.am(0,e[a],n,a,0,t-a);n.clamp()}function st(e,t,n){--t;var r=n.t=this.t+e.t-t;n.s=0;while(--r>=0)n[r]=0;for(r=Math.maLine truncated
|
||||
/*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
|
||||
*/
|
||||
function Et(){this.i=0,this.j=0,this.S=new Array}function kt(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0}function St(){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 Et}v.prototype.chunkSize=me,v.prototype.toRadix=ve,v.prototype.fromRadix=be,v.prototype.fromNumber=ye,v.prototype.bitwiseTo=Se,v.prototype.changeBit=Ue,v.prototype.addTo=He,v.prototype.dMultiply=Ze,v.prototype.dAddOffset=et,v.prototype.multiplyLowerTo=ot,v.prototype.multiplyUpperTo=st,v.prototype.modInt=gt,v.prototype.millerRabin=wt,v.prototype.clone=de,v.prototype.intValue=pe,v.prototype.byteValue=he,v.prototype.shortValue=fe,v.prototype.signum=ge,v.prototype.toByteArray=_e,v.prototype.equals=we,v.prototype.min=Ee,v.prototype.max=ke,v.prototype.and=Ae,v.prototype.or=Ne,v.prototype.xor=Re,v.prototype.andNot=Ie,v.prototype.not=De,v.prototype.shiftLeft=Le,v.prototype.shiftRight=Pe,v.prototype.getLowestSetBit=Be,v.prototype.bitCount=$e,v.prototype.testBit=Ve,v.prototype.setBit=je,v.prototype.clearBit=Ke,v.prototype.flipBit=Ge,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=it,v.prototype.gcd=mt,v.prototype.isProbablePrime=_t,v.prototype.square=We,Et.prototype.init=kt,Et.prototype.next=St;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!==i&&(void 0!==i.crypto||void 0!==i.msCrypto)){var Dt=i.crypto||i.msCrypto;if(Dt.getRandomValues){var Lt=new Uint8Array(32);for(Dt.getRandomValues(Lt),It=0;It<32;++It)Ct[Nt++]=Lt[It]}else if("Netscape"==a.appName&&a.appVersion<"5"){var Pt=i.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 Vt(){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 Ut(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)}if(null==this.n||"function"!==typeof this.n.compareTo||this.n.compareTo(v.ONE)<=0||null==this.e||isNaN(this.e)||this.e<=0)throw"Invalid RSA public key"}function jt(e){return e.modPowInt(this.e,this.n)}function Kt(e,t,n){if(this.isPrivate=!0,"string"!==typeof e)this.n=e,this.e=t,this.d=n;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(n,16)}}function Gt(e,t,n,r,a,i,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(n,16),this.p=$t(r,16),this.q=$t(a,16),this.dmp1=$t(i,16),this.dmq1=$t(o,16),this.coeff=$t(s,16)}function Ht(e,t){var n=new Ft,r=e>>1;this.e=parseInt(t,16);for(var a=new v(t,16),i=e/2-100,o=v.ONE.shiftLeft(i);;){for(;;)if(this.p=new v(e-r,1,n),0==this.p.subtract(v.ONE).gcd(a).compareTo(v.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new v(r,1,n),0==this.q.subtract(v.ONE).gcd(a).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()<i||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(a).compareTo(v.ONE)&&(this.n=this.p.multiply(this.q),this.n.bitLength()==e)){this.d=a.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),n=e.mod(this.q).modPow(this.dmq1,this.q);while(t.compareTo(n)<0)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)}
|
||||
/*! (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 en(){return new qt(this.q,this.x.square().mod(this.q))}function tn(e){return new qt(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}function nn(e,t,n,r){this.curve=e,this.x=t,this.y=n,this.z=null==r?v.ONE:r,this.zinv=null}function rn(){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 an(){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 on(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)&&(n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q),n.equals(v.ZERO))));var t,n}function sn(){return null==this.x&&null==this.y||this.z.equals(v.ZERO)&&!this.y.toBigInteger().equals(v.ZERO)}function ln(){return new nn(this.curve,this.x,this.y.negate(),this.z)}function cn(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),n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(v.ZERO.equals(n))return v.ZERO.equals(t)?this.twice():this.curve.getInfinity();var r=new v("3"),a=this.x.toBigInteger(),i=this.y.toBigInteger(),o=(e.x.toBigInteger(),e.y.toBigInteger(),n.square()),s=o.multiply(n),l=a.multiply(o),c=t.square().multiply(this.z),u=c.subtract(l.shiftLeft(1)).multiply(e.z).subtract(s).multiply(n).mod(this.curve.q),d=l.multiply(r).multiply(t).subtract(i.multiply(s)).subtract(c.multiply(t)).multiply(e.z).add(t.multiply(s)).mod(this.curve.q),p=s.multiply(this.z).multiply(e.z).mod(this.curve.q);return new nn(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(d),p)}function un(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var e=new v("3"),t=this.x.toBigInteger(),n=this.y.toBigInteger(),r=n.multiply(this.z),a=r.multiply(n).mod(this.curve.q),i=this.curve.a.toBigInteger(),o=t.square().multiply(e);v.ZERO.equals(i)||(o=o.add(this.z.square().multiply(i))),o=o.mod(this.curve.q);var s=o.square().subtract(t.shiftLeft(3).multiply(a)).shiftLeft(1).multiply(r).mod(this.curve.q),l=o.multiply(e).multiply(t).subtract(a.shiftLeft(1)).shiftLeft(2).multiply(a).subtract(o.square().multiply(o)).mod(this.curve.q),c=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new nn(this.curve,this.curve.fromBigInteger(s),this.curve.fromBigInteger(l),c)}function dn(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new v("3")),a=this.negate(),i=this,o=this.curve.q.subtract(e),s=o.multiply(new v("3")),l=new nn(this.curve,this.x,this.y),c=l.negate();for(t=r.bitLength()-2;t>0;--t){i=i.twice();var u=r.testBit(t),d=n.testBit(t);u!=d&&(i=i.add(u?this:a))}for(t=s.bitLength()-2;t>0;--t){l=l.twice();var p=s.testBit(t),h=o.testBit(t);p!=h&&(l=l.add(p?l:c))}return i}function pn(e,t,n){var r;r=e.bitLength()>n.bitLength()?e.bitLength()-1:n.bitLength()-1;var a=this.curve.getInfinity(),i=this.add(t);while(r>=0)a=a.twice(),e.testBit(r)?a=n.testBit(r)?a.add(i):a.add(this):n.testBit(r)&&(a=a.add(t)),--r;return a}function hn(e,t,n){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(n),this.infinity=new nn(this,null,null)}function fn(){return this.q}function mn(){return this.a}function gn(){return this.b}function vn(e){return e==this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function bn(){return this.infinity}function yn(e){return new qt(this.q,e)}function _n(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:var t=e.substr(0,2),n=(e.substr(2),this.fromBigInteger(new v(l,16))),r=this.getA(),a=this.getB(),i=n.square().add(r).multiply(n).add(a),o=i.sqrt();return"03"==t&&(o=o.negate()),new nn(this,n,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 nn(this,this.fromBigInteger(new v(l,16)),this.fromBigInteger(new v(c,16)));default:return null}}Ft.prototype.nextBytes=Bt,Vt.prototype.doPublic=jt,Vt.prototype.setPublic=Ut,Vt.prototype.type="RSA",Vt.prototype.doPrivate=zt,Vt.prototype.setPrivate=Kt,Vt.prototype.setPrivateEx=Gt,Vt.prototype.generate=Ht,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)},nn.prototype.getEncoded=function(e){var t=function(e,t){var n=e.toByteArrayUnsigned();if(t<n.length)n=n.slice(n.length-t);else while(t>n.length)n.unshift(0);return n},n=this.getX().toBigInteger(),r=this.getY().toBigInteger(),a=t(n,32);return e?r.isEven()?a.unshift(2):a.unshift(3):(a.unshift(4),a=a.concat(t(r,32))),a},nn.decodeFrom=function(e,t){t[0];var n=t.length-1,r=t.slice(1,1+n/2),a=t.slice(1+n/2,1+n);r.unshift(0),a.unshift(0);var i=new v(r),o=new v(a);return new nn(e,e.fromBigInteger(i),e.fromBigInteger(o))},nn.decodeFromHex=function(e,t){t.substr(0,2);var n=t.length-2,r=t.substr(2,n/2),a=t.substr(2+n/2,n/2),i=new v(r,16),o=new v(a,16);return new nn(e,e.fromBigInteger(i),e.fromBigInteger(o))},nn.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),n=e.y.subtract(this.y),r=n.divide(t),a=r.square().subtract(this.x).subtract(e.x),i=r.multiply(this.x.subtract(a)).subtract(this.y);return new nn(this.curve,a,i)},nn.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)),n=this.x.square().multiply(t).add(this.curve.a).divide(this.y.multiply(e)),r=n.square().subtract(this.x.multiply(e)),a=n.multiply(this.x.subtract(r)).subtract(this.y);return new nn(this.curve,r,a)},nn.prototype.multiply2D=function(e){if(this.isInfinity())return this;if(0==e.signum())return this.curve.getInfinity();var t,n=e,r=n.multiply(new v("3")),a=this.negate(),i=this;for(t=r.bitLength()-2;t>0;--t){i=i.twice();var o=r.testBit(t),s=n.testBit(t);o!=s&&(i=i.add2D(o?this:a))}return i},nn.prototype.isOnCurve=function(){var e=this.getX().toBigInteger(),t=this.getY().toBigInteger(),n=this.curve.getA().toBigInteger(),r=this.curve.getB().toBigInteger(),a=this.curve.getQ(),i=t.multiply(t).mod(a),o=e.multiply(e).multiply(e).add(n.multiply(e)).add(r).mod(a);return i.equals(o)},nn.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},nn.prototype.validate=function(){var e=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var t=this.getX().toBigInteger(),n=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(n.compareTo(v.ONE)<0||n.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 wn=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}))',n='(?:"'+t+'*")',r=new RegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+e+"|"+n+")","g"),a=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),i={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function o(e,t,n){return t?i[t]:String.fromCharCode(parseInt(n,16))}var s=new String(""),l="\\",c=Object.hasOwnProperty;return function(e,t){var n,i,u=e.match(r),d=u[0],p=!1;"{"===d?n={}:"["===d?n=[]:(n=[],p=!0);for(var h=[n],f=1-p,m=u.length;f<m;++f){var g;switch(d=u[f],d.charCodeAt(0)){default:g=h[0],g[i||g.length]=+d,i=void 0;break;case 34:if(d=d.substring(1,d.length-1),-1!==d.indexOf(l)&&(d=d.replace(a,o)),g=h[0],!i){if(!(g instanceof Array)){i=d||s;break}i=g.length}g[i]=d,i=void 0;break;case 91:g=h[0],h.unshift(g[i||g.length]=[]),i=void 0;break;case 93:h.shift();break;case 102:g=h[0],g[i||g.length]=!1,i=void 0;break;case 110:g=h[0],g[i||g.length]=null,i=void 0;break;case 116:g=h[0],g[i||g.length]=!0,i=void 0;break;case 123:g=h[0],h.unshift(g[i||g.length]={}),i=void 0;break;case 125:h.shift();break}}if(p){if(1!==h.length)throw new Error;n=n[0]}else if(h.length)throw new Error;if(t){var v=function(e,n){var r=e[n];if(r&&"object"===typeof r){var a=null;for(var i in r)if(c.call(r,i)&&r!==e){var o=v(r,i);void 0!==o?r[i]=o:(a||(a=[]),a.push(i))}if(a)for(var s=a.length;--s>=0;)delete r[a[s]]}return t.call(e,n,r)};n=v({"":n},"")}return n}}();"undefined"!=typeof En&&En||(En={}),"undefined"!=typeof En.asn1&&En.asn1||(En.asn1={}),En.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 Cr(e)},this.getPEMStringFromHex=function(e,t){return Yn(e,t)},this.newObject=function(e){var t=En,n=t.asn1,r=n.ASN1Object,a=n.DERBoolean,i=n.DERInteger,o=n.DERBitString,s=n.DEROctetString,l=n.DERNull,c=n.DERObjectIdentifier,u=n.DEREnumerated,d=n.DERUTF8String,p=n.DERNumericString,h=n.DERPrintableString,f=n.DERTeletexString,m=n.DERIA5String,g=n.DERUTCTime,v=n.DERGeneralizedTime,b=n.DERVisibleString,y=n.DERBMPString,_=n.DERSequence,w=n.DERSet,E=n.DERTaggedObject,k=n.ASN1Util.newObject;if(e instanceof n.ASN1Object)return e;var S=Object.keys(e);if(1!=S.length)throw new Error("key of param shall be only one.");var x=S[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 a(e[x]);if("int"==x)return new i(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 p(e[x]);if("prnstr"==x)return new h(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 r(e[x]);if("seq"==x){for(var A=e[x],C=[],N=0;N<A.length;N++){var T=k(A[N]);C.push(T)}return new _({array:C})}if("set"==x){for(A=e[x],C=[],N=0;N<A.length;N++){T=k(A[N]);C.push(T)}return new w({array:C})}if("tag"==x){var R=e[x];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var O=k(R[2]);return new E({tag:R[0],explicit:R[1],obj:O})}return new E(R)}},this.jsonToASN1HEX=function(e){var t=this.newObject(e);return t.tohex()}},En.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=Math.floor(n/40),a=n%40,i=(t=r+"."+a,""),o=2;o<e.length;o+=2){var s=parseInt(e.substr(o,2),16),l=("00000000"+s.toString(2)).slice(-8);if(i+=l.substr(1,7),"0"==l.substr(0,1)){var c=new v(i,2);t=t+"."+c.toString(10),i=""}}return t},En.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new v(e,10),a=r.toString(2),i=7-a.length%7;7==i&&(i=0);for(var o="",s=0;s<i;s++)o+="0";a=o+a;for(s=0;s<a.length-1;s+=7){var l=a.substr(s,7);s!=a.length-7&&(l="1"+l),n+=t(parseInt(l,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",a=e.split("."),i=40*parseInt(a[0])+parseInt(a[1]);r+=t(i),a.splice(0,2);for(var o=0;o<a.length;o++)r+=n(a[o]);return r},En.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,n=e.toString(16);if(n.length%2==1&&(n="0"+n),e<128)return n;var r=n.length/2;if(r>15)throw new Error("ASN.1 length too long to represent by 8x: n = "+e.toString(16));var a=128+r;return a.toString(16)+n},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=n.nmd(e),function(){var a,i="4.18.1",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="Invalid `imports` option passed into `_.template`",d="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",f=1,m=2,g=4,v=1,b=2,y=1,_=2,w=4,E=8,k=16,S=32,x=64,A=128,C=256,N=512,T=30,R="...",O=800,I=16,D=1,L=2,P=3,M=1/0,B=9007199254740991,F=17976931348623157e292,$=NaN,V=4294967295,U=V-1,j=V>>>1,K=[["ary",A],["bind",y],["bindKey",_],["curry",E],["curryRight",k],["flip",N],["partial",S],["partialRight",x],["rearg",C]],G="[object Arguments]",H="[object Array]",z="[object AsyncFunction]",q="[object Boolean]",X="[object Date]",W="[object DOMException]",Y="[object Error]",Q="[object Function]",J="[object GeneratorFunction]",Z="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ae="[object Proxy]",ie="[object RegExp]",oe="[object Set]",se="[object String]",le="[object Symbol]",ce="[object Undefined]",ue="[object WeakMap]",de="[object WeakSet]",pe="[object ArrayBuffer]",he="[object DataView]",fe="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",be="[object Int32Array]",ye="[object Uint8Array]",_e="[object Uint8ClampedArray]",we="[object Uint16Array]",Ee="[object Uint32Array]",ke=/\b__p \+= '';/g,Se=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ae=/&(?:amp|lt|gt|quot|#39);/g,Ce=/[&<>"']/g,Ne=RegExp(Ae.source),Te=RegExp(Ce.source),Re=/<%-([\s\S]+?)%>/g,Oe=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,De=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Le=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,Be=RegExp(Me.source),Fe=/^\s+/,$e=/\s/,Ve=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ue=/\{\n\/\* \[wrapped with (.+)\] \*/,je=/,? & /,Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ge=/[()=,{}\[\]\/\s]/,He=/\\(\\)?/g,ze=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qe=/\w*$/,Xe=/^[-+]0x[0-9a-f]+$/i,We=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,Qe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",at="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",ot=rt+at+it,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ct="\\xac\\xb1\\xd7\\xf7",ut="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",pt=" \\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",ft="\\ufe0e\\ufe0f",mt=ct+ut+dt+pt,gt="['’]",vt="["+nt+"]",bt="["+mt+"]",yt="["+ot+"]",_t="\\d+",wt="["+st+"]",Et="["+lt+"]",kt="[^"+nt+mt+_t+st+lt+ht+"]",St="\\ud83c[\\udffb-\\udfff]",xt="(?:"+yt+"|"+St+")",At="[^"+nt+"]",Ct="(?:\\ud83c[\\udde6-\\uddff]){2}",Nt="[\\ud800-\\udbff][\\udc00-\\udfff]",Tt="["+ht+"]",Rt="\\u200d",Ot="(?:"+Et+"|"+kt+")",It="(?:"+Tt+"|"+kt+")",Dt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Lt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=xt+"?",Mt="["+ft+"]?",Bt="(?:"+Rt+"(?:"+[At,Ct,Nt].join("|")+")"+Mt+Pt+")*",Ft="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$t="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vt=Mt+Pt+Bt,Ut="(?:"+[wt,Ct,Nt].join("|")+")"+Vt,jt="(?:"+[At+yt+"?",yt,Ct,Nt,vt].join("|")+")",Kt=RegExp(gt,"g"),Gt=RegExp(yt,"g"),Ht=RegExp(St+"(?="+St+")|"+jt+Vt,"g"),zt=RegExp([Tt+"?"+Et+"+"+Dt+"(?="+[bt,Tt,"$"].join("|")+")",It+"+"+Lt+"(?="+[bt,Tt+Ot,"$"].join("|")+")",Tt+"?"+Ot+"+"+Dt,Tt+"+"+Lt,$t,Ft,_t,Ut].join("|"),"g"),qt=RegExp("["+Rt+nt+ot+ft+"]"),Xt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wt=["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"],Yt=-1,Qt={};Qt[fe]=Qt[me]=Qt[ge]=Qt[ve]=Qt[be]=Qt[ye]=Qt[_e]=Qt[we]=Qt[Ee]=!0,Qt[G]=Qt[H]=Qt[pe]=Qt[q]=Qt[he]=Qt[X]=Qt[Y]=Qt[Q]=Qt[Z]=Qt[ee]=Qt[ne]=Qt[ie]=Qt[oe]=Qt[se]=Qt[ue]=!1;var Jt={};Jt[G]=Jt[H]=Jt[pe]=Jt[he]=Jt[q]=Jt[X]=Jt[fe]=Jt[me]=Jt[ge]=Jt[ve]=Jt[be]=Jt[Z]=Jt[ee]=Jt[ne]=Jt[ie]=Jt[oe]=Jt[se]=Jt[le]=Jt[ye]=Jt[_e]=Jt[we]=Jt[Ee]=!0,Jt[Y]=Jt[Q]=Jt[ue]=!1;var Zt={"À":"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","Æ":"ALine truncated
|
||||
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||||
var r=n(1048),a=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function o(e,t,n){return a(e,t,n)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=o),o.prototype=Object.create(a.prototype),i(a,o),o.from=function(e,t,n){if("number"===typeof e)throw new TypeError("Argument must not be a number");return a(e,t,n)},o.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=a(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},o.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return a(e)},o.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},46132:function(e,t,n){"use strict";var r=n(14607),a=n(52672),i=r("RegExp.prototype.exec"),o=n(3468);e.exports=function(e){if(!a(e))throw new o("`regex` must be a RegExp");return function(t){return null!==i(e,t)}}},51565:function(e,t,n){"use strict";const r=Symbol("SemVer ANY");class a{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof a){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===r?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],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)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 a))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=i(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=a;const i=n(13990),{safeRe:o,t:s}=n(72841),l=n(54004),c=n(41361),u=n(24517),d=n(37476)},37476:function(e,t,n){"use strict";const r=/\s+/g;class a{constructor(e,t){if(t=s(t),e instanceof a)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new a(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(r," "),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=>!_(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&&w(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){e=e.replace(y,"");const t=(this.options.includePrerelease&&v)|(this.options.loose&&b),n=t+":"+e,r=o.get(n);if(r)return r;const a=this.options.loose,i=a?d[h.HYPHENRANGELOOSE]:d[h.HYPHENRANGE];e=e.replace(i,L(this.options.includePrerelease)),c("hyphen replace",e),e=e.replace(d[h.COMPARATORTRIM],f),c("comparator trim",e),e=e.replace(d[h.TILDETRIM],m),c("tilde trim",e),e=e.replace(d[h.CARETTRIM],g),c("caret trim",e);let s=e.split(" ").map(e=>k(e,this.options)).join(" ").split(/\s+/).map(e=>D(e,this.options));a&&(s=s.filter(e=>(c("loose invalid filter",e,this.options),!!e.match(d[h.COMPARATORLOOSE])))),c("range list",s);const u=new Map,p=s.map(e=>new l(e,this.options));for(const o of p){if(_(o))return[o];u.set(o.value,o)}u.size>1&&u.has("")&&u.delete("");const w=[...u.values()];return o.set(n,w),w}intersects(e,t){if(!(e instanceof a))throw new TypeError("a Range is required");return this.set.some(n=>E(n,t)&&e.set.some(e=>E(e,t)&&n.every(n=>e.every(e=>n.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 n=0;n<this.set.length;nLine truncated
|
||||
/*!
|
||||
* vuex v4.1.0
|
||||
* (c) 2022 Evan You
|
||||
* @license MIT
|
||||
*/var m="store";function g(e){return void 0===e&&(e=null),(0,r.inject)(null!==e?e:m)}function v(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function b(e){return null!==e&&"object"===typeof e}function y(e){return e&&"function"===typeof e.then}function _(e,t){return function(){return e(t)}}function w(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function E(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;S(e,n,[],e._modules.root,!0),k(e,n,t)}function k(e,t,n){var a=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={},l={},c=(0,r.effectScope)(!0);c.run(function(){v(o,function(t,n){s[n]=_(t,e),l[n]=(0,r.computed)(function(){return s[n]()}),Object.defineProperty(e.getters,n,{get:function(){return l[n].value},enumerable:!0})})}),e._state=(0,r.reactive)({data:t}),e._scope=c,e.strict&&R(e),a&&n&&e._withCommit(function(){a.data=null}),i&&i.stop()}function S(e,t,n,r,a){var i=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!i&&!a){var s=O(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){s[l]=r.state})}var c=r.context=x(e,o,n);r.forEachMutation(function(t,n){var r=o+n;C(e,r,t,c)}),r.forEachAction(function(t,n){var r=t.root?n:o+n,a=t.handler||t;N(e,r,a,c)}),r.forEachGetter(function(t,n){var r=o+n;T(e,r,t,c)}),r.forEachChild(function(r,i){S(e,t,n.concat(i),r,a)})}function x(e,t,n){var r=""===t,a={dispatch:r?e.dispatch:function(n,r,a){var i=I(n,r,a),o=i.payload,s=i.options,l=i.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:r?e.commit:function(n,r,a){var i=I(n,r,a),o=i.payload,s=i.options,l=i.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(a,{getters:{get:r?function(){return e.getters}:function(){return A(e,t)}},state:{get:function(){return O(e.state,n)}}}),a}function A(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(a){if(a.slice(0,r)===t){var i=a.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[a]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function C(e,t,n,r){var a=e._mutations[t]||(e._mutations[t]=[]);a.push(function(t){n.call(e,r.state,t)})}function N(e,t,n,r){var a=e._actions[t]||(e._actions[t]=[]);a.push(function(t){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return y(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}function T(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function R(e){(0,r.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,n){return b(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var D="vuex bindings",L="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:[D]},function(n){n.addTimelineLayer({id:L,label:"Vuex Mutations",color:$}),n.addTimelineLayer({id:P,label:"Vuex Actions",color:$}),n.addInspector({id:M,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(n){if(n.app===e&&n.inspectorId===M)if(n.filter){var r=[];H(r,t._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[G(t._modules.root,"")]}),n.on.getInspectorState(function(n){if(n.app===e&&n.inspectorId===M){var r=n.nodeId;A(t,r),n.state=z(X(t._modules,r),"root"===r?t.getters:t._makeLocalGettersCache,r)}}),n.on.editInspectorState(function(n){if(n.app===e&&n.inspectorId===M){var r=n.nodeId,a=n.path;"root"!==r&&(a=r.split("/").filter(Boolean).concat(a)),t._withCommit(function(){n.set(t._state.data,a,n.state.value)})}}),t.subscribe(function(e,t){var r={};e.payload&&(r.payload=e.payload),r.state=t,n.notifyComponentUpdate(),n.sendInspectorTree(M),n.sendInspectorState(M),n.addTimelineEvent({layerId:L,event:{time:Date.now(),title:e.type,data:r}})}),t.subscribeAction({before:function(e,t){var r={};e.payload&&(r.payload=e.payload),e._id=B++,e._time=Date.now(),r.state=t,n.addTimelineEvent({layerId:P,event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:r}})},after:function(e,t){var r={},a=Date.now()-e._time;r.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},e.payload&&(r.payload=e.payload),r.state=t,n.addTimelineEvent({layerId:P,event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:r}})}})})}var $=8702998,V=6710886,U=16777215,j={label:"namespaced",textColor:U,
Line truncated
|
||||
/**
|
||||
* @vue/shared v3.5.29
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
function i(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const o={},s=()=>{},l=()=>!1,c=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),u=Object.assign,d=(Object.prototype.hasOwnProperty,Array.isArray),p=e=>"string"===typeof e,h=e=>"symbol"===typeof e,f=e=>null!==e&&"object"===typeof e,m=(Object.prototype.toString,i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted")),g=i("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),v=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},b=/-\w/g,y=v(e=>e.replace(b,e=>e.slice(1).toUpperCase())),_=/\B([A-Z])/g,w=(v(e=>e.replace(_,"-$1").toLowerCase()),v(e=>e.charAt(0).toUpperCase()+e.slice(1))),E=v(e=>{const t=e?`on${w(e)}`:"";return t});let k;const S=()=>k||(k="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{});const x=/;(?![^(]*\))/g,A=/:([^]+)/,C=/\/\*[^]*?\*\//g;function N(e){const t={};return e.replace(C,"").split(x).forEach(e=>{if(e){const n=e.split(A);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}const T="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",R="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",O="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",I="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",D=i(T),L=i(R),P=i(O),M=i(I);
|
||||
/**
|
||||
* @vue/compiler-core v3.5.29
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
const B=Symbol(""),F=Symbol(""),$=Symbol(""),V=Symbol(""),U=Symbol(""),j=Symbol(""),K=Symbol(""),G=Symbol(""),H=Symbol(""),z=Symbol(""),q=Symbol(""),X=Symbol(""),W=Symbol(""),Y=Symbol(""),Q=Symbol(""),J=Symbol(""),Z=Symbol(""),ee=Symbol(""),te=Symbol(""),ne=Symbol(""),re=Symbol(""),ae=Symbol(""),ie=Symbol(""),oe=Symbol(""),se=Symbol(""),le=Symbol(""),ce=Symbol(""),ue=Symbol(""),de=Symbol(""),pe=Symbol(""),he=Symbol(""),fe=Symbol(""),me=Symbol(""),ge=Symbol(""),ve=Symbol(""),be=Symbol(""),ye=Symbol(""),_e=Symbol(""),we=Symbol(""),Ee={[B]:"Fragment",[F]:"Teleport",[$]:"Suspense",[V]:"KeepAlive",[U]:"BaseTransition",[j]:"openBlock",[K]:"createBlock",[G]:"createElementBlock",[H]:"createVNode",[z]:"createElementVNode",[q]:"createCommentVNode",[X]:"createTextVNode",[W]:"createStaticVNode",[Y]:"resolveComponent",[Q]:"resolveDynamicComponent",[J]:"resolveDirective",[Z]:"resolveFilter",[ee]:"withDirectives",[te]:"renderList",[ne]:"renderSlot",[re]:"createSlots",[ae]:"toDisplayString",[ie]:"mergeProps",[oe]:"normalizeClass",[se]:"normalizeStyle",[le]:"normalizeProps",[ce]:"guardReactiveProps",[ue]:"toHandlers",[de]:"camelize",[pe]:"capitalize",[he]:"toHandlerKey",[fe]:"setBlockTracking",[me]:"pushScopeId",[ge]:"popScopeId",[ve]:"withCtx",[be]:"unref",[ye]:"isRef",[_e]:"withMemo",[we]:"isMemoSame"};function ke(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ee[t]=e[t]})}const Se={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function xe(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Se}}function Ae(e,t,n,r,a,i,o,s=!1,l=!1,c=!1,u=Se){return e&&(s?(e.helper(j),e.helper(Fe(e.inSSR,c))):e.helper(Be(e.inSSR,c)),o&&e.helper(ee)),{type:13,tag:t,props:n,children:r,patchFlag:a,dynamicProps:i,directives:o,isBlock:s,disableTracking:l,isComponent:c,loc:u}}function Ce(e,t=Se){return{type:17,loc:t,elements:e}}function Ne(e,t=Se){return{type:15,loc:t,properties:e}}function Te(e,t){return{type:16,loc:Se,key:p(e)?Re(e,!0):e,value:t}}function Re(e,t=!1,n=Se,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function Oe(e,t=Se){return{type:8,loc:t,children:e}}function Ie(e,t=[],n=Se){return{type:14,loc:n,callee:e,arguments:t}}function De(e,t=void 0,n=!1,r=!1,a=Se){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:a}}function Le(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:Se}}function Pe(e,t,n=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:r,needArraySpread:!1,loc:Se}}function Me(e){return{type:21,body:e,loc:Se}}function Be(e,t){return e||t?H:z}function Fe(e,t){return e||t?K:G}function $e(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(Be(r,e.isComponent)),t(j),t(Fe(r,e.isComponent)))}const Ve=new Uint8Array([123,123]),Ue=new Uint8Array([125,125]);function je(e){return e>=97&&e<=122||e>=65&&e<=90}function Ke(e){return 32===e||10===e||9===e||12===e||13===e}function Ge(e){return 47===e||62===e||Ke(e)}function He(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const ze={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class qe{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Ve,this.delimiterClose=Ue,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Ve,this.delimiterClose=Ue}getPos(e){let t=1,n=e+1;const r=this.newlines.length;let a=-1;if(r>100){let t=-1,n=r;while(t+1<n){const r=t+n>>>1;this.newlines[r]<e?t=r:n=r}a=t}else for(let i=r-1;i>=0;i--)if(e>this.newlines[i]){a=i;break}return a>=0&&(t=a+2,n=e-this.newlines[a]),{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.statLine truncated
|
||||
/**
|
||||
* @vue/compiler-dom v3.5.29
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/
|
||||
const Yr=Symbol(""),Qr=Symbol(""),Jr=Symbol(""),Zr=Symbol(""),ea=Symbol(""),ta=Symbol(""),na=Symbol(""),ra=Symbol(""),aa=Symbol(""),ia=Symbol("");let oa;function sa(e,t=!1){return oa||(oa=document.createElement("div")),t?(oa.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,oa.children[0].getAttribute("foo")):(oa.innerHTML=e,oa.textContent)}ke({[Yr]:"vModelRadio",[Qr]:"vModelCheckbox",[Jr]:"vModelText",[Zr]:"vModelSelect",[ea]:"vModelDynamic",[ta]:"withModifiers",[na]:"withKeys",[ra]:"vShow",[aa]:"Transition",[ia]:"TransitionGroup"});const la={parseMode:"html",isVoidTag:M,isNativeTag:e=>D(e)||L(e)||P(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:sa,isBuiltInComponent:e=>"Transition"===e||"transition"===e?aa:"TransitionGroup"===e||"transition-group"===e?ia:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},ca=e=>{1===e.type&&e.props.forEach((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:Re("style",!0,t.loc),exp:ua(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ua=(e,t)=>{const n=N(e);return Re(JSON.stringify(n),!1,t,3)};function da(e,t){return Ze(e,t,void 0)}const pa=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(da(54,a)),t.children.length&&(n.onError(da(55,a)),t.children.length=0),{props:[Te(Re("innerHTML",!0,a),r||Re("",!0))]}},ha=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(da(56,a)),t.children.length&&(n.onError(da(57,a)),t.children.length=0),{props:[Te(Re("textContent",!0),r?En(r,n)>0?r:Ie(n.helperString(ae),[r],a):Re("",!0))]}},fa=(e,t,n)=>{const r=Br(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(da(59,e.arg.loc));const{tag:a}=t,i=n.isCustomElement(a);if("input"===a||"textarea"===a||"select"===a||i){let o=Jr,s=!1;if("input"===a||i){const r=ft(t,"type");if(r){if(7===r.type)o=ea;else if(r.value)switch(r.value.content){case"radio":o=Yr;break;case"checkbox":o=Qr;break;case"file":s=!0,n.onError(da(60,e.loc));break;default:break}}else gt(t)&&(o=ea)}else"select"===a&&(o=Zr);s||(r.needRuntime=n.helper(o))}else n.onError(da(58,e.loc));return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},ma=i("passive,once,capture"),ga=i("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),va=i("left,right"),ba=i("onkeyup,onkeydown,onkeypress"),ya=(e,t,n,r)=>{const a=[],i=[],o=[];for(let s=0;s<t.length;s++){const l=t[s].content;"native"===l&&Ye("COMPILER_V_ON_NATIVE",n,r)||ma(l)?o.push(l):va(l)?et(e)?ba(e.content.toLowerCase())?a.push(l):i.push(l):(a.push(l),i.push(l)):ga(l)?i.push(l):a.push(l)}return{keyModifiers:a,nonKeyModifiers:i,eventOptionModifiers:o}},_a=(e,t)=>{const n=et(e)&&"onclick"===e.content.toLowerCase();return n?Re(t,!0):4!==e.type?Oe(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e},wa=(e,t,n)=>Or(e,t,n,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:a,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:s,eventOptionModifiers:l}=ya(a,r,n,e.loc);if(s.includes("right")&&(a=_a(a,"onContextmenu")),s.includes("middle")&&(a=_a(a,"onMouseup")),s.length&&(i=Ie(n.helper(ta),[i,JSON.stringify(s)])),!o.length||et(a)&&!ba(a.content.toLowerCase())||(i=Ie(n.helper(na),[i,JSON.stringify(o)])),l.length){const e=l.map(w).join("");a=et(a)?Re(`${a.content}${e}`,!0):Oe(["(",a,`) + "${e}"`])}return{props:[Te(a,i)]}}),Ea=(e,t,n)=>{const{exp:r,loc:a}=e;return r||n.onError(da(62,a)),{props:[],needRuntime:n.helper(ra)}};const ka=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()};const Sa=[ca],xa={cloak:Wr,html:pa,text:ha,model:fa,on:wa,show:Ea};function Aa(e,t={}){return Xr(e,u({},la,t,{nodeTransforms:[ka,...Sa,...t.nodeTransforms||[]],directiveTransforms:u({},xa,t.directiveTransforms||{}),transformHoist:null}))}n(4364);const{ensureValidVNode:Ca}=r.ssrUtils;{const e=S(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}const{createComponentInstance:Na,setCurrentRenderingInstance:Ta,setupComponent:Ra,renderComponentRoot:Oa,normalizeVNode:Ia,pushWarningContext:Da,popWarningContext:La}=r.ssrUtils;const{isVNode:Pa}=r.ssrUtils;const{isVNode:Ma}=r.ssrUtils;(0,r.initDirectivesForSSR)();var Ba=n(4364),Fa=function(e,t){return Fa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Fa(e,t)};function $a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a construcLine truncated
|
||||
/*!
|
||||
* isElementVisible
|
||||
* Adapted from https://github.com/testing-library/jest-dom
|
||||
* Licensed under the MIT License.
|
||||
*/function qi(e){if(!(e instanceof HTMLElement)&&!(e instanceof SVGElement))return!1;var t=getComputedStyle(e),n=t.display,r=t.visibility,a=t.opacity;return"none"!==n&&"hidden"!==r&&"collapse"!==r&&"0"!==a}function Xi(e){return!e.hasAttribute("hidden")&&("DETAILS"!==e.nodeName||e.hasAttribute("open"))}function Wi(e){return"#comment"!==e.nodeName&&qi(e)&&Xi(e)&&(!e.parentElement||Wi(e.parentElement))}function Yi(e){return e instanceof Element}(function(e){e[e["DOMWrapper"]=0]="DOMWrapper",e[e["VueWrapper"]=1]="VueWrapper"})(Bi||(Bi={}));var Qi={};function Ji(e,t){Qi[e]=t}var Zi=function(e){return Qi[Bi.DOMWrapper](e)},eo=function(e,t,n){return Qi[Bi.VueWrapper](e,t,n)};function to(e){return e instanceof Element?e.outerHTML:(new XMLSerializer).serializeToString(e)}function no(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var ro,ao={exports:{}},io={},oo={exports:{}},so={},lo={};function co(){if(ro)return lo;function e(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function t(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function n(n,r){this.__indent_cache=new t(n,r),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return ro=1,e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},e.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},e.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return 0===this.__items.length},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},e.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){while(" "===this.last())this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},t.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t,n},t.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t],n},t.prototype.__ensure_cache=function(e){while(e>=this.__cache.length)this._Line truncated
|
||||
/*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE */const{entries:a,setPrototypeOf:i,isFrozen:o,getPrototypeOf:s,getOwnPropertyDescriptor:l}=Object;let{freeze:c,seal:u,create:d}=Object,{apply:p,construct:h}="undefined"!==typeof Reflect&&Reflect;c||(c=function(e){return e}),u||(u=function(e){return e}),p||(p=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),a=2;a<n;a++)r[a-2]=arguments[a];return e.apply(t,r)}),h||(h=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 new e(...n)});const f=N(Array.prototype.forEach),m=N(Array.prototype.lastIndexOf),g=N(Array.prototype.pop),v=N(Array.prototype.push),b=N(Array.prototype.splice),y=N(String.prototype.toLowerCase),_=N(String.prototype.toString),w=N(String.prototype.match),E=N(String.prototype.replace),k=N(String.prototype.indexOf),S=N(String.prototype.trim),x=N(Object.prototype.hasOwnProperty),A=N(RegExp.prototype.test),C=T(TypeError);function N(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return p(e,t,r)}}function T(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return h(e,n)}}function R(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;i&&i(e,null);let r=t.length;while(r--){let a=t[r];if("string"===typeof a){const e=n(a);e!==a&&(o(t)||(t[r]=e),a=e)}e[a]=!0}return e}function O(e){for(let t=0;t<e.length;t++){const n=x(e,t);n||(e[t]=null)}return e}function I(e){const t=d(null);for(const[n,r]of a(e)){const a=x(e,n);a&&(Array.isArray(r)?t[n]=O(r):r&&"object"===typeof r&&r.constructor===Object?t[n]=I(r):t[n]=r)}return t}function D(e,t){while(null!==e){const n=l(e,t);if(n){if(n.get)return N(n.get);if("function"===typeof n.value)return N(n.value)}e=s(e)}function n(){return null}return n}const L=c(["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","search","section","select","shadow","slot","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"]),P=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),M=c(["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"]),B=c(["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"]),F=c(["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"]),$=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V=c(["#text"]),U=c(["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","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","inLine truncated
|
||||
/**
|
||||
* vee-validate v4.15.1
|
||||
* (c) 2025 Abdelrahman Awad
|
||||
* @license MIT
|
||||
*/function a(e){return"function"===typeof e}function i(e){return null===e||void 0===e}const o=e=>null!==e&&!!e&&"object"===typeof e&&!Array.isArray(e);function s(e){return Number(e)>=0}function l(e){const t=parseFloat(e);return isNaN(t)?e:t}function c(e){return"object"===typeof e&&null!==e}function u(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function d(e){if(!c(e)||"[object Object]"!==u(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;while(null!==Object.getPrototypeOf(t))t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function p(e,t){return Object.keys(t).forEach(n=>{if(d(t[n])&&d(e[n]))return e[n]||(e[n]={}),void p(e[n],t[n]);e[n]=t[n]}),e}function h(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++)s(t[r])?n+=`[${t[r]}]`:n+=`.${t[r]}`;return n}const f={};function m(e){return f[e]}function g(e,t,n){"object"===typeof n.value&&(n.value=v(n.value)),n.enumerable&&!n.get&&!n.set&&n.configurable&&n.writable&&"__proto__"!==t?e[t]=n.value:Object.defineProperty(e,t,n)}function v(e){if("object"!==typeof e)return e;var t,n,r,a=0,i=Object.prototype.toString.call(e);if("[object Object]"===i?r=Object.create(e.__proto__||null):"[object Array]"===i?r=Array(e.length):"[object Set]"===i?(r=new Set,e.forEach(function(e){r.add(v(e))})):"[object Map]"===i?(r=new Map,e.forEach(function(e,t){r.set(v(t),v(e))})):"[object Date]"===i?r=new Date(+e):"[object RegExp]"===i?r=new RegExp(e.source,e.flags):"[object DataView]"===i?r=new e.constructor(v(e.buffer)):"[object ArrayBuffer]"===i?r=e.slice(0):"Array]"===i.slice(-6)&&(r=new e.constructor(e)),r){for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)g(r,n[a],Object.getOwnPropertyDescriptor(e,n[a]));for(a=0,n=Object.getOwnPropertyNames(e);a<n.length;a++)Object.hasOwnProperty.call(r,t=n[a])&&r[t]===e[t]||g(r,t,Object.getOwnPropertyDescriptor(e,t))}return r||e}const b=Symbol("vee-validate-form"),y=Symbol("vee-validate-form-context"),_=Symbol("vee-validate-field-instance"),w=Symbol("Default empty value"),E="undefined"!==typeof window;function k(e){return a(e)&&!!e.__locatorRef}function S(e){return!!e&&a(e.parse)&&"VVTypedSchema"===e.__type}function x(e){return!!e&&a(e.validate)}function A(e){return"checkbox"===e||"radio"===e}function C(e){return o(e)||Array.isArray(e)}function N(e){return Array.isArray(e)?0===e.length:o(e)&&0===Object.keys(e).length}function T(e){return/^\[.+\]$/i.test(e)}function R(e){return O(e)&&e.multiple}function O(e){return"SELECT"===e.tagName}function I(e,t){const n=![!1,null,void 0,0].includes(t.multiple)&&!Number.isNaN(t.multiple);return"select"===e&&"multiple"in t&&n}function D(e,t){return!I(e,t)&&"file"!==t.type&&!A(t.type)}function L(e){return P(e)&&e.target&&"submit"in e.target}function P(e){return!!e&&(!!("undefined"!==typeof Event&&a(Event)&&e instanceof Event)||!(!e||!e.srcElement))}function M(e,t){return t in e&&e[t]!==w}function B(e,t){if(e===t)return!0;if(e&&t&&"object"===typeof e&&"object"===typeof t){if(e.constructor!==t.constructor)return!1;var n,r,a;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!==r--;)if(!B(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;for(r of e.entries())if(!B(r[1],t.get(r[0])))return!1;return!0}if($(e)&&$(t))return e.size===t.size&&(e.name===t.name&&(e.lastModified===t.lastModified&&e.type===t.type));if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;0!==r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(e=F(e),t=F(t),a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!Object.prototype.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!==r--;){var i=a[r];if(!B(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function F(e){return Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))}function $(e){return!!E&&e instanceof File}function V(e){return T(e)?e.replace(/\[|\]/gi,""):e}function U(e,t,n){if(!e)return n;if(T(t))return e[V(t)];const r=(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((e,t)=>C(e)&&t in e?e[t]:n,e);return r}function j(e,t,n){if(T(t))return void(e[V(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let a=e;for(let o=0;o<r.length;o++){if(o===r.length-1)return void(a[r[o]]=n);r[o]in a&&!i(a[r[o]])||(a[r[o]]=s(r[o+1])?[]:{}),a=a[r[o]]}}function K(e,t){Array.isArray(e)&&s(t)?e.splice(Number(t),1):o(e)&&delete e[t]}function G(e,t){if(T(t))return void delete e[V(t)];const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let o=0;o<n.length;o++){if(o===n.Line truncated
|
||||
//# sourceMappingURL=harvester-1.9.1-rc5.umd.min.js.map
|
||||
Reference in new issue
Block a user