vendor: 4,714 bytes, line 1
1"use strict";(self.webpackChunkggwidget2=self.webpackChunkggwidget2||[]).push([[414],{7832:(t,e,n)=>{function r(){r=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof f?e:f,s=Object.create(o.prototype),a=new C(r||[]);return i(s,"_invoke",{value:k(t,n,a)}),s}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h={};function f(){}function p(){}function m(){}var g={};c(g,s,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(O([])));y&&y!==e&&n.call(y,s)&&(g=y);var b=m.prototype=f.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function r(i,o,s,a){var u=d(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,s,a)}),(function(t){r("throw",t,s,a)})):e.resolve(l).then((function(t){c.value=t,s(c)}),(function(t){return r("throw",t,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function k(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=x(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function x(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=d(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function O(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=m,i(b,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:p,configurable:!0}),p.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(_.prototype),c(_.prototype,a,(function(){return this})),t.AsyncIterator=_,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new _(l(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},w(b),c(b,u,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=O,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
vendor: 5,032 bytes, line 1
1h(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function i(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,u,"next",t)}function u(t){i(s,r,o,a,u,"throw",t)}a(void 0)}))}}function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function a(t){if(null==t)throw new TypeError("Cannot destructure "+t)}n.d(e,{g:()=>I});var u=n(6540);function c(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{u(r.next(t))}catch(t){o(t)}}function a(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}u((r=r.apply(t,e||[])).next())}))}function l(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(u){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=e.call(t,o)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}}Object.create;function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function h(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t}Object.create;"function"==typeof SuppressedError&&SuppressedError;var f=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function p(t,e){var n=function(t){var e=t.name;if(e&&-1!==e.lastIndexOf(".")&&!t.type){var n=e.split(".").pop().toLowerCase(),r=f.get(n);
1r&&Object.defineProperty(t,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return t}(t);if("string"!=typeof n.path){var r=t.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof e?e:"string"==typeof r&&r.length>0?r:t.name,writable:!1,configurable:!1,enumerable:!0})}return n}var m=[".DS_Store","Thumbs.db"];function g(t){return c(this,void 0,void 0,(function(){return l(this,(function(e){return[2,(n=t,n.dataTransfer&&t.dataTransfer?y(t.dataTransfer,t.type):v(t))];var n}))}))}function v(t){return(null!==t.target&&t.target.files?w(t.target.files):[]).map((function(t){return p(t)}))}function y(t,e){return c(this,void 0,void 0,(function(){var n;return l(this,(function(r){switch(r.label){case 0:return t.items?(n=w(t.items).filter((function(t){return"file"===t.kind})),"drop"!==e?[2,n]:[4,Promise.all(n.map(_))]):[3,2];case 1:return[2,b(k(r.sent()))];case 2:return[2,b(w(t.files).map((function(t){return p(t)})))]}}))}))}function b(t){return t.filter((function(t){return-1===m.indexOf(t.name)}))}function w(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}function _(t){if("function"!=typeof t.webkitGetAsEntry)return x(t);var e=t.webkitGetAsEntry();return e&&e.isDirectory?S(e):x(t)}function k(t){return t.reduce((function(t,e){return h(t,Array.isArray(e)?k(e):[e])}),[])}function x(t){var e=t.getAsFile();if(!e)return Promise.reject(t+" is not a File");var n=p(e);return Promise.resolve(n)}function P(t){return c(this,void 0,void 0,(function(){return l(this,(function(e){return[2,t.isDirectory?S(t):C(t)]}))}))}function S(t){var e=t.createReader();return new Promise((function(t,n){var r=[];!function i(){var o=this;e.readEntries((function(e){return c(o,void 0,void 0,(function(){var o,s,a;return l(this,(function(u){switch(u.label){case 0:if(e.length)return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return o=u.sent(),t(o),[3,4];case 3:return s=u.sent(),n(s),[3,4];case 4:return[3,6];case 5:a=Promise.all(e.map(P)),r.push(a),i(),u.label=6;case 6:return[2]}}
1))}))}),(function(t){n(t)}))}()}))}function C(t){return c(this,void 0,void 0,(function(){return l(this,(function(e){return[2,new Promise((function(e,n){t.file((function(n){var r=p(n,t.fullPath);e(r)}),(function(t){n(t)}))}))]}))}))}var O=function(t){var e=t.onFilesSelected,n=t.onFilesSuccessfullySelected,r=t.onFilesRejected,i=t.onClear,o=t.validators;return{onFilesSelected:(0,u.useCallback)((function(t){null==e||e(t),null==o||o.forEach((function(e){e.onFilesSelected(t)}))}),[e,o]),onFilesSuccessfullySelected:(0,u.useCallback)((function(t){null==n||n(t),null==o||o.forEach((function(e){e.onFilesSuccessfullySelected(t)}))}),[o,n]),onFilesRejected:(0,u.useCallback)((function(t){null==r||r(t),null==o||o.forEach((function(e){e.onFilesRejected(t)}))}),[o,r]),onClear:(0,u.useCallback)((function(){null==i||i(),null==o||o.forEach((function(t){null==t.onClear||t.onClear()}))}),[o,i])}},M=[];function I(t){var e=t.accept,n=void 0===e?"*":e,i=t.multiple,c=void 0===i||i,l=t.readAs,d=void 0===l?"Text":l,h=t.readFilesContent,f=void 0===h||h,p=t.validators,m=void 0===p?M:p,v=t.initializeWithCustomParameters,y=(0,u.useState)([]),b=y[0],w=y[1],_=(0,u.useState)([]),k=_[0],x=_[1],P=(0,u.useState)([]),S=P[0],C=P[1],I=(0,u.useState)(!1),A=I[0],E=I[1],j=O(t),F=j.onFilesSelected,R=j.onFilesSuccessfullySelected,V=j.onFilesRejected,L=j.onClear,q=(0,u.useCallback)((function(){w([]),x([]),C([])}),[]),T=(0,u.useCallback)((function(){q(),null==L||L()}),[q,L]),z=(0,u.useCallback)((function(e){return new Promise(function(){var n=o(r().mark((function n(i,u){var c,l;return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:c=new FileReader,c["readAs"+d].call(c,e),l=function(t){var e=s({},(a(t),t));u(s({},e))},c.onload=o(r().mark((function n(){return r().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",Promise.all(m.map((function(n){return n.validateAfterParsing(t,e,c).catch((function(t){return Promise.reject(l(t))}))}))).then((function(){return i(s({},e,{content:c.result,name:e.name,lastModified:e.lastModified}))})).catch((function(){})));case 1:case"end":return n.stop()}}),n)}))),c.onerror=function(){l({name:"FileReaderError",readerError:c.error,causedByFile:e})};case 6:case"end":return n.stop()}}),n)})));return function(t,e){return n.apply(this,arguments)}}())}),[t,d,m]),$=(0,u.useCallback)((function(){!function(t,e,n,r){var i=document.createElement("input");i.style.display="none",document.body.appendChild(i),i.type="file","*"!==t&&(i.accept=t),i.multiple=e,i.addEventListener("change",(function(t){n(t),document.body.removeChild(i)})),r&&r(i),i.dispatchEvent(new MouseEvent("click"))}(n instanceof Array?n.join(","):n,c,function(){var e=o(r().mark((function e(n){var i,o,s,a,u,c;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(),i=n.target,o=i.files?Array.from(i.files):[],E(!0),e.next=6,Promise.all(m.map((function(e){return e.validateBeforeParsing(t,o).catch((function(t){return Array.isArray(t)?t:[t]}))})));case 6:if(s=e.sent.flat(1).filter(Boolean),w(o),C(s),!s.length){e.next=15;break}return E(!1),w([]),null==V||V({errors:s}),null==F||F({errors:s}),e.abrupt("return");case 15:if(f){e.next=19;break}return E(!1),null==F||F({plainFiles:o,filesContent:[]}),e.abrupt("return");case 19:return e.next=21,g(n);case 21:return a=e.sent,u=[],e.next=25,Promise.all(a.map((function(t){return z(t).catch((function(t){u.push.apply(u,Array.isArray(t)?t:[t])}))})));case 25:if(c=e.sent,E(!1),!u.length){e.next=34;break}return w([]),x([]),C((function(t){return[].concat(t,u)})),null==V||V({errors:u}),null==F||F({errors:s.concat(u)}),e.abrupt("return");case 34:x(c),w(o),C([]),null==R||R({filesContent:c,plainFiles:o}),null==F||F({plainFiles:o,filesContent:c});case 39:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v)}),[t,n,q,v,c,V,F,R,z,f,m]);return{openFilePicker:$,filesContent:k,errors:S,loading:A,plainFiles:b,clear:T}}},2555:(t,e,n)=>{n.d(e,{CS:()=>Un,$W:()=>Me,zh:()=>Pn});var r=b(),i=t=>m(t,r),o=b();i.write=t=>m(t,o);var s=b();i.onStart=t=>m(t,s);var a=b();i.onFrame=t=>m(t,a);var u=b();i.onFinish=t=>m(t,u);var c=[];i.setTimeout=(t,e)=>{const n=i.now()+e,r=()=>{const t=c.findIndex((t=>t.cancel==r));~t&&c.splice(t,1),f-=~t?1:0},o={time:n,handler:t,cancel:r};return c.splice(l(n),0,o),f+=1,g(),o};var l=t=>~(~c.findIndex((e=>e.time>t))||~c.length);i.cancel=t=>{s.delete(t),a.delete(t),u.delete(t),r.delete(t),o.delete(t)},i.sync=t=>{p=!0,i.batchedUpdates(t),p=!1},i.throttle=t=>{let e;function n(){try{t(...e)}finally{e=null}}function r(...t){e=t,i.onStart(n)}return r.handler=t,r.cancel=()=>{s.delete(n),e=null},r};var d="undefined"!=typeof window?window.requestAnimationFrame:()=>{};i.use=t=>d=t,i.now="undefined"!=typeof performance?()=>performance.now():Date.now,i.batchedUpdates=t=>t(),i.catch=console.error,i.frameLoop="always",i.advance=()=>{"demand"!==i.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):y()};var h=-1,f=0,p=!1;function m(t,e){p?(e.delete(t),t(0)):(e.add(t),g())}function g(){h<0&&(h=0,"demand"!==i.frameLoop&&d(v))}function v(){~h&&(d(v),i.batchedUpdates(y))}function y(){const t=h;h=i.now();const e=l(h);e&&(w(c.splice(0,e),(t=>t.handler())),f-=e),f?(s.flush(),r.flush(t?Math.min(64,h-t):16.667),a.flush(),o.flush(),u.flush()):h=-1}function b(){let t=new Set,e=t;return{add(n){f+=e!=t||t.has(n)?0:1,t.add(n)},delete(n){return f-=e==t&&t.has(n)?1:0,t.delete(n)},flush(n){e.size&&(t=new Set,f-=e.size,w(e,(e=>e(n)&&t.add(e))),f+=t.size,e=t)}}}function w(t,e){t.forEach((t=>{try{e(t)}catch(t){i.catch(t)}}))}
1var _=n(6540),k=Object.defineProperty,x={};function P(){}((t,e)=>{for(var n in e)k(t,n,{get:e[n],enumerable:!0})})(x,{assign:()=>T,colors:()=>V,createStringInterpolator:()=>E,skipAnimation:()=>L,to:()=>j,willAdvance:()=>q});var S={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"==typeof t,str:t=>"string"==typeof t,num:t=>"number"==typeof t,und:t=>void 0===t};function C(t,e){if(S.arr(t)){if(!S.arr(e)||t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}var O=(t,e)=>t.forEach(e);function M(t,e,n){if(S.arr(t))for(let r=0;r<t.length;r++)e.call(n,t[r],`${r}`);else for(const r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r)}var I=t=>S.und(t)?[]:S.arr(t)?t:[t];function A(t,e){if(t.size){const n=Array.from(t);t.clear(),O(n,e)}}var E,j,F=(t,...e)=>A(t,(t=>t(...e))),R=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),V=null,L=!1,q=P,T=t=>{t.to&&(j=t.to),t.now&&(i.now=t.now),void 0!==t.colors&&(V=t.colors),null!=t.skipAnimation&&(L=t.skipAnimation),t.createStringInterpolator&&(E=t.createStringInterpolator),t.requestAnimationFrame&&i.use(t.requestAnimationFrame),t.batchedUpdates&&(i.batchedUpdates=t.batchedUpdates),t.willAdvance&&(q=t.willAdvance),t.frameLoop&&(i.frameLoop=t.frameLoop)},z=new Set,$=[],N=[],Q=0,U={get idle(){return!z.size&&!$.length},start(t){Q>t.priority?(z.add(t),i.onStart(G)):(D(t),i(W))},advance:W,sort(t){if(Q)i.onFrame((()=>U.sort(t)));else{const e=$.indexOf(t);~e&&($.splice(e,1),B(t))}},clear(){$=[],z.clear()}};function G(){z.forEach(D),z.clear(),i(W)}function D(t){$.includes(t)||B(t)}function B(t){$.splice(function(t,e){const n=t.findIndex(e);return n<0?t.length:n}($,(e=>e.priority>t.priority)),0,t)}function W(t){const e=N;for(let n=0;n<$.length;n++){const r=$[n];Q=r.priority,r.idle||(q(r),r.advance(t),r.idle||e.push(r))}return Q=0,(N=$).length=0,($=e).length>0}var Y="[-+]?\\d*\\.?\\d+",Z=Y+"%";function H(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var J=new RegExp("rgb"+H(Y,Y,Y)),X=new RegExp("rgba"+H(Y,Y,Y,Y)),K=new RegExp("hsl"+H(Y,Z,Z)),tt=new RegExp("hsla"+H(Y,Z,Z,Y)),et=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nt=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,rt=/^#([0-9a-fA-F]{6})$/,it=/^#([0-9a-fA-F]{8})$/;function ot(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function st(t,e,n){const r=n<.5?n*(1+e):n+e-n*e,i=2*n-r,o=ot(i,r,t+1/3),s=ot(i,r,t),a=ot(i,r,t-1/3);return Math.round(255*o)<<24|Math.round(255*s)<<16|Math.round(255*a)<<8}function at(t){const e=parseInt(t,10);return e<0?0:e>255?255:e}function ut(t){return(parseFloat(t)%360+360)%360/360}function ct(t){const e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function lt(t){const e=parseFloat(t);return e<0?0:e>100?1:e/100}function dt(t){let e=function(t){let e;return"number"==typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=rt.exec(t))?parseInt(e[1]+"ff",16)>>>0:V&&void 0!==V[t]?V[t]:(e=J.exec(t))?(at(e[1])<<24|at(e[2])<<16|at(e[3])<<8|255)>>>0:(e=X.exec(t))?(at(e[1])<<24|at(e[2])<<16|at(e[3])<<8|ct(e[4]))>>>0:(e=et.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=it.exec(t))?parseInt(e[1],16)>>>0:(e=nt.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=K.exec(t))?(255|st(ut(e[1]),lt(e[2]),lt(e[3])))>>>0:(e=tt.exec(t))?(st(ut(e[1]),lt(e[2]),lt(e[3]))|ct(e[4]))>>>0:null}(t);if(null===e)return t;e=e||0;return`rgba(${(4278190080&e)>>>24}, ${(16711680&e)>>>16}, ${(65280&e)>>>8}, ${(255&e)/255})`}var ht=(t,e,n)=>{if(S.fun(t))return t;if(S.arr(t))return ht({range:t,output:e,extrapolate:n});if(S.str(t.output[0]))return E(t);const r=t,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",u=r.easing||(t=>t);return t=>{const e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,o);return function(t,e,n,r,i,o,s,a,u){let c=u?u(t):t;if(c<e){if("identity"===s)return c;"clamp"===s&&(c=e)}if(c>n){if("identity"===a)return c;"clamp"===a&&(c=n)}if(r===i)return r;if(e===n)return t<=e?r:i;e===-1/0?c=-c:n===1/0?c-=e:c=(c-e)/(n-e);c=o(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(t,o[e],o[e+1],i[e],i[e+1],u,s,a,r.map)}};var ft=1.70158,pt=1.525*ft,mt=ft+1,gt=2*Math.PI/3,vt=2*Math.PI/4.5,yt=t=>{const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},bt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>1-(1-t)*(1-t),easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInCubic:t=>t*t*t,easeOutCubic:t=>1-Math.pow(1-t,3),easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInQuart:t=>t*t*t*t,easeOutQuart:t=>1-Math.pow(1-t,4),easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>1-Math.pow(1-t,5),easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeOutSine:t=>Math.sin(t*Math.PI/2),easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInExpo:t=>0===t?0:Math.pow(2,10*t-10),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInBack:t=>mt*t*t*t-ft*t*t,easeOutBack:t=>1+mt*Math.pow(t-1,3)+ft*Math.pow(t-1,2),easeInOutBack:t=>t<.5?Math.pow(2*t,2)*(7.189819*t-pt)/2:(Math.pow(2*t-2,2)*((pt+1)*(2*t-2)+pt)+2)/2,easeInElastic:t=>0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*gt),easeOutElastic:t=>0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*gt)+1,easeInOutElastic:t=>0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*vt)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*vt)/2+1,easeInBounce:t=>1-yt(1-t),easeOutBounce:yt,easeInOutBounce:t=>t<.5?(1-yt(1-2*t))/2:(1+yt(2*t-1))/2,steps:(t,e="end")=>n=>{const r=(n="end"===e?Math.min(n,.999):Math.max(n,.001))*t,i="end"===e?Math.floor(r):Math.ceil(r);return o=0,s=1,a=i/t,Math.min(Math.max(a,o),s);var o,s,a}},wt=Symbol.for("FluidValue.get"),_t=Symbol.for("FluidValue.observers"),kt=t=>Boolean(t&&t[wt]),xt=t=>t&&t[wt]?t[wt]():t,Pt=t=>t[_t]||null;function St(t,e){const n=t[_t];
1n&&n.forEach((t=>{!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}var Ct=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");Ot(this,t)}},Ot=(t,e)=>Et(t,wt,e);function Mt(t,e){if(t[wt]){let n=t[_t];n||Et(t,_t,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function It(t,e){const n=t[_t];if(n&&n.has(e)){const r=n.size-1;r?n.delete(e):t[_t]=null,t.observerRemoved&&t.observerRemoved(r,e)}}var At,Et=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),jt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Ft=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Rt=new RegExp(`(${jt.source})(%|[a-z]+)`,"i"),Vt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Lt=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,qt=t=>{const[e,n]=Tt(t);if(!e||R())return t;const r=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(r)return r.trim();if(n&&n.startsWith("--")){const e=window.getComputedStyle(document.documentElement).getPropertyValue(n);return e||t}return n&&Lt.test(n)?qt(n):n||t},Tt=t=>{const e=Lt.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]},zt=(t,e,n,r,i)=>`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,$t=t=>{At||(At=V?new RegExp(`(${Object.keys(V).join("|")})(?!\\w)`,"g"):/^\b$/);const e=t.output.map((t=>xt(t).replace(Lt,qt).replace(Ft,dt).replace(At,dt))),n=e.map((t=>t.match(jt).map(Number))),r=n[0].map(((t,e)=>n.map((t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})))).map((e=>ht({...t,output:e})));return t=>{const n=!Rt.test(e[0])&&e.find((t=>Rt.test(t)))?.replace(jt,"");let i=0;return e[0].replace(jt,(()=>`${r[i++](t)}${n||""}`)).replace(Vt,zt)}},Nt="react-spring: ",Qt=t=>{const e=t;let n=!1;if("function"!=typeof e)throw new TypeError(`${Nt}once requires a function parameter`);return(...t)=>{n||(e(...t),n=!0)}},Ut=Qt(console.warn);var Gt=Qt(console.warn);function Dt(t){return S.str(t)&&("#"==t[0]||/\d/.test(t)||!R()&&Lt.test(t)||t in(V||{}))}var Bt=R()?_.useEffect:_.useLayoutEffect,Wt=()=>{const t=(0,_.useRef)(!1);return Bt((()=>(t.current=!0,()=>{t.current=!1})),[]),t};function Yt(){const t=(0,_.useState)()[1],e=Wt();return()=>{e.current&&t(Math.random())}}var Zt=t=>(0,_.useEffect)(t,Ht),Ht=[];function Jt(t){const e=(0,_.useRef)();return(0,_.useEffect)((()=>{e.current=t})),e.current}var Xt=Symbol.for("Animated:node"),Kt=t=>t&&t[Xt],te=(t,e)=>{return n=t,r=Xt,i=e,Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0});var n,r,i},ee=t=>t&&t[Xt]&&t[Xt].getPayload(),ne=class{constructor(){te(this,this)}getPayload(){return this.payload||[]}},re=class extends ne{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,S.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new re(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return S.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,S.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},ie=class extends re{constructor(t){super(0),this._string=null,this._toString=ht({output:[t,t]})}static create(t){return new ie(t)}getValue(){const t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(S.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=ht({output:[this.getValue(),t]})),this._value=0,super.reset()}},oe={dependencies:null},se=class extends ne{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const e={};return M(this.source,((n,r)=>{var i;(i=n)&&i[Xt]===i?e[r]=n.getValue(t):kt(n)?e[r]=xt(n):t||(e[r]=n)})),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&O(this.payload,(t=>t.reset()))}_makePayload(t){if(t){const e=new Set;return M(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){oe.dependencies&&kt(t)&&oe.dependencies.add(t);const e=ee(t);e&&O(e,(t=>this.add(t)))}},ae=class extends se{constructor(t){super(t)}static create(t){return new ae(t)}getValue(){return this.source.map((t=>t.getValue()))}setValue(t){const e=this.getPayload();return t.length==e.length?e.map(((e,n)=>e.setValue(t[n]))).some(Boolean):(super.setValue(t.map(ue)),!0)}};function ue(t){return(Dt(t)?ie:re).create(t)}function ce(t){const e=Kt(t);return e?e.constructor:S.arr(t)?ae:Dt(t)?ie:re}var le=(t,e)=>{const n=!S.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,_.forwardRef)(((r,o)=>{const s=(0,_.useRef)(null),a=n&&(0,_.useCallback)((t=>{s.current=function(t,e){t&&(S.fun(t)?t(e):t.current=e);return e}(o,t)}),[o]),[u,c]=function(t,e){const n=new Set;oe.dependencies=n,t.style&&(t={...t,style:e.createAnimatedStyle(t.style)});return t=new se(t),oe.dependencies=null,[t,n]}(r,e),l=Yt(),d=()=>{const t=s.current;if(n&&!t)return;!1===(!!t&&e.applyAnimatedValues(t,u.getValue(!0)))&&l()},h=new de(d,c),f=(0,_.useRef)();Bt((()=>(f.current=h,O(c,(t=>
1Mt(t,h))),()=>{f.current&&(O(f.current.deps,(t=>It(t,f.current))),i.cancel(f.current.update))}))),(0,_.useEffect)(d,[]),Zt((()=>()=>{const t=f.current;O(t.deps,(e=>It(e,t)))}));const p=e.getComponentProps(u.getValue());return _.createElement(t,{...p,ref:a})}))},de=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&i.write(this.update)}};var he=Symbol.for("AnimatedComponent"),fe=t=>S.str(t)?t:t&&S.str(t.displayName)?t.displayName:S.fun(t)&&t.name||null;function pe(t,...e){return S.fun(t)?t(...e):t}var me=(t,e)=>!0===t||!!(e&&t&&(S.fun(t)?t(e):I(t).includes(e))),ge=(t,e)=>S.obj(t)?e&&t[e]:t,ve=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,ye=t=>t,be=(t,e=ye)=>{let n=we;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));const r={};for(const i of n){const n=e(t[i],i);S.und(n)||(r[i]=n)}return r},we=["config","onProps","onStart","onChange","onPause","onResume","onRest"],_e={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function ke(t){const e=function(t){const e={};let n=0;if(M(t,((t,r)=>{_e[r]||(e[r]=t,n++)})),n)return e}(t);if(e){const n={to:e};return M(t,((t,r)=>r in e||(n[r]=t))),n}return{...t}}function xe(t){return t=xt(t),S.arr(t)?t.map(xe):Dt(t)?x.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function Pe(t){for(const e in t)return!0;return!1}function Se(t){return S.fun(t)||S.arr(t)&&S.obj(t[0])}function Ce(t,e){t.ref?.delete(t),e?.delete(t)}function Oe(t,e){e&&t.ref!==e&&(t.ref?.delete(t),e.add(t),t.ref=e)}var Me={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Ie={...Me.default,mass:1,damping:1,easing:bt.linear,clamp:!1},Ae=class{constructor(){this.velocity=0,Object.assign(this,Ie)}};function Ee(t,e){if(S.und(e.decay)){const n=!S.und(e.tension)||!S.und(e.friction);!n&&S.und(e.frequency)&&S.und(e.damping)&&S.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}var je=[],Fe=class{constructor(){this.changed=!1,this.values=je,this.toValues=null,this.fromValues=je,this.config=new Ae,this.immediate=!1}};function Re(t,{key:e,props:n,defaultProps:r,state:o,actions:s}){return new Promise(((a,u)=>{let c,l,d=me(n.cancel??r?.cancel,e);if(d)p();else{S.und(n.pause)||(o.paused=me(n.pause,e));let t=r?.pause;!0!==t&&(t=o.paused||me(t,e)),c=pe(n.delay||0,e),t?(o.resumeQueue.add(f),s.pause()):(s.resume(),f())}function h(){o.resumeQueue.add(f),o.timeouts.delete(l),l.cancel(),c=l.time-i.now()}function f(){c>0&&!x.skipAnimation?(o.delayed=!0,l=i.setTimeout(p,c),o.pauseQueue.add(h),o.timeouts.add(l)):p()}function p(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(h),o.timeouts.delete(l),t<=(o.cancelId||0)&&(d=!0);try{s.start({...n,callId:t,cancel:d},a)}catch(t){u(t)}}}))}var Ve=(t,e)=>1==e.length?e[0]:e.some((t=>t.cancelled))?Te(t.get()):e.every((t=>t.noop))?Le(t.get()):qe(t.get(),e.every((t=>t.finished))),Le=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),qe=(t,e,n=!1)=>({value:t,finished:e,cancelled:n}),Te=t=>({value:t,cancelled:!0,finished:!1});function ze(t,e,n,r){const{callId:o,parentId:s,onRest:a}=e,{asyncTo:u,promise:c}=n;return s||t!==u||e.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=t;const l=be(e,((t,e)=>"onRest"===e?void 0:t));let d,h;const f=new Promise(((t,e)=>(d=t,h=e))),p=t=>{const e=o<=(n.cancelId||0)&&Te(r)||o!==n.asyncId&&qe(r,!1);if(e)throw t.result=e,h(t),t},m=(t,e)=>{const i=new Ne,s=new Qe;return(async()=>{if(x.skipAnimation)throw $e(n),s.result=qe(r,!1),h(s),s;p(i);const a=S.obj(t)?{...t}:{...e,to:t};a.parentId=o,M(l,((t,e)=>{S.und(a[e])&&(a[e]=t)}));const u=await r.start(a);return p(i),n.paused&&await new Promise((t=>{n.resumeQueue.add(t)})),u})()};let g;if(x.skipAnimation)return $e(n),qe(r,!1);try{let e;e=S.arr(t)?(async t=>{for(const e of t)await m(e)})(t):Promise.resolve(t(m,r.stop.bind(r))),await Promise.all([e.then(d),f]),g=qe(r.get(),!0,!1)}catch(t){if(t instanceof Ne)g=t.result;else{if(!(t instanceof Qe))throw t;g=t.result}}finally{o==n.asyncId&&(n.asyncId=s,n.asyncTo=s?u:void 0,n.promise=s?c:void 0)}return S.fun(a)&&i.batchedUpdates((()=>{a(g,r,r.item)})),g})():c}function $e(t,e){A(t.timeouts,(t=>t.cancel())),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}
1var Ne=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Qe=class extends Error{constructor(){super("SkipAnimationSignal")}},Ue=t=>t instanceof De,Ge=1,De=class extends Ct{constructor(){super(...arguments),this.id=Ge++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Kt(this);return t&&t.getValue()}to(...t){return x.to(this,t)}interpolate(...t){return Ut(`${Nt}The "interpolate" function is deprecated in v9 (use "to" instead)`),x.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){St(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||U.sort(this),St(this,{type:"priority",parent:this,priority:t})}},Be=Symbol.for("SpringPhase"),We=t=>(1&t[Be])>0,Ye=t=>(2&t[Be])>0,Ze=t=>(4&t[Be])>0,He=(t,e)=>e?t[Be]|=3:t[Be]&=-3,Je=(t,e)=>e?t[Be]|=4:t[Be]&=-5,Xe=class extends De{constructor(t,e){if(super(),this.animation=new Fe,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!S.und(t)||!S.und(e)){const n=S.obj(t)?{...t}:{...e,from:t};S.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ye(this)||this._state.asyncTo)||Ze(this)}get goal(){return xt(this.animation.to)}get velocity(){const t=Kt(this);return t instanceof re?t.lastVelocity||0:t.getPayload().map((t=>t.lastVelocity||0))}get hasAnimated(){return We(this)}get isAnimating(){return Ye(this)}get isPaused(){return Ze(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=ee(r.to);!s&&kt(r.to)&&(i=I(xt(r.to))),r.values.forEach(((a,u)=>{if(a.done)return;const c=a.constructor==ie?1:s?s[u].lastPosition:i[u];let l=r.immediate,d=c;if(!l){if(d=a.lastPosition,o.tension<=0)return void(a.done=!0);let e=a.elapsedTime+=t;const n=r.fromValues[u],i=null!=a.v0?a.v0:a.v0=S.arr(o.velocity)?o.velocity[u]:o.velocity;let s;const h=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n)));if(S.und(o.duration))if(o.decay){const t=!0===o.decay?.998:o.decay,r=Math.exp(-(1-t)*e);d=n+i/(1-t)*(1-r),l=Math.abs(a.lastPosition-d)<=h,s=i*r}else{s=null==a.lastVelocity?i:a.lastVelocity;const e=o.restVelocity||h/10,r=o.clamp?0:o.bounce,u=!S.und(r),f=n==c?a.v0>0:n<c;let p,m=!1;const g=1,v=Math.ceil(t/g);for(let t=0;t<v&&(p=Math.abs(s)>e,p||(l=Math.abs(c-d)<=h,!l));++t){u&&(m=d==c||d>c==f,m&&(s=-s*r,d=c));s+=(1e-6*-o.tension*(d-c)+.001*-o.friction*s)/o.mass*g,d+=s*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,a.durationProgress>0&&(a.elapsedTime=o.duration*a.durationProgress,e=a.elapsedTime+=t)),r=(o.progress||0)+e/this._memoizedDuration,r=r>1?1:r<0?0:r,a.durationProgress=r),d=n+o.easing(r)*(c-n),s=(d-a.lastPosition)/t,l=1==r}a.lastVelocity=s,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),l=!0)}s&&!s[u].done&&(l=!1),l?a.done=!0:e=!1,a.setValue(d,o.round)&&(n=!0)}));const a=Kt(this),u=a.getValue();if(e){const t=xt(r.to);u===t&&!n||o.decay?n&&o.decay&&this._onChange(u):(a.setValue(t),this._onChange(t)),this._stop()}else n&&this._onChange(u)}set(t){return i.batchedUpdates((()=>{this._stop(),this._focus(t),this._set(t)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ye(this)){const{to:t,config:e}=this.animation;i.batchedUpdates((()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()}))}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let n;return S.und(t)?(n=this.queue||[],this.queue=[]):n=[S.obj(t)?t:{...e,to:t}],Promise.all(n.map((t=>this._update(t)))).then((t=>Ve(this,t)))}stop(t){const{to:e}=this.animation;return this._focus(this.get()),$e(this._state,t&&this._lastCallId),i.batchedUpdates((()=>this._stop(e,t))),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(t){const e=this.key||"";let{to:n,from:r}=t;n=S.obj(n)?n[e]:n,(null==n||Se(n))&&(n=void 0),r=S.obj(r)?r[e]:r,null==r&&(r=void 0);const i={to:n,from:r};return We(this)||(t.reverse&&([n,r]=[r,n]),r=xt(r),S.und(r)?Kt(this)||this._set(n):this._set(r)),i}_update({...t},e){const{key:n,defaultProps:r}=this;t.default&&Object.assign(r,be(t,((t,e)=>/^on/.test(e)?ge(t,n):t))),sn(this,t,"onProps"),an(this,"onProps",t,this);const i=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did
1you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return Re(++this._lastCallId,{key:n,props:t,defaultProps:r,state:o,actions:{pause:()=>{Ze(this)||(Je(this,!0),F(o.pauseQueue),an(this,"onPause",qe(this,Ke(this,this.animation.to)),this))},resume:()=>{Ze(this)&&(Je(this,!1),Ye(this)&&this._resume(),F(o.resumeQueue),an(this,"onResume",qe(this,Ke(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((n=>{if(t.loop&&n.finished&&(!e||!n.noop)){const e=tn(t);if(e)return this._update(e,!0)}return n}))}_merge(t,e,n){if(e.cancel)return this.stop(!0),n(Te(this));const r=!S.und(t.to),o=!S.und(t.from);if(r||o){if(!(e.callId>this._lastToId))return n(Te(this));this._lastToId=e.callId}const{key:s,defaultProps:a,animation:u}=this,{to:c,from:l}=u;let{to:d=c,from:h=l}=t;!o||r||e.default&&!S.und(d)||(d=h),e.reverse&&([d,h]=[h,d]);const f=!C(h,l);f&&(u.from=h),h=xt(h);const p=!C(d,c);p&&this._focus(d);const m=Se(e.to),{config:g}=u,{decay:v,velocity:y}=g;(r||o)&&(g.velocity=0),e.config&&!m&&function(t,e,n){n&&(Ee(n={...n},e),e={...n,...e}),Ee(t,e),Object.assign(t,e);for(const e in Ie)null==t[e]&&(t[e]=Ie[e]);let{frequency:r,damping:i}=t;const{mass:o}=t;S.und(r)||(r<.01&&(r=.01),i<0&&(i=0),t.tension=Math.pow(2*Math.PI/r,2)*o,t.friction=4*Math.PI*i*o/r)}(g,pe(e.config,s),e.config!==a.config?pe(a.config,s):void 0);let b=Kt(this);if(!b||S.und(d))return n(qe(this,!0));const w=S.und(e.reset)?o&&!e.default:!S.und(h)&&me(e.reset,s),_=w?h:this.get(),k=xe(d),x=S.num(k)||S.arr(k)||Dt(k),P=!m&&(!x||me(a.immediate||e.immediate,s));if(p){const t=ce(d);if(t!==b.constructor){if(!P)throw Error(`Cannot animate between ${b.constructor.name} and ${t.name}, as the "to" prop suggests`);b=this._set(k)}}const M=b.constructor;let A=kt(d),E=!1;if(!A){const t=w||!We(this)&&f;(p||t)&&(E=C(xe(_),k),A=!E),(C(u.immediate,P)||P)&&C(g.decay,v)&&C(g.velocity,y)||(A=!0)}if(E&&Ye(this)&&(u.changed&&!w?A=!0:A||this._stop(c)),!m&&((A||kt(c))&&(u.values=b.getPayload(),u.toValues=kt(d)?null:M==ie?[1]:I(k)),u.immediate!=P&&(u.immediate=P,P||w||this._set(c)),A)){const{onRest:t}=u;O(on,(t=>sn(this,e,t)));const r=qe(this,Ke(this,c));F(this._pendingCalls,r),this._pendingCalls.add(n),u.changed&&i.batchedUpdates((()=>{u.changed=!w,t?.(r,this),w?pe(a.onRest,r):u.onStart?.(r,this)}))}w&&this._set(_),m?n(ze(e.to,e,this._state,this)):A?this._start():Ye(this)&&!p?this._pendingCalls.add(n):n(Le(_))}_focus(t){const e=this.animation;t!==e.to&&(Pt(this)&&this._detach(),e.to=t,Pt(this)&&this._attach())}_attach(){let t=0;const{to:e}=this.animation;kt(e)&&(Mt(e,this),Ue(e)&&(t=e.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;kt(t)&&It(t,this)}_set(t,e=!0){const n=xt(t);if(!S.und(n)){const t=Kt(this);if(!t||!C(n,t.getValue())){const r=ce(n);t&&t.constructor==r?t.setValue(n):te(this,r.create(n)),t&&i.batchedUpdates((()=>{this._onChange(n,e)}))}}return Kt(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,an(this,"onStart",qe(this,Ke(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),pe(this.animation.onChange,t,this)),pe(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){const t=this.animation;Kt(this).reset(xt(t.to)),t.immediate||(t.fromValues=t.values.map((t=>t.lastPosition))),Ye(this)||(He(this,!0),Ze(this)||this._resume())}_resume(){x.skipAnimation?this.finish():U.start(this)}_stop(t,e){if(Ye(this)){He(this,!1);const n=this.animation;O(n.values,(t=>{t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),St(this,{type:"idle",parent:this});const r=e?Te(this.get()):qe(this.get(),Ke(this,t??n.to));F(this._pendingCalls,r),n.changed&&(n.changed=!1,an(this,"onRest",r,this))}}};function Ke(t,e){const n=xe(e);return C(xe(t.get()),n)}function tn(t,e=t.loop,n=t.to){const r=pe(e);if(r){const i=!0!==r&&ke(r),o=(i||t).reverse,s=!i||i.reset;return en({...t,loop:e,default:!1,pause:void 0,to:!o||Se(n)?n:void 0,from:s?t.from:void 0,reset:s,...i})}}function en(t){const{to:e,from:n}=t=ke(t),r=new Set;return S.obj(e)&&rn(e,r),S.obj(n)&&rn(n,r),t.keys=r.size?Array.from(r):null,t}function nn(t){const e=en(t);return S.und(e.default)&&(e.default=be(e)),e}function rn(t,e){M(t,((t,n)=>null!=t&&e.add(n)))}var on=["onStart","onRest","onChange","onPause","onResume"];function sn(t,e,n){t.animation[n]=e[n]!==ve(e,n)?ge(e[n],t.key):void 0}function an(t,e,...n){t.animation[e]?.(...n),t.defaultProps[e]?.(...n)}var un=["onStart","onChange","onRest"],cn=1,ln=class{constructor(t,e){this.id=cn++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),e&&(this._flush=e),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((t=>t.idle&&!t.isDelayed&&!t.isPaused))}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each(((e,n)=>t[n]=e.get())),t}set(t){for(const e in t){const n=t[e];S.und(n)||this.springs[e].set(n)}}update(t){return t&&this.queue.push(en(t)),this}start(t){let{queue:e}=this;return t?e=I(t).map(en):this.queue=[],this._flush?this._flush(this,e):(vn(this,e),dn(this,e))}stop(t,e){if(t!==!!t&&(e=t),e){const n=this.springs;O(I(e),(e=>n[e].stop(!!t)))}else $e(this._state,this._lastAsyncId),this.each((e=>e.stop(!!t)));return this}pause(t){if(S.und(t))this.start({pause:!0});else{const e=this.springs;O(I(t),(t=>e[t].pause()))}return this}resume(t){if(S.und(t))this.start({pause:!1});else{const e=this.springs;O(I(t),(t=>e[t].resume()))}return this}each(t){M(this.springs,t)}_onFrame(){const{onStart:t,onChange:e,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,A(t,(([t,e])=>{e.value=this.get(),t(e,this,this._item)})));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&e.size&&A(e,(([t,e])=>{e.value=s,t(e,this,this._item)})),o&&(this._started=!1,A(n,(([t,e])=>{e.value=s,t(e,this,this._item)})))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}i.onFrame(this._onFrame)}};function dn(t,e){return Promise.all(e.map((e=>hn(t,e)))).then((e=>Ve(t,e)))}async function hn(t,e,n){const{keys:r,to:o,from:s,loop:a,onRest:u,onResolve:c}=e,l=S.obj(e.default)&&e.default;a&&(e.loop=!1),!1===o&&(e.to=null),!1===s&&(e.from=null);const d=S.arr(o)||S.fun(o)?o:void 0;d?(e.to=void 0,e.onRest=void 0,l&&(l.onRest=void 0)):O(un,(n=>{const r=e[n];if(S.fun(r)){const i=t._events[n];e[n]=({finished:t,cancelled:e})=>{const n=i.get(r);n?(t||(n.finished=!1),e&&(n.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:e||!1})},l&&(l[n]=e[n])}}));const h=t._state;e.pause===!h.paused?(h.paused=e.pause,F(e.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(e.pause=!0);const f=(r||Object.keys(t.springs)).map((n=>
1t.springs[n].start(e))),p=!0===e.cancel||!0===ve(e,"cancel");(d||p&&h.asyncId)&&f.push(Re(++t._lastAsyncId,{props:e,state:h,actions:{pause:P,resume:P,start(e,n){p?($e(h,t._lastAsyncId),n(Te(t))):(e.onRest=u,n(ze(d,e,h,t)))}}})),h.paused&&await new Promise((t=>{h.resumeQueue.add(t)}));const m=Ve(t,await Promise.all(f));if(a&&m.finished&&(!n||!m.noop)){const n=tn(e,a,o);if(n)return vn(t,[n]),hn(t,n,!0)}return c&&i.batchedUpdates((()=>c(m,t,t.item))),m}function fn(t,e){const n={...t.springs};return e&&O(I(e),(t=>{S.und(t.keys)&&(t=en(t)),S.obj(t.to)||(t={...t,to:void 0}),gn(n,t,(t=>mn(t)))})),pn(t,n),n}function pn(t,e){M(e,((e,n)=>{t.springs[n]||(t.springs[n]=e,Mt(e,t))}))}function mn(t,e){const n=new Xe;return n.key=t,e&&Mt(n,e),n}function gn(t,e,n){e.keys&&O(e.keys,(r=>{(t[r]||(t[r]=n(r)))._prepareNode(e)}))}function vn(t,e){O(e,(e=>{gn(t.springs,e,(e=>mn(e,t)))}))}var yn,bn,wn=({children:t,...e})=>{const n=(0,_.useContext)(_n),r=e.pause||!!n.pause,i=e.immediate||!!n.immediate;e=function(t,e){const[n]=(0,_.useState)((()=>({inputs:e,result:t()}))),r=(0,_.useRef)(),i=r.current;let o=i;o?Boolean(e&&o.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,o.inputs))||(o={inputs:e,result:t()}):o=n;return(0,_.useEffect)((()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)}),[o]),o.result}((()=>({pause:r,immediate:i})),[r,i]);const{Provider:o}=_n;return _.createElement(o,{value:e},t)},_n=(yn=wn,bn={},Object.assign(yn,_.createContext(bn)),yn.Provider._context=yn,yn.Consumer._context=yn,yn);wn.Provider=_n.Provider,wn.Consumer=_n.Consumer;var kn=()=>{const t=[],e=function(e){Gt(`${Nt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return O(t,((t,i)=>{if(S.und(e))r.push(t.start());else{const o=n(e,t,i);o&&r.push(t.start(o))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){const n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){return O(t,(t=>t.pause(...arguments))),this},e.resume=function(){return O(t,(t=>t.resume(...arguments))),this},e.set=function(e){O(t,((t,n)=>{const r=S.fun(e)?e(n,t):e;r&&t.set(r)}))},e.start=function(e){const n=[];return O(t,((t,r)=>{if(S.und(e))n.push(t.start());else{const i=this._getProps(e,t,r);i&&n.push(t.start(i))}})),n},e.stop=function(){return O(t,(t=>t.stop(...arguments))),this},e.update=function(e){return O(t,((t,n)=>t.update(this._getProps(e,t,n)))),this};const n=function(t,e,n){return S.fun(t)?t(n,e):t};return e._getProps=n,e};function xn(t,e,n){const r=S.fun(e)&&e;r&&!n&&(n=[]);const i=(0,_.useMemo)((()=>r||3==arguments.length?kn():void 0),[]),o=(0,_.useRef)(0),s=Yt(),a=(0,_.useMemo)((()=>({ctrls:[],queue:[],flush(t,e){const n=fn(t,e);return o.current>0&&!a.queue.length&&!Object.keys(n).some((e=>!t.springs[e]))?dn(t,e):new Promise((r=>{pn(t,n),a.queue.push((()=>{r(dn(t,e))})),s()}))}})),[]),u=(0,_.useRef)([...a.ctrls]),c=[],l=Jt(t)||0;function d(t,n){for(let i=t;i<n;i++){const t=u.current[i]||(u.current[i]=new ln(null,a.flush)),n=r?r(i,t):e[i];n&&(c[i]=nn(n))}}(0,_.useMemo)((()=>{O(u.current.slice(t,l),(t=>{Ce(t,i),t.stop(!0)})),u.current.length=t,d(l,t)}),[t]),(0,_.useMemo)((()=>{d(0,Math.min(l,t))}),n);const h=u.current.map(((t,e)=>fn(t,c[e]))),f=(0,_.useContext)(wn),p=Jt(f),m=f!==p&&Pe(f);Bt((()=>{o.current++,a.ctrls=u.current;const{queue:t}=a;t.length&&(a.queue=[],O(t,(t=>t()))),O(u.current,((t,e)=>{i?.add(t),m&&t.start({default:f});const n=c[e];n&&(Oe(t,n.ref),t.ref?t.queue.push(n):t.start(n))}))})),Zt((()=>()=>{O(a.ctrls,(t=>t.stop(!0)))}));const g=h.map((t=>({...t})));return i?[g,i]:g}function Pn(t,e){const n=S.fun(t),[[r],i]=xn(1,n?t:[t],n?e||[]:e);return n||2==arguments.length?[r,i]:r}var Sn=class extends De{constructor(t,e){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=ht(...e);const n=this._get(),r=ce(n);te(this,r.create(n))}advance(t){const e=this._get();C(e,this.get())||(Kt(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&On(this._active)&&Mn(this)}_get(){const t=S.arr(this.source)?this.source.map(xt):I(xt(this.source));return this.calc(...t)}_start(){this.idle&&!On(this._active)&&(this.idle=!1,O(ee(this),(t=>{t.done=!1})),x.skipAnimation?(i.batchedUpdates((()=>this.advance())),Mn(this)):U.start(this))}_attach(){let t=1;O(I(this.source),(e=>{kt(e)&&Mt(e,this),Ue(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))})),this.priority=t,this._start()}_detach(){O(I(this.source),(t=>{kt(t)&&It(t,this)})),this._active.clear(),Mn(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=I(this.source).reduce(((t,e)=>Math.max(t,(Ue(e)?e.priority:0)+1)),0))}};function Cn(t){return!1!==t.idle}function On(t){return!t.size||Array.from(t).every(Cn)}function Mn(t){t.idle||(t.idle=!0,O(ee(t),(t=>{t.done=!0})),St(t,{type:"idle",parent:t}))}x.assign({createStringInterpolator:$t,to:(t,e)=>new Sn(t,e)});U.advance;var In=n(961),An=/^--/;function En(t,e){return null==e||"boolean"==typeof e||""===e?"":"number"!=typeof e||0===e||An.test(t)||Fn.hasOwnProperty(t)&&Fn[t]?(""+e).trim():e+"px"}var jn={};var Fn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Rn=["Webkit","Ms","Moz","O"];Fn=Object.keys(Fn).reduce(((t,e)=>(Rn.forEach((n=>t[((t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1))(n,e)]=t[e])),t)),Fn);var Vn=/^(matrix|translate|scale|rotate|skew)/,Ln=/^(translate)/,qn=/^(rotate|skew)/,Tn=(t,e)=>S.num(t)&&0!==t?t+e:t,zn=(t,e)=>S.arr(t)?t.every((t=>zn(t,e))):S.num(t)?t===e:parseFloat(t)===e,$n=class extends se{constructor({x:t,y:e,z:n,...r}){const i=[],o=[];(t||e||n)&&(i.push([t||0,e||0,n||0]),o.push((t=>[`translate3d(${t.map((t=>Tn(t,"px"))).join(",")})`,zn(t,0)]))),M(r,((t,e)=>{if("transform"===e)i.push([t||""]),o.push((t=>[t,""===t]));else if(Vn.test(e)){if(delete r[e],S.und(t))return;const n=Ln.test(e)?"px":qn.test(e)?"deg":"";i.push(I(t)),o.push("rotate3d"===e?([t,e,r,i])=>[`rotate3d(${t},${e},${r},${Tn(i,n)})`,zn(i,0)]:t=>[`${e}(${t.map((t=>Tn(t,n))).join(",")})`,zn(t,e.startsWith("scale")?1:0)])}})),i.length&&(r.transform=new Nn(i,o)),super(r)}},Nn=class extends Ct{constructor(t,e){super(),this.inputs=t,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return O(this.inputs,((n,r)=>{const i=xt(n[0]),[o,s]=this.transforms[r](S.arr(i)?i:n.map(xt));t+=" "+o,e=e&&s})),e?"none":t}observerAdded(t){1==t&&O(this.inputs,(t=>O(t,(t=>kt(t)&&Mt(t,this)))))}observerRemoved(t){0==t&&O(this.inputs,(t=>O(t,(t=>kt(t)&&It(t,this)))))}eventObserved(t){"change"==t.type&&(this._value=null),St(this,t)}};x.assign({batchedUpdates:In.unstable_batchedUpdates,createStringInterpolator:$t,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,dar
1kgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});var Qn=((t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:n=t=>new se(t),getComponentProps:r=t=>t}={})=>{const i={applyAnimatedValues:e,createAnimatedStyle:n,getComponentProps:r},o=t=>{const e=fe(t)||"Anonymous";return(t=S.str(t)?o[t]||(o[t]=le(t,i)):t[he]||(t[he]=le(t,i))).displayName=`Animated(${e})`,t};return M(t,((e,n)=>{S.arr(t)&&(n=fe(e)),o[n]=o(e)})),{animated:o}})(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;const n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,{style:r,children:i,scrollTop:o,scrollLeft:s,viewBox:a,...u}=e,c=Object.values(u),l=Object.keys(u).map((e=>n||t.hasAttribute(e)?e:jn[e]||(jn[e]=e.replace(/([A-Z])/g,(t=>"-"+t.toLowerCase())))));void 0!==i&&(t.textContent=i);for(const e in r)if(r.hasOwnProperty(e)){const n=En(e,r[e]);An.test(e)?t.style.setProperty(e,n):t.style[e]=n}l.forEach(((e,n)=>{t.setAttribute(e,c[n])})),void 0!==o&&(t.scrollTop=o),void 0!==s&&(t.scrollLeft=s),void 0!==a&&t.setAttribute("viewBox",a)},createAnimatedStyle:t=>new $n(t),getComponentProps:({scrollTop:t,scrollLeft:e,...n})=>n}),Un=Qn.animated}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.