(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-spruce"]=e():t["vue-spruce"]=e()})("undefined"!==typeof self?self:this,(function(){return function(){var t={9662:function(t,e,n){var r=n(614),i=n(6330),o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw o(i(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),i=n(1400),o=n(6244),s=function(t){return function(e,n,s){var a,c=r(e),u=o(c),l=i(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),i=n(3157),o=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},9920:function(t,e,n){var r=n(2597),i=n(3887),o=n(1236),s=n(3070);t.exports=function(t,e,n){for(var a=i(e),c=s.f,u=o.f,l=0;l<a.length;l++){var f=a[l];r(t,f)||n&&r(n,f)||c(t,f,u(e,f))}}},8880:function(t,e,n){var r=n(9781),i=n(3070),o=n(9114);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,n){var r=n(614),i=n(3070),o=n(6339),s=n(3072);t.exports=function(t,e,n,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:e;if(r(n)&&o(n,u,a),a.global)c?t[e]=n:s(e,n);else{try{a.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},3072:function(t,e,n){var r=n(7854),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},5117:function(t,e,n){"use strict";var r=n(6330),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw i("Cannot delete property "+r(e)+" of "+r(t))}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,n="undefined"==typeof e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){var r=n(7854),i=n(111),o=r.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},7207:function(t){var e=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,i,o=n(7854),s=n(8113),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),t.exports=i},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),i=n(1236).f,o=n(8880),s=n(8052),a=n(3072),c=n(9920),u=n(4705);t.exports=function(t,e){var n,l,f,h,p,d,g=t.target,v=t.global,y=t.stat;if(l=v?r:y?r[g]||a(g,{}):(r[g]||{}).prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(d=i(l,f),h=d&&d.value):h=l[f],n=u(v?f:g+(y?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;c(p,h)}(t.sham||h&&h.sham)&&o(p,"sham",!0),s(l,f,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},6530:function(t,e,n){var r=n(9781),i=n(2597),o=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},1702:function(t,e,n){var r=n(4374),i=Function.prototype,o=i.call,s=r&&i.bind.bind(o,o);t.exports=r?s:function(t){return function(){return o.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),i=n(614),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),i=n(8554);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),i=n(7908),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),i=n(7293),o=n(317);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),i=n(7293),o=n(4326),s=Object,a=r("".split);t.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),i=n(614),o=n(5465),s=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},9909:function(t,e,n){var r,i,o,s=n(4811),a=n(7854),c=n(111),u=n(8880),l=n(2597),f=n(5465),h=n(6200),p=n(3501),d="Object already initialized",g=a.TypeError,v=a.WeakMap,y=function(t){return o(t)?i(t):r(t,{})},m=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw g(d);return e.facade=t,b.set(t,e),e},i=function(t){return b.get(t)||{}},o=function(t){return b.has(t)}}else{var w=h("state");p[w]=!0,r=function(t,e){if(l(t,w))throw g(d);return e.facade=t,u(t,w,e),e},i=function(t){return l(t,w)?t[w]:{}},o=function(t){return l(t,w)}}t.exports={set:r,get:i,has:o,enforce:y,getterFor:m}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),i=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===i}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),i=n(614),o=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n==l||n!=u&&(i(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),i=n(4154),o=i.all;t.exports=i.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===o}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),i=n(614),o=n(7976),s=n(3307),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,a(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),i=n(7293),o=n(614),s=n(2597),a=n(9781),c=n(6530).CONFIGURABLE,u=n(2788),l=n(9909),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,g=r("".slice),v=r("".replace),y=r([].join),m=a&&!i((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===g(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),m&&n&&s(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var r=f(t);return s(r,"source")||(r.source=y(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&h(this).source||u(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),i=n(4664),o=n(3353),s=n(9670),a=n(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";e.f=r?o?function(t,e,n){if(s(t),e=a(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=l(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),i)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),i=n(6916),o=n(5296),s=n(9114),a=n(5656),c=n(4948),u=n(2597),l=n(4664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return s(!i(o.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),i=n(748),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),i=n(2597),o=n(5656),s=n(1318).indexOf,a=n(3501),c=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,l=[];for(n in r)!i(a,n)&&i(r,n)&&c(l,n);while(e.length>u)i(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),i=n(614),o=n(111),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&i(n=t.toString)&&!o(a=r(n,t)))return a;if(i(n=t.valueOf)&&!o(a=r(n,t)))return a;if("string"!==e&&i(n=t.toString)&&!o(a=r(n,t)))return a;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),i=n(1702),o=n(8006),s=n(5181),a=n(9670),c=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=s.f;return n?c(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),i=TypeError;t.exports=function(t){if(r(t))throw i("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),i=n(9711),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},5465:function(t,e,n){var r=n(7854),i=n(3072),o="__core-js_shared__",s=r[o]||i(o,{});t.exports=s},2309:function(t,e,n){var r=n(1913),i=n(5465);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),i=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},5656:function(t,e,n){var r=n(8361),i=n(4488);t.exports=function(t){return r(i(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),i=Object;t.exports=function(t){return i(r(t))}},7593:function(t,e,n){var r=n(6916),i=n(111),o=n(2190),s=n(8173),a=n(2140),c=n(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!i(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},4948:function(t,e,n){var r=n(7593),i=n(2190);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),i=0,o=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),i=n(7293);t.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),i=n(614),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},5112:function(t,e,n){var r=n(7854),i=n(2309),o=n(2597),s=n(9711),a=n(6293),c=n(3307),u=r.Symbol,l=i("wks"),f=c?u["for"]||u:u&&u.withoutSetter||s;t.exports=function(t){return o(l,t)||(l[t]=a&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},7658:function(t,e,n){"use strict";var r=n(2109),i=n(7908),o=n(6244),s=n(3658),a=n(7207),c=n(7293),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=i(this),n=o(e),r=arguments.length;a(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return s(e,n),n}})},541:function(t,e,n){"use strict";var r=n(2109),i=n(7908),o=n(6244),s=n(3658),a=n(5117),c=n(7207),u=1!==[].unshift(0),l=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}},f=u||!l();r({target:"Array",proto:!0,arity:1,forced:f},{unshift:function(t){var e=i(this),n=o(e),r=arguments.length;if(r){c(n+r);var u=n;while(u--){var l=u+r;u in e?e[l]=e[u]:a(e,l)}for(var f=0;f<r;f++)e[f]=arguments[f]}return s(e,n+r)}})},5316:function(t,e,n){t=n.nmd(t);var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,u=9007199254740991,l="[object Arguments]",f="[object Array]",h="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",y="[object Map]",m="[object Number]",b="[object Object]",w="[object Promise]",x="[object RegExp]",_="[object Set]",S="[object String]",O="[object Symbol]",j="[object WeakMap]",M="[object ArrayBuffer]",E="[object DataView]",k="[object Float32Array]",A="[object Float64Array]",L="[object Int8Array]",$="[object Int16Array]",T="[object Int32Array]",I="[object Uint8Array]",P="[object Uint8ClampedArray]",C="[object Uint16Array]",F="[object Uint32Array]",N=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,R=/^\w*$/,D=/^\./,W=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,V=/[\\^$.*+?()[\]{}|]/g,B=/\\(\\)?/g,z=/^\[object .+?Constructor\]$/,q=/^(?:0|[1-9]\d*)$/,H={};H[k]=H[A]=H[L]=H[$]=H[T]=H[I]=H[P]=H[C]=H[F]=!0,H[l]=H[f]=H[M]=H[h]=H[E]=H[p]=H[d]=H[g]=H[y]=H[m]=H[b]=H[x]=H[_]=H[S]=H[j]=!1;var U="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,K="object"==typeof self&&self&&self.Object===Object&&self,G=U||K||Function("return this")(),X=e&&!e.nodeType&&e,J=X&&t&&!t.nodeType&&t,Y=J&&J.exports===X,Z=Y&&U.process,Q=function(){try{return Z&&Z.binding("util")}catch(t){}}(),tt=Q&&Q.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function ot(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function st(t){return function(e){return t(e)}}function at(t,e){return null==t?void 0:t[e]}function ct(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ut(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lt(t,e){return function(n){return t(e(n))}}function ft(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ht=Array.prototype,pt=Function.prototype,dt=Object.prototype,gt=G["__core-js_shared__"],vt=function(){var t=/[^.]+$/.exec(gt&&gt.keys&&gt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),yt=pt.toString,mt=dt.hasOwnProperty,bt=dt.toString,wt=RegExp("^"+yt.call(mt).replace(V,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=G.Symbol,_t=G.Uint8Array,St=dt.propertyIsEnumerable,Ot=ht.splice,jt=lt(Object.keys,Object),Mt=qe(G,"DataView"),Et=qe(G,"Map"),kt=qe(G,"Promise"),At=qe(G,"Set"),Lt=qe(G,"WeakMap"),$t=qe(Object,"create"),Tt=nn(Mt),It=nn(Et),Pt=nn(kt),Ct=nn(At),Ft=nn(Lt),Nt=xt?xt.prototype:void 0,Rt=Nt?Nt.valueOf:void 0,Dt=Nt?Nt.toString:void 0;function Wt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Vt(){this.__data__=$t?$t(null):{}}function Bt(t){return this.has(t)&&delete this.__data__[t]}function zt(t){var e=this.__data__;if($t){var n=e[t];return n===o?void 0:n}return mt.call(e,t)?e[t]:void 0}function qt(t){var e=this.__data__;return $t?void 0!==e[t]:mt.call(e,t)}function Ht(t,e){var n=this.__data__;return n[t]=$t&&void 0===e?o:e,this}function Ut(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Kt(){this.__data__=[]}function Gt(t){var e=this.__data__,n=de(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Ot.call(e,n,1),!0}function Xt(t){var e=this.__data__,n=de(e,t);return n<0?void 0:e[n][1]}function Jt(t){return de(this.__data__,t)>-1}function Yt(t,e){var n=this.__data__,r=de(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Zt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Qt(){this.__data__={hash:new Wt,map:new(Et||Ut),string:new Wt}}function te(t){return Be(this,t)["delete"](t)}function ee(t){return Be(this,t).get(t)}function ne(t){return Be(this,t).has(t)}function re(t,e){return Be(this,t).set(t,e),this}function ie(t){var e=-1,n=t?t.length:0;this.__data__=new Zt;while(++e<n)this.add(t[e])}function oe(t){return this.__data__.set(t,o),this}function se(t){return this.__data__.has(t)}function ae(t){this.__data__=new Ut(t)}function ce(){this.__data__=new Ut}function ue(t){return this.__data__["delete"](t)}function le(t){return this.__data__.get(t)}function fe(t){return this.__data__.has(t)}function he(t,e){var n=this.__data__;if(n instanceof Ut){var i=n.__data__;if(!Et||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Zt(i)}return n.set(t,e),this}function pe(t,e){var n=cn(t)||an(t)?ot(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!mt.call(t,o)||i&&("length"==o||Ke(o,r))||n.push(o);return n}function de(t,e){var n=t.length;while(n--)if(sn(t[n][0],e))return n;return-1}Wt.prototype.clear=Vt,Wt.prototype["delete"]=Bt,Wt.prototype.get=zt,Wt.prototype.has=qt,Wt.prototype.set=Ht,Ut.prototype.clear=Kt,Ut.prototype["delete"]=Gt,Ut.prototype.get=Xt,Ut.prototype.has=Jt,Ut.prototype.set=Yt,Zt.prototype.clear=Qt,Zt.prototype["delete"]=te,Zt.prototype.get=ee,Zt.prototype.has=ne,Zt.prototype.set=re,ie.prototype.add=ie.prototype.push=oe,ie.prototype.has=se,ae.prototype.clear=ce,ae.prototype["delete"]=ue,ae.prototype.get=le,ae.prototype.has=fe,ae.prototype.set=he;var ge=Ne(ye),ve=Re();function ye(t,e){return t&&ve(t,e,wn)}function me(t,e){e=Ge(e,t)?[e]:Pe(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[en(e[n++])];return n&&n==r?t:void 0}function be(t){return bt.call(t)}function we(t,e){return null!=t&&e in Object(t)}function xe(t,e,n,r,i){return t===e||(null==t||null==e||!pn(t)&&!dn(e)?t!==t&&e!==e:_e(t,e,xe,n,r,i))}function _e(t,e,n,r,i,o){var s=cn(t),c=cn(e),u=f,h=f;s||(u=He(t),u=u==l?b:u),c||(h=He(e),h=h==l?b:h);var p=u==b&&!ct(t),d=h==b&&!ct(e),g=u==h;if(g&&!p)return o||(o=new ae),s||vn(t)?De(t,e,n,r,i,o):We(t,e,u,n,r,i,o);if(!(i&a)){var v=p&&mt.call(t,"__wrapped__"),y=d&&mt.call(e,"__wrapped__");if(v||y){var m=v?t.value():t,w=y?e.value():e;return o||(o=new ae),n(m,w,r,i,o)}}return!!g&&(o||(o=new ae),Ve(t,e,n,r,i,o))}function Se(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var u=n[i];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}while(++i<o){u=n[i];var l=u[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var p=new ae;if(r)var d=r(f,h,l,t,e,p);if(!(void 0===d?xe(h,f,r,s|a,p):d))return!1}}return!0}function Oe(t){if(!pn(t)||Je(t))return!1;var e=fn(t)||ct(t)?wt:z;return e.test(nn(t))}function je(t){return dn(t)&&hn(t.length)&&!!H[bt.call(t)]}function Me(t){return"function"==typeof t?t:null==t?xn:"object"==typeof t?cn(t)?Le(t[0],t[1]):Ae(t):_n(t)}function Ee(t){if(!Ye(t))return jt(t);var e=[];for(var n in Object(t))mt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ke(t,e){var n=-1,r=un(t)?Array(t.length):[];return ge(t,(function(t,i,o){r[++n]=e(t,i,o)})),r}function Ae(t){var e=ze(t);return 1==e.length&&e[0][2]?Qe(e[0][0],e[0][1]):function(n){return n===t||Se(n,t,e)}}function Le(t,e){return Ge(t)&&Ze(e)?Qe(en(t),e):function(n){var r=mn(n,t);return void 0===r&&r===e?bn(n,t):xe(e,r,void 0,s|a)}}function $e(t,e,n){var r=-1;e=et(e.length?e:[xn],st(Me));var i=ke(t,(function(t,n,i){var o=et(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return it(i,(function(t,e){return Fe(t,e,n)}))}function Te(t){return function(e){return me(e,t)}}function Ie(t){if("string"==typeof t)return t;if(gn(t))return Dt?Dt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Pe(t){return cn(t)?t:tn(t)}function Ce(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t===t,o=gn(t),s=void 0!==e,a=null===e,c=e===e,u=gn(e);if(!a&&!u&&!o&&t>e||o&&s&&c&&!a&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!o&&!u&&t<e||u&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!c)return-1}return 0}function Fe(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;while(++r<s){var c=Ce(i[r],o[r]);if(c){if(r>=a)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}function Ne(t,e){return function(n,r){if(null==n)return n;if(!un(n))return t(n,r);var i=n.length,o=e?i:-1,s=Object(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function Re(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function De(t,e,n,r,i,o){var c=i&a,u=t.length,l=e.length;if(u!=l&&!(c&&l>u))return!1;var f=o.get(t);if(f&&o.get(e))return f==e;var h=-1,p=!0,d=i&s?new ie:void 0;o.set(t,e),o.set(e,t);while(++h<u){var g=t[h],v=e[h];if(r)var y=c?r(v,g,h,e,t,o):r(g,v,h,t,e,o);if(void 0!==y){if(y)continue;p=!1;break}if(d){if(!nt(e,(function(t,e){if(!d.has(e)&&(g===t||n(g,t,r,i,o)))return d.add(e)}))){p=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){p=!1;break}}return o["delete"](t),o["delete"](e),p}function We(t,e,n,r,i,o,c){switch(n){case E:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case M:return!(t.byteLength!=e.byteLength||!r(new _t(t),new _t(e)));case h:case p:case m:return sn(+t,+e);case d:return t.name==e.name&&t.message==e.message;case x:case S:return t==e+"";case y:var u=ut;case _:var l=o&a;if(u||(u=ft),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;o|=s,c.set(t,e);var g=De(u(t),u(e),r,i,o,c);return c["delete"](t),g;case O:if(Rt)return Rt.call(t)==Rt.call(e)}return!1}function Ve(t,e,n,r,i,o){var s=i&a,c=wn(t),u=c.length,l=wn(e),f=l.length;if(u!=f&&!s)return!1;var h=u;while(h--){var p=c[h];if(!(s?p in e:mt.call(e,p)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++h<u){p=c[h];var y=t[p],m=e[p];if(r)var b=s?r(m,y,p,e,t,o):r(y,m,p,t,e,o);if(!(void 0===b?y===m||n(y,m,r,i,o):b)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return o["delete"](t),o["delete"](e),g}function Be(t,e){var n=t.__data__;return Xe(e)?n["string"==typeof e?"string":"hash"]:n.map}function ze(t){var e=wn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,Ze(i)]}return e}function qe(t,e){var n=at(t,e);return Oe(n)?n:void 0}var He=be;function Ue(t,e,n){e=Ge(e,t)?[e]:Pe(e);var r,i=-1,o=e.length;while(++i<o){var s=en(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&hn(o)&&Ke(s,o)&&(cn(t)||an(t))}function Ke(t,e){return e=null==e?u:e,!!e&&("number"==typeof t||q.test(t))&&t>-1&&t%1==0&&t<e}function Ge(t,e){if(cn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!gn(t))||(R.test(t)||!N.test(t)||null!=e&&t in Object(e))}function Xe(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Je(t){return!!vt&&vt in t}function Ye(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||dt;return t===n}function Ze(t){return t===t&&!pn(t)}function Qe(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(Mt&&He(new Mt(new ArrayBuffer(1)))!=E||Et&&He(new Et)!=y||kt&&He(kt.resolve())!=w||At&&He(new At)!=_||Lt&&He(new Lt)!=j)&&(He=function(t){var e=bt.call(t),n=e==b?t.constructor:void 0,r=n?nn(n):void 0;if(r)switch(r){case Tt:return E;case It:return y;case Pt:return w;case Ct:return _;case Ft:return j}return e});var tn=on((function(t){t=yn(t);var e=[];return D.test(t)&&e.push(""),t.replace(W,(function(t,n,r,i){e.push(r?i.replace(B,"$1"):n||t)})),e}));function en(t){if("string"==typeof t||gn(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function nn(t){if(null!=t){try{return yt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function rn(t,e,n,r){return null==t?[]:(cn(e)||(e=null==e?[]:[e]),n=r?void 0:n,cn(n)||(n=null==n?[]:[n]),$e(t,e,n))}function on(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(on.Cache||Zt),n}function sn(t,e){return t===e||t!==t&&e!==e}function an(t){return ln(t)&&mt.call(t,"callee")&&(!St.call(t,"callee")||bt.call(t)==l)}on.Cache=Zt;var cn=Array.isArray;function un(t){return null!=t&&hn(t.length)&&!fn(t)}function ln(t){return dn(t)&&un(t)}function fn(t){var e=pn(t)?bt.call(t):"";return e==g||e==v}function hn(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function pn(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function dn(t){return!!t&&"object"==typeof t}function gn(t){return"symbol"==typeof t||dn(t)&&bt.call(t)==O}var vn=tt?st(tt):je;function yn(t){return null==t?"":Ie(t)}function mn(t,e,n){var r=null==t?void 0:me(t,e);return void 0===r?n:r}function bn(t,e){return null!=t&&Ue(t,e,we)}function wn(t){return un(t)?pe(t):Ee(t)}function xn(t){return t}function _n(t){return Ge(t)?rt(en(t)):Te(t)}t.exports=rn}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,n),o.loaded=!0,o.exports}!function(){n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,{a:e}),e}}(),function(){n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){n.p=""}();var r={};return function(){"use strict";n.r(r),n.d(r,{SpruceAtLeast:function(){return f},SpruceCling:function(){return pe},SpruceEvent:function(){return ye},SpruceFetch:function(){return xe},SpruceFunction:function(){return je},SprucePaginate:function(){return Ie},SpruceSearch:function(){return ir},SpruceSort:function(){return _r},SpruceState:function(){return Mr},SpruceTagInput:function(){return Lr},SpruceToggle:function(){return Pr},SpruceWatch:function(){return Rr},default:function(){return zr}});var t={};if(n.r(t),n.d(t,{SpruceAtLeast:function(){return f},SpruceCling:function(){return pe},SpruceEvent:function(){return ye},SpruceFetch:function(){return xe},SpruceFunction:function(){return je},SprucePaginate:function(){return Ie},SpruceSearch:function(){return ir},SpruceSort:function(){return _r},SpruceState:function(){return Mr},SpruceTagInput:function(){return Lr},SpruceToggle:function(){return Pr},SpruceWatch:function(){return Rr}}),"undefined"!==typeof window){var e=window.document.currentScript,i=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var o,s,a={name:"SpruceAtLeast",props:{ms:{required:!0,type:Number},show:{default:!0,type:Boolean}},data(){return{localShow:this.show,promise:null,disabled:!1}},watch:{show:{immediate:!0,handler(t){t?this.start():this.end()}}},methods:{end(){this.disabled=!0,Promise.all([Promise.resolve(),this.promise]).then((()=>{this.localShow=!1,this.disabled=!1}))},start(){this.localShow=!0,this.promise=new Promise((t=>{setTimeout(t,this.ms)}))}},render(){return this.$scopedSlots.default({disabled:this.disabled,show:this.localShow})}},c=a;function u(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var l=u(c,o,s,!1,null,null,null),f=l.exports;n(7658);function h(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function p(t){var e=h(t).Element;return t instanceof e||t instanceof Element}function d(t){var e=h(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function g(t){if("undefined"===typeof ShadowRoot)return!1;var e=h(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}var v=Math.max,y=Math.min,m=Math.round;function b(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function w(){return!/^((?!chrome|android).)*safari/i.test(b())}function x(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&d(t)&&(i=t.offsetWidth>0&&m(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&m(r.height)/t.offsetHeight||1);var s=p(t)?h(t):window,a=s.visualViewport,c=!w()&&n,u=(r.left+(c&&a?a.offsetLeft:0))/i,l=(r.top+(c&&a?a.offsetTop:0))/o,f=r.width/i,g=r.height/o;return{width:f,height:g,top:l,right:u+f,bottom:l+g,left:u,x:u,y:l}}function _(t){var e=h(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function S(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function O(t){return t!==h(t)&&d(t)?S(t):_(t)}function j(t){return t?(t.nodeName||"").toLowerCase():null}function M(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function E(t){return x(M(t)).left+_(t).scrollLeft}function k(t){return h(t).getComputedStyle(t)}function A(t){var e=k(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function L(t){var e=t.getBoundingClientRect(),n=m(e.width)/t.offsetWidth||1,r=m(e.height)/t.offsetHeight||1;return 1!==n||1!==r}function $(t,e,n){void 0===n&&(n=!1);var r=d(e),i=d(e)&&L(e),o=M(e),s=x(t,i,n),a={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&(("body"!==j(e)||A(o))&&(a=O(e)),d(e)?(c=x(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=E(o))),{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function T(t){var e=x(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function I(t){return"html"===j(t)?t:t.assignedSlot||t.parentNode||(g(t)?t.host:null)||M(t)}function P(t){return["html","body","#document"].indexOf(j(t))>=0?t.ownerDocument.body:d(t)&&A(t)?t:P(I(t))}function C(t,e){var n;void 0===e&&(e=[]);var r=P(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),o=h(r),s=i?[o].concat(o.visualViewport||[],A(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(C(I(s)))}function F(t){return["table","td","th"].indexOf(j(t))>=0}function N(t){return d(t)&&"fixed"!==k(t).position?t.offsetParent:null}function R(t){var e=/firefox/i.test(b()),n=/Trident/i.test(b());if(n&&d(t)){var r=k(t);if("fixed"===r.position)return null}var i=I(t);g(i)&&(i=i.host);while(d(i)&&["html","body"].indexOf(j(i))<0){var o=k(i);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return i;i=i.parentNode}return null}function D(t){var e=h(t),n=N(t);while(n&&F(n)&&"static"===k(n).position)n=N(n);return n&&("html"===j(n)||"body"===j(n)&&"static"===k(n).position)?e:n||R(t)||e}var W="top",V="bottom",B="right",z="left",q="auto",H=[W,V,B,z],U="start",K="end",G="clippingParents",X="viewport",J="popper",Y="reference",Z=H.reduce((function(t,e){return t.concat([e+"-"+U,e+"-"+K])}),[]),Q=[].concat(H,[q]).reduce((function(t,e){return t.concat([e,e+"-"+U,e+"-"+K])}),[]),tt="beforeRead",et="read",nt="afterRead",rt="beforeMain",it="main",ot="afterMain",st="beforeWrite",at="write",ct="afterWrite",ut=[tt,et,nt,rt,it,ot,st,at,ct];function lt(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name);var o=[].concat(t.requires||[],t.requiresIfExists||[]);o.forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}function ft(t){var e=lt(t);return ut.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function ht(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function pt(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?dt:i;return function(t,e,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},dt,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},s=[],a=!1,c={state:i,setOptions:function(n){var s="function"===typeof n?n(i.options):n;l(),i.options=Object.assign({},o,i.options,s),i.scrollParents={reference:p(t)?C(t):t.contextElement?C(t.contextElement):[],popper:C(e)};var a=ft(pt([].concat(r,i.options.modifiers)));return i.orderedModifiers=a.filter((function(t){return t.enabled})),u(),c.update()},forceUpdate:function(){if(!a){var t=i.elements,e=t.reference,n=t.popper;if(gt(e,n)){i.rects={reference:$(e,D(n),"fixed"===i.options.strategy),popper:T(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(t){return i.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],s=o.fn,u=o.options,l=void 0===u?{}:u,f=o.name;"function"===typeof s&&(i=s({state:i,options:l,name:f,instance:c})||i)}else i.reset=!1,r=-1}}},update:ht((function(){return new Promise((function(t){c.forceUpdate(),t(i)}))})),destroy:function(){l(),a=!0}};if(!gt(t,e))return c;function u(){i.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"===typeof o){var a=o({state:i,name:e,instance:c,options:r}),u=function(){};s.push(a||u)}}))}function l(){s.forEach((function(t){return t()})),s=[]}return c.setOptions(n).then((function(t){!a&&n.onFirstUpdate&&n.onFirstUpdate(t)})),c}}var yt={passive:!0};function mt(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,c=h(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",n.update,yt)})),a&&c.addEventListener("resize",n.update,yt),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",n.update,yt)})),a&&c.removeEventListener("resize",n.update,yt)}}var bt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:mt,data:{}};function wt(t){return t.split("-")[0]}function xt(t){return t.split("-")[1]}function _t(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function St(t){var e,n=t.reference,r=t.element,i=t.placement,o=i?wt(i):null,s=i?xt(i):null,a=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case W:e={x:a,y:n.y-r.height};break;case V:e={x:a,y:n.y+n.height};break;case B:e={x:n.x+n.width,y:c};break;case z:e={x:n.x-r.width,y:c};break;default:e={x:n.x,y:n.y}}var u=o?_t(o):null;if(null!=u){var l="y"===u?"height":"width";switch(s){case U:e[u]=e[u]-(n[l]/2-r[l]/2);break;case K:e[u]=e[u]+(n[l]/2-r[l]/2);break;default:}}return e}function Ot(t){var e=t.state,n=t.name;e.modifiersData[n]=St({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var jt={name:"popperOffsets",enabled:!0,phase:"read",fn:Ot,data:{}},Mt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Et(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:m(n*i)/i||0,y:m(r*i)/i||0}}function kt(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,u=t.adaptive,l=t.roundOffsets,f=t.isFixed,p=s.x,d=void 0===p?0:p,g=s.y,v=void 0===g?0:g,y="function"===typeof l?l({x:d,y:v}):{x:d,y:v};d=y.x,v=y.y;var m=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),w=z,x=W,_=window;if(u){var S=D(n),O="clientHeight",j="clientWidth";if(S===h(n)&&(S=M(n),"static"!==k(S).position&&"absolute"===a&&(O="scrollHeight",j="scrollWidth")),i===W||(i===z||i===B)&&o===K){x=V;var E=f&&S===_&&_.visualViewport?_.visualViewport.height:S[O];v-=E-r.height,v*=c?1:-1}if(i===z||(i===W||i===V)&&o===K){w=B;var A=f&&S===_&&_.visualViewport?_.visualViewport.width:S[j];d-=A-r.width,d*=c?1:-1}}var L,$=Object.assign({position:a},u&&Mt),T=!0===l?Et({x:d,y:v},h(n)):{x:d,y:v};return d=T.x,v=T.y,c?Object.assign({},$,(L={},L[x]=b?"0":"",L[w]=m?"0":"",L.transform=(_.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",L)):Object.assign({},$,(e={},e[x]=b?v+"px":"",e[w]=m?d+"px":"",e.transform="",e))}function At(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,u={placement:wt(e.placement),variation:xt(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,kt(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,kt(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var Lt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:At,data:{}};function $t(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];d(i)&&j(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))}function Tt(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),s=o.reduce((function(t,e){return t[e]="",t}),{});d(r)&&j(r)&&(Object.assign(r.style,s),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}}var It={name:"applyStyles",enabled:!0,phase:"write",fn:$t,effect:Tt,requires:["computeStyles"]},Pt=[bt,jt,Lt,It],Ct=vt({defaultModifiers:Pt}),Ft={left:"right",right:"left",bottom:"top",top:"bottom"};function Nt(t){return t.replace(/left|right|bottom|top/g,(function(t){return Ft[t]}))}var Rt={start:"end",end:"start"};function Dt(t){return t.replace(/start|end/g,(function(t){return Rt[t]}))}function Wt(t,e){var n=h(t),r=M(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;var u=w();(u||!u&&"fixed"===e)&&(a=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:a+E(t),y:c}}function Vt(t){var e,n=M(t),r=_(t),i=null==(e=t.ownerDocument)?void 0:e.body,o=v(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=v(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+E(t),c=-r.scrollTop;return"rtl"===k(i||n).direction&&(a+=v(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}function Bt(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&g(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function zt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function qt(t,e){var n=x(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ht(t,e,n){return e===X?zt(Wt(t,n)):p(e)?qt(e,n):zt(Vt(M(t)))}function Ut(t){var e=C(I(t)),n=["absolute","fixed"].indexOf(k(t).position)>=0,r=n&&d(t)?D(t):t;return p(r)?e.filter((function(t){return p(t)&&Bt(t,r)&&"body"!==j(t)})):[]}function Kt(t,e,n,r){var i="clippingParents"===e?Ut(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce((function(e,n){var i=Ht(t,n,r);return e.top=v(i.top,e.top),e.right=y(i.right,e.right),e.bottom=y(i.bottom,e.bottom),e.left=v(i.left,e.left),e}),Ht(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Gt(){return{top:0,right:0,bottom:0,left:0}}function Xt(t){return Object.assign({},Gt(),t)}function Jt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Yt(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,o=n.strategy,s=void 0===o?t.strategy:o,a=n.boundary,c=void 0===a?G:a,u=n.rootBoundary,l=void 0===u?X:u,f=n.elementContext,h=void 0===f?J:f,d=n.altBoundary,g=void 0!==d&&d,v=n.padding,y=void 0===v?0:v,m=Xt("number"!==typeof y?y:Jt(y,H)),b=h===J?Y:J,w=t.rects.popper,_=t.elements[g?b:h],S=Kt(p(_)?_:_.contextElement||M(t.elements.popper),c,l,s),O=x(t.elements.reference),j=St({reference:O,element:w,strategy:"absolute",placement:i}),E=zt(Object.assign({},w,j)),k=h===J?E:O,A={top:S.top-k.top+m.top,bottom:k.bottom-S.bottom+m.bottom,left:S.left-k.left+m.left,right:k.right-S.right+m.right},L=t.modifiersData.offset;if(h===J&&L){var $=L[i];Object.keys(A).forEach((function(t){var e=[B,V].indexOf(t)>=0?1:-1,n=[W,V].indexOf(t)>=0?"y":"x";A[t]+=$[n]*e}))}return A}function Zt(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?Q:c,l=xt(r),f=l?a?Z:Z.filter((function(t){return xt(t)===l})):H,h=f.filter((function(t){return u.indexOf(t)>=0}));0===h.length&&(h=f);var p=h.reduce((function(e,n){return e[n]=Yt(t,{placement:n,boundary:i,rootBoundary:o,padding:s})[wt(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}function Qt(t){if(wt(t)===q)return[];var e=Nt(t);return[Dt(t),e,Dt(e)]}function te(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,u=n.padding,l=n.boundary,f=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,d=void 0===p||p,g=n.allowedAutoPlacements,v=e.options.placement,y=wt(v),m=y===v,b=c||(m||!d?[Nt(v)]:Qt(v)),w=[v].concat(b).reduce((function(t,n){return t.concat(wt(n)===q?Zt(e,{placement:n,boundary:l,rootBoundary:f,padding:u,flipVariations:d,allowedAutoPlacements:g}):n)}),[]),x=e.rects.reference,_=e.rects.popper,S=new Map,O=!0,j=w[0],M=0;M<w.length;M++){var E=w[M],k=wt(E),A=xt(E)===U,L=[W,V].indexOf(k)>=0,$=L?"width":"height",T=Yt(e,{placement:E,boundary:l,rootBoundary:f,altBoundary:h,padding:u}),I=L?A?B:z:A?V:W;x[$]>_[$]&&(I=Nt(I));var P=Nt(I),C=[];if(o&&C.push(T[k]<=0),a&&C.push(T[I]<=0,T[P]<=0),C.every((function(t){return t}))){j=E,O=!1;break}S.set(E,C)}if(O)for(var F=d?3:1,N=function(t){var e=w.find((function(e){var n=S.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return j=e,"break"},R=F;R>0;R--){var D=N(R);if("break"===D)break}e.placement!==j&&(e.modifiersData[r]._skip=!0,e.placement=j,e.reset=!0)}}var ee,ne,re,ie,oe,se,ae,ce,ue={name:"flip",enabled:!0,phase:"main",fn:te,requiresIfExists:["offset"],data:{_skip:!1}},le={name:"SpruceCling",props:{modifiers:{default:()=>[],type:Array},placement:{default:"auto",type:String}},data(){return{popper:null}},watch:{modifiers(){this.init()},placement(){this.init()}},async mounted(){await this.$forceUpdate(),this.init()},methods:{init(){this.popper&&this.popper.destroy();const t=this.$el.querySelector("[spruce-cling-anchor]"),e=this.$el.querySelector("[spruce-cling-clinger]"),n={modifiers:[...this.modifiers],placement:this.placement};this.placement.indexOf("auto")>-1&&n.modifiers.push(ue),this.popper=Ct(t,e,n)},update(){this.popper.update()}},render(t){const e={update:this.update},n=this.$scopedSlots.anchor(e)[0],r=n.data||{},i=r.attrs||{},o=this.$scopedSlots.clinger(e)[0],s=o.data||{},a=s.attrs||{};return n.data={...r,attrs:{...i,"spruce-cling-anchor":!0}},o.data={...s,attrs:{...a,"spruce-cling-clinger":!0}},t("div",[n,o])}},fe=le,he=u(fe,ee,ne,!1,null,null,null),pe=he.exports,de={name:"SpruceEvent",props:{event:{type:String,required:!0},immediate:{default:!1,type:Boolean},outside:{default:!1,type:Boolean}},mounted(){this.handleEvent=this.handleEvent.bind(this),window.addEventListener(this.event,this.handleEvent),this.immediate&&window.dispatchEvent(new Event(this.event))},beforeDestroy(){window.removeEventListener(this.event,this.handleEvent)},methods:{handleEvent(t){var e,n;const r=null===(e=this.$slots.default)||void 0===e?void 0:e[0];return r&&t.target!==window?this.outside?!(null!==r&&void 0!==r&&null!==(i=r.elm)&&void 0!==i&&i.contains(t.target))&&this.$emit(this.event,t):void((null===r||void 0===r||null===(n=r.elm)||void 0===n?void 0:n.contains(t.target))&&this.$emit(this.event,t)):this.$emit(this.event,t);var i}},render(){var t;return null!==(t=this.$slots.default)&&void 0!==t?t:null}},ge=de,ve=u(ge,re,ie,!1,null,null,null),ye=ve.exports,me={name:"SpruceFetch",props:{url:{type:String,required:!0},immediate:{default:!0,type:Boolean}},data(){return{data:null,error:null,loading:!1,calls:0}},watch:{url(){this.reset()}},mounted(){this.immediate&&this.fetch()},methods:{reset(){return this.calls=0,this.data=null,this.error=null,this.loading=!1,this.fetch()},async fetch(){if(!this.loading){this.loading=!0;try{const t=await fetch(this.url,{method:"GET"}),e=await t.json();t.ok?(this.data=e,this.error=null,this.$emit("success",{data:t,fetch:this.fetch})):(this.data=null,this.error={data:e,status:t.status},this.$emit("error",{data:t,fetch:this.fetch}))}catch(t){this.error={data:t},this.data=null,this.$emit("error",{data:t,fetch:this.fetch})}this.calls++,this.loading=!1}}},render(){return this.$scopedSlots.default({calls:this.calls,data:this.data,error:this.error,loading:this.loading,fetch:this.fetch})}},be=me,we=u(be,oe,se,!1,null,null,null),xe=we.exports,_e={name:"SpruceFunction",props:{fn:{type:Function,required:!0}},render(){return this.$scopedSlots.default({fn:this.fn})}},Se=_e,Oe=u(Se,ae,ce,!1,null,null,null),je=Oe.exports;n(541);const Me=(t,e)=>Array.from({length:Math.ceil(t.length/e)},((n,r)=>t.slice(r*e,r*e+e))),Ee=(t,e)=>{const n=2;let r=[];for(let i=Math.max(2,t-n);i<=Math.min(e-1,t+n);i++)r.push(i);return t-n>2&&r.unshift("..."),t+n<e-1&&r.push("..."),r.unshift(1),r.push(e),r};var ke,Ae,Le={name:"SprucePaginate",props:{size:{type:Number,required:!0},list:{type:Array,required:!0}},data(){return{pageIndex:0}},computed:{isFirst(){return 0===this.pageIndex},isLast(){return this.pageNum===this.pages.length},links(){return Ee(this.pageNum,this.pages.length)},pageNum(){return this.pageIndex+1},pages(){return Me(this.list,this.size)},page(){return this.pages[this.pageIndex]},totalPages(){return this.pages.length},rangeStart(){return this.page?this.size*this.pageIndex+1:0},rangeEnd(){return this.page?this.rangeStart+this.page.length-1:0}},watch:{size(){this.reset()},list(){this.reset()}},methods:{first(){this.pageIndex=0},go(t){this.pages[t-1]&&(this.pageIndex=t-1)},last(){this.pageIndex=Math.max(this.totalPages-1,0)},next(){this.pageIndex=this.isLast?this.pageIndex:this.pageIndex+1},prev(){this.pageIndex=this.isFirst?this.pageIndex:this.pageIndex-1},reset(){this.pageIndex=0}},render(){return this.$scopedSlots.default({isFirst:this.isFirst,isLast:this.isLast,first:this.first,go:this.go,last:this.last,links:this.links,next:this.next,page:this.page,pageNum:this.pageNum,pages:this.pages,prev:this.prev,rangeEnd:this.rangeEnd,rangeStart:this.rangeStart,reset:this.reset,totalPages:this.totalPages})}},$e=Le,Te=u($e,ke,Ae,!1,null,null,null),Ie=Te.exports;function Pe(t){return Array.isArray?Array.isArray(t):"[object Array]"===He(t)}const Ce=1/0;function Fe(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-Ce?"-0":e}function Ne(t){return null==t?"":Fe(t)}function Re(t){return"string"===typeof t}function De(t){return"number"===typeof t}function We(t){return!0===t||!1===t||Be(t)&&"[object Boolean]"==He(t)}function Ve(t){return"object"===typeof t}function Be(t){return Ve(t)&&null!==t}function ze(t){return void 0!==t&&null!==t}function qe(t){return!t.trim().length}function He(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Ue="Incorrect 'index' type",Ke=t=>`Invalid value for key ${t}`,Ge=t=>`Pattern length exceeds max of ${t}.`,Xe=t=>`Missing ${t} property in key`,Je=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ye=Object.prototype.hasOwnProperty;class Ze{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach((t=>{let n=Qe(t);e+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight})),this._keys.forEach((t=>{t.weight/=e}))}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Qe(t){let e=null,n=null,r=null,i=1,o=null;if(Re(t)||Pe(t))r=t,e=tn(t),n=en(t);else{if(!Ye.call(t,"name"))throw new Error(Xe("name"));const s=t.name;if(r=s,Ye.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Je(s));e=tn(s),n=en(s),o=t.getFn}return{path:e,id:n,weight:i,src:r,getFn:o}}function tn(t){return Pe(t)?t:t.split(".")}function en(t){return Pe(t)?t.join("."):t}function nn(t,e){let n=[],r=!1;const i=(t,e,o)=>{if(ze(t))if(e[o]){let s=e[o];const a=t[s];if(!ze(a))return;if(o===e.length-1&&(Re(a)||De(a)||We(a)))n.push(Ne(a));else if(Pe(a)){r=!0;for(let t=0,n=a.length;t<n;t+=1)i(a[t],e,o+1)}else e.length&&i(a,e,o+1)}else n.push(t)};return i(t,Re(e)?e.split("."):e,0),r?n:n[0]}const rn={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},on={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},sn={location:0,threshold:.6,distance:100},an={useExtendedSearch:!1,getFn:nn,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var cn={...on,...rn,...sn,...an};const un=/[^ ]+/g;function ln(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(e){const i=e.match(un).length;if(n.has(i))return n.get(i);const o=1/Math.pow(i,.5*t),s=parseFloat(Math.round(o*r)/r);return n.set(i,s),s},clear(){n.clear()}}}class fn{constructor({getFn:t=cn.getFn,fieldNormWeight:e=cn.fieldNormWeight}={}){this.norm=ln(e,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach(((t,e)=>{this._keysMap[t.id]=e}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,Re(this.docs[0])?this.docs.forEach(((t,e)=>{this._addString(t,e)})):this.docs.forEach(((t,e)=>{this._addObject(t,e)})),this.norm.clear())}add(t){const e=this.size();Re(t)?this._addString(t,e):this._addObject(t,e)}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!ze(t)||qe(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}_addObject(t,e){let n={i:e,$:{}};this.keys.forEach(((e,r)=>{let i=e.getFn?e.getFn(t):this.getFn(t,e.path);if(ze(i))if(Pe(i)){let t=[];const e=[{nestedArrIndex:-1,value:i}];while(e.length){const{nestedArrIndex:n,value:r}=e.pop();if(ze(r))if(Re(r)&&!qe(r)){let e={v:r,i:n,n:this.norm.get(r)};t.push(e)}else Pe(r)&&r.forEach(((t,n)=>{e.push({nestedArrIndex:n,value:t})}))}n.$[r]=t}else if(Re(i)&&!qe(i)){let t={v:i,n:this.norm.get(i)};n.$[r]=t}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function hn(t,e,{getFn:n=cn.getFn,fieldNormWeight:r=cn.fieldNormWeight}={}){const i=new fn({getFn:n,fieldNormWeight:r});return i.setKeys(t.map(Qe)),i.setSources(e),i.create(),i}function pn(t,{getFn:e=cn.getFn,fieldNormWeight:n=cn.fieldNormWeight}={}){const{keys:r,records:i}=t,o=new fn({getFn:e,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o}function dn(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:i=cn.distance,ignoreLocation:o=cn.ignoreLocation}={}){const s=e/t.length;if(o)return s;const a=Math.abs(r-n);return i?s+a/i:a?1:s}function gn(t=[],e=cn.minMatchCharLength){let n=[],r=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let s=t[o];s&&-1===r?r=o:s||-1===r||(i=o-1,i-r+1>=e&&n.push([r,i]),r=-1)}return t[o-1]&&o-r>=e&&n.push([r,o-1]),n}const vn=32;function yn(t,e,n,{location:r=cn.location,distance:i=cn.distance,threshold:o=cn.threshold,findAllMatches:s=cn.findAllMatches,minMatchCharLength:a=cn.minMatchCharLength,includeMatches:c=cn.includeMatches,ignoreLocation:u=cn.ignoreLocation}={}){if(e.length>vn)throw new Error(Ge(vn));const l=e.length,f=t.length,h=Math.max(0,Math.min(r,f));let p=o,d=h;const g=a>1||c,v=g?Array(f):[];let y;while((y=t.indexOf(e,d))>-1){let t=dn(e,{currentLocation:y,expectedLocation:h,distance:i,ignoreLocation:u});if(p=Math.min(t,p),d=y+l,g){let t=0;while(t<l)v[y+t]=1,t+=1}}d=-1;let m=[],b=1,w=l+f;const x=1<<l-1;for(let S=0;S<l;S+=1){let r=0,o=w;while(r<o){const t=dn(e,{errors:S,currentLocation:h+o,expectedLocation:h,distance:i,ignoreLocation:u});t<=p?r=o:w=o,o=Math.floor((w-r)/2+r)}w=o;let a=Math.max(1,h-o+1),c=s?f:Math.min(h+o,f)+l,y=Array(c+2);y[c+1]=(1<<S)-1;for(let s=c;s>=a;s-=1){let r=s-1,o=n[t.charAt(r)];if(g&&(v[r]=+!!o),y[s]=(y[s+1]<<1|1)&o,S&&(y[s]|=(m[s+1]|m[s])<<1|1|m[s+1]),y[s]&x&&(b=dn(e,{errors:S,currentLocation:r,expectedLocation:h,distance:i,ignoreLocation:u}),b<=p)){if(p=b,d=r,d<=h)break;a=Math.max(1,2*h-d)}}const _=dn(e,{errors:S+1,currentLocation:h,expectedLocation:h,distance:i,ignoreLocation:u});if(_>p)break;m=y}const _={isMatch:d>=0,score:Math.max(.001,b)};if(g){const t=gn(v,a);t.length?c&&(_.indices=t):_.isMatch=!1}return _}function mn(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<r-n-1}return e}class bn{constructor(t,{location:e=cn.location,threshold:n=cn.threshold,distance:r=cn.distance,includeMatches:i=cn.includeMatches,findAllMatches:o=cn.findAllMatches,minMatchCharLength:s=cn.minMatchCharLength,isCaseSensitive:a=cn.isCaseSensitive,ignoreLocation:c=cn.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c},this.pattern=a?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(t,e)=>{this.chunks.push({pattern:t,alphabet:mn(t),startIndex:e})},l=this.pattern.length;if(l>vn){let t=0;const e=l%vn,n=l-e;while(t<n)u(this.pattern.substr(t,vn),t),t+=vn;if(e){const t=l-vn;u(this.pattern.substr(t),t)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return n&&(e.indices=[[0,t.length-1]]),e}const{location:r,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:a,ignoreLocation:c}=this.options;let u=[],l=0,f=!1;this.chunks.forEach((({pattern:e,alphabet:h,startIndex:p})=>{const{isMatch:d,score:g,indices:v}=yn(t,e,h,{location:r+p,distance:i,threshold:o,findAllMatches:s,minMatchCharLength:a,includeMatches:n,ignoreLocation:c});d&&(f=!0),l+=g,d&&v&&(u=[...u,...v])}));let h={isMatch:f,score:f?l/this.chunks.length:1};return f&&n&&(h.indices=u),h}}class wn{constructor(t){this.pattern=t}static isMultiMatch(t){return xn(t,this.multiRegex)}static isSingleMatch(t){return xn(t,this.singleRegex)}search(){}}function xn(t,e){const n=t.match(e);return n?n[1]:null}class _n extends wn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const e=t===this.pattern;return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class Sn extends wn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const e=t.indexOf(this.pattern),n=-1===e;return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class On extends wn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const e=t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,this.pattern.length-1]}}}class jn extends wn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const e=!t.startsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class Mn extends wn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const e=t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class En extends wn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const e=!t.endsWith(this.pattern);return{isMatch:e,score:e?0:1,indices:[0,t.length-1]}}}class kn extends wn{constructor(t,{location:e=cn.location,threshold:n=cn.threshold,distance:r=cn.distance,includeMatches:i=cn.includeMatches,findAllMatches:o=cn.findAllMatches,minMatchCharLength:s=cn.minMatchCharLength,isCaseSensitive:a=cn.isCaseSensitive,ignoreLocation:c=cn.ignoreLocation}={}){super(t),this._bitapSearch=new bn(t,{location:e,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:s,isCaseSensitive:a,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class An extends wn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let e,n=0;const r=[],i=this.pattern.length;while((e=t.indexOf(this.pattern,n))>-1)n=e+i,r.push([e,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const Ln=[_n,An,On,jn,En,Mn,Sn,kn],$n=Ln.length,Tn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,In="|";function Pn(t,e={}){return t.split(In).map((t=>{let n=t.trim().split(Tn).filter((t=>t&&!!t.trim())),r=[];for(let i=0,o=n.length;i<o;i+=1){const t=n[i];let o=!1,s=-1;while(!o&&++s<$n){const n=Ln[s];let i=n.isMultiMatch(t);i&&(r.push(new n(i,e)),o=!0)}if(!o){s=-1;while(++s<$n){const n=Ln[s];let i=n.isSingleMatch(t);if(i){r.push(new n(i,e));break}}}}return r}))}const Cn=new Set([kn.type,An.type]);class Fn{constructor(t,{isCaseSensitive:e=cn.isCaseSensitive,includeMatches:n=cn.includeMatches,minMatchCharLength:r=cn.minMatchCharLength,ignoreLocation:i=cn.ignoreLocation,findAllMatches:o=cn.findAllMatches,location:s=cn.location,threshold:a=cn.threshold,distance:c=cn.distance}={}){this.query=null,this.options={isCaseSensitive:e,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:i,location:s,threshold:a,distance:c},this.pattern=e?t:t.toLowerCase(),this.query=Pn(this.pattern,this.options)}static condition(t,e){return e.useExtendedSearch}searchIn(t){const e=this.query;if(!e)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let i=0,o=[],s=0;for(let a=0,c=e.length;a<c;a+=1){const r=e[a];o.length=0,i=0;for(let e=0,a=r.length;e<a;e+=1){const a=r[e],{isMatch:c,indices:u,score:l}=a.search(t);if(!c){s=0,i=0,o.length=0;break}if(i+=1,s+=l,n){const t=a.constructor.type;Cn.has(t)?o=[...o,...u]:o.push(u)}}if(i){let t={isMatch:!0,score:s/i};return n&&(t.indices=o),t}}return{isMatch:!1,score:1}}}const Nn=[];function Rn(...t){Nn.push(...t)}function Dn(t,e){for(let n=0,r=Nn.length;n<r;n+=1){let r=Nn[n];if(r.condition(t,e))return new r(t,e)}return new bn(t,e)}const Wn={AND:"$and",OR:"$or"},Vn={PATH:"$path",PATTERN:"$val"},Bn=t=>!(!t[Wn.AND]&&!t[Wn.OR]),zn=t=>!!t[Vn.PATH],qn=t=>!Pe(t)&&Ve(t)&&!Bn(t),Hn=t=>({[Wn.AND]:Object.keys(t).map((e=>({[e]:t[e]})))});function Un(t,e,{auto:n=!0}={}){const r=t=>{let i=Object.keys(t);const o=zn(t);if(!o&&i.length>1&&!Bn(t))return r(Hn(t));if(qn(t)){const r=o?t[Vn.PATH]:i[0],s=o?t[Vn.PATTERN]:t[r];if(!Re(s))throw new Error(Ke(r));const a={keyId:en(r),pattern:s};return n&&(a.searcher=Dn(s,e)),a}let s={children:[],operator:i[0]};return i.forEach((e=>{const n=t[e];Pe(n)&&n.forEach((t=>{s.children.push(r(t))}))})),s};return Bn(t)||(t=Hn(t)),r(t)}function Kn(t,{ignoreFieldNorm:e=cn.ignoreFieldNorm}){t.forEach((t=>{let n=1;t.matches.forEach((({key:t,norm:r,score:i})=>{const o=t?t.weight:null;n*=Math.pow(0===i&&o?Number.EPSILON:i,(o||1)*(e?1:r))})),t.score=n}))}function Gn(t,e){const n=t.matches;e.matches=[],ze(n)&&n.forEach((t=>{if(!ze(t.indices)||!t.indices.length)return;const{indices:n,value:r}=t;let i={indices:n,value:r};t.key&&(i.key=t.key.src),t.idx>-1&&(i.refIndex=t.idx),e.matches.push(i)}))}function Xn(t,e){e.score=t.score}function Jn(t,e,{includeMatches:n=cn.includeMatches,includeScore:r=cn.includeScore}={}){const i=[];return n&&i.push(Gn),r&&i.push(Xn),t.map((t=>{const{idx:n}=t,r={item:e[n],refIndex:n};return i.length&&i.forEach((e=>{e(t,r)})),r}))}class Yn{constructor(t,e={},n){this.options={...cn,...e},this.options.useExtendedSearch,this._keyStore=new Ze(this.options.keys),this.setCollection(t,n)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof fn))throw new Error(Ue);this._myIndex=e||hn(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){ze(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=(()=>!1)){const e=[];for(let n=0,r=this._docs.length;n<r;n+=1){const i=this._docs[n];t(i,n)&&(this.removeAt(n),n-=1,r-=1,e.push(i))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:e=-1}={}){const{includeMatches:n,includeScore:r,shouldSort:i,sortFn:o,ignoreFieldNorm:s}=this.options;let a=Re(t)?Re(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return Kn(a,{ignoreFieldNorm:s}),i&&a.sort(o),De(e)&&e>-1&&(a=a.slice(0,e)),Jn(a,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(t){const e=Dn(t,this.options),{records:n}=this._myIndex,r=[];return n.forEach((({v:t,i:n,n:i})=>{if(!ze(t))return;const{isMatch:o,score:s,indices:a}=e.searchIn(t);o&&r.push({item:t,idx:n,matches:[{score:s,value:t,norm:i,indices:a}]})})),r}_searchLogical(t){const e=Un(t,this.options),n=(t,e,r)=>{if(!t.children){const{keyId:n,searcher:i}=t,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(e,n),searcher:i});return o&&o.length?[{idx:r,item:e,matches:o}]:[]}const i=[];for(let o=0,s=t.children.length;o<s;o+=1){const s=t.children[o],a=n(s,e,r);if(a.length)i.push(...a);else if(t.operator===Wn.AND)return[]}return i},r=this._myIndex.records,i={},o=[];return r.forEach((({$:t,i:r})=>{if(ze(t)){let s=n(e,t,r);s.length&&(i[r]||(i[r]={idx:r,item:t,matches:[]},o.push(i[r])),s.forEach((({matches:t})=>{i[r].matches.push(...t)})))}})),o}_searchObjectList(t){const e=Dn(t,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach((({$:t,i:r})=>{if(!ze(t))return;let o=[];n.forEach(((n,r)=>{o.push(...this._findMatches({key:n,value:t[r],searcher:e}))})),o.length&&i.push({idx:r,item:t,matches:o})})),i}_findMatches({key:t,value:e,searcher:n}){if(!ze(e))return[];let r=[];if(Pe(e))e.forEach((({v:e,i:i,n:o})=>{if(!ze(e))return;const{isMatch:s,score:a,indices:c}=n.searchIn(e);s&&r.push({score:a,key:t,value:e,idx:i,norm:o,indices:c})}));else{const{v:i,n:o}=e,{isMatch:s,score:a,indices:c}=n.searchIn(i);s&&r.push({score:a,key:t,value:i,norm:o,indices:c})}return r}}Yn.version="6.6.2",Yn.createIndex=hn,Yn.parseIndex=pn,Yn.config=cn,Yn.parseQuery=Un,Rn(Fn);const Zn=.6;var Qn,tr,er={name:"SpruceSearch",props:{keys:{type:Array,default:()=>[]},list:{type:Array,required:!0},term:{type:String,default:""},threshold:{type:Number,default:Zn}},computed:{results(){if(!this.term||!this.list.length)return this.list;const t=this.list[0],e="object"===typeof t,n=e?this.keys.length?this.keys:Object.keys(t):[],r=new Yn(this.list,{includeScore:!1,shouldSort:!1,threshold:this.threshold,keys:n});return r.search(this.term).map((({item:t})=>t))}},render(){return this.$scopedSlots.default({results:this.results})}},nr=er,rr=u(nr,Qn,tr,!1,null,null,null),ir=rr.exports,or=n(5316),sr=n.n(or);const ar=(t,e,n)=>sr()(t,[t=>cr(t,e)],n),cr=(t,e)=>{const n=t[e];return"string"===typeof n?n.toLowerCase():n};var ur,lr,fr,hr,pr,dr,gr,vr,yr,mr,br={name:"SpruceSort",props:{list:{type:Array,required:!0},direction:{type:String,default:"asc",validator:t=>["asc","desc"].includes(t)},by:{default:"",type:String}},computed:{results(){return this.list.length?ar(this.list,this.by,this.direction):this.list}},watch:{results(t){this.$emit("change",t)}},render(){return this.$scopedSlots.default({results:this.results})}},wr=br,xr=u(wr,ur,lr,!1,null,null,null),_r=xr.exports,Sr={name:"SpruceState",props:{value:{type:Object,required:!0}},data(){return{localValue:null}},watch:{localValue(t){this.$emit("input",t)},value(t){this.set(t)}},beforeMount(){this.$set(this,"localValue",this.value)},methods:{set(t){this.$set(this,"localValue",{...this.localValue,...t})},update(t){console.warn("The 'update' method has been dreprecated and will be remove in the next major version. Please use 'set' instead."),this.set(t)}},render(){return this.$scopedSlots.default({...this.localValue,set:this.set})}},Or=Sr,jr=u(Or,fr,hr,!1,null,null,null),Mr=jr.exports,Er={name:"SpruceTagInput",props:{allowDuplicates:{type:Boolean,default:!1},allowPaste:{type:Boolean,default:!1},keepOnBackspace:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},maxTags:{default:null,type:Number},separator:{default:"\t",type:String},validator:{default:()=>!0,type:Function},value:{required:!0,type:Array}},data(){return{focusedTagIndex:null,newTag:""}},computed:{invalid(){return!!this.newTag.length&&(!this.validator(this.newTag)||!this.allowDuplicates&&this.value.includes(this.newTag))}},watch:{newTag(){this.focusedTagIndex=null}},methods:{add(){const t=this.newTag.trim();this.invalid||0===t.length||this.value.length===this.maxTags||(this.$emit("input",[...this.value,t]),this.newTag="")},clear(){if(this.focusedTagIndex)return this.focusedTagIndex=null;this.newTag=""},paste(t){if(!this.allowPaste)return;const e=t.clipboardData.getData("text"),n=e.split(this.separator).filter((t=>this.validator(t)));if(n.length<2)return;t.preventDefault();const r=[...this.value,...n];this.$emit("input",this.allowDuplicates?r:[...new Set(r)])},pop(){if(!this.keepOnBackspace&&!this.newTag.length&&this.value.length){if(null===this.focusedTagIndex)return this.focusedTagIndex=this.value.length-1;this.remove(this.value[this.focusedTagIndex]),this.focusedTagIndex=null}},remove(t){this.disabled||this.$emit("input",this.value.filter((e=>e!==t)))}},render(){return this.$scopedSlots.default({focusedTagIndex:this.focusedTagIndex,invalid:this.invalid,tags:this.value,remove:this.remove,state:{disabled:this.disabled,value:this.newTag},events:{input:t=>{this.newTag=t.target.value},keydown:t=>{8===t.keyCode&&this.pop(),13===t.keyCode&&(t.preventDefault(),this.add()),27===t.keyCode&&(t.preventDefault(),this.clear())},paste:t=>{this.paste(t)}},add:this.add})}},kr=Er,Ar=u(kr,pr,dr,!1,null,null,null),Lr=Ar.exports,$r={name:"SpruceToggle",props:{value:{default:!1,type:Boolean}},data(){return{localValue:this.value}},watch:{localValue(t){this.$emit("input",t)},value(t){this.localValue=t}},methods:{on(){this.localValue=!0},off(){this.localValue=!1},toggle(){this.localValue=!this.localValue}},render(){return this.$scopedSlots.default({isOn:this.localValue,on:this.on,off:this.off,toggle:this.toggle})}},Tr=$r,Ir=u(Tr,gr,vr,!1,null,null,null),Pr=Ir.exports,Cr={name:"SpruceWatch",props:{watch:{required:!0,type:Object}},data(){return{unwatchers:[]}},async mounted(){await this.$nextTick(),this.unwatchers.forEach((t=>t)),this.unwatchers=[];for(const t in this.watch)this.unwatchers.push(this.$watch(`watch.${t}`,((e,n)=>{this.$emit(`changed:${t}`,{oldValue:e,newValue:n}),this.$emit("changed",{key:t,oldValue:e,newValue:n})})))},render(){return this.$scopedSlots.default()}},Fr=Cr,Nr=u(Fr,yr,mr,!1,null,null,null),Rr=Nr.exports;const Dr={componentPrefix:"spruce"},Wr=t=>Vr(t.replace("Spruce","")),Vr=t=>t.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();function Br(e,n={}){const{componentPrefix:r}={...Dr,...n};for(const i in t){const n=t[i];e.component(`${r}-${Wr(i)}`,n)}}var zr=Br}(),r}()}));