From d295cc5223f7577601f65e2d1bbe859aa606429a Mon Sep 17 00:00:00 2001 From: thomas girod Date: Wed, 14 Aug 2024 13:25:33 +0200 Subject: [PATCH] move vendored files into their own folder --- core/static/core/js/sentry/bundle.min.js | 3 --- .../js => vendored/alpine}/alpinejs.min.js | 0 .../js => vendored/chart}/Chart.bundle.min.js | 0 .../{core => vendored}/easymde/easymde.min.css | 0 .../{core => vendored}/easymde/easymde.min.js | 0 .../font-awesome/css/font-awesome.min.css | 0 .../font-awesome/fonts/FontAwesome.otf | Bin .../font-awesome/fonts/fontawesome-webfont.eot | Bin .../font-awesome/fonts/fontawesome-webfont.svg | 0 .../font-awesome/fonts/fontawesome-webfont.ttf | Bin .../font-awesome/fonts/fontawesome-webfont.woff | Bin .../fonts/fontawesome-webfont.woff2 | Bin .../font-awesome/js/fontawesome.min.js | 0 .../js => vendored/jquery}/jquery-3.6.2.min.js | 0 .../{core/js => vendored/jquery}/ui/AUTHORS.txt | 0 .../{core/js => vendored/jquery}/ui/LICENSE.txt | 0 .../jquery}/ui/external/jquery/jquery.js | 0 .../jquery}/ui/i18n/datepicker-fr.js | 0 .../ui/images/ui-icons_444444_256x240.png | Bin .../ui/images/ui-icons_555555_256x240.png | Bin .../ui/images/ui-icons_777620_256x240.png | Bin .../ui/images/ui-icons_777777_256x240.png | Bin .../ui/images/ui-icons_cc0000_256x240.png | Bin .../ui/images/ui-icons_ffffff_256x240.png | Bin .../{core/js => vendored/jquery}/ui/index.html | 0 .../js => vendored/jquery}/ui/jquery-ui.css | 0 .../js => vendored/jquery}/ui/jquery-ui.js | 0 .../js => vendored/jquery}/ui/jquery-ui.min.css | 0 .../js => vendored/jquery}/ui/jquery-ui.min.js | 0 .../jquery}/ui/jquery-ui.structure.css | 0 .../jquery}/ui/jquery-ui.structure.min.css | 0 .../jquery}/ui/jquery-ui.theme.css | 0 .../jquery}/ui/jquery-ui.theme.min.css | 0 .../js => vendored/jquery}/ui/package.json | 0 .../native-file-system-adapter/LICENSE | 0 .../native-file-system-adapter/mod.js | 0 .../native-file-system-adapter/mod.min.js | 0 .../src/FileSystemDirectoryHandle.js | 0 .../src/FileSystemFileHandle.js | 0 .../src/FileSystemHandle.js | 0 .../src/FileSystemWritableFileStream.js | 0 .../src/adapters/_template.js | 0 .../src/adapters/cache.js | 0 .../src/adapters/deno.js | 0 .../src/adapters/downloader.js | 0 .../src/adapters/indexeddb.js | 0 .../src/adapters/jsdelivr.js | 0 .../src/adapters/memory.js | 0 .../src/adapters/node.js | 0 .../src/adapters/sandbox.js | 0 .../native-file-system-adapter/src/config.js | 0 .../native-file-system-adapter/src/es6.js | 0 .../src/getOriginPrivateDirectory.js | 0 .../src/showDirectoryPicker.js | 0 .../src/showOpenFilePicker.js | 0 .../src/showSaveFilePicker.js | 0 .../native-file-system-adapter/src/util.js | 0 .../native-file-system-adapter/sw.js | 0 core/static/vendored/sentry/bundle.min.js | 1 + core/static/{core/js => vendored}/zipjs/LICENSE | 0 .../{core/js => vendored}/zipjs/README.md | 0 .../js => vendored}/zipjs/zip-fs-full.min.js | 0 core/templates/core/500.jinja | 3 +-- core/templates/core/base.jinja | 16 ++++++++-------- core/templates/core/user_pictures.jinja | 4 ++-- core/views/forms.py | 4 ++-- sith/settings.py | 2 +- subscription/templates/subscription/stats.jinja | 2 +- 68 files changed, 16 insertions(+), 19 deletions(-) delete mode 100644 core/static/core/js/sentry/bundle.min.js rename core/static/{core/js => vendored/alpine}/alpinejs.min.js (100%) rename core/static/{core/js => vendored/chart}/Chart.bundle.min.js (100%) rename core/static/{core => vendored}/easymde/easymde.min.css (100%) rename core/static/{core => vendored}/easymde/easymde.min.js (100%) rename core/static/{core => vendored}/font-awesome/css/font-awesome.min.css (100%) rename core/static/{core => vendored}/font-awesome/fonts/FontAwesome.otf (100%) rename core/static/{core => vendored}/font-awesome/fonts/fontawesome-webfont.eot (100%) rename core/static/{core => vendored}/font-awesome/fonts/fontawesome-webfont.svg (100%) rename core/static/{core => vendored}/font-awesome/fonts/fontawesome-webfont.ttf (100%) rename core/static/{core => vendored}/font-awesome/fonts/fontawesome-webfont.woff (100%) rename core/static/{core => vendored}/font-awesome/fonts/fontawesome-webfont.woff2 (100%) rename core/static/{core => vendored}/font-awesome/js/fontawesome.min.js (100%) rename core/static/{core/js => vendored/jquery}/jquery-3.6.2.min.js (100%) rename core/static/{core/js => vendored/jquery}/ui/AUTHORS.txt (100%) rename core/static/{core/js => vendored/jquery}/ui/LICENSE.txt (100%) rename core/static/{core/js => vendored/jquery}/ui/external/jquery/jquery.js (100%) rename core/static/{core/js => vendored/jquery}/ui/i18n/datepicker-fr.js (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_444444_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_555555_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_777620_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_777777_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_cc0000_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/images/ui-icons_ffffff_256x240.png (100%) rename core/static/{core/js => vendored/jquery}/ui/index.html (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.css (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.js (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.min.css (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.min.js (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.structure.css (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.structure.min.css (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.theme.css (100%) rename core/static/{core/js => vendored/jquery}/ui/jquery-ui.theme.min.css (100%) rename core/static/{core/js => vendored/jquery}/ui/package.json (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/LICENSE (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/mod.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/mod.min.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/FileSystemDirectoryHandle.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/FileSystemFileHandle.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/FileSystemHandle.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/FileSystemWritableFileStream.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/_template.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/cache.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/deno.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/downloader.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/indexeddb.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/jsdelivr.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/memory.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/node.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/adapters/sandbox.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/config.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/es6.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/getOriginPrivateDirectory.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/showDirectoryPicker.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/showOpenFilePicker.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/showSaveFilePicker.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/src/util.js (100%) rename core/static/{core/js => vendored}/native-file-system-adapter/sw.js (100%) create mode 100644 core/static/vendored/sentry/bundle.min.js rename core/static/{core/js => vendored}/zipjs/LICENSE (100%) rename core/static/{core/js => vendored}/zipjs/README.md (100%) rename core/static/{core/js => vendored}/zipjs/zip-fs-full.min.js (100%) diff --git a/core/static/core/js/sentry/bundle.min.js b/core/static/core/js/sentry/bundle.min.js deleted file mode 100644 index b5d86c2e..00000000 --- a/core/static/core/js/sentry/bundle.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! @sentry/browser 4.0.6 (f474d18) | https://github.com/getsentry/sentry-javascript */ -var Sentry=function(t){"use strict";var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,n)};function n(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var t=[],e=0;e=200&&e<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(e.Status||(e.Status={}))});c(f);var p=f.Severity,h=f.Status,d=l(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isError=function(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}},e.isErrorEvent=function(t){return"[object ErrorEvent]"===Object.prototype.toString.call(t)},e.isDOMError=function(t){return"[object DOMError]"===Object.prototype.toString.call(t)},e.isDOMException=function(t){return"[object DOMException]"===Object.prototype.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isFunction=function(t){return"function"==typeof t},e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)},e.isPlainObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isRegExp=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}});c(d);var v=d.isError,y=d.isErrorEvent,g=d.isDOMError,b=d.isDOMException,m=d.isUndefined,_=d.isFunction,E=d.isString,w=(d.isArray,d.isPlainObject),x=(d.isRegExp,l(function(t,e){function n(){return"undefined"!=typeof window?window:void 0!==s?s:"undefined"!=typeof self?self:{}}function r(t){var e,n,r,o,i,a=[];if(!t||!t.tagName)return"";if(a.push(t.tagName.toLowerCase()),t.id&&a.push("#"+t.id),(e=t.className)&&d.isString(e))for(n=e.split(/\s+/),i=0;i ".length;n&&i++<5&&!("html"===(e=r(n))||i>1&&a+o.length*u+e.length>=80);)o.push(e),a+=e.length,n=n.parentNode;return o.reverse().join(" > ")},e.htmlElementAsString=r,e.parseUrl=function(t){if(!t)return{};var e=t.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};var n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],relative:e[5]+n+r}},e.getEventDescription=function(t){if(t.message)return t.message;if(t.exception&&t.exception.values&&t.exception.values[0]){var e=t.exception.values[0];return e.type&&e.value?e.type+": "+e.value:e.type||e.value||t.event_id||""}return t.event_id||""}}));c(x);var S=x.getGlobalObject,k=(x.uuid4,x.htmlTreeAsString),O=(x.htmlElementAsString,x.parseUrl),j=x.getEventDescription,T=l(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=x.getGlobalObject(),r=new(function(){function t(){this.console=n.console,this.disabled=!0}return t.prototype.disable=function(){this.disabled=!0},t.prototype.enable=function(){this.disabled=!1},t.prototype.log=function(t){this.disabled||this.console.log("Sentry Logger [Log]: "+t)},t.prototype.warn=function(t){this.disabled||this.console.warn("Sentry Logger [Warn]: "+t)},t.prototype.error=function(t){this.disabled||this.console.error("Sentry Logger [Error]: "+t)},t}());e.logger=r});c(T);T.logger;var M=l(function(t,e){var n=s&&s.__assign||function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}},a=s&&s.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},u=s&&s.__spread||function(){for(var t=[],e=0;e=0?u(this.breadcrumbs,[t]).slice(-e):u(this.breadcrumbs,[t]),this.notifyScopeListeners()},t.prototype.applyToEvent=function(t,e,i){return r(this,void 0,void 0,function(){return o(this,function(r){return this.extra&&Object.keys(this.extra).length&&(t.extra=n({},this.extra,t.extra)),this.tags&&Object.keys(this.tags).length&&(t.tags=n({},this.tags,t.tags)),this.user&&Object.keys(this.user).length&&(t.user=n({},this.user,t.user)),this.fingerprint&&void 0===t.fingerprint&&(t.fingerprint=this.fingerprint),this.level&&void 0===t.level&&(t.level=this.level),(!t.breadcrumbs||0===t.breadcrumbs.length)&&this.breadcrumbs.length>0&&(t.breadcrumbs=void 0!==i&&i>=0?this.breadcrumbs.slice(-i):this.breadcrumbs),[2,this.notifyEventProcessors(t,e)]})})},t}();e.Scope=c});c(M);M.Scope;var B=l(function(t,e){var n=s&&s.__assign||function(){return(n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},o=s&&s.__spread||function(){for(var t=[],e=0;e0?t[t.length-1].scope:void 0,n=M.Scope.clone(e);return this.getStack().push({client:this.getClient(),scope:n}),n},t.prototype.popScope=function(){return void 0!==this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this.stack},t.prototype.getStackTop=function(){return this.stack[this.stack.length-1]},t.prototype.captureException=function(t,e){var r=this._lastEventId=x.uuid4();return this.invokeClientAsync("captureException",t,n({},e,{event_id:r})),r},t.prototype.captureMessage=function(t,e,r){var o=this._lastEventId=x.uuid4();return this.invokeClientAsync("captureMessage",t,e,n({},r,{event_id:o})),o},t.prototype.captureEvent=function(t,e){var r=this._lastEventId=x.uuid4();return this.invokeClientAsync("captureEvent",t,n({},e,{event_id:r})),r},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){this.invokeClient("addBreadcrumb",t,n({},e))},t.prototype.configureScope=function(t){var e=this.getStackTop();e.scope&&e.client&&t(e.scope)},t.prototype.run=function(t){var e=u(this);try{t(this)}finally{u(e)}},t}();function a(){var t=x.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{hub:void 0},t.__SENTRY__}function u(t){var e=a(),n=e.hub;return e.hub=t,n}e.Hub=i,e.getMainCarrier=a,e.makeMain=u,e.getCurrentHub=function(){var t=a();return t.hub&&!t.hub.isOlderThan(e.API_VERSION)||(t.hub=new i),t.hub},e.getHubFromCarrier=function(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub?t.__SENTRY__.hub:(t.__SENTRY__={},t.__SENTRY__.hub=new i,t.__SENTRY__.hub)}});c(B);B.API_VERSION,B.Hub,B.getMainCarrier,B.makeMain,B.getCurrentHub,B.getHubFromCarrier;var P=l(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scope=M.Scope,e.getCurrentHub=B.getCurrentHub,e.getHubFromCarrier=B.getHubFromCarrier,e.Hub=B.Hub});c(P);P.Scope,P.getCurrentHub,P.getHubFromCarrier,P.Hub;var I=l(function(t,e){var n=s&&s.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=s&&s.__spread||function(){for(var t=[],e=0;e0){var u=t.indexOf(this);-1!==u?(t.splice(u+1),e.splice(u,1/0,o)):(t.push(this),e.push(o)),-1!==t.indexOf(a)&&(a=function(n,r){return t[0]===r?"[Circular ~]":"[Circular ~."+e.slice(0,t.indexOf(r)).join(".")+"]"}.call(this,o,a))}else t.push(a);return a instanceof Error?function(t){var e={message:t.message,name:t.name,stack:t.stack};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(a):a}}function i(t,e){return e===n?NaN:e!==r?e:void 0}function a(t){return JSON.stringify(t,o())}function u(t){return JSON.parse(t,i)}e.serialize=a,e.deserialize=u,e.clone=function(t){return u(a(t))},e.fill=function(t,e,n){if(e in t){var r=t[e],o=n(r);o.__sentry__=!0,o.__sentry_original__=r,o.__sentry_wrapped__=o,t[e]=o}},e.urlEncode=function(t){return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&")};var s=3,c=51200,l=40;function f(t){return function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(t))}function p(t){if("string"==typeof t)return t.length<=40?t:t.substr(0,39)+"…";if("number"==typeof t||"boolean"==typeof t||void 0===t)return t;if(Number.isNaN(t))return"[NaN]";if(d.isUndefined(t))return"[undefined]";var e=Object.prototype.toString.call(t);if("[object Object]"===e)return"[Object]";if("[object Array]"===e)return"[Array]";if("[object Function]"===e){var n=t.name;return n?"[Function: "+n+"]":"[Function]"}return t}function h(t,e){if(0===e)return p(t);if(d.isPlainObject(t)){var n={},r=t;return Object.keys(r).forEach(function(t){n[t]=h(r[t],e-1)}),n}return Array.isArray(t)?t.map(function(t){return h(t,e-1)}):p(t)}e.serializeObject=h,e.limitObjectDepthToSize=function t(e,n,r){void 0===n&&(n=s),void 0===r&&(r=c);var o=h(e,n);return f(a(o))>r?t(e,n-1):o},e.serializeKeysToEventMessage=function(t,e){if(void 0===e&&(e=l),!t.length)return"[object has no keys]";if(t[0].length>=e)return t[0];for(var n=t.length;n>0;n--){var r=t.slice(0,n).join(", ");if(!(r.length>e))return n===t.length?r:r+"…"}return""}});c(F);var C=F.serialize,D=F.deserialize,R=(F.clone,F.fill),A=(F.urlEncode,F.serializeObject),L=F.limitObjectDepthToSize,U=F.serializeKeysToEventMessage,H=l(function(t,e){var n,r=s&&s.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this.constructor,r=t.call(this,e)||this;return r.message=e,r.name=n.prototype.constructor.name,Object.setPrototypeOf(r,n.prototype),r}return r(e,t),e}(Error);e.SentryError=o});c(H);H.SentryError;var N=l(function(t,e){var n=s&&s.__read||function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=s&&s.__values||function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0});var o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w\.-]+)(?::(\d+))?\/(.+)/,i=function(){function t(t){"string"==typeof t?this.fromString(t):this.fromComponents(t),this.validate()}return t.prototype.toString=function(t){void 0===t&&(t=!1);var e=this,n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId;return e.protocol+"://"+e.user+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a},t.prototype.fromString=function(t){var e=o.exec(t);if(!e)throw new H.SentryError("Invalid Dsn");var r=n(e.slice(1),6),i=r[0],a=r[1],u=r[2],s=void 0===u?"":u,c=r[3],l=r[4],f=void 0===l?"":l,p="",h=r[5],d=h.split("/");d.length>1&&(p=d.slice(0,-1).join("/"),h=d.pop()),Object.assign(this,{host:c,pass:s,path:p,projectId:h,port:f,protocol:i,user:a})},t.prototype.fromComponents=function(t){this.protocol=t.protocol,this.user=t.user,this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype.validate=function(){var t,e;try{for(var n=r(["protocol","user","host","projectId"]),o=n.next();!o.done;o=n.next()){var i=o.value;if(!this[i])throw new H.SentryError("Invalid Dsn: Missing "+i)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}if("http"!==this.protocol&&"https"!==this.protocol)throw new H.SentryError('Invalid Dsn: Unsupported protocol "'+this.protocol+'"');if(this.port&&isNaN(parseInt(this.port,10)))throw new H.SentryError('Invalid Dsn: Invalid port number "'+this.port+'"')},t}();e.Dsn=i});c(N);N.Dsn;var G=l(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t){this.dsn=t,this.dsnObject=new N.Dsn(t)}return t.prototype.getDsn=function(){return this.dsnObject},t.prototype.getStoreEndpoint=function(){return""+this.getBaseUrl()+this.getStoreEndpointPath()},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){var t={sentry_key:this.dsnObject.user,sentry_version:"7"};return this.getStoreEndpoint()+"?"+F.urlEncode(t)},t.prototype.getBaseUrl=function(){var t=this.dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n},t.prototype.getStoreEndpointPath=function(){var t=this.dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this.dsnObject,r=["Sentry sentry_version=7"];return r.push("sentry_timestamp="+(new Date).getTime()),r.push("sentry_client="+t+"/"+e),r.push("sentry_key="+n.user),{"Content-Type":"application/json","X-Sentry-Auth":r.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this.dsnObject,n=this.getBaseUrl()+(e.path?"/"+e.path:"")+"/api/embed/error-page/",r=[];for(var o in r.push("dsn="+e.toString()),t)if("user"===o){if(!t.user)continue;t.user.name&&r.push("name="+encodeURIComponent(t.user.name)),t.user.email&&r.push("email="+encodeURIComponent(t.user.email))}else r.push(encodeURIComponent(o)+"="+encodeURIComponent(t[o]));return r.length?n+"?"+r.join("&"):n},t}();e.API=n});c(G);G.API;var $=l(function(t,e){var n=s&&s.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})},r=s&&s.__generator||function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}};Object.defineProperty(e,"__esModule",{value:!0}),e.truncate=function(t,e){return void 0===e&&(e=0),0!==e&&d.isString(t)?t.length<=e?t:t.substr(0,e)+"…":t},e.snipLine=function(t,e){var n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);var o=Math.max(e-60,0);o<5&&(o=0);var i=Math.min(o+140,r);return i>r-5&&(i=r),i===r&&(o=Math.max(i-140,0)),n=n.slice(o,i),o>0&&(n="'{snip} "+n),i0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Math.random()?[2,{status:f.Status.Skipped}]:[4,this.prepareEvent(t,i,n)]):[2,{status:f.Status.Skipped}];case 1:if(null===(s=o.sent()))return[2,{status:f.Status.Skipped}];c=s,o.label=2;case 2:return o.trys.push([2,5,,6]),n&&n.data&&!0===n.data.__sentry__||!a?[3,4]:[4,a(s,n)];case 3:c=o.sent(),o.label=4;case 4:return[3,6];case 5:return l=o.sent(),$.forget(this.captureException(l,{data:{__sentry__:!0},originalException:l})),[2,{reason:"Event processing in beforeSend method threw an exception",status:f.Status.Invalid}];case 6:return null===c?[2,{reason:"Event dropped due to being discarded by beforeSend method",status:f.Status.Skipped}]:[4,e(c)];case 7:return(p=o.sent()).event=c,p.status,f.Status.RateLimit,[2,p]}})})},t.prototype.close=function(t){return r(this,void 0,void 0,function(){return o(this,function(e){return[2,this.getBackend().getBuffer().drain(t)]})})},t}();e.BaseClient=i});c(V);V.BaseClient;var W=l(function(t,e){var n=s&&s.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})},r=s&&s.__generator||function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&n(!1)},t);Promise.all(e.buffer.values()).then(function(){clearTimeout(r),n(!0)}).catch(function(){n(!0)})})]})})},t}();e.RequestBuffer=o});c(W);W.RequestBuffer;var X=l(function(t,e){var n=s&&s.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{s(r.next(t))}catch(t){i(t)}}function u(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){t.done?o(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})},r=s&&s.__generator||function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},r=s&&s.__spread||function(){for(var t=[],e=0;e0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=s&&s.__spread||function(){for(var t=[],e=0;e0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r>>6-2*o);return n}},t.exports=n}),Mt={utf8:{stringToBytes:function(t){return Mt.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(Mt.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n>>24)|4278255360&(u[h]<<24|u[h]>>>8);u[s>>>5]|=128<>>9<<4)]=s;var d=i._ff,v=i._gg,y=i._hh,g=i._ii;for(h=0;h>>0,l=l+m>>>0,f=f+_>>>0,p=p+E>>>0}return e.endian([c,l,f,p])})._ff=function(t,e,n,r,o,i,a){var u=t+(e&n|~e&r)+(o>>>0)+a;return(u<>>32-i)+e},i._gg=function(t,e,n,r,o,i,a){var u=t+(e&r|n&~r)+(o>>>0)+a;return(u<>>32-i)+e},i._hh=function(t,e,n,r,o,i,a){var u=t+(e^n^r)+(o>>>0)+a;return(u<>>32-i)+e},i._ii=function(t,e,n,r,o,i,a){var u=t+(n^(e|~r))+(o>>>0)+a;return(u<>>32-i)+e},i._blocksize=16,i._digestsize=16,t.exports=function(t,n){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(i(t,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):e.bytesToHex(r)}}),Ct=Object.freeze({default:Ft,__moduleExports:Ft}),Dt=S(),Rt={wrap:function(){return function(){}},report:!1,collectWindowErrors:!1,computeStackTrace:!1,remoteFetching:!1,linesOfContext:!1,extendToAsynchronousCallbacks:!1},At=[].slice,Lt="?",Ut=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Ht(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Nt(){return"undefined"==typeof document||null==document.location?"":document.location.href}Rt.wrap=function(t){return function(){try{return t.apply(this,arguments)}catch(t){throw Rt.report(t),t}}},Rt.report=function(){var t,e,n,o,i=[],a=null,u=null;function s(t,e,n){var r=null;if(!e||Rt.collectWindowErrors){for(var o in i)if(Ht(i,o))try{i[o](t,e,n)}catch(t){r=t}if(r)throw r}}function c(e,n,o,i,a){if(a=y(a)?a.error:a,e=y(e)?e.message:e,u)Rt.computeStackTrace.augmentStackTraceWithInitialElement(u,n,o,e),f();else if(a&&v(a))s(Rt.computeStackTrace(a),!0,a);else{var c,l={url:n,line:o,column:i},p=e;if("[object String]"==={}.toString.call(e)){var h=e.match(Ut);h&&(c=h[1],p=h[2])}l.func=Rt.computeStackTrace.guessFunctionName(l.url,l.line),l.context=Rt.computeStackTrace.gatherContext(l.url,l.line),s({name:c,message:p,mode:"onerror",stack:[r({},l,{url:l.url||Nt()})]},!0,null)}return!!t&&t.apply(this,arguments)}function l(t){var e=t&&(t.detail?t.detail.reason:t.reason)||t;s(Rt.computeStackTrace(e),!0,e)}function f(){var t=u,e=a;u=null,a=null,s(t,!1,e)}function p(t){if(u){if(a===t)return;f()}var e=Rt.computeStackTrace(t);throw u=e,a=t,setTimeout(function(){a===t&&f()},e.incomplete?2e3:0),t}return p.subscribe=function(t){i.push(t)},p.unsubscribe=function(r){for(var a=i.length-1;a>=0;--a)i[a]===r&&i.splice(a,1);0===i.length&&(e&&(Dt.onerror=t,e=!1),o&&(Dt.onerror=n,o=!1))},p.installGlobalHandler=function(){!0!==e&&(t=Dt.onerror,Dt.onerror=c,e=!0)},p.installGlobalUnhandledRejectionHandler=function(){!0!==o&&(n=Dt.onunhandledrejection,Dt.onunhandledrejection=l,o=!0)},p}(),Rt.computeStackTrace=function(){var t=!1,e={};function n(t){if("string"!=typeof t)return[];if(!Ht(e,t)){var n="",r="";try{r=Dt.document.domain}catch(t){}var o=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);o&&o[2]===r&&(n=function(t){if(!Rt.remoteFetching)return"";try{var e=function(){try{return new Dt.XMLHttpRequest}catch(t){return new Dt.ActiveXObject("Microsoft.XMLHTTP")}}();return e.open("GET",t,!1),e.send(""),e.responseText}catch(t){return""}}(t)),e[t]=n?n.split("\n"):[]}return e[t]}function r(t,e){var r,o=/function ([^(]*)\(([^)]*)\)/,i=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",u=n(t);if(!u.length)return Lt;for(var s=0;s<10;++s)if(a=u[e-s]+a,!m(a)){if(r=i.exec(a))return r[1];if(r=o.exec(a))return r[1]}return Lt}function o(t,e){var r=n(t);if(!r.length)return null;var o=[],i=Math.floor(Rt.linesOfContext/2),a=i+Rt.linesOfContext%2,u=Math.max(0,e-i-1),s=Math.min(r.length,e+a-1);e-=1;for(var c=u;c0?o:null}function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function a(t){return i(t).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function u(t,e){for(var r,o,i=0,a=e.length;ir&&(o=u.exec(a[r]))?o.index:null}function c(t){if(!m(Dt&&Dt.document)){for(var e,n,r,o,s=[Nt()],c=Dt.document.getElementsByTagName("script"),l=""+t,f=0;f|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,l=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,f=/\((\S*)(?::(\d+))(?::(\d+))\)/,p=t.stack.split("\n"),h=[],d=/^(.*) is undefined$/.exec(t.message),v=0,y=p.length;v eval")>-1&&(e=l.exec(n[3]))?n[3]=e[1]:0!==v||n[5]||m(t.columnNumber)||(h[0].column=t.columnNumber+1),i={url:n[3],func:n[1]||Lt,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=r(i.url,i.line)),Rt.remoteFetching&&i.url&&"blob:"===i.url.substr(0,5)){var b=new XMLHttpRequest;if(b.open("GET",i.url,!1),b.send(""),200===b.status){var _=b.responseText||"",E=(_=_.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(E){var w=E[1];"~"===w.charAt(0)&&(w=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+w.slice(1)),i.url=w.slice(0,-4)}}}i.context=i.line?o(i.url,i.line):null,h.push(i)}return h.length?(h[0]&&h[0].line&&!h[0].column&&d&&(h[0].column=s(d[1],h[0].url,h[0].line)),{mode:"stack",name:t.name,message:t.message,stack:h}):null}function f(t,e,n,i){var a={url:e,line:n};if(a.url&&a.line){t.incomplete=!1,a.func||(a.func=r(a.url,a.line)),a.context||(a.context=o(a.url,a.line));var u=/ '([^']+)' /.exec(i);if(u&&(a.column=s(u[1],a.url,a.line)),t.stack.length>0&&t.stack[0].url===a.url){if(t.stack[0].line===a.line)return!1;if(!t.stack[0].line&&t.stack[0].func===a.func)return t.stack[0].line=a.line,t.stack[0].context=a.context,!1}return t.stack.unshift(a),t.partial=!0,!0}return t.incomplete=!0,!1}function p(t,e){for(var n,o,i,a=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,u=[],l={},d=!1,v=p.caller;v&&!d;v=v.caller)if(v!==h&&v!==Rt.report){if(o={url:null,func:Lt,args:[],line:null,column:null},v.name?o.func=v.name:(n=a.exec(v.toString()))&&(o.func=n[1]),void 0===o.func)try{o.func=n.input.substring(0,n.input.indexOf("{"))}catch(t){}if(i=c(v)){o.url=i.url,o.line=i.line,o.func===Lt&&(o.func=r(o.url,o.line));var y=/ '([^']+)' /.exec(t.message||t.description);y&&(o.column=s(y[1],i.url,i.line))}l[""+v]?d=!0:l[""+v]=!0,u.push(o)}e&&u.splice(0,e);var g={mode:"callers",name:t.name,message:t.message,stack:u};return f(g,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),g}function h(e,i){var s=null;i=null==i?0:+i;try{if(s=function(t){var e=t.stacktrace;if(e){for(var n,i=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,a=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,u=e.split("\n"),s=[],c=0;c=0&&(y.line=g+m.substring(0,_).split("\n").length)}}}else if(i=l.exec(e[v])){var E=Nt().replace(/#.*$/,""),w=u(new RegExp(a(e[v+1])),[E]);y={url:E,func:"",args:[],line:w?w.line:i[1],column:null}}if(y){y.func||(y.func=r(y.url,y.line));var x=o(y.url,y.line),S=x?x[Math.floor(x.length/2)]:null;x&&S.replace(/^\s*/,"")===e[v+1].replace(/^\s*/,"")?y.context=x:y.context=[e[v+1]],f.push(y)}}return f.length?{mode:"multiline",name:t.name,message:e[0],stack:f}:null}(e))return s}catch(e){if(t)throw e}try{if(s=p(e,i+1))return s}catch(e){if(t)throw e}return{name:e.name,message:e.message,mode:"failed"}}return h.augmentStackTraceWithInitialElement=f,h.computeStackTraceFromStackProp=l,h.guessFunctionName=r,h.gatherContext=o,h.ofCaller=function(t){t=1+(null==t?0:+t);try{throw new Error}catch(e){return h(e,t+1)}},h.getSource=n,h}(),Rt.extendToAsynchronousCallbacks=function(){var t=function(t){var e=Dt[t];Dt[t]=function(){var t=At.call(arguments),n=t[0];return"function"==typeof n&&(t[0]=Rt.wrap(n)),e.apply?e.apply(this,t):e(t[0],t[1])}};t("setTimeout"),t("setInterval")},Rt.remoteFetching=!1,Rt.collectWindowErrors=!0,Rt.linesOfContext=11;var Gt=Rt.report.subscribe,$t=Rt.report.installGlobalHandler,qt=Rt.report.installGlobalUnhandledRejectionHandler,zt=Rt.computeStackTrace,Vt=Ft||Ct,Wt=50;function Xt(t){var e={stacktrace:{frames:Yt(t.stack)},type:t.name,value:t.message};return void 0===e.type&&""===e.value&&(e.value="Unrecoverable error caught"),e}function Kt(t){return{exception:{values:[Xt(t)]},transaction:t.url||t.stack&&t.stack[0].url||""}}function Yt(t){if(!t||!t.length)return[];var e=t,n=e[0].func||"";return(n.includes("captureMessage")||n.includes("captureException"))&&(e=e.slice(1)),e.map(function(t){return{colno:t.column,filename:t.url||e[0].url,function:t.func||"?",in_app:!0,lineno:t.line}}).slice(0,Wt).reverse()}var Jt,Zt,Qt=function(){function t(t){this.options=t,this.url=new vt(this.options.dsn).getStoreEndpointWithUrlEncodedAuth()}return t.prototype.captureEvent=function(t){return o(this,void 0,void 0,function(){return i(this,function(t){throw new bt("Transport Class has to implement `captureEvent` method")})})},t}(),te=S(),ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.captureEvent=function(t){return o(this,void 0,void 0,function(){var e,n;return i(this,function(r){switch(r.label){case 0:return e={body:C(t),method:"POST",referrerPolicy:Ot()?"origin":""},[4,te.fetch(this.url,e)];case 1:return n=r.sent(),[2,{status:h.fromHttpCode(n.status)}]}})})},e}(Qt),ne=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.captureEvent=function(t){return o(this,void 0,void 0,function(){var e=this;return i(this,function(n){return[2,new Promise(function(n,r){var o=new XMLHttpRequest;o.onreadystatechange=function(){4===o.readyState&&(200===o.status&&n({status:h.fromHttpCode(o.status)}),r(o))},o.open("POST",e.url),o.send(C(t))})]})})},e}(Qt),re=S(),oe=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.captureEvent=function(t){return o(this,void 0,void 0,function(){var e;return i(this,function(n){return e=C(t),[2,{status:re.navigator.sendBeacon(this.url,e)?h.Success:h.Failed}]})})},e}(Qt),ie=Object.freeze({BaseTransport:Qt,FetchTransport:ee,XHRTransport:ne,BeaconTransport:oe}),ae=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.install=function(){if(!this.options.dsn)throw new bt("Invariant exception: install() must not be called when disabled");return Error.stackTraceLimit=50,!0},e.prototype.eventFromException=function(t,e){return o(this,void 0,void 0,function(){var n,o,a,u;return i(this,function(i){switch(i.label){case 0:return y(t)&&t.error?(t=(u=t).error,n=Kt(zt(t)),[3,7]):[3,1];case 1:return g(t)||b(t)?(o=(u=t).name||(g(u)?"DOMError":"DOMException"),a=u.message?o+": "+u.message:o,[4,this.eventFromMessage(a,void 0,e)]):[3,3];case 2:return n=i.sent(),[3,7];case 3:return v(t)?(n=Kt(zt(t)),[3,7]):[3,4];case 4:return w(t)&&e&&e.syntheticException?(n=function(t,e){var n=Object.keys(t).sort(),r={extra:{__serialized__:L(t)},fingerprint:[Vt(n.join(""))],message:"Non-Error exception captured with keys: "+U(n)};if(e){var o=Yt(zt(e).stack);r.stacktrace={frames:o}}return r}(u=t,e.syntheticException),[3,7]):[3,5];case 5:return u=t,[4,this.eventFromMessage(u,void 0,e)];case 6:n=i.sent(),i.label=7;case 7:return[2,n=r({},n,{event_id:e&&e.event_id,exception:r({},n.exception,{mechanism:{handled:!0,type:"generic"}})})]}})})},e.prototype.eventFromMessage=function(t,e,n){return void 0===e&&(e=p.Info),o(this,void 0,void 0,function(){var r,o,a;return i(this,function(i){return r={event_id:n&&n.event_id,fingerprint:[t],level:e,message:t},this.options.attachStacktrace&&n&&n.syntheticException&&(o=zt(n.syntheticException),a=Yt(o.stack),r.stacktrace={frames:a}),[2,r]})})},e.prototype.sendEvent=function(t){return o(this,void 0,void 0,function(){var e;return i(this,function(n){return this.options.dsn?(this.transport||(e=this.options.transportOptions?this.options.transportOptions:{dsn:this.options.dsn},this.options.transport?this.transport=new this.options.transport({dsn:this.options.dsn}):St()?this.transport=new oe(e):wt()?this.transport=new ee(e):this.transport=new ne(e)),[2,this.transport.captureEvent(t)]):(ot.warn("Event has been skipped because no Dsn is configured."),[2,{status:h.Skipped,reason:"Event has been skipped because no Dsn is configured."}])})})},e}(gt),ue="sentry.javascript.browser",se=function(t){function e(e){return t.call(this,ae,e)||this}return n(e,t),e.prototype.prepareEvent=function(e,n,a){return o(this,void 0,void 0,function(){return i(this,function(o){return e.platform=e.platform||"javascript",e.sdk=r({},e.sdk,{name:ue,packages:u(e.sdk&&e.sdk.packages||[],[{name:"npm:@sentry/browser",version:"4.0.6"}]),version:"4.0.6"}),[2,t.prototype.prepareEvent.call(this,e,n,a)]})})},e.prototype.showReportDialog=function(t){void 0===t&&(t={});var e=S().document;if(e){var n=t.dsn||this.getDsn();if(!t.eventId)throw new bt("Missing `eventId` option in showReportDialog call");if(!n)throw new bt("Missing `Dsn` option in showReportDialog call");var r=e.createElement("script");r.async=!0,r.src=new vt(n).getReportDialogEndpoint(t),(e.head||e.body).appendChild(r)}},e}(yt),ce=1e3,le=0;function fe(t,e,n){if(void 0===e&&(e={}),!_(t))return t;try{if(t.__sentry__)return t;if(t.__sentry_wrapped__)return t.__sentry_wrapped__}catch(e){return t}var a=function(){var a=this;n&&_(n)&&n.apply(this,arguments);var u=Array.prototype.slice.call(arguments);try{var s=u.map(function(t){return fe(t,e)});return t.handleEvent?t.handleEvent.apply(this,s):t.apply(this,s)}catch(t){throw le+=1,setTimeout(function(){le-=1}),lt(function(n){return o(a,void 0,void 0,function(){var a=this;return i(this,function(s){return n.addEventProcessor(function(t){return o(a,void 0,void 0,function(){var n;return i(this,function(o){return n=r({},t),e.mechanism&&(n.exception=n.exception||{},n.exception.mechanism=e.mechanism),n.extra=r({},n.extra,{arguments:A(u,2)}),[2,n]})})}),ft().captureException(t,{originalException:t}),[2]})})}),t}};try{for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(a[u]=t[u])}catch(t){}return a.prototype=t.prototype,t.__sentry_wrapped__=a,a.__sentry__=!0,a.__sentry_original__=t,a}function pe(t){return function(e){if(Jt=void 0,Zt!==e){var n;Zt=e;try{n=k(e.target)}catch(t){n=""}ft().addBreadcrumb({category:"ui."+t,message:n},{event:e,name:t})}}}function he(){return function(t){var e;try{e=t.target}catch(t){return}var n=e&&e.tagName;n&&("INPUT"===n||"TEXTAREA"===n||e.isContentEditable)&&(Jt||pe("input")(t),clearTimeout(Jt),Jt=setTimeout(function(){Jt=void 0},ce))}}var de,ve=function(){function t(t){this.name="GlobalHandlers",this.options=r({onerror:!0,onunhandledrejection:!0},t)}return t.prototype.install=function(){var t=this;Gt(function(e,n,r){le>0||ft().captureEvent(t.eventFromGlobalHandler(e),{originalException:r,data:{stack:e}})}),this.options.onerror&&(ot.log("Global Handler attached: onerror"),$t()),this.options.onunhandledrejection&&(ot.log("Global Handler attached: onunhandledrejection"),qt())},t.prototype.eventFromGlobalHandler=function(t){var e=Kt(t);return r({},e,{exception:r({},e.exception,{mechanism:{handled:!1,type:"onerror"===t.mode?"onerror":"onunhandledrejection"}})})},t}(),ye=function(){function t(){this.ignoreOnError=0,this.name="TryCatch"}return t.prototype.wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n"},handled:!0,type:"instrument"}}),t.apply(this,e)}},t.prototype.wrapRAF=function(t){return function(e){return t(fe(e,{mechanism:{data:{function:"requestAnimationFrame",handler:t&&t.name||""},handled:!0,type:"instrument"}}))}},t.prototype.wrapEventTarget=function(t){var e=S(),n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(R(n,"addEventListener",function(e){return function(n,r,o){try{r.handleEvent=fe(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:r&&r.name||"",target:t},handled:!0,type:"instrument"}})}catch(t){}var i,a,u;return"EventTarget"!==t&&"Node"!==t||(a=pe("click"),u=he(),i=function(t){if(t){var e;try{e=t.type}catch(t){return}return"click"===e?a(t):"keypress"===e?u(t):void 0}}),e.call(this,n,fe(r,{mechanism:{data:{function:"addEventListener",handler:r&&r.name||"",target:t},handled:!0,type:"instrument"}},i),o)}}),R(n,"removeEventListener",function(t){return function(e,n,r){var o=n;try{o=o&&(o.__sentry_wrapped__||o)}catch(t){}return t.call(this,e,o,r)}}))},t.prototype.install=function(){this.ignoreOnError=this.ignoreOnError;var t=S();R(t,"setTimeout",this.wrapTimeFunction.bind(this)),R(t,"setInterval",this.wrapTimeFunction.bind(this)),R(t,"requestAnimationFrame",this.wrapRAF.bind(this)),["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(this.wrapEventTarget.bind(this))},t}(),ge=S();function be(t){try{var e=D(t);ft().addBreadcrumb({category:"sentry",event_id:e.event_id,level:e.level||p.fromString("error"),message:j(e)},{event:e})}catch(t){ot.error("Error while adding sentry type breadcrumb")}}var me,_e=function(){function t(t){this.name="Breadcrumbs",this.options=r({beacon:!0,console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return t.prototype.instrumentBeacon=function(t){St()&&R(ge.navigator,"sendBeacon",function(e){return function(){for(var n=[],r=0;r2?n[2]:void 0;return o&&e(de,String(o)),t.apply(this,n)}}},t.prototype.instrumentXHR=function(t){if("XMLHttpRequest"in ge){var e=XMLHttpRequest.prototype;R(e,"open",function(e){return function(){for(var n=[],r=0;r"},handled:!0,type:"instrument"}})})}(t,r)}),"onreadystatechange"in r&&_(r.onreadystatechange)?R(r,"onreadystatechange",function(t){return fe(t,{mechanism:{data:{function:"onreadystatechange",handler:t&&t.name||""},handled:!0,type:"instrument"}},o)}):r.onreadystatechange=o,t.apply(this,e)}})}},t.prototype.install=function(t){void 0===t&&(t={});var e=t.dsn&&new vt(t.dsn).getStoreEndpoint();this.options.console&&this.instrumentConsole(),this.options.dom&&this.instrumentDOM(),this.options.xhr&&this.instrumentXHR({filterUrl:e}),this.options.fetch&&this.instrumentFetch({filterUrl:e}),this.options.beacon&&this.instrumentBeacon({filterUrl:e}),this.options.history&&this.instrumentHistory()},t}(),Ee="cause",we=5,xe=function(){function t(t){void 0===t&&(t={}),this.name="LinkedErrors",this.key=t.key||Ee,this.limit=t.limit||we}return t.prototype.install=function(){var t=this;ct(function(e){return e.addEventProcessor(t.handler.bind(t))})},t.prototype.handler=function(t,e){if(!(t.exception&&t.exception.values&&e&&e.originalException instanceof Error))return t;var n=this.walkErrorTree(e.originalException,this.key);return t.exception.values=u(t.exception.values,n),t},t.prototype.walkErrorTree=function(t,e,n){if(void 0===n&&(n=[]),!(t[e]instanceof Error)||n.length>=this.limit)return n;var r=Xt(zt(t[e]));return this.walkErrorTree(t[e],e,u(n,[r]))},t}();!function(t){t.Crash="crash",t.Deprecation="deprecation",t.Intervention="intervention"}(me||(me={}));var Se=function(){function t(t){void 0===t&&(t={types:[me.Crash,me.Deprecation,me.Intervention]}),this.options=t,this.name="ReportingObserver"}return t.prototype.install=function(){kt()&&new(S().ReportingObserver)(this.handler.bind(this),{buffered:!0,types:this.options.types}).observe()},t.prototype.handler=function(t){var e,n,r=function(t){lt(function(e){e.setExtra("url",t.url);var n="ReportingObserver ["+t.type+"]",r="No details available";if(t.body){var o,i={};for(var a in t.body)i[a]=t.body[a];if(e.setExtra("body",i),t.type===me.Crash)r=[(o=t.body).crashId||"",o.reason||""].join(" ").trim()||r;else r=(o=t.body).message||r}st(n+": "+r)})};try{for(var o=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}(t),i=o.next();!i.done;i=o.next()){r(i.value)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}},t}(),ke=S(),Oe=function(){function t(){this.name="UserAgent"}return t.prototype.install=function(){var t=this;ct(function(e){e.addEventProcessor(function(e){return o(t,void 0,void 0,function(){var t;return i(this,function(n){return ke.navigator&&ke.location?((t=e.request||{}).url=t.url||ke.location.href,t.headers=t.headers||{},t.headers["User-Agent"]=ke.navigator.userAgent,[2,r({},e,{request:t})]):[2,e]})})})})},t}(),je=function(){function t(t){void 0===t&&(t={}),this.name="Ember",this.Ember=t.Ember||S().Ember}return t.prototype.install=function(){var t=this;if(this.Ember){var e=this.Ember.onerror;this.Ember.onerror=function(n){lt(function(e){t.addIntegrationToSdkInfo(e),ft().captureException(n,{originalException:n})}),"function"==typeof e&&e.call(t.Ember,n)},this.Ember.RSVP.on("error",function(e){var n=ft().pushScope();e instanceof Error?(n.setExtra("context","Unhandled Promise error detected"),t.addIntegrationToSdkInfo(n),ft().captureException(e,{originalException:e})):(n.setExtra("reason",e),t.addIntegrationToSdkInfo(n),st("Unhandled Promise error detected")),ft().popScope()})}},t.prototype.addIntegrationToSdkInfo=function(t){var e=this;t.addEventProcessor(function(t){return o(e,void 0,void 0,function(){var e;return i(this,function(n){return t.sdk&&(e=t.sdk.integrations||[],t.sdk=r({},t.sdk,{integrations:u(e,["ember"])})),[2,t]})})})},t}(),Te=function(){function t(t){void 0===t&&(t={}),this.name="Vue",this.Vue=t.Vue||S().Vue}return t.prototype.formatComponentName=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")},t.prototype.install=function(){var t=this;if(this.Vue&&this.Vue.config){var e=this.Vue.config.errorHandler;this.Vue.config.errorHandler=function(n,a,s){var c={};w(a)&&(c.componentName=t.formatComponentName(a),c.propsData=a.$options.propsData),m(s)||(c.lifecycleHook=s),lt(function(e){Object.keys(c).forEach(function(t){e.setExtra(t,c[t])}),e.addEventProcessor(function(e){return o(t,void 0,void 0,function(){var t;return i(this,function(n){return e.sdk&&(t=e.sdk.integrations||[],e.sdk=r({},e.sdk,{integrations:u(t,["vue"])})),[2,e]})})}),ft().captureException(n,{originalException:n})}),"function"==typeof e&&e.call(t.Vue,n,a,s)}}},t}(),Me=Object.freeze({GlobalHandlers:ve,TryCatch:ye,Breadcrumbs:_e,LinkedErrors:xe,ReportingObserver:Se,UserAgent:Oe,Ember:je,Vue:Te}),Be=[new _t.Dedupe,new _t.InboundFilters,new _t.FunctionToString,new ye,new _e,new ve,new Se,new xe,new Oe];var Pe=r({},_t,Me);return t.Integrations=Pe,t.Transports=ie,t.Severity=p,t.Status=h,t.addBreadcrumb=it,t.captureException=at,t.captureEvent=ut,t.captureMessage=st,t.configureScope=ct,t.withScope=lt,t.getHubFromCarrier=ht,t.getCurrentHub=ft,t.Hub=pt,t.Scope=dt,t.BrowserBackend=ae,t.BrowserClient=se,t.defaultIntegrations=Be,t.forceLoad=function(){},t.init=function(t){mt(se,t,Be)},t.lastEventId=function(){return ft().lastEventId()},t.onLoad=function(t){t()},t.showReportDialog=function(t){void 0===t&&(t={}),t.eventId||(t.eventId=ft().lastEventId()),ft().getClient().showReportDialog(t)},t.SDK_NAME=ue,t.SDK_VERSION="4.0.6",t}({}); -//# sourceMappingURL=bundle.min.js.map diff --git a/core/static/core/js/alpinejs.min.js b/core/static/vendored/alpine/alpinejs.min.js similarity index 100% rename from core/static/core/js/alpinejs.min.js rename to core/static/vendored/alpine/alpinejs.min.js diff --git a/core/static/core/js/Chart.bundle.min.js b/core/static/vendored/chart/Chart.bundle.min.js similarity index 100% rename from core/static/core/js/Chart.bundle.min.js rename to core/static/vendored/chart/Chart.bundle.min.js diff --git a/core/static/core/easymde/easymde.min.css b/core/static/vendored/easymde/easymde.min.css similarity index 100% rename from core/static/core/easymde/easymde.min.css rename to core/static/vendored/easymde/easymde.min.css diff --git a/core/static/core/easymde/easymde.min.js b/core/static/vendored/easymde/easymde.min.js similarity index 100% rename from core/static/core/easymde/easymde.min.js rename to core/static/vendored/easymde/easymde.min.js diff --git a/core/static/core/font-awesome/css/font-awesome.min.css b/core/static/vendored/font-awesome/css/font-awesome.min.css similarity index 100% rename from core/static/core/font-awesome/css/font-awesome.min.css rename to core/static/vendored/font-awesome/css/font-awesome.min.css diff --git a/core/static/core/font-awesome/fonts/FontAwesome.otf b/core/static/vendored/font-awesome/fonts/FontAwesome.otf similarity index 100% rename from core/static/core/font-awesome/fonts/FontAwesome.otf rename to core/static/vendored/font-awesome/fonts/FontAwesome.otf diff --git a/core/static/core/font-awesome/fonts/fontawesome-webfont.eot b/core/static/vendored/font-awesome/fonts/fontawesome-webfont.eot similarity index 100% rename from core/static/core/font-awesome/fonts/fontawesome-webfont.eot rename to core/static/vendored/font-awesome/fonts/fontawesome-webfont.eot diff --git a/core/static/core/font-awesome/fonts/fontawesome-webfont.svg b/core/static/vendored/font-awesome/fonts/fontawesome-webfont.svg similarity index 100% rename from core/static/core/font-awesome/fonts/fontawesome-webfont.svg rename to core/static/vendored/font-awesome/fonts/fontawesome-webfont.svg diff --git a/core/static/core/font-awesome/fonts/fontawesome-webfont.ttf b/core/static/vendored/font-awesome/fonts/fontawesome-webfont.ttf similarity index 100% rename from core/static/core/font-awesome/fonts/fontawesome-webfont.ttf rename to core/static/vendored/font-awesome/fonts/fontawesome-webfont.ttf diff --git a/core/static/core/font-awesome/fonts/fontawesome-webfont.woff b/core/static/vendored/font-awesome/fonts/fontawesome-webfont.woff similarity index 100% rename from core/static/core/font-awesome/fonts/fontawesome-webfont.woff rename to core/static/vendored/font-awesome/fonts/fontawesome-webfont.woff diff --git a/core/static/core/font-awesome/fonts/fontawesome-webfont.woff2 b/core/static/vendored/font-awesome/fonts/fontawesome-webfont.woff2 similarity index 100% rename from core/static/core/font-awesome/fonts/fontawesome-webfont.woff2 rename to core/static/vendored/font-awesome/fonts/fontawesome-webfont.woff2 diff --git a/core/static/core/font-awesome/js/fontawesome.min.js b/core/static/vendored/font-awesome/js/fontawesome.min.js similarity index 100% rename from core/static/core/font-awesome/js/fontawesome.min.js rename to core/static/vendored/font-awesome/js/fontawesome.min.js diff --git a/core/static/core/js/jquery-3.6.2.min.js b/core/static/vendored/jquery/jquery-3.6.2.min.js similarity index 100% rename from core/static/core/js/jquery-3.6.2.min.js rename to core/static/vendored/jquery/jquery-3.6.2.min.js diff --git a/core/static/core/js/ui/AUTHORS.txt b/core/static/vendored/jquery/ui/AUTHORS.txt similarity index 100% rename from core/static/core/js/ui/AUTHORS.txt rename to core/static/vendored/jquery/ui/AUTHORS.txt diff --git a/core/static/core/js/ui/LICENSE.txt b/core/static/vendored/jquery/ui/LICENSE.txt similarity index 100% rename from core/static/core/js/ui/LICENSE.txt rename to core/static/vendored/jquery/ui/LICENSE.txt diff --git a/core/static/core/js/ui/external/jquery/jquery.js b/core/static/vendored/jquery/ui/external/jquery/jquery.js similarity index 100% rename from core/static/core/js/ui/external/jquery/jquery.js rename to core/static/vendored/jquery/ui/external/jquery/jquery.js diff --git a/core/static/core/js/ui/i18n/datepicker-fr.js b/core/static/vendored/jquery/ui/i18n/datepicker-fr.js similarity index 100% rename from core/static/core/js/ui/i18n/datepicker-fr.js rename to core/static/vendored/jquery/ui/i18n/datepicker-fr.js diff --git a/core/static/core/js/ui/images/ui-icons_444444_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_444444_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_444444_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_444444_256x240.png diff --git a/core/static/core/js/ui/images/ui-icons_555555_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_555555_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_555555_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_555555_256x240.png diff --git a/core/static/core/js/ui/images/ui-icons_777620_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_777620_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_777620_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_777620_256x240.png diff --git a/core/static/core/js/ui/images/ui-icons_777777_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_777777_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_777777_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_777777_256x240.png diff --git a/core/static/core/js/ui/images/ui-icons_cc0000_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_cc0000_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_cc0000_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_cc0000_256x240.png diff --git a/core/static/core/js/ui/images/ui-icons_ffffff_256x240.png b/core/static/vendored/jquery/ui/images/ui-icons_ffffff_256x240.png similarity index 100% rename from core/static/core/js/ui/images/ui-icons_ffffff_256x240.png rename to core/static/vendored/jquery/ui/images/ui-icons_ffffff_256x240.png diff --git a/core/static/core/js/ui/index.html b/core/static/vendored/jquery/ui/index.html similarity index 100% rename from core/static/core/js/ui/index.html rename to core/static/vendored/jquery/ui/index.html diff --git a/core/static/core/js/ui/jquery-ui.css b/core/static/vendored/jquery/ui/jquery-ui.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.css rename to core/static/vendored/jquery/ui/jquery-ui.css diff --git a/core/static/core/js/ui/jquery-ui.js b/core/static/vendored/jquery/ui/jquery-ui.js similarity index 100% rename from core/static/core/js/ui/jquery-ui.js rename to core/static/vendored/jquery/ui/jquery-ui.js diff --git a/core/static/core/js/ui/jquery-ui.min.css b/core/static/vendored/jquery/ui/jquery-ui.min.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.min.css rename to core/static/vendored/jquery/ui/jquery-ui.min.css diff --git a/core/static/core/js/ui/jquery-ui.min.js b/core/static/vendored/jquery/ui/jquery-ui.min.js similarity index 100% rename from core/static/core/js/ui/jquery-ui.min.js rename to core/static/vendored/jquery/ui/jquery-ui.min.js diff --git a/core/static/core/js/ui/jquery-ui.structure.css b/core/static/vendored/jquery/ui/jquery-ui.structure.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.structure.css rename to core/static/vendored/jquery/ui/jquery-ui.structure.css diff --git a/core/static/core/js/ui/jquery-ui.structure.min.css b/core/static/vendored/jquery/ui/jquery-ui.structure.min.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.structure.min.css rename to core/static/vendored/jquery/ui/jquery-ui.structure.min.css diff --git a/core/static/core/js/ui/jquery-ui.theme.css b/core/static/vendored/jquery/ui/jquery-ui.theme.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.theme.css rename to core/static/vendored/jquery/ui/jquery-ui.theme.css diff --git a/core/static/core/js/ui/jquery-ui.theme.min.css b/core/static/vendored/jquery/ui/jquery-ui.theme.min.css similarity index 100% rename from core/static/core/js/ui/jquery-ui.theme.min.css rename to core/static/vendored/jquery/ui/jquery-ui.theme.min.css diff --git a/core/static/core/js/ui/package.json b/core/static/vendored/jquery/ui/package.json similarity index 100% rename from core/static/core/js/ui/package.json rename to core/static/vendored/jquery/ui/package.json diff --git a/core/static/core/js/native-file-system-adapter/LICENSE b/core/static/vendored/native-file-system-adapter/LICENSE similarity index 100% rename from core/static/core/js/native-file-system-adapter/LICENSE rename to core/static/vendored/native-file-system-adapter/LICENSE diff --git a/core/static/core/js/native-file-system-adapter/mod.js b/core/static/vendored/native-file-system-adapter/mod.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/mod.js rename to core/static/vendored/native-file-system-adapter/mod.js diff --git a/core/static/core/js/native-file-system-adapter/mod.min.js b/core/static/vendored/native-file-system-adapter/mod.min.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/mod.min.js rename to core/static/vendored/native-file-system-adapter/mod.min.js diff --git a/core/static/core/js/native-file-system-adapter/src/FileSystemDirectoryHandle.js b/core/static/vendored/native-file-system-adapter/src/FileSystemDirectoryHandle.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/FileSystemDirectoryHandle.js rename to core/static/vendored/native-file-system-adapter/src/FileSystemDirectoryHandle.js diff --git a/core/static/core/js/native-file-system-adapter/src/FileSystemFileHandle.js b/core/static/vendored/native-file-system-adapter/src/FileSystemFileHandle.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/FileSystemFileHandle.js rename to core/static/vendored/native-file-system-adapter/src/FileSystemFileHandle.js diff --git a/core/static/core/js/native-file-system-adapter/src/FileSystemHandle.js b/core/static/vendored/native-file-system-adapter/src/FileSystemHandle.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/FileSystemHandle.js rename to core/static/vendored/native-file-system-adapter/src/FileSystemHandle.js diff --git a/core/static/core/js/native-file-system-adapter/src/FileSystemWritableFileStream.js b/core/static/vendored/native-file-system-adapter/src/FileSystemWritableFileStream.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/FileSystemWritableFileStream.js rename to core/static/vendored/native-file-system-adapter/src/FileSystemWritableFileStream.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/_template.js b/core/static/vendored/native-file-system-adapter/src/adapters/_template.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/_template.js rename to core/static/vendored/native-file-system-adapter/src/adapters/_template.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/cache.js b/core/static/vendored/native-file-system-adapter/src/adapters/cache.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/cache.js rename to core/static/vendored/native-file-system-adapter/src/adapters/cache.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/deno.js b/core/static/vendored/native-file-system-adapter/src/adapters/deno.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/deno.js rename to core/static/vendored/native-file-system-adapter/src/adapters/deno.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/downloader.js b/core/static/vendored/native-file-system-adapter/src/adapters/downloader.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/downloader.js rename to core/static/vendored/native-file-system-adapter/src/adapters/downloader.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/indexeddb.js b/core/static/vendored/native-file-system-adapter/src/adapters/indexeddb.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/indexeddb.js rename to core/static/vendored/native-file-system-adapter/src/adapters/indexeddb.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/jsdelivr.js b/core/static/vendored/native-file-system-adapter/src/adapters/jsdelivr.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/jsdelivr.js rename to core/static/vendored/native-file-system-adapter/src/adapters/jsdelivr.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/memory.js b/core/static/vendored/native-file-system-adapter/src/adapters/memory.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/memory.js rename to core/static/vendored/native-file-system-adapter/src/adapters/memory.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/node.js b/core/static/vendored/native-file-system-adapter/src/adapters/node.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/node.js rename to core/static/vendored/native-file-system-adapter/src/adapters/node.js diff --git a/core/static/core/js/native-file-system-adapter/src/adapters/sandbox.js b/core/static/vendored/native-file-system-adapter/src/adapters/sandbox.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/adapters/sandbox.js rename to core/static/vendored/native-file-system-adapter/src/adapters/sandbox.js diff --git a/core/static/core/js/native-file-system-adapter/src/config.js b/core/static/vendored/native-file-system-adapter/src/config.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/config.js rename to core/static/vendored/native-file-system-adapter/src/config.js diff --git a/core/static/core/js/native-file-system-adapter/src/es6.js b/core/static/vendored/native-file-system-adapter/src/es6.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/es6.js rename to core/static/vendored/native-file-system-adapter/src/es6.js diff --git a/core/static/core/js/native-file-system-adapter/src/getOriginPrivateDirectory.js b/core/static/vendored/native-file-system-adapter/src/getOriginPrivateDirectory.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/getOriginPrivateDirectory.js rename to core/static/vendored/native-file-system-adapter/src/getOriginPrivateDirectory.js diff --git a/core/static/core/js/native-file-system-adapter/src/showDirectoryPicker.js b/core/static/vendored/native-file-system-adapter/src/showDirectoryPicker.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/showDirectoryPicker.js rename to core/static/vendored/native-file-system-adapter/src/showDirectoryPicker.js diff --git a/core/static/core/js/native-file-system-adapter/src/showOpenFilePicker.js b/core/static/vendored/native-file-system-adapter/src/showOpenFilePicker.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/showOpenFilePicker.js rename to core/static/vendored/native-file-system-adapter/src/showOpenFilePicker.js diff --git a/core/static/core/js/native-file-system-adapter/src/showSaveFilePicker.js b/core/static/vendored/native-file-system-adapter/src/showSaveFilePicker.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/showSaveFilePicker.js rename to core/static/vendored/native-file-system-adapter/src/showSaveFilePicker.js diff --git a/core/static/core/js/native-file-system-adapter/src/util.js b/core/static/vendored/native-file-system-adapter/src/util.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/src/util.js rename to core/static/vendored/native-file-system-adapter/src/util.js diff --git a/core/static/core/js/native-file-system-adapter/sw.js b/core/static/vendored/native-file-system-adapter/sw.js similarity index 100% rename from core/static/core/js/native-file-system-adapter/sw.js rename to core/static/vendored/native-file-system-adapter/sw.js diff --git a/core/static/vendored/sentry/bundle.min.js b/core/static/vendored/sentry/bundle.min.js new file mode 100644 index 00000000..f44b712b --- /dev/null +++ b/core/static/vendored/sentry/bundle.min.js @@ -0,0 +1 @@ +!function(n,e,r,t,i,o,a,c,s){for(var u=s,f=0;f-1){u&&"no"===document.scripts[f].getAttribute("data-lazy")&&(u=!1);break}var p=[];function l(n){return"e"in n}function d(n){return"p"in n}function _(n){return"f"in n}var v=[];function y(n){u&&(l(n)||d(n)||_(n)&&n.f.indexOf("capture")>-1||_(n)&&n.f.indexOf("showReportDialog")>-1)&&m(),v.push(n)}function g(){y({e:[].slice.call(arguments)})}function h(n){y({p:n})}function E(){try{n.SENTRY_SDK_SOURCE="loader";var e=n[i],o=e.init;e.init=function(i){n.removeEventListener(r,g),n.removeEventListener(t,h);var a=c;for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(a[s]=i[s]);!function(n,e){var r=n.integrations||[];if(!Array.isArray(r))return;var t=r.map((function(n){return n.name}));n.tracesSampleRate&&-1===t.indexOf("BrowserTracing")&&(e.browserTracingIntegration?r.push(e.browserTracingIntegration({enableInp:!0})):e.BrowserTracing&&r.push(new e.BrowserTracing));(n.replaysSessionSampleRate||n.replaysOnErrorSampleRate)&&-1===t.indexOf("Replay")&&(e.replayIntegration?r.push(e.replayIntegration()):e.Replay&&r.push(new e.Replay));n.integrations=r}(a,e),o(a)},setTimeout((function(){return function(e){try{"function"==typeof n.sentryOnLoad&&(n.sentryOnLoad(),n.sentryOnLoad=void 0);for(var r=0;r {% endblock head %} diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index 22b1ef7d..aa1d2e05 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -6,7 +6,7 @@ - + @@ -14,14 +14,14 @@ {% block jquery_css %} {# Thile file is quite heavy (around 250kb), so declaring it in a block allows easy removal #} - + {% endblock %} - - - + + + - + @@ -29,7 +29,7 @@ {% block additional_js %}{% endblock %} {# Alpine JS must be loaded after scripts that use it. #} - + {% endblock %} @@ -299,7 +299,7 @@ {% endif %} {% block script %} - + - + {% endblock %} {% block title %} diff --git a/core/views/forms.py b/core/views/forms.py index 4408a057..9f565529 100644 --- a/core/views/forms.py +++ b/core/views/forms.py @@ -73,8 +73,8 @@ class MarkdownInput(Textarea): context = super().get_context(name, value, attrs) context["statics"] = { - "js": static("core/easymde/easymde.min.js"), - "css": static("core/easymde/easymde.min.css"), + "js": static("vendored/easymde/easymde.min.js"), + "css": static("vendored/easymde/easymde.min.css"), } context["translations"] = { "heading_smaller": _("Heading"), diff --git a/sith/settings.py b/sith/settings.py index 0e1c1002..dcbd3831 100644 --- a/sith/settings.py +++ b/sith/settings.py @@ -739,7 +739,7 @@ SITH_FRONT_DEP_VERSIONS = { "https://github.com/jquery/jquery/": "3.6.2", "https://github.com/sethmcl/jquery-ui/": "1.11.1", "https://github.com/viralpatel/jquery.shorten/": "", - "https://github.com/getsentry/sentry-javascript/": "4.0.6", + "https://github.com/getsentry/sentry-javascript/": "8.26.0", "https://github.com/jhuckaby/webcamjs/": "1.0.0", "https://github.com/alpinejs/alpine": "3.14.1", "https://github.com/mrdoob/three.js/": "r148", diff --git a/subscription/templates/subscription/stats.jinja b/subscription/templates/subscription/stats.jinja index 617705b9..3fc82bde 100644 --- a/subscription/templates/subscription/stats.jinja +++ b/subscription/templates/subscription/stats.jinja @@ -6,7 +6,7 @@ {% block head %} {{ super() }} - + {% endblock %} {% block content %}