Files
firefly-iii/public/v1/js/webhooks/index.js

2 lines
348 KiB
JavaScript
Raw Normal View History

2022-09-17 16:54:13 +02:00
/*! For license information please see index.js.LICENSE.txt */
2023-12-03 08:14:32 +01:00
(()=>{var e={6479:(e,t,o)=>{window.axios=o(7218),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var a=document.head.querySelector('meta[name="csrf-token"]');a?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=a.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token")},3082:(e,t,o)=>{e.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:o(3099),"ca-es":o(4124),cs:o(211),da:o(9352),de:o(4460),el:o(1244),en:o(1443),"en-us":o(1443),"en-gb":o(6680),es:o(6589),fi:o(3865),fr:o(7932),hu:o(2156),id:o(1642),it:o(7379),ja:o(8297),ko:o(615),nb:o(419),nl:o(1513),nn:o(8012),pl:o(3997),"pt-br":o(9627),"pt-pt":o(8562),pt:o(8562),ro:o(5722),ru:o(8388),sk:o(2952),sl:o(4112),sr:o(4112),sv:o(7203),tr:o(6001),uk:o(3971),vi:o(9054),zh:o(1031),"zh-tw":o(3920),"zh-cn":o(1031)}})},9742:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),o=t[0],a=t[1];return 3*(o+a)/4-a},t.toByteArray=function(e){var t,o,i=s(e),r=i[0],l=i[1],_=new n(function(e,t,o){return 3*(t+o)/4-o}(0,r,l)),c=0,u=l>0?r-4:r;for(o=0;o<u;o+=4)t=a[e.charCodeAt(o)]<<18|a[e.charCodeAt(o+1)]<<12|a[e.charCodeAt(o+2)]<<6|a[e.charCodeAt(o+3)],_[c++]=t>>16&255,_[c++]=t>>8&255,_[c++]=255&t;2===l&&(t=a[e.charCodeAt(o)]<<2|a[e.charCodeAt(o+1)]>>4,_[c++]=255&t);1===l&&(t=a[e.charCodeAt(o)]<<10|a[e.charCodeAt(o+1)]<<4|a[e.charCodeAt(o+2)]>>2,_[c++]=t>>8&255,_[c++]=255&t);return _},t.fromByteArray=function(e){for(var t,a=e.length,n=a%3,i=[],r=16383,s=0,_=a-n;s<_;s+=r)i.push(l(e,s,s+r>_?_:s+r));1===n?(t=e[a-1],i.push(o[t>>2]+o[t<<4&63]+"==")):2===n&&(t=(e[a-2]<<8)+e[a-1],i.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"="));return i.join("")};for(var o=[],a=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0;r<64;++r)o[r]=i[r],a[i.charCodeAt(r)]=r;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=e.indexOf("=");return-1===o&&(o=t),[o,o===t?0:4-o%4]}function l(e,t,a){for(var n,i,r=[],s=t;s<a;s+=3)n=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),r.push(o[(i=n)>>18&63]+o[i>>12&63]+o[i>>6&63]+o[63&i]);return r.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},8764:(e,t,o)=>{"use strict";var a=o(9742),n=o(645),i=o(5826);function r(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,o){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,o);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return _(this,e,t,o)}function _(e,t,o,a){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,o,a){if(t.byteLength,o<0||t.byteLength<o)throw new RangeError("'offset' is out of bounds");if(t.byteLength<o+(a||0))throw new RangeError("'length' is out of bounds");t=void 0===o&&void 0===a?new Uint8Array(t):void 0===a?new Uint8Array(t,o):new Uint8Array(t,o,a);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=h(e,t);return e}(e,t,o,a):"string"==typeof t?function(e,t,o){"string"==typeof o&&""!==o||(o="utf8");if(!l.isEncoding(o))throw new TypeError('"encoding" must be a valid string encoding');var a=0|d(t,o);e=s(e,a);var n=e.write(t,o);n!==a&&(e=e.slice(0,n));return e}(e,t,o):function(e,t){if(l.isBuffer(t)){var o=0|p(t.length);return 0===(e=s(e,o)).length||t.copy(e,0,0,o),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(a=t.length)!=a?s(e,0):h(e,t);if("Buffer"===t.type&&i(t.data))return h(e,t.data)}var a;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a