1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91],{5511:function(e,t,n){"use strict";n.d(t,{q:function(){return d},b:function(){return f}});var r=n(959),i=n(8904),o=n.n(i),a=n(3023),u=n(2475),l=n.n(u);function s(e,t,n){return Math.abs(t-e)<Math.abs(n-e)?t:n}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){void 0===t&&(t={});var n=(0,r.useState)(null),i=n[0],u=n[1];return(0,r.useEffect)(function(){var n=e.current;if(n){var r=function(e){var t=e.target,n=e.offset,r=void 0===n?.5:n,i=e.threshold,u=void 0===i?4:i,l=e.direction,c=void 0===l?"vertical":l,f=new(o()),d=p(),h=new a.default(g);function p(){if("vertical"===c)e=-r*window.innerHeight+"px 0px "+((r-1)*window.innerHeight+t.clientHeight)+"px 0px",n=u/t.clientHeight;else{var e,n,i=-r*window.innerWidth;e="0px "+((r-1)*window.innerWidth+t.clientWidth)+"px 0px "+i+"px",n=u/t.clientWidth}var o=!1,a=-1,l=!0;return setTimeout(function(){l=!1}),new IntersectionObserver(function(e){var n=e[0],i=n.boundingClientRect,u=n.intersectionRect,d=n.isIntersecting,h=!1,p=0;"vertical"===c?(h=i.top<u.top&&d,p=1-u.height/i.height):"horizontal"===c&&(h=i.left<u.left&&d,p=1-u.width/i.width);var g=!o&&h,m=o&&!h;o=h;var v=function(e){a!==e&&f.emit("progress",{target:t,progress:e}),a=e};g&&(f.emit("enter",{target:t}),l||v(s(p,0,1))),h&&a!==p&&v(p),m&&(f.emit("leave",{target:t}),v(s(p,0,1))),f.emit("debug",{target:t,progress:p,offset:r,intersection:n,direction:c,action:g?"enter":m?"leave":h?"progress":null})},{rootMargin:e,threshold:function(e,t,n){if(void 0===n&&(n=1),n<=0)return[e];var r=Array(Math.ceil((t-e)/n)).fill(e).map(function(e,t){return e+t*n});return r[r.length-1]!==t&&r.push(t),r}(0,1,n)})}function g(){d.disconnect(),(d=p()).observe(t)}return window.addEventListener("resize",g),h.observe(t),{target:t,observer:d,destroy:function(){d.disconnect(),h.disconnect(),f.clearListeners(),window.removeEventListener("resize",g)},on:f.on.bind(f),once:f.once.bind(f),off:f.off.bind(f)}}(c({target:n},t));u(r);var i=t,l=i.onEnter,f=i.onLeave,d=i.onProgress,h=i.onDebug;return l&&r.on("enter",l),f&&r.on("leave",f),d&&r.on("progress",d),h&&r.on("debug",h),function(){r.destroy()}}},[e,t.direction,t.offset,t.threshold]),i}function d(e,t){(0,r.useEffect)(function(){if(e){var n=function(e,t){var n=l()({luminosity:"dark",format:"rgbArray"}),r="rgb("+n[0]+","+n[1]+","+n[2]+")",i="rgba("+n[0]+","+n[1]+","+n[2]+",0.1)",o=document.createElement("div"),a=document.createElement("div");function u(e){var n=e.offset,i=e.action,u=e.progress,l=e.intersection,s="enter"===i||"progress"===i?"block":"none";o.style.cssText="\n position: fixed;\n z-index: 99999;\n pointer-events: none;\n display: "+s+";\n "+("vertical"===e.direction?"\n left: 0;\n width: 100%;\n bottom: "+100*(1-n)+"%;\n color: "+r+";\n border-bottom: 1px dashed "+r+";\n padding: 5px 20px;\n ":"\n top: 0;\n height: 100%;\n right: "+100*(1-n)+"%;\n color: "+r+";\n border-right: 1px dashed "+r+";\n padding: 20px 5px;\n ")+"\n ",a.style.display=s;var c=l.boundingClientRect;a.style.top=c.top+"px",a.style.left=c.left+"px",a.style.width=c.width+"px",a.style.height=c.height+"px",s&&(o.innerText=(t?"["+t+"]":"")+" "+(100*u).toFixed(3)+"%")}function s(){var t=e.target.getBoundingClientRect();a.style.top=t.top+"px",a.style.left=t.left+"px",a.style.width=t.width+"px",a.style.height=t.height+"px"}return a.style.cssText="\n position: fixed;\n z-index: 100000;\n background: "+i+";\n outline: 1px solid "+r+";\n pointer-events: none;\n ",document.body.appendChild(o),document.body.appendChild(a),e.on("debug",u),window.addEventListener("resize",s,!1),window.addEventListener("scroll",s,!1),s(),{destroy:function(){e.off("debug",u),window.removeEventListener("resize",s,!1),window.removeEventListener("scroll",s,!1),o.remove(),a.remove()}}}(e,t);return function(){n.destroy()}}},[e,t])}},5924:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r}},8904:function(e,t,n){"use strict";var r=n(5870);let i=new WeakMap,o=new WeakMap,a=new WeakMap,u=Symbol("anyProducer"),l=Promise.resolve(),s=Symbol("listenerAdded"),c=Symbol("listenerRemoved"),f=!1;function d(e){if("string"!=typeof e&&"symbol"!=typeof e)throw TypeError("eventName must be a string or a symbol")}function h(e){if("function"!=typeof e)throw TypeError("listener must be a function")}function p(e,t){let n=o.get(e);return n.has(t)||n.set(t,new Set),n.get(t)}function g(e,t){let n="string"==typeof t||"symbol"==typeof t?t:u,r=a.get(e);return r.has(n)||r.set(n,new Set),r.get(n)}function m(e,t){t=Array.isArray(t)?t:[t];let n=!1,r=()=>{},i=[],o={enqueue(e){i.push(e),r()},finish(){n=!0,r()}};for(let a of t)g(e,a).add(o);return{async next(){return i?0===i.length?n?(i=void 0,this.next()):(await new Promise(e=>{r=e}),this.next()):{done:!1,value:await i.shift()}:{done:!0}},async return(n){for(let a of(i=void 0,t))g(e,a).delete(o);return r(),arguments.length>0?{done:!0,value:await n}:{done:!0}},[Symbol.asyncIterator](){return this}}}function v(e){if(void 0===e)return w;if(!Array.isArray(e))throw TypeError("`methodNames` must be an array of str
1ings");for(let t of e)if(!w.includes(t)){if("string"!=typeof t)throw TypeError("`methodNames` element must be a string");throw Error(`${t} is not Emittery method`)}return e}let y=e=>e===s||e===c;class b{static mixin(e,t){return t=v(t),n=>{if("function"!=typeof n)throw TypeError("`target` must be function");for(let r of t)if(void 0!==n.prototype[r])throw Error(`The property \`${r}\` already exists on \`target\``);Object.defineProperty(n.prototype,e,{enumerable:!1,get:function(){return Object.defineProperty(this,e,{enumerable:!1,value:new b}),this[e]}});let i=t=>function(...n){return this[e][t](...n)};for(let o of t)Object.defineProperty(n.prototype,o,{enumerable:!1,value:i(o)});return n}}static get isDebugEnabled(){if("object"!=typeof r)return f;let{env:e}=r||{env:{}};return"emittery"===e.DEBUG||"*"===e.DEBUG||f}static set isDebugEnabled(e){f=e}constructor(e={}){i.set(this,new Set),o.set(this,new Map),a.set(this,new Map),this.debug=e.debug||{},void 0===this.debug.enabled&&(this.debug.enabled=!1),this.debug.logger||(this.debug.logger=(e,t,n,r)=>{r=JSON.stringify(r),"symbol"==typeof n&&(n=n.toString());let i=new Date,o=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}.${i.getMilliseconds()}`;console.log(`[${o}][emittery:${e}][${t}] Event Name: ${n} 2 data: ${r}`)})}logIfDebugEnabled(e,t,n){(b.isDebugEnabled||this.debug.enabled)&&this.debug.logger(e,this.debug.name,t,n)}on(e,t){for(let n of(h(t),e=Array.isArray(e)?e:[e]))d(n),p(this,n).add(t),this.logIfDebugEnabled("subscribe",n,void 0),y(n)||this.emit(s,{eventName:n,listener:t});return this.off.bind(this,e,t)}off(e,t){for(let n of(h(t),e=Array.isArray(e)?e:[e]))d(n),p(this,n).delete(t),this.logIfDebugEnabled("unsubscribe",n,void 0),y(n)||this.emit(c,{eventName:n,listener:t})}once(e){return new Promise(t=>{let n=this.on(e,e=>{n(),t(e)})})}events(e){for(let t of e=Array.isArray(e)?e:[e])d(t);return m(this,e)}async emit(e,t){d(e),this.logIfDebugEnabled("emit",e,t),function(e,t,n){let r=a.get(e);if(r.has(t))for(let i of r.get(t))i.enqueue(n);if(r.has(u)){let o=Promise.all([t,n]);for(let l of r.get(u))l.enqueue(o)}}(this,e,t);let n=p(this,e),r=i.get(this),o=[...n],s=y(e)?[]:[...r];await l,await Promise.all([...o.map(async e=>{if(n.has(e))return e(t)}),...s.map(async n=>{if(r.has(n))return n(e,t)})])}async emitSerial(e,t){d(e),this.logIfDebugEnabled("emitSerial",e,t);let n=p(this,e),r=i.get(this),o=[...n],a=[...r];for(let u of(await l,o))n.has(u)&&await u(t);for(let s of a)r.has(s)&&await s(e,t)}onAny(e){return h(e),this.logIfDebugEnabled("subscribeAny",void 0,void 0),i.get(this).add(e),this.emit(s,{listener:e}),this.offAny.bind(this,e)}anyEvent(){return m(this)}offAny(e){h(e),this.logIfDebugEnabled("unsubscribeAny",void 0,void 0),this.emit(c,{listener:e}),i.get(this).delete(e)}clearListeners(e){for(let t of e=Array.isArray(e)?e:[e])if(this.logIfDebugEnabled("clear",t,void 0),"string"==typeof t||"symbol"==typeof t){p(this,t).clear();let n=g(this,t);for(let r of n)r.finish();n.clear()}else{for(let u of(i.get(this).clear(),o.get(this).values()))u.clear();for(let l of a.get(this).values()){for(let s of l)s.finish();l.clear()}}}listenerCount(e){e=Array.isArray(e)?e:[e];let t=0;for(let n of e){if("string"==typeof n){t+=i.get(this).size+p(this,n).size+g(this,n).size+g(this).size;continue}for(let r of(void 0!==n&&d(n),t+=i.get(this).size,o.get(this).values()))t+=r.size;for(let u of a.get(this).values())t+=u.size}return t}bindMethods(e,t){if("object"!=typeof e||null===e)throw TypeError("`target` must be an object");for(let n of t=v(t)){if(void 0!==e[n])throw Error(`The property \`${n}\` already exists on \`target\``);Object.defineProperty(e,n,{enumerable:!1,value:this[n].bind(this)})}}}let w=Object.getOwnPropertyNames(b.prototype).filter(e=>"constructor"!==e);Object.defineProperty(b,"listenerAdded",{value:s,writable:!1,enumerable:!0,configurable:!1}),Object.defineProperty(b,"listenerRemoved",{value:c,writable:!1,enumerable:!0,configurable:!1}),e.exports=b},9978:function(e){function t(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),o=t.get(i);return void 0===o&&(o=e.call(this,r),t.set(i,o)),o}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function r(e,r){var i,o,a=1===e.length?t:n;return i=r.cache.create(),o=r.serializer,a.bind(this,e,i,o)}function i(){return JSON.stringify(arguments)}function o(){this.cache=Object.create(null)}o.prototype.has=function(e){return e in this.cache},o.prototype.get=function(e){return this.cache[e]},o.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new o}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,o=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:r)(e,{cache:n,serializer:o})},e.exports.strategies={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)},monadic:function(e,n){var r,i;return r=n.cache.create(),i=n.serializer,t.bind(this,e,r,i)}}},9331:function(e,t,n){"use strict";var r=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,u=(e,t,n
2)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;Object.defineProperty(t,"__esModule",{value:!0}),t[Symbol.toStringTag]="Module";var l=n(9978),s=n(7161),c=n(2067),f=n(2502);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=d(l),p=d(c);let g=e=>new Promise((t,n)=>{let r=new Image;r.decoding="async";let i=()=>{t(r),r.removeEventListener("load",i,!1)};r.addEventListener("load",i,!1),r.addEventListener("error",()=>{n(`Frame "${e}" loading failed`),r.removeEventListener("error",i,!1)},!1),r.src=e}),m=new Blob([atob("dmFyIGU9e2V4cG9ydHM6e319O2Z1bmN0aW9uIHQoZSx0LHIsYSl7dmFyIGMsbj1udWxsPT0oYz1hKXx8Im51bWJlciI9PXR5cGVvZiBjfHwiYm9vbGVhbiI9PXR5cGVvZiBjP2E6cihhKSxzPXQuZ2V0KG4pO3JldHVybiB2b2lkIDA9PT1zJiYocz1lLmNhbGwodGhpcyxhKSx0LnNldChuLHMpKSxzfWZ1bmN0aW9uIHIoZSx0LHIpe3ZhciBhPUFycmF5LnByb3RvdHlwZS5zbGljZS5jYWxsKGFyZ3VtZW50cywzKSxjPXIoYSksbj10LmdldChjKTtyZXR1cm4gdm9pZCAwPT09biYmKG49ZS5hcHBseSh0aGlzLGEpLHQuc2V0KGMsbikpLG59ZnVuY3Rpb24gYShlLHQscixhLGMpe3JldHVybiByLmJpbmQodCxlLGEsYyl9ZnVuY3Rpb24gYyhlLGMpe3JldHVybiBhKGUsdGhpcywxPT09ZS5sZW5ndGg/dDpyLGMuY2FjaGUuY3JlYXRlKCksYy5zZXJpYWxpemVyKX1mdW5jdGlvbiBuKCl7cmV0dXJuIEpTT04uc3RyaW5naWZ5KGFyZ3VtZW50cyl9ZnVuY3Rpb24gcygpe3RoaXMuY2FjaGU9T2JqZWN0LmNyZWF0ZShudWxsKX1zLnByb3RvdHlwZS5oYXM9ZnVuY3Rpb24oZSl7cmV0dXJuIGUgaW4gdGhpcy5jYWNoZX0scy5wcm90b3R5cGUuZ2V0PWZ1bmN0aW9uKGUpe3JldHVybiB0aGlzLmNhY2hlW2VdfSxzLnByb3RvdHlwZS5zZXQ9ZnVuY3Rpb24oZSx0KXt0aGlzLmNhY2hlW2VdPXR9O3ZhciBpPXtjcmVhdGU6ZnVuY3Rpb24oKXtyZXR1cm4gbmV3IHN9fTtlLmV4cG9ydHM9ZnVuY3Rpb24oZSx0KXt2YXIgcj10JiZ0LmNhY2hlP3QuY2FjaGU6aSxhPXQmJnQuc2VyaWFsaXplcj90LnNlcmlhbGl6ZXI6bjtyZXR1cm4odCYmdC5zdHJhdGVneT90LnN0cmF0ZWd5OmMpKGUse2NhY2hlOnIsc2VyaWFsaXplcjphfSl9LGUuZXhwb3J0cy5zdHJhdGVnaWVzPXt2YXJpYWRpYzpmdW5jdGlvbihlLHQpe3JldHVybiBhKGUsdGhpcyxyLHQuY2FjaGUuY3JlYXRlKCksdC5zZXJpYWxpemVyKX0sbW9uYWRpYzpmdW5jdGlvbihlLHIpe3JldHVybiBhKGUsdGhpcyx0LHIuY2FjaGUuY3JlYXRlKCksci5zZXJpYWxpemVyKX19O3ZhciBvPWUuZXhwb3J0cztmdW5jdGlvbiBsKGUsdCl7cmV0dXJuIG8oZSx7Y2FjaGU6e2NyZWF0ZTooKT0+KHtoYXM6ZT0+dC5oYXMoZSksZ2V0OmU9PnQuZ2V0KGUpLHNldDooZSxyKT0+dC5zZXQoZSxyKX0pfX0pfWNvbnN0IHU9bmV3IE1hcCxoPW5ldyBNYXA7bGV0IGY9bnVsbCxwPW51bGw7Y29uc3QgZz1sKChhc3luYyBlPT4oYXdhaXQgZmV0Y2goZSkpLmJsb2IoKSksdSksZD1sKChhc3luYyBlPT57Y29uc3QgdD1hd2FpdCBnKGUpO3JldHVybiBjcmVhdGVJbWFnZUJpdG1hcCh0KX0pLGgpO3NlbGYub25tZXNzYWdlPWFzeW5jKHtkYXRhOmV9KT0+e2NvbnN0e2lkOnQsYWN0aW9uOnJ9PWU7dHJ5e3N3aXRjaChyKXtjYXNlInJlZ2lzdGVyIjppZihmPWUuY2FudmFzLGYmJihwPWYuZ2V0Q29udGV4dCgiMmQiLHthbHBoYTplLmFscGhhfSkpLCFwKXRocm93IG5ldyBFcnJvcigiWW91ciBicm93c2VyIGRvZXMgbm90IHN1cHBvcnQgb2Zmc2NyZWVuIHJlbmRlcmluZyIpO2JyZWFrO2Nhc2UicHJlbG9hZCI6YXdhaXQgZyhlLnNyYyk7YnJlYWs7Y2FzZSJkcmF3IjppZighcHx8IWYpdGhyb3cgbmV3IEVycm9yKCJZb3Ugc2hvdWxkIGNhbGwgJ3JlZ2lzdGVyJyBiZWZvcmUgZHJhd2luZyIpO2NvbnN0e3NyYzp0fT1lLHt3aWR0aDpyLGhlaWdodDphfT1mLGM9YXdhaXQgZCh0KTtwLmNsZWFyUmVjdCgwLDAscixhKSxwLmRyYXdJbWFnZShjLDAsMCxyLGEpO2JyZWFrO2Nhc2UiZGVzdHJveSI6dS5jbGVhcigpLGguY2xlYXIoKX1zZWxmLnBvc3RNZXNzYWdlKHtpZDp0fSl9Y2F0Y2goYSl7c2VsZi5wb3N0TWVzc2FnZSh7aWQ6dCxlcnJvcjphfSl9fTsK")],{type:"text/javascript;charset=utf-8"});function v(){let e=(window.URL||window.webkitURL).createObjectURL(m);try{return new Worker(e)}finally{(window.URL||window.webkitURL).revokeObjectURL(e)}}function y(e,t,n){if(t){let r=function(e){let t=new Map;return e.onmessage=({data:e})=>{let n=t.get(e.id);n&&(e.error?n.reject(e.error):n.resolve(e.return),t.delete(e.id))},function(n,r,l=[]){let c=s.nanoid();return e.postMessage(((e,t)=>{for(var n in t||(t={}))o.call(t,n)&&u(e,n,t[n]);if(i)for(var n of i(t))a.call(t,n)&&u(e,n,t[n]);return e})({id:c,action:n},r),l),new Promise((e,n)=>{t.set(c,{reject:n,resolve:e})})}}(new v),l=e.transferControlToOffscreen();return r("register",{canvas:l,alpha:n},[l]),{async preload(e){await r("preload",{src:e})},async draw(e){await r("draw",{src:e})},async destroy(){await r("destroy")}}}{let c=e.getContext("2d",{alpha:n});if(!c)throw Error("Your browser does not support canvas 2d context");let f=e.width,d=e.height,p=new Map,m=new Map,y=h.default(g,{cache:{create:()=>({has:e=>p.has(e),get:e=>p.get(e),set:(e,t)=>p.set(e,t)})}});return{async draw(e){let t=await y(e);c.clearRect(0,0,f,d),c.drawImage(t,0,0,f,d)},async preload(e){await y(e)},async destroy(){p.clear(),m.clear()}}}}t.createDrawer=y,t.createPlayer=function(e){let t,n;let{container:r,frames:i,width:o,height:a,layout:u,objectFit:l="cover",objectPosition:s="center",chunkSize:c=10,fps:d=30,autoload:h=!0,lazyload:g=!0,autoplay:m=!1,loop:v=!1,yoyo:b=!1,parallel:w="undefined"!=typeof window&&"OffscreenCanvas"in window&&"transferControlToOffscreen"in HTMLCanvasElement.prototype&&"createImageBitmap"in window,alpha:M=!1}=e;if("total"in i){t=[];for(let E=0;E<i.total;E++)t.push(i.iterator(E))}else t=i;let x=document.createElement("canvas");if(x.width=1*o,x.height=1*a,x.style.cssText="\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n ","intrinsic"!==u&&"responsive"!==u||((n=document.createElement("div")).className="ff-placeholder",f.setStyle(n,{paddingBottom:a/o*100+"%"}),r.append(n,x)),"fill"===u)f.setStyle(r,{position:"absolute",top:0,left:0,width:"100%",height:"100%"});else{if("static"===r.style.position)throw Error("Container position should be static");""===r.style.position&&f.setStyle(r,{position:"relative"})}"fixed"===u&&f.setStyle(r,{width:o+"px",height:a+"px"}),"intrinsic"===u&&f.setStyle(r,{maxWidth:o+"px"}),f.setStyle(x,{position:"absolute",left:0,top:0,width:"100%",height:"100%",objectFit:l,objectPosition:s}),r.appendChild(x);let S=y(x,w,M),O=0,I=f.createTimer(),F=p.default(),N=new Set,Z=!1,T=0,j=!1,L=!1,P=async e=>{if(N.has(e))return;let n=Date.now(),r=!0;try{await S.preload(t[e])}catch(i){console.warn("Frame load failed",i),r=!1}finally{N.add(e);let o=Date.now();F.emit("frameloaded",{isSuccess:r,time:o-n,index:e,current:N.size,total:t.length,player:X}
2),N.size===t.length&&F.emit("loaded",{player:X,total:t.length})}},Y=async()=>{Z=!0;let e=function(e){let t=new Set([0,e-1]);for(let n=2;n<=e;n++){let r=Math.floor(e/2**n);for(let i=r;i<e;i+=r)t.add(i);if(t.size===e)break}return t}(t.length),n=[];for(let r of e)n.length<c||(await Promise.all(n),n.length=0),n.push(P(r));n.length&&await Promise.all(n)},R=async e=>{let n=Math.max(0,Math.min(t.length-1,Math.round(e)));T=n,N.has(n)&&(F.emit("tick",{player:X,frame:n}),await S.draw(t[n]))},C=()=>{O=0,L=!0,I.start(),F.emit("play",{player:X})},G=()=>{I.stop(),L=!1,F.emit("pause",{player:X})},V=()=>{j=!j};I.listen(e=>{O+=e;let n=t.length-1;if(O>1/d){O=0;let r=T+(j?-1:1);r>=0&&r<=n?R(r):v?b?V():R(j?n:0):G()}});let W=new IntersectionObserver(([e])=>{let t=e.isIntersecting;!Z&&t&&h&&g&&Y(),t||I.stop(),t&&L&&I.start()},{rootMargin:"10%"});W.observe(r);let X={get curFrame(){return T},get isReversed(){return j},get isPlaying(){return L},load:Y,play:C,pause:G,reverse:V,pin:R,on:F.on.bind(F),off:F.off.bind(F),async destroy(){await S.destroy(),W.disconnect(),I.stop(),F.all.clear(),x.remove(),n&&n.remove()}};return h&&!g&&Y(),h&&m&&C(),P(0).then(()=>R(0)),X}},2475:function(e,t,n){var r;e=n.nmd(e),r=function(){var e=null,t={};a("monochrome",null,[[0,0],[100,0]]),a("red",[-26,18],[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]),a("orange",[18,46],[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]),a("yellow",[46,62],[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]),a("green",[62,178],[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]),a("blue",[178,257],[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]),a("purple",[257,282],[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]),a("pink",[282,334],[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]);var n=[],r=function(a){if(void 0!==(a=a||{}).seed&&null!==a.seed&&a.seed===parseInt(a.seed,10))e=a.seed;else if("string"==typeof a.seed)e=function(e){for(var t=0,n=0;n!==e.length&&!(t>=Number.MAX_SAFE_INTEGER);n++)t+=e.charCodeAt(n);return t}(a.seed);else if(void 0!==a.seed&&null!==a.seed)throw TypeError("The seed value must be an integer or string");else e=null;if(null!==a.count&&void 0!==a.count){for(var c,f,d,h=a.count,p=[],g=0;g<a.count;g++)n.push(!1);for(a.count=null;h>p.length;){var m=r(a);null!==e&&(a.seed=e),p.push(m)}return a.count=h,p}return f=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return o([0,100]);var n=i(e).saturationRange,r=n[0],a=n[1];switch(t.luminosity){case"bright":r=55;break;case"dark":r=a-10;break;case"light":a=55}return o([r,a])}(c=function(e){if(n.length>0){var r=function(e){if(isNaN(e)){if("string"==typeof e){if(t[e]){var n=t[e];if(n.hueRange)return n.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i))return i(l(e)[0]).hueRange}}else{var r=parseInt(e);if(r<360&&r>0)return i(e).hueRange}return[0,360]}(e.hue),a=o(r),u=(r[1]-r[0])/n.length,s=parseInt((a-r[0])/u);!0===n[s]?s=(s+2)%n.length:n[s]=!0;var c=(r[0]+s*u)%359,f=(r[0]+(s+1)*u)%359;return(a=o(r=[c,f]))<0&&(a=360+a),a}var r=function(e){if("number"==typeof parseInt(e)){var n=parseInt(e);if(n<360&&n>0)return[n,n]}if("string"==typeof e){if(t[e]){var r=t[e];if(r.hueRange)return r.hueRange}else if(e.match(/^#?([0-9A-F]{3}|[0-9A-F]{6})$/i)){var i=l(e)[0];return[i,i]}}return[0,360]}(e.hue);return(a=o(r))<0&&(a=360+a),a}(a),a),d=function(e,t,n){var r=function(e,t){for(var n=i(e).lowerBounds,r=0;r<n.length-1;r++){var o=n[r][0],a=n[r][1],u=n[r+1][0],l=n[r+1][1];if(t>=o&&t<=u){var s=(l-a)/(u-o),c=a-s*o;return s*t+c}}return 0}(e,t),a=100;switch(n.luminosity){case"dark":a=r+20;break;case"light":r=(a+r)/2;break;case"random":r=0,a=100}return o([r,a])}(c,f,a),function(e,t){switch(t.format){case"hsvArray":return e;case"hslArray":return s(e);case"hsl":var n=s(e);return"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)";case"hsla":var r=s(e),i=t.alpha||Math.random();return"hsla("+r[0]+", "+r[1]+"%, "+r[2]+"%, "+i+")";case"rgbArray":return u(e);case"rgb":return"rgb("+u(e).join(", ")+")";case"rgba":var o=u(e),i=t.alpha||Math.random();return"rgba("+o.join(", ")+", "+i+")";default:return function(e){var t=u(e);function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}return"#"+n(t[0])+n(t[1])+n(t[2])}(e)}}([c,f,d],a)};function i(e){for(var n in e>=334&&e<=360&&(e-=360),t){var r=t[n];if(r.hueRange&&e>=r.hueRange[0]&&e<=r.hueRange[1])return t[n]}return"Color not found"}function o(t){if(null===e){var n=Math.random();return n+=.618033988749895,n%=1,Math.floor(t[0]+n*(t[1]+1-t[0]))}var r=t[1]||1,i=t[0]||0;return Math.floor(i+(e=(9301*e+49297)%233280)/233280*(r-i))}function a(e,n,r){var i=r[0][0],o=r[r.length-1][0],a=r[r.length-1][1],u=r[0][1];t[e]={hueRange:n,lowerBounds:r,saturationRange:[i,o],brightnessRange:[a,u]}}function u(e){var t=e[0];0===t&&(t=1),360===t&&(t=359),t/=360;var n=e[1]/100,r=e[2]/100,i=Math.floor(6*t),o=6*t-i,a=r*(1-n),u=r*(1-o*n),l=r*(1-(1-o)*n),s=256,c=256,f=256;switch(i){case 0:s=r,c=l,f=a;break;case 1:s=u,c=r,f=a;break;case 2:s=a,c=r,f=l;break;case 3:s=a,c=u,f=r;break;case 4:s=l,c=a,f=r;break;case 5:s=r,c=a,f=u}return[Math.floor(255*s),Math.floor(255*c),Math.floor(255*f)]}function l(e){var t=parseInt((e=3===(e=e.replace(/^#/,"")).length?e.replace(/(.)/g,"$1$1"):e).substr(0,2),16)/255,n=parseInt(e.substr(2,2),16)/255,r=parseInt(e.substr(4,2),16)/255,i=Math.max(t,n,r),o=i-Math.min(t,n,r),a=i?o/i:0;switch(i){case t:return[60*((n-r)/o%6)||0,a,i];case n:return[60*((r-t)/o+2)||0,a,i];case r:return[60*((t-n)/o+4)||0,a,i]}}function s(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=(2-n)*r;return[t,Math.round(n*r/(i<1?i:2-i)*1e4)/100,i/2*100]}return r}(),e&&e.exports&&(t=e.exports=r),t.randomColor=r},2502:function(e,t,n){"use strict";n.r(t),n.d(t,{MIN_VALUE:function(){return eS},MIN_VELOCITY:function(){return ex},accDecNative:function(){return eM},accNative:function(){return ew},backIn:function(){return k},backInOut:function(){return H},backOut:function(){return A},bounceIn:function(){return U},bounceInOut:function(){return K},bounceNative:function(){return eE},bounceOut:function(){return J},cancel:function(){return eV},circIn:function(){return B},circInOut:function(){return q},circOut:function(){return D},createCore:function(){return eF},createScrollModel:function(){return ek},createTimer:function(){return b},cubicIn:function(){return Q},cubicInOut:function(){return _}
2,cubicOut:function(){return $},decNative:function(){return eb},defineTweenFunction:function(){return W},deleteFromDelayQueue:function(){return j},deleteFromEventBus:function(){return m},elasticIn:function(){return ee},elasticInOut:function(){return en},elasticOut:function(){return et},expoIn:function(){return er},expoInOut:function(){return eo},expoOut:function(){return ei},friction:function(){return C},getDelayEvents:function(){return L},getFrictionFinalValue:function(){return G},getFrictionRate:function(){return V},linear:function(){return X},measureDom:function(){return x},mutateDom:function(){return S},pushToDelayQueue:function(){return T},pushToEventBus:function(){return g},quadIn:function(){return ea},quadInOut:function(){return el},quadOut:function(){return eu},quartIn:function(){return es},quartInOut:function(){return ef},quartOut:function(){return ec},quintIn:function(){return ed},quintInOut:function(){return ep},quintOut:function(){return eh},set:function(){return eG},setStyle:function(){return Y},sinIn:function(){return eg},sinInOut:function(){return ev},sinOut:function(){return em},spring:function(){return R},springNative:function(){return ey},to:function(){return eC}});var r=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,c=(e,t)=>{for(var n in t||(t={}))u.call(t,n)&&s(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&s(e,n,t[n]);return e},f=(e,t)=>i(e,o(t)),d=[];"undefined"!=typeof window&&(window.FOLME_EVENT_BUS||(window.FOLME_EVENT_BUS=[]),d=window.FOLME_EVENT_BUS);var h="undefined"!=typeof window?window.requestAnimationFrame:e=>setTimeout(e,16),p=!1;function g(e){d.push(e),y()}function m(e){let t=d.indexOf(e);t>=0&&(d[t]=null)}function v(){let e=d.length;for(let t=0;t<e;t++){let n=d[t];n&&n()}d.splice(0,e),p=!1,d.length&&y()}function y(){p||(p=!0,h(v))}function b(){let e=!1,t=0,n,r=1/30;function i(){if(e){let o=Date.now(),a=(o-t)/1e3;n&&n(Math.min(r,a)),t=o,g(i)}}return{start:function(){e||(t=Date.now(),e=!0,i())},stop:function(){e=!1,m(i)},listen:function(e){n=e}}}var w=[],M=[],E=!1;function x(e){w.push(e),F()}function S(e){M.push(e),F()}function O(e){for(let t=0;t<e.length;t++)e[t]();e.splice(0,e.length)}function I(){let e;try{O(w),O(M)}catch(t){e=t,console.error(t)}if(E=!1,(w.length||M.length)&&F(),e)throw e}function F(){E||(E=!0,g(I))}var N=[],Z=b();function T(e,t,n){N.push({identity:n,delay:t,event:e}),Z.start()}function j(e){for(let t=0;t<N.length;t++){let n=N[t];n&&e(n.identity)&&(N[t]=null)}}function L(e){let t=[];for(let n=0;n<N.length;n++){let r=N[n];r&&e(r.identity)&&t.push(N[n])}return t}Z.listen(function(e){let t=[];for(let n=0;n<N.length;n++){let r=N[n];r&&(r.delay>0?(r.delay-=e,t.push(r)):(r.event(),N[n]=null))}(N=t).length||Z.stop()});var P=["rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skewX","skewY","translateX","translateY","translateZ"];function Y(e,t){let n={},r="";for(let i in t){let o=t[i];P.includes(i)?r+=`${i}(${o}) `:n[i]=o,r&&(n.transform=r)}S(function(){for(let t in n)e.style[t]=n[t]})}function R(e=.9,t=.3){let n=(e,t,n)=>4*Math.PI*e*n/t,r=(e,t)=>Math.pow(2*Math.PI/e,2)*t;return function({target:i,value:o,velocity:a,deltaTime:u}){let l=n(e,t,1),s=r(t,1);a*=1-l*u,a+=s*(i-o)*u,o+=a*u;let c=Math.abs(a)<=ex&&Math.abs(o-i)<eS;return c&&(a=0,o=i),{velocity:a,value:o,isFinished:c}}}function C(e=1/2.1){if(e<=0||e>=1)throw Error("Friction deceleration rate must between 0 and 1");return function({startVelocity:t,time:n,startValue:r}){let i=t*Math.pow(e,n),o=Math.abs(i)<=ex;return o&&(i=0),{velocity:i,value:r+t*(Math.pow(e,n)-1)/Math.log(e),isFinished:o}}}function G(e,t,n=1/2.1){return e+t*n/1-n}function V(e,t,n){return Math.exp(n/(t-e))}function W(e,t){return({startValue:n,target:r,time:i})=>{let o=i>=e-.01;return{value:o?r:n+(r-n)*t(i/e),velocity:0,isFinished:o}}}function X(e=.3){return W(e,e=>e)}function k(e=.3){return W(e,e=>2.70158*e*e*e-1.70158*e*e)}function A(e=.3){return W(e,e=>1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2))}function H(e=.3){return W(e,e=>e<.5?Math.pow(2*e,2)*(3.5949095*2*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2)}function z(e){return e<1/2.75?7.5625*e*e:e<2/2.75?.75+7.5625*Math.pow(e-1.5/2.75,2):e<2.5/2.75?.9375+7.5625*Math.pow(e-2.25/2.75,2):.984375+7.5625*Math.pow(e-2.625/2.75,2)}function U(e=.3){return W(e,e=>1-z(1-e))}function J(e=.3){return W(e,e=>z(e))}function K(e=.3){return W(e,e=>e<.5?.5*(1-z(1-2*e)):.5*z(2*e-1)+.5)}function B(e=.3){return W(e,e=>1-Math.sqrt(1-Math.pow(e,2)))}function D(e=.3){return W(e,e=>Math.sqrt(1-Math.pow(e-1,2)))}function q(e=.3){return W(e,e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2)}function Q(e=.3){return W(e,e=>e*e*e)}function $(e=.3){return W(e,e=>1-Math.pow(1-e,3))}function _(e=.3){return W(e,e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2)}function ee(e=.3){let t=2*Math.PI/3;return W(e,e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*t))}function et(e=.3){let t=2*Math.PI/3;return W(e,e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*t)+1)}function en(e=.3){let t=2*Math.PI/4.5;return W(e,e=>0===e?0:1===e?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*t))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*t)/2+1)}function er(e=.3){return W(e,e=>0===e?0:Math.pow(2,10*e-10))}function ei(e=.3){return W(e,e=>1===e?1:1-Math.pow(2,-10*e))}function eo(e=.3){return W(e,e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2)}function ea(e=.3){return W(e,e=>e*e)}function eu(e=.3){return W(e,e=>-e*(e-2))}function el(e=.3){return W(e,e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2)}function es(e=.3){return W(e,e=>e*e*e*e)}function ec(e=.3){return W(e,e=>1-Math.pow(1-e,4))}function ef(e=.3){return W(e,e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2)}function ed(e=.3){return W(e,e=>e*e*e*e*e)}function eh(e=.3){return W(e,e=>e*e*e*e)}function ep(e=.3){return W(e,e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2)}function eg(e=.3){return W(e,e=>1-Math.cos(e*(Math.PI/2)))}function em(e=.3){return W(e,e=>Math.sin(e*(Math.PI/2)))}function ev(e=.3){return W(e,e=>-(Math.cos(Math.PI*e)-1)/2)}function ey(e=.3,t=.95,n=.6){let r=4*Math.PI*t*1/n,i=Math.sqrt(4*(1*Math.pow(2*Math.PI/n,2))-r*r)/2,o=-(1*(r/2)),a=(0- -1*o)/i;return W(e,e=>Math.pow(Math.E,o*e)*(-1*Math.cos(i*e)+a*Math.sin(i*e))+1)}function eb(e=.3,t=1){return W(e,e=>1===t?1-(1-e)*(1-e):1-Math.pow(1-e,2*t))}function ew(e=.3,t=1){return W(e,e=>1===t?e*e:Math.pow(e,2*t))}function eM(e=.3){return W(e,e=>Math.cos((e+1)*Math.PI)/2+.5)}function eE(e=.3){let t=e=>e*e*8;return W(e,e=>
2(e*=1.1226)<.3535?t(e):e<.7408?t(e-.54719)+.7:e<.9644?t(e-.8526)+.9:t(e-1.0435)+.95)}var ex=.001,eS=.001,eO={name:"",value:0,target:0,velocity:0,time:0,startValue:0,startVelocity:0,easing:R(),isFinished:!0,isPaused:!1,unit:""},eI=/^(-?[\d+\.\-]+)([a-z]+|%)$/i;function eF(){let e,t,n=[];function r(e){if("number"==typeof e)return{value:e,unit:""};{e=e.toString();let t=eI.exec(e)||[];return{value:parseFloat(t[1]||e),unit:t[2]||""}}}let i=b();function o(){i.start()}function a(){i.stop()}return i.listen(function(r){let i=!0,o=!0;for(let u=0;u<n.length;u++){let l=n[u];if(!l.isPaused){let s=l.easing(c({deltaTime:r},l));l.time+=r,l.value=s.value,l.velocity=s.velocity,l.isFinished=s.isFinished,i=i&&l.isFinished,o=!1}}(i||o)&&a(),i&&r>0&&t&&t(n),e&&e(n)}),{get:function(e){return n.find(t=>t.name===e)},set:function(t,i,a=!0){let u,l=n.findIndex(e=>e.name===t),s=c({},i);if(void 0!==i.current){let{value:d,unit:h}=r(i.current);isNaN(d)||(s.value=d),h&&(s.unit=h)}if(void 0!==i.target){let{value:p,unit:g}=r(i.target);isNaN(p)||(s.target=p),g&&(s.unit=g)}l>-1?(u=c(c({},n[l]),s),n[l]=u):(u=c(f(c({},eO),{name:t}),s),n.push(u)),u.time=0,u.startVelocity=u.velocity,u.startValue=u.value,a&&o(),e&&e(n)},del:function(e){if(void 0===e)n=[];else{let t=n.findIndex(t=>t.name===e);t>-1&&n.splice(t,1)}},start:o,stop:a,onUpdate:function(t){e=t},onStop:function(e){t=e}}}function eN(e,t){let n={};for(let r of t){let i=e[r];void 0!==i&&(n[r]=i)}return n}function eZ(e,t,n){return Math.min(Math.max(e,t),n)}var eT=["delay","value","velocity"],ej={delay:0,easing:R()},eL=new Map;function eP(e){let t=[];t=e?"string"==typeof e?Array.from(document.querySelectorAll(e)):Array.isArray(e)||e&&"object"==typeof e&&"number"==typeof e.length&&(0===e.length||e.length>0&&e.length-1 in e)?Array.from(e):[e]:[];let n=[];for(let r=0;r<t.length;r++){let i=t[r];i instanceof HTMLElement&&!i.isConnected||n.push(i)}return(t=n).length||console.warn("[Folme] Target is not valid."),t}function eY(e){return eL.get(e)||eL.set(e,eF()),eL.get(e)}function eR(e,t,n,r){n=c(c({},ej),n);let i=eP(e);for(let o=0;o<i.length;o++){let a=i[o],u=eY(a),{onUpdate:l,onFinish:s,onStop:f}=n;for(let d in u.onUpdate(function(e){if(a instanceof HTMLElement){let t={};for(let n of e)t[n.name]=n.value+n.unit;Y(a,t)}else for(let r of e)a[r.name]=r.unit?r.value+r.unit:r.value;l&&l(a,e)}),u.onStop(function(e){s&&0===L(e=>e.target===a).length&&s(a,e),f&&f(a,e)}),t){let h=t[d],p=c({},n);"object"!=typeof h?p.value=h:p=c(c({},p),h);for(let g=0;g<eT.length;g++){let m=eT[g],v=p[m];void 0!==v&&(p[m]=function(e,t,n,r,i){if("function"!=typeof e)return e;{let o=n.get(t);if(o)return e(r,i,o)}}(v,d,u,o,a))}let y=p;y.delay>0?T(function(){r(a,u,d,y)},y.delay,{target:a,propName:d}):r(a,u,d,y)}}}function eC(e,t,n={}){return new Promise((r,i)=>{try{let o=n.onFinish;n.onFinish=function(e,t){o&&o(e,t),r({target:e,states:t})},eR(e,t,n,function(t,n,r,i){var o,a;let u=!(t instanceof HTMLElement),l;l=void 0!==(null==(o=i.from)?void 0:o[r])?null==(a=i.from)?void 0:a[r]:u?e[r]:n.get(r)?void 0:i.value,n.set(r,c({current:l,target:i.value,isPaused:!1},eN(i,["easing","velocity"])))})}catch(a){i(a)}})}function eG(e,t,n={}){eR(e,t,n,function(e,t,n,r){t.set(n,c({current:r.value,target:r.value,isPaused:!1},eN(r,["easing","velocity"])))})}function eV(e,t){let n=eP(e);for(let r=0;r<n.length;r++){let i=n[r],o=eY(i);if(t)for(let a=0;a<t.length;a++){let u=t[a];j(e=>e.target===i&&e.propName===u),o.set(u,{isPaused:!0})}else o.stop(),j(e=>e.target===i)}}var eW={min:0,max:0,coeff:.55,dim:812,anchors:[],spring:R(1,.55),frictionRate:1/2.1,scrollToHandlerEnabled:!1,scrollToTarget:0},eX="scroll";function ek(e){let t=c(c({},eW),e),n=t.min,r=0,i=!1,o=!1,a=n,u;function l(){u&&u({scroll:n,velocity:r,isDragging:i})}let s=eF();function f(e,n=!1){let{coeff:r,dim:i,min:o,max:a}=t,u=eZ(e,o,a),l=Math.abs(e-u);return u+(u>e?-1:1)*(n?i*l/(r*(i-l)):(1-1/(l*r/i+1))*i)}function d(){let{max:e,min:r}=t;return n<r||n>e}function h(){let{max:e,min:r}=t;return eZ(n,r,e)}function p(e,i=!1){s.set(eX,{target:e,current:i?e:n,velocity:i?0:r,easing:t.spring})}return s.onUpdate(function(e){let t=e[0];n=t.value,a=t.value,r=t.velocity,d()&&!o&&(o=!0,p(h())),l()}),{drag:function(e,t){i=!0,o=!1,s.stop(),n=f(f(a,!0)+e),r=t,l()},drop:function(e){if(i=!1,a=n,r=e,d())p(h());else{let{anchors:o,min:u,max:l,frictionRate:c}=t,f="number"==typeof c?c:c(r),g=G(n,r,f);if(o.length&&g>=u&&g<=l){let m=o.reduce((e,t)=>
2Math.abs(t-g)<Math.abs(e-g)?t:e),v=V(m,n,r);v<=0||v>=1||500>Math.abs(r)?p(m):s.set(eX,{current:n,velocity:e,easing:C(v)})}else s.set(eX,{current:n,velocity:e,easing:C(f)})}},onChange:function(e){u=e},setting:function(e){t=c(c({},t),e),d()&&p(h(),!0)},scrollTo:p,destroy:function(){u=null}}}},3883:function(e,t,n){"use strict";n.d(t,{u:function(){return Q}});var r,i,o,a,u=n(959),l=n.t(u,2);function s(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function c(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,c),i}var f=((r=f||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),d=((i=d||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function h({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:o=!0,name:a}){let u=g(t,e);if(o)return p(u,n,r,a);let l=null!=i?i:0;if(2&l){let{static:s=!1,...f}=u;if(s)return p(f,n,r,a)}if(1&l){let{unmount:d=!0,...h}=u;return c(d?0:1,{0:()=>null,1:()=>p({...h,hidden:!0,style:{display:"none"}},n,r,a)})}return p(u,n,r,a)}function p(e,t={},n,r){let{as:i=n,children:o,refName:a="ref",...l}=y(e,["unmount","static"]),c=void 0!==e.ref?{[a]:e.ref}:{},f="function"==typeof o?o(t):o;"className"in l&&l.className&&"function"==typeof l.className&&(l.className=l.className(t));let d={};if(t){let h=!1,p=[];for(let[m,b]of Object.entries(t))"boolean"==typeof b&&(h=!0),!0===b&&p.push(m);h&&(d["data-headlessui-state"]=p.join(" "))}if(i===u.Fragment&&Object.keys(v(l)).length>0){if(!(0,u.isValidElement)(f)||Array.isArray(f)&&f.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(l).map(e=>` - ${e}`).join(` 3`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 4`)].join(` 5`));let w=f.props,M="function"==typeof(null==w?void 0:w.className)?(...e)=>s(null==w?void 0:w.className(...e),l.className):s(null==w?void 0:w.className,l.className);return(0,u.cloneElement)(f,Object.assign({},g(f.props,v(y(l,["ref"]))),d,c,function(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(f.ref,c.ref),M?{className:M}:{}))}return(0,u.createElement)(i,Object.assign({},y(l,["ref"]),i!==u.Fragment&&c,i!==u.Fragment&&d),f)}function g(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&"function"==typeof r[i]?(null!=n[i]||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let o in n)Object.assign(t,{[o](e,...t){let r=n[o];for(let i of r){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;i(e,...t)}}});return t}function m(e){var t;return Object.assign((0,u.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function v(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function y(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}let b=(0,u.createContext)(null);b.displayName="OpenClosedContext";var w=((o=w||{})[o.Open=1]="Open",o[o.Closed=2]="Closed",o[o.Closing=4]="Closing",o[o.Opening=8]="Opening",o);function M(){return(0,u.useContext)(b)}function E({value:e,children:t}){return u.createElement(b.Provider,{value:e},t)}var x=Object.defineProperty,S=(e,t,n)=>t in e?x(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,O=(e,t,n)=>(S(e,"symbol"!=typeof t?t+"":t,n),n);let I=new class{constructor(){O(this,"current",this.detect()),O(this,"handoffState","pending"),O(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server"
5:"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},F=(e,t)=>{I.isServer?(0,u.useEffect)(e,t):(0,u.useLayoutEffect)(e,t)};function N(){let e=(0,u.useRef)(!1);return F(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function Z(e){let t=(0,u.useRef)(e);return F(()=>{t.current=e},[e]),t}function T(){let e;let t=(e="undefined"==typeof document,(0,l.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=u.useState(I.isHandoffComplete);return n&&!1===I.isHandoffComplete&&r(!1),u.useEffect(()=>{!0!==n&&r(!0)},[n]),u.useEffect(()=>I.handoff(),[]),!t&&n}let j=function(e){let t=Z(e);return u.useCallback((...e)=>t.current(...e),[t])},L=Symbol();function P(...e){let t=(0,u.useRef)(e);(0,u.useEffect)(()=>{t.current=e},[e]);let n=j(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[L]))?void 0:n}function Y(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){var n;let r={current:!0};return n=()=>{r.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(n):Promise.resolve().then(n).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{r.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=Y();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let r of e.splice(n,1))r()}),dispose(){for(let t of e.splice(0))t()}};return t}function R(e,...t){e&&t.length>0&&e.classList.add(...t)}function C(e,...t){e&&t.length>0&&e.classList.remove(...t)}function G(){let[e]=(0,u.useState)(Y);return(0,u.useEffect)(()=>()=>e.dispose(),[e]),e}function V(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let W=(0,u.createContext)(null);W.displayName="TransitionContext";var X=((a=X||{}).Visible="visible",a.Hidden="hidden",a);let k=(0,u.createContext)(null);function A(e){return"children"in e?A(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function H(e,t){let n=Z(e),r=(0,u.useRef)([]),i=N(),o=G(),a=j((e,t=d.Hidden)=>{let a=r.current.findIndex(({el:t})=>t===e);-1!==a&&(c(t,{[d.Unmount](){r.current.splice(a,1)},[d.Hidden](){r.current[a].state="hidden"}}),o.microTask(()=>{var e;!A(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),l=j(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,d.Unmount)}),s=(0,u.useRef)([]),f=(0,u.useRef)(Promise.resolve()),h=(0,u.useRef)({enter:[],leave:[],idle:[]}),p=j((e,n,r)=>{s.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{s.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(h.current[n].map(([e,t])=>t)).then(()=>e())}
5)]),"enter"===n?f.current=f.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),g=j((e,t,n)=>{Promise.all(h.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=s.current.shift())||e()}).then(()=>n(t))});return(0,u.useMemo)(()=>({children:r,register:l,unregister:a,onStart:p,onStop:g,wait:f,chains:h}),[l,a,r,p,g,h,f])}function z(){}k.displayName="NestingContext";let U=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function J(e){var t;let n={};for(let r of U)n[r]=null!=(t=e[r])?t:z;return n}let K=f.RenderStrategy,B=m(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...o}=e,a=(0,u.useRef)(null),l=P(a,t);T();let s=M();if(void 0===n&&null!==s&&(n=(s&w.Open)===w.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[c,f]=(0,u.useState)(n?"visible":"hidden"),d=H(()=>{f("hidden")}),[p,g]=(0,u.useState)(!0),m=(0,u.useRef)([n]);F(()=>{!1!==p&&m.current[m.current.length-1]!==n&&(m.current.push(n),g(!1))},[m,n]);let v=(0,u.useMemo)(()=>({show:n,appear:r,initial:p}),[n,r,p]);(0,u.useEffect)(()=>{if(n)f("visible");else if(A(d)){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&f("hidden")}else f("hidden")},[n,d]);let y={unmount:i},b=j(()=>{var t;p&&g(!1),null==(t=e.beforeEnter)||t.call(e)}),E=j(()=>{var t;p&&g(!1),null==(t=e.beforeLeave)||t.call(e)});return u.createElement(k.Provider,{value:d},u.createElement(W.Provider,{value:v},h({ourProps:{...y,as:u.Fragment,children:u.createElement(D,{ref:l,...y,...o,beforeEnter:b,beforeLeave:E})},theirProps:{},defaultTag:u.Fragment,features:K,visible:"visible"===c,name:"Transition"})))}),D=m(function(e,t){var n,r,i;let o;let{beforeEnter:a,afterEnter:l,beforeLeave:f,afterLeave:p,enter:g,enterFrom:m,enterTo:v,entered:y,leave:b,leaveFrom:M,leaveTo:x,...S}=e,O=(0,u.useRef)(null),I=P(O,t),L=null==(n=S.unmount)||n?d.Unmount:d.Hidden,{show:X,appear:z,initial:U}=function(){let e=(0,u.useContext)(W);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[B,D]=(0,u.useState)(X?"visible":"hidden"),q=function(){let e=(0,u.useContext)(k);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Q,unregister:$}=q;(0,u.useEffect)(()=>Q(O),[Q,O]),(0,u.useEffect)(()=>{if(L===d.Hidden&&O.current){if(X&&"visible"!==B){D("visible");return}return c(B,{hidden:()=>$(O),visible:()=>Q(O)})}},[B,O,Q,$,X,L]);let _=Z({base:V(S.className),enter:V(g),enterFrom:V(m),enterTo:V(v),entered:V(y),leave:V(b),leaveFrom:V(M),leaveTo:V(x)}),ee=(i={beforeEnter:a,afterEnter:l,beforeLeave:f,afterLeave:p},o=(0,u.useRef)(J(i)),(0,u.useEffect)(()=>{o.current=J(i)},[i]),o),et=T();(0,u.useEffect)(()=>{if(et&&"visible"===B&&null===O.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[O,B,et]);let en=z&&X&&U,er=function(e=0){let[t,n]=(0,u.useState)(e),r=N(),i=(0,u.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),o=(0,u.useCallback)(e=>Boolean(t&e),[t]);return{flags:t,addFlag:i,hasFlag:o,removeFlag:(0,u.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,u.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}(0),ei=j(e=>c(e,{enter(){er.addFlag(w.Opening),ee.current.beforeEnter()},leave(){er.addFlag(w.Closing),ee.current.beforeLeave()},idle(){}})),eo=j(e=>c(e,{enter(){er.removeFlag(w.Opening),ee.current.afterEnter()},leave(){er.removeFlag(w.Closing),ee.current.afterLeave()},idle(){}})),ea=H(()=>{D("hidden"),$(O)},q);!function({immediate:e,container:t,direction:n,classes:r,onStart:i,onStop:o}){let a=N(),u=G(),l=Z(n);F(()=>{e&&(l.current="enter")},[e]),F(()=>{let e=Y();u.add(e.dispose);let n=t.current;if(n&&"idle"!==l.current&&a.current){var s,f,d,h;let p,g,m,v,y,b,w;return e.dispose(),i.current(l.current),e.add((s=n,f=r.current,d="enter"===l.current,h=()=>{e.dispose(),o.current(l.current)},g=d?"enter":"leave",m=Y(),v=void 0!==h?(p={called:!1},(...e)=>{if(!p.called)return p.called=!0,h(...e)}):()=>{}
5,"enter"===g&&(s.removeAttribute("hidden"),s.style.display=""),y=c(g,{enter:()=>f.enter,leave:()=>f.leave}),b=c(g,{enter:()=>f.enterTo,leave:()=>f.leaveTo}),w=c(g,{enter:()=>f.enterFrom,leave:()=>f.leaveFrom}),C(s,...f.base,...f.enter,...f.enterTo,...f.enterFrom,...f.leave,...f.leaveFrom,...f.leaveTo,...f.entered),R(s,...f.base,...y,...w),m.nextFrame(()=>{C(s,...f.base,...y,...w),R(s,...f.base,...y,...b),function(e,t){let n=Y();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),u=o+a;if(0!==u){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},u),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let l=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),l())})}else t();n.add(()=>t()),n.dispose}(s,()=>(C(s,...f.base,...y),R(s,...f.base,...f.entered),v()))}),m.dispose)),e.dispose}},[n])}({immediate:en,container:O,classes:_,direction:et&&(!U||z)?X?"enter":"leave":"idle",onStart:Z(e=>{ea.onStart(O,e,ei)}),onStop:Z(e=>{ea.onStop(O,e,eo),"leave"!==e||A(ea)||(D("hidden"),$(O))})});let eu=S;return en?eu={...eu,className:s(S.className,..._.current.enter,..._.current.enterFrom)}:(eu.className=s(S.className,null==(r=O.current)?void 0:r.className),""===eu.className&&delete eu.className),u.createElement(k.Provider,{value:ea},u.createElement(E,{value:c(B,{visible:w.Open,hidden:w.Closed})|er.flags},h({ourProps:{ref:I},theirProps:eu,defaultTag:"div",features:K,visible:"visible"===B,name:"Transition.Child"})))}),q=m(function(e,t){let n=null!==(0,u.useContext)(W),r=null!==M();return u.createElement(u.Fragment,null,!n&&r?u.createElement(B,{ref:t,...e}):u.createElement(D,{ref:t,...e}))}),Q=Object.assign(B,{Child:q,Root:B})},2067:function(e,t,n){"use strict";function r(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(e){e(n)}),(r=e.get("*"))&&r.slice().map(function(e){e(t,n)})}}}n.r(t),n.d(t,{default:function(){return r}})},7161:function(e,t,n){"use strict";n.r(t),n.d(t,{customAlphabet:function(){return a},customRandom:function(){return o},nanoid:function(){return u},random:function(){return i},urlAlphabet:function(){return r}});let r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",i=e=>crypto.getRandomValues(new Uint8Array(e)),o=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return (o=t)=>{let a="";for(;;){let u=n(i),l=i;for(;l--;)if((a+=e[u[l]&r]||"").length===o)return a}}},a=(e,t=21)=>o(e,t,i),u=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"")}}]);
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.