1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5f25e39a-c46a-426b-8814-7bf7cd5152df",e._sentryDebugIdIdentifier="sentry-dbid-5f25e39a-c46a-426b-8814-7bf7cd5152df")}()}catch(e){}(globalThis.webpackChunkgyazo=globalThis.webpackChunkgyazo||[]).push([[2646],{36394(e,t,n){e.exports=n(39809).use(n(9629)).use(n(49697)).use(n(30203)).use(n(7173)).use(n(84599)).use(n(83248)).use(n(27707)).use(n(13363)).use(n(27106)).use(n(50271)).use(n(22122)).use(n(54177)).use(n(87105)).use(n(38442)).use(n(18315)).use(n(11287)).use(n(35391)).use(n(22801)).use(n(81534)).use(n(92004)).use(n(70438))},84599(e){e.exports=function(e){e.installColorSpace("CMYK",["cyan","magenta","yellow","black","alpha"],{rgb:function(){return new e.RGB(1-this._cyan*(1-this._black)-this._black,1-this._magenta*(1-this._black)-this._black,1-this._yellow*(1-this._black)-this._black,this._alpha)},fromRgb:function(){var t=this._red,n=this._green,o=this._blue,r=1-t,i=1-n,a=1-o,s=1;return t||n||o?(r=(r-(s=Math.min(r,Math.min(i,a))))/(1-s),i=(i-s)/(1-s),a=(a-s)/(1-s)):s=1,new e.CMYK(r,i,a,s,this._alpha)}})}},7173(e,t,n){e.exports=function(e){e.use(n(30203)),e.installColorSpace("HSL",["hue","saturation","lightness","alpha"],{hsv:function(){var t,n=2*this._lightness,o=this._saturation*(n<=1?n:2-n);return t=n+o<1e-9?0:2*o/(n+o),new e.HSV(this._hue,t,(n+o)/2,this._alpha)},rgb:function(){return this.hsv().rgb()},fromRgb:function(){return this.hsv().hsl()}})}},30203(e){e.exports=function(e){e.installColorSpace("HSV",["hue","saturation","value","alpha"],{rgb:function(){var t,n,o,r=this._hue,i=this._saturation,a=this._value,s=Math.min(5,Math.floor(6*r)),l=6*r-s,u=a*(1-i),c=a*(1-l*i),d=a*(1-(1-l)*i);switch(s){case 0:t=a,n=d,o=u;break;case 1:t=c,n=a,o=u;break;case 2:t=u,n=a,o=d;break;case 3:t=u,n=c,o=a;break;case 4:t=d,n=u,o=a;break;case 5:t=a,n=u,o=c}return new e.RGB(t,n,o,this._alpha)},hsl:function(){var t,n=(2-this._saturation)*this._value,o=this._saturation*this._value,r=n<=1?n:2-n;return t=r<1e-9?0:o/r,new e.HSL(this._hue,t,n/2,this._alpha)},fromRgb:function(){var t,n=this._red,o=this._green,r=this._blue,i=Math.max(n,o,r),a=i-Math.min(n,o,r),s=0===i?0:a/i,l=i;if(0===a)t=0;else switch(i){case n:t=(o-r)/a/6+(o<r?1:0);break;case o:t=(r-n)/a/6+1/3;break;case r:t=(n-o)/a/6+2/3}return new e.HSV(t,s,l,this._alpha)}})}},49697(e,t,n){e.exports=function(e){e.use(n(9629)),e.installColorSpace("LAB",["l","a","b","alpha"],{fromRgb:function(){return this.xyz().lab()},rgb:function(){return this.xyz().rgb()},xyz:function(){var t=function(e){var t=Math.pow(e,3);return t>.008856?t:(e-16/116)/7.87},n=(this._l+16)/116,o=this._a/500+n,r=n-this._b/200;return new e.XYZ(95.047*t(o),100*t(n),108.883*t(r),this._alpha)}})}},9629(e){e.exports=function(e){e.installColorSpace("XYZ",["x","y","z","alpha"],{fromRgb:function(){var t=function(e){return e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92},n=t(this._red),o=t(this._green),r=t(this._blue);return new e.XYZ(.4124564*n+.3575761*o+.1804375*r,.2126729*n+.7151522*o+.072175*r,.0193339*n+.119192*o+.9503041*r,this._alpha)},rgb:function(){var t=this._x,n=this._y,o=this._z,r=function(e){return e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e};return new e.RGB(r(3.2404542*t+-1.5371385*n+-.4985314*o),r(-.969266*t+1.8760108*n+.041556*o),r(.0556434*t+-.2040259*n+1.0572252*o),this._alpha)},lab:function(){var t=function(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29},n=t(this._x/95.047),o=t(this._y/100),r=t(this._z/108.883);return new e.LAB(116*o-16,500*(n-o),200*(o-r),this._alpha)}})}},39809(e){var t=[],n=function(e){return void 0===e},o=/\s*(\.\d+|\d+(?:\.\d+)?)(%|deg)?\s*/,r=/\s*(\.\d+|100|\d?\d(?:\.\d+)?)%\s*/,i=new RegExp("^(rgb|hsl|hsv)a?\\("+o.source+"[, ]"+o.source+"[, ]"+o.source+"(?:[,/]"+o.source+")?\\)$","i");function a(e,t,n){return"%"===e?100:"deg"===e||n&&0===t?360:e?void 0:255}function s(e){if(Array.isArray(e)){if("string"==typeof e[0]&&"function"==typeof s[e[0]])return new s[e[0]](e.slice(1,e.length));if(4===e.length)return new s.RGB(e[0]/255,e[1]/255,e[2]/255,e[3]/255
1)}else if("string"==typeof e){var t=e.toLowerCase();s.namedColors[t]&&(e="#"+s.namedColors[t]),"transparent"===t&&(e="rgba(0,0,0,0)");var o=e.match(i);if(o){var l=o[1].toUpperCase(),u="H"===l[0];if(n(s[l]))throw new Error("color."+l+" is not installed.");let e=n(o[8])?1:void 0;return void 0===e&&(e="%"===o[9]?parseFloat(o[8])/100:parseFloat(o[8])),new s[l](parseFloat(o[2])/a(o[3],0,u),parseFloat(o[4])/a(o[5],1,u),parseFloat(o[6])/a(o[7],2,u),e)}e.length<6&&(e=e.replace(/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i,"$1$1$2$2$3$3$4$4"));var c=e.match(/^#?([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])([0-9a-f][0-9a-f])?$/i);if(c)return new s.RGB(parseInt(c[1],16)/255,parseInt(c[2],16)/255,parseInt(c[3],16)/255,c[4]?parseInt(c[4],16)/255:1);if(s.CMYK){var d=e.match(new RegExp("^cmyk\\("+r.source+","+r.source+","+r.source+","+r.source+"\\)$","i"));if(d)return new s.CMYK(parseFloat(d[1])/100,parseFloat(d[2])/100,parseFloat(d[3])/100,parseFloat(d[4])/100)}}else if("object"==typeof e&&e.isColor)return e;return!1}s.namedColors={}
1,s.installColorSpace=function(e,o,r){s[e]=function(t){var n=Array.isArray(t)?t:arguments;o.forEach(function(t,r){var i=n[r];if("alpha"===t)this._alpha=isNaN(i)||i>1?1:i<0?0:i;else{if(isNaN(i))throw new Error("["+e+"]: Invalid color: ("+o.join(",")+")");"hue"===t?this._hue=i<0?i-Math.floor(i):i%1:this["_"+t]=i<0?0:i>1?1:i}},this)},s[e].propertyNames=o;var i=s[e].prototype;for(var a in["valueOf","hex","hexa","css","cssa"].forEach(function(t){i[t]=i[t]||("RGB"===e?i.hex:function(){return this.rgb()[t]()})}),i.isColor=!0,i.equals=function(t,r){n(r)&&(r=1e-10),t=t[e.toLowerCase()]();for(var i=0;i<o.length;i+=1)if(Math.abs(this["_"+o[i]]-t["_"+o[i]])>r)return!1;return!0},i.toJSON=function(){return[e].concat(o.map(function(e){return this["_"+e]},this))},r)if(Object.prototype.hasOwnProperty.call(r,a)){var l=a.match(/^from(.*)$/);l?s[l[1].toUpperCase()].prototype[e.toLowerCase()]=r[a]:i[a]=r[a]}function u(e,t){var n={};for(var o in n[t.toLowerCase()]=function(){return this.rgb()[t.toLowerCase()]()},s[t].propertyNames.forEach(function(e){var o="black"===e?"k":e.charAt(0);n[e]=n[o]=function(n,o){return this[t.toLowerCase()]()[e](n,o)}}),n)Object.prototype.hasOwnProperty.call(n,o)&&void 0===s[e].prototype[o]&&(s[e].prototype[o]=n[o])}return i[e.toLowerCase()]=function(){return this},i.toString=function(){return"["+e+" "+o.map(function(e){return this["_"+e]},this).join(", ")+"]"},o.forEach(function(e){var t="black"===e?"k":e.charAt(0);i[e]=i[t]=function(t,n){return void 0===t?this["_"+e]:n?new this.constructor(o.map(function(n){return this["_"+n]+(e===n?t:0)},this)):new this.constructor(o.map(function(n){return e===n?t:this["_"+n]},this))}}),t.forEach(function(t){u(e,t),u(t,e)}),t.push(e),s},s.pluginList=[],s.use=function(e){return-1===s.pluginList.indexOf(e)&&(this.pluginList.push(e),e(s)),s},s.installMethod=function(e,n){return t.forEach(function(t){s[t].prototype[e]=n}),this},s.installColorSpace("RGB",["red","green","blue","alpha"],{hex:function(){var e=(65536*Math.round(255*this._red)+256*Math.round(255*this._green)+Math.round(255*this._blue)).toString(16);return"#"+"00000".substr(0,6-e.length)+e},hexa:function(){var e=Math.round(255*this._alpha).toString(16);return this.hex()+"00".substr(0,2-e.length)+e},css:function(){return"rgb("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+")"},cssa:function(){return"rgba("+Math.round(255*this._red)+","+Math.round(255*this._green)+","+Math.round(255*this._blue)+","+this._alpha+")"}}),e.exports=s},27707(e){e.exports=function(e){e.installMethod("clearer",function(e){return this.alpha(isNaN(e)?-.1:-e,!0)})}},13363(e,t,n){e.exports=function(e){e.use(n(18315)),e.installMethod("contrast",function(e){var t=this.luminance(),n=e.luminance();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)})}},27106(e,t,n){e.exports=function(e){e.use(n(7173)),e.installMethod("darken",function(e){return this.lightness(isNaN(e)?-.1:-e,!0)})}},50271(e,t,n){e.exports=function(e){e.use(n(7173)),e.installMethod("desaturate",function(e){return this.saturation(isNaN(e)?-.1:-e,!0)})}},22122(e){e.exports=function(e){function t(){var t=this.rgb(),n=.3*t._red+.59*t._green+.11*t._blue;return new e.RGB(n,n,n,t._alpha)}e.installMethod("greyscale",t).installMethod("grayscale",t)}},54177(e){e.exports=function(e){e.installMethod("isDark",function(){var e=this.rgb();return(255*e._red*299+255*e._green*587+255*e._blue*114)/1e3<128})}},87105(e,t,n){e.exports=function(e){e.use(n(54177)),e.installMethod("isLight",function(){return!this.isDark()})}},38442(e,t,n){e.exports=function(e){e.use(n(7173)),e.installMethod("lighten",function(e){return this.lightness(isNaN(e)?.1:e,!0)})}},18315(e){e.exports=function(e){function t(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}e.installMethod("luminance",function(){var e=this.rgb();return.2126*t(e._red)+.7152*t(e._green)+.0722*t(e._blue)})}},11287(e){e.exports=function(e){e.installMethod("mix",function(t,n){t=e(t).rgb();var o=2*(n=1-(isNaN(n)?.5:n))-1,r=this._alpha-t._alpha,i=((o*r===-1?o:(o+r)/(1+o*r))+1)/2,a=1-i,s=this.rgb();return new e.RGB(s._red*i+t._red*a,s._green*i+t._green*a,s._blue*i+t._blue*a,s._alph
1a*n+t._alpha*(1-n))})}},83248(e){e.exports=function(e){e.namedColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"}}},35391(e){e.exports=function(e){e.installMethod("negate",function(){var t=this.rgb();return new e.RGB(1-t._red,1-t._green,1-t._blue,this._alpha)})}},22801(e){e.exports=function(e){e.installMethod("opaquer",function(e){return this.alpha(isNaN(e)?.1:e,!0)})}},81534(e,t,n){e.exports=function(e){e.use(n(7173)),e.installMethod("rotate",function(e){return this.hue((e||0)/360,!0)})}},92004(e,t,n){e.exports=function(e){e.use(n(7173)),e.installMethod("saturate",function(e){return this.saturation(isNaN(e)?.1:e,!0)})}},70438(e){e.exports=function(e){e.installMethod("toAlpha",function(e){var t=this.rgb(),n=e(e).rgb(),o=new e.RGB(0,0,0,t._alpha),r=["_red","_green","_blue"];return r.forEach(function(e){t[e]<1e-10?o[e]=t[e]:t[e]>n[e]?o[e]=(t[e]-n[e])/(1-n[e]):t[e]>n[e]?o[e]=(n[e]-t[e])/n[e]:o[e]=0}),o._red>o._green?o._red>o._blue?t._alpha=o._red:t._alpha=o._blue:o._green>o._blue?t._alpha=o._green:t._alpha=o._blue,t._alpha<1e-10||(r.forEach(function(e){t[e]=(t[e]-n[e])/t._alpha+n[e]}),t._alpha*=o._alpha),t})}},89919(e){e.exports=function(e){if("string"!=typeof e)throw new Error("color has to be type of `string`");if("#"===e.substr(0,1))return{hex:e,alpha:1};var t=e.replace(/\s+/g,""),n=/(.*?)rgb(a)??\((\d{1,3}),(\d{1,3}),(\d{1,3})(,([01]|1.0*|0??\.([0-9]{0,})))??\)/.exec(t);if(!n)throw new Error("given color ("+e+") isn't a valid rgb or rgba color");var o=parseInt(n[3],10),r=parseInt(n[4],10),i=parseInt(n[5],10),a=n[6]?/([0-9\.]+)/.exec(n[6])[0]:"1",s=(i|r<<8|o<<16|1<<24).toString(16).slice(1);return"."===a.substr(0,1)&&(a=parseFloat("0"+a)),a=parseFloat(Math.round(100*a))/100,{hex:"#"+s.toString(16),alpha:a}}},22743(e,t,n){"use strict";n.d(t,{WF:()=>ke,go:()=>xe,h7:()=>we,wh:()=>Oe});var o=n(86723),r=n(68068),i=n(96540),a=n(40961),s=n(24867);function l(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function u(e=l){return(0,i.useCallback)((t,n)=>{if("string"==typeof e){let o=e;return(null==t?void 0:t[o])===(null==n?void 0:n[o])}return e(t,n)},[e])}var c=n(95060),d=n(37786),f=n(96992),p=n(3321),h=n(95015),b=n(22400),v=n(57575),g=n(76339),m=n(34424),y=n(13674),x=n(22625),_=n(74156),O=n(26284),w=n(69821),S=n(83678),k=n(45451),E=n(98975),M=n(23627),I=n(49185),R=n(92888),C=n(65448),P=n(10375),L=n(82498);i.forwardRef(function({children:e,freeze:t},n){let o=D(t,e);return(0,i.isValidElement)(o)?(0,i.cloneElement)(o,{ref:n}):i.createElement(i.Fragment,null,o)});function D(e,t){let[n,o]=(0,i.useState)(t);return!e&&n!==t&&o(t),e?n:t}var B,F,T=n(15953),A=n(13149),N=n(29669),z=n(13379),j=n(78342),$=n(82599),q=n(47280),V=n(64122),U=n(43660),X=n(85897),Y=n(2211),G=n(66206),K=n(59124),H=n(44586),Q=n(90540),Z=n(78302),J=n(37555),W=n(39468),ee=Object.defineProperty,te=(e,t,n
1)=>(((e,t,n)=>{t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),ne=((F=ne||{})[F.Open=0]="Open",F[F.Closed=1]="Closed",F),oe=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(oe||{}),re=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(re||{}),ie=((B=ie||{})[B.OpenListbox=0]="OpenListbox",B[B.CloseListbox=1]="CloseListbox",B[B.GoToOption=2]="GoToOption",B[B.Search=3]="Search",B[B.ClearSearch=4]="ClearSearch",B[B.SelectOption=5]="SelectOption",B[B.RegisterOptions=6]="RegisterOptions",B[B.UnregisterOptions=7]="UnregisterOptions",B[B.SetButtonElement=8]="SetButtonElement",B[B.SetOptionsElement=9]="SetOptionsElement",B[B.SortOptions=10]="SortOptions",B[B.MarkButtonAsMoved=11]="MarkButtonAsMoved",B);function ae(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,o=(0,V.wl)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),r=n?o.indexOf(n):null;return-1===r&&(r=null),{options:o,activeOptionIndex:r}}let se={1(e){if(e.dataRef.current.disabled||1===e.listboxState)return e;let t=e.buttonElement?W.Fc.Tracked((0,W.JO)(e.buttonElement)):e.buttonPositionState;return{...e,activeOptionIndex:null,pendingFocus:{focus:j.B.Nothing},listboxState:1,__demoMode:!1,buttonPositionState:t}},0(e,t){if(e.dataRef.current.disabled||0===e.listboxState)return e;let n=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(e=>o(e.dataRef.current.value));return-1!==r&&(n=r),{...e,frozenValue:!1,pendingFocus:t.focus,listboxState:0,activeOptionIndex:n,__demoMode:!1,buttonPositionState:W.Fc.Idle}},2(e,t){var n,o,r,i,a;if(e.dataRef.current.disabled||1===e.listboxState)return e;let s={...e,searchQuery:"",activationTrigger:null!=(n=t.trigger)?n:1,__demoMode:!1};if(t.focus===j.B.Nothing)return{...s,activeOptionIndex:null};if(t.focus===j.B.Specific)return{...s,activeOptionIndex:e.options.findIndex(e=>e.id===t.id)};if(t.focus===j.B.Previous){let n=e.activeOptionIndex;if(null!==n){let i=e.options[n].dataRef.current.domRef,a=(0,j.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==a){let t=e.options[a].dataRef.current.domRef;if((null==(o=i.current)?void 0:o.previousElementSibling)===t.current||null===(null==(r=t.current)?void 0:r.previousElementSibling))return{...s,activeOptionIndex:a}}}}else if(t.focus===j.B.Next){let n=e.activeOptionIndex;if(null!==n){let o=e.options[n].dataRef.current.domRef,r=(0,j.X)(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==r){let t=e.options[r].dataRef.current.domRef;if((null==(i=o.current)?void 0:i.nextElementSibling)===t.current||null===(null==(a=t.current)?void 0:a.nextElementSibling))return{...s,activeOptionIndex:r}}}}let l=ae(e),u=(0,j.X)(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...s,...l,activeOptionIndex:u}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,o=e.searchQuery+t.value.toLowerCase(),r=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(o))}),i=r?e.options.indexOf(r):-1;return-1===i||i===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:i,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:e=>0===e.dataRef.current.mode?{...e,frozenValue:!0}:{...e},6:(e,t)=>{let n=e.options.concat(t.options),o=e.activeOptionIndex;if(e.pendingFocus.focus!==j.B.Nothing&&(o=(0,j.X)(e.pendingFocus,{resolveItems:()=>n,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled})),null===e.activeOptionIndex){let{isSelected:t}=e.dataRef.current;if(t){let e=n.findIndex(e=>null==t?void 0:t(e.dataRef.current.value));-1!==e&&(o=e)}}return{...e,options:n,activeOptionIndex:o,pendingFocus:{focus:j.B.Nothing},pendingShouldSort:!0}},7:(e,t)=>{let n=e.options,o=[],r=new Set(t.options);for(let[e,t]of n.entries())if(r.has(t.id)&&(o.push(e),r.delete(t.id),0===r.size))break;if(o.length>0){n=n.slice();for(let e of o.reverse())n.splice(e,1)}return{...e,options:n,activationTrigger:1}},8:(e,t)=>
1e.buttonElement===t.element?e:{...e,buttonElement:t.element},9:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element},10:e=>e.pendingShouldSort?{...e,...ae(e),pendingShouldSort:!1}:e,11:e=>"Tracked"!==e.buttonPositionState.kind?e:{...e,buttonPositionState:W.Fc.Moved}};class le extends J.u5{constructor(e){super(e),te(this,"actions",{onChange:e=>{let{onChange:t,compare:n,mode:o,value:r}=this.state.dataRef.current;return(0,X.Y)(o,{0:()=>null==t?void 0:t(e),1:()=>{let o=r.slice(),i=o.findIndex(t=>n(t,e));return-1===i?o.push(e):o.splice(i,1),null==t?void 0:t(o)}})},registerOption:(0,J.vA)(()=>{let e=[],t=new Set;return[(n,o)=>{t.has(o)||(t.add(o),e.push({id:n,dataRef:o}))},()=>(t.clear(),this.send({type:6,options:e.splice(0)}))]}),unregisterOption:(0,J.vA)(()=>{let e=[];return[t=>e.push(t),()=>{this.send({type:7,options:e.splice(0)})}]}),goToOption:(0,J.vA)(()=>{let e=null;return[(t,n)=>{e={type:2,...t,trigger:n}},()=>e&&this.send(e)]}),closeListbox:()=>{this.send({type:1})},openListbox:e=>{this.send({type:0,focus:e})},selectActiveOption:()=>{var e;if(null!==this.state.activeOptionIndex){let{dataRef:e}=this.state.options[this.state.activeOptionIndex];this.actions.selectOption(e.current.value)}else 0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(e=this.state.buttonElement)||e.focus({preventScroll:!0}))},selectOption:e=>{this.send({type:5,value:e})},search:e=>{this.send({type:3,value:e})},clearSearch:()=>{this.send({type:4})},setButtonElement:e=>{this.send({type:8,element:e})},setOptionsElement:e=>{this.send({type:9,element:e})}}),te(this,"selectors",{activeDescendantId(e){var t;let n=e.activeOptionIndex,o=e.options;return null===n||null==(t=o[n])?void 0:t.id},isActive(e,t){var n;let o=e.activeOptionIndex,r=e.options;return null!==o&&(null==(n=r[o])?void 0:n.id)===t},hasFrozenValue:e=>e.frozenValue,shouldScrollIntoView(e,t){return!e.__demoMode&&0===e.listboxState&&0!==e.activationTrigger&&this.isActive(e,t)},didButtonMove:e=>"Moved"===e.buttonPositionState.kind}),this.on(6,()=>{requestAnimationFrame(()=>{this.send({type:10})})});{let e=this.state.id,t=N.D.get(null);this.disposables.add(t.on(N.Q.Push,n=>{!t.selectors.isTop(n,e)&&0===this.state.listboxState&&this.actions.closeListbox()})),this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}this.disposables.group(e=>{this.on(1,t=>{t.buttonElement&&(e.dispose(),e.add((0,W.nY)(t.buttonElement,t.buttonPositionState,()=>{this.send({type:11})})))})}),this.on(5,(e,t)=>{var n;this.actions.onChange(t.value),0===this.state.dataRef.current.mode&&(this.actions.closeListbox(),null==(n=this.state.buttonElement)||n.focus({preventScroll:!0}))})}static new({id:e,__demoMode:t=!1}){return new le({id:e,dataRef:{current:{}},listboxState:t?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,buttonElement:null,optionsElement:null,pendingShouldSort:!1,pendingFocus:{focus:j.B.Nothing},frozenValue:!1,__demoMode:t,buttonPositionState:W.Fc.Idle})}reduce(e,t){return(0,X.Y)(t.type,se,e,t)}}var ue=n(22903);const ce=(0,i.createContext)(null);function de(e){let t=(0,i.useContext)(ce);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,fe),t}return t}function fe({id:e,__demoMode:t=!1}){let n=(0,i.useMemo)(()=>le.new({id:e,__demoMode:t}),[]);return(0,ue.X)(()=>n.dispose()),n}let pe=(0,i.createContext)(null);function he(e){let t=(0,i.useContext)(pe);if(null===t){let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,he),t}return t}pe.displayName="ListboxDataContext";let be=i.Fragment;let ve=(0,i.createContext)(!1),ge=G.Ac.RenderStrategy|G.Ac.Static;let me=i.Fragment;let ye=(0,G.FX)(function(e,t){let n=(0,i.useId)(),o=(0,C._)(),{value:r,defaultValue:a,form:s,name:l,onChange:f,by:p,invalid:h=!1,disabled:b=o||!1,horizontal:v=!1,multiple:m=!1,__demoMode:y=!1,..._}=e;const O=v?"horizontal":"vertical";let w=(0,E.P)(t),S=(0,d.K)(a),[M=(m?[]:void 0),I]=(0,c.P)(r,f,S),R=fe({id:n,__demoMode:y}),D=(0,i.useRef)({static:!1,hold:!1}),B=(0,i.useRef)(new Map),F=u(p),T=(0,i.useCallback)(e=>(0,X.Y)(j.mode,{[oe.Multi]:()=>M.some(t=>F(t,e)),[oe.Single]:()=>F(M,e)}
1),[M]),j=(0,k._)({value:M,disabled:b,invalid:h,mode:m?oe.Multi:oe.Single,orientation:O,onChange:I,compare:F,isSelected:T,optionsPropsRef:D,listRef:B});(0,g.s)(()=>{R.state.dataRef.current=j},[j]);let $=(0,z.y)(R,e=>e.listboxState),q=N.D.get(null),U=(0,z.y)(q,(0,i.useCallback)(e=>q.selectors.isTop(e,n),[q,n])),[Y,K]=(0,z.y)(R,e=>[e.buttonElement,e.optionsElement]);(0,x.j)(U,[Y,K],(e,t)=>{R.send({type:ie.CloseListbox}),(0,V.Bm)(t,V.MZ.Loose)||(e.preventDefault(),null==Y||Y.focus())});let H=(0,k._)({open:$===ne.Open,disabled:b,invalid:h,value:M}),[Z,J]=(0,Q.b0)({inherit:!0}),W={ref:w},ee=(0,i.useCallback)(()=>{if(void 0!==S)return null==I?void 0:I(S)},[I,S]),te=(0,G.Ci)();return i.createElement(J,{value:Z,props:{htmlFor:null==Y?void 0:Y.id},slot:{open:$===ne.Open,disabled:b}},i.createElement(P.St,null,i.createElement(ce.Provider,{value:R},i.createElement(pe.Provider,{value:j},i.createElement(A.El,{value:(0,X.Y)($,{[ne.Open]:A.Uw.Open,[ne.Closed]:A.Uw.Closed})},null!=l&&null!=M&&i.createElement(L.CL,{disabled:b,data:{[l]:M},form:s,onReset:ee}),te({ourProps:W,theirProps:_,slot:H,defaultTag:be,name:"Listbox"}))))))}),xe=(0,G.FX)(function(e,t){let n=(0,i.useId)(),l=(0,T.q)(),u=he("Listbox.Button"),c=de("Listbox.Button"),{id:d=l||`headlessui-listbox-button-${n}`,disabled:f=u.disabled||!1,autoFocus:p=!1,...v}=e,g=(0,E.P)(t,(0,P.Xc)(),c.actions.setButtonElement),m=(0,P.TI)(),[y,x,_]=(0,z.y)(c,e=>[e.listboxState,e.buttonElement,e.optionsElement]),S=y===ne.Open;(0,O.s)(S,{trigger:x,action:(0,i.useCallback)(e=>{if(null!=x&&x.contains(e.target))return O.r.Ignore;let t=e.target.closest('[role="option"]:not([data-disabled])');return q.sb(t)?O.r.Select(t):null!=_&&_.contains(e.target)?O.r.Ignore:O.r.Close},[x,_]),close:c.actions.closeListbox,select:c.actions.selectActiveOption});let M=(0,h._)(e=>{switch(e.key){case H.D.Enter:(0,U.q)(e.currentTarget);break;case H.D.Space:case H.D.ArrowDown:e.preventDefault(),c.actions.openListbox({focus:u.value?j.B.Nothing:j.B.First});break;case H.D.ArrowUp:e.preventDefault(),c.actions.openListbox({focus:u.value?j.B.Nothing:j.B.Last})}}),I=(0,h._)(e=>{if(e.key===H.D.Space)e.preventDefault()}),R=(0,b.O)(e=>{var t;c.state.listboxState===ne.Open?((0,a.flushSync)(()=>c.actions.closeListbox()),null==(t=c.state.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),c.actions.openListbox({focus:j.B.Nothing}))}),C=(0,h._)(e=>e.preventDefault()),L=(0,Q.o2)([d]),D=(0,K.MM)(),{isFocusVisible:B,focusProps:F}=(0,o.o)({autoFocus:p}),{isHovered:A,hoverProps:N}=(0,r.M)({isDisabled:f}),{pressed:$,pressProps:V}=(0,s.Z)({disabled:f}),X=(0,k._)({open:y===ne.Open,active:$||y===ne.Open,disabled:f,invalid:u.invalid,value:u.value,hover:A,focus:B,autofocus:p}),Y=(0,z.y)(c,e=>e.listboxState===ne.Open),Z=(0,G.v6)(m(),{ref:g,id:d,type:(0,w.c)(e,x),"aria-haspopup":"listbox","aria-controls":null==_?void 0:_.id,"aria-expanded":Y,"aria-labelledby":L,"aria-describedby":D,disabled:f||void 0,autoFocus:p,onKeyDown:M,onKeyUp:I,onKeyPress:C},R,F,N,V);return(0,G.Ci)()({ourProps:Z,theirProps:v,slot:X,defaultTag:"button",name:"Listbox.Button"})}),_e=Q.JU,Oe=(0,G.FX)(function(e,t){let n=(0,i.useId)(),{id:o=`headlessui-listbox-options-${n}`,anchor:r,portal:s=!1,modal:l=!0,transition:u=!1,...c}=e,d=(0,P.zn)(r),[b,g]=(0,i.useState)(null);d&&(s=!0);let m=he("Listbox.Options"),x=de("Listbox.Options"),[O,w,M,I]=(0,z.y)(x,e=>[e.listboxState,e.buttonElement,e.optionsElement,e.__demoMode]),C=(0,_.g)(w),L=(0,_.g)(M),B=(0,A.O_)(),[F,T]=(0,R.p)(u,b,null!==B?(B&A.Uw.Open)===A.Uw.Open:O===ne.Open);(0,y.O)(F,w,x.actions.closeListbox);let N=!I&&(l&&O===ne.Open);(0,S.K)(N,L);let $=!I&&(l&&O===ne.Open);(0,v.v)($,{allowed:(0,i.useCallback)(()=>[w,M],[w,M])});let q=!(0,z.y)(x,x.selectors.didButtonMove)&&F,U=D((0,z.y)(x,x.selectors.hasFrozenValue)&&!e.static,m.value),K=(0,i.useCallback)(e=>m.compare(U,e),[m.compare,U]),Q=(0,z.y)(x,e=>{var t;if(null==d||null==(t=null==d?void 0:d.to)||!t.includes("selection"))return null;let n=e.options.findIndex(e=>K(e.dataRef.current.value));return-1===n&&(n=0),n}),J=(()=>{if(null==d)return;if(null===Q)return{...d,inner:void 0};let e=Array.from(m.listRef.current.values());return{...d,inner:{listRef:{current:e},index:Q}}})(),[W,ee]=(0,P.UF)(J),te=(0,P.G3)(),re=(0,E.P)(t,d?W:null,x.actions.setOptionsElement,g),ie=(0,f.L)();(0,i.useEffect)(()=>{let e=M;
1e&&O===ne.Open&&((0,Y.X7)(e)||null==e||e.focus({preventScroll:!0}))},[O,M]);let ae=(0,h._)(e=>{var t;switch(ie.dispose(),e.key){case H.D.Space:if(""!==x.state.searchQuery)return e.preventDefault(),e.stopPropagation(),x.actions.search(e.key);case H.D.Enter:e.preventDefault(),e.stopPropagation(),x.actions.selectActiveOption();break;case(0,X.Y)(m.orientation,{vertical:H.D.ArrowDown,horizontal:H.D.ArrowRight}):return e.preventDefault(),e.stopPropagation(),x.actions.goToOption({focus:j.B.Next});case(0,X.Y)(m.orientation,{vertical:H.D.ArrowUp,horizontal:H.D.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),x.actions.goToOption({focus:j.B.Previous});case H.D.Home:case H.D.PageUp:return e.preventDefault(),e.stopPropagation(),x.actions.goToOption({focus:j.B.First});case H.D.End:case H.D.PageDown:return e.preventDefault(),e.stopPropagation(),x.actions.goToOption({focus:j.B.Last});case H.D.Escape:return e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>x.actions.closeListbox()),void(null==(t=x.state.buttonElement)||t.focus({preventScroll:!0}));case H.D.Tab:e.preventDefault(),e.stopPropagation(),(0,a.flushSync)(()=>x.actions.closeListbox()),(0,V.p9)(x.state.buttonElement,e.shiftKey?V.BD.Previous:V.BD.Next);break;default:1===e.key.length&&(x.actions.search(e.key),ie.setTimeout(()=>x.actions.clearSearch(),350))}}),se=(0,z.y)(x,e=>{var t;return null==(t=e.buttonElement)?void 0:t.id}),le=(0,k._)({open:O===ne.Open}),ue=(0,G.v6)(d?te():{},{id:o,ref:re,"aria-activedescendant":(0,z.y)(x,x.selectors.activeDescendantId),"aria-multiselectable":m.mode===oe.Multi||void 0,"aria-labelledby":se,"aria-orientation":m.orientation,onKeyDown:ae,role:"listbox",tabIndex:O===ne.Open?0:void 0,style:{...c.style,...ee,"--button-width":(0,p.L)(F,w,!0).width},...(0,R.B)(T)}),ce=(0,G.Ci)(),fe=(0,i.useMemo)(()=>m.mode===oe.Multi?m:{...m,isSelected:K},[m,K]);return i.createElement(Z.ZL,{enabled:!!s&&(e.static||F),ownerDocument:C},i.createElement(pe.Provider,{value:fe},ce({ourProps:ue,theirProps:c,slot:le,defaultTag:"div",features:ge,visible:q,name:"Listbox.Options"}
1)))}),we=(0,G.FX)(function(e,t){let n=(0,i.useId)(),{id:o=`headlessui-listbox-option-${n}`,disabled:r=!1,value:a,...s}=e,l=!0===(0,i.useContext)(ve),u=he("Listbox.Option"),c=de("Listbox.Option"),d=(0,z.y)(c,e=>c.selectors.isActive(e,o)),f=u.isSelected(a),p=(0,i.useRef)(null),b=(0,M.q)(p),v=(0,m.Y)({disabled:r,value:a,domRef:p,get textValue(){return b()}}),y=(0,E.P)(t,p,e=>{e?u.listRef.current.set(o,e):u.listRef.current.delete(o)}),x=(0,z.y)(c,e=>c.selectors.shouldScrollIntoView(e,o));(0,g.s)(()=>{if(x)return(0,$.e)().requestAnimationFrame(()=>{var e,t;null==(t=null==(e=p.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})},[x,p]),(0,g.s)(()=>{if(!l)return c.actions.registerOption(o,v),()=>c.actions.unregisterOption(o)},[v,o,l]);let _=(0,h._)(e=>{if(r)return e.preventDefault();c.actions.selectOption(a)}),O=(0,h._)(()=>{if(r)return c.actions.goToOption({focus:j.B.Nothing});c.actions.goToOption({focus:j.B.Specific,id:o})}),w=(0,I.J)(),S=(0,h._)(e=>w.update(e)),R=(0,h._)(e=>{w.wasMoved(e)&&(r||d&&c.state.activationTrigger===re.Pointer||c.actions.goToOption({focus:j.B.Specific,id:o},re.Pointer))}),C=(0,h._)(e=>{w.wasMoved(e)&&(r||d&&c.state.activationTrigger===re.Pointer&&c.actions.goToOption({focus:j.B.Nothing}))}),P=(0,k._)({active:d,focus:d,selected:f,disabled:r,selectedOption:f&&l}),L=l?{}:{id:o,ref:y,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":f,disabled:void 0,onClick:_,onFocus:O,onPointerEnter:S,onMouseEnter:S,onPointerMove:R,onMouseMove:R,onPointerLeave:C,onMouseLeave:C},D=(0,G.Ci)();return!f&&l?null:D({ourProps:L,theirProps:s,slot:P,defaultTag:"div",name:"Listbox.Option"})}),Se=(0,G.FX)(function(e,t){let{options:n,placeholder:o,...r}=e,a={ref:(0,E.P)(t)},s=he("ListboxSelectedOption"),l=(0,k._)({}),u=void 0===s.value||null===s.value||s.mode===oe.Multi&&Array.isArray(s.value)&&0===s.value.length,c=(0,G.Ci)();return i.createElement(ve.Provider,{value:!0},c({ourProps:a,theirProps:{...r,children:i.createElement(i.Fragment,null,o&&u?o:n)},slot:l,defaultTag:me,name:"ListboxSelectedOption"}))}),ke=Object.assign(ye,{Button:xe,Label:_e,Options:Oe,Option:we,SelectedOption:Se})},95060(e,t,n){"use strict";n.d(t,{P:()=>a});var o=n(96540),r=n(40961),i=n(95015);function a(e,t,n){let[a,s]=(0,o.useState)(n),l=void 0!==e,u=(0,o.useRef)(l),c=(0,o.useRef)(!1),d=(0,o.useRef)(!1);return!l||u.current||c.current?!l&&u.current&&!d.current&&(d.current=!0,u.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(c.current=!0,u.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[l?e:a,(0,i._)(e=>(l||(0,r.flushSync)(()=>s(e)),null==t?void 0:t(e)))]}},37786(e,t,n){"use strict";n.d(t,{K:()=>r});var o=n(96540);function r(e){let[t]=(0,o.useState)(e);return t}},82498(e,t,n){"use strict";n.d(t,{CL:()=>d});var o=n(96540),r=n(40961),i=n(96992),a=n(43660),s=n(66206),l=n(39528);let u=(0,o.createContext)(null);function c({children:e}){let t=(0,o.useContext)(u);if(!t)return o.createElement(o.Fragment,null,e);let{target:n}=t;return n?(0,r.createPortal)(o.createElement(o.Fragment,null,e),n):null}function d({data:e,form:t,disabled:n,onReset:r,overrides:u}){let[d,p]=(0,o.useState)(null),h=(0,i.L)();return(0,o.useEffect)(()=>{if(r&&d)return h.addEventListener(d,"reset",r)},[d,t,r]),o.createElement(c,null,o.createElement(f,{setForm:p,formId:t}),(0,a.h)(e).map(([e,r])=>o.createElement(l.j,{features:l.u.Hidden,...(0,s.oE)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:n,name:e,value:r,...u})})))}function f({setForm:e,formId:t}){return(0,o.useEffect)(()=>{if(t){let n=document.getElementById(t);n&&e(n)}},[e,t]),t?null:o.createElement(l.j,{features:l.u.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let n=t.closest("form");n&&e(n)}})}},43660(e,t,n){"use strict";n.d(t,{h:()=>r,q:()=>s});var o=n(96540);function r(e={},t=null,n=[]){for(let[o,r]of Object.entries(e))a(n,i(t,o),r);return n}function i(e,t){return e?e+"["+t+"]":t}function a(e,t,n){if(Array.isArray(n))for(let[o,r]of n.entries())a(e,i(t,o.toString()),r);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(n)&&!(0,o.isValidElement)(n)&&r(n,t,e)}function s(e){var t,n;let o=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(o){for(let t of o.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(n=o.requestSubmit)||n.call(o)}}}}]);
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.