@wisemen/vue-core-design-system 1.31.0 → 1.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -46,7 +46,7 @@ ${JSON.stringify(s,null,2)}`);a++}return n?{overflow:!0}:{match:!0,matchedChars:
46
46
  ${JSON.stringify(f,null,2)}`)}}return c?{partialMatch:!0}:void 0;case`[]`:for(var p=Ff(t.args),m;!(m=p()).done;){var h=m.value;if(e[0]===h)return e.length===1?{match:!0,matchedChars:e}:n?{overflow:!0}:{match:!0,matchedChars:[h]}}return;default:throw Error(`Unsupported instruction tree: ${t}`)}}function Kf(e){"@babel/helpers - typeof";return Kf=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Kf(e)}function qf(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Jf(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
47
47
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jf(e,t){if(e){if(typeof e==`string`)return Yf(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yf(e,t):void 0}}function Yf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Xf(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function Zf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,$f(r.key),r)}}function Qf(e,t,n){return t&&Zf(e.prototype,t),n&&Zf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function $f(e){var t=ep(e,`string`);return Kf(t)==`symbol`?t:t+``}function ep(e,t){if(Kf(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Kf(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tp=`9`,np=hf(tp,15),rp=/[- ]/,ip=!0,ap=ip&&function(){return/\[([^\[\]])*\]/g},op=ip&&function(){return/\d(?=[^,}][^,}])/g},sp=RegExp(`[`+Nc+`]*\\$1[`+Nc+`]*(\\$\\d[`+Nc+`]*)*$`),cp=3,lp=function(){function e(t){t.state;var n=t.metadata;Xf(this,e),this.metadata=n,this.resetFormat()}return Qf(e,[{key:`resetFormat`,value:function(){this.chosenFormat=void 0,this.template=void 0,this.nationalNumberTemplate=void 0,this.populatedNationalNumberTemplate=void 0,this.populatedNationalNumberTemplatePosition=-1}},{key:`reset`,value:function(e,t){this.resetFormat(),e?(this.isNANP=e.callingCode()===`1`,this.matchingFormats=e.formats(),t.nationalSignificantNumber&&this.narrowDownMatchingFormats(t)):(this.isNANP=void 0,this.matchingFormats=[])}},{key:`format`,value:function(e,t){var n=this;if(bf(t.nationalSignificantNumber,this.metadata))for(var r=qf(this.matchingFormats),i;!(i=r()).done;){var a=i.value,o=yf(t,a,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function(e){return n.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:function(e){return n.getSeparatorAfterNationalPrefix(e)}});if(o)return this.resetFormat(),this.chosenFormat=a,this.setNationalNumberTemplate(o.replace(/\d/g,`x`),t),this.populatedNationalNumberTemplate=o,this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(`x`),o}return this.formatNationalNumberWithNextDigits(e,t)}},{key:`formatNationalNumberWithNextDigits`,value:function(e,t){var n=this.chosenFormat,r=this.chooseFormat(t);if(r)return r===n?this.formatNextNationalNumberDigits(e):this.formatNextNationalNumberDigits(t.getNationalDigits())}},{key:`narrowDownMatchingFormats`,value:function(e){var t=this,n=e.nationalSignificantNumber,r=e.nationalPrefix,i=e.international,a=n,o=a.length-cp;o<0&&(o=0),this.matchingFormats=this.matchingFormats.filter(function(e){return t.formatSuits(e,i,r)&&t.formatMatches(e,a,o)}),this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1&&this.resetFormat()}},{key:`formatSuits`,value:function(e,t,n){return!(n&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!t&&!n&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat())}},{key:`formatMatches`,value:function(e,t,n){var r=e.leadingDigitsPatterns().length;if(r===0)return!0;n=Math.min(n,r-1);var i=e.leadingDigitsPatterns()[n];if(t.length<cp)try{return new Wf(i).match(t,{allowOverflow:!0})!==void 0}catch(e){return console.error(e),!0}return RegExp(`^(${i})`).test(t)}},{key:`getFormatFormat`,value:function(e,t){return t?e.internationalFormat():e.format()}},{key:`chooseFormat`,value:function(e){for(var t=this,n=function(){var n=a.value;return t.chosenFormat===n?0:sp.test(t.getFormatFormat(n,e.international))?t.createTemplateForFormat(n,e)?(t.chosenFormat=n,0):(t.matchingFormats=t.matchingFormats.filter(function(e){return e!==n}),1):1},r,i=qf(this.matchingFormats.slice()),a;!(a=i()).done&&(r=n(),r!==0););return this.chosenFormat||this.resetFormat(),this.chosenFormat}},{key:`createTemplateForFormat`,value:function(e,t){if(!(ip&&e.pattern().indexOf(`|`)>=0)){var n=this.getTemplateForFormat(e,t);if(n)return this.setNationalNumberTemplate(n,t),!0}}},{key:`getSeparatorAfterNationalPrefix`,value:function(e){return this.isNANP||e&&e.nationalPrefixFormattingRule()&&rp.test(e.nationalPrefixFormattingRule())?` `:``}},{key:`getInternationalPrefixBeforeCountryCallingCode`,value:function(e,t){var n=e.IDDPrefix,r=e.missingPlus;return n?t&&t.spacing===!1?n:n+` `:r?``:`+`}},{key:`getTemplate`,value:function(e){if(this.template){for(var t=-1,n=0,r=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:!1}):``;n<r.length+e.getDigitsWithoutInternationalPrefix().length;)t=this.template.indexOf(`x`,t+1),n++;return gf(this.template,t+1)}}},{key:`setNationalNumberTemplate`,value:function(e,t){this.nationalNumberTemplate=e,this.populatedNationalNumberTemplate=e,this.populatedNationalNumberTemplatePosition=-1,t.international?this.template=this.getInternationalPrefixBeforeCountryCallingCode(t).replace(/[\d\+]/g,`x`)+hf(`x`,t.callingCode.length)+` `+e:this.template=e}},{key:`getTemplateForFormat`,value:function(e,t){var n=t.nationalSignificantNumber,r=t.international,i=t.nationalPrefix,a=t.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,o=e.pattern();ip&&(o=o.replace(ap(),`\\d`).replace(op(),`\\d`));var s=np.match(o)[0];if(!(n.length>s.length)){var c=RegExp(`^`+o+`$`),l=n.replace(/\d/g,tp);c.test(l)&&(s=l);var u=this.getFormatFormat(e,r),d;if(this.shouldTryNationalPrefixFormattingRule(e,{international:r,nationalPrefix:i})){var f=u.replace(ku,e.nationalPrefixFormattingRule());if(Bl(e.nationalPrefixFormattingRule())===(i||``)+Bl(`$1`)&&(u=f,d=!0,i))for(var p=i.length;p>0;)u=u.replace(/\d/,`x`),p--}var m=s.replace(new RegExp(o),u).replace(new RegExp(tp,`g`),`x`);return d||(a?m=hf(`x`,a.length)+` `+m:i&&(m=hf(`x`,i.length)+this.getSeparatorAfterNationalPrefix(e)+m)),r&&(m=Ou(m)),m}}},{key:`formatNextNationalNumberDigits`,value:function(e){var t=vf(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(!t){this.resetFormat();return}return this.populatedNationalNumberTemplate=t[0],this.populatedNationalNumberTemplatePosition=t[1],gf(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:`shouldTryNationalPrefixFormattingRule`,value:function(e,t){var n=t.international,r=t.nationalPrefix;if(e.nationalPrefixFormattingRule()){var i=e.usesNationalPrefix();if(i&&r||!i&&!n)return!0}}}])}();function up(e){"@babel/helpers - typeof";return up=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},up(e)}function dp(e,t){return gp(e)||hp(e,t)||pp(e,t)||fp()}function fp(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
48
48
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pp(e,t){if(e){if(typeof e==`string`)return mp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?mp(e,t):void 0}}function mp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function hp(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function gp(e){if(Array.isArray(e))return e}function _p(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,bp(r.key),r)}}function yp(e,t,n){return t&&vp(e.prototype,t),n&&vp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bp(e){var t=xp(e,`string`);return up(t)==`symbol`?t:t+``}function xp(e,t){if(up(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(up(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Sp=`[`+Nc+Mc+`]+`,Cp=RegExp(`^`+Sp+`$`,`i`),wp=`(?:[`+Pc+`][`+Nc+Mc+`]*|[`+Nc+Mc+`]+)`,Tp=RegExp(`[^`+Nc+Mc+`]+.*$`),Ep=/[^\d\[\]]/,Dp=function(){function e(t){var n=t.defaultCountry,r=t.defaultCallingCode,i=t.metadata,a=t.onNationalSignificantNumberChange;_p(this,e),this.defaultCountry=n,this.defaultCallingCode=r,this.metadata=i,this.onNationalSignificantNumberChange=a}return yp(e,[{key:`input`,value:function(e,t){var n=dp(Ap(e),2),r=n[0],i=n[1],a=Bl(r),o;return i&&(t.digits||(t.startInternationalNumber(void 0,void 0),a||(o=!0))),a&&this.inputDigits(a,t),{digits:a,justLeadingPlus:o}}},{key:`inputDigits`,value:function(e,t){var n=t.digits,r=n.length<3&&n.length+e.length>=3;if(t.appendDigits(e),r&&this.extractIddPrefix(t),this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t))return}else t.appendNationalSignificantNumberDigits(e);t.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(t.getNationalDigits(),function(e){return t.update(e)})}},{key:`isWaitingForCountryCallingCode`,value:function(e){var t=e.international,n=e.callingCode;return t&&!n}},{key:`extractCountryCallingCode`,value:function(e){var t=Du(`+`+e.getDigitsWithoutInternationalPrefix(),e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),n=t.countryCallingCode,r=t.number;if(n)return e.setCallingCode(n),e.update({nationalSignificantNumber:r}),!0}},{key:`reset`,value:function(e){if(e){this.hasSelectedNumberingPlan=!0;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&Ep.test(t)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:`extractNationalSignificantNumber`,value:function(e,t){if(this.hasSelectedNumberingPlan){var n=gu(e,this.metadata),r=n.nationalPrefix,i=n.nationalNumber,a=n.carrierCode;if(i!==e)return this.onExtractedNationalNumber(r,a,i,e,t),!0}}},{key:`extractAnotherNationalSignificantNumber`,value:function(e,t,n){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(e,n);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var r=gu(e,this.metadata),i=r.nationalPrefix,a=r.nationalNumber,o=r.carrierCode;if(a!==t)return this.onExtractedNationalNumber(i,o,a,e,n),!0}}},{key:`onExtractedNationalNumber`,value:function(e,t,n,r,i){var a=!1,o,s=r.lastIndexOf(n);if(s<0||s!==r.length-n.length)a=!0;else{var c=r.slice(0,s);c&&c!==e&&(o=c)}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:n,nationalSignificantNumberIsModified:a,prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix:o}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:`reExtractNationalSignificantNumber`,value:function(e){if(this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,function(t){return e.update(t)}))return!0;if(this.extractIddPrefix(e)||this.fixMissingPlus(e))return this.extractCallingCodeAndNationalSignificantNumber(e),!0}},{key:`extractIddPrefix`,value:function(e){var t=e.international,n=e.IDDPrefix,r=e.digits;if(e.nationalSignificantNumber,!(t||n)){var i=hu(r,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(i!==void 0&&i!==r)return e.update({IDDPrefix:r.slice(0,r.length-i.length)}),this.startInternationalNumber(e,{country:void 0,callingCode:void 0}),!0}}},{key:`fixMissingPlus`,value:function(e){if(!e.international){var t=Eu(e.digits,e.country,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata).countryCallingCode;if(t)return e.update({missingPlus:!0}),this.startInternationalNumber(e,{country:e.country,callingCode:t}),!0}}},{key:`startInternationalNumber`,value:function(e,t){var n=t.country,r=t.callingCode;e.startInternationalNumber(n,r),e.nationalSignificantNumber&&(e.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:`extractCallingCodeAndNationalSignificantNumber`,value:function(e){this.extractCountryCallingCode(e)&&this.extractNationalSignificantNumber(e.getNationalDigits(),function(t){return e.update(t)})}}])}();function Op(e){var t=e.search(wp);if(!(t<0)){e=e.slice(t);var n;return e[0]===`+`&&(n=!0,e=e.slice(1)),e=e.replace(Tp,``),n&&(e=`+`+e),e}}function kp(e){var t=Op(e)||``;return t[0]===`+`?[t.slice(1),!0]:[t]}function Ap(e){var t=dp(kp(e),2),n=t[0],r=t[1];return Cp.test(n)||(n=``),[n,r]}function jp(e){"@babel/helpers - typeof";return jp=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},jp(e)}function Mp(e,t){return Lp(e)||Ip(e,t)||Pp(e,t)||Np()}function Np(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
49
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pp(e,t){if(e){if(typeof e==`string`)return Fp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fp(e,t):void 0}}function Fp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ip(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Lp(e){if(Array.isArray(e))return e}function Rp(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function zp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,Vp(r.key),r)}}function Bp(e,t,n){return t&&zp(e.prototype,t),n&&zp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vp(e){var t=Hp(e,`string`);return jp(t)==`symbol`?t:t+``}function Hp(e,t){if(jp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(jp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Up=!1,Wp=function(){function e(t,n){Rp(this,e),this.metadata=new fl(n);var r=Mp(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return Bp(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(el(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&Up&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}},{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new uf({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n||t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new lp({state:this.state,metadata:this.metadata}),this.parser=new Dp({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput=``,this}},{key:`isInternational`,value:function(){return this.state.international}},{key:`getCallingCode`,value:function(){if(this.isInternational())return this.state.callingCode}},{key:`getCountryCallingCode`,value:function(){return this.getCallingCode()}},{key:`getCountry`,value:function(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(Up&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){var e=Su(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});e!==this.state.country&&(this.state.setCountry(e),e&&this.metadata.selectNumberingPlan(e))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode;if(t){var i=this._getCountry();if(!(!i&&!r)){if(i&&i===this.defaultCountry){var a=Gp(this.metadata.numberingPlan.callingCode(),t,this.metadata);a&&(i=a)}var o=new Zu(i||r,t,this.metadata.metadata);return n&&(o.carrierCode=n),o}}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`validateLength`,value:function(){var e=this.state,t=e.digits,n=e.nationalSignificantNumber;if(!t)return`NOT_A_NUMBER`;if(!this.metadata.numberingPlan)return`INVALID_COUNTRY`;if(!n)return`TOO_SHORT`;var r=Xl(n,void 0,this.metadata);if(r!==`IS_POSSIBLE`)return r}},{key:`getNationalNumber`,value:function(){return this.state.nationalSignificantNumber}},{key:`getChars`,value:function(){return(this.state.international?`+`:``)+this.state.digits}},{key:`getTemplate`,value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||``}}])}();function Gp(e,t,n){var r=n.getCountryCodesForCallingCode(e);if(r.length>1)return bu(t,r,n.metadata)}function Kp(e){return new fl(e).getCountries()}function qp(e,t,n){if(t[e])return new Zu(e,t[e],n)}function Jp(e,t,n){return n||(n=t,t=void 0),new Wp(t,n).input(e)}function Yp(){return jc(Yd,arguments)}function Xp(){return jc(nf,arguments)}function Zp(e){return Wp.call(this,e,Ac)}Zp.prototype=Object.create(Wp.prototype,{}),Zp.prototype.constructor=Zp;function Qp(){return jc(Kp,arguments)}function $p(){return jc(bl,arguments)}function em(){return jc(qp,arguments)}function tm(){return jc(Jp,arguments)}var[nm,rm]=z(`configContext`),im=(0,m.createSharedComposable)(e=>{let t=rm(null),n=(0,_.useReducedMotion)(),r=(0,f.computed)(()=>(0,f.toValue)(e)===!0||t?.reducedMotion.value===!0||n.value);return(0,f.watch)(r,e=>{typeof document>`u`||document.body.classList.toggle(`reduced-motion`,e)},{immediate:!0}),r}),am=(0,f.defineComponent)({__name:`ConfigProvider`,props:{addressAutocompleteAdapter:{default:null},autoCloseToast:{},dateLocale:{default:null},fileUploadAdapter:{default:null},googleMapsApiKey:{default:null},hourCycle:{},locale:{},numberFormat:{},projectName:{},reducedMotion:{type:Boolean,default:!1},showNavigationArrowsInTopBar:{type:Boolean,default:!1}},setup(e){let t=e;return im((0,f.computed)(()=>t.reducedMotion)),nm(Ki(t)),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"/><path fill="#29DBFF" d="M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"/><path fill="#FFF" d="M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"/><path fill="#29DBFF" d="M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"/><path fill="#FFF" d="M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"/><path fill="#29DBFF" d="M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"/><path fill="#5CC85C" d="M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"/><ellipse transform="rotate(-82.3 291.431 225.686)" fill="#F7A226" cx="291.4" cy="225.7" rx="48.7" ry="15.7"/><ellipse transform="rotate(-68.099 303.087 164.67)" fill="#DDC7AB" cx="303.1" cy="164.7" rx="11.7" ry="7.2"/><ellipse transform="rotate(-81.738 291.697 271.697)" fill="#DDC7AB" cx="291.7" cy="271.7" rx="11.4" ry="3.3"/><ellipse transform="matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)" fill="#DDC7AB" cx="299.6" cy="269.4" rx="3.3" ry="11"/><ellipse transform="rotate(-21.518 314.54 201.06)" fill="#DDC7AB" cx="314.5" cy="201.1" rx="4.1" ry="13.7"/><ellipse transform="rotate(-21.518 317.511 178.077)" fill="#DDC7AB" cx="317.5" cy="178.1" rx="13.7" ry="4.1"/><ellipse transform="rotate(-7.7 473.781 225.857)" fill="#F7A226" cx="473.6" cy="225.9" rx="15.7" ry="48.7"/><ellipse transform="rotate(-21.901 462.057 164.866)" fill="#DDC7AB" cx="462" cy="164.9" rx="7.2" ry="11.7"/><ellipse transform="rotate(-8.27 473.27 271.908)" fill="#DDC7AB" cx="473.4" cy="271.9" rx="3.3" ry="11.4"/><ellipse transform="matrix(.05353 -.9986 .9986 .05353 171.34 719.998)" fill="#DDC7AB" cx="465.5" cy="269.6" rx="11" ry="3.3"/><ellipse transform="rotate(-68.482 450.552 201.247)" fill="#DDC7AB" cx="450.6" cy="201.2" rx="13.7" ry="4.1"/><ellipse transform="rotate(-68.482 447.58 178.265)" fill="#DDC7AB" cx="447.6" cy="178.3" rx="4.1" ry="13.7"/><path fill="#B0C6CC" d="M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/></svg>`,sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"/><g stroke="#D80027" stroke-width="7"><path d="M267.6 113.6v64.7M284.2 113.6v64.7M300.8 113.6v64.7"/></g><g stroke="#D80027" stroke-width="5"><path d="M247.4 178.4v64.7M234.1 178.4v64.7M220.8 178.5v53.9M207.1 178.5v47.1"/></g><path fill="#FFDA44" d="m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"/><path fill="#BC8B00" d="M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"/><path fill="#D80027" d="M264.4 188.9h29.5v8.6h-29.5zM264.4 206.5h29.5v8.6h-29.5z"/></svg>`,cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e49" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#ce1126" d="M0 0h171v342H0z"/></svg>`,lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#DB3E00" d="M0 0h513v342H0z"/><path fill="#479900" d="M331 0h182v342H331z"/><path d="M0 0h181.8v342H0z"/><path fill="#FFF" d="M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"/><path fill="#FFF" d="M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"/></svg>`,um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#0072c6" d="M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"/><path fill="#FFF" d="M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"/><path fill="#FFDA44" d="M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"/><g fill="#ce1126"><path d="M256.5 342 0 0v342z"/><path d="M513 342V0L256 342z"/></g></svg>`,dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00318b" d="M0 0h513v342H0z"/><path fill="#FFF" d="M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"/><path fill="#8DCCFF" d="M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"/><path fill="#D87B00" d="M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"/><path fill="#D87B00" d="M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"/><path fill="#D87B00" d="M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"/><path fill="#FFF" d="M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"/><path fill="#D80027" d="M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256.5.1v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"/></svg>`,fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#ED2024" d="M0 0h90v60H0z"/><path fill="#212121" d="M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"/><g fill="#212121"><path d="M26.2 25h6.4v2.5h-6.4zM26.2 20.9h6.4v2.7h-6.4zM26.2 16.7h6.4v2.6h-6.4zM26.2 12.7h6.4v2.5h-6.4z"/></g><g fill="#212121"><path d="M57.4 25h6.4v2.5h-6.4zM57.4 20.9h6.4v2.7h-6.4zM57.4 16.7h6.4v2.6h-6.4zM57.4 12.7h6.4v2.5h-6.4z"/></g><path fill="#212121" d="M53.4 36.1h6.4V38h-6.4zM30.2 36.1h6.4V38h-6.4z"/></svg>`,pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#FF9811" d="M0 228h513v114H0z"/></svg>`,mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 171h513v171H0z"/><path fill="#D80027" d="M0 0h513v171H0z"/><g fill="#FFDA44"><path d="m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zM287.1 79.6l5.5-18.8-19.1-7.2-8 18zM316.5 102.8l12.2-15.3-14.9-13.9-14.2 13.6zM335.9 171.7l19.5-.8v-21.3l-22.9.2zM323.3 209.8l18.8 5.5 7.3-19-18-8zM294.3 242.2l14.9 12.7 14.4-14.4-13.1-14.7zM247.3 94.5l9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"/><path d="m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"/><path fill="#000" d="m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"/><path d="M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zM253.8 256.3l7.3 18.2 19.5-6-4.8-19.1zM213.4 252.6l-2 19.5 20.1 3.6 4.5-19.1zM177.7 231.4 167.4 248l16.4 12.1 12.5-15.2z"/></g></svg>`,hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 744 496"><path fill="#3A7DCE" d="M0 0h744v496H0V0z"/><path fill="#fff" d="m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"/></svg>`,gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#338AF3" d="M0 0h512v114H0zM0 228h512v114H0z"/><circle fill="#FFDA44" stroke="#d6ab00" stroke-width="5" cx="256.5" cy="171" r="40"/></svg>`,_m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><path fill="#D80027" d="M513 33 95.3 171 513 310.76V342L0 171 513 0z"/><path fill="#FFF" d="M513 287.18v24.58L81.72 171 513 30v24.16"/><path fill="#A2001D" d="m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"/><path fill="#EFC100" stroke="#231F20" stroke-miterlimit="10" d="m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"/></svg>`,vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#D80027" d="M0 0h513v114H0zM0 228h513v114H0z"/></svg>`,ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM385.9 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM337.3 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zM385.9 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM428.4 108.6l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"/><path d="M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"/></g><path fill="#D80027" d="M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"/><path fill="#0052B4" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><path fill="#FFF" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><g fill="#D80027"><path d="m154.6 115 100.2 55.7v-15.8L183 115zM70.7 115l-71.9 39.9v15.8L99 115z"/></g><path fill="#0052B4" d="M99 55.7-1.2 0v15.7l71.9 40z"/><path fill="#FFF" d="M99 55.7-1.2 0v15.7l71.9 40z"/><g fill="#D80027"><path d="M99 55.7-1.2 0v15.7l71.9 40zM183 55.7l71.8-40V0L154.6 55.7z"/></g></svg>`,bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 363 242"><path fill="#338AF3" d="M0 0h363v242H0z"/><path fill="#FFF" d="M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"/><path fill="#f30028" d="m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"/><g fill="#FFDA44"><path d="M0 152.2h363v15.7H0zM0 183.6h363v15.7H0z"/></g></svg>`,xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 210.9H202.2V342h-79.8V210.9H0V131.1h122.4V0h79.8v131.1H513v61.2z"/><path fill="#D80027" d="M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"/></svg>`,Sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ef3340" d="M0 0h513v342H0z"/><path fill="#00b5e2" d="M0 0h513v114H0z"/><path fill="#509e2f" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"/><path d="m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"/></g></svg>`,Cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338C" d="M0 0h513.1v342H0z"/><path fill="#F6C500" d="M99.9 0h342v342"/><g fill="#FFF"><path d="M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"/><path d="M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"/><path d="m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"/><path d="m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"/><path d="m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"/><path d="m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"/><path d="m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"/><path d="m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"/><path d="m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"/></g></svg>`,wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc726" d="M0 0h513v342H0z"/><g fill="#00267f"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><path d="m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"/></svg>`,Tm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#2d6e41" d="M0 85.331h513v342H0z"/><circle fill="#F40B32" cx="218.902" cy="256.5" r="115"/></svg>`,Em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#fdda25" d="M0 0h513v342H0z"/><path d="M0 0h171v342H0z"/><path fill="#ef3340" d="M342 0h171v342H342z"/></svg>`,Dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#3d944f" d="M0 0h513v342H0z"/><path fill="#ef2b2d" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"/></svg>`,Om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00966e" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v114H0z"/><path fill="#d62612" d="M0 228h513v114H0z"/></svg>`,km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"/></svg>`,Am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#47a644"><path d="M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z"/></g><path fill="#0052B4" d="M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFF" d="M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><circle fill="#FFF" cx="251.6" cy="170.7" r="100.2"/><g fill="#D80027" stroke="#47a644" stroke-width="3"><path d="m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zM290.2 170.3l7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zM213 170.3l7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z"/></g></svg>`,jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#008751" d="M0 85.333h513v342H0z"/><path fill="#fcd116" d="M196.666 85.333H513v171H196.666z"/><path fill="#e8112d" d="M196.666 256H513v171H196.666z"/></svg>`,Mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E6BC00" d="M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zM112.51 94.64s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"/><path fill="#ADADAD" d="M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"/><path fill="#E6BC00" d="M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"/><path fill="#125ECC" d="M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"/><path fill="#FFE600" d="M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#D60537" d="M157.31 175.36H359.1v57.65H157.31v-57.65z"/><path fill="#EACE00" d="M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"/><path fill="#7A6920" d="M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#ADADAD" d="M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"/><circle fill="#FFF" cx="258.2" cy="204.19" r="16.93"/></svg>`,Nm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c8102e" d="M0 0h513v342H0z"/><path fill="#012169" d="M0 .1h256.5v171H0z"/><path fill="#FFF" d="M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"/><path fill="#c8102e" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#c8102e" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><g transform="translate(13 5)"><path fill="#fff" d="M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"/><path fill="#2F8F22" d="M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"/><circle fill="#65B5D2" cx="383.65" cy="214.56" r="39.88"/><circle fill="#c8102e" cx="343.77" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="423.52" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="383.65" cy="154.75" r="19.94"/></g></svg>`,Pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path d="m0 193.74 513 127.19V214.26L0 97.08z"/><path fill="#FFF" d="M513 234.26v-86.67L0 20.41v86.67"/><g fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10"><path d="M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"/><path d="M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zM129.24 133.18h20.88l24.93 27.26v73.45h-26.28v-68.37zM400 133.18h-20.88l-24.93 27.26v73.45h26.27v-68.37z"/></g></svg>`,Fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d52b1e" d="M0 0h513v114H0z"/><path fill="#f9e300" d="M0 114h513v114H0z"/><path fill="#007934" d="M0 228h513v114H0z"/></svg>`,Im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#012a87" d="M0 342h513V0z"/><path fill="#f9d90f" d="M250.4 0H0v166.9z"/><path fill="#dc171d" d="m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"/><circle fill="none" stroke="#000" stroke-width="9" stroke-miterlimit="10" cx="140.4" cy="160.6" r="57.7"/></svg>`,Lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#009b3a" d="M0 0h513v342H0z"/><path fill="#fedf00" d="m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"/><circle fill="#FFF" cx="256.5" cy="171" r="80.4"/><path fill="#002776" d="M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zM334.9 186c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"/></svg>`,Rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc72c" d="M0 0h513v342H0z"/><g fill="#00778b"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path d="M256 171 0 342V0z"/></svg>`,zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF7415" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 0H0v342"/><path fill="none" stroke="#FFF" stroke-width="42" stroke-miterlimit="10" d="M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"/></svg>`,Bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 33.333 1100 733.333"><path fill="#ef2b2d" d="M0 0h1100v800H0z"/><path fill="#fff" d="M300 0h200v800H300z"/><path fill="#fff" d="M0 300h1100v200H0z"/><path fill="#002868" d="M350 0h100v800H350z"/><path fill="#002868" d="M0 350h1100v100H0z"/></svg>`,Vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#6da9d2"><path d="M0 238h513v104H0zM0 0h513v104H0z"/></g><path d="M0 125.5h513v89.656H0z"/></svg>`,Hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#007C30" d="M0 0h513v342H0z"/><path fill="#CE1720" d="M0 230h513V0H0"/><path fill="#FFF" d="M100 230V0H0v342h513-413z"/><g fill="#CE1720"><path d="M28 159.6 8.6 128.2 28 97.4l19.3 30.8zM72.6 159.6l-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zM72.6 241.2l-19.3-31.4L72.6 179 92 209.8z"/></g><g fill="none" stroke="#CE1720" stroke-width="7"><path d="m28 73.8-16.1-26L28 22.2l16 25.6zM72.6 73.8l-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zM72.6 318l-16-26.1 16-25.6 16.1 25.6z"/></g></svg>`,Um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003e87" d="M0 0h513v342H0z"/><circle fill="#FFF" cx="260.9" cy="170.9" r="118.9"/><circle fill="none" stroke="#6DA544" stroke-width="18" stroke-miterlimit="10" cx="261.9" cy="173.1" r="94.5"/><g stroke="#000"><path fill="#003e87" d="m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"/><path fill="#FFDA44" d="M211.3 128.1h101.3v46.7H211.3z"/></g><g fill="#ce1127"><path d="M0 0h513v35H0zM0 306h513v35H0z"/></g></svg>`,Wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="red"><path d="M0 0h142v342H0zM371 0h142v342H371zM306.5 206l50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z"/></g></svg>`,Gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="green" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zM376.1 116.1l6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zM413.1 38.3l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zM464.9 96.7l6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zM436.9 164.8l4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6z"/></g><path fill="#FFDA44" d="M306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zM140.6 59.9l-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z"/><path fill="#A2001D" d="M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"/></svg>`,Km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 66.9V0H411.7L0 274.4V342h100.3z"/><path fill="#D80027" d="M513 0v40.1L60.2 342H0v-40.8L451.8 0z"/><path fill="#FFDA44" d="m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"/></svg>`,qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d21034" d="M0 0h513v342H0z"/><g fill="#3a9927"><path d="M0 171h211.5v85.3H0zM300.5 171H512v85.3H300.5z"/></g><path fill="#003082" d="M0 0v85.3h211.5V0h89v85.3H513V0z"/><g fill="#FFF"><path d="M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z"/></g><g fill="#ffce00"><path d="M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z"/></g></svg>`,Jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#da1a35" d="M0 85.331h513v342H0z"/><path fill="#009543" d="M443.726 85.331 102.4 426.657H0V85.331z"/><path fill="#fbde4a" d="M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"/></svg>`,Ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="red" d="M0 85.337h513v342H0z"/><path fill="#FFF" d="M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"/></svg>`,Xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e60" d="M342 0h171v342H342z"/><path fill="#f77f00" d="M0 0h171v342H0z"/></svg>`,Zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#01237a" d="M0 85.332h513v342H0z"/><g fill="#FFF"><path d="m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zM313.791 185.786l15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zM284.71 255.995l16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zM313.791 326.204l7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zM454.209 326.204l-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zM483.29 255.995l-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zM454.209 185.788l-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zM176 138.665l80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zM144 255.998h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z"/></g><g fill="#D80027"><path d="M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"/><path d="M80 138.665 0 85.331v15.082l57.377 38.252zM176 138.665h22.623L256 100.413V85.331zM57.377 202.665 0 240.917v15.081l80-53.333zM176 202.665l80 53.333v-15.081l-57.377-38.252z"/></g></svg>`,Qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M196 0h317v171H196z"/><path fill="#0037A1" d="M0 0h196v171H0z"/><path fill="#FFF" d="M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"/></svg>`,$m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ce1126" d="M0 0h513v342H0z"/><path fill="#007a5e" d="M0 0h171v342H0z"/><g fill="#fcd116"><path d="M342 0h171v342H342zM256 102.2l17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z"/></g></svg>`,eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zM236.2 25.4l-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zM292.8 161.8l-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z"/></g></svg>`,th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 256.5h513V342H0z"/><path fill="#0052B4" d="M0 171h513v85.5H0z"/></svg>`,nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 114h513v114H0z"/><path fill="#0052B4" d="M0 285h513v57H0zM0 0h513v57H0z"/></svg>`,rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF9811" d="M0-40.8v422.9-211.4z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v68.3H0zM0 136.5h513v68.3H0zM0 273.1h513v68.3H0z"/></g><path fill="#D80027" d="M256 170.7 0 342V0z"/><path fill="#FFF" d="m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"/></svg>`,ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003893" d="M0 0h513v342H0z"/><path fill="#cf2027" d="M0 182.2h513v41.4H0z"/><path fill="#FFF" d="M0 140.8h513v41.4H0zM0 223.6h513V265H0z"/><g fill="#f7d116" stroke="#000"><path d="m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zM150.4 279.7l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zM52.8 208.8l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zM23.8 162H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zM72.2 310.9l6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zM277.1 162h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zM228.7 310.9l-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z"/></g></svg>`,ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#002b7f" d="M0 0h513v342H0z"/><path fill="#f9e814" d="M0 233.5h513v51H0z"/><g fill="#FFF"><path d="m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zM85.4 32.5l7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z"/></g></svg>`,oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0021ad" d="M0 0h513v342H0z"/><path fill="#1c8a42" d="M0 0h513v342"/><g fill="#FFF"><path d="m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zM40.5 173.1l5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zM77.6 92.2l5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zM123.7 155.1l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zM90.8 209.1l4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z"/></g><circle fill="#ffc639" cx="267.1" cy="170.7" r="74.5"/><path fill="#1c8a42" d="M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"/><path fill="#ffc639" d="M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"/></svg>`,sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#DB7D00" d="M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"/><g fill="#006651"><path d="M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zM275.1 293.4c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zM293.3 287.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zM310.2 279.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zM327.1 269c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zM340.6 258.3c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zM351.4 255.5c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zM340.9 267.7c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"/><path d="M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zM311 284.8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zM294.7 294c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zM279.8 298.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zM275.8 308.1c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zM237.9 293.4c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zM219.7 287.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zM202.8 279.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zM172.4 258.3c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zM161.6 255.5c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zM172.1 267.7c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"/><path d="M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zM202 284.8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zM218.3 294c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zM233.2 298.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"/></g></svg>`,ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#11457e" d="M0 0h513v342H0z"/><path fill="#d7141a" d="M513 171v171H0l215-171z"/><path fill="#FFF" d="M513 0v171H215.185L0 0z"/></svg>`,lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#FFDA44" d="M0 228h513v114H0z"/></svg>`,uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#12ad2b" d="M0 0h513v342H0z"/><path fill="#6ab2e7" d="M513 0v166.7L0 170.8V0z"/><path fill="#FFF" d="M256 170.7 0 342V0z"/><path fill="#d7141a" d="m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"/></svg>`,dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60c30" d="M0 0h513v342H0z"/><path fill="#FFF" d="M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"/></svg>`,fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#496E2D" d="M0 0h513v342H0z"/><path d="M0 110.7v120h513v-120z"/><path fill="#FFDA44" d="M0 110.7h513v40H0z"/><path fill="#FFF" d="M0 190.7h513v40H0z"/><path d="M196 0h120v342H196z"/><path fill="#FFDA44" d="M196 0h40v342h-40z"/><path fill="#FFF" d="M274.7 0h40v342h-40z"/><circle fill="#D80027" cx="256" cy="170.7" r="123.1"/><g fill="#496E2D"><path d="m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zM149.4 136h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zM149.4 205.3l12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zM190.1 261.4l4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zM256 282.8l-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zM321.9 261.4l-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zM362.6 205.3h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zM362.6 136l-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zM321.9 80l-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8z"/></g><path fill="#496E2D" d="M279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z"/></svg>`,ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 215.2h211.5v126.1H0z"/><path fill="#0052B4" d="M0 0h211.5v126.2H0z"/><path fill="#D80027" d="M300.5 0H512v126.2H300.5z"/><path fill="#0052B4" d="M300.5 215.2H512v126.1H300.5z"/><g stroke="#FFF" stroke-width="5" stroke-miterlimit="10"><path fill="#0052B4" d="M256 130h-49.9v49.4s19.5 6 49.9 6V130z"/><path fill="#D80027" d="M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"/><path fill="#0052B4" d="M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"/><path fill="#D80027" d="M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"/></g></svg>`,mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#41662E" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256.5 0H513v342H256.5z"/><g fill="#D80027"><path d="m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"/><path d="M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"/></g></svg>`,hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 170.7h513V256H0z"/><path fill="#D80027" d="M0 256h513v85.3H0z"/><circle fill="#FFDA44" cx="256" cy="171" r="60"/><path fill="#4C1F00" d="M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"/><path fill="#57BA17" d="M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"/><path fill="#338AF3" d="M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"/></svg>`,gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#111" d="M0 0h513v342H0z"/><path fill="#368FD8" d="M0 0h513v114H0z"/><path fill="#FFF" d="M0 228h513v114H0z"/></svg>`,_h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#C09300" d="M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"/></svg>`,vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#428823" d="M0 228h513v114H0z"/><g fill="#D80027"><path d="M256 171 0 342V0zM309.1 171c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"/><path d="m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"/></g></svg>`,yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#56AF35" d="M0 0h513v171H0z"/><path fill="#D80027" d="m0 342 513-171L0 0v342z"/><g fill="#ffc945"><path d="M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"/><circle cx="119.5" cy="148.3" r="17.5"/><circle cx="148.9" cy="158.5" r="17.5"/><circle cx="134.7" cy="135.2" r="17.5"/><circle cx="119.5" cy="172.7" r="17.5"/><circle cx="149.9" cy="182.8" r="17.5"/><circle cx="122.5" cy="198" r="17.5"/><circle cx="145.9" cy="205.2" r="17.5"/></g></svg>`,bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h22.5v15H0V0z"/><path fill="#D03433" d="M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"/><path fill="#FBCA46" d="M0 4h22.5v7H0V4z"/><path fill="#FFF" d="M7.8 7h1v.5h-1V7z"/><path fill="#A41517" d="M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"/><path fill="#A41517" d="M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"/></svg>`,xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#20AA46" d="M0 0h22.5v5H0V0z"/><path fill="#E92F3B" d="M0 10h22.5v5H0v-5z"/><path fill="#FADF50" d="M0 5h22.5v5H0V5z"/><circle fill="#205CCA" cx="11.3" cy="7.5" r="5.2"/><g stroke="#FFDB3D" fill="none"><g stroke-width=".5"><path d="m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zM10.3 6.4h1.9M9.9 7.8l1.3 1M12 6.2l.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1"/></g><g stroke-width=".25"><path d="m8.7 3.9 1.1 1.6M13.8 3.8l-1 1.6M11.3 10.1V12M8.9 8.3 7.1 9M15.5 9l-1.8-.7"/></g></g></svg>`,Sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 810 540"><path fill="#039" d="M0 0h810v540H0z"/><path fill="#FC0" d="m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"/></svg>`,Ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"/></svg>`,wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#62b5e5" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M0 0h256v170H0z"/><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g><path fill="#F3F3F3" d="M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"/><path fill="#D80027" d="M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"/></svg>`,Th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g><path fill="#1F8BDE" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"/><path fill="#FFF" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"/><path fill="#187536" d="M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"/><path fill="#FFF" d="M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zM356 270.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"/></svg>`,Eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zM388.8 170.7l-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z"/></g></svg>`,Dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0F61A5" d="M513 214.5H206.2V342H118.4V214.5H0v-87.7h118.4V0H206.2v126.8H513V192z"/><path fill="#E50E3D" d="M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,Oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/></svg>`,Ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><g fill="#FFF"><path d="M0 0h513v341.3H0V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"/></g><g fill="#0052B4"><path d="M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z"/></g><g fill="#D80027"><path d="M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z"/></g></svg>`,jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60a0a" d="M0 0h513v342H0z"/><path fill="#3E8446" d="m256.5 170.7-212 126.1V44.5z"/><g fill="#FFDA44"><path d="m256.5 170.7 211 126.1h-423zM467.5 44.5l-211 126.2-212-126.2z"/></g><path fill="#3E8446" d="M467.5 44.5v252.3l-211-126.1z"/><g fill="#FFDA44"><path d="m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 10.4l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 10.4l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM256.5 304.2l2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 304.2l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 304.2l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z"/></g><circle fill="#c60a0a" cx="244.5" cy="170.7" r="76.2"/><path fill="#FFDA44" d="m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zM107.7 167.8c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"/><circle fill="#A2001D" cx="99.1" cy="182.1" r="7.4"/></svg>`,Mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M.8 0h21v15H.8V0z"/><path fill="#eb000e" d="M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"/><path fill="#eb000e" d="m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"/></svg>`,Nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FDEB01" d="m0 0 90 60H0z"/><path fill="#58A846" d="M90 0v60L0 0z"/><path fill="#ED3D24" d="m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"/></svg>`,Ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"/><path fill="#FFDA44" d="m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"/></svg>`,Fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><path d="m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"/></svg>`,Ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 230h513v112H0z"/><path fill="#D80027" stroke="#000" stroke-miterlimit="10" d="M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"/><path fill="#FFDA44" stroke="#000" stroke-miterlimit="10" d="m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"/><path d="M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zM170.5 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"/><path d="M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM320.9 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM329.3 132v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zM250.5 132v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zM177.5 132v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"/></svg>`,Lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 0v171H0V0z"/><circle fill="#FFF" cx="185.8" cy="171.2" r="117.8"/><path fill="#D80027" d="M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"/></svg>`,Rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#cf0d19" d="M0 0h513v100H0z"/><path fill="#0052B4" d="M0 121h513v100H0z"/><path fill="#1a7e25" d="M0 242h513v100H0z"/></svg>`,zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M342 0h171v342H342z"/><path fill="#D80027" d="M0 0h171v342H0z"/></svg>`,Bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v113.8H0z"/><path fill="#D80027" d="M0 227.6h513V342H0z"/><path fill="#0070C8" d="M126 171 0 342V0z"/><path fill="none" stroke="#000" stroke-miterlimit="10" d="M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"/><path fill="#786145" d="M264.5 179.8h9.8l4 25.8h-17.8z"/><path fill="#6DA544" d="M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"/><g fill="#FFDA00" stroke="#000" stroke-miterlimit="10"><path d="m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zM246 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM261.3 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM277.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM293.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM308.1 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z"/></g></svg>`,Hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0d5eaf"><path d="M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z"/><path d="M0 0h190v190H0z"/></g><g fill="#FFF"><path d="M0 76h190v38H0z"/><path d="M76 0h38v190H76z"/></g></svg>`,Uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><ellipse fill="#FFF" cx="443.4" cy="233.6" rx="29" ry="43.5"/><ellipse fill="#FFCE00" cx="406.9" cy="317.7" rx="22" ry="9.3"/><ellipse fill="#FFCE00" cx="364" cy="317.7" rx="22" ry="9.3"/><path fill="#39B200" d="m342 190.1 43.4 86.9 43.5-86.9z"/><ellipse fill="#9B9B9B" cx="327.5" cy="233.6" rx="29" ry="43.5"/><path fill="#757575" d="m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"/><circle fill="#C6B56F" cx="385.4" cy="67" r="29"/><circle fill="#A54A00" cx="386" cy="88.7" r="29"/><circle fill="#FFF" cx="443.4" cy="117.7" r="29"/><circle fill="#0049FF" cx="342.2" cy="146.7" r="29"/><circle fill="#0041F9" cx="429.8" cy="146.7" r="29"/><circle fill="#F7D71E" cx="386" cy="233.6" r="29"/><circle fill="#CEC851" cx="457.9" cy="190.1" r="29"/><circle fill="#FFF" cx="385.4" cy="289.5" r="29"/><path fill="#7C0B29" d="m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"/><circle fill="#FFF" cx="327.5" cy="117.4" r="29"/></svg>`,Wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><circle fill="#DCC26D" cx="256" cy="155.8" r="25.5"/><path fill="#628A40" d="M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"/></svg>`,Gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M11.1 11.1h489.7v319.1H11.1z"/><path fill="#7DBEF1" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/><path fill="#1C8AE6" d="M179.8 180.7h152.6l-29.3 64.9h-95.2z"/><path fill="#FFF042" d="M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"/><path fill="#259C7B" d="m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"/><path fill="#8E5715" d="M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"/><path fill="#FFF" d="m217.8 170.7 25.5 38.2h-25.5v-38.2z"/><path fill="none" stroke="#D80027" stroke-width="12" stroke-miterlimit="10" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/></svg>`,Kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h512v342H0z"/><path fill="#FFDA44" d="M0 0h512v171H0z"/><path fill="#D80027" d="M0 0h182v342H0z"/><path d="m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"/></svg>`,qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#009E49" d="M0 0h900v600H0V0z"/><path fill="#FFF" d="m0 0 947 300L0 600V0z"/><path fill="#FFD00D" d="M0 26.1 870 300 0 573.9V26.1z"/><path fill="#2D2D2D" d="m0 0 450 300L0 600V0z"/><path fill="#D3132F" d="m0 35 397.5 265L0 565V35z"/></svg>`,Jh=`<svg viewBox="0 0.5 21 14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M0 0h21v15H0z"/><path fill="#ee1c25" d="M0 0h21v15H0z"/><path d="M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z" fill="#FFF"/></g></svg>`,Yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zM189.2 212.6l11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM387.1 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zM338.5 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM387.1 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zM429.5 108.6l5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM399.2 166.5l4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"/><path d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/></g><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g></svg>`,Xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h513v114H0zM0 228h513v114H0zM203.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM308.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM203.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zM308.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z"/></g></svg>`,Zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/><g fill="#338AF3"><path d="M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zM203.7 113.2v-44l-17.3-14.4-17.9 14.4v44zM238.9 113.2v-44l17.6-14.4 17.6 14.4v44z"/></g><g fill="#0052B4"><path d="M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zM238.9 113.2h-35.2v-44l17.5-14.4 17.7 14.4z"/></g><path stroke="#D80027" fill="#FFF" d="M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"/><g fill="#D80027"><path d="M168.5 113.2h35.2v35.2h-35.2zM238.9 113.2h35.2v35.2h-35.2zM309.3 113.2h35.2v35.2h-35.2zM203.7 148.4h35.2v35.2h-35.2zM274.1 148.4h35.2v35.2h-35.2zM168.5 183.6h35.2v35.2h-35.2zM203.7 218.8h35.2V254h-35.2zM238.9 183.6h35.2v35.2h-35.2zM309.3 183.6h35.2v35.2h-35.2zM274.1 218.8h35.2V254h-35.2zM309.3 274.3c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zM238.9 254v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z"/></g></svg>`,Qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#A2001D" d="M0 0h513v172H0z"/><path fill="#0052B4" d="M0 172h513v172H0z"/><path fill="#FFF" d="m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"/><circle fill="#0052B4" cx="270.7" cy="182.3" r="55.4"/><circle fill="#A2001D" cx="270.7" cy="182.3" r="27.7"/><path fill="#6DA544" d="M229.1 113.1h83.1l-41.5 41.5z"/><path fill="#FFDA44" d="M256.8 140.8h27.7v83h-27.7z"/><path fill="#6DA544" d="M314.9 215.5h-88.5l-66.5 36h221.5z"/></svg>`,$h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/></svg>`,eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path fill="#fc0" d="M0 0h300v200H0z"/><path fill="#0768a9" d="M0 0h200v200H0z"/><path fill="#fff" d="M0 0h100v200H0z"/></svg>`,tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E00" d="M0 0h513v171H0z"/></svg>`,ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#FF9811" d="M342 0h171v342H342z"/></svg>`,rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#2E52B2"><path d="M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zM0 277.3h512V320H0z"/></g></svg>`,ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E52D42" d="M0 0h513v342H0z"/><path fill="#FFF" d="M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"/><path fill="#F8DD4E" d="M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"/></svg>`,ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#181A93" d="M17.3 0h478.4v342H17.3V0z"/><path fill="#FFA44A" d="M0 0h513v114H0V0z"/><path fill="#1A9F0B" d="M0 228h513v114H0V228z"/><path fill="#FFF" d="M0 114h513v114H0V114z"/><circle fill="#FFF" cx="256.5" cy="171" r="34.2"/><path fill="#181A93" d="M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"/><circle fill="#181A93" cx="256.5" cy="171" r="22.8"/></svg>`,og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0-.3h513V342H0V-.3z"/><path fill="#0052B4" d="M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"/><path fill="#FFF" d="M0-.3h256v171H0V-.3z"/><path d="M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z" fill="#A2001D"/><g fill="#D80027"><path d="M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zM256 170.7v-15l-57-38h-23l80 53z"/></g><g fill="#2E52B2"><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73z"/><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zM256 147.7v-30h-46l46 30zm-96 23v-49l73 49h-73z"/></g><path fill="#5DA51E" stroke="#45602C" stroke-width="4" stroke-miterlimit="10" d="M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"/><path fill="#E2DD24" stroke="#525625" stroke-width="4" stroke-miterlimit="10" d="M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"/></svg>`,sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#CE1126" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><g fill="#547C31"><path d="M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zM268.8 190.5v-59.6H249v79.5h33.1v-19.9zM335 190.5v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z"/></g></svg>`,cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><g fill="#D80027"><path d="M0 227.9h513v114H0zM278.8 134.8c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z"/></g><g fill="#FFF" opacity=".5"><path d="M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zM89.2 98.9h22.3v24.4H89.2zM133.8 98.9h22.3v24.4h-22.3zM178.4 98.9h22.3v24.4h-22.3zM223 98.9h22.3v24.4H223zM267.7 98.9H290v24.4h-22.3zM312.3 98.9h22.3v24.4h-22.3zM356.9 98.9h22.3v24.4h-22.3zM401.5 98.9h22.3v24.4h-22.3zM446.1 98.9h22.3v24.4h-22.3zM490.7 98.9H513v24.4h-22.3zM44.6 216.9h22.3v25.5H44.6zM0 216.9h22.3v25.5H0zM89.2 216.9h22.3v25.5H89.2zM133.8 216.9h22.3v25.5h-22.3zM178.4 216.9h22.3v25.5h-22.3zM223 216.9h22.3v25.5H223zM267.7 216.9H290v25.5h-22.3zM312.3 216.9h22.3v25.5h-22.3zM356.9 216.9h22.3v25.5h-22.3zM401.5 216.9h22.3v25.5h-22.3zM446.1 216.9h22.3v25.5h-22.3zM490.7 216.9H513v25.5h-22.3z"/></g></svg>`,lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 210.6H202.2v130.7H122.4V210.6H0V130.8h122.4V0H202.2v130.8H513v18.5l-1 42.7z"/><path fill="#D80027" d="M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M342 0H0v341.3h512V0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"/><path fill="#FFDA44" d="m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"/><path fill="#D80027" d="M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"/></svg>`,fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path d="M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"/><path fill="#0052B4" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFDA44" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/></svg>`,pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/><path fill="#D80027" d="M256.5 170.7 0 341.3V0z"/><path fill="#FFF" d="m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"/></svg>`,mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><circle fill="#D80027" cx="256.5" cy="171" r="96"/></svg>`,hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h512v90.579H0z"/><path fill="#496E2D" d="M0 251h513v91H0z"/><path fill="#A2001D" d="M0 114h513v114H0z"/><g fill="#FFF"><path d="m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"/><path d="M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"/></g><g fill="#A2001D"><path d="M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zM303 105.9c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z"/></g><path d="M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zM209 105.9v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"/></svg>`,gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><g fill="#D80027"><path d="M0 0h513v342H0z"/><circle cx="256" cy="170.7" r="170.7"/></g><path fill="#FFDA44" d="M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"/><circle fill="#D80027" cx="257.4" cy="170.7" r="71.6"/><g fill="#FFDA44"><path d="M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zM240.8 217.2c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zM300.2 146c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zM278.5 174.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z"/></g></svg>`,_g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path fill="#FFF" d="M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"/></svg>`,vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 300"><path fill="#CE1126" d="M0 0h450v300H0V0z"/><g fill="#FCD116"><circle cx="227.6" cy="161.2" r="56.2"/><path d="m254.1 73.4-23.7 26 28.6 6.5zM202.6 73.6l-4.8 33.1 28.5-8zM296.9 100.3l-34.7 8.5 20.1 23.7zM158.6 98.5l15.5 32.7 20.2-22.7zM317.6 143.8l-34.4-9.9 5.6 29.5zM135.6 141.2l31.9 19.8 5.2-27.7z"/></g><path fill="#003F87" d="M0 175h450v125H0V175z"/><path fill="#FFF" d="M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FCD116" d="m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"/></svg>`,yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v85.5H0z"/><path fill="#FFF" d="M0 85.5h513V171H0z"/><path fill="#D80027" d="M0 171h513v85.5H0z"/><path fill="#6DA544" d="M256.5 171 0 342V0z"/><g fill="#FFF"><path d="M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"/><path d="m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zM108.9 148.4l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/><path d="m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zM108.9 192.9l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/></g></svg>`,bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M512 0H0v342"/><path fill="#FFDA44" d="M307.7 0 0 194.5V342h206.9L513 148.5V0z"/><path d="M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"/><g fill="#FFF"><path d="m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z"/></g></svg>`,xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#91DC5A" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v57.188H0zM0 284.1h513v57.177H0z"/></g><path fill="#D80027" d="M0 79.9h513v181.582H0z"/><circle fill="#FFF" cx="190.33" cy="171" r="65.668"/><path fill="#D80027" d="m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"/></svg>`,Sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#FFF" d="M0 0h900v600H0z"/><g transform="rotate(-56.31)"><g stroke="#000" stroke-width="25"><path d="M-75 228.3H75m-150 37.5H75m-150 37.5H75M-75 778.3H75m-150 37.5H75m-150 37.5H75"/></g><path stroke="#FFF" stroke-width="12.5" d="M0 753.3v125"/><circle fill="#ca163a" cy="540.8" r="150"/><path fill="#0e4896" d="M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"/></g><g stroke="#000" stroke-width="25"><path d="m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808M689.187 230.644l-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234"/></g><path stroke="#FFF" stroke-width="12.5" d="m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"/></svg>`,Cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/><path d="M167 227.6 0 341.3V0l167 113.8z"/></svg>`,wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><circle fill="#6DA544" cx="384" cy="96.5" r="29.7"/><path fill="#D80027" d="M332.1 89H436v44.5H332.1z"/><path fill="#496E2D" d="M435.9 170.7z"/><path fill="#FFDA44" d="M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8H435.9v-29.7H332.1z"/><path fill="#338AF3" d="M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"/><g fill="#F3F3F3"><path d="M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zM384 108.3c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z"/></g><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g></svg>`,Tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#36B6CC" d="M0 0h513v342H0V0z"/><circle fill="#FFD400" cx="256.5" cy="170.9" r="68.4"/><path fill="#FFD400" d="m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"/></svg>`,Eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .1h513v90.7H0zM0 251.3h513V342H0z"/></g><circle fill="#FFF" cx="256.5" cy="171" r="65.9"/></svg>`,Dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .2h513v90.7H0zM.5 251.3H513V342H.5z"/></g><path fill="#6DA544" d="M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"/><path fill="#14AF5A" d="M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"/></svg>`,Og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#55B2FF" d="M0 0h513v342H0z"/><path fill="#F3F3F3" d="M148.5 298.1h216l-108-254.2z"/><path fill="#333" d="m186 272.7 70.5-160.3L327 272.7z"/><path fill="#FFDA44" d="M148.5 298.1h216l-108-101.7z"/></svg>`,kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"/></svg>`,Ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#A2001D" d="M222.6 22.3h267.1v296.8H222.6z"/><path fill="#D80027" d="M22.3 22.3h200.3v296.8H22.3z"/><path fill="#FFDA44" d="M200.3 0h22.3v342h-22.3z"/><path fill="#6DA544" d="M22.3 22.3h89v296.8h-89z"/><path fill="#FF9811" d="M111.3 22.3h89v296.8h-89z"/><path fill="#FFDA44" d="M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zM232.2 32.3c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zM480.6 32.2c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zM480.7 309.1c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zM232.5 309c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"/><path fill="none" stroke="#FFDA44" stroke-width="6" stroke-miterlimit="10" d="M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"/></svg>`,jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#bf0a30"><path d="M0 0h513v31.1H0zM0 62.2h513v31.1H0zM0 124.5h513v31.1H0zM0 186.8h513v31.1H0zM0 249.3h513v31.1H0zM0 310.9h513V342H0z"/></g><path fill="#002868" d="M0 0h155.6v155.6H0z"/><path fill="#FFF" d="m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"/></svg>`,Mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 227.6h513v114H0z"/><path d="m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"/><path d="M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"/></svg>`,Ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/></svg>`,Pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#338AF3" d="M0 228h513v114H0z"/></svg>`,Fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#A2001D"><path class="st1" d="M0 0h513v127.6H0zM0 214.4h513V342H0z"/></g></svg>`,Ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"/><path d="M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"/></g></svg>`,Lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 .3V342h513V.3z"/><path fill="#20661B" d="M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"/></svg>`,Rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.333h512v341.333H0z"/><path fill="#c70000" d="M0 85.333h512V256H0z"/></svg>`,zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#AF7F59" d="M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"/></svg>`,Bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E6BE53" d="M0 0h513v342H0z"/><path fill="#E01D24" d="M20 20h473v302H20z"/><path fill="#E6BE53" d="M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"/><path fill="#215F90" d="M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"/></svg>`,Vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 72"><path d="M0 0h108v72H0z" fill="#003787"/><path d="M0 0h108L60 48v24H48V48z" fill="#fff"/><circle cx="54" cy="30" r="8" fill="#f9d90f"/><path d="M44 30h20L54 48z" fill="#fff"/><path d="M54 48 38 33h32z" fill="#cf142b"/></svg>`,Hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M512 426.666V85.329H0v341.337h512z"/><path fill="#D80027" d="M512 85.331H0v170.666h512V85.331z"/><path fill="#FFF" d="M0 85.334h181.793v341.337H0z"/></svg>`,Ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1E509C" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 176.1V81.3L0 342l513-165.9z"/><path fill="#F18D36" d="M513 0v81.3L0 342 513 0z"/><path fill="#FFF" d="m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"/></svg>`,Wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.333h512V426.67H0z"/><g fill="#D80027"><path d="M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zM229.171 426.662 256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zM0 426.662h18.212L256 252.286 0 291.67zM256 252.286 512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"/><circle cx="256" cy="252.29" r="59.359"/></g><circle fill="#FFDA44" cx="256" cy="252.29" r="44.522"/></svg>`,Gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#6DA544" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,Kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 85.337h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"/></svg>`,qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#095FAD" d="M0 0h513v342H0z"/><g fill="#BE1229"><path d="M342 0h171v342H342zM0 0h171v342H0z"/></g><g fill="#FFDA44"><path d="M108.3 166.3h14.8v74.2h-14.8zM48.9 166.3h14.8v74.2H48.9z"/><circle cx="86" cy="203.4" r="14.8"/><path d="M71.2 225.7h29.7v14.8H71.2zM71.2 166.3h29.7v14.8H71.2z"/><circle cx="86" cy="144" r="14.8"/><path d="M76.3 123.9h19.5L86 108.3z"/></g></svg>`,Jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#00745a" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"/><g fill="#FFDA44"><path d="m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zM202.112 175.683l8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zM162.662 215.132l11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zM309.889 175.683l-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zM349.338 215.132l-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z"/></g><g fill="#FFF"><path d="M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zM187.977 306.12a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z"/></g></svg>`,Yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500"><path fill="#0071BC" d="M0 0h750v500H0V0z"/><g fill="#FFF" stroke="#000" stroke-width="1.9"><circle cx="375" cy="245" r="225" fill="#fff"/><circle cx="375" cy="245" r="165" fill="#0071BC"/></g><g stroke="#000"><path fill="#8C8A8C" stroke-width="1.9" d="M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"/><path fill="#FFF" stroke-width="2" stroke-linejoin="round" d="m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"/></g></svg>`,Xg=`<svg viewBox="0 0 900 600" xmlns="http://www.w3.org/2000/svg"><path fill="#231f1e" d="M0 0h900v600H0z"/><path fill="#00a650" d="M0 0h900v300H0z"/><path fill="#ef1923" d="m0 0 450 300L0 600z"/></svg>`,Zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 100 513 342"><path fill="#006233" d="M0 100h513v342H0z"/><path fill="#cd2a3e" d="M0 100h513v46H0zM0 396h513v46H0z"/><path fill="#ffc400" d="M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"/><path fill="#ffc400" d="m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"/></svg>`,Qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1B4991" d="M0 0h513v342H0z"/><path fill="#00A2B8" stroke="#FFF" stroke-width="3" d="M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"/><path fill="#A35023" d="M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"/><path d="M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#D80027" d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#D80027" d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></svg>`,$g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#C31B28" d="M256 0h256.5v342H256z"/><path fill="#ACABB1" stroke="#C31B28" stroke-width="2" d="M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"/></svg>`,e_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#f7ce00" d="M0 85.331h512v341.326H0z"/><path fill="#e32737" d="M0 85.331h512v85.337H0z"/><path fill="#191f6a" d="M0 170.657h512v85.337H0z"/><path fill="#00a04e" d="M0 341.331h512v85.337H0z"/></svg>`,t_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#d01920" d="M0 85.331h512v341.333H0z"/><path fill="#017c3b" d="M144.696 174.375h222.609v163.25H144.696z"/><path fill="#FFF" d="M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"/></svg>`,n_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><path fill="#272727" d="M0 0h512v114H0z"/><path fill="#e40112" d="M0 114h512v114H0z"/><path fill="#07893f" d="M0 228h512v114H0z"/><circle fill="#e40112" cx="256" cy="125" r="95"/></svg>`,r_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#dc2339" d="M342 0H0v341.3h513V0z"/><path fill="#11865d" d="M0 0h171v342H0z"/><path fill="#FFF" d="M171 0h171v342H171z"/><path fill="#8C9157" d="M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"/><ellipse fill="#C59262" cx="256.5" cy="159.1" rx="24.3" ry="36.4"/></svg>`,i_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#c00"><path d="M0 0h513v24.4H0zM0 48.9h513v24.4H0zM0 97.7h513v24.4H0zM0 146.6h513V171H0zM0 195.4h513v24.4H0zM0 244.3h513v24.4H0zM0 293.1h513v24.4H0z"/></g><path fill="#006" d="M0 0h256.5v195.4H0z"/><path d="M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z" fill="#fc0"/></svg>`,a_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#FFF" d="M0 85.333h513v342H0z"/><path fill="#f4d900" d="M0 323.333h513v104H0z"/><path fill="#006d66" d="M0 85.333h513v104H0z"/><path d="M0 204.333h513v104H0z"/><path fill="#cb0f31" d="M256 256.006 0 426.668V85.331z"/><path fill="#f4d900" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,o_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337h512"/><path fill="#FFF" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path fill="#A2001D" d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/><path fill="#FFDA44" d="m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"/></svg>`,s_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 426.7"><path fill="#009543" d="M0 293h640v133.7H0V293z"/><path fill="#ED4135" d="M0 132h640v161.3H0V132z"/><path fill="#0035AD" d="M0 0h640v133.3H0V0z"/><circle fill="#FAE600" stroke="#000" stroke-width="5.3" cx="240" cy="213.3" r="157.3"/><path d="m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"/><path d="m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"/><ellipse cx="237.8" cy="280.5" rx="16.8" ry="26.5"/><circle cx="237.4" cy="143.4" r="20.9"/><ellipse cx="238.4" cy="211.1" rx="19.9" ry="12.1"/><path d="M213.8 177h47v10h-47zM213.8 234h47v10h-47z"/></svg>`,c_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#e05206" d="M0 85.337h512v113.775H0z"/><path fill="#0db02b" d="M0 312.888h512v113.775H0z"/><circle fill="#e05206" cx="256" cy="256" r="32"/></svg>`,l_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342zM304 311.995l-48-152.001-48 152.001h36v39.999h24v-39.999z"/></g></svg>`,u_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342z"/></g></svg>`,d_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#338AF3"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"/><path fill="#0052B4" d="M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"/><path fill="#338AF3" d="m256 226.32-13.709 23.744L256 256l13.709-5.936z"/><path fill="#6DA544" d="M235.437 261.936h41.126l-6.854-11.872h-27.418z"/></svg>`,f_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#cd1f2a" d="M0 0h513v114H0z"/><path fill="#1d4185" d="M0 228h513v114H0z"/></svg>`,p_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,m_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"/><path fill="#D80027" d="M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"/><g fill="#FFF"><path d="m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zM88.268 191.662l-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"/><path d="M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"/></g></svg>`,h_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 239.994h512v32H0z"/><path fill="#FFF" d="m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"/></svg>`,g_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M0 85.334h256v170.663H0z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80z"/></g><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 85.329v15.083l57.377 38.251H80z"/><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 255.997v-15.082l57.377-38.252H80z"/><g fill="#2E52B2"><path d="M0 233.376v-30.713h46.069zM96 255.994v-48.912l-73.372 48.912z"/></g><path fill="#D80027" d="M256 255.997v-15.082l-57.377-38.252H176z"/><g fill="#2E52B2"><path d="M256 233.376v-30.713h-46.069zM160 255.994v-48.912l73.372 48.912z"/><circle cx="128" cy="170.66" r="22.627"/></g><g fill="#FFDA44"><path d="m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zM128 219.803l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM128 102.469l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM197.931 161.136l2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zM58.069 161.136l2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z"/></g></svg>`,__=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><g fill="#D80027"><path d="m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zM386.107 308.817l5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zM387.588 185.971l4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zM349.876 233.291l5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z"/></g><path fill="#FFF" d="M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"/><path fill="#D80027" d="M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915zM71.846 200.344 0 240.259v15.739l100.174-55.654z"/></g><path fill="#0052B4" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.983 0 85.33v15.738l71.847 39.915zM184.154 140.983 256 101.068V85.33l-100.174 55.653z"/></g></svg>`,v_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M138 0h377v114H138z"/><path fill="#4A7C3A" d="M138 230h377v114H138z"/><g fill="none" stroke="#FFF" stroke-width="10" stroke-miterlimit="2"><path d="M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"/><path d="M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8M51.7 65.3h37.9M70.7 35.2v30.1"/></g></svg>`,y_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M256 256v170.663H0V256h256z"/><path fill="#D80027" d="M512 85.337V256H256V85.337h256z"/><path fill="#0052B4" d="m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/><path fill="#D80027" d="m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/></svg>`,b_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z"/></g></svg>`,x_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"/><path fill="#0052B4" d="M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"/><g fill="#D80027"><path d="M232.259 246.506h9.498v19h-9.498zM270.247 246.506h9.498v19h-9.498zM251.247 232.259h9.498v33.243h-9.498z"/></g></svg>`,S_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><path fill="#A2001D" d="M0 85.33h512v341.332"/><g fill="#FFF"><path d="m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zM181.797 244.866l4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zM181.797 348.749l4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zM225.363 281.967l4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zM138.23 281.967l4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z"/></g><path fill="#FFDA44" d="M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"/></svg>`,C_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M512 85.337V256H256L0 85.337z"/><path fill="#D80027" d="M512 256v170.663H0L256 256z"/><g fill="#FFDA44"><path d="m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zM21.789 353.53l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zM210.395 235.569l-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z"/></g></svg>`,w_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"/><path d="M0 85.343h512v341.326H0z"/></g><path fill="#01411c" d="M128 85.331h384v341.337H128z"/><g fill="#FFF"><path d="M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zM360.58 172.889l17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z"/></g></svg>`,T_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512V256H0z"/></g><path fill="#D80027" d="M0 256h512v170.663H0z"/></svg>`,E_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,D_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#ACABB1" d="M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"/><path fill="#338AF3" d="M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"/><path fill="#6DA544" d="M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"/><path fill="#FFDA44" d="M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,O_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512V153.6H0zM0 221.863h512v68.263H0zM0 358.4h512v68.263H0z"/></g><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFF" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,k_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512v113.775H0z"/><path fill="#268024" d="M0 312.888h512v113.775H0z"/><path fill="#e4312b" d="M256 256.006 0 426.668V85.331z"/></svg>`,A_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M196.641 85.337v341.326H0V85.337z"/><circle fill="#FFDA44" cx="196.641" cy="256" r="64"/><path fill="#D80027" d="M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"/><path fill="#FFF" d="M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"/></svg>`,j_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><circle fill="#FFDA44" cx="218.902" cy="255.994" r="74.207"/></svg>`,M_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#0052B4" d="M0 312.888h512v113.775H0z"/><path fill="#6DA544" d="m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"/><path fill="#FFDA44" d="m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"/></svg>`,N_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#751A46" d="M0 0h512v342H0z"/><path fill="#FFF" d="M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"/></svg>`,P_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,F_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,I_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path fill="#FFF" d="M0 312.882h512v113.775H0z"/><path fill="#D80027" d="M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"/><g fill="#FFDA44"><path d="M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zM241.16 278.782l-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z"/></g><path fill="#FFF" d="M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"/></svg>`,L_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.33v341.332h512V85.33z"/><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFF" d="M0 85.333h512v113.775H0z"/><path fill="#D80027" d="M0 312.884h512v113.775H0z"/></svg>`,R_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFDA44" d="M0 255.994h512v81.619H0z"/><path fill="#496E2D" d="M0 337.614h512v89.043H0z"/><path fill="#FFDA44" d="m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"/></svg>`,z_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#055e1c" d="M0 85.333h512v341.333H0z"/><g fill="#FFF"><path d="M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zM330.264 181.791v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zM174.491 233.734c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"/><path d="M297.661 181.788h21.736v51.942h-21.736zM265.057 211.473c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"/><path d="M207.093 248.57h32.601v22.261h-32.601z"/></g></svg>`,B_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.334h512v341.337H0z"/><path fill="#0052B4" d="M0 426.663V85.329h512"/><path fill="#FFDA44" d="M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"/><g fill="#FFF"><path d="m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zM170.312 108.787l5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zM85.688 191.289l5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zM170.312 191.289l5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z"/></g></svg>`,V_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M235.454 85.337 0 426.663 427.345 85.337z"/><path fill="#6DA544" d="M512 329.393 0 426.663h512z"/><path fill="#D80027" d="M512 85.337h-84.655L0 426.663l512-204.512z"/><path fill="#0052B4" d="M0 85.337v341.326L235.454 85.337z"/></svg>`,H_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/><path fill="#496E2D" d="M0 426.668V85.331l256 170.675z"/></svg>`,U_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"/></svg>`,W_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512V256H0z"/><g fill="#FFF"><path d="M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zM150.261 122.435l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"/><path d="m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zM179.178 144.696l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zM168.047 178.087l3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zM132.474 178.087l3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"/></g></svg>`,G_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"/><path fill="#ffda44" d="M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"/><path fill="#BF521B" d="m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"/><path fill="#474747" d="m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"/></svg>`,K_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 199.112h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#0052B4" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"/></svg>`,q_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,J_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 196.641h512v118.717H0z"/><path fill="#D80027" d="M0 315.359h512v111.304H0z"/><path fill="#FFF" d="M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"/><path fill="#D80027" d="M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"/><path fill="#FFF" d="M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"/><path fill="#0052B4" d="M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"/></svg>`,Y_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 85.337h512v113.775H0z"/><path fill="#338AF3" d="M0 312.888h512v113.775H0z"/></svg>`,X_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.34h512v341.326H0z"/><path fill="#FFF" d="M512 85.334v166.69L0 256.175V85.334z"/><path fill="#6DA544" d="M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"/><path fill="#FFDA44" d="M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"/><path fill="#338AF3" d="M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"/><path fill="#6DA544" d="M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"/><path fill="#FFDA44" d="M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"/></svg>`,Z_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#D80027" d="M330.207 85.331H512v341.337H330.207z"/><g fill="#496E2D"><path d="M0 85.331h181.793v341.337H0zM255.999 196.632l14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z"/></g></svg>`,Q_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"/></svg>`,$_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#A2001D" d="M0 196.636h512v118.728H0z"/><g fill="#6DA544"><path d="M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z"/></g><path fill="#FFDA44" d="m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"/></svg>`,ev=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#496E2D" d="M0 322.783h512v103.88H0z"/><path d="M0 85.337h512v104.515H0z"/><path fill="#A2001D" d="M0 210.877h512v89.656H0z"/><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFDA44" d="m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"/></svg>`,tv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#6DA544"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#D80027" d="M256 256.006 0 426.668V85.331z"/><path d="m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zM376.252 226.318l7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"/></svg>`,nv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#0052B4"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M228.582 261.936 256 214.447l27.418 47.489z"/><path fill="#6DA544" d="M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"/><path fill="#FFDA44" d="m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"/></svg>`,rv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M512 85.331v166.69L0 256.173V85.331z"/><path fill="#FFF" d="M256 256.006 0 426.668V85.331z"/><g fill="#FFDA44"><path d="M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"/><circle cx="118.862" cy="210.287" r="18.286"/></g><path fill="#D80027" d="M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"/><path fill="#338AF3" d="M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"/><path fill="#F3F3F3" d="M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"/></svg>`,iv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path d="M0 312.882h512v113.775H0z"/><g fill="#6DA544"><path d="m187.31 215.184 9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zM324.69 215.184l9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z"/></g></svg>`,av=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#2B5DEA" d="M0 0h900v600H0V0z"/><path fill="#FFDF29" d="M0 100h900v400H0V100z"/><path fill="#D70000" d="M0 150h900v300H0V150z"/><path fill="#FFF" d="M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"/><path d="M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"/><path fill="#FFF" d="M346.3 254.3h21v91.3h-21zM398.2 254.3h21v91.3h-21z"/><path d="M477.8 254.3h21v91.3h-21zM529.7 254.3h21v91.3h-21z"/></svg>`,ov=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"/><path fill="#FFF" d="M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"/><path fill="#29DBFF" d="m385.4 251.7-22.9-43h45.8z"/><path fill="#FFF" d="m385.4 165.8-22.9 42.9h45.8z"/><ellipse fill="#FFBE57" cx="474.8" cy="236.8" rx="16.8" ry="43.3"/><ellipse fill="#FFBE57" cx="295.3" cy="236.8" rx="16.8" ry="43.3"/><path fill="#FFF" d="m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"/><ellipse fill="#A5A5A5" cx="386.3" cy="104.3" rx="34.3" ry="23.3"/></svg>`,sv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"/><path fill="#FF9811" d="M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"/><path fill="#A2001D" d="M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"/><path fill="#6DA544" d="M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"/><path fill="#D80027" d="M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,cv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,lv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h21v15H0V0z"/><path fill="#073AB6" d="M0 0h22.5v15H0V0z"/><path fill="#FFF" d="M0 0h11.3v7.5H0V0z"/><path fill="#F44653" d="M7.1 0h3.6v7H7.1V0z"/><path fill="#1035BB" d="M0 0h3.6v7H0V0z"/><path fill="#FFF" d="M3.6 0h3.6v7H3.6V0zM14.5 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"/></svg>`,uv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#496E2D"><path d="M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zM0 221.863h512v68.263H0z"/></g><path fill="#D80027" d="M0 85.337h204.054v204.054H0z"/><path fill="#FFF" d="m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"/></svg>`,dv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.334h512V426.66H0z"/><path fill="#0052B4" d="M0 194.056h512v123.882H0z"/><g fill="#D80027"><path d="M0 85.334h512v54.522H0zM0 372.143h512v54.522H0z"/></g></svg>`,fv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#6DA544" d="M0 312.888h512v113.775H0z"/><g fill="#FFDA44"><path d="M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zM192.355 270.84l2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zM200.921 241.16l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM225.409 218.899l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM319.645 270.84l-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zM311.079 241.16l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM286.591 218.899l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z"/></g></svg>`,pv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zM116.816 281.971l4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zM144.696 119.679l4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zM69.539 175.331l4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z"/></g><g fill="#FFDA44"><path d="M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zM117.801 366.089c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z"/></g></svg>`,mv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"/><path d="M0 90.691v330.618L189.217 256z"/><path fill="#FFF" d="m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"/></svg>`,hv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zM310.637 115.729l-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"/><path d="m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zM275.101 162.105l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zM308.585 174.118l-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"/></g><path fill="#D80027" d="M83.478 85.337h89.043v341.326H83.478z"/><path fill="#FFF" d="m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"/><g fill="#FF9811"><path d="M128 137.276h-10.542l-14.908 11.105v7.678H128zM128 175.191h10.542l14.908-11.105v-8.012H128z"/></g><path fill="#FFF" d="m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"/><g fill="#FF9811"><path d="M128 336.81h-10.542l-14.908 11.105v7.678H128zM128 374.725h10.542l14.908-11.106v-8.011H128z"/></g><g fill="#496E2D"><path d="m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zM153.971 299.391h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zM153.971 199.623h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z"/></g><g fill="#D80027"><path d="M120.576 248.576h14.84v14.84h-14.84z"/><circle cx="128" cy="206.113" r="7.421"/><circle cx="128" cy="305.887" r="7.421"/></g></svg>`,gv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><circle fill="#FFF" cx="256" cy="255.994" r="96"/><g fill="#D80027"><path d="m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"/><path d="M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"/></g></svg>`,_v=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M0 85.331h256v170.663H0z"/><path fill="#D80027" d="M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"/></svg>`,vv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E30A17" d="M0 0h513v342H0z"/><path fill="#FFF" d="M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"/></svg>`,yv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFF" d="m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"/><path d="M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"/></svg>`,bv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#0052B4" d="M0 0h900v600H0z"/><path fill="#00B2EE" d="M0 300h450V0h450v600H0V300z"/><path fill="#FFDA44" d="m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zM812.8 261.5l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM812.8 37.4l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"/><path fill="#FFF" d="M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"/><path fill="#D80027" d="M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"/><path fill="#2E52B2" d="M449.9 39.9v53.9h-81z"/><path fill="#D80027" d="M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zM449.9.2v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"/><path fill="#FFDA44" d="m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM614 430.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zM488 464l29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"/></svg>`,xv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 85.337h256V256H0z"/><path fill="#FFF" d="M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"/><circle fill="#0052B4" cx="128" cy="170.674" r="29.006"/><path fill="#FFF" d="M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"/></svg>`,Sv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 426.663V85.337h512"/><path fill="#FFDA44" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/></svg>`,Cv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><path fill="#338AF3" d="M0 85.337h512V256H0z"/></svg>`,wv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#232323" d="M0 0h512v341.3H0z"/><path fill="#FFDA44" d="M0 56.9h512v56.9H0z"/><path fill="#D32300" d="M0 113.8h512v56.9H0z"/><path fill="#FFDA44" d="M0 227.6h512v56.9H0z"/><path fill="#D32300" d="M0 284.4h512v56.9H0z"/><circle fill="#FFF" cx="256" cy="170.7" r="80.7"/><path d="M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"/></svg>`,Tv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Ev=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Dv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0038a8"><path d="M0 38h513v38H0zM0 114h513v38H0zM0 190h513v38H0zM0 266h513v38H0z"/></g><path fill="#FFF" d="M0 0h256.5v190H0z"/><path fill="#FED443" d="m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"/></svg>`,Ov=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 322.783h512v103.88H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><path fill="#FFF" d="M0 210.877h512v89.656H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><g fill="#FFF"><path d="M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zM234.658 152.766l2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zM258.006 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM281.353 152.766l2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zM304.7 152.766l2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zM328.048 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM258.006 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 128.482l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zM304.7 128.482l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zM328.048 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 104.198l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zM304.7 104.198l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zM328.048 104.198l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z"/></g></svg>`,kv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#FFF" d="M256 85.331h256v341.337H256z"/><path fill="#ACABB1" d="m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"/><path fill="#FFDA44" d="m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"/></svg>`,Av=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#338AF3" d="M0 85.331h170.663v341.337H0z"/><g fill="#6DA544"><path d="M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zM297.739 283.82l-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z"/></g></svg>`,jv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFCE00" d="M0 0h22.5v5H0z"/><path fill="#203899" d="M0 5h22.5v5H0z"/><path fill="#D82B2B" d="M0 10h22.5v5H0z"/><path fill="#FFF" d="m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zM10.36 5.38l.27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zM13.8 5.94l-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zM8.69 5.96l.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zM15.24 7.13l-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zM15.43 8.25l.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zM7.31 7.05l.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"/></svg>`,Mv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z"/></g><path fill="#FFDA44" d="m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"/><path fill="#6DA544" d="M332.058 178.084V259.708c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"/><path fill="#FFF" d="M372.87 215.181h22.261v59.359H372.87z"/><circle fill="#A2001D" cx="384" cy="215.181" r="11.13"/><g fill="#FFDA44"><path d="M346.902 192.92h14.84v14.84h-14.84zM346.902 226.312h14.84v14.84h-14.84zM346.902 259.703h14.84v14.84h-14.84zM406.261 192.92h14.84v14.84h-14.84zM406.261 226.312h14.84v14.84h-14.84zM406.261 259.703h14.84v14.84h-14.84z"/></g></svg>`,Nv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#FFF" d="M0 0h512v341.3H0z"/><path fill="#1583C4" d="m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"/><path fill="#1583C4" d="m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"/><path fill="#1583C4" d="m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"/><path fill="#409347" d="M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"/><g fill="#FFD836" stroke="#231F20" stroke-miterlimit="10"><path d="M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"/><path d="m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"/></g><path fill="#FFF" stroke="#231F20" stroke-miterlimit="10" d="M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"/><g fill="#D80027"><path d="M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zM296.8 137.7V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z"/></g><path fill="#0052B4" d="M201.3 111.8h119.4v37.9H201.3z"/><path fill="#1583C4" d="m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zM451.5 151.9h18.9v81.7h-18.9z"/></svg>`,Pv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M196.641 85.337H0v341.326h512V85.337z"/><path fill="#FFDA44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/></svg>`,Fv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M512 256v170.663H0L215.185 256z"/><path fill="#D80027" d="M512 85.337V256H215.185L0 85.337z"/><path d="M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"/><g fill="#FFDA44"><path d="M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"/><path d="M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"/></g></svg>`,Iv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 100"><path fill="#ED2939" d="M0 0h150v100H0z"/><path fill="#002395" d="M0 0h20v44.33H0z"/><path fill="#FFF" d="M20 0h20v44.33H20z"/><path fill="none" stroke="#FFF" stroke-width="3" d="M0 44.33h62.75V0"/><path fill="#FFF" d="M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"/></svg>`,Lv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h256v170.663H0z"/><g fill="#FFF"><path d="m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zM120.579 115.007l4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zM165.101 129.848l4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zM129.909 189.211l4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zM90.899 152.108l4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z"/></g></svg>`,Rv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.33"><path fill="#0052B4" d="M0 0h512v341.34H0z"/><g fill="#FFF"><path d="m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zM291.28 42.57l7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zM353.36 53.93l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zM416.37 72.23l7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zM158.64 53.93l7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zM95.63 72.23l7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z"/></g><path fill="#FFDA44" d="m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"/></svg>`,zv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/></svg>`,Bv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FFF" d="M0 0h90v60H0z"/><path stroke="#7f7f7f" stroke-width=".25" fill="#ABABAB" d="M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zM10.7 43.6c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"/><path fill="#DE393A" d="M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"/><path fill="#3951A3" d="M31 13.1h28v15.7H31z"/><path fill="#FFF" d="M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"/><circle fill="#FEE05F" cx="39.1" cy="36.5" r="3"/><circle fill="#FEE05F" cx="50.9" cy="36.5" r="3"/></svg>`,Vv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M114.024 256.001 0 141.926v228.17z"/><path fill="#ffb915" d="M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"/><path fill="#007847" d="M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"/><path fill="#000c8a" d="M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"/><path fill="#e1392d" d="M503.181 189.217H512V85.337H132.552l103.881 103.88z"/></svg>`,Hv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.331h512v341.337H0z"/><path fill="#FF9811" d="M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"/><path fill="#D80027" d="M341.337 255.994h56.888v170.663h-56.888z"/><path fill="#FF9811" d="M455.112 255.994H512v170.663h-56.888z"/><path d="M398.225 255.994h56.888v170.663h-56.888z"/></svg>`,Uv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><g fill="#FFDA44"><path d="M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z"/></g><path fill="#057f44" d="M0 85.333h512v48.868H0z"/><g fill="#D80027"><path d="M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z"/></g><path fill="#057f44" d="M0 378.542h512v48.128H0z"/><path fill="#FFF" d="M276.992 255.996 106.329 426.659H0V85.333h106.329z"/><path d="M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"/><path fill="#D80027" d="m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"/><path fill="#FFDA44" d="m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"/></svg>`,Wv=o({AC:()=>om,AD:()=>sm,AE:()=>cm,AF:()=>lm,AG:()=>um,AI:()=>dm,AL:()=>fm,AM:()=>pm,AO:()=>mm,AQ:()=>hm,AR:()=>gm,AS:()=>_m,AT:()=>vm,AU:()=>ym,AW:()=>bm,AX:()=>xm,AZ:()=>Sm,BA:()=>Cm,BB:()=>wm,BD:()=>Tm,BE:()=>Em,BF:()=>Dm,BG:()=>Om,BH:()=>km,BI:()=>Am,BJ:()=>jm,BL:()=>Mm,BM:()=>Nm,BN:()=>Pm,BO:()=>Fm,BQ:()=>Im,BR:()=>Lm,BS:()=>Rm,BT:()=>zm,BV:()=>Bm,BW:()=>Vm,BY:()=>Hm,BZ:()=>Um,CA:()=>Wm,CC:()=>Gm,CD:()=>Km,CF:()=>qm,CG:()=>Jm,CH:()=>Ym,CI:()=>Xm,CK:()=>Zm,CL:()=>Qm,CM:()=>$m,CN:()=>eh,CO:()=>th,CR:()=>nh,CU:()=>rh,CV:()=>ih,CW:()=>ah,CX:()=>oh,CY:()=>sh,CZ:()=>ch,DE:()=>lh,DJ:()=>uh,DK:()=>dh,DM:()=>fh,DO:()=>ph,DZ:()=>mh,EC:()=>hh,EE:()=>gh,EG:()=>_h,EH:()=>vh,ER:()=>yh,ES:()=>bh,ET:()=>xh,EU:()=>Sh,FI:()=>Ch,FJ:()=>wh,FK:()=>Th,FM:()=>Eh,FO:()=>Dh,FR:()=>Oh,GA:()=>kh,GB:()=>Ah,GD:()=>jh,GE:()=>Mh,GF:()=>Nh,GG:()=>Ph,GH:()=>Fh,GI:()=>Ih,GL:()=>Lh,GM:()=>Rh,GN:()=>zh,GP:()=>Bh,GQ:()=>Vh,GR:()=>Hh,GS:()=>Uh,GT:()=>Wh,GU:()=>Gh,GW:()=>Kh,GY:()=>qh,HK:()=>Jh,HM:()=>Yh,HN:()=>Xh,HR:()=>Zh,HT:()=>Qh,HU:()=>$h,IC:()=>eg,ID:()=>tg,IE:()=>ng,IL:()=>rg,IM:()=>ig,IN:()=>ag,IO:()=>og,IQ:()=>sg,IR:()=>cg,IS:()=>lg,IT:()=>ug,JE:()=>dg,JM:()=>fg,JO:()=>pg,JP:()=>mg,KE:()=>hg,KG:()=>gg,KH:()=>_g,KI:()=>vg,KM:()=>yg,KN:()=>bg,KP:()=>xg,KR:()=>Sg,KW:()=>Cg,KY:()=>wg,KZ:()=>Tg,LA:()=>Eg,LB:()=>Dg,LC:()=>Og,LI:()=>kg,LK:()=>Ag,LR:()=>jg,LS:()=>Mg,LT:()=>Ng,LU:()=>Pg,LV:()=>Fg,LY:()=>Ig,MA:()=>Lg,MC:()=>Rg,MD:()=>zg,ME:()=>Bg,MF:()=>Vg,MG:()=>Hg,MH:()=>Ug,MK:()=>Wg,ML:()=>Gg,MM:()=>Kg,MN:()=>qg,MO:()=>Jg,MP:()=>Yg,MQ:()=>Xg,MR:()=>Zg,MS:()=>Qg,MT:()=>$g,MU:()=>e_,MV:()=>t_,MW:()=>n_,MX:()=>r_,MY:()=>i_,MZ:()=>a_,NA:()=>o_,NC:()=>s_,NE:()=>c_,NF:()=>l_,NG:()=>u_,NI:()=>d_,NL:()=>f_,NO:()=>p_,NP:()=>m_,NR:()=>h_,NU:()=>g_,NZ:()=>__,OM:()=>v_,PA:()=>y_,PE:()=>b_,PF:()=>x_,PG:()=>S_,PH:()=>C_,PK:()=>w_,PL:()=>T_,PM:()=>E_,PN:()=>D_,PR:()=>O_,PS:()=>k_,PT:()=>A_,PW:()=>j_,PY:()=>M_,QA:()=>N_,RE:()=>P_,RO:()=>F_,RS:()=>I_,RU:()=>L_,RW:()=>R_,SA:()=>z_,SB:()=>B_,SC:()=>V_,SD:()=>H_,SE:()=>U_,SG:()=>W_,SH:()=>G_,SI:()=>K_,SJ:()=>q_,SK:()=>J_,SL:()=>Y_,SM:()=>X_,SN:()=>Z_,SO:()=>Q_,SR:()=>$_,SS:()=>ev,ST:()=>tv,SV:()=>nv,SX:()=>rv,SY:()=>iv,SZ:()=>av,TA:()=>ov,TC:()=>sv,TD:()=>cv,TF:()=>lv,TG:()=>uv,TH:()=>dv,TJ:()=>fv,TK:()=>pv,TL:()=>mv,TM:()=>hv,TN:()=>gv,TO:()=>_v,TR:()=>vv,TT:()=>yv,TV:()=>bv,TW:()=>xv,TZ:()=>Sv,UA:()=>Cv,UG:()=>wv,UM:()=>Tv,US:()=>Ev,UY:()=>Dv,UZ:()=>Ov,VA:()=>kv,VC:()=>Av,VE:()=>jv,VG:()=>Mv,VI:()=>Nv,VN:()=>Pv,VU:()=>Fv,WF:()=>Iv,WS:()=>Lv,XK:()=>Rv,YE:()=>zv,YT:()=>Bv,ZA:()=>Vv,ZM:()=>Hv,ZW:()=>Uv});function Gv(e){let t=Wv[e]??null;return t===null?null:`data:image/svg+xml,${encodeURIComponent(t)}`}function Kv(e,t){return new Intl.DisplayNames(t,{type:`region`}).of(e)??null}function qv(e){let t=rm(),n=(0,f.computed)(()=>t?.locale?.value??navigator.language),{contains:r}=(0,h.useFilter)(),i=(0,f.ref)(``),a=(0,f.computed)(()=>{let e=i.value.trim(),t=Qp();return(e?t.filter(t=>s(t,e)):t).map(e=>({type:`option`,value:e}))}),o=(0,f.computed)(()=>{let t=e.modelValue.value;if(!t)return null;let r=Qp();return r.includes(t)?t:r.find(e=>Kv(e,n.value)?.toLowerCase()===t.toLowerCase())??null});function s(e,t){let i=Kv(e,n.value)??``,a=t.toLowerCase();return r(e.toLowerCase(),a)||r(i.toLowerCase(),a)}function c(e){let t=Gv(e);return{left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function l(e){i.value=e}function u(e){return Kv(e,n.value)??e}function d(t){e.setValue(t?Kv(t,n.value)??t:null)}return{countryItems:a,currentCountryCode:o,displayCountry:u,getCountryItemConfig:c,onCountrySearch:l,onCountrySelect:d}}var[Jv,Yv]=z(`buttonContext`),Xv=W({compoundVariants:[{class:{container:`dark:rounded-[0.35rem] dark:px-md`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem] dark:px-lg`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem] dark:px-sm`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem] dark:px-xs`},size:`xs`,variant:`primary`}],slots:{container:`grid size-full items-center [grid-template-areas:'stack']`,icon:`shrink-0`,label:`truncate font-medium`,loader:`mx-auto items-center duration-100 [grid-area:stack]`,root:`
49
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pp(e,t){if(e){if(typeof e==`string`)return Fp(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fp(e,t):void 0}}function Fp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ip(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Lp(e){if(Array.isArray(e))return e}function Rp(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function zp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,Vp(r.key),r)}}function Bp(e,t,n){return t&&zp(e.prototype,t),n&&zp(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Vp(e){var t=Hp(e,`string`);return jp(t)==`symbol`?t:t+``}function Hp(e,t){if(jp(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(jp(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Up=!1,Wp=function(){function e(t,n){Rp(this,e),this.metadata=new fl(n);var r=Mp(this.getCountryAndCallingCode(t),2),i=r[0],a=r[1];this.defaultCountry=i,this.defaultCallingCode=a,this.reset()}return Bp(e,[{key:`getCountryAndCallingCode`,value:function(e){var t,n;return e&&(el(e)?(t=e.defaultCountry,n=e.defaultCallingCode):t=e),t&&!this.metadata.hasCountry(t)&&(t=void 0),n&&Up&&this.metadata.isNonGeographicCallingCode(n)&&(t=`001`),[t,n]}},{key:`input`,value:function(e){var t=this.parser.input(e,this.state),n=t.digits;if(t.justLeadingPlus)this.formattedOutput=`+`;else if(n){this.determineTheCountryIfNeeded(),this.state.nationalSignificantNumber&&this.formatter.narrowDownMatchingFormats(this.state);var r;if(this.metadata.hasSelectedNumberingPlan()&&(r=this.formatter.format(n,this.state)),r===void 0&&this.parser.reExtractNationalSignificantNumber(this.state)){this.determineTheCountryIfNeeded();var i=this.state.getNationalDigits();i&&(r=this.formatter.format(i,this.state))}this.formattedOutput=r?this.getFullNumber(r):this.getNonFormattedNumber()}return this.formattedOutput}},{key:`reset`,value:function(){var e=this;return this.state=new uf({onCountryChange:function(t){e.country=t},onCallingCodeChange:function(t,n){e.metadata.selectNumberingPlan(n||t),e.formatter.reset(e.metadata.numberingPlan,e.state),e.parser.reset(e.metadata.numberingPlan)}}),this.formatter=new lp({state:this.state,metadata:this.metadata}),this.parser=new Dp({defaultCountry:this.defaultCountry,defaultCallingCode:this.defaultCallingCode,metadata:this.metadata,state:this.state,onNationalSignificantNumberChange:function(){e.determineTheCountryIfNeeded(),e.formatter.reset(e.metadata.numberingPlan,e.state)}}),this.state.reset({country:this.defaultCountry,callingCode:this.defaultCallingCode}),this.formattedOutput=``,this}},{key:`isInternational`,value:function(){return this.state.international}},{key:`getCallingCode`,value:function(){if(this.isInternational())return this.state.callingCode}},{key:`getCountryCallingCode`,value:function(){return this.getCallingCode()}},{key:`getCountry`,value:function(){if(this.state.digits)return this._getCountry()}},{key:`_getCountry`,value:function(){var e=this.state.country;if(!(Up&&e===`001`))return e}},{key:`determineTheCountryIfNeeded`,value:function(){(!this.state.country||this.isCountryCallingCodeAmbiguous())&&this.determineTheCountry()}},{key:`getFullNumber`,value:function(e){var t=this;if(this.isInternational()){var n=function(e){return t.formatter.getInternationalPrefixBeforeCountryCallingCode(t.state,{spacing:!!e})+e},r=this.state.callingCode;return n(r?e?`${r} ${e}`:r:`${this.state.getDigitsWithoutInternationalPrefix()}`)}return e}},{key:`getNonFormattedNationalNumberWithPrefix`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix,r=e.nationalPrefix,i=t,a=n||r;return a&&(i=a+i),i}},{key:`getNonFormattedNumber`,value:function(){var e=this.state.nationalSignificantNumberIsModified;return this.getFullNumber(e?this.state.getNationalDigits():this.getNonFormattedNationalNumberWithPrefix())}},{key:`getNonFormattedTemplate`,value:function(){var e=this.getNonFormattedNumber();if(e)return e.replace(/[\+\d]/g,`x`)}},{key:`isCountryCallingCodeAmbiguous`,value:function(){var e=this.state.callingCode,t=this.metadata.getCountryCodesForCallingCode(e);return t&&t.length>1}},{key:`determineTheCountry`,value:function(){var e=Su(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,metadata:this.metadata});e!==this.state.country&&(this.state.setCountry(e),e&&this.metadata.selectNumberingPlan(e))}},{key:`getNumberValue`,value:function(){var e=this.state,t=e.digits,n=e.callingCode,r=e.country,i=e.nationalSignificantNumber;if(t){if(this.isInternational())return n?`+`+n+i:`+`+t;if(r||n)return`+`+(r?this.metadata.countryCallingCode():n)+i}}},{key:`getNumber`,value:function(){var e=this.state,t=e.nationalSignificantNumber,n=e.carrierCode,r=e.callingCode;if(t){var i=this._getCountry();if(!(!i&&!r)){if(i&&i===this.defaultCountry){var a=Gp(this.metadata.numberingPlan.callingCode(),t,this.metadata);a&&(i=a)}var o=new Zu(i||r,t,this.metadata.metadata);return n&&(o.carrierCode=n),o}}}},{key:`isPossible`,value:function(){var e=this.getNumber();return e?e.isPossible():!1}},{key:`isValid`,value:function(){var e=this.getNumber();return e?e.isValid():!1}},{key:`validateLength`,value:function(){var e=this.state,t=e.digits,n=e.nationalSignificantNumber;if(!t)return`NOT_A_NUMBER`;if(!this.metadata.numberingPlan)return`INVALID_COUNTRY`;if(!n)return`TOO_SHORT`;var r=Xl(n,void 0,this.metadata);if(r!==`IS_POSSIBLE`)return r}},{key:`getNationalNumber`,value:function(){return this.state.nationalSignificantNumber}},{key:`getChars`,value:function(){return(this.state.international?`+`:``)+this.state.digits}},{key:`getTemplate`,value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||``}}])}();function Gp(e,t,n){var r=n.getCountryCodesForCallingCode(e);if(r.length>1)return bu(t,r,n.metadata)}function Kp(e){return new fl(e).getCountries()}function qp(e,t,n){if(t[e])return new Zu(e,t[e],n)}function Jp(e,t,n){return n||(n=t,t=void 0),new Wp(t,n).input(e)}function Yp(){return jc(Yd,arguments)}function Xp(){return jc(nf,arguments)}function Zp(e){return Wp.call(this,e,Ac)}Zp.prototype=Object.create(Wp.prototype,{}),Zp.prototype.constructor=Zp;function Qp(){return jc(Kp,arguments)}function $p(){return jc(bl,arguments)}function em(){return jc(qp,arguments)}function tm(){return jc(Jp,arguments)}var[nm,rm]=z(`configContext`),im=(0,m.createSharedComposable)(e=>{let t=rm(null),n=(0,_.useReducedMotion)(),r=(0,f.computed)(()=>(0,f.toValue)(e)===!0||t?.reducedMotion.value===!0||n.value);return(0,f.watch)(r,e=>{typeof document>`u`||document.body.classList.toggle(`reduced-motion`,e)},{immediate:!0}),r}),am=(0,f.defineComponent)({__name:`ConfigProvider`,props:{addressAutocompleteAdapter:{default:null},apiErrorTranslationResolver:{type:[Function,null],default:null},autoCloseToast:{},dateLocale:{default:null},fileUploadAdapter:{default:null},googleMapsApiKey:{default:null},hourCycle:{},locale:{},numberFormat:{},projectName:{},reducedMotion:{type:Boolean,default:!1},showNavigationArrowsInTopBar:{type:Boolean,default:!1}},setup(e){let t=e;return im((0,f.computed)(()=>t.reducedMotion)),nm(Ki(t)),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"/><path fill="#29DBFF" d="M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"/><path fill="#FFF" d="M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"/><path fill="#29DBFF" d="M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"/><path fill="#FFF" d="M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"/><path fill="#29DBFF" d="M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"/><path fill="#5CC85C" d="M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"/><ellipse transform="rotate(-82.3 291.431 225.686)" fill="#F7A226" cx="291.4" cy="225.7" rx="48.7" ry="15.7"/><ellipse transform="rotate(-68.099 303.087 164.67)" fill="#DDC7AB" cx="303.1" cy="164.7" rx="11.7" ry="7.2"/><ellipse transform="rotate(-81.738 291.697 271.697)" fill="#DDC7AB" cx="291.7" cy="271.7" rx="11.4" ry="3.3"/><ellipse transform="matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)" fill="#DDC7AB" cx="299.6" cy="269.4" rx="3.3" ry="11"/><ellipse transform="rotate(-21.518 314.54 201.06)" fill="#DDC7AB" cx="314.5" cy="201.1" rx="4.1" ry="13.7"/><ellipse transform="rotate(-21.518 317.511 178.077)" fill="#DDC7AB" cx="317.5" cy="178.1" rx="13.7" ry="4.1"/><ellipse transform="rotate(-7.7 473.781 225.857)" fill="#F7A226" cx="473.6" cy="225.9" rx="15.7" ry="48.7"/><ellipse transform="rotate(-21.901 462.057 164.866)" fill="#DDC7AB" cx="462" cy="164.9" rx="7.2" ry="11.7"/><ellipse transform="rotate(-8.27 473.27 271.908)" fill="#DDC7AB" cx="473.4" cy="271.9" rx="3.3" ry="11.4"/><ellipse transform="matrix(.05353 -.9986 .9986 .05353 171.34 719.998)" fill="#DDC7AB" cx="465.5" cy="269.6" rx="11" ry="3.3"/><ellipse transform="rotate(-68.482 450.552 201.247)" fill="#DDC7AB" cx="450.6" cy="201.2" rx="13.7" ry="4.1"/><ellipse transform="rotate(-68.482 447.58 178.265)" fill="#DDC7AB" cx="447.6" cy="178.3" rx="4.1" ry="13.7"/><path fill="#B0C6CC" d="M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/></svg>`,sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"/><g stroke="#D80027" stroke-width="7"><path d="M267.6 113.6v64.7M284.2 113.6v64.7M300.8 113.6v64.7"/></g><g stroke="#D80027" stroke-width="5"><path d="M247.4 178.4v64.7M234.1 178.4v64.7M220.8 178.5v53.9M207.1 178.5v47.1"/></g><path fill="#FFDA44" d="m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"/><path fill="#BC8B00" d="M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"/><path fill="#D80027" d="M264.4 188.9h29.5v8.6h-29.5zM264.4 206.5h29.5v8.6h-29.5z"/></svg>`,cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e49" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#ce1126" d="M0 0h171v342H0z"/></svg>`,lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#DB3E00" d="M0 0h513v342H0z"/><path fill="#479900" d="M331 0h182v342H331z"/><path d="M0 0h181.8v342H0z"/><path fill="#FFF" d="M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"/><path fill="#FFF" d="M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"/></svg>`,um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#0072c6" d="M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"/><path fill="#FFF" d="M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"/><path fill="#FFDA44" d="M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"/><g fill="#ce1126"><path d="M256.5 342 0 0v342z"/><path d="M513 342V0L256 342z"/></g></svg>`,dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00318b" d="M0 0h513v342H0z"/><path fill="#FFF" d="M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"/><path fill="#8DCCFF" d="M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"/><path fill="#D87B00" d="M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"/><path fill="#D87B00" d="M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"/><path fill="#D87B00" d="M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"/><path fill="#FFF" d="M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"/><path fill="#D80027" d="M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256.5.1v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"/></svg>`,fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#ED2024" d="M0 0h90v60H0z"/><path fill="#212121" d="M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"/><g fill="#212121"><path d="M26.2 25h6.4v2.5h-6.4zM26.2 20.9h6.4v2.7h-6.4zM26.2 16.7h6.4v2.6h-6.4zM26.2 12.7h6.4v2.5h-6.4z"/></g><g fill="#212121"><path d="M57.4 25h6.4v2.5h-6.4zM57.4 20.9h6.4v2.7h-6.4zM57.4 16.7h6.4v2.6h-6.4zM57.4 12.7h6.4v2.5h-6.4z"/></g><path fill="#212121" d="M53.4 36.1h6.4V38h-6.4zM30.2 36.1h6.4V38h-6.4z"/></svg>`,pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#FF9811" d="M0 228h513v114H0z"/></svg>`,mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 171h513v171H0z"/><path fill="#D80027" d="M0 0h513v171H0z"/><g fill="#FFDA44"><path d="m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zM287.1 79.6l5.5-18.8-19.1-7.2-8 18zM316.5 102.8l12.2-15.3-14.9-13.9-14.2 13.6zM335.9 171.7l19.5-.8v-21.3l-22.9.2zM323.3 209.8l18.8 5.5 7.3-19-18-8zM294.3 242.2l14.9 12.7 14.4-14.4-13.1-14.7zM247.3 94.5l9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"/><path d="m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"/><path fill="#000" d="m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"/><path d="M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zM253.8 256.3l7.3 18.2 19.5-6-4.8-19.1zM213.4 252.6l-2 19.5 20.1 3.6 4.5-19.1zM177.7 231.4 167.4 248l16.4 12.1 12.5-15.2z"/></g></svg>`,hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 744 496"><path fill="#3A7DCE" d="M0 0h744v496H0V0z"/><path fill="#fff" d="m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"/></svg>`,gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#338AF3" d="M0 0h512v114H0zM0 228h512v114H0z"/><circle fill="#FFDA44" stroke="#d6ab00" stroke-width="5" cx="256.5" cy="171" r="40"/></svg>`,_m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><path fill="#D80027" d="M513 33 95.3 171 513 310.76V342L0 171 513 0z"/><path fill="#FFF" d="M513 287.18v24.58L81.72 171 513 30v24.16"/><path fill="#A2001D" d="m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"/><path fill="#EFC100" stroke="#231F20" stroke-miterlimit="10" d="m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"/></svg>`,vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#D80027" d="M0 0h513v114H0zM0 228h513v114H0z"/></svg>`,ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338c" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM385.9 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM337.3 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zM385.9 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM428.4 108.6l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"/><path d="M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"/></g><path fill="#D80027" d="M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"/><path fill="#0052B4" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><path fill="#FFF" d="m154.6 115 100.2 55.7v-15.8L183 115z"/><g fill="#D80027"><path d="m154.6 115 100.2 55.7v-15.8L183 115zM70.7 115l-71.9 39.9v15.8L99 115z"/></g><path fill="#0052B4" d="M99 55.7-1.2 0v15.7l71.9 40z"/><path fill="#FFF" d="M99 55.7-1.2 0v15.7l71.9 40z"/><g fill="#D80027"><path d="M99 55.7-1.2 0v15.7l71.9 40zM183 55.7l71.8-40V0L154.6 55.7z"/></g></svg>`,bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 363 242"><path fill="#338AF3" d="M0 0h363v242H0z"/><path fill="#FFF" d="M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"/><path fill="#f30028" d="m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"/><g fill="#FFDA44"><path d="M0 152.2h363v15.7H0zM0 183.6h363v15.7H0z"/></g></svg>`,xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 210.9H202.2V342h-79.8V210.9H0V131.1h122.4V0h79.8v131.1H513v61.2z"/><path fill="#D80027" d="M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"/></svg>`,Sm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ef3340" d="M0 0h513v342H0z"/><path fill="#00b5e2" d="M0 0h513v114H0z"/><path fill="#509e2f" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"/><path d="m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"/></g></svg>`,Cm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#10338C" d="M0 0h513.1v342H0z"/><path fill="#F6C500" d="M99.9 0h342v342"/><g fill="#FFF"><path d="M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"/><path d="M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"/><path d="m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"/><path d="m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"/><path d="m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"/><path d="m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"/><path d="m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"/><path d="m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"/><path d="m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"/></g></svg>`,wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc726" d="M0 0h513v342H0z"/><g fill="#00267f"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><path d="m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"/></svg>`,Tm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#2d6e41" d="M0 85.331h513v342H0z"/><circle fill="#F40B32" cx="218.902" cy="256.5" r="115"/></svg>`,Em=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#fdda25" d="M0 0h513v342H0z"/><path d="M0 0h171v342H0z"/><path fill="#ef3340" d="M342 0h171v342H342z"/></svg>`,Dm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#3d944f" d="M0 0h513v342H0z"/><path fill="#ef2b2d" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"/></svg>`,Om=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#00966e" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v114H0z"/><path fill="#d62612" d="M0 228h513v114H0z"/></svg>`,km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"/></svg>`,Am=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#47a644"><path d="M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z"/></g><path fill="#0052B4" d="M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFF" d="M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"/><circle fill="#FFF" cx="251.6" cy="170.7" r="100.2"/><g fill="#D80027" stroke="#47a644" stroke-width="3"><path d="m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zM290.2 170.3l7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zM213 170.3l7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z"/></g></svg>`,jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#008751" d="M0 85.333h513v342H0z"/><path fill="#fcd116" d="M196.666 85.333H513v171H196.666z"/><path fill="#e8112d" d="M196.666 256H513v171H196.666z"/></svg>`,Mm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E6BC00" d="M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zM112.51 94.64s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"/><path fill="#ADADAD" d="M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"/><path fill="#E6BC00" d="M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"/><path fill="#125ECC" d="M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"/><path fill="#FFE600" d="M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#D60537" d="M157.31 175.36H359.1v57.65H157.31v-57.65z"/><path fill="#EACE00" d="M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"/><path fill="#7A6920" d="M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"/><path fill="#ADADAD" d="M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"/><circle fill="#FFF" cx="258.2" cy="204.19" r="16.93"/></svg>`,Nm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c8102e" d="M0 0h513v342H0z"/><path fill="#012169" d="M0 .1h256.5v171H0z"/><path fill="#FFF" d="M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"/><path fill="#c8102e" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#c8102e" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><g transform="translate(13 5)"><path fill="#fff" d="M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"/><path fill="#2F8F22" d="M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"/><circle fill="#65B5D2" cx="383.65" cy="214.56" r="39.88"/><circle fill="#c8102e" cx="343.77" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="423.52" cy="194.63" r="19.94"/><circle fill="#c8102e" cx="383.65" cy="154.75" r="19.94"/></g></svg>`,Pm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path d="m0 193.74 513 127.19V214.26L0 97.08z"/><path fill="#FFF" d="M513 234.26v-86.67L0 20.41v86.67"/><g fill="#D80027" stroke="#231F20" stroke-width="3" stroke-miterlimit="10"><path d="M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"/><path d="M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zM129.24 133.18h20.88l24.93 27.26v73.45h-26.28v-68.37zM400 133.18h-20.88l-24.93 27.26v73.45h26.27v-68.37z"/></g></svg>`,Fm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d52b1e" d="M0 0h513v114H0z"/><path fill="#f9e300" d="M0 114h513v114H0z"/><path fill="#007934" d="M0 228h513v114H0z"/></svg>`,Im=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#012a87" d="M0 342h513V0z"/><path fill="#f9d90f" d="M250.4 0H0v166.9z"/><path fill="#dc171d" d="m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"/><circle fill="none" stroke="#000" stroke-width="9" stroke-miterlimit="10" cx="140.4" cy="160.6" r="57.7"/></svg>`,Lm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#009b3a" d="M0 0h513v342H0z"/><path fill="#fedf00" d="m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"/><circle fill="#FFF" cx="256.5" cy="171" r="80.4"/><path fill="#002776" d="M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zM334.9 186c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"/></svg>`,Rm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ffc72c" d="M0 0h513v342H0z"/><g fill="#00778b"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path d="M256 171 0 342V0z"/></svg>`,zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF7415" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 0H0v342"/><path fill="none" stroke="#FFF" stroke-width="42" stroke-miterlimit="10" d="M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"/></svg>`,Bm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 33.333 1100 733.333"><path fill="#ef2b2d" d="M0 0h1100v800H0z"/><path fill="#fff" d="M300 0h200v800H300z"/><path fill="#fff" d="M0 300h1100v200H0z"/><path fill="#002868" d="M350 0h100v800H350z"/><path fill="#002868" d="M0 350h1100v100H0z"/></svg>`,Vm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#6da9d2"><path d="M0 238h513v104H0zM0 0h513v104H0z"/></g><path d="M0 125.5h513v89.656H0z"/></svg>`,Hm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#007C30" d="M0 0h513v342H0z"/><path fill="#CE1720" d="M0 230h513V0H0"/><path fill="#FFF" d="M100 230V0H0v342h513-413z"/><g fill="#CE1720"><path d="M28 159.6 8.6 128.2 28 97.4l19.3 30.8zM72.6 159.6l-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zM72.6 241.2l-19.3-31.4L72.6 179 92 209.8z"/></g><g fill="none" stroke="#CE1720" stroke-width="7"><path d="m28 73.8-16.1-26L28 22.2l16 25.6zM72.6 73.8l-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zM72.6 318l-16-26.1 16-25.6 16.1 25.6z"/></g></svg>`,Um=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003e87" d="M0 0h513v342H0z"/><circle fill="#FFF" cx="260.9" cy="170.9" r="118.9"/><circle fill="none" stroke="#6DA544" stroke-width="18" stroke-miterlimit="10" cx="261.9" cy="173.1" r="94.5"/><g stroke="#000"><path fill="#003e87" d="m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"/><path fill="#FFDA44" d="M211.3 128.1h101.3v46.7H211.3z"/></g><g fill="#ce1127"><path d="M0 0h513v35H0zM0 306h513v35H0z"/></g></svg>`,Wm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="red"><path d="M0 0h142v342H0zM371 0h142v342H371zM306.5 206l50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z"/></g></svg>`,Gm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="green" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zM376.1 116.1l6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zM413.1 38.3l6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zM464.9 96.7l6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zM436.9 164.8l4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6z"/></g><path fill="#FFDA44" d="M306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zM140.6 59.9l-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z"/><path fill="#A2001D" d="M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"/></svg>`,Km=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M513 66.9V0H411.7L0 274.4V342h100.3z"/><path fill="#D80027" d="M513 0v40.1L60.2 342H0v-40.8L451.8 0z"/><path fill="#FFDA44" d="m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"/></svg>`,qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#d21034" d="M0 0h513v342H0z"/><g fill="#3a9927"><path d="M0 171h211.5v85.3H0zM300.5 171H512v85.3H300.5z"/></g><path fill="#003082" d="M0 0v85.3h211.5V0h89v85.3H513V0z"/><g fill="#FFF"><path d="M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z"/></g><g fill="#ffce00"><path d="M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z"/></g></svg>`,Jm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#da1a35" d="M0 85.331h513v342H0z"/><path fill="#009543" d="M443.726 85.331 102.4 426.657H0V85.331z"/><path fill="#fbde4a" d="M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"/></svg>`,Ym=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="red" d="M0 85.337h513v342H0z"/><path fill="#FFF" d="M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"/></svg>`,Xm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e60" d="M342 0h171v342H342z"/><path fill="#f77f00" d="M0 0h171v342H0z"/></svg>`,Zm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#01237a" d="M0 85.332h513v342H0z"/><g fill="#FFF"><path d="m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zM313.791 185.786l15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zM284.71 255.995l16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zM313.791 326.204l7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zM454.209 326.204l-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zM483.29 255.995l-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zM454.209 185.788l-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zM176 138.665l80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zM144 255.998h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z"/></g><g fill="#D80027"><path d="M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"/><path d="M80 138.665 0 85.331v15.082l57.377 38.252zM176 138.665h22.623L256 100.413V85.331zM57.377 202.665 0 240.917v15.081l80-53.333zM176 202.665l80 53.333v-15.081l-57.377-38.252z"/></g></svg>`,Qm=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M196 0h317v171H196z"/><path fill="#0037A1" d="M0 0h196v171H0z"/><path fill="#FFF" d="M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"/></svg>`,$m=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#ce1126" d="M0 0h513v342H0z"/><path fill="#007a5e" d="M0 0h171v342H0z"/><g fill="#fcd116"><path d="M342 0h171v342H342zM256 102.2l17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z"/></g></svg>`,eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#FFDA44"><path d="m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zM236.2 25.4l-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zM292.8 161.8l-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z"/></g></svg>`,th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 256.5h513V342H0z"/><path fill="#0052B4" d="M0 171h513v85.5H0z"/></svg>`,nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 114h513v114H0z"/><path fill="#0052B4" d="M0 285h513v57H0zM0 0h513v57H0z"/></svg>`,rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FF9811" d="M0-40.8v422.9-211.4z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v68.3H0zM0 136.5h513v68.3H0zM0 273.1h513v68.3H0z"/></g><path fill="#D80027" d="M256 170.7 0 342V0z"/><path fill="#FFF" d="m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"/></svg>`,ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#003893" d="M0 0h513v342H0z"/><path fill="#cf2027" d="M0 182.2h513v41.4H0z"/><path fill="#FFF" d="M0 140.8h513v41.4H0zM0 223.6h513V265H0z"/><g fill="#f7d116" stroke="#000"><path d="m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zM150.4 279.7l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zM52.8 208.8l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zM23.8 162H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zM72.2 310.9l6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zM277.1 162h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zM228.7 310.9l-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z"/></g></svg>`,ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#002b7f" d="M0 0h513v342H0z"/><path fill="#f9e814" d="M0 233.5h513v51H0z"/><g fill="#FFF"><path d="m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zM85.4 32.5l7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z"/></g></svg>`,oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0021ad" d="M0 0h513v342H0z"/><path fill="#1c8a42" d="M0 0h513v342"/><g fill="#FFF"><path d="m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zM40.5 173.1l5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zM77.6 92.2l5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zM123.7 155.1l5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zM90.8 209.1l4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z"/></g><circle fill="#ffc639" cx="267.1" cy="170.7" r="74.5"/><path fill="#1c8a42" d="M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"/><path fill="#ffc639" d="M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"/></svg>`,sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#DB7D00" d="M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"/><g fill="#006651"><path d="M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zM275.1 293.4c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zM293.3 287.2c-5.8-9.8 4-22.6 11.1-28.8 3.3 6-2.5 23.7-11.1 28.8zM310.2 279.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zM327.1 269c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zM340.6 258.3c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zM351.4 255.5c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zM340.9 267.7c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"/><path d="M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zM311 284.8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zM294.7 294c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zM279.8 298.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zM275.8 308.1c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zM237.9 293.4c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zM219.7 287.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zM202.8 279.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zM172.4 258.3c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zM161.6 255.5c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zM172.1 267.7c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"/><path d="M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zM202 284.8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zM218.3 294c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zM233.2 298.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"/></g></svg>`,ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#11457e" d="M0 0h513v342H0z"/><path fill="#d7141a" d="M513 171v171H0l215-171z"/><path fill="#FFF" d="M513 0v171H215.185L0 0z"/></svg>`,lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#FFDA44" d="M0 228h513v114H0z"/></svg>`,uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#12ad2b" d="M0 0h513v342H0z"/><path fill="#6ab2e7" d="M513 0v166.7L0 170.8V0z"/><path fill="#FFF" d="M256 170.7 0 342V0z"/><path fill="#d7141a" d="m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"/></svg>`,dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60c30" d="M0 0h513v342H0z"/><path fill="#FFF" d="M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"/></svg>`,fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#496E2D" d="M0 0h513v342H0z"/><path d="M0 110.7v120h513v-120z"/><path fill="#FFDA44" d="M0 110.7h513v40H0z"/><path fill="#FFF" d="M0 190.7h513v40H0z"/><path d="M196 0h120v342H196z"/><path fill="#FFDA44" d="M196 0h40v342h-40z"/><path fill="#FFF" d="M274.7 0h40v342h-40z"/><circle fill="#D80027" cx="256" cy="170.7" r="123.1"/><g fill="#496E2D"><path d="m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zM149.4 136h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zM149.4 205.3l12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zM190.1 261.4l4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zM256 282.8l-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zM321.9 261.4l-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zM362.6 205.3h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zM362.6 136l-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zM321.9 80l-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8z"/></g><path fill="#496E2D" d="M279.3 168.7c-11-21.1-14.5-25.1-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z"/></svg>`,ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 215.2h211.5v126.1H0z"/><path fill="#0052B4" d="M0 0h211.5v126.2H0z"/><path fill="#D80027" d="M300.5 0H512v126.2H300.5z"/><path fill="#0052B4" d="M300.5 215.2H512v126.1H300.5z"/><g stroke="#FFF" stroke-width="5" stroke-miterlimit="10"><path fill="#0052B4" d="M256 130h-49.9v49.4s19.5 6 49.9 6V130z"/><path fill="#D80027" d="M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"/><path fill="#0052B4" d="M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"/><path fill="#D80027" d="M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"/></g></svg>`,mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#41662E" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256.5 0H513v342H256.5z"/><g fill="#D80027"><path d="m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"/><path d="M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"/></g></svg>`,hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 170.7h513V256H0z"/><path fill="#D80027" d="M0 256h513v85.3H0z"/><circle fill="#FFDA44" cx="256" cy="171" r="60"/><path fill="#4C1F00" d="M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"/><path fill="#57BA17" d="M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"/><path fill="#338AF3" d="M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"/></svg>`,gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#111" d="M0 0h513v342H0z"/><path fill="#368FD8" d="M0 0h513v114H0z"/><path fill="#FFF" d="M0 228h513v114H0z"/></svg>`,_h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#C09300" d="M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"/></svg>`,vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#428823" d="M0 228h513v114H0z"/><g fill="#D80027"><path d="M256 171 0 342V0zM309.1 171c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.1-21.5-5.1-34.6-24.2-34.6-46.8z"/><path d="m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"/></g></svg>`,yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><path fill="#56AF35" d="M0 0h513v171H0z"/><path fill="#D80027" d="m0 342 513-171L0 0v342z"/><g fill="#ffc945"><path d="M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"/><circle cx="119.5" cy="148.3" r="17.5"/><circle cx="148.9" cy="158.5" r="17.5"/><circle cx="134.7" cy="135.2" r="17.5"/><circle cx="119.5" cy="172.7" r="17.5"/><circle cx="149.9" cy="182.8" r="17.5"/><circle cx="122.5" cy="198" r="17.5"/><circle cx="145.9" cy="205.2" r="17.5"/></g></svg>`,bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h22.5v15H0V0z"/><path fill="#D03433" d="M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"/><path fill="#FBCA46" d="M0 4h22.5v7H0V4z"/><path fill="#FFF" d="M7.8 7h1v.5h-1V7z"/><path fill="#A41517" d="M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"/><path fill="#A41517" d="M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"/></svg>`,xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#20AA46" d="M0 0h22.5v5H0V0z"/><path fill="#E92F3B" d="M0 10h22.5v5H0v-5z"/><path fill="#FADF50" d="M0 5h22.5v5H0V5z"/><circle fill="#205CCA" cx="11.3" cy="7.5" r="5.2"/><g stroke="#FFDB3D" fill="none"><g stroke-width=".5"><path d="m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zM10.3 6.4h1.9M9.9 7.8l1.3 1M12 6.2l.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1"/></g><g stroke-width=".25"><path d="m8.7 3.9 1.1 1.6M13.8 3.8l-1 1.6M11.3 10.1V12M8.9 8.3 7.1 9M15.5 9l-1.8-.7"/></g></g></svg>`,Sh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 810 540"><path fill="#039" d="M0 0h810v540H0z"/><path fill="#FC0" d="m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"/></svg>`,Ch=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"/></svg>`,wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#62b5e5" d="M0 0h513v342H0z"/><path fill="#2E52B2" d="M0 0h256v170H0z"/><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g><path fill="#F3F3F3" d="M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"/><path fill="#D80027" d="M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"/></svg>`,Th=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g><path fill="#1F8BDE" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"/><path fill="#FFF" d="M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"/><path fill="#187536" d="M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"/><path fill="#FFF" d="M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zM356 270.7c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"/></svg>`,Eh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#338AF3" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zM388.8 170.7l-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z"/></g></svg>`,Dh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0F61A5" d="M513 214.5H206.2V342H118.4V214.5H0v-87.7h118.4V0H206.2v126.8H513V192z"/><path fill="#E50E3D" d="M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,Oh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/></svg>`,Ah=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><g fill="#FFF"><path d="M0 0h513v341.3H0V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"/></g><g fill="#0052B4"><path d="M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z"/></g><g fill="#D80027"><path d="M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z"/></g></svg>`,jh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#c60a0a" d="M0 0h513v342H0z"/><path fill="#3E8446" d="m256.5 170.7-212 126.1V44.5z"/><g fill="#FFDA44"><path d="m256.5 170.7 211 126.1h-423zM467.5 44.5l-211 126.2-212-126.2z"/></g><path fill="#3E8446" d="M467.5 44.5v252.3l-211-126.1z"/><g fill="#FFDA44"><path d="m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 10.4l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 10.4l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM256.5 304.2l2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zM170.1 304.2l3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zM341.9 304.2l3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z"/></g><circle fill="#c60a0a" cx="244.5" cy="170.7" r="76.2"/><path fill="#FFDA44" d="m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zM107.7 167.8c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"/><circle fill="#A2001D" cx="99.1" cy="182.1" r="7.4"/></svg>`,Mh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M.8 0h21v15H.8V0z"/><path fill="#eb000e" d="M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"/><path fill="#eb000e" d="m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"/></svg>`,Nh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FDEB01" d="m0 0 90 60H0z"/><path fill="#58A846" d="M90 0v60L0 0z"/><path fill="#ED3D24" d="m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"/></svg>`,Ph=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"/><path fill="#FFDA44" d="m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"/></svg>`,Fh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><path d="m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"/></svg>`,Ih=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 230h513v112H0z"/><path fill="#D80027" stroke="#000" stroke-miterlimit="10" d="M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"/><path fill="#FFDA44" stroke="#000" stroke-miterlimit="10" d="m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"/><path d="M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zM170.5 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"/><path d="M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM320.9 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zM329.3 132v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zM250.5 132v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zM177.5 132v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"/></svg>`,Lh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 0v171H0V0z"/><circle fill="#FFF" cx="185.8" cy="171.2" r="117.8"/><path fill="#D80027" d="M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"/></svg>`,Rh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#cf0d19" d="M0 0h513v100H0z"/><path fill="#0052B4" d="M0 121h513v100H0z"/><path fill="#1a7e25" d="M0 242h513v100H0z"/></svg>`,zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M342 0h171v342H342z"/><path fill="#D80027" d="M0 0h171v342H0z"/></svg>`,Bh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,Vh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v113.8H0z"/><path fill="#D80027" d="M0 227.6h513V342H0z"/><path fill="#0070C8" d="M126 171 0 342V0z"/><path fill="none" stroke="#000" stroke-miterlimit="10" d="M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"/><path fill="#786145" d="M264.5 179.8h9.8l4 25.8h-17.8z"/><path fill="#6DA544" d="M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"/><g fill="#FFDA00" stroke="#000" stroke-miterlimit="10"><path d="m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zM246 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM261.3 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zM277.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM293.1 120l1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zM308.1 120l1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z"/></g></svg>`,Hh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0d5eaf"><path d="M0 0h513v38H0zM0 76h513v38H0zM0 152h513v38H0zM0 228h513v38H0zM0 304h513v38H0z"/><path d="M0 0h190v190H0z"/></g><g fill="#FFF"><path d="M0 76h190v38H0z"/><path d="M76 0h38v190H76z"/></g></svg>`,Uh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/><ellipse fill="#FFF" cx="443.4" cy="233.6" rx="29" ry="43.5"/><ellipse fill="#FFCE00" cx="406.9" cy="317.7" rx="22" ry="9.3"/><ellipse fill="#FFCE00" cx="364" cy="317.7" rx="22" ry="9.3"/><path fill="#39B200" d="m342 190.1 43.4 86.9 43.5-86.9z"/><ellipse fill="#9B9B9B" cx="327.5" cy="233.6" rx="29" ry="43.5"/><path fill="#757575" d="m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"/><circle fill="#C6B56F" cx="385.4" cy="67" r="29"/><circle fill="#A54A00" cx="386" cy="88.7" r="29"/><circle fill="#FFF" cx="443.4" cy="117.7" r="29"/><circle fill="#0049FF" cx="342.2" cy="146.7" r="29"/><circle fill="#0041F9" cx="429.8" cy="146.7" r="29"/><circle fill="#F7D71E" cx="386" cy="233.6" r="29"/><circle fill="#CEC851" cx="457.9" cy="190.1" r="29"/><circle fill="#FFF" cx="385.4" cy="289.5" r="29"/><path fill="#7C0B29" d="m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"/><circle fill="#FFF" cx="327.5" cy="117.4" r="29"/></svg>`,Wh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h171v342H0zM342 0h171v342H342z"/></g><circle fill="#DCC26D" cx="256" cy="155.8" r="25.5"/><path fill="#628A40" d="M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"/></svg>`,Gh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M11.1 11.1h489.7v319.1H11.1z"/><path fill="#7DBEF1" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/><path fill="#1C8AE6" d="M179.8 180.7h152.6l-29.3 64.9h-95.2z"/><path fill="#FFF042" d="M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"/><path fill="#259C7B" d="m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"/><path fill="#8E5715" d="M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"/><path fill="#FFF" d="m217.8 170.7 25.5 38.2h-25.5v-38.2z"/><path fill="none" stroke="#D80027" stroke-width="12" stroke-miterlimit="10" d="M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"/></svg>`,Kh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h512v342H0z"/><path fill="#FFDA44" d="M0 0h512v171H0z"/><path fill="#D80027" d="M0 0h182v342H0z"/><path d="m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"/></svg>`,qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#009E49" d="M0 0h900v600H0V0z"/><path fill="#FFF" d="m0 0 947 300L0 600V0z"/><path fill="#FFD00D" d="M0 26.1 870 300 0 573.9V26.1z"/><path fill="#2D2D2D" d="m0 0 450 300L0 600V0z"/><path fill="#D3132F" d="m0 35 397.5 265L0 565V35z"/></svg>`,Jh=`<svg viewBox="0 0.5 21 14" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#FFF" d="M0 0h21v15H0z"/><path fill="#ee1c25" d="M0 0h21v15H0z"/><path d="M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z" fill="#FFF"/></g></svg>`,Yh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#FFF"><path d="M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zM189.2 212.6l11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zM387.1 241.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zM338.5 125.1l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zM387.1 58.9l5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zM429.5 108.6l5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V150l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM399.2 166.5l4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"/><path d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/></g><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><g fill="#D80027"><path d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/></g><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><g fill="#D80027"><path d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></g></svg>`,Xh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#338AF3"><path d="M0 0h513v114H0zM0 228h513v114H0zM203.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM308.5 117.9l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM203.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zM308.5 177.3l6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z"/></g></svg>`,Zh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#0052B4" d="M0 228h513v114H0z"/><g fill="#338AF3"><path d="M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zM203.7 113.2v-44l-17.3-14.4-17.9 14.4v44zM238.9 113.2v-44l17.6-14.4 17.6 14.4v44z"/></g><g fill="#0052B4"><path d="M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zM238.9 113.2h-35.2v-44l17.5-14.4 17.7 14.4z"/></g><path stroke="#D80027" fill="#FFF" d="M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"/><g fill="#D80027"><path d="M168.5 113.2h35.2v35.2h-35.2zM238.9 113.2h35.2v35.2h-35.2zM309.3 113.2h35.2v35.2h-35.2zM203.7 148.4h35.2v35.2h-35.2zM274.1 148.4h35.2v35.2h-35.2zM168.5 183.6h35.2v35.2h-35.2zM203.7 218.8h35.2V254h-35.2zM238.9 183.6h35.2v35.2h-35.2zM309.3 183.6h35.2v35.2h-35.2zM274.1 218.8h35.2V254h-35.2zM309.3 274.3c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zM238.9 254v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z"/></g></svg>`,Qh=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#A2001D" d="M0 0h513v172H0z"/><path fill="#0052B4" d="M0 172h513v172H0z"/><path fill="#FFF" d="m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"/><circle fill="#0052B4" cx="270.7" cy="182.3" r="55.4"/><circle fill="#A2001D" cx="270.7" cy="182.3" r="27.7"/><path fill="#6DA544" d="M229.1 113.1h83.1l-41.5 41.5z"/><path fill="#FFDA44" d="M256.8 140.8h27.7v83h-27.7z"/><path fill="#6DA544" d="M314.9 215.5h-88.5l-66.5 36h221.5z"/></svg>`,$h=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/></svg>`,eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path fill="#fc0" d="M0 0h300v200H0z"/><path fill="#0768a9" d="M0 0h200v200H0z"/><path fill="#fff" d="M0 0h100v200H0z"/></svg>`,tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#E00" d="M0 0h513v171H0z"/></svg>`,ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#FF9811" d="M342 0h171v342H342z"/></svg>`,rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#2E52B2"><path d="M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zM0 277.3h512V320H0z"/></g></svg>`,ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E52D42" d="M0 0h513v342H0z"/><path fill="#FFF" d="M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"/><path fill="#F8DD4E" d="M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"/></svg>`,ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#181A93" d="M17.3 0h478.4v342H17.3V0z"/><path fill="#FFA44A" d="M0 0h513v114H0V0z"/><path fill="#1A9F0B" d="M0 228h513v114H0V228z"/><path fill="#FFF" d="M0 114h513v114H0V114z"/><circle fill="#FFF" cx="256.5" cy="171" r="34.2"/><path fill="#181A93" d="M256.5 216.6c-25.1 0-45.6-20.5-45.6-45.6s20.5-45.6 45.6-45.6 45.6 20.5 45.6 45.6-20.5 45.6-45.6 45.6zm0-11.4c18.2 0 34.2-16 34.2-34.2s-15.9-34.2-34.2-34.2-34.2 16-34.2 34.2 16 34.2 34.2 34.2z"/><circle fill="#181A93" cx="256.5" cy="171" r="22.8"/></svg>`,og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0-.3h513V342H0V-.3z"/><path fill="#0052B4" d="M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"/><path fill="#FFF" d="M0-.3h256v171H0V-.3z"/><path d="M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z" fill="#A2001D"/><g fill="#D80027"><path d="M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54z"/><path d="M0-.3v15l57 39h23L0-.3zM256-.3v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zM256 170.7v-15l-57-38h-23l80 53z"/></g><g fill="#2E52B2"><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73z"/><path d="M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zM256 22.7v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zM256 147.7v-30h-46l46 30zm-96 23v-49l73 49h-73z"/></g><path fill="#5DA51E" stroke="#45602C" stroke-width="4" stroke-miterlimit="10" d="M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"/><path fill="#E2DD24" stroke="#525625" stroke-width="4" stroke-miterlimit="10" d="M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"/></svg>`,sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#CE1126" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><g fill="#547C31"><path d="M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zM268.8 190.5v-59.6H249v79.5h33.1v-19.9zM335 190.5v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z"/></g></svg>`,cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><g fill="#D80027"><path d="M0 227.9h513v114H0zM278.8 134.8c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z"/></g><g fill="#FFF" opacity=".5"><path d="M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zM89.2 98.9h22.3v24.4H89.2zM133.8 98.9h22.3v24.4h-22.3zM178.4 98.9h22.3v24.4h-22.3zM223 98.9h22.3v24.4H223zM267.7 98.9H290v24.4h-22.3zM312.3 98.9h22.3v24.4h-22.3zM356.9 98.9h22.3v24.4h-22.3zM401.5 98.9h22.3v24.4h-22.3zM446.1 98.9h22.3v24.4h-22.3zM490.7 98.9H513v24.4h-22.3zM44.6 216.9h22.3v25.5H44.6zM0 216.9h22.3v25.5H0zM89.2 216.9h22.3v25.5H89.2zM133.8 216.9h22.3v25.5h-22.3zM178.4 216.9h22.3v25.5h-22.3zM223 216.9h22.3v25.5H223zM267.7 216.9H290v25.5h-22.3zM312.3 216.9h22.3v25.5h-22.3zM356.9 216.9h22.3v25.5h-22.3zM401.5 216.9h22.3v25.5h-22.3zM446.1 216.9h22.3v25.5h-22.3zM490.7 216.9H513v25.5h-22.3z"/></g></svg>`,lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 210.6H202.2v130.7H122.4V210.6H0V130.8h122.4V0H202.2v130.8H513v18.5l-1 42.7z"/><path fill="#D80027" d="M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"/></svg>`,ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M342 0H0v341.3h512V0z"/><path fill="#6DA544" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/></svg>`,dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"/><path fill="#FFDA44" d="m233.7 44.6 22.3 5.6 22.3-5.6 4-20.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"/><path fill="#D80027" d="M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"/></svg>`,fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path d="M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"/><path fill="#0052B4" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/><path fill="#FFDA44" d="M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"/></svg>`,pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 228h513v114H0z"/><path fill="#D80027" d="M256.5 170.7 0 341.3V0z"/><path fill="#FFF" d="m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"/></svg>`,mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h512v342H0z"/><circle fill="#D80027" cx="256.5" cy="171" r="96"/></svg>`,hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path d="M0 0h512v90.579H0z"/><path fill="#496E2D" d="M0 251h513v91H0z"/><path fill="#A2001D" d="M0 114h513v114H0z"/><g fill="#FFF"><path d="m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"/><path d="M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"/></g><g fill="#A2001D"><path d="M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zM303 105.9c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z"/></g><path d="M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zM209 105.9v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"/></svg>`,gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><g fill="#D80027"><path d="M0 0h513v342H0z"/><circle cx="256" cy="170.7" r="170.7"/></g><path fill="#FFDA44" d="M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"/><circle fill="#D80027" cx="257.4" cy="170.7" r="71.6"/><g fill="#FFDA44"><path d="M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zM240.8 217.2c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zM300.2 146c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zM278.5 174.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z"/></g></svg>`,_g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v114H0zM0 228h513v114H0z"/></g><path fill="#FFF" d="M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"/></svg>`,vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 450 300"><path fill="#CE1126" d="M0 0h450v300H0V0z"/><g fill="#FCD116"><circle cx="227.6" cy="161.2" r="56.2"/><path d="m254.1 73.4-23.7 26 28.6 6.5zM202.6 73.6l-4.8 33.1 28.5-8zM296.9 100.3l-34.7 8.5 20.1 23.7zM158.6 98.5l15.5 32.7 20.2-22.7zM317.6 143.8l-34.4-9.9 5.6 29.5zM135.6 141.2l31.9 19.8 5.2-27.7z"/></g><path fill="#003F87" d="M0 175h450v125H0V175z"/><path fill="#FFF" d="M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"/><path fill-rule="evenodd" clip-rule="evenodd" fill="#FCD116" d="m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"/></svg>`,yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v85.5H0z"/><path fill="#FFF" d="M0 85.5h513V171H0z"/><path fill="#D80027" d="M0 171h513v85.5H0z"/><path fill="#6DA544" d="M256.5 171 0 342V0z"/><g fill="#FFF"><path d="M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"/><path d="m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.3h8.9zM108.9 148.4l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/><path d="m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zM108.9 192.9l2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"/></g></svg>`,bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M512 0H0v342"/><path fill="#FFDA44" d="M307.7 0 0 194.5V342h206.9L513 148.5V0z"/><path d="M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"/><g fill="#FFF"><path d="m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z"/></g></svg>`,xg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#91DC5A" d="M0 0h513v342H0z"/><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0052B4"><path d="M0 0h513v57.188H0zM0 284.1h513v57.177H0z"/></g><path fill="#D80027" d="M0 79.9h513v181.582H0z"/><circle fill="#FFF" cx="190.33" cy="171" r="65.668"/><path fill="#D80027" d="m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"/></svg>`,Sg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#FFF" d="M0 0h900v600H0z"/><g transform="rotate(-56.31)"><g stroke="#000" stroke-width="25"><path d="M-75 228.3H75m-150 37.5H75m-150 37.5H75M-75 778.3H75m-150 37.5H75m-150 37.5H75"/></g><path stroke="#FFF" stroke-width="12.5" d="M0 753.3v125"/><circle fill="#ca163a" cy="540.8" r="150"/><path fill="#0e4896" d="M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"/></g><g stroke="#000" stroke-width="25"><path d="m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808M689.187 230.644l-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234"/></g><path stroke="#FFF" stroke-width="12.5" d="m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"/></svg>`,Cg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#6DA544" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/><path d="M167 227.6 0 341.3V0l167 113.8z"/></svg>`,wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><circle fill="#6DA544" cx="384" cy="96.5" r="29.7"/><path fill="#D80027" d="M332.1 89H436v44.5H332.1z"/><path fill="#496E2D" d="M435.9 170.7z"/><path fill="#FFDA44" d="M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8H435.9v-29.7H332.1z"/><path fill="#338AF3" d="M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"/><g fill="#F3F3F3"><path d="M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zM384 108.3c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z"/></g><path fill="#FFF" d="M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176z"/><path d="M0 0v15.1l57.4 38.2H80zM256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zM256 170.7v-15.1l-57.4-38.3H176z"/></g></svg>`,Tg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#36B6CC" d="M0 0h513v342H0V0z"/><circle fill="#FFD400" cx="256.5" cy="170.9" r="68.4"/><path fill="#FFD400" d="m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"/></svg>`,Eg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .1h513v90.7H0zM0 251.3h513V342H0z"/></g><circle fill="#FFF" cx="256.5" cy="171" r="65.9"/></svg>`,Dg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 .2h513v90.7H0zM.5 251.3H513V342H.5z"/></g><path fill="#6DA544" d="M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"/><path fill="#14AF5A" d="M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"/></svg>`,Og=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#55B2FF" d="M0 0h513v342H0z"/><path fill="#F3F3F3" d="M148.5 298.1h216l-108-254.2z"/><path fill="#333" d="m186 272.7 70.5-160.3L327 272.7z"/><path fill="#FFDA44" d="M148.5 298.1h216l-108-101.7z"/></svg>`,kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v171H0z"/><path fill="#FFDA44" d="M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"/></svg>`,Ag=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#A2001D" d="M222.6 22.3h267.1v296.8H222.6z"/><path fill="#D80027" d="M22.3 22.3h200.3v296.8H22.3z"/><path fill="#FFDA44" d="M200.3 0h22.3v342h-22.3z"/><path fill="#6DA544" d="M22.3 22.3h89v296.8h-89z"/><path fill="#FF9811" d="M111.3 22.3h89v296.8h-89z"/><path fill="#FFDA44" d="M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zM232.2 32.3c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zM480.6 32.2c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zM480.7 309.1c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zM232.5 309c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"/><path fill="none" stroke="#FFDA44" stroke-width="6" stroke-miterlimit="10" d="M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"/></svg>`,jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#bf0a30"><path d="M0 0h513v31.1H0zM0 62.2h513v31.1H0zM0 124.5h513v31.1H0zM0 186.8h513v31.1H0zM0 249.3h513v31.1H0zM0 310.9h513V342H0z"/></g><path fill="#002868" d="M0 0h155.6v155.6H0z"/><path fill="#FFF" d="m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"/></svg>`,Mg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h513v114H0z"/><path fill="#6DA544" d="M0 227.6h513v114H0z"/><path d="m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"/><path d="M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"/></svg>`,Ng=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#6DA544" d="M0 0h513v342H0z"/><path fill="#FFDA44" d="M0 0h513v114H0z"/><path fill="#D80027" d="M0 228h513v114H0z"/></svg>`,Pg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#338AF3" d="M0 228h513v114H0z"/></svg>`,Fg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#A2001D"><path class="st1" d="M0 0h513v127.6H0zM0 214.4h513V342H0z"/></g></svg>`,Ig=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path d="M0 0h513v342H0z"/><path fill="#D80027" d="M0 0h513v114H0z"/><path fill="#496E2D" d="M0 228h513v114H0z"/><g fill="#FFF"><path d="m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"/><path d="M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4-9.4 3.7-14.7 3.7z"/></g></svg>`,Lg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 .3V342h513V.3z"/><path fill="#20661B" d="M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"/></svg>`,Rg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.333h512v341.333H0z"/><path fill="#c70000" d="M0 85.333h512V256H0z"/></svg>`,zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#D80027" d="M342 0h171v342H342z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#AF7F59" d="M206.2 129.1h33.2L256 79.3l16.6 49.8h33.2v99.6L256 262l-49.8-33.2v-99.7zm33.2 33.3v49.8h33.2v-49.8h-33.2z"/></svg>`,Bg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E6BE53" d="M0 0h513v342H0z"/><path fill="#E01D24" d="M20 20h473v302H20z"/><path fill="#E6BE53" d="M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c6-2 15.5-2 21.5 0l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9.1 0-6.7-6.8-6.7-6.8z"/><path fill="#215F90" d="M233.9 200.2c0 6.2 1.7 6.4 4.2.5 0 0 7.1-23.2 18.4-23.2 11.3 0 18.6 23.6 18.6 23.6 2.2 5.7 4 5.3 4-1.1v-11.2c0-18.7-10.1-33.9-22.6-33.9-12.5 0-22.6 15.2-22.6 33.9v11.4z"/></svg>`,Vg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108 72"><path d="M0 0h108v72H0z" fill="#003787"/><path d="M0 0h108L60 48v24H48V48z" fill="#fff"/><circle cx="54" cy="30" r="8" fill="#f9d90f"/><path d="M44 30h20L54 48z" fill="#fff"/><path d="M54 48 38 33h32z" fill="#cf142b"/></svg>`,Hg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M512 426.666V85.329H0v341.337h512z"/><path fill="#D80027" d="M512 85.331H0v170.666h512V85.331z"/><path fill="#FFF" d="M0 85.334h181.793v341.337H0z"/></svg>`,Ug=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1E509C" d="M0 0h513v342H0z"/><path fill="#FFF" d="M513 176.1V81.3L0 342l513-165.9z"/><path fill="#F18D36" d="M513 0v81.3L0 342 513 0z"/><path fill="#FFF" d="m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"/></svg>`,Wg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.333h512V426.67H0z"/><g fill="#D80027"><path d="M383.875 426.662 256 252.286l26.827 174.376zM133.565 85.33 256 252.286 230.314 85.33zM229.171 426.662 256 252.286 128.124 426.662zM0 85.33V212.9l256 39.386L28.333 85.33zM0 426.662h18.212L256 252.286 0 291.67zM256 252.286 512 212.9V85.33h-28.331zM281.686 85.33 256 252.286 378.434 85.33zM512 426.662V291.671l-256-39.385 237.787 174.376z"/><circle cx="256" cy="252.29" r="59.359"/></g><circle fill="#FFDA44" cx="256" cy="252.29" r="44.522"/></svg>`,Gg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#6DA544" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,Kg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#6DA544" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 85.337h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M384 227.261h-97.783L256 134.265l-30.217 92.997H128l79.108 57.475-30.217 92.998L256 320.925l79.108 56.81-30.217-92.998L384 227.261z"/></svg>`,qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#095FAD" d="M0 0h513v342H0z"/><g fill="#BE1229"><path d="M342 0h171v342H342zM0 0h171v342H0z"/></g><g fill="#FFDA44"><path d="M108.3 166.3h14.8v74.2h-14.8zM48.9 166.3h14.8v74.2H48.9z"/><circle cx="86" cy="203.4" r="14.8"/><path d="M71.2 225.7h29.7v14.8H71.2zM71.2 166.3h29.7v14.8H71.2z"/><circle cx="86" cy="144" r="14.8"/><path d="M76.3 123.9h19.5L86 108.3z"/></g></svg>`,Jg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#00745a" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"/><g fill="#FFDA44"><path d="m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zM202.112 175.683l8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zM162.662 215.132l11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zM309.889 175.683l-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zM349.338 215.132l-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z"/></g><g fill="#FFF"><path d="M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zM187.977 306.12a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z"/></g></svg>`,Yg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 750 500"><path fill="#0071BC" d="M0 0h750v500H0V0z"/><g fill="#FFF" stroke="#000" stroke-width="1.9"><circle cx="375" cy="245" r="225" fill="#fff"/><circle cx="375" cy="245" r="165" fill="#0071BC"/></g><g stroke="#000"><path fill="#8C8A8C" stroke-width="1.9" d="M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"/><path fill="#FFF" stroke-width="2" stroke-linejoin="round" d="m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"/></g></svg>`,Xg=`<svg viewBox="0 0 900 600" xmlns="http://www.w3.org/2000/svg"><path fill="#231f1e" d="M0 0h900v600H0z"/><path fill="#00a650" d="M0 0h900v300H0z"/><path fill="#ef1923" d="m0 0 450 300L0 600z"/></svg>`,Zg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 100 513 342"><path fill="#006233" d="M0 100h513v342H0z"/><path fill="#cd2a3e" d="M0 100h513v46H0zM0 396h513v46H0z"/><path fill="#ffc400" d="M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"/><path fill="#ffc400" d="m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"/></svg>`,Qg=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#1B4991" d="M0 0h513v342H0z"/><path fill="#00A2B8" stroke="#FFF" stroke-width="3" d="M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"/><path fill="#A35023" d="M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"/><path d="M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"/><path fill="#FFF" d="M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"/><path fill="#D80027" d="M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"/><path fill="#0052B4" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#FFF" d="M155.8 115 256 170.7v-15.8L184.2 115z"/><path fill="#D80027" d="M155.8 115 256 170.7v-15.8L184.2 115zM71.8 115 0 154.9v15.8L100.2 115z"/><path fill="#0052B4" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#FFF" d="M100.2 55.6 0 0v15.7l71.8 39.9z"/><path fill="#D80027" d="M100.2 55.6 0 0v15.7l71.8 39.9zM184.2 55.6 256 15.7V0L155.8 55.6z"/></svg>`,$g=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#C31B28" d="M256 0h256.5v342H256z"/><path fill="#ACABB1" stroke="#C31B28" stroke-width="2" d="M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"/></svg>`,e_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#f7ce00" d="M0 85.331h512v341.326H0z"/><path fill="#e32737" d="M0 85.331h512v85.337H0z"/><path fill="#191f6a" d="M0 170.657h512v85.337H0z"/><path fill="#00a04e" d="M0 341.331h512v85.337H0z"/></svg>`,t_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#d01920" d="M0 85.331h512v341.333H0z"/><path fill="#017c3b" d="M144.696 174.375h222.609v163.25H144.696z"/><path fill="#FFF" d="M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"/></svg>`,n_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 342"><path fill="#272727" d="M0 0h512v114H0z"/><path fill="#e40112" d="M0 114h512v114H0z"/><path fill="#07893f" d="M0 228h512v114H0z"/><circle fill="#e40112" cx="256" cy="125" r="95"/></svg>`,r_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#dc2339" d="M342 0H0v341.3h513V0z"/><path fill="#11865d" d="M0 0h171v342H0z"/><path fill="#FFF" d="M171 0h171v342H171z"/><path fill="#8C9157" d="M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"/><ellipse fill="#C59262" cx="256.5" cy="159.1" rx="24.3" ry="36.4"/></svg>`,i_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#c00"><path d="M0 0h513v24.4H0zM0 48.9h513v24.4H0zM0 97.7h513v24.4H0zM0 146.6h513V171H0zM0 195.4h513v24.4H0zM0 244.3h513v24.4H0zM0 293.1h513v24.4H0z"/></g><path fill="#006" d="M0 0h256.5v195.4H0z"/><path d="M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z" fill="#fc0"/></svg>`,a_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 513 342"><path fill="#FFF" d="M0 85.333h513v342H0z"/><path fill="#f4d900" d="M0 323.333h513v104H0z"/><path fill="#006d66" d="M0 85.333h513v104H0z"/><path d="M0 204.333h513v104H0z"/><path fill="#cb0f31" d="M256 256.006 0 426.668V85.331z"/><path fill="#f4d900" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,o_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337h512"/><path fill="#FFF" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path fill="#A2001D" d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/><path fill="#FFDA44" d="m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"/></svg>`,s_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 426.7"><path fill="#009543" d="M0 293h640v133.7H0V293z"/><path fill="#ED4135" d="M0 132h640v161.3H0V132z"/><path fill="#0035AD" d="M0 0h640v133.3H0V0z"/><circle fill="#FAE600" stroke="#000" stroke-width="5.3" cx="240" cy="213.3" r="157.3"/><path d="m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"/><path d="m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"/><ellipse cx="237.8" cy="280.5" rx="16.8" ry="26.5"/><circle cx="237.4" cy="143.4" r="20.9"/><ellipse cx="238.4" cy="211.1" rx="19.9" ry="12.1"/><path d="M213.8 177h47v10h-47zM213.8 234h47v10h-47z"/></svg>`,c_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#e05206" d="M0 85.337h512v113.775H0z"/><path fill="#0db02b" d="M0 312.888h512v113.775H0z"/><circle fill="#e05206" cx="256" cy="256" r="32"/></svg>`,l_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342zM304 311.995l-48-152.001-48 152.001h36v39.999h24v-39.999z"/></g></svg>`,u_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.5 513 342"><path fill="#FFF" d="M0 85.5h513v342H0z"/><g fill="#007b23"><path d="M0 85.5h171v342H0zM342 85.5h171v342H342z"/></g></svg>`,d_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#338AF3"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"/><path fill="#0052B4" d="M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"/><path fill="#338AF3" d="m256 226.32-13.709 23.744L256 256l13.709-5.936z"/><path fill="#6DA544" d="M235.437 261.936h41.126l-6.854-11.872h-27.418z"/></svg>`,f_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 114h513v114H0z"/><path fill="#cd1f2a" d="M0 0h513v114H0z"/><path fill="#1d4185" d="M0 228h513v114H0z"/></svg>`,p_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,m_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"/><path fill="#D80027" d="M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"/><g fill="#FFF"><path d="m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zM88.268 191.662l-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"/><path d="M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"/></g></svg>`,h_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M0 239.994h512v32H0z"/><path fill="#FFF" d="m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"/></svg>`,g_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M0 85.334h256v170.663H0z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80z"/></g><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 85.329v15.083l57.377 38.251H80z"/><g fill="#2E52B2"><path d="M0 107.951v30.712h46.069zM96 85.331v48.913L22.628 85.331z"/></g><path fill="#D80027" d="M256 85.329v15.083l-57.377 38.251H176z"/><g fill="#2E52B2"><path d="M256 107.951v30.712h-46.069zM160 85.331v48.913l73.372-48.913z"/></g><path fill="#D80027" d="M0 255.997v-15.082l57.377-38.252H80z"/><g fill="#2E52B2"><path d="M0 233.376v-30.713h46.069zM96 255.994v-48.912l-73.372 48.912z"/></g><path fill="#D80027" d="M256 255.997v-15.082l-57.377-38.252H176z"/><g fill="#2E52B2"><path d="M256 233.376v-30.713h-46.069zM160 255.994v-48.912l73.372 48.912z"/><circle cx="128" cy="170.66" r="22.627"/></g><g fill="#FFDA44"><path d="m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zM128 219.803l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM128 102.469l2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zM197.931 161.136l2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zM58.069 161.136l2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z"/></g></svg>`,__=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><g fill="#D80027"><path d="m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zM386.107 308.817l5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zM387.588 185.971l4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zM349.876 233.291l5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z"/></g><path fill="#FFF" d="M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"/><path fill="#D80027" d="M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.998v-15.739l-71.847-39.915zM71.846 200.344 0 240.259v15.739l100.174-55.654z"/></g><path fill="#0052B4" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.983 0 85.33v15.738l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.983 0 85.33v15.738l71.847 39.915zM184.154 140.983 256 101.068V85.33l-100.174 55.653z"/></g></svg>`,v_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#D80027" d="M0 0h513v342H0z"/><path fill="#FFF" d="M138 0h377v114H138z"/><path fill="#4A7C3A" d="M138 230h377v114H138z"/><g fill="none" stroke="#FFF" stroke-width="10" stroke-miterlimit="2"><path d="M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"/><path d="M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8M51.7 65.3h37.9M70.7 35.2v30.1"/></g></svg>`,y_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M256 256v170.663H0V256h256z"/><path fill="#D80027" d="M512 85.337V256H256V85.337h256z"/><path fill="#0052B4" d="m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/><path fill="#D80027" d="m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"/></svg>`,b_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.331h170.663v341.337H0zM341.337 85.331H512v341.337H341.337z"/></g></svg>`,x_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"/><path fill="#0052B4" d="M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"/><g fill="#D80027"><path d="M232.259 246.506h9.498v19h-9.498zM270.247 246.506h9.498v19h-9.498zM251.247 232.259h9.498v33.243h-9.498z"/></g></svg>`,S_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><path fill="#A2001D" d="M0 85.33h512v341.332"/><g fill="#FFF"><path d="m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zM181.797 244.866l4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zM181.797 348.749l4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zM225.363 281.967l4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zM138.23 281.967l4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z"/></g><path fill="#FFDA44" d="M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"/></svg>`,C_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M512 85.337V256H256L0 85.337z"/><path fill="#D80027" d="M512 256v170.663H0L256 256z"/><g fill="#FFDA44"><path d="m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zM21.789 353.53l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zM210.395 235.569l-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.117-15.607 14.809-4.934-14.88-4.713z"/></g></svg>`,w_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"/><path d="M0 85.343h512v341.326H0z"/></g><path fill="#01411c" d="M128 85.331h384v341.337H128z"/><g fill="#FFF"><path d="M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zM360.58 172.889l17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z"/></g></svg>`,T_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><g fill="#FFF"><path d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512V256H0z"/></g><path fill="#D80027" d="M0 256h512v170.663H0z"/></svg>`,E_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,D_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#ACABB1" d="M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"/><path fill="#338AF3" d="M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"/><path fill="#6DA544" d="M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"/><path fill="#FFDA44" d="M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,O_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#D80027"><path d="M0 85.337h512V153.6H0zM0 221.863h512v68.263H0zM0 358.4h512v68.263H0z"/></g><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFF" d="m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"/></svg>`,k_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M0 85.337h512v113.775H0z"/><path fill="#268024" d="M0 312.888h512v113.775H0z"/><path fill="#e4312b" d="M256 256.006 0 426.668V85.331z"/></svg>`,A_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M196.641 85.337v341.326H0V85.337z"/><circle fill="#FFDA44" cx="196.641" cy="256" r="64"/><path fill="#D80027" d="M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"/><path fill="#FFF" d="M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"/></svg>`,j_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><circle fill="#FFDA44" cx="218.902" cy="255.994" r="74.207"/></svg>`,M_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#0052B4" d="M0 312.888h512v113.775H0z"/><path fill="#6DA544" d="m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"/><path fill="#FFDA44" d="m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"/></svg>`,N_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#751A46" d="M0 0h512v342H0z"/><path fill="#FFF" d="M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"/></svg>`,P_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 26.666 640 426.666"><g fill-rule="evenodd" stroke-width="1pt"><path fill="#fff" d="M0 0h640v480H0z"/><path fill="#00267f" d="M0 0h213.3v480H0z"/><path fill="#f31830" d="M426.7 0H640v480H426.7z"/></g></svg>`,F_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,I_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path fill="#FFF" d="M0 312.882h512v113.775H0z"/><path fill="#D80027" d="M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"/><g fill="#FFDA44"><path d="M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zM241.16 278.782l-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z"/></g><path fill="#FFF" d="M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"/></svg>`,L_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.33v341.332h512V85.33z"/><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFF" d="M0 85.333h512v113.775H0z"/><path fill="#D80027" d="M0 312.884h512v113.775H0z"/></svg>`,R_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFDA44" d="M0 255.994h512v81.619H0z"/><path fill="#496E2D" d="M0 337.614h512v89.043H0z"/><path fill="#FFDA44" d="m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"/></svg>`,z_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#055e1c" d="M0 85.333h512v341.333H0z"/><g fill="#FFF"><path d="M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zM330.264 181.791v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zM174.491 233.734c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"/><path d="M297.661 181.788h21.736v51.942h-21.736zM265.057 211.473c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"/><path d="M207.093 248.57h32.601v22.261h-32.601z"/></g></svg>`,B_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.334h512v341.337H0z"/><path fill="#0052B4" d="M0 426.663V85.329h512"/><path fill="#FFDA44" d="M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"/><g fill="#FFF"><path d="m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.12-15.757L64 124.543h16.567zM170.312 108.787l5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zM85.688 191.289l5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zM170.312 191.289l5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z"/></g></svg>`,V_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M235.454 85.337 0 426.663 427.345 85.337z"/><path fill="#6DA544" d="M512 329.393 0 426.663h512z"/><path fill="#D80027" d="M512 85.337h-84.655L0 426.663l512-204.512z"/><path fill="#0052B4" d="M0 85.337v341.326L235.454 85.337z"/></svg>`,H_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/><path fill="#496E2D" d="M0 426.668V85.331l256 170.675z"/></svg>`,U_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"/></svg>`,W_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512V256H0z"/><g fill="#FFF"><path d="M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zM150.261 122.435l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"/><path d="m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zM179.178 144.696l3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zM168.047 178.087l3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zM132.474 178.087l3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"/></g></svg>`,G_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"/><path fill="#ffda44" d="M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"/><path fill="#BF521B" d="m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"/><path fill="#474747" d="m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"/></svg>`,K_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 199.112h512v113.775H0z"/><path fill="#D80027" d="M0 312.888h512v113.775H0z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#0052B4" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"/><path fill="#FFF" d="M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"/></svg>`,q_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M512 295.883H202.195v130.783H122.435V295.883H0V216.111h122.435V85.329H202.195v130.782H512V277.329z"/><path fill="#2E52B2" d="M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"/></svg>`,J_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 196.641h512v118.717H0z"/><path fill="#D80027" d="M0 315.359h512v111.304H0z"/><path fill="#FFF" d="M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"/><path fill="#D80027" d="M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"/><path fill="#FFF" d="M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"/><path fill="#0052B4" d="M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"/></svg>`,Y_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 85.337h512v113.775H0z"/><path fill="#338AF3" d="M0 312.888h512v113.775H0z"/></svg>`,X_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.34h512v341.326H0z"/><path fill="#FFF" d="M512 85.334v166.69L0 256.175V85.334z"/><path fill="#6DA544" d="M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"/><path fill="#FFDA44" d="M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"/><path fill="#338AF3" d="M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"/><path fill="#6DA544" d="M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"/><path fill="#FFDA44" d="M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"/></svg>`,Z_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#D80027" d="M330.207 85.331H512v341.337H330.207z"/><g fill="#496E2D"><path d="M0 85.331h181.793v341.337H0zM255.999 196.632l14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z"/></g></svg>`,Q_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"/></svg>`,$_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#A2001D" d="M0 196.636h512v118.728H0z"/><g fill="#6DA544"><path d="M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z"/></g><path fill="#FFDA44" d="m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"/></svg>`,ev=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#496E2D" d="M0 322.783h512v103.88H0z"/><path d="M0 85.337h512v104.515H0z"/><path fill="#A2001D" d="M0 210.877h512v89.656H0z"/><path fill="#0052B4" d="M256 256.006 0 426.668V85.331z"/><path fill="#FFDA44" d="m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"/></svg>`,tv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#6DA544"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#D80027" d="M256 256.006 0 426.668V85.331z"/><path d="m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zM376.252 226.318l7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"/></svg>`,nv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><g fill="#0052B4"><path d="M0 85.337h512v113.775H0zM0 312.888h512v113.775H0z"/></g><path fill="#FFDA44" d="M228.582 261.936 256 214.447l27.418 47.489z"/><path fill="#6DA544" d="M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"/><path fill="#FFDA44" d="m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"/></svg>`,rv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M512 85.331v166.69L0 256.173V85.331z"/><path fill="#FFF" d="M256 256.006 0 426.668V85.331z"/><g fill="#FFDA44"><path d="M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"/><circle cx="118.862" cy="210.287" r="18.286"/></g><path fill="#D80027" d="M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"/><path fill="#338AF3" d="M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"/><path fill="#F3F3F3" d="M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"/></svg>`,iv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.331h512v341.337H0z"/><path fill="#D80027" d="M0 85.331h512v113.775H0z"/><path d="M0 312.882h512v113.775H0z"/><g fill="#6DA544"><path d="m187.31 215.184 9.208 28.341h29.802l-24.11 17.518 9.209 28.342-24.109-17.516-24.11 17.516 9.209-28.342-24.109-17.518h29.801zM324.69 215.184l9.209 28.341H363.7l-24.109 17.518 9.209 28.342-24.11-17.516-24.109 17.516 9.209-28.342-24.11-17.518h29.802z"/></g></svg>`,av=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#2B5DEA" d="M0 0h900v600H0V0z"/><path fill="#FFDF29" d="M0 100h900v400H0V100z"/><path fill="#D70000" d="M0 150h900v300H0V150z"/><path fill="#FFF" d="M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"/><path d="M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"/><path fill="#FFF" d="M346.3 254.3h21v91.3h-21zM398.2 254.3h21v91.3h-21z"/><path d="M477.8 254.3h21v91.3h-21zM529.7 254.3h21v91.3h-21z"/></svg>`,ov=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#0052B4" d="M0 0h512v341.3H0z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><g fill="#D80027"><path d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 0v15.1l57.4 38.3H80zM256 0v15.1l-57.4 38.3H176z"/></g><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><g fill="#D80027"><path d="M0 170.7v-15.1l57.4-38.2H80zM256 170.7v-15.1l-57.4-38.2H176z"/></g><path fill="#29DBFF" d="M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"/><path fill="#FFF" d="M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"/><path fill="#29DBFF" d="m385.4 251.7-22.9-43h45.8z"/><path fill="#FFF" d="m385.4 165.8-22.9 42.9h45.8z"/><ellipse fill="#FFBE57" cx="474.8" cy="236.8" rx="16.8" ry="43.3"/><ellipse fill="#FFBE57" cx="295.3" cy="236.8" rx="16.8" ry="43.3"/><path fill="#FFF" d="m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"/><ellipse fill="#A5A5A5" cx="386.3" cy="104.3" rx="34.3" ry="23.3"/></svg>`,sv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.333h512V426.67H0z"/><path fill="#FFDA44" d="M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"/><path fill="#FF9811" d="M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-7.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"/><path fill="#A2001D" d="M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"/><path fill="#6DA544" d="M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"/><path fill="#D80027" d="M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"/><path fill="#FFF" d="M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"/><path fill="#D80027" d="M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"/><path fill="#0052B4" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><path fill="#FFF" d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"/><g fill="#D80027"><path d="M155.826 200.344 256 255.996v-15.737l-71.847-39.915zM71.846 200.344 0 240.259v15.737l100.174-55.652z"/></g><path fill="#0052B4" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><path fill="#FFF" d="M100.174 140.982 0 85.33v15.737l71.847 39.915z"/><g fill="#D80027"><path d="M100.174 140.982 0 85.33v15.737l71.847 39.915zM184.154 140.982 256 101.067V85.33l-100.174 55.652z"/></g></svg>`,cv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h170.663v341.337H0z"/><path fill="#D80027" d="M341.337 85.331H512v341.337H341.337z"/></svg>`,lv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFF" d="M0 0h21v15H0V0z"/><path fill="#073AB6" d="M0 0h22.5v15H0V0z"/><path fill="#FFF" d="M0 0h11.3v7.5H0V0z"/><path fill="#F44653" d="M7.1 0h3.6v7H7.1V0z"/><path fill="#1035BB" d="M0 0h3.6v7H0V0z"/><path fill="#FFF" d="M3.6 0h3.6v7H3.6V0zM14.5 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"/></svg>`,uv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><g fill="#496E2D"><path d="M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zM0 221.863h512v68.263H0z"/></g><path fill="#D80027" d="M0 85.337h204.054v204.054H0z"/><path fill="#FFF" d="m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"/></svg>`,dv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.334h512V426.66H0z"/><path fill="#0052B4" d="M0 194.056h512v123.882H0z"/><g fill="#D80027"><path d="M0 85.334h512v54.522H0zM0 372.143h512v54.522H0z"/></g></svg>`,fv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path fill="#6DA544" d="M0 312.888h512v113.775H0z"/><g fill="#FFDA44"><path d="M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zM192.355 270.84l2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zM200.921 241.16l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM225.409 218.899l2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zM319.645 270.84l-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zM311.079 241.16l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM286.591 218.899l-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z"/></g></svg>`,pv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zM116.816 281.971l4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zM144.696 119.679l4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zM69.539 175.331l4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z"/></g><g fill="#FFDA44"><path d="M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zM117.801 366.089c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.195-17.37 0-17.37H117.801z"/></g></svg>`,mv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFDA44" d="M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"/><path d="M0 90.691v330.618L189.217 256z"/><path fill="#FFF" d="m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"/></svg>`,hv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.337h512v341.326H0z"/><g fill="#FFF"><path d="M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zM310.637 115.729l-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"/><path d="m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zM275.101 162.105l-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zM308.585 174.118l-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"/></g><path fill="#D80027" d="M83.478 85.337h89.043v341.326H83.478z"/><path fill="#FFF" d="m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"/><g fill="#FF9811"><path d="M128 137.276h-10.542l-14.908 11.105v7.678H128zM128 175.191h10.542l14.908-11.105v-8.012H128z"/></g><path fill="#FFF" d="m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"/><g fill="#FF9811"><path d="M128 336.81h-10.542l-14.908 11.105v7.678H128zM128 374.725h10.542l14.908-11.106v-8.011H128z"/></g><g fill="#496E2D"><path d="m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zM153.971 299.391h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zM153.971 199.623h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z"/></g><g fill="#D80027"><path d="M120.576 248.576h14.84v14.84h-14.84z"/><circle cx="128" cy="206.113" r="7.421"/><circle cx="128" cy="305.887" r="7.421"/></g></svg>`,gv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><circle fill="#FFF" cx="256" cy="255.994" r="96"/><g fill="#D80027"><path d="m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"/><path d="M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"/></g></svg>`,_v=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#FFF" d="M0 85.331h256v170.663H0z"/><path fill="#D80027" d="M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"/></svg>`,vv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#E30A17" d="M0 0h513v342H0z"/><path fill="#FFF" d="M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"/></svg>`,yv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#FFF" d="m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"/><path d="M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"/></svg>`,bv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><path fill="#0052B4" d="M0 0h900v600H0z"/><path fill="#00B2EE" d="M0 300h450V0h450v600H0V300z"/><path fill="#FFDA44" d="m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zM812.8 261.5l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM812.8 37.4l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"/><path fill="#FFF" d="M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"/><path fill="#D80027" d="M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"/><path fill="#2E52B2" d="M449.9 39.9v53.9h-81z"/><path fill="#D80027" d="M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zM449.9.2v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"/><path fill="#FFDA44" d="m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM614 430.6l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zM488 464l29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"/></svg>`,xv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#0052B4" d="M0 85.337h256V256H0z"/><path fill="#FFF" d="M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"/><circle fill="#0052B4" cx="128" cy="170.674" r="29.006"/><path fill="#FFF" d="M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"/></svg>`,Sv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#338AF3" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 426.663V85.337h512"/><path fill="#FFDA44" d="M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"/><path d="M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"/></svg>`,Cv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.337h512v341.326H0z"/><path fill="#338AF3" d="M0 85.337h512V256H0z"/></svg>`,wv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#232323" d="M0 0h512v341.3H0z"/><path fill="#FFDA44" d="M0 56.9h512v56.9H0z"/><path fill="#D32300" d="M0 113.8h512v56.9H0z"/><path fill="#FFDA44" d="M0 227.6h512v56.9H0z"/><path fill="#D32300" d="M0 284.4h512v56.9H0z"/><circle fill="#FFF" cx="256" cy="170.7" r="80.7"/><path d="M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"/></svg>`,Tv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Ev=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#D80027"><path d="M0 0h513v26.3H0zM0 52.6h513v26.3H0zM0 105.2h513v26.3H0zM0 157.8h513v26.3H0zM0 210.5h513v26.3H0zM0 263.1h513v26.3H0zM0 315.7h513V342H0z"/></g><path fill="#2E52B2" d="M0 0h256.5v184.1H0z"/><g fill="#FFF"><path d="m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zM104.1 138.9l-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zM160.6 138.9l-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zM216.8 138.9l-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zM43.8 75.3l-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zM156.3 75.3l-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zM212.8 75.3l-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zM43.8 24.7l-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zM100 24.7l-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zM156.3 24.7l-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zM212.8 24.7l-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z"/></g></svg>`,Dv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><g fill="#0038a8"><path d="M0 38h513v38H0zM0 114h513v38H0zM0 190h513v38H0zM0 266h513v38H0z"/></g><path fill="#FFF" d="M0 0h256.5v190H0z"/><path fill="#FED443" d="m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"/></svg>`,Ov=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M0 322.783h512v103.88H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><path fill="#FFF" d="M0 210.877h512v89.656H0z"/><path fill="#338AF3" d="M0 85.337h512v104.515H0z"/><g fill="#FFF"><path d="M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.391 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zM234.658 152.766l2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zM258.006 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM281.353 152.766l2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zM304.7 152.766l2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zM328.048 152.766l2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zM258.006 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 128.482l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zM304.7 128.482l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zM328.048 128.482l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zM281.353 104.198l2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zM304.7 104.198l2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zM328.048 104.198l2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z"/></g></svg>`,kv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.326H0z"/><path fill="#FFF" d="M256 85.331h256v341.337H256z"/><path fill="#ACABB1" d="m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"/><path fill="#FFDA44" d="m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"/></svg>`,Av=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFDA44" d="M0 85.331h512v341.337H0z"/><path fill="#338AF3" d="M0 85.331h170.663v341.337H0z"/><g fill="#6DA544"><path d="M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zM297.739 283.82l-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z"/></g></svg>`,jv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15"><path fill="#FFCE00" d="M0 0h22.5v5H0z"/><path fill="#203899" d="M0 5h22.5v5H0z"/><path fill="#D82B2B" d="M0 10h22.5v5H0z"/><path fill="#FFF" d="m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zM10.36 5.38l.27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zM13.8 5.94l-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zM8.69 5.96l.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zM15.24 7.13l-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zM15.43 8.25l.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zM7.31 7.05l.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"/></svg>`,Mv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#0052B4" d="M0 85.334h512v341.337H0z"/><path fill="#FFF" d="M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"/><g fill="#D80027"><path d="M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"/><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 85.329v15.083l57.377 38.251H80zM256 85.329v15.083l-57.377 38.251H176z"/></g><path fill="#2E52B2" d="M256 107.951v30.712h-46.069z"/><g fill="#D80027"><path d="M0 255.997v-15.082l57.377-38.252H80zM256 255.997v-15.082l-57.377-38.252H176z"/></g><path fill="#FFDA44" d="m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"/><path fill="#6DA544" d="M332.058 178.084V259.708c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"/><path fill="#FFF" d="M372.87 215.181h22.261v59.359H372.87z"/><circle fill="#A2001D" cx="384" cy="215.181" r="11.13"/><g fill="#FFDA44"><path d="M346.902 192.92h14.84v14.84h-14.84zM346.902 226.312h14.84v14.84h-14.84zM346.902 259.703h14.84v14.84h-14.84zM406.261 192.92h14.84v14.84h-14.84zM406.261 226.312h14.84v14.84h-14.84zM406.261 259.703h14.84v14.84h-14.84z"/></g></svg>`,Nv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.3"><path fill="#FFF" d="M0 0h512v341.3H0z"/><path fill="#1583C4" d="m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"/><path fill="#1583C4" d="m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"/><path fill="#1583C4" d="m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"/><path fill="#409347" d="M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"/><g fill="#FFD836" stroke="#231F20" stroke-miterlimit="10"><path d="M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"/><path d="m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"/></g><path fill="#FFF" stroke="#231F20" stroke-miterlimit="10" d="M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"/><g fill="#D80027"><path d="M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zM296.8 137.7V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z"/></g><path fill="#0052B4" d="M201.3 111.8h119.4v37.9H201.3z"/><path fill="#1583C4" d="m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zM451.5 151.9h18.9v81.7h-18.9z"/></svg>`,Pv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M196.641 85.337H0v341.326h512V85.337z"/><path fill="#FFDA44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/></svg>`,Fv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.337h512v341.326H0z"/><path fill="#6DA544" d="M512 256v170.663H0L215.185 256z"/><path fill="#D80027" d="M512 85.337V256H215.185L0 85.337z"/><path d="M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"/><g fill="#FFDA44"><path d="M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"/><path d="M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"/></g></svg>`,Iv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 100"><path fill="#ED2939" d="M0 0h150v100H0z"/><path fill="#002395" d="M0 0h20v44.33H0z"/><path fill="#FFF" d="M20 0h20v44.33H20z"/><path fill="none" stroke="#FFF" stroke-width="3" d="M0 44.33h62.75V0"/><path fill="#FFF" d="M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"/></svg>`,Lv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#D80027" d="M0 85.331h512v341.337H0z"/><path fill="#0052B4" d="M0 85.331h256v170.663H0z"/><g fill="#FFF"><path d="m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zM120.579 115.007l4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zM165.101 129.848l4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zM129.909 189.211l4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zM90.899 152.108l4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z"/></g></svg>`,Rv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 341.33"><path fill="#0052B4" d="M0 0h512v341.34H0z"/><g fill="#FFF"><path d="m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zM291.28 42.57l7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zM353.36 53.93l7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zM416.37 72.23l7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zM158.64 53.93l7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zM95.63 72.23l7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z"/></g><path fill="#FFDA44" d="m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"/></svg>`,zv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path fill="#D80027" d="M0 85.337h512v113.775H0z"/><path d="M0 312.888h512v113.775H0z"/></svg>`,Bv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 90 60"><path fill="#FFF" d="M0 0h90v60H0z"/><path stroke="#7f7f7f" stroke-width=".25" fill="#ABABAB" d="M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zM10.7 43.6c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"/><path fill="#DE393A" d="M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"/><path fill="#3951A3" d="M31 13.1h28v15.7H31z"/><path fill="#FFF" d="M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"/><circle fill="#FEE05F" cx="39.1" cy="36.5" r="3"/><circle fill="#FEE05F" cx="50.9" cy="36.5" r="3"/></svg>`,Vv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#FFF" d="M0 85.337h512v341.326H0z"/><path d="M114.024 256.001 0 141.926v228.17z"/><path fill="#ffb915" d="M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"/><path fill="#007847" d="M509.833 289.391c.058-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"/><path fill="#000c8a" d="M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"/><path fill="#e1392d" d="M503.181 189.217H512V85.337H132.552l103.881 103.88z"/></svg>`,Hv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path fill="#496E2D" d="M0 85.331h512v341.337H0z"/><path fill="#FF9811" d="M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"/><path fill="#D80027" d="M341.337 255.994h56.888v170.663h-56.888z"/><path fill="#FF9811" d="M455.112 255.994H512v170.663h-56.888z"/><path d="M398.225 255.994h56.888v170.663h-56.888z"/></svg>`,Uv=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333"><path d="M0 85.333h512V426.67H0z"/><g fill="#FFDA44"><path d="M0 134.196h512v48.868H0zM0 329.668h512v48.868H0z"/></g><path fill="#057f44" d="M0 85.333h512v48.868H0z"/><g fill="#D80027"><path d="M0 183.069h512v48.868H0zM0 280.806h512v48.868H0z"/></g><path fill="#057f44" d="M0 378.542h512v48.128H0z"/><path fill="#FFF" d="M276.992 255.996 106.329 426.659H0V85.333h106.329z"/><path d="M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"/><path fill="#D80027" d="m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"/><path fill="#FFDA44" d="m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"/></svg>`,Wv=o({AC:()=>om,AD:()=>sm,AE:()=>cm,AF:()=>lm,AG:()=>um,AI:()=>dm,AL:()=>fm,AM:()=>pm,AO:()=>mm,AQ:()=>hm,AR:()=>gm,AS:()=>_m,AT:()=>vm,AU:()=>ym,AW:()=>bm,AX:()=>xm,AZ:()=>Sm,BA:()=>Cm,BB:()=>wm,BD:()=>Tm,BE:()=>Em,BF:()=>Dm,BG:()=>Om,BH:()=>km,BI:()=>Am,BJ:()=>jm,BL:()=>Mm,BM:()=>Nm,BN:()=>Pm,BO:()=>Fm,BQ:()=>Im,BR:()=>Lm,BS:()=>Rm,BT:()=>zm,BV:()=>Bm,BW:()=>Vm,BY:()=>Hm,BZ:()=>Um,CA:()=>Wm,CC:()=>Gm,CD:()=>Km,CF:()=>qm,CG:()=>Jm,CH:()=>Ym,CI:()=>Xm,CK:()=>Zm,CL:()=>Qm,CM:()=>$m,CN:()=>eh,CO:()=>th,CR:()=>nh,CU:()=>rh,CV:()=>ih,CW:()=>ah,CX:()=>oh,CY:()=>sh,CZ:()=>ch,DE:()=>lh,DJ:()=>uh,DK:()=>dh,DM:()=>fh,DO:()=>ph,DZ:()=>mh,EC:()=>hh,EE:()=>gh,EG:()=>_h,EH:()=>vh,ER:()=>yh,ES:()=>bh,ET:()=>xh,EU:()=>Sh,FI:()=>Ch,FJ:()=>wh,FK:()=>Th,FM:()=>Eh,FO:()=>Dh,FR:()=>Oh,GA:()=>kh,GB:()=>Ah,GD:()=>jh,GE:()=>Mh,GF:()=>Nh,GG:()=>Ph,GH:()=>Fh,GI:()=>Ih,GL:()=>Lh,GM:()=>Rh,GN:()=>zh,GP:()=>Bh,GQ:()=>Vh,GR:()=>Hh,GS:()=>Uh,GT:()=>Wh,GU:()=>Gh,GW:()=>Kh,GY:()=>qh,HK:()=>Jh,HM:()=>Yh,HN:()=>Xh,HR:()=>Zh,HT:()=>Qh,HU:()=>$h,IC:()=>eg,ID:()=>tg,IE:()=>ng,IL:()=>rg,IM:()=>ig,IN:()=>ag,IO:()=>og,IQ:()=>sg,IR:()=>cg,IS:()=>lg,IT:()=>ug,JE:()=>dg,JM:()=>fg,JO:()=>pg,JP:()=>mg,KE:()=>hg,KG:()=>gg,KH:()=>_g,KI:()=>vg,KM:()=>yg,KN:()=>bg,KP:()=>xg,KR:()=>Sg,KW:()=>Cg,KY:()=>wg,KZ:()=>Tg,LA:()=>Eg,LB:()=>Dg,LC:()=>Og,LI:()=>kg,LK:()=>Ag,LR:()=>jg,LS:()=>Mg,LT:()=>Ng,LU:()=>Pg,LV:()=>Fg,LY:()=>Ig,MA:()=>Lg,MC:()=>Rg,MD:()=>zg,ME:()=>Bg,MF:()=>Vg,MG:()=>Hg,MH:()=>Ug,MK:()=>Wg,ML:()=>Gg,MM:()=>Kg,MN:()=>qg,MO:()=>Jg,MP:()=>Yg,MQ:()=>Xg,MR:()=>Zg,MS:()=>Qg,MT:()=>$g,MU:()=>e_,MV:()=>t_,MW:()=>n_,MX:()=>r_,MY:()=>i_,MZ:()=>a_,NA:()=>o_,NC:()=>s_,NE:()=>c_,NF:()=>l_,NG:()=>u_,NI:()=>d_,NL:()=>f_,NO:()=>p_,NP:()=>m_,NR:()=>h_,NU:()=>g_,NZ:()=>__,OM:()=>v_,PA:()=>y_,PE:()=>b_,PF:()=>x_,PG:()=>S_,PH:()=>C_,PK:()=>w_,PL:()=>T_,PM:()=>E_,PN:()=>D_,PR:()=>O_,PS:()=>k_,PT:()=>A_,PW:()=>j_,PY:()=>M_,QA:()=>N_,RE:()=>P_,RO:()=>F_,RS:()=>I_,RU:()=>L_,RW:()=>R_,SA:()=>z_,SB:()=>B_,SC:()=>V_,SD:()=>H_,SE:()=>U_,SG:()=>W_,SH:()=>G_,SI:()=>K_,SJ:()=>q_,SK:()=>J_,SL:()=>Y_,SM:()=>X_,SN:()=>Z_,SO:()=>Q_,SR:()=>$_,SS:()=>ev,ST:()=>tv,SV:()=>nv,SX:()=>rv,SY:()=>iv,SZ:()=>av,TA:()=>ov,TC:()=>sv,TD:()=>cv,TF:()=>lv,TG:()=>uv,TH:()=>dv,TJ:()=>fv,TK:()=>pv,TL:()=>mv,TM:()=>hv,TN:()=>gv,TO:()=>_v,TR:()=>vv,TT:()=>yv,TV:()=>bv,TW:()=>xv,TZ:()=>Sv,UA:()=>Cv,UG:()=>wv,UM:()=>Tv,US:()=>Ev,UY:()=>Dv,UZ:()=>Ov,VA:()=>kv,VC:()=>Av,VE:()=>jv,VG:()=>Mv,VI:()=>Nv,VN:()=>Pv,VU:()=>Fv,WF:()=>Iv,WS:()=>Lv,XK:()=>Rv,YE:()=>zv,YT:()=>Bv,ZA:()=>Vv,ZM:()=>Hv,ZW:()=>Uv});function Gv(e){let t=Wv[e]??null;return t===null?null:`data:image/svg+xml,${encodeURIComponent(t)}`}function Kv(e,t){return new Intl.DisplayNames(t,{type:`region`}).of(e)??null}function qv(e){let t=rm(),n=(0,f.computed)(()=>t?.locale?.value??navigator.language),{contains:r}=(0,h.useFilter)(),i=(0,f.ref)(``),a=(0,f.computed)(()=>{let e=i.value.trim(),t=Qp();return(e?t.filter(t=>s(t,e)):t).map(e=>({type:`option`,value:e}))}),o=(0,f.computed)(()=>{let t=e.modelValue.value;if(!t)return null;let r=Qp();return r.includes(t)?t:r.find(e=>Kv(e,n.value)?.toLowerCase()===t.toLowerCase())??null});function s(e,t){let i=Kv(e,n.value)??``,a=t.toLowerCase();return r(e.toLowerCase(),a)||r(i.toLowerCase(),a)}function c(e){let t=Gv(e);return{left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function l(e){i.value=e}function u(e){return Kv(e,n.value)??e}function d(t){e.setValue(t?Kv(t,n.value)??t:null)}return{countryItems:a,currentCountryCode:o,displayCountry:u,getCountryItemConfig:c,onCountrySearch:l,onCountrySelect:d}}var[Jv,Yv]=z(`buttonContext`),Xv=W({compoundVariants:[{class:{container:`dark:rounded-[0.35rem] dark:px-md`},size:`md`,variant:`primary`},{class:{container:`dark:rounded-[0.44rem] dark:px-lg`},size:`lg`,variant:`primary`},{class:{container:`dark:rounded-[0.19rem] dark:px-sm`},size:`sm`,variant:`primary`},{class:{container:`dark:rounded-[0.06rem] dark:px-xs`},size:`xs`,variant:`primary`}],slots:{container:`grid size-full items-center [grid-template-areas:'stack']`,icon:`shrink-0`,label:`truncate font-medium`,loader:`mx-auto items-center duration-100 [grid-area:stack]`,root:`
50
50
  group/button shrink-0 items-center justify-center border outline-2
51
51
  outline-offset-1 outline-transparent duration-100
52
52
  not-data-interactive:cursor-not-allowed
@@ -577,7 +577,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
577
577
  Example: <ConfigProvider :address-autocomplete-adapter="myAdapter"><AddressAutocomplete ... /></ConfigProvider>`);let o=a.value,s=(0,f.ref)(!1),c=(0,f.ref)([]),l=(0,f.ref)(null),u=(0,f.computed)(()=>i.value===null?null:Ec(i.value)),d=(0,f.computed)(()=>l.value??u.value),p=(0,f.computed)(()=>i.value===null?l.value===null?null:{placeId:l.value.placeId,bus:``,city:``,coordinates:{lat:null,lng:null},country:``,postalCode:l.value.secondaryText,street:l.value.mainText,streetNumber:``}:i.value),m=(0,f.computed)(()=>Kx(c.value)),h=(0,g.useI18n)(),v=n.id??(0,f.useId)(),y=(0,f.computed)(()=>({city:h.t(`component.address_autocomplete_selected_card.city.label`),country:h.t(`component.address_autocomplete_selected_card.country.label`),postalCode:h.t(`component.address_autocomplete_selected_card.postal_code.label`),street:h.t(`component.address_autocomplete_selected_card.street.label`),streetNumber:h.t(`component.address_autocomplete_selected_card.number.label`)})),b=(0,f.computed)(()=>{if(i.value===null||l.value!==null)return null;let e=kc(i.value);if(e.length===0)return null;let t=e.map(e=>y.value[e].toLocaleLowerCase());return h.t(`component.address_autocomplete.incomplete_address`,{fields:new Intl.ListFormat(h.locale.value,{type:`conjunction`}).format(t)})}),x=(0,f.computed)(()=>n.errorMessage??b.value);async function S(e){s.value=!0;try{c.value=await o.searchAddresses(e)}catch(e){r(`error`,e)}finally{s.value=!1}}async function C(e){if(e===null){i.value=null;return}try{l.value=e,i.value=await o.getAddressByPlaceId(e.placeId)}catch(e){r(`error`,e)}finally{l.value=null}}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(Gx,{class:`max-w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{mode:`wait`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:p.value===null?`autocomplete`:`card`,class:(0,f.normalizeClass)([n.class,`max-w-full`]),initial:{filter:`blur(4px)`,opacity:0},animate:{filter:`blur(0px)`,opacity:1},exit:{filter:`blur(4px)`,opacity:0},transition:{duration:.2}},{default:(0,f.withCtx)(()=>[p.value===null?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(aS),(0,f.mergeProps)({key:1},n,{"model-value":d.value,items:m.value,"is-loading":s.value,"display-fn":e=>(0,f.unref)(Dc)(e),"search-mode":`remote`,onBlur:t[3]||=e=>r(`blur`),"onUpdate:search":S,"onUpdate:modelValue":C}),{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),left:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`)]),_:3},16,[`model-value`,`items`,`is-loading`,`display-fn`])):((0,f.openBlock)(),(0,f.createBlock)(qb,{key:0,"error-message":x.value,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,"help-text":n.helpText,label:n.label,for:(0,f.unref)(v),"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(Wx,{id:(0,f.unref)(v),address:p.value,"aria-describedby":x.value===null?void 0:`${(0,f.unref)(v)}-error-message`,"aria-invalid":x.value===null?void 0:`true`,"aria-label":n.label??void 0,"is-disabled":n.isDisabled,"is-error":x.value!==null,"is-loading":l.value!==null,"is-readonly":n.isReadonly,role:`group`,"onUpdate:modelValue":t[0]||=e=>i.value=e,onClear:t[1]||=e=>i.value=null,onError:t[2]||=e=>r(`error`,e)},null,8,[`id`,`address`,`aria-describedby`,`aria-invalid`,`aria-label`,`is-disabled`,`is-error`,`is-loading`,`is-readonly`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`help-text`,`label`,`for`,`hide-error-message`,`is-error-message-hidden`]))]),_:3},8,[`class`]))]),_:3})]),_:3}))}}),sS={},cS={class:`rounded-lg border border-secondary`};function lS(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,cS,[(0,f.renderSlot)(e.$slots,`default`)])}var uS=ns(sS,[[`render`,lS]]),dS={};function fS(e,t){return(0,f.openBlock)(),(0,f.createBlock)(f.Transition,{mode:`out-in`,"enter-active-class":`transition-opacity duration-150 ease-in`,"enter-from-class":`opacity-0`,"enter-to-class":`opacity-100`,"leave-active-class":`transition-opacity duration-100 ease-out`,"leave-from-class":`opacity-100`,"leave-to-class":`opacity-0`,"appear-active-class":`transition-opacity duration-150 ease-in`,"appear-from-class":`opacity-0`,"appear-to-class":`opacity-100`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})}var pS=ns(dS,[[`render`,fS]]),mS=`14rem`,hS=`3rem`,gS=`0.5625rem`,_S=`1rem`,vS=`1.875rem`,yS=`1.875rem`,bS=`0.1875rem`,xS=`0.1875rem`,SS=`1.875rem`,CS=(0,f.ref)(!1),wS=(0,f.ref)(mS),TS=(0,f.ref)(`hidden`);function ES(){let e=by(),t=(0,m.useLocalStorage)(`dashboard-sidebar-is-open`,!0),n=e.smaller(`lg`),r=(0,f.computed)({get:()=>n.value?CS.value:t.value,set:e=>{n.value?CS.value=e:(TS.value===`minified`&&(wS.value=e?mS:hS),t.value=e)}}),i=gS,a=_S,o=vS,s=yS,c=bS,l=xS,u=SS;function d(){n.value&&(CS.value=!1)}function p(e){if(TS.value=e,e===`minified`){wS.value=r.value?mS:hS;return}wS.value=mS}return{isFloatingSidebar:n,isSidebarOpen:r,closeIfFloatingSidebar:d,collapsedVariant:TS,minifiedSidebarWidth:hS,setCollapsedVariant:p,sidebarAvatarPadding:l,sidebarContainerPadding:i,sidebarIconCellSize:o,sidebarIconSize:a,sidebarLinkHeight:s,sidebarLogoHeight:u,sidebarLogoPadding:c,sidebarWidth:wS}}var DS={class:`flex h-12 items-center justify-center`,type:`button`},OS={class:`flex w-full flex-col overflow-hidden`},kS=(0,f.defineComponent)({__name:`MainSidebarFooterAccountCard`,props:{name:{},actions:{},avatarUrl:{},email:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarIconCellSize:i}=ES(),a=`${i} 1fr`;return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(yc,{actions:t.actions,"is-current-context-only":!0,"popover-side":`right`,"popover-align":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,DS,[(0,f.createVNode)((0,f.unref)(uS),{class:(0,f.normalizeClass)([(0,f.unref)(r)===`minified`&&!(0,f.unref)(n)?`border-transparent`:`
578
578
  border-fg-primary/10 bg-fg-primary/3 p-md py-sm pl-xs
579
579
  hover:bg-fg-primary/4
580
- `,`grid w-full gap-xs overflow-hidden text-left duration-100`]),style:(0,f.normalizeStyle)({gridTemplateColumns:a})},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{align:`center`,justify:`center`,class:`h-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(hs,{name:t.name??t.email,src:t.avatarUrl,"is-static-color":!0,size:`xs`},null,8,[`name`,`src`])]),_:1}),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,justify:`between`,align:`center`,gap:`xxs`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,OS,[(0,f.createVNode)((0,f.unref)(G),{text:t.name??`-`,"is-tooltip-disabled":!0,class:`w-full text-xs font-semibold text-primary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)(G),{text:t.email,"is-tooltip-disabled":!0,class:`w-full text-xs text-tertiary`},null,8,[`text`])]),(0,f.createVNode)(q,{align:`start`,class:`h-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(dn),{class:`mt-xxs size-4 shrink-0 text-quaternary`})]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`,`style`])])]),_:1})]),_:1},8,[`actions`]))}}),AS={};function jS(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`)}var MS=ns(AS,[[`render`,jS]]),NS=(0,f.defineComponent)({__name:`MainSidebarGlobalSearch`,emits:[`click`],setup(e,{emit:t}){let n=t,r=(0,g.useI18n)();function i(){n(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Y),{icon:(0,f.unref)(si),label:(0,f.unref)(r).t(`components.sidebar.global_search.label`),variant:`tertiary`,onClick:i},null,8,[`icon`,`label`]))}}),PS=(0,f.defineComponent)({__name:`MainSidebarHeaderContainer`,setup(e){let{sidebarLogoHeight:t}=ES();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({height:(0,f.unref)(t)})},[(0,f.renderSlot)(e.$slots,`default`)],4))}}),FS=[`src`,`alt`],IS=(0,f.defineComponent)({__name:`Logo`,props:{alt:{},size:{},src:{}},setup(e){let t=e,n=(0,f.ref)(!1);return(e,r)=>n.value?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 bg-quaternary`])},null,2)):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:1,src:t.src,alt:t.alt,class:(0,f.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 overflow-hidden from-black/20 to-white/10 object-contain dark:bg-primary-solid dark:bg-linear-to-b`]),onError:r[0]||=e=>n.value=!0},null,42,FS))}}),LS={key:0,class:`text-sm font-semibold text-secondary`},RS={key:0},zS=(0,f.defineComponent)({__name:`MainSidebarHeaderLogoWithText`,props:{name:{},url:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarLogoPadding:i}=ES();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(PS,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{justify:`between`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(i)})},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(IS,{src:t.url,alt:`Logo`,size:`xs`},null,8,[`src`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,LS,(0,f.toDisplayString)(t.name),1)):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,RS,[(0,f.renderSlot)(e.$slots,`right`)])):(0,f.createCommentVNode)(``,!0)]),_:3})]),_:3})]),_:3}))}}),BS={class:`truncate text-xs text-secondary`},VS=(0,f.defineComponent)({__name:`MainSidebarHeaderReturnToApp`,props:{to:{}},setup(e){let t=e,n=(0,g.useI18n)(),{isSidebarOpen:r,closeIfFloatingSidebar:i,collapsedVariant:a,sidebarIconCellSize:o,sidebarIconSize:s}=ES(),c=`${o} 1fr`;return(e,l)=>((0,f.openBlock)(),(0,f.createBlock)(PS,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{class:`w-fit`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{"keyboard-shortcut":{key:`Escape`,mod:!0},label:(0,f.unref)(n).t(`components.sidebar.return_to_app`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:t.to,style:(0,f.normalizeStyle)({height:(0,f.unref)(o),gridTemplateColumns:c}),"aria-label":(0,f.unref)(n).t(`components.sidebar.return_to_app`),class:`grid w-full rounded-md duration-100 hover:bg-secondary-hover`,onClick:l[0]||=e=>(0,f.unref)(i)()},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(hn),{style:(0,f.normalizeStyle)({width:(0,f.unref)(s),height:(0,f.unref)(s)}),class:`shrink-0 text-secondary`},null,8,[`style`])]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(a)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,BS,(0,f.toDisplayString)((0,f.unref)(n).t(`components.sidebar.return_to_app`)),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`,`style`,`aria-label`])]),_:1})]),_:1},8,[`label`])]),_:1})]),_:1}))}}),HS={class:`w-full`},US=(0,f.defineComponent)({__name:`MainSidebarNavigationGroup`,props:{label:{default:null}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r}=ES();return(e,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,HS,[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:0,class:(0,f.normalizeClass)([{"opacity-0":(0,f.unref)(r)===`minified`&&!(0,f.unref)(n)},`block px-sm pb-sm text-xs font-medium whitespace-nowrap text-quaternary transition-opacity duration-150 ease-in-out`])},(0,f.toDisplayString)(t.label),3)),(0,f.createVNode)((0,f.unref)(q),{align:`start`,gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]))}}),WS=(0,f.defineComponent)({__name:`MainSidebarNavigationGroups`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`2xl`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),GS=(0,f.defineComponent)({__name:`BadgeSeparator`,setup(e){let{variants:t}=Tb();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs),{class:(0,f.normalizeClass)((0,f.unref)(t).separator()),orientation:`vertical`},null,8,[`class`]))}}),[KS,qS]=z(`MainSidebarNavigationLinkContextKey`),JS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkBadge`,props:{label:{}},setup(e){let t=e,{isActive:n}=qS();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Pb),{label:t.label,color:(0,f.unref)(n)?`brand`:`gray`,size:`sm`},null,8,[`label`,`color`]))}}),YS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkProvider`,props:{isActive:{type:Boolean}},setup(e){let t=e;return KS({isActive:(0,f.computed)(()=>t.isActive)}),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),XS=[`data-active`],ZS={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},QS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkButton`,props:{isActive:{type:Function,default:()=>!1},isTooltipDisabled:{type:Boolean},icon:{},keyboardShortcut:{default:null},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,y.useRoute)(),{isSidebarOpen:a,collapsedVariant:o,sidebarIconCellSize:s,sidebarIconSize:c,sidebarLinkHeight:l}=ES(),u=`${s} 1fr`;function d(){r(`click`)}return(t,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":e.isTooltipDisabled,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"popover-side":`right`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:d},{default:(0,f.withCtx)(({isActive:e})=>[(0,f.createVNode)(YS,{"is-active":e},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{"data-active":e||n.isActive((0,f.unref)(i))||void 0,style:(0,f.normalizeStyle)({height:(0,f.unref)(l),gridTemplateColumns:u}),class:`group grid rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(s),height:(0,f.unref)(s)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(c),height:(0,f.unref)(c)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(o)!==`minified`||(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,ZS,(0,f.toDisplayString)(n.label),1),(0,f.createVNode)(B,{gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`right`)]),_:3})]),_:3})):(0,f.createCommentVNode)(``,!0)]),_:3})],12,XS)]),_:2},1032,[`is-active`])]),_:3},8,[`to`])]),_:3})]),_:3},8,[`is-disabled`,`keyboard-shortcut`,`label`]))}}),$S={},eC={class:`size-2 rounded-full bg-success-500`};function tC(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,eC)}var nC=ns($S,[[`render`,tC]]),rC=(0,f.defineComponent)({__name:`MainSidebarNavigationSubItemCount`,props:{isActive:{type:Boolean},label:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{class:(0,f.normalizeClass)([t.isActive?`text-brand-secondary`:`text-tertiary`,`text-xxs leading-none tabular-nums`])},(0,f.toDisplayString)(t.label),3))}}),iC=[`data-active`],aC={class:`truncate text-xs whitespace-nowrap text-tertiary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},oC=`1px`,sC=`0.25rem`,cC=(0,f.defineComponent)({__name:`MainSidebarNavigationSubItem`,props:{hasStatusDot:{type:Boolean,default:!1},isIndented:{type:Boolean,default:!0},badge:{default:null},label:{},noIndent:{type:Boolean},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>n.noIndent===!0?!1:n.isIndented),{closeIfFloatingSidebar:a,sidebarIconCellSize:o}=ES(),s=`calc(${o} / 2 - ${sC} - ${oC})`;function c(){a(),r(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:c},{default:(0,f.withCtx)(({isActive:e})=>[(0,f.createElementVNode)(`div`,{"data-active":e||void 0,style:(0,f.normalizeStyle)({paddingLeft:i.value?s:void 0,height:`1.5rem`}),class:(0,f.normalizeClass)([i.value?`pr-md`:`px-sm`,`group flex items-center justify-between gap-md rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`])},[(0,f.createElementVNode)(`span`,aC,(0,f.toDisplayString)(n.label),1),n.badge!=null||n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,f.withCtx)(()=>[n.badge==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(rC,{key:0,"is-active":e,label:n.badge.label},null,8,[`is-active`,`label`])),n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(nC,{key:1})):(0,f.createCommentVNode)(``,!0)]),_:2},1024)):(0,f.createCommentVNode)(``,!0)],14,iC)]),_:1},8,[`to`])]),_:1}))}}),lC={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary`},uC=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkCollapsible`,props:{isSubItemsActive:{type:Boolean},isTooltipDisabled:{type:Boolean},icon:{},keyboardShortcut:{},label:{},subItems:{}},setup(e){let t=e,n=(0,f.ref)(!0),{isSidebarOpen:r,collapsedVariant:i,sidebarIconCellSize:a,sidebarIconSize:o,sidebarLinkHeight:s}=ES();(0,f.watch)(()=>t.isSubItemsActive,e=>{e&&(n.value=!0)});let c=`${a} 1fr`;return(l,u)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{open:n.value,"onUpdate:open":u[1]||=e=>n.value=e,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{"is-disabled":e.isTooltipDisabled,"keyboard-shortcut":t.keyboardShortcut,label:t.label,"popover-side":`right`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(YS,{"is-active":e.isSubItemsActive},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{style:(0,f.normalizeStyle)({height:(0,f.unref)(s),gridTemplateColumns:c}),type:`button`,class:`group grid w-full rounded-md duration-100 hover:bg-fg-primary/4`,onClick:u[0]||=e=>n.value=!n.value},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(a),height:(0,f.unref)(a)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),class:`shrink-0 text-fg-quaternary duration-100`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(i)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,lC,(0,f.toDisplayString)(t.label),1),(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"rotate-180":n.value},`size-3.5 shrink-0 text-fg-quaternary duration-150`])},null,8,[`class`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})],4)]),_:1},8,[`is-active`])]),_:1})]),_:1},8,[`is-disabled`,`keyboard-shortcut`,`label`]),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{class:`overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({marginLeft:`calc(${(0,f.unref)(a)} / 2)`}),class:`mt-xs flex flex-col gap-xs border-l border-secondary pl-xs`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.subItems,e=>((0,f.openBlock)(),(0,f.createBlock)(cC,{key:e.label,badge:e.badge,"has-status-dot":e.hasStatusDot,label:e.label,to:e.to},null,8,[`badge`,`has-status-dot`,`label`,`to`]))),128))],4)]),_:1})]),_:1},8,[`open`]))}}),dC=[`data-active`],fC={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},pC={class:`relative overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},mC={class:`flex min-w-36 flex-col gap-xs p-xs`},hC=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkPopover`,props:(0,f.mergeModels)({isSubItemsActive:{type:Boolean},icon:{},label:{},subItems:{}},{isPopoverOpen:{type:Boolean,default:!1},isPopoverOpenModifiers:{}}),emits:[`update:isPopoverOpen`],setup(e){let t=e,n=(0,f.useModel)(e,`isPopoverOpen`),{isSidebarOpen:r,collapsedVariant:i,sidebarIconCellSize:a,sidebarIconSize:o,sidebarLinkHeight:s}=ES(),c=`${a} 1fr`;function l(){n.value=!n.value}return(u,d)=>((0,f.openBlock)(),(0,f.createBlock)(YS,{"is-active":e.isSubItemsActive},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardRoot),{open:n.value,"onUpdate:open":d[4]||=e=>n.value=e,"open-delay":150,"close-delay":150},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{"data-active":e.isSubItemsActive||void 0,style:(0,f.normalizeStyle)({height:(0,f.unref)(s),gridTemplateColumns:c}),type:`button`,class:`group grid w-full rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`,onClick:d[0]||=e=>l(),onKeydown:[d[1]||=(0,f.withKeys)((0,f.withModifiers)(e=>l(),[`prevent`]),[`enter`]),d[2]||=(0,f.withKeys)((0,f.withModifiers)(e=>l(),[`prevent`]),[`space`])]},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(a),height:(0,f.unref)(a)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(i)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,fC,(0,f.toDisplayString)(t.label),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})],44,dC)]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.HoverCardPortal),{to:`body`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardContent),{"side-offset":4,align:`start`,"data-animation":`sidebar-hover-card`,side:`right`,"position-strategy":`absolute`,sticky:`always`,class:`z-50 origin-(--reka-hover-card-content-transform-origin) will-change-[transform,opacity]`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,pC,[(0,f.createElementVNode)(`div`,mC,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.subItems,e=>((0,f.openBlock)(),(0,f.createBlock)(cC,{key:e.label,badge:e.badge,"has-status-dot":e.hasStatusDot,label:e.label,to:e.to,"is-indented":!1,onClick:d[3]||=e=>n.value=!1},null,8,[`badge`,`has-status-dot`,`label`,`to`]))),128))])])]),_:1})]),_:1})]),_:1})]),_:1},8,[`open`])]),_:1},8,[`is-active`]))}}),gC=(0,f.defineComponent)({__name:`MainSidebarNavigationLink`,props:(0,f.mergeModels)({to:{},type:{default:`link`},hasStatusDot:{type:Boolean},isActive:{type:Function,default:()=>!1},badge:{},icon:{},label:{},onClick:{},keyboardShortcut:{default:null},subItems:{}},{isPopoverOpen:{type:Boolean,default:!1},isPopoverOpenModifiers:{}}),emits:(0,f.mergeModels)([`click`],[`update:isPopoverOpen`]),setup(e,{emit:t}){let n=e,r=t,{isSidebarOpen:i,closeIfFloatingSidebar:a,collapsedVariant:o}=ES(),s=(0,y.useRoute)(),c=(0,y.useRouter)(),l=(0,f.computed)(()=>n.type===`sub-items`),u=(0,f.computed)(()=>v(n)?n:null),d=(0,f.computed)(()=>v(n)?null:n),p=(0,f.computed)(()=>l.value&&!i.value),m=(0,f.computed)(()=>n.isActive?.(s)?!0:u.value?.subItems.some(e=>{let t=c.resolve(e.to);return t.name!=null&&t.name===s.name?!0:t.path!==`/`&&s.path.startsWith(t.path)})??!1),h=(0,f.useModel)(e,`isPopoverOpen`),g=(0,f.computed)(()=>!!(p.value||o.value===`hidden`&&n.keyboardShortcut===null||o.value===`minified`&&i.value&&n.keyboardShortcut===null));function _(){a(),r(`click`)}function v(e){return e.type===`sub-items`}return(0,f.onMounted)(()=>{!v(n)&&`subItems`in n&&n.subItems!=null&&console.warn("[MainSidebarNavigationLink] Received `subItems` but `type` is missing or set to 'link'. Set `type: 'sub-items'` to render this item as an expandable group.")}),(e,t)=>p.value&&u.value!==null?((0,f.openBlock)(),(0,f.createBlock)(hC,{key:0,"is-popover-open":h.value,"onUpdate:isPopoverOpen":t[0]||=e=>h.value=e,icon:n.icon,"is-sub-items-active":m.value,label:n.label,"sub-items":u.value.subItems},null,8,[`is-popover-open`,`icon`,`is-sub-items-active`,`label`,`sub-items`])):l.value&&u.value!==null?((0,f.openBlock)(),(0,f.createBlock)(uC,{key:1,icon:n.icon,"is-sub-items-active":m.value,"is-tooltip-disabled":g.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"sub-items":u.value.subItems},null,8,[`icon`,`is-sub-items-active`,`is-tooltip-disabled`,`keyboard-shortcut`,`label`,`sub-items`])):d.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(QS,{key:2,icon:n.icon,"is-active":n.isActive,"is-tooltip-disabled":g.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,to:d.value.to,onClick:_},{right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`,{},()=>[n.badge==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(JS,{key:0,label:n.badge.label},null,8,[`label`])),n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(nC,{key:1})):(0,f.createCommentVNode)(``,!0)])]),_:3},8,[`icon`,`is-active`,`is-tooltip-disabled`,`keyboard-shortcut`,`label`,`to`]))}}),[_C,vC]=z(`mainLayoutContext`);function yC(){return vC(null)??{isBrandedActive:(0,f.computed)(()=>!1),variant:(0,f.computed)(()=>`default`)}}var bC={class:`flex h-full flex-col justify-between overflow-hidden text-primary`},xC=(0,f.defineComponent)({__name:`MainSidebarContent`,setup(e){let{sidebarContainerPadding:t}=ES();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,bC,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({paddingLeft:(0,f.unref)(t),paddingRight:(0,f.unref)(t),paddingBottom:(0,f.unref)(t)})},[(0,f.renderSlot)(e.$slots,`header`)],4),(0,f.createElementVNode)(`nav`,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(t)}),class:`flex h-full flex-col justify-between gap-2xl overflow-x-hidden overflow-y-auto`},[(0,f.renderSlot)(e.$slots,`navigation`),(0,f.renderSlot)(e.$slots,`bottom-navigation`)],4),(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(t)}),class:`flex flex-col gap-sm`},[(0,f.renderSlot)(e.$slots,`footer`)],4)]))}}),SC=(0,f.defineComponent)({__name:`MainSidebarTransition`,setup(e){let t=im();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{transform:`translateX(-100%)`},animate:{transform:`translateX(0%)`},exit:{transform:`translateX(-100%)`},transition:{duration:(0,f.unref)(t)?0:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`]))}}),CC=(0,f.defineComponent)({__name:`MainSidebar`,props:{collapsedVariant:{default:`hidden`}},setup(e){let t=e,{isFloatingSidebar:n,isSidebarOpen:r,setCollapsedVariant:i,sidebarWidth:a}=ES(),o=(0,g.useI18n)(),s=im(),{isBrandedActive:c}=yC(),l=(0,f.computed)(()=>c.value?[`default`,`branded`]:null);return i(t.collapsedVariant),(t,i)=>(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogRoot),{key:0,open:(0,f.unref)(r),"onUpdate:open":i[0]||=e=>(0,f.isRef)(r)?r.value=e:null},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogContent),{key:0,"as-child":!0,"force-mount":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(SC,{class:`absolute z-6 h-full w-64 p-md outline-none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full rounded-xl border border-secondary bg-secondary py-md shadow-lg/5`])},[(0,f.createVNode)((0,f.unref)(h.DialogTitle),{as:`h1`,class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(o).t(`components.sidebar.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.DialogDescription),{class:`sr-only`,as:`p`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(o).t(`components.sidebar.description`)),1)]),_:1}),(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3})]),_:3})):(0,f.createCommentVNode)(``,!0),(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogOverlay),{key:1,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:(0,f.unref)(s)?0:.3},class:`absolute inset-0 z-5 bg-black/10`},null,8,[`transition`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:3})]),_:3},8,[`open`])):e.collapsedVariant===`hidden`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{key:1,initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(SC,{key:0,style:(0,f.normalizeStyle)({width:(0,f.unref)(a)}),class:`absolute h-full pt-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full`])},[(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3},8,[`style`])):(0,f.createCommentVNode)(``,!0)]),_:3})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:2,initial:!1,animate:{width:(0,f.unref)(a)},transition:{duration:(0,f.unref)(s)?0:.3,type:`spring`,bounce:0},style:(0,f.normalizeStyle)({width:(0,f.unref)(a)}),class:`absolute z-1 h-full overflow-hidden pt-[0.475rem]`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full`])},[(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3},8,[`animate`,`transition`,`style`]))}}),wC=(0,f.defineComponent)({__name:`TextShimmer`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:`animate-shimmer bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)] bg-size-[300%_100%] bg-clip-text! text-transparent dark:bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),TC={class:`size-full p-md pl-none`},EC={class:`size-full rounded-2xl border border-secondary bg-primary shadow-sm/5`},DC={class:`text-sm font-medium`},OC=(0,f.defineComponent)({__name:`ApplicationLoadingView`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,y.useRouter)(),{isFloatingSidebar:i,isSidebarOpen:a,sidebarWidth:o}=ES(),s=(0,f.ref)(!0),c=(0,f.ref)(!1),l=im();r.isReady().then(()=>{s.value=!1});let u=(0,f.computed)(()=>t.isFetchingAuthUser||s.value);return setTimeout(()=>{c.value=!0},500),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,exit:{opacity:0},transition:{duration:(0,f.unref)(l)?0:.2},style:(0,f.normalizeStyle)({paddingLeft:(0,f.unref)(a)&&!(0,f.unref)(i)?(0,f.unref)(o):`0.5rem`}),class:`absolute inset-0 z-99 size-full bg-secondary`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,TC,[(0,f.createElementVNode)(`div`,EC,[c.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{key:0,class:`size-full`,align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(wC),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`h1`,DC,(0,f.toDisplayString)((0,f.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1)]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)])])]),_:1},8,[`transition`,`style`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),kC={class:`rounded-2xl border border-secondary bg-secondary px-lg py-sm shadow-lg duration-200 ease-in-out group-hover:translate-y-0.5 group-hover:scale-102`},AC={class:`grid grid-cols-[auto_auto] items-center gap-x-md gap-y-none`},jC={class:`flex`},MC=(0,f.defineComponent)({__name:`ApplicationOfflineWarning`,setup(e){let t=(0,g.useI18n)(),{isOnline:n}=(0,m.useNetwork)(),r=(0,f.ref)(!1),i=(0,f.computed)(()=>!n.value);function a(){r.value=!0}(0,f.watch)(i,e=>{e&&(r.value=!1)});let o=im();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[i.value&&!r.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-40},"as-child":!0,transition:{type:`spring`,bounce:0,duration:(0,f.unref)(o)?0:.3},"while-hover":`hovered`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{class:`group absolute top-4 left-1/2 z-10 -translate-x-1/2`,onClick:a},[(0,f.createElementVNode)(`div`,kC,[(0,f.createElementVNode)(`div`,AC,[(0,f.createVNode)((0,f.unref)(ji),{class:`size-3 text-tertiary`}),(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.offline_warning.title`),class:`text-xs text-primary`},null,8,[`text`]),n[0]||=(0,f.createElementVNode)(`span`,null,null,-1),(0,f.createVNode)((0,f.unref)(_.Motion),{variants:{hovered:{height:`auto`,opacity:1,y:0}},initial:{height:`0px`,y:-8,opacity:0},transition:{type:`spring`,bounce:0,duration:.3},class:`will-change-transform`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,jC,[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.offline_warning.dismiss`),class:`text-xs text-disabled`},null,8,[`text`])])]),_:1})])])])]),_:1})]),_:1},8,[`transition`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),NC={href:`#main-content`,class:`absolute top-2 left-2 z-99 rounded-sm bg-primary p-xs text-sm text-primary not-focus-visible:sr-only`},PC=(0,f.defineComponent)({__name:`ApplicationSkipToMainContent`,setup(e){let t=(0,g.useI18n)();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`a`,NC,(0,f.toDisplayString)((0,f.unref)(t).t(`component.skip_to_main_content_link.label`)),1)]),_:1}))}}),FC={class:`flex items-center gap-x-xs`},IC={key:0,class:`flex items-center gap-x-xs text-disabled`},LC={class:`text-secondary`},RC={key:2,class:`text-disabled`},zC=(0,f.defineComponent)({__name:`CommandMenuActionItem`,props:{action:{},ctx:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>(0,p.resolveActionBreadcrumbs)(n.action,n.ctx)),a=(0,f.computed)(()=>i.value.length===0?null:n.action.icon===void 0?i.value[0]?.icon??null:n.action.icon(n.ctx));return(t,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxItem),{value:e.action.id,"data-id":e.action.id,class:`flex cursor-default items-center justify-between rounded-md px-lg py-md text-xs`,"data-item":``,onSelect:n[0]||=e=>r(`select`)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,FC,[i.value.length>0?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,IC,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:t,gap:`xs`},{default:(0,f.withCtx)(()=>[a.value!==null&&t===0?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(a.value),{key:0,class:`size-3.5 text-tertiary`})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`span`,null,(0,f.toDisplayString)(e.label),1),(0,f.createVNode)((0,f.unref)(yn),{class:`size-3 text-tertiary`})]),_:2},1024))),128))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(B),{gap:`sm`},{default:(0,f.withCtx)(()=>[(0,f.unref)(p.resolveActionAvatar)(e.action,e.ctx)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),(0,f.mergeProps)({key:0},(0,f.unref)(p.resolveActionAvatar)(e.action,e.ctx),{size:`xxs`}),null,16)),e.action.icon!==void 0&&i.value.length===0?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.action.icon(e.ctx)),{key:1,class:`size-3.5 text-secondary`})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`span`,LC,(0,f.toDisplayString)((0,f.unref)(p.resolveActionName)(e.action,e.ctx)),1),(0,f.unref)(p.resolveActionHint)(e.action,e.ctx)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,RC,(0,f.toDisplayString)((0,f.unref)(p.resolveActionHint)(e.action,e.ctx)),1)):(0,f.createCommentVNode)(``,!0)]),_:1})]),(0,f.unref)(p.resolveActionSelected)(e.action,e.ctx)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(sn),{key:0,class:`size-3 text-primary`})):(0,f.createCommentVNode)(``,!0),e.action.keyboardShortcut===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(sa),{key:1,"keyboard-shortcut":e.action.keyboardShortcut},null,8,[`keyboard-shortcut`]))]),_:1},8,[`value`,`data-id`]))}}),BC={class:`p-lg`,role:`status`,"aria-live":`polite`},VC={class:`sr-only`},HC=(0,f.defineComponent)({__name:`CommandMenuLoadingSkeleton`,setup(e){let t=(0,g.useI18n)();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,BC,[(0,f.createElementVNode)(`span`,VC,(0,f.toDisplayString)((0,f.unref)(t).t(`component.command_menu.loading_actions`)),1),(0,f.createVNode)((0,f.unref)(q),{gap:`4xl`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(2,e=>(0,f.createElementVNode)(`div`,{key:e},[(0,f.createVNode)((0,f.unref)(J),{class:`h-2 w-20`}),(0,f.createVNode)((0,f.unref)(q),{class:`mt-xl`,gap:`lg`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-40`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-24`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-48`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-40`})]),_:1})])),64))]),_:1})]))}}),UC={class:`relative flex items-center`},WC={class:`text-xxs text-tertiary`},GC={class:`text-xxs text-disabled`},KC={key:0,class:`h-full border-l border-secondary p-xl`},qC=ns((0,f.defineComponent)({__name:`CommandMenu`,props:(0,f.mergeModels)({action:{}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,f.mergeModels)([`afterLeave`,`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`isOpen`),a=(0,p.useActionManagerStore)(),o=(0,p.useActionRegistryStore)().allActions(),s=a.focusedModels,c=(0,g.useI18n)(),l=(0,f.useTemplateRef)(`listboxRoot`),u=(0,f.useTemplateRef)(`listboxContent`),d=gt(`Shift`),_=(0,f.ref)([]),v=(0,f.ref)(``),y=(0,m.useLocalStorage)(`command-menu-grouping-disabled`,!1),{isLoadingActions:b,buildContext:x,refreshActions:S,resolvedActions:C,subActionsMetaMap:w}=(0,p.useCommandMenuActions)({isGroupingDisabled:(0,f.computed)(()=>y.value),actionsSnapshot:o,focusedModelsSnapshot:s,listboxContentRef:u,listboxRootRef:l,manager:a,navStack:_,searchInput:v}),{highlightedActionId:T,activateAction:E,breadcrumbs:D,currentParent:O,emptyStateMessage:ee,placeholder:k,preview:A,onKeyDown:j}=(0,p.useCommandMenuNavigation)({isShiftKeyHeld:d,buildContext:x,emit:r,listboxRootRef:l,manager:a,navStack:_,refreshActions:S,resolvedActions:C,scrollToTopOfGroup:re,searchInput:v,subActionsMetaMap:w}),{hasNavigated:te,isBouncing:M}=(0,p.useCommandMenuAnimation)(i,()=>_.value.length),ne=(0,f.computed)(()=>y.value?[{category:null,icon:null,items:C.value,key:`flat`,label:`Results`,showIfOnlyGroup:!0}]:(0,p.buildCommandMenuGroups)(C.value,x()));n.action!==void 0&&E(n.action),S();function re(){let e=l.value?.highlightedElement?.getAttribute(`data-id`)??null;if(e===null)return;let t=u.value?.$el;if(t===void 0)return;let n=t.querySelector(`[data-id="${CSS.escape(e)}"]`);if(n===null)return;let r=t.getBoundingClientRect(),i=n.closest(`[role="group"]`);if(i===null||i.querySelector(`[data-id]`)!==n)return;let a=i.getBoundingClientRect().top-r.top+t.scrollTop;a<t.scrollTop&&t.scrollTo({behavior:`instant`,top:a})}function ie(e){e||r(`close`)}function N(e){if(e.key===`Tab`){e.preventDefault(),y.value=!y.value;return}j(e)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogRoot),{open:i.value,"onUpdate:open":[t[3]||=e=>i.value=e,ie]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DialogContent),{class:(0,f.normalizeClass)([{bouncing:(0,f.unref)(M),navigated:(0,f.unref)(te)},`absolute top-28 left-1/2 z-99 w-full max-w-180 -translate-x-1/2 rounded-xl border border-transparent bg-primary shadow-lg duration-200 outline-none dark:border-secondary`]),"data-command-menu":``,onAfterLeave:t[2]||=e=>r(`afterLeave`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DialogTitle),{class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.DialogDescription),{class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.ListboxRoot),{ref:`listboxRoot`,"highlight-on-hover":!0,class:`flex flex-col overflow-hidden`,onHighlight:t[1]||=e=>T.value=e?.value??null},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,UC,[(0,f.unref)(D).length>0&&(0,f.unref)(O)?.forceAsRootMenu!==!0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,as:`ul`,gap:`xs`,class:`-mr-sm pl-lg`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(D),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:t},[(0,f.createVNode)((0,f.unref)(Pb),{label:e,size:`sm`},null,8,[`label`]),t===(0,f.unref)(D).length-1?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(yn),{key:0,class:`size-3 text-tertiary`}))],64))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.ListboxFilter),{modelValue:v.value,"onUpdate:modelValue":t[0]||=e=>v.value=e,placeholder:(0,f.unref)(k),class:`block w-full p-lg text-xs text-secondary outline-none`,onKeydown:N},null,8,[`modelValue`,`placeholder`])]),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"grid-cols-2":(0,f.unref)(A)!==null},`grid border-t border-secondary`])},[((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxContent),{key:(0,f.unref)(C).map(e=>e.id).join(``),ref:`listboxContent`,class:`max-h-96 scroll-p-1 overflow-y-auto outline-none select-none`,"data-content":``},{default:(0,f.withCtx)(()=>[(0,f.unref)(C).length>0?((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:0},(0,f.renderList)(ne.value,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxGroup),{key:e.key,class:`p-xs`},{default:(0,f.withCtx)(()=>[e.label!==null&&(e.showIfOnlyGroup||(0,f.unref)(O)===null||ne.value.length>1)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxGroupLabel),{key:0,class:`px-md py-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[e.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 text-disabled`})),e.category===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createElementVNode)(`span`,WC,(0,f.toDisplayString)(e.category),1),t[4]||=(0,f.createElementVNode)(`span`,{class:`text-xxs text-tertiary`},`•`,-1)],64)),(0,f.createElementVNode)(`span`,GC,(0,f.toDisplayString)(e.label),1)]),_:2},1024)]),_:2},1024)):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(zC,{key:e.id,action:e,ctx:(0,f.unref)(x)(),onSelect:t=>(0,f.unref)(E)(e)},null,8,[`action`,`ctx`,`onSelect`]))),128))]),_:2},1024))),128)):(0,f.unref)(b)?((0,f.openBlock)(),(0,f.createBlock)(HC,{key:1})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:2,text:(0,f.unref)(ee)??(v.value.trim().length>0?(0,f.unref)(c).t(`component.command_menu.no_results`,{query:v.value}):(0,f.unref)(c).t(`component.command_menu.no_actions`)),class:`flex p-lg text-xs text-tertiary`},null,8,[`text`]))]),_:1})),(0,f.unref)(A)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,KC,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)((0,f.unref)(A))))]))],2)]),_:1},512)]),_:1},8,[`class`]),(0,f.createVNode)((0,f.unref)(h.DialogOverlay),{class:`absolute inset-0 z-39 bg-black/5 dark:bg-black/20`,"data-overlay":``})]),_:1},8,[`open`]))}}),[[`__scopeId`,`data-v-4336e3f4`]]);function JC(){let e=(0,g.useI18n)(),t=QC(),n=t.create(qC);return(0,p.createAction)({id:`command-menu`,isApplicable:e=>e.menuType===void 0,name:()=>e.t(`action.global.open_command_menu.name`),availableWhenUnauthenticated:!0,execute:()=>{t.isOpen(n.id)?n.close():n.open()},keyboardShortcut:{key:`K`,mod:!0,runWithInputFocus:!0}})}var YC=(0,f.defineComponent)({__name:`DialogBody`,setup(e){let{bodyRef:t,style:n}=Dy();function r(e){t.value=e??null}return(0,f.onBeforeUnmount)(()=>{t.value=null}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{ref:r,class:(0,f.normalizeClass)((0,f.unref)(n).body()),"data-dialog-body":``},[(0,f.renderSlot)(e.$slots,`default`)],2))}});function XC(){let e=(0,f.shallowRef)(null);function t(t){e.value=t}function n(){e.value=null}return{chin:e,close:n,open:t}}function ZC(){let e=(0,f.shallowReactive)([]),t=(t,i)=>{let{defaultOpen:a,destroyOnClose:s,props:c}=i||{},l=(0,f.reactive)({id:Symbol(`useOverlay`),isMounted:!!a,isOpen:!!a,destroyOnClose:!!s,originalProps:c||{},props:{...c},component:(0,f.markRaw)(t)});return e.push(l),{...l,close:e=>r(l.id,e),open:e=>n(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);t?n.props={...n.originalProps,...t}:n.props={...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{for(let t of e)r(t.id)},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{isOpen:e=>s(e).isOpen,close:r,closeAll:i,create:t,open:n,overlays:e,patch:o,unmount:a}}var QC=(0,m.createSharedComposable)(ZC),$C=(0,f.defineComponent)({__name:`DialogContainer`,setup(e){let{close:t,overlays:n,unmount:r}=QC();function i(e,n){t(e,n)}function a(e){r(e)}return(e,t)=>((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(n),e=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e.id},[e.isMounted?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.component),(0,f.mergeProps)({key:0,ref_for:!0},e.props,{"is-open":e.isOpen,"onUpdate:isOpen":t=>e.isOpen=t,onClose:t=>i(e.id,t),onAfterLeave:t=>a(e.id)}),null,16,[`is-open`,`onUpdate:isOpen`,`onClose`,`onAfterLeave`])):(0,f.createCommentVNode)(``,!0)],64))),128))}}),ew=(0,f.defineComponent)({__name:`DialogFooterSecondary`,props:{isAutoFocusDisabled:{type:Boolean},isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)($v,(0,f.mergeProps)(n,{variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16))}}),tw=(0,f.defineComponent)({__name:`DialogFooterSubmit`,props:{isDestructive:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},label:{}},setup(e){let t=e,{form:n}=vy();return ct(`Mod+Enter`,()=>{n.submit()}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($v),{label:t.label,"is-loading":(0,f.unref)(n).isSubmitting.value,"is-disabled":t.isDisabled,"keyboard-shortcut":{key:`Enter`,mod:!0},variant:t.isDestructive?`destructive-primary`:`primary`,onClick:(0,f.unref)(n).submit},null,8,[`label`,`is-loading`,`is-disabled`,`variant`,`onClick`]))}});function nw(e){let t=QC();return{triggerProps:(0,f.computed)(()=>{let n=t.overlays.find(t=>t.id===e)?.isOpen??!1;return{"aria-expanded":n,"aria-haspopup":`dialog`,"data-state":n?`open`:`closed`}})}}var[rw,iw]=z(`formDialogContext`),aw=(0,f.defineComponent)({__name:`FormDialog`,props:(0,f.mergeModels)({hasOwnFormComponent:{type:Boolean,default:!1},isUnsavedChangesPromptEnabled:{type:Boolean,default:!0},form:{},promptOnUnsavedChanges:{type:Boolean,default:!0},renderOwnFormComponent:{type:Boolean,default:!1},unsavedChangesText:{default:null},hasCloseButton:{type:Boolean,default:!0},isClickOutsideDisabled:{type:Boolean,default:!1},isEscDisabled:{type:Boolean,default:!1},chin:{},presentation:{default:`dialog`},preventClickOutside:{type:Boolean},preventEsc:{type:Boolean},showCloseButton:{type:Boolean},size:{default:`md`}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,f.mergeModels)([`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.useModel)(e,`isOpen`),o=(0,f.useId)(),s=XC(),c=0;rw({formId:o,form:n.form});let l=(0,f.computed)(()=>s.chin.value??n.chin??null),u=(0,f.computed)(()=>n.promptOnUnsavedChanges===!0?n.isUnsavedChangesPromptEnabled:!1),d=(0,f.computed)(()=>n.hasOwnFormComponent||n.renderOwnFormComponent),p=(0,f.computed)({get:()=>a.value,set:e=>{if(e){a.value=!0;return}if(u.value&&n.form.isDirty.value){v();return}m(),a.value=!1,r(`close`)}});function m(){s.close()}function h(){return c+=1,c}function _(e){return{icon:wt,primaryAction:{action:()=>{m(),a.value=!1,r(`close`)},label:i.t(`component.unsaved_changes_dialog.confirm`),type:`button`,variant:`destructive`},pulseKey:e,secondaryAction:{action:m,label:i.t(`component.unsaved_changes_dialog.cancel`),type:`button`,variant:`default`},text:n.unsavedChangesText??i.t(`component.form_dialog.unsaved_changes`),variant:`error`}}function v(){if(s.chin.value!==null){s.open(_(h()));return}s.open(_())}function y(e){if(!(n.isEscDisabled||!u.value||!n.form.isDirty.value)){if(e.preventDefault(),s.chin.value!==null){m(),a.value=!1,r(`close`);return}v()}}return(0,f.watch)(()=>n.form.state.value,()=>{s.chin.value!==null&&m()},{deep:!0}),(0,f.watch)(()=>a.value,e=>{e||m()}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(Vy,{"is-open":p.value,"onUpdate:isOpen":t[0]||=e=>p.value=e,chin:l.value,"has-close-button":n.hasCloseButton,presentation:n.presentation,size:n.size,"is-click-outside-disabled":n.isClickOutsideDisabled,"is-esc-disabled":n.isEscDisabled,onEscapeKeyDown:y},{default:(0,f.withCtx)(()=>[d.value?(0,f.renderSlot)(e.$slots,`default`,{key:0,formId:(0,f.unref)(o)}):((0,f.openBlock)(),(0,f.createBlock)(Xy,{key:1,form:n.form,"is-unsaved-changes-prompt-enabled":!1,class:`flex size-full flex-col overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{formId:(0,f.unref)(o)})]),_:3},8,[`form`]))]),_:3},8,[`is-open`,`chin`,`has-close-button`,`presentation`,`size`,`is-click-outside-disabled`,`is-esc-disabled`]))}}),ow=(0,f.defineComponent)({__name:`FormDialogForm`,setup(e){let t=iw();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Xy),{id:(0,f.unref)(t).formId,form:(0,f.unref)(t).form,"is-unsaved-changes-prompt-enabled":!1},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{formId:(0,f.unref)(t).formId})]),_:3},8,[`id`,`form`]))}}),sw={withStackTrace:!1},cw=(e,t,n=sw)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function lw(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function uw(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function dw(e){return this instanceof dw?(this.v=e,this):new dw(e)}function fw(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof dw?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function pw(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:dw(e[r](t)),done:!1}:i?i(t):t}:i}}function mw(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof uw==`function`?uw(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var hw=class e{constructor(e){this._promise=e}static fromSafePromise(t){return new e(t.then(e=>new ww(e)))}static fromPromise(t,n){return new e(t.then(e=>new ww(e)).catch(e=>new Tw(n(e))))}static fromThrowable(t,n){return(...r)=>new e(lw(this,void 0,void 0,function*(){try{return new ww(yield t(...r))}catch(e){return new Tw(n?n(e):e)}}))}static combine(e){return vw(e)}static combineWithAllErrors(e){return bw(e)}map(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isErr()?new Tw(e.error):new ww(yield t(e.value))})))}andThrough(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isErr())return new Tw(e.error);let n=yield t(e.value);return n.isErr()?new Tw(n.error):new ww(e.value)})))}andTee(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isErr())return new Tw(e.error);try{yield t(e.value)}catch{}return new ww(e.value)})))}orTee(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isOk())return new ww(e.value);try{yield t(e.error)}catch{}return new Tw(e.error)})))}mapErr(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isOk()?new ww(e.value):new Tw(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new Tw(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new ww(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return fw(this,arguments,function*(){return yield dw(yield dw(yield*pw(mw(yield dw(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}[Symbol.asyncIterator](){return fw(this,arguments,function*(){let e=yield dw(this._promise);return e.isErr()&&(yield yield dw(gw(e.error))),yield dw(e.value)})}};function gw(e){return new hw(Promise.resolve(new Tw(e)))}hw.fromPromise,hw.fromSafePromise,hw.fromThrowable;var _w=e=>{let t=Sw([]);for(let n of e)if(n.isErr()){t=Cw(n.error);break}else t.map(e=>e.push(n.value));return t},vw=e=>hw.fromSafePromise(Promise.all(e)).andThen(_w),yw=e=>{let t=Sw([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=Cw([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},bw=e=>hw.fromSafePromise(Promise.all(e)).andThen(yw),xw;(function(e){function t(e,t){return(...n)=>{try{return Sw(e(...n))}catch(e){return Cw(t?t(e):e)}}}e.fromThrowable=t;function n(e){return _w(e)}e.combine=n;function r(e){return yw(e)}e.combineWithAllErrors=r})(xw||={});function Sw(e){return new ww(e)}function Cw(e){return new Tw(e)}var ww=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return Sw(e(this.value))}mapErr(e){return Sw(this.value)}andThen(e){return e(this.value)}andThrough(e){return e(this.value).map(e=>this.value)}andTee(e){try{e(this.value)}catch{}return Sw(this.value)}orTee(e){return Sw(this.value)}orElse(e){return Sw(this.value)}asyncAndThen(e){return e(this.value)}asyncAndThrough(e){return e(this.value).map(()=>this.value)}asyncMap(e){return hw.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw cw("Called `_unsafeUnwrapErr` on an Ok",this,e)}*[Symbol.iterator](){return this.value}},Tw=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return Cw(this.error)}mapErr(e){return Cw(e(this.error))}andThrough(e){return Cw(this.error)}andTee(e){return Cw(this.error)}orTee(e){try{e(this.error)}catch{}return Cw(this.error)}andThen(e){return Cw(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return gw(this.error)}asyncAndThrough(e){return gw(this.error)}asyncMap(e){return gw(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield Cw(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw cw("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}*[Symbol.iterator](){let e=this;return yield e,e}};xw.fromThrowable;var Ew={prefetchStaleTime:60,limit:20};Ew.limit,Ew.limit;var Dw=class e{static getApiErrorCode(e){return e.errors?.[0]?.code??null}static getApiErrorMessage(e){return e.errors?.[0]?.detail??null}static getMessage(e){return e.errors?.[0]?.detail??null}static handleApiError({error:t,message:n}){return e.isExpectedApiError(t)||(console.error(`Unexpected API error: ${t}`),t instanceof Error)?t:Error(n??`An unknown error occurred`)}static isExpectedApiError(e){return e?.errors!==void 0}static isZodError(e){return e instanceof d.default.ZodError}},Ow=1,kw=new class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:Ow++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:`default`});error=(e,t)=>this.create({...t,type:`error`,message:e});success=(e,t)=>this.create({...t,type:`success`,message:e});info=(e,t)=>this.create({...t,type:`info`,message:e});warning=(e,t)=>this.create({...t,type:`warning`,message:e});loading=(e,t)=>this.create({...t,type:`loading`,message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],(0,f.isVNode)(e))i=!1,this.create({id:n,type:`default`,message:e});else if(jw(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})};custom=(e,t)=>{let n=t?.id||Ow++,r=this.toasts.find(e=>e.id===n),i=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};function Aw(e,t){let n=t?.id||Ow++;return kw.create({message:e,id:n,type:`default`,...t}),n}var jw=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Mw=Object.assign(Aw,{success:kw.success,info:kw.info,warning:kw.warning,error:kw.error,custom:kw.custom,message:kw.message,promise:kw.promise,dismiss:kw.dismiss,loading:kw.loading},{getHistory:()=>kw.toasts,getToasts:()=>kw.getActiveToasts()});function Nw(e){return e.label!==void 0}var Pw=3,Fw=`24px`,Iw=`16px`,Lw=4e3,Rw=356,zw=14,Bw=45,Vw=200;function Hw(){let e=(0,f.ref)(!1);return(0,f.watchEffect)(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}function Uw(...e){return e.filter(Boolean).join(` `)}function Ww(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}function Gw(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Iw:Fw;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Kw=[`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-swiped`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-swipe-direction`,`data-expanded`,`data-testid`],qw=[`aria-label`,`data-disabled`,`data-close-button-position`],Jw=(0,f.defineComponent)({__name:`Toast`,props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`update:height`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.ref)(null),a=(0,f.ref)(null),o=(0,f.ref)(!1),s=(0,f.ref)(!1),c=(0,f.ref)(!1),l=(0,f.ref)(!1),u=(0,f.ref)(!1),d=(0,f.ref)(0),p=(0,f.ref)(0),m=(0,f.ref)(n.toast.duration||n.duration||Lw),h=(0,f.ref)(null),g=(0,f.ref)(null),_=(0,f.computed)(()=>n.index===0),v=(0,f.computed)(()=>n.index+1<=n.visibleToasts),y=(0,f.computed)(()=>n.toast.type),b=(0,f.computed)(()=>n.toast.dismissible!==!1),x=(0,f.computed)(()=>n.toast.class||``),S=(0,f.computed)(()=>n.descriptionClass||``),C=(0,f.computed)(()=>{let e=n.toast.position||n.position,t=n.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===n.toast.id);return t>=0?t:0}),w=(0,f.computed)(()=>{let e=n.toast.position||n.position;return n.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=C.value?e:e+t.height,0)}),T=(0,f.computed)(()=>C.value*n.gap+w.value||0),E=(0,f.computed)(()=>n.toast.closeButton??n.closeButton),D=(0,f.computed)(()=>n.toast.duration||n.duration||Lw),O=(0,f.ref)(0),ee=(0,f.ref)(0),k=(0,f.ref)(null),A=(0,f.computed)(()=>n.position.split(`-`)),j=(0,f.computed)(()=>A.value[0]),te=(0,f.computed)(()=>A.value[1]),M=(0,f.computed)(()=>typeof n.toast.title!=`string`),ne=(0,f.computed)(()=>typeof n.toast.description!=`string`),{isDocumentHidden:re}=Hw(),ie=(0,f.computed)(()=>y.value&&y.value===`loading`);(0,f.onMounted)(()=>{o.value=!0,m.value=D.value}),(0,f.watchEffect)(async()=>{if(!o.value||!g.value)return;await(0,f.nextTick)();let e=g.value,t=e.style.height;e.style.height=`auto`;let i=e.getBoundingClientRect().height;e.style.height=t,p.value=i,r(`update:height`,{toastId:n.toast.id,height:i,position:n.toast.position||n.position})});function N(){s.value=!0,d.value=T.value,setTimeout(()=>{r(`removeToast`,n.toast)},Vw)}function P(){if(ie.value||!b.value)return{};N(),n.toast.onDismiss?.(n.toast)}function F(e){e.button!==2&&(ie.value||!b.value||(h.value=new Date,d.value=T.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(c.value=!0,k.value={x:e.clientX,y:e.clientY})))}function ae(){if(l.value||!b.value)return;k.value=null;let e=Number(g.value?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(g.value?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-(h.value?.getTime()||0),o=i.value===`x`?e:t,s=Math.abs(o)/r;if(Math.abs(o)>=Bw||s>.11){d.value=T.value,n.toast.onDismiss?.(n.toast),i.value===`x`?a.value=e>0?`right`:`left`:a.value=t>0?`down`:`up`,N(),l.value=!0;return}else g.value?.style.setProperty(`--swipe-amount-x`,`0px`),g.value?.style.setProperty(`--swipe-amount-y`,`0px`);u.value=!1,c.value=!1,i.value=null}function oe(e){if(!k.value||!b.value||(window?.getSelection()?.toString()?.length??!1))return;let t=e.clientY-k.value.y,r=e.clientX-k.value.x,a=n.swipeDirections??Ww(n.position);!i.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(i.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let o={x:0,y:0},s=e=>1/(1.5+Math.abs(e)/20);if(i.value===`y`){if(a.includes(`top`)||a.includes(`bottom`))if(a.includes(`top`)&&t<0||a.includes(`bottom`)&&t>0)o.y=t;else{let e=t*s(t);o.y=Math.abs(e)<Math.abs(t)?e:t}}else if(i.value===`x`&&(a.includes(`left`)||a.includes(`right`)))if(a.includes(`left`)&&r<0||a.includes(`right`)&&r>0)o.x=r;else{let e=r*s(r);o.x=Math.abs(e)<Math.abs(r)?e:r}(Math.abs(o.x)>0||Math.abs(o.y)>0)&&(u.value=!0),g.value?.style.setProperty(`--swipe-amount-x`,`${o.x}px`),g.value?.style.setProperty(`--swipe-amount-y`,`${o.y}px`)}(0,f.onMounted)(()=>{if(o.value=!0,!g.value)return;let e=g.value.getBoundingClientRect().height;p.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}),(0,f.onBeforeUnmount)(()=>{g.value&&r(`removeToast`,n.toast)}),(0,f.watchEffect)(e=>{if(n.toast.promise&&y.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||re.value?(()=>{if(ee.value<O.value){let e=new Date().getTime()-O.value;m.value-=e}ee.value=new Date().getTime()})():m.value!==1/0&&(O.value=new Date().getTime(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),N()},m.value)),e(()=>{clearTimeout(t)})}),(0,f.watch)(()=>n.toast.delete,e=>{e!==void 0&&e&&(N(),n.toast.onDismiss?.(n.toast))},{deep:!0});function I(){c.value=!1,i.value=null,k.value=null}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`li`,{tabindex:`0`,ref_key:`toastRef`,ref:g,class:(0,f.normalizeClass)((0,f.unref)(Uw)(n.class,x.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[y.value],e.toast?.classes?.[y.value])),"data-sonner-toast":``,"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-swiped":u.value,"data-removed":s.value,"data-visible":v.value,"data-y-position":j.value,"data-x-position":te.value,"data-index":e.index,"data-front":_.value,"data-swiping":c.value,"data-dismissible":b.value,"data-type":y.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":l.value,"data-swipe-direction":a.value,"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),"data-testid":e.toast.testId,style:(0,f.normalizeStyle)({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${s.value?d.value:T.value}px`,"--initial-height":e.expandByDefault?`auto`:`${p.value}px`,...e.style,...n.toast.style}),onDragend:I,onPointerdown:F,onPointerup:ae,onPointermove:oe},[E.value&&!e.toast.component&&y.value!==`loading`?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ie.value,"data-close-button":`true`,"data-close-button-position":e.closeButtonPosition,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:P},[e.icons?.close?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.icons?.close),{key:0})):(0,f.renderSlot)(e.$slots,`close-icon`,{key:1})],10,qw)):(0,f.createCommentVNode)(`v-if`,!0),e.toast.component?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.component),(0,f.mergeProps)({key:1},e.toast.componentProps,{onCloseToast:P,isPaused:e.$props.expanded||e.$props.interacting||(0,f.unref)(re)}),null,16,[`isPaused`])):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:2},[y.value!=="default"||e.toast.icon||e.toast.promise?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,"data-icon":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.icon),{key:0})):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[y.value===`loading`?(0,f.renderSlot)(e.$slots,`loading-icon`,{key:0}):y.value===`success`?(0,f.renderSlot)(e.$slots,`success-icon`,{key:1}):y.value===`error`?(0,f.renderSlot)(e.$slots,`error-icon`,{key:2}):y.value===`warning`?(0,f.renderSlot)(e.$slots,`warning-icon`,{key:3}):y.value===`info`?(0,f.renderSlot)(e.$slots,`info-icon`,{key:4}):(0,f.createCommentVNode)(`v-if`,!0)],64))],2)):(0,f.createCommentVNode)(`v-if`,!0),(0,f.createElementVNode)(`div`,{"data-content":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.content,e.toast?.classes?.content))},[(0,f.createElementVNode)(`div`,{"data-title":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.title,e.toast.classes?.title))},[M.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.title),(0,f.normalizeProps)((0,f.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)(e.toast.title),1)],64))],2),e.toast.description?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,"data-description":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.descriptionClass,S.value,e.classes?.description,e.toast.classes?.description))},[ne.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.description),(0,f.normalizeProps)((0,f.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)(e.toast.description),1)],64))],2)):(0,f.createCommentVNode)(`v-if`,!0)],2),e.toast.cancel?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,style:(0,f.normalizeStyle)(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{(0,f.unref)(Nw)(e.toast.cancel)&&b.value&&(e.toast.cancel.onClick?.(t),N())}},(0,f.toDisplayString)((0,f.unref)(Nw)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):(0,f.createCommentVNode)(`v-if`,!0),e.toast.action?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:2,style:(0,f.normalizeStyle)(e.toast.actionButtonStyle||e.actionButtonStyle),class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{(0,f.unref)(Nw)(e.toast.action)&&(e.toast.action.onClick?.(t),!t.defaultPrevented&&N())}},(0,f.toDisplayString)((0,f.unref)(Nw)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):(0,f.createCommentVNode)(`v-if`,!0)],64))],46,Kw))}}),Yw=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Xw={},Zw={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Qw(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,Zw,t[0]||=[(0,f.createElementVNode)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),(0,f.createElementVNode)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var $w=Yw(Xw,[[`render`,Qw]]),eT=[`data-visible`],tT={class:`sonner-spinner`},nT=(0,f.defineComponent)({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[(0,f.createElementVNode)(`div`,tT,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(t),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,eT))}}),rT={},iT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function aT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,iT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var oT=Yw(rT,[[`render`,aT]]),sT={},cT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function lT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,cT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var uT=Yw(sT,[[`render`,lT]]),dT={},fT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function pT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,fT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var mT=Yw(dT,[[`render`,pT]]),hT={},gT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function _T(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,gT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var vT=Yw(hT,[[`render`,_T]]),yT=[`aria-label`],bT=[`data-sonner-theme`,`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],xT=typeof window<`u`&&typeof document<`u`;function ST(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}var CT=(0,f.defineComponent)({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{id:{},invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},closeButtonPosition:{default:`top-left`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:zw},visibleToasts:{default:Pw},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{},offset:{default:Fw},mobileOffset:{default:Iw},dir:{default:`auto`},swipeDirections:{},icons:{},containerAriaLabel:{default:`Notifications`}},setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.ref)([]),i=(0,f.computed)(()=>t.id?r.value.filter(e=>e.toasterId===t.id):r.value.filter(e=>!e.toasterId));function a(e,t){return i.value.filter(n=>!n.position&&t===0||n.position===e)}let o=(0,f.computed)(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=(0,f.computed)(()=>{let e={};return o.value.forEach(t=>{e[t]=r.value.filter(e=>e.position===t)}),e}),c=(0,f.ref)([]),l=(0,f.ref)({}),u=(0,f.ref)(!1);(0,f.watchEffect)(()=>{o.value.forEach(e=>{e in l.value||(l.value[e]=!1)})});let d=(0,f.ref)(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),p=(0,f.ref)(null),m=(0,f.ref)(null),h=(0,f.ref)(!1),g=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function _(e){r.value.find(t=>t.id===e.id)?.delete||kw.dismiss(e.id),r.value=r.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{r.value.find(t=>t.id===e.id)||(c.value=c.value.filter(t=>t.toastId!==e.id))},250)}function v(e){h.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(h.value=!1,m.value&&=(m.value.focus({preventScroll:!0}),null))}function y(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||h.value||(h.value=!0,m.value=e.relatedTarget)}function b(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}(0,f.watchEffect)(e=>{e(kw.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(t=>t.id===e.id?{...t,delete:!0}:t)});return}(0,f.nextTick)(()=>{let t=r.value.findIndex(t=>t.id===e.id);t===-1?r.value=[e,...r.value]:r.value=[...r.value.slice(0,t),{...r.value[t],...e},...r.value.slice(t+1)]})}))}),(0,f.watchEffect)(e=>{if(typeof window>`u`)return;if(t.theme!==`system`){d.value=t.theme;return}let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=e=>{d.value=e?`dark`:`light`};r(n.matches);let i=e=>{r(e.matches)};try{n.addEventListener(`change`,i)}catch{n.addListener(i)}e(()=>{try{n.removeEventListener(`change`,i)}catch{n.removeListener(i)}})}),(0,f.watchEffect)(()=>{p.value&&m.value&&(m.value.focus({preventScroll:!0}),m.value=null,h.value=!1)}),(0,f.watchEffect)(()=>{r.value.length<=1&&Object.keys(l.value).forEach(e=>{l.value[e]=!1})}),(0,f.watchEffect)(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(p.value)?p.value[0]:p.value;n&&(o.value.forEach(e=>{l.value[e]=!0}),r?.focus());let i=document.activeElement===p.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&o.value.forEach(e=>{l.value[e]=!1})}xT&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))});function x(e){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!0}function S(e){if(!u.value){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!1}}function C(){Object.keys(l.value).forEach(e=>{l.value[e]=!1})}function w(){u.value=!1}function T(e){c.value=e}function E(e){let t=c.value.findIndex(t=>t.toastId===e.toastId);if(t!==-1)c.value[t]=e;else{let t=c.value.findIndex(t=>t.position===e.position);t===-1?c.value.unshift(e):c.value.splice(t,0,e)}}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[(0,f.createCommentVNode)(` Remove item from normal navigation flow, only available via hotkey `),(0,f.createElementVNode)(`section`,{"aria-label":`${e.containerAriaLabel} ${(0,f.unref)(g)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,(r,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`ol`,(0,f.mergeProps)({key:r,ref_for:!0,ref_key:`listRef`,ref:p,"data-sonner-toaster":``,"data-sonner-theme":d.value,class:t.class,dir:e.dir===`auto`?ST():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${c.value[0]?.height||0}px`,"--width":`${(0,f.unref)(Rw)}px`,"--gap":`${e.gap}px`,...e.style,...(0,f.unref)(n).style,...(0,f.unref)(Gw)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:v,onFocus:y,onMouseenter:x,onMousemove:x,onMouseleave:S,onDragend:C,onPointerdown:b,onPointerup:w}),[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a(r,i),(n,i)=>((0,f.openBlock)(),(0,f.createBlock)(Jw,{key:n.id,heights:c.value,icons:e.icons,index:i,toast:n,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:(0,f.normalizeClass)(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:r,closeButtonPosition:e.toastOptions?.closeButtonPosition??e.closeButtonPosition,style:(0,f.normalizeStyle)(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:s.value[r],expandByDefault:e.expand,gap:e.gap,expanded:l.value[r]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":T,"onUpdate:height":E,onRemoveToast:_},{"close-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`close-icon`,{},()=>[(0,f.createVNode)($w)])]),"loading-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`loading-icon`,{},()=>[(0,f.createVNode)(nT,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`success-icon`,{},()=>[(0,f.createVNode)(oT)])]),"error-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`error-icon`,{},()=>[(0,f.createVNode)(vT)])]),"warning-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`warning-icon`,{},()=>[(0,f.createVNode)(mT)])]),"info-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`info-icon`,{},()=>[(0,f.createVNode)(uT)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`closeButtonPosition`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`close-button-aria-label`,`toasts`,`expandByDefault`,`gap`,`expanded`,`swipeDirections`]))),128))],16,bT))),128))],8,yT)],2112))}}),wT=W({slots:{title:`mb-xs text-sm font-medium`},variants:{variant:{error:{title:`text-error-primary`},info:{title:`text-primary`},warning:{title:`text-warning-primary`}}}}),TT=(0,f.defineComponent)({__name:`ToastActions`,props:{button:{},link:{}},emits:[`close`],setup(e,{emit:t}){let n=t;function r(e){e.onClick(),n(`close`)}function i(){n(`close`)}return(t,n)=>e.button!==void 0||e.link!==void 0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0},{default:(0,f.withCtx)(()=>[e.button===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($v),(0,f.mergeProps)({key:0,variant:`secondary`},e.button,{onClick:n[0]||=t=>r(e.button)}),null,16)),e.link===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(iy),(0,f.mergeProps)({key:1,variant:`secondary`},e.link,{onClick:n[1]||=e=>i()}),null,16))]),_:1})):(0,f.createCommentVNode)(``,!0)}}),ET={class:`absolute top-0 right-0 mt-md mr-sm flex h-text-sm items-center justify-center`},DT=(0,f.defineComponent)({__name:`ToastCloseButton`,emits:[`close`],setup(e,{emit:t}){let n=t,r=(0,g.useI18n)();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,ET,[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),"is-tooltip-disabled":!0,label:(0,f.unref)(r).t(`component.toast.close.label`),size:`sm`,variant:`tertiary`,onClick:t[0]||=e=>n(`close`)},null,8,[`icon`,`label`])]))}}),OT={class:`flex h-text-sm items-center`},kT=(0,f.defineComponent)({__name:`ToastIcon`,props:{icon:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,OT,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{class:(0,f.normalizeClass)([{"text-error-primary":t.variant===`error`,"text-warning-primary":t.variant===`warning`,"text-tertiary":t.variant===`info`||t.variant===`loading`||t.variant===void 0},`size-4`])},null,8,[`class`]))]))}}),AT={},jT={class:`pointer-events-auto relative w-full rounded-xl border border-secondary bg-primary p-md pl-lg shadow-lg/5`};function MT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,jT,[(0,f.renderSlot)(e.$slots,`default`)])}var NT=ns(AT,[[`render`,MT]]),PT={class:`flex h-text-sm items-center`},FT=(0,f.defineComponent)({__name:`ToastLoader`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,PT,[(0,f.createVNode)((0,f.unref)(Cs),{class:`size-3.5 text-tertiary`})]))}}),IT=[`src`,`alt`],LT={class:`font-medium text-primary`},RT=(0,f.defineComponent)({__name:`ToastInteractablePart`,props:{icon:{},imageSrc:{},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;function i(){n.to!==null&&r(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.to===null?`span`:(0,f.unref)(y.RouterLink)),{to:n.to,class:(0,f.normalizeClass)({"hover:underline":n.to!==null}),onClick:i},{default:(0,f.withCtx)(()=>[n.imageSrc===null?n.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.icon),{key:1,class:`mr-xs inline size-3.5 -translate-y-px align-sub text-secondary`})):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:0,src:n.imageSrc,alt:n.label,class:`mr-xs inline size-3.5 -translate-y-px rounded-xs align-middle`},null,8,IT)),(0,f.createElementVNode)(`span`,LT,(0,f.toDisplayString)(n.label),1)]),_:1},8,[`to`,`class`]))}}),zT={class:`text-sm text-secondary`},BT=(0,f.defineComponent)({__name:`ToastMessage`,props:{message:{},models:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=/(\{.*?\})/g,a=/^\{(.*?)\}$/,o=(0,f.computed)(()=>n.message.split(i).map(e=>{let t=e.match(a);if(t===null)return{label:e,type:`text`};let r=t[1],i=n.models[r]??null;return i===null?(console.warn(`No model found for key "${r}" in toast message "${n.message}"`),{label:e,type:`text`}):{icon:i.icon??null,imageSrc:i.imageSrc??null,key:r,label:i.label,to:i.to,type:`interactable`}}));return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,zT,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:n},[e.type===`text`?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.createTextVNode)((0,f.toDisplayString)(e.label),1)],64)):e.type===`interactable`?((0,f.openBlock)(),(0,f.createBlock)(RT,{key:1,icon:e.icon,"image-src":e.imageSrc,label:e.label,to:e.to??null,onClick:t[0]||=e=>r(`closeToast`)},null,8,[`icon`,`image-src`,`label`,`to`])):(0,f.createCommentVNode)(``,!0)],64))),128))]))}}),VT=ns((0,f.defineComponent)({__name:`Toast`,props:{toast:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>n.toast.variant===`error`?`error`:n.toast.variant===`warning`?`warning`:`info`),a=(0,f.computed)(()=>wT({variant:i.value}));return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(NT,{"data-toast-id":n.toast.id},{default:(0,f.withCtx)(()=>[(n.toast.isDismissible??!0)&&n.toast.variant!==`loading`?((0,f.openBlock)(),(0,f.createBlock)(DT,{key:0,onClose:t[0]||=e=>r(`closeToast`)})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(B),{align:`start`,class:`pr-3xl`},{default:(0,f.withCtx)(()=>[n.toast.variant===`loading`?((0,f.openBlock)(),(0,f.createBlock)(FT,{key:0})):n.toast.icon===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kT,{key:1,icon:n.toast.icon,variant:n.toast.variant},null,8,[`icon`,`variant`])),(0,f.createVNode)((0,f.unref)(q),{gap:`none`},{default:(0,f.withCtx)(()=>[n.toast.title===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:n.toast.title,class:(0,f.normalizeClass)([a.value.title(),`mb-xs text-sm font-medium`])},null,8,[`text`,`class`])),(0,f.createVNode)(BT,{models:n.toast.interactableModels??{},message:n.toast.message,onCloseToast:t[1]||=e=>r(`closeToast`)},null,8,[`models`,`message`]),(0,f.createVNode)(TT,{button:n.toast.button,link:n.toast.link,class:`mt-lg`,onClose:t[2]||=e=>r(`closeToast`)},null,8,[`button`,`link`])]),_:1})]),_:1})]),_:1},8,[`data-toast-id`]))}}),[[`__scopeId`,`data-v-0289243a`]]),HT=600,UT=`animate-toast-highlight`,WT=new Map;function GT(e){let t=document.querySelector(`[data-toast-id="${e}"]`);if(!t)return;let n=WT.get(e);n&&clearTimeout(n),t.classList.remove(UT),t.scrollTop,t.classList.add(UT);let r=setTimeout(()=>{t.classList.remove(UT),WT.delete(e)},HT);WT.set(e,r)}var KT=1/0,qT=5e3,JT=7e3;function YT(e,t){switch(e){case`always`:return t===`error`?JT:qT;case`all-except-errors`:return t===`error`?KT:qT;case`never`:return KT}}function XT(e){Mw.dismiss(e)}function ZT(){let e=(0,g.useI18n)(),t=rm();function n(e){(e.id===void 0?null:Mw.getToasts().find(t=>t.id===e.id)??null)!==null&&GT(e.id),Mw.custom((0,f.markRaw)((0,f.defineComponent)({render:()=>(0,f.h)(VT,{toast:e})})),{id:e.id??crypto.randomUUID(),class:`w-full sm:w-96`,dismissible:e.isDismissible??e.dismissible,duration:e.duration??YT(t.autoCloseToast.value,e.variant===`error`?`error`:`info`),position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss})}function r(e){let r=e.id??crypto.randomUUID();n({id:r,isDismissible:!1,duration:KT,icon:e.icon,interactableModels:e.interactableModels,message:e.loading,variant:`loading`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});function i(n,i){let a=Mw.custom((0,f.markRaw)((0,f.defineComponent)({render:()=>(0,f.h)(VT,{toast:{id:r,icon:e.icon,interactableModels:e.interactableModels,message:n,variant:i}})})),{id:r,class:`w-full sm:w-96`,dismissible:!0,position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});setTimeout(()=>{Mw.dismiss(a)},e.duration??YT(t.autoCloseToast.value,i===`error`?`error`:`info`))}e.promise.then(()=>i(e.success,`info`)).catch(()=>i(e.error,`error`))}function i(){n({id:`unable-to-save`,icon:bt,message:e.t(`component.toast.unable_to_save_changes.message`),variant:`error`})}function a(t){if(!Dw.isExpectedApiError(t)){n({icon:bt,message:e.t(`component.toast.unexpected_error.message`),variant:`error`}),console.error(`Unknown error occurred:`,t);return}let[r]=t.errors;r!==void 0&&n({icon:bt,message:r.detail,variant:`error`})}return{apiError:a,dismiss:XT,promise:r,show:n,unableToSave:i}}var QT=(0,f.defineComponent)({__name:`ToastContainer`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(CT),{style:{zIndex:75},expand:!1}))}}),$T=(0,f.defineComponent)({__name:`TooltipProvider`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TooltipProvider),null,{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),eE=(0,f.defineComponent)({__name:`ApplicationProvider`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e;return(0,p.useActionRegistryStore)().registerActions(JC()),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)($T,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(PC)),(0,f.createVNode)((0,f.unref)(MC)),(0,f.createVNode)((0,f.unref)(OC),{"is-fetching-auth-user":t.isFetchingAuthUser},null,8,[`is-fetching-auth-user`]),(0,f.createVNode)((0,f.unref)(QT)),(0,f.createVNode)((0,f.unref)($C)),(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),tE=function(e){return e.CONFIRM_UPLOAD_FAILED=`CONFIRM_UPLOAD_FAILED`,e.GET_FILE_INFO_FAILED=`GET_FILE_INFO_FAILED`,e.INVALID_MIME_TYPE=`INVALID_MIME_TYPE`,e.PREPROCESSING_FAILED=`PREPROCESSING_FAILED`,e.UPLOAD_FAILED=`UPLOAD_FAILED`,e}({}),X=function(e){return e.ERROR=`ERROR`,e.PENDING=`PENDING`,e.SUCCESS=`SUCCESS`,e.UPLOADING=`UPLOADING`,e}({}),[nE,rE]=z(`baseFileUploadContext`),iE=/[/\\]/;function aE(e,t,n=X.PENDING){return{uuid:``,isSyncedWithModelValue:!1,name:e.name,file:e,key:crypto.randomUUID(),mimeType:e.type,order:t,status:n,url:URL.createObjectURL(e)}}function oE(e,t){return{...e,isSyncedWithModelValue:!0,status:t}}function sE(e,t){return t.some(t=>{if(t===`*/*`)return!0;if(t.endsWith(`/*`)){let[n]=t.split(`/`);return e.type.startsWith(`${n}/`)}return e.type===t})}function cE(e){return e.split(`/`)[1]??`bin`}async function lE(e){let t=await e.arrayBuffer(),n=await crypto.subtle.digest(`SHA-256`,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,`0`)).join(``)}async function uE(e,t){if(e.types.includes(`text/plain`))try{let t=(await(await e.getType(`text/plain`)).text()).trim().split(iE).pop();if(t!==void 0&&t.includes(`.`))return t}catch{}return`clipboard.${cE(t)}`}var[dE,fE]=z(`baseFileUploadClipboardContext`),pE=`file-upload-clipboard-ignored-fingerprints`,mE=(0,f.defineComponent)({__name:`BaseFileUploadClipboard`,setup(e){let{isDisabled:t,isValidFile:n,accept:r,onFilesSelected:i}=rE(),a=(0,f.ref)([]);function o(){let e=sessionStorage.getItem(pE);return e===null?new Set:new Set(JSON.parse(e))}function s(e){sessionStorage.setItem(pE,JSON.stringify([...e]))}function c(e){let t=o();t.add(e),s(t)}function l(){for(let e of a.value)c(e.fingerprint);a.value=[]}function u(){i(a.value.map(e=>e.file)),l()}async function d(){if(t.value||!navigator.clipboard?.read)return;let e;try{e=await navigator.clipboard.read()}catch{return}let i=[];for(let t of e)for(let e of t.types){if(!e.startsWith(`image/`)||!sE({type:e},r.value))continue;let n=await t.getType(e),a=await lE(n);i.push({blob:n,clipboardItem:t,fingerprint:a,mimeType:e})}let c=o(),l=i.some(e=>!c.has(e.fingerprint));l&&s(new Set);let u=l?new Set:c,d=[];for(let{blob:e,clipboardItem:t,fingerprint:r,mimeType:a}of i){if(u.has(r))continue;let i=await uE(t,a),o=new File([e],i,{type:a});n.value!==null&&n.value(o)!==!0||d.push({file:o,fingerprint:r})}a.value=d}let p=(0,f.computed)(()=>a.value.map(e=>e.file));dE({clear:l,files:p,upload:u});async function h(e){if(t.value)return;let i=e.clipboardData?.files;if(!i||i.length===0)return;let o=[];for(let e of Array.from(i)){if(!sE({type:e.type},r.value)||n.value!==null&&n.value(e)!==!0)continue;let t=await lE(e);o.push({file:e,fingerprint:t})}o.length>0&&(a.value=o)}return(0,m.useEventListener)(window,`focus`,d),(0,m.useEventListener)(window,`paste`,h),d(),(e,t)=>(0,f.renderSlot)(e.$slots,`default`,{files:p.value})}}),hE=(0,f.defineComponent)({__name:`BaseFileUploadClipboardRemove`,setup(e){let{clear:t}=fE();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,onClick:(0,f.unref)(t)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`onClick`]))}}),gE=(0,f.defineComponent)({__name:`BaseFileUploadClipboardUpload`,setup(e){let{upload:t}=fE();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,onClick:(0,f.unref)(t)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`onClick`]))}}),_E=(0,f.defineComponent)({__name:`BaseFileUploadDropzone`,setup(e){let t=(0,f.ref)(!1),{isDisabled:n,isMultiple:r,onFilesSelected:i}=rE(),a=(0,f.ref)(null),{isOverDropZone:o}=(0,m.useDropZone)((0,f.computed)(()=>a.value?.$el??null),{multiple:r.value,onDrop:e=>{n.value||e!==null&&e.length>0&&i(e)}}),s=0;function c(e,r){if(n.value){s=0,t.value=!1;return}switch(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`),r){case`enter`:s+=1,t.value=!0;break;case`leave`:--s,s===0&&(t.value=!1);break;case`drop`:s=0,t.value=!1;break}}return(0,m.useEventListener)(document.body,`dragenter`,e=>c(e,`enter`)),(0,m.useEventListener)(document.body,`dragover`,e=>c(e,`over`)),(0,m.useEventListener)(document.body,`dragleave`,e=>c(e,`leave`)),(0,m.useEventListener)(document.body,`drop`,e=>c(e,`drop`)),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{ref_key:`dropzoneRef`,ref:a,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{isHoveringOverDropzone:(0,f.unref)(n)?!1:(0,f.unref)(o),isHoveringOverPage:t.value})]),_:3},512))}}),[vE,yE]=z(`baseFileUploadItemContext`),bE=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~`.split(``),xE=e=>{let t=0;for(let n=0;n<e.length;n++){let r=e[n],i=bE.indexOf(r);t=t*83+i}return t},SE=(e,t)=>{var n=``;for(let r=1;r<=t;r++){let i=Math.floor(e)/83**(t-r)%83;n+=bE[Math.floor(i)]}return n},CE=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},wE=e=>{let t=Math.max(0,Math.min(1,e));return Math.trunc(t<=.0031308?t*12.92*255+.5:(1.055*t**.4166666666666667-.055)*255+.5)},TE=e=>e<0?-1:1,EE=(e,t)=>TE(e)*Math.abs(e)**+t,DE=class extends Error{constructor(e){super(e),this.name=`ValidationError`,this.message=e}},OE=e=>{if(!e||e.length<6)throw new DE(`The blurhash string must be at least 6 characters`);let t=xE(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new DE(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},kE=e=>{let t=e>>16,n=e>>8&255,r=e&255;return[CE(t),CE(n),CE(r)]},AE=(e,t)=>{let n=Math.floor(e/361),r=Math.floor(e/19)%19,i=e%19;return[EE((n-9)/9,2)*t,EE((r-9)/9,2)*t,EE((i-9)/9,2)*t]},jE=(e,t,n,r)=>{OE(e),r|=1;let i=xE(e[0]),a=Math.floor(i/9)+1,o=i%9+1,s=(xE(e[1])+1)/166,c=Array(o*a);for(let t=0;t<c.length;t++)t===0?c[t]=kE(xE(e.substring(2,6))):c[t]=AE(xE(e.substring(4+t*2,6+t*2)),s*r);let l=t*4,u=new Uint8ClampedArray(l*n);for(let e=0;e<n;e++)for(let r=0;r<t;r++){let i=0,s=0,d=0;for(let l=0;l<a;l++)for(let a=0;a<o;a++){let u=Math.cos(Math.PI*r*a/t)*Math.cos(Math.PI*e*l/n),f=c[a+l*o];i+=f[0]*u,s+=f[1]*u,d+=f[2]*u}let f=wE(i),p=wE(s),m=wE(d);u[4*r+0+e*l]=f,u[4*r+1+e*l]=p,u[4*r+2+e*l]=m,u[4*r+3+e*l]=255}return u},ME=4,NE=(e,t,n,r)=>{let i=0,a=0,o=0,s=t*ME;for(let c=0;c<t;c++){let t=ME*c;for(let l=0;l<n;l++){let n=t+l*s,u=r(c,l);i+=u*CE(e[n]),a+=u*CE(e[n+1]),o+=u*CE(e[n+2])}}let c=1/(t*n);return[i*c,a*c,o*c]},PE=e=>{let t=wE(e[0]),n=wE(e[1]),r=wE(e[2]);return(t<<16)+(n<<8)+r},FE=(e,t)=>{let n=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[0]/t,.5)*9+9.5)))),r=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[1]/t,.5)*9+9.5)))),i=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[2]/t,.5)*9+9.5))));return n*19*19+r*19+i},IE=(e,t,n,r,i)=>{if(r<1||r>9||i<1||i>9)throw new DE(`BlurHash must have between 1 and 9 components`);if(t*n*4!==e.length)throw new DE(`Width and height must match the pixels array`);let a=[];for(let o=0;o<i;o++)for(let i=0;i<r;i++){let r=i==0&&o==0?1:2,s=NE(e,t,n,(e,a)=>r*Math.cos(Math.PI*i*e/t)*Math.cos(Math.PI*o*a/n));a.push(s)}let o=a[0],s=a.slice(1),c=``,l=r-1+(i-1)*9;c+=SE(l,1);let u;if(s.length>0){let e=Math.max(...s.map(e=>Math.max(...e))),t=Math.floor(Math.max(0,Math.min(82,Math.floor(e*166-.5))));u=(t+1)/166,c+=SE(t,1)}else u=1,c+=SE(0,1);return c+=SE(PE(o),4),s.forEach(e=>{c+=SE(FE(e,u),2)}),c},LE=class{static async encode(e){if(!e.type.startsWith(`image/`))return null;let t=URL.createObjectURL(e),n;try{n=await this.loadImage(t)}catch{return URL.revokeObjectURL(t),null}URL.revokeObjectURL(t);let r=this.getClampedSize(n.width,n.height,32),i=this.getImageData(n,r.width,r.height);try{return IE(i.data,i.width,i.height,4,4)}catch{return null}}static getClampedSize(e,t,n){return e>=t&&e>n?{height:Math.round(t/e*n),width:n}:t>e&&t>n?{height:n,width:Math.round(e/t*n)}:{height:t,width:e}}static getImageData(e,t,n){let r=document.createElement(`canvas`);r.width=t,r.height=n;let i=r.getContext(`2d`);return i.drawImage(e,0,0,t,n),i.getImageData(0,0,t,n)}static loadImage(e){return new Promise((t,n)=>{let r=new Image;r.addEventListener(`load`,()=>t(r)),r.addEventListener(`error`,(...e)=>n(e)),r.src=e})}},RE=(0,f.defineComponent)({__name:`BaseFileUploadItem`,props:{item:{}},setup(e){let t=e,{isPublic:n,preprocess:r,onError:i,onRemoveFileUploadItem:a,onReplaceFileUploadItem:o,onStartUpload:s,onSuccess:c,onUpdateProgress:l}=rE(),{fileUploadAdapter:u}=rm();if(u.value===null)throw Error(`[BaseFileUpload] No adapter provided. Add an adapter to the ConfigProvider.
580
+ `,`grid w-full gap-xs overflow-hidden text-left duration-100`]),style:(0,f.normalizeStyle)({gridTemplateColumns:a})},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{align:`center`,justify:`center`,class:`h-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(hs,{name:t.name??t.email,src:t.avatarUrl,"is-static-color":!0,size:`xs`},null,8,[`name`,`src`])]),_:1}),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,justify:`between`,align:`center`,gap:`xxs`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,OS,[(0,f.createVNode)((0,f.unref)(G),{text:t.name??`-`,"is-tooltip-disabled":!0,class:`w-full text-xs font-semibold text-primary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)(G),{text:t.email,"is-tooltip-disabled":!0,class:`w-full text-xs text-tertiary`},null,8,[`text`])]),(0,f.createVNode)(q,{align:`start`,class:`h-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(dn),{class:`mt-xxs size-4 shrink-0 text-quaternary`})]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`,`style`])])]),_:1})]),_:1},8,[`actions`]))}}),AS={};function jS(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`)}var MS=ns(AS,[[`render`,jS]]),NS=(0,f.defineComponent)({__name:`MainSidebarGlobalSearch`,emits:[`click`],setup(e,{emit:t}){let n=t,r=(0,g.useI18n)();function i(){n(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Y),{icon:(0,f.unref)(si),label:(0,f.unref)(r).t(`components.sidebar.global_search.label`),variant:`tertiary`,onClick:i},null,8,[`icon`,`label`]))}}),PS=(0,f.defineComponent)({__name:`MainSidebarHeaderContainer`,setup(e){let{sidebarLogoHeight:t}=ES();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({height:(0,f.unref)(t)})},[(0,f.renderSlot)(e.$slots,`default`)],4))}}),FS=[`src`,`alt`],IS=(0,f.defineComponent)({__name:`Logo`,props:{alt:{},size:{},src:{}},setup(e){let t=e,n=(0,f.ref)(!1);return(e,r)=>n.value?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 bg-quaternary`])},null,2)):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:1,src:t.src,alt:t.alt,class:(0,f.normalizeClass)([{"size-12 rounded-2xl":t.size===`lg`,"size-10 rounded-xl":t.size===`md`,"size-8 rounded-lg":t.size===`sm`,"size-6 rounded-md":t.size===`xs`,"size-5 rounded-sm":t.size===`xxs`,"size-3.5 rounded-xs":t.size===`3xs`},`shrink-0 overflow-hidden from-black/20 to-white/10 object-contain dark:bg-primary-solid dark:bg-linear-to-b`]),onError:r[0]||=e=>n.value=!0},null,42,FS))}}),LS={key:0,class:`text-sm font-semibold text-secondary`},RS={key:0},zS=(0,f.defineComponent)({__name:`MainSidebarHeaderLogoWithText`,props:{name:{},url:{}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r,sidebarLogoPadding:i}=ES();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(PS,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{justify:`between`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(i)})},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(IS,{src:t.url,alt:`Logo`,size:`xs`},null,8,[`src`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,LS,(0,f.toDisplayString)(t.name),1)):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(r)!==`minified`||(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,RS,[(0,f.renderSlot)(e.$slots,`right`)])):(0,f.createCommentVNode)(``,!0)]),_:3})]),_:3})]),_:3}))}}),BS={class:`truncate text-xs text-secondary`},VS=(0,f.defineComponent)({__name:`MainSidebarHeaderReturnToApp`,props:{to:{}},setup(e){let t=e,n=(0,g.useI18n)(),{isSidebarOpen:r,closeIfFloatingSidebar:i,collapsedVariant:a,sidebarIconCellSize:o,sidebarIconSize:s}=ES(),c=`${o} 1fr`;return(e,l)=>((0,f.openBlock)(),(0,f.createBlock)(PS,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{class:`w-fit`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{"keyboard-shortcut":{key:`Escape`,mod:!0},label:(0,f.unref)(n).t(`components.sidebar.return_to_app`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:t.to,style:(0,f.normalizeStyle)({height:(0,f.unref)(o),gridTemplateColumns:c}),"aria-label":(0,f.unref)(n).t(`components.sidebar.return_to_app`),class:`grid w-full rounded-md duration-100 hover:bg-secondary-hover`,onClick:l[0]||=e=>(0,f.unref)(i)()},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(hn),{style:(0,f.normalizeStyle)({width:(0,f.unref)(s),height:(0,f.unref)(s)}),class:`shrink-0 text-secondary`},null,8,[`style`])]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(a)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,BS,(0,f.toDisplayString)((0,f.unref)(n).t(`components.sidebar.return_to_app`)),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`to`,`style`,`aria-label`])]),_:1})]),_:1},8,[`label`])]),_:1})]),_:1}))}}),HS={class:`w-full`},US=(0,f.defineComponent)({__name:`MainSidebarNavigationGroup`,props:{label:{default:null}},setup(e){let t=e,{isSidebarOpen:n,collapsedVariant:r}=ES();return(e,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,HS,[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:0,class:(0,f.normalizeClass)([{"opacity-0":(0,f.unref)(r)===`minified`&&!(0,f.unref)(n)},`block px-sm pb-sm text-xs font-medium whitespace-nowrap text-quaternary transition-opacity duration-150 ease-in-out`])},(0,f.toDisplayString)(t.label),3)),(0,f.createVNode)((0,f.unref)(q),{align:`start`,gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]))}}),WS=(0,f.defineComponent)({__name:`MainSidebarNavigationGroups`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`2xl`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),GS=(0,f.defineComponent)({__name:`BadgeSeparator`,setup(e){let{variants:t}=Tb();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs),{class:(0,f.normalizeClass)((0,f.unref)(t).separator()),orientation:`vertical`},null,8,[`class`]))}}),[KS,qS]=z(`MainSidebarNavigationLinkContextKey`),JS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkBadge`,props:{label:{}},setup(e){let t=e,{isActive:n}=qS();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Pb),{label:t.label,color:(0,f.unref)(n)?`brand`:`gray`,size:`sm`},null,8,[`label`,`color`]))}}),YS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkProvider`,props:{isActive:{type:Boolean}},setup(e){let t=e;return KS({isActive:(0,f.computed)(()=>t.isActive)}),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),XS=[`data-active`],ZS={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},QS=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkButton`,props:{isActive:{type:Function,default:()=>!1},isTooltipDisabled:{type:Boolean},icon:{},keyboardShortcut:{default:null},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,y.useRoute)(),{isSidebarOpen:a,collapsedVariant:o,sidebarIconCellSize:s,sidebarIconSize:c,sidebarLinkHeight:l}=ES(),u=`${s} 1fr`;function d(){r(`click`)}return(t,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":e.isTooltipDisabled,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"popover-side":`right`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:d},{default:(0,f.withCtx)(({isActive:e})=>[(0,f.createVNode)(YS,{"is-active":e},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{"data-active":e||n.isActive((0,f.unref)(i))||void 0,style:(0,f.normalizeStyle)({height:(0,f.unref)(l),gridTemplateColumns:u}),class:`group grid rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(s),height:(0,f.unref)(s)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(c),height:(0,f.unref)(c)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(o)!==`minified`||(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,ZS,(0,f.toDisplayString)(n.label),1),(0,f.createVNode)(B,{gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`right`)]),_:3})]),_:3})):(0,f.createCommentVNode)(``,!0)]),_:3})],12,XS)]),_:2},1032,[`is-active`])]),_:3},8,[`to`])]),_:3})]),_:3},8,[`is-disabled`,`keyboard-shortcut`,`label`]))}}),$S={},eC={class:`size-2 rounded-full bg-success-500`};function tC(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,eC)}var nC=ns($S,[[`render`,tC]]),rC=(0,f.defineComponent)({__name:`MainSidebarNavigationSubItemCount`,props:{isActive:{type:Boolean},label:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{class:(0,f.normalizeClass)([t.isActive?`text-brand-secondary`:`text-tertiary`,`text-xxs leading-none tabular-nums`])},(0,f.toDisplayString)(t.label),3))}}),iC=[`data-active`],aC={class:`truncate text-xs whitespace-nowrap text-tertiary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},oC=`1px`,sC=`0.25rem`,cC=(0,f.defineComponent)({__name:`MainSidebarNavigationSubItem`,props:{hasStatusDot:{type:Boolean,default:!1},isIndented:{type:Boolean,default:!0},badge:{default:null},label:{},noIndent:{type:Boolean},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>n.noIndent===!0?!1:n.isIndented),{closeIfFloatingSidebar:a,sidebarIconCellSize:o}=ES(),s=`calc(${o} / 2 - ${sC} - ${oC})`;function c(){a(),r(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(y.RouterLink),{to:n.to,class:`w-full`,onClick:c},{default:(0,f.withCtx)(({isActive:e})=>[(0,f.createElementVNode)(`div`,{"data-active":e||void 0,style:(0,f.normalizeStyle)({paddingLeft:i.value?s:void 0,height:`1.5rem`}),class:(0,f.normalizeClass)([i.value?`pr-md`:`px-sm`,`group flex items-center justify-between gap-md rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`])},[(0,f.createElementVNode)(`span`,aC,(0,f.toDisplayString)(n.label),1),n.badge!=null||n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,gap:`lg`,align:`center`,class:`shrink-0`},{default:(0,f.withCtx)(()=>[n.badge==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(rC,{key:0,"is-active":e,label:n.badge.label},null,8,[`is-active`,`label`])),n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(nC,{key:1})):(0,f.createCommentVNode)(``,!0)]),_:2},1024)):(0,f.createCommentVNode)(``,!0)],14,iC)]),_:1},8,[`to`])]),_:1}))}}),lC={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary`},uC=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkCollapsible`,props:{isSubItemsActive:{type:Boolean},isTooltipDisabled:{type:Boolean},icon:{},keyboardShortcut:{},label:{},subItems:{}},setup(e){let t=e,n=(0,f.ref)(!0),{isSidebarOpen:r,collapsedVariant:i,sidebarIconCellSize:a,sidebarIconSize:o,sidebarLinkHeight:s}=ES();(0,f.watch)(()=>t.isSubItemsActive,e=>{e&&(n.value=!0)});let c=`${a} 1fr`;return(l,u)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{open:n.value,"onUpdate:open":u[1]||=e=>n.value=e,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{"is-disabled":e.isTooltipDisabled,"keyboard-shortcut":t.keyboardShortcut,label:t.label,"popover-side":`right`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(YS,{"is-active":e.isSubItemsActive},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{style:(0,f.normalizeStyle)({height:(0,f.unref)(s),gridTemplateColumns:c}),type:`button`,class:`group grid w-full rounded-md duration-100 hover:bg-fg-primary/4`,onClick:u[0]||=e=>n.value=!n.value},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(a),height:(0,f.unref)(a)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),class:`shrink-0 text-fg-quaternary duration-100`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(i)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,lC,(0,f.toDisplayString)(t.label),1),(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"rotate-180":n.value},`size-3.5 shrink-0 text-fg-quaternary duration-150`])},null,8,[`class`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})],4)]),_:1},8,[`is-active`])]),_:1})]),_:1},8,[`is-disabled`,`keyboard-shortcut`,`label`]),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{class:`overflow-hidden data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({marginLeft:`calc(${(0,f.unref)(a)} / 2)`}),class:`mt-xs flex flex-col gap-xs border-l border-secondary pl-xs`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.subItems,e=>((0,f.openBlock)(),(0,f.createBlock)(cC,{key:e.label,badge:e.badge,"has-status-dot":e.hasStatusDot,label:e.label,to:e.to},null,8,[`badge`,`has-status-dot`,`label`,`to`]))),128))],4)]),_:1})]),_:1},8,[`open`]))}}),dC=[`data-active`],fC={class:`truncate text-xs font-medium whitespace-nowrap text-secondary duration-100 group-hover:text-primary group-data-active:text-brand-secondary`},pC={class:`relative overflow-hidden rounded-md border border-secondary bg-primary shadow-lg`},mC={class:`flex min-w-36 flex-col gap-xs p-xs`},hC=(0,f.defineComponent)({__name:`MainSidebarNavigationLinkPopover`,props:(0,f.mergeModels)({isSubItemsActive:{type:Boolean},icon:{},label:{},subItems:{}},{isPopoverOpen:{type:Boolean,default:!1},isPopoverOpenModifiers:{}}),emits:[`update:isPopoverOpen`],setup(e){let t=e,n=(0,f.useModel)(e,`isPopoverOpen`),{isSidebarOpen:r,collapsedVariant:i,sidebarIconCellSize:a,sidebarIconSize:o,sidebarLinkHeight:s}=ES(),c=`${a} 1fr`;function l(){n.value=!n.value}return(u,d)=>((0,f.openBlock)(),(0,f.createBlock)(YS,{"is-active":e.isSubItemsActive},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardRoot),{open:n.value,"onUpdate:open":d[4]||=e=>n.value=e,"open-delay":150,"close-delay":150},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{"data-active":e.isSubItemsActive||void 0,style:(0,f.normalizeStyle)({height:(0,f.unref)(s),gridTemplateColumns:c}),type:`button`,class:`group grid w-full rounded-md duration-100 hover:bg-fg-primary/4 data-active:bg-fg-primary/4`,onClick:d[0]||=e=>l(),onKeydown:[d[1]||=(0,f.withKeys)((0,f.withModifiers)(e=>l(),[`prevent`]),[`enter`]),d[2]||=(0,f.withKeys)((0,f.withModifiers)(e=>l(),[`prevent`]),[`space`])]},[(0,f.createVNode)(B,{style:(0,f.normalizeStyle)({width:(0,f.unref)(a),height:(0,f.unref)(a)}),align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{style:(0,f.normalizeStyle)({width:(0,f.unref)(o),height:(0,f.unref)(o)}),class:`shrink-0 text-fg-quaternary duration-100 group-data-active:text-fg-brand-primary dark:group-data-active:text-fg-primary`},null,8,[`style`]))]),_:1},8,[`style`]),(0,f.createVNode)(pS,null,{default:(0,f.withCtx)(()=>[(0,f.unref)(i)!==`minified`||(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(B,{key:0,align:`center`,justify:`between`,gap:`md`,class:`overflow-hidden pr-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,fC,(0,f.toDisplayString)(t.label),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})],44,dC)]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.HoverCardPortal),{to:`body`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.HoverCardContent),{"side-offset":4,align:`start`,"data-animation":`sidebar-hover-card`,side:`right`,"position-strategy":`absolute`,sticky:`always`,class:`z-50 origin-(--reka-hover-card-content-transform-origin) will-change-[transform,opacity]`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,pC,[(0,f.createElementVNode)(`div`,mC,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.subItems,e=>((0,f.openBlock)(),(0,f.createBlock)(cC,{key:e.label,badge:e.badge,"has-status-dot":e.hasStatusDot,label:e.label,to:e.to,"is-indented":!1,onClick:d[3]||=e=>n.value=!1},null,8,[`badge`,`has-status-dot`,`label`,`to`]))),128))])])]),_:1})]),_:1})]),_:1})]),_:1},8,[`open`])]),_:1},8,[`is-active`]))}}),gC=(0,f.defineComponent)({__name:`MainSidebarNavigationLink`,props:(0,f.mergeModels)({to:{},type:{default:`link`},hasStatusDot:{type:Boolean},isActive:{type:Function,default:()=>!1},badge:{},icon:{},label:{},onClick:{},keyboardShortcut:{default:null},subItems:{}},{isPopoverOpen:{type:Boolean,default:!1},isPopoverOpenModifiers:{}}),emits:(0,f.mergeModels)([`click`],[`update:isPopoverOpen`]),setup(e,{emit:t}){let n=e,r=t,{isSidebarOpen:i,closeIfFloatingSidebar:a,collapsedVariant:o}=ES(),s=(0,y.useRoute)(),c=(0,y.useRouter)(),l=(0,f.computed)(()=>n.type===`sub-items`),u=(0,f.computed)(()=>v(n)?n:null),d=(0,f.computed)(()=>v(n)?null:n),p=(0,f.computed)(()=>l.value&&!i.value),m=(0,f.computed)(()=>n.isActive?.(s)?!0:u.value?.subItems.some(e=>{let t=c.resolve(e.to);return t.name!=null&&t.name===s.name?!0:t.path!==`/`&&s.path.startsWith(t.path)})??!1),h=(0,f.useModel)(e,`isPopoverOpen`),g=(0,f.computed)(()=>!!(p.value||o.value===`hidden`&&n.keyboardShortcut===null||o.value===`minified`&&i.value&&n.keyboardShortcut===null));function _(){a(),r(`click`)}function v(e){return e.type===`sub-items`}return(0,f.onMounted)(()=>{!v(n)&&`subItems`in n&&n.subItems!=null&&console.warn("[MainSidebarNavigationLink] Received `subItems` but `type` is missing or set to 'link'. Set `type: 'sub-items'` to render this item as an expandable group.")}),(e,t)=>p.value&&u.value!==null?((0,f.openBlock)(),(0,f.createBlock)(hC,{key:0,"is-popover-open":h.value,"onUpdate:isPopoverOpen":t[0]||=e=>h.value=e,icon:n.icon,"is-sub-items-active":m.value,label:n.label,"sub-items":u.value.subItems},null,8,[`is-popover-open`,`icon`,`is-sub-items-active`,`label`,`sub-items`])):l.value&&u.value!==null?((0,f.openBlock)(),(0,f.createBlock)(uC,{key:1,icon:n.icon,"is-sub-items-active":m.value,"is-tooltip-disabled":g.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,"sub-items":u.value.subItems},null,8,[`icon`,`is-sub-items-active`,`is-tooltip-disabled`,`keyboard-shortcut`,`label`,`sub-items`])):d.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(QS,{key:2,icon:n.icon,"is-active":n.isActive,"is-tooltip-disabled":g.value,"keyboard-shortcut":n.keyboardShortcut,label:n.label,to:d.value.to,onClick:_},{right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`,{},()=>[n.badge==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(JS,{key:0,label:n.badge.label},null,8,[`label`])),n.hasStatusDot?((0,f.openBlock)(),(0,f.createBlock)(nC,{key:1})):(0,f.createCommentVNode)(``,!0)])]),_:3},8,[`icon`,`is-active`,`is-tooltip-disabled`,`keyboard-shortcut`,`label`,`to`]))}}),[_C,vC]=z(`mainLayoutContext`);function yC(){return vC(null)??{isBrandedActive:(0,f.computed)(()=>!1),variant:(0,f.computed)(()=>`default`)}}var bC={class:`flex h-full flex-col justify-between overflow-hidden text-primary`},xC=(0,f.defineComponent)({__name:`MainSidebarContent`,setup(e){let{sidebarContainerPadding:t}=ES();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,bC,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({paddingLeft:(0,f.unref)(t),paddingRight:(0,f.unref)(t),paddingBottom:(0,f.unref)(t)})},[(0,f.renderSlot)(e.$slots,`header`)],4),(0,f.createElementVNode)(`nav`,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(t)}),class:`flex h-full flex-col justify-between gap-2xl overflow-x-hidden overflow-y-auto`},[(0,f.renderSlot)(e.$slots,`navigation`),(0,f.renderSlot)(e.$slots,`bottom-navigation`)],4),(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({padding:(0,f.unref)(t)}),class:`flex flex-col gap-sm`},[(0,f.renderSlot)(e.$slots,`footer`)],4)]))}}),SC=(0,f.defineComponent)({__name:`MainSidebarTransition`,setup(e){let t=im();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{transform:`translateX(-100%)`},animate:{transform:`translateX(0%)`},exit:{transform:`translateX(-100%)`},transition:{duration:(0,f.unref)(t)?0:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`transition`]))}}),CC=(0,f.defineComponent)({__name:`MainSidebar`,props:{collapsedVariant:{default:`hidden`}},setup(e){let t=e,{isFloatingSidebar:n,isSidebarOpen:r,setCollapsedVariant:i,sidebarWidth:a}=ES(),o=(0,g.useI18n)(),s=im(),{isBrandedActive:c}=yC(),l=(0,f.computed)(()=>c.value?[`default`,`branded`]:null);return i(t.collapsedVariant),(t,i)=>(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogRoot),{key:0,open:(0,f.unref)(r),"onUpdate:open":i[0]||=e=>(0,f.isRef)(r)?r.value=e:null},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogContent),{key:0,"as-child":!0,"force-mount":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(SC,{class:`absolute z-6 h-full w-64 p-md outline-none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full rounded-xl border border-secondary bg-secondary py-md shadow-lg/5`])},[(0,f.createVNode)((0,f.unref)(h.DialogTitle),{as:`h1`,class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(o).t(`components.sidebar.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.DialogDescription),{class:`sr-only`,as:`p`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(o).t(`components.sidebar.description`)),1)]),_:1}),(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3})]),_:3})):(0,f.createCommentVNode)(``,!0),(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogOverlay),{key:1,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:(0,f.unref)(s)?0:.3},class:`absolute inset-0 z-5 bg-black/10`},null,8,[`transition`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:3})]),_:3},8,[`open`])):e.collapsedVariant===`hidden`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{key:1,initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(SC,{key:0,style:(0,f.normalizeStyle)({width:(0,f.unref)(a)}),class:`absolute h-full pt-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full`])},[(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3},8,[`style`])):(0,f.createCommentVNode)(``,!0)]),_:3})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:2,initial:!1,animate:{width:(0,f.unref)(a)},transition:{duration:(0,f.unref)(s)?0:.3,type:`spring`,bounce:0},style:(0,f.normalizeStyle)({width:(0,f.unref)(a)}),class:`absolute z-1 h-full overflow-hidden pt-[0.475rem]`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`size-full`])},[(0,f.createVNode)(xC,null,{header:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`header`)]),navigation:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`navigation`)]),"bottom-navigation":(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`bottom-navigation`)]),footer:(0,f.withCtx)(()=>[(0,f.renderSlot)(t.$slots,`footer`)]),_:3})],2)]),_:3},8,[`animate`,`transition`,`style`]))}}),wC=(0,f.defineComponent)({__name:`TextShimmer`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:`animate-shimmer bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)] bg-size-[300%_100%] bg-clip-text! text-transparent dark:bg-[linear-gradient(110deg,var(--text-disabled)_40%,var(--text-primary)_50%,var(--text-disabled)_60%)]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),TC={class:`size-full p-md pl-none`},EC={class:`size-full rounded-2xl border border-secondary bg-primary shadow-sm/5`},DC={class:`text-sm font-medium`},OC=(0,f.defineComponent)({__name:`ApplicationLoadingView`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,y.useRouter)(),{isFloatingSidebar:i,isSidebarOpen:a,sidebarWidth:o}=ES(),s=(0,f.ref)(!0),c=(0,f.ref)(!1),l=im();r.isReady().then(()=>{s.value=!1});let u=(0,f.computed)(()=>t.isFetchingAuthUser||s.value);return setTimeout(()=>{c.value=!0},500),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,exit:{opacity:0},transition:{duration:(0,f.unref)(l)?0:.2},style:(0,f.normalizeStyle)({paddingLeft:(0,f.unref)(a)&&!(0,f.unref)(i)?(0,f.unref)(o):`0.5rem`}),class:`absolute inset-0 z-99 size-full bg-secondary`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,TC,[(0,f.createElementVNode)(`div`,EC,[c.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{key:0,class:`size-full`,align:`center`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(wC),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`h1`,DC,(0,f.toDisplayString)((0,f.unref)(n).t(`component.dashboard_page_loading_state.loading`)),1)]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)])])]),_:1},8,[`transition`,`style`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),kC={class:`rounded-2xl border border-secondary bg-secondary px-lg py-sm shadow-lg duration-200 ease-in-out group-hover:translate-y-0.5 group-hover:scale-102`},AC={class:`grid grid-cols-[auto_auto] items-center gap-x-md gap-y-none`},jC={class:`flex`},MC=(0,f.defineComponent)({__name:`ApplicationOfflineWarning`,setup(e){let t=(0,g.useI18n)(),{isOnline:n}=(0,m.useNetwork)(),r=(0,f.ref)(!1),i=(0,f.computed)(()=>!n.value);function a(){r.value=!0}(0,f.watch)(i,e=>{e&&(r.value=!1)});let o=im();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[i.value&&!r.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-40},"as-child":!0,transition:{type:`spring`,bounce:0,duration:(0,f.unref)(o)?0:.3},"while-hover":`hovered`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{class:`group absolute top-4 left-1/2 z-10 -translate-x-1/2`,onClick:a},[(0,f.createElementVNode)(`div`,kC,[(0,f.createElementVNode)(`div`,AC,[(0,f.createVNode)((0,f.unref)(ji),{class:`size-3 text-tertiary`}),(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.offline_warning.title`),class:`text-xs text-primary`},null,8,[`text`]),n[0]||=(0,f.createElementVNode)(`span`,null,null,-1),(0,f.createVNode)((0,f.unref)(_.Motion),{variants:{hovered:{height:`auto`,opacity:1,y:0}},initial:{height:`0px`,y:-8,opacity:0},transition:{type:`spring`,bounce:0,duration:.3},class:`will-change-transform`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,jC,[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.offline_warning.dismiss`),class:`text-xs text-disabled`},null,8,[`text`])])]),_:1})])])])]),_:1})]),_:1},8,[`transition`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),NC={href:`#main-content`,class:`absolute top-2 left-2 z-99 rounded-sm bg-primary p-xs text-sm text-primary not-focus-visible:sr-only`},PC=(0,f.defineComponent)({__name:`ApplicationSkipToMainContent`,setup(e){let t=(0,g.useI18n)();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`a`,NC,(0,f.toDisplayString)((0,f.unref)(t).t(`component.skip_to_main_content_link.label`)),1)]),_:1}))}}),FC={class:`flex items-center gap-x-xs`},IC={key:0,class:`flex items-center gap-x-xs text-disabled`},LC={class:`text-secondary`},RC={key:2,class:`text-disabled`},zC=(0,f.defineComponent)({__name:`CommandMenuActionItem`,props:{action:{},ctx:{}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>(0,p.resolveActionBreadcrumbs)(n.action,n.ctx)),a=(0,f.computed)(()=>i.value.length===0?null:n.action.icon===void 0?i.value[0]?.icon??null:n.action.icon(n.ctx));return(t,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxItem),{value:e.action.id,"data-id":e.action.id,class:`flex cursor-default items-center justify-between rounded-md px-lg py-md text-xs`,"data-item":``,onSelect:n[0]||=e=>r(`select`)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,FC,[i.value.length>0?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,IC,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:t,gap:`xs`},{default:(0,f.withCtx)(()=>[a.value!==null&&t===0?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(a.value),{key:0,class:`size-3.5 text-tertiary`})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`span`,null,(0,f.toDisplayString)(e.label),1),(0,f.createVNode)((0,f.unref)(yn),{class:`size-3 text-tertiary`})]),_:2},1024))),128))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(B),{gap:`sm`},{default:(0,f.withCtx)(()=>[(0,f.unref)(p.resolveActionAvatar)(e.action,e.ctx)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),(0,f.mergeProps)({key:0},(0,f.unref)(p.resolveActionAvatar)(e.action,e.ctx),{size:`xxs`}),null,16)),e.action.icon!==void 0&&i.value.length===0?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.action.icon(e.ctx)),{key:1,class:`size-3.5 text-secondary`})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`span`,LC,(0,f.toDisplayString)((0,f.unref)(p.resolveActionName)(e.action,e.ctx)),1),(0,f.unref)(p.resolveActionHint)(e.action,e.ctx)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,RC,(0,f.toDisplayString)((0,f.unref)(p.resolveActionHint)(e.action,e.ctx)),1)):(0,f.createCommentVNode)(``,!0)]),_:1})]),(0,f.unref)(p.resolveActionSelected)(e.action,e.ctx)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(sn),{key:0,class:`size-3 text-primary`})):(0,f.createCommentVNode)(``,!0),e.action.keyboardShortcut===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(sa),{key:1,"keyboard-shortcut":e.action.keyboardShortcut},null,8,[`keyboard-shortcut`]))]),_:1},8,[`value`,`data-id`]))}}),BC={class:`p-lg`,role:`status`,"aria-live":`polite`},VC={class:`sr-only`},HC=(0,f.defineComponent)({__name:`CommandMenuLoadingSkeleton`,setup(e){let t=(0,g.useI18n)();return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,BC,[(0,f.createElementVNode)(`span`,VC,(0,f.toDisplayString)((0,f.unref)(t).t(`component.command_menu.loading_actions`)),1),(0,f.createVNode)((0,f.unref)(q),{gap:`4xl`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(2,e=>(0,f.createElementVNode)(`div`,{key:e},[(0,f.createVNode)((0,f.unref)(J),{class:`h-2 w-20`}),(0,f.createVNode)((0,f.unref)(q),{class:`mt-xl`,gap:`lg`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-40`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-24`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-48`}),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-40`})]),_:1})])),64))]),_:1})]))}}),UC={class:`relative flex items-center`},WC={class:`text-xxs text-tertiary`},GC={class:`text-xxs text-disabled`},KC={key:0,class:`h-full border-l border-secondary p-xl`},qC=ns((0,f.defineComponent)({__name:`CommandMenu`,props:(0,f.mergeModels)({action:{}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,f.mergeModels)([`afterLeave`,`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`isOpen`),a=(0,p.useActionManagerStore)(),o=(0,p.useActionRegistryStore)().allActions(),s=a.focusedModels,c=(0,g.useI18n)(),l=(0,f.useTemplateRef)(`listboxRoot`),u=(0,f.useTemplateRef)(`listboxContent`),d=gt(`Shift`),_=(0,f.ref)([]),v=(0,f.ref)(``),y=(0,m.useLocalStorage)(`command-menu-grouping-disabled`,!1),{isLoadingActions:b,buildContext:x,refreshActions:S,resolvedActions:C,subActionsMetaMap:w}=(0,p.useCommandMenuActions)({isGroupingDisabled:(0,f.computed)(()=>y.value),actionsSnapshot:o,focusedModelsSnapshot:s,listboxContentRef:u,listboxRootRef:l,manager:a,navStack:_,searchInput:v}),{highlightedActionId:T,activateAction:E,breadcrumbs:D,currentParent:O,emptyStateMessage:ee,placeholder:k,preview:A,onKeyDown:j}=(0,p.useCommandMenuNavigation)({isShiftKeyHeld:d,buildContext:x,emit:r,listboxRootRef:l,manager:a,navStack:_,refreshActions:S,resolvedActions:C,scrollToTopOfGroup:re,searchInput:v,subActionsMetaMap:w}),{hasNavigated:te,isBouncing:M}=(0,p.useCommandMenuAnimation)(i,()=>_.value.length),ne=(0,f.computed)(()=>y.value?[{category:null,icon:null,items:C.value,key:`flat`,label:`Results`,showIfOnlyGroup:!0}]:(0,p.buildCommandMenuGroups)(C.value,x()));n.action!==void 0&&E(n.action),S();function re(){let e=l.value?.highlightedElement?.getAttribute(`data-id`)??null;if(e===null)return;let t=u.value?.$el;if(t===void 0)return;let n=t.querySelector(`[data-id="${CSS.escape(e)}"]`);if(n===null)return;let r=t.getBoundingClientRect(),i=n.closest(`[role="group"]`);if(i===null||i.querySelector(`[data-id]`)!==n)return;let a=i.getBoundingClientRect().top-r.top+t.scrollTop;a<t.scrollTop&&t.scrollTo({behavior:`instant`,top:a})}function ie(e){e||r(`close`)}function N(e){if(e.key===`Tab`){e.preventDefault(),y.value=!y.value;return}j(e)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DialogRoot),{open:i.value,"onUpdate:open":[t[3]||=e=>i.value=e,ie]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DialogContent),{class:(0,f.normalizeClass)([{bouncing:(0,f.unref)(M),navigated:(0,f.unref)(te)},`absolute top-28 left-1/2 z-99 w-full max-w-180 -translate-x-1/2 rounded-xl border border-transparent bg-primary shadow-lg duration-200 outline-none dark:border-secondary`]),"data-command-menu":``,onAfterLeave:t[2]||=e=>r(`afterLeave`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DialogTitle),{class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.DialogDescription),{class:`sr-only`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(c).t(`component.command_menu.title`)),1)]),_:1}),(0,f.createVNode)((0,f.unref)(h.ListboxRoot),{ref:`listboxRoot`,"highlight-on-hover":!0,class:`flex flex-col overflow-hidden`,onHighlight:t[1]||=e=>T.value=e?.value??null},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,UC,[(0,f.unref)(D).length>0&&(0,f.unref)(O)?.forceAsRootMenu!==!0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,as:`ul`,gap:`xs`,class:`-mr-sm pl-lg`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(D),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:t},[(0,f.createVNode)((0,f.unref)(Pb),{label:e,size:`sm`},null,8,[`label`]),t===(0,f.unref)(D).length-1?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(yn),{key:0,class:`size-3 text-tertiary`}))],64))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.ListboxFilter),{modelValue:v.value,"onUpdate:modelValue":t[0]||=e=>v.value=e,placeholder:(0,f.unref)(k),class:`block w-full p-lg text-xs text-secondary outline-none`,onKeydown:N},null,8,[`modelValue`,`placeholder`])]),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"grid-cols-2":(0,f.unref)(A)!==null},`grid border-t border-secondary`])},[((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxContent),{key:(0,f.unref)(C).map(e=>e.id).join(``),ref:`listboxContent`,class:`max-h-96 scroll-p-1 overflow-y-auto outline-none select-none`,"data-content":``},{default:(0,f.withCtx)(()=>[(0,f.unref)(C).length>0?((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:0},(0,f.renderList)(ne.value,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxGroup),{key:e.key,class:`p-xs`},{default:(0,f.withCtx)(()=>[e.label!==null&&(e.showIfOnlyGroup||(0,f.unref)(O)===null||ne.value.length>1)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.ListboxGroupLabel),{key:0,class:`px-md py-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[e.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.icon),{key:0,class:`size-3 text-disabled`})),e.category===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createElementVNode)(`span`,WC,(0,f.toDisplayString)(e.category),1),t[4]||=(0,f.createElementVNode)(`span`,{class:`text-xxs text-tertiary`},`•`,-1)],64)),(0,f.createElementVNode)(`span`,GC,(0,f.toDisplayString)(e.label),1)]),_:2},1024)]),_:2},1024)):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(zC,{key:e.id,action:e,ctx:(0,f.unref)(x)(),onSelect:t=>(0,f.unref)(E)(e)},null,8,[`action`,`ctx`,`onSelect`]))),128))]),_:2},1024))),128)):(0,f.unref)(b)?((0,f.openBlock)(),(0,f.createBlock)(HC,{key:1})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:2,text:(0,f.unref)(ee)??(v.value.trim().length>0?(0,f.unref)(c).t(`component.command_menu.no_results`,{query:v.value}):(0,f.unref)(c).t(`component.command_menu.no_actions`)),class:`flex p-lg text-xs text-tertiary`},null,8,[`text`]))]),_:1})),(0,f.unref)(A)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,KC,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)((0,f.unref)(A))))]))],2)]),_:1},512)]),_:1},8,[`class`]),(0,f.createVNode)((0,f.unref)(h.DialogOverlay),{class:`absolute inset-0 z-39 bg-black/5 dark:bg-black/20`,"data-overlay":``})]),_:1},8,[`open`]))}}),[[`__scopeId`,`data-v-4336e3f4`]]);function JC(){let e=(0,g.useI18n)(),t=QC(),n=t.create(qC);return(0,p.createAction)({id:`command-menu`,isApplicable:e=>e.menuType===void 0,name:()=>e.t(`action.global.open_command_menu.name`),availableWhenUnauthenticated:!0,execute:()=>{t.isOpen(n.id)?n.close():n.open()},keyboardShortcut:{key:`K`,mod:!0,runWithInputFocus:!0}})}var YC=(0,f.defineComponent)({__name:`DialogBody`,setup(e){let{bodyRef:t,style:n}=Dy();function r(e){t.value=e??null}return(0,f.onBeforeUnmount)(()=>{t.value=null}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{ref:r,class:(0,f.normalizeClass)((0,f.unref)(n).body()),"data-dialog-body":``},[(0,f.renderSlot)(e.$slots,`default`)],2))}});function XC(){let e=(0,f.shallowRef)(null);function t(t){e.value=t}function n(){e.value=null}return{chin:e,close:n,open:t}}function ZC(){let e=(0,f.shallowReactive)([]),t=(t,i)=>{let{defaultOpen:a,destroyOnClose:s,props:c}=i||{},l=(0,f.reactive)({id:Symbol(`useOverlay`),isMounted:!!a,isOpen:!!a,destroyOnClose:!!s,originalProps:c||{},props:{...c},component:(0,f.markRaw)(t)});return e.push(l),{...l,close:e=>r(l.id,e),open:e=>n(l.id,e),patch:e=>o(l.id,e)}},n=(e,t)=>{let n=s(e);t?n.props={...n.originalProps,...t}:n.props={...n.originalProps},n.isOpen=!0,n.isMounted=!0;let r=new Promise(e=>n.resolvePromise=e);return Object.assign(r,{id:e,isMounted:n.isMounted,isOpen:n.isOpen,result:r})},r=(e,t)=>{let n=s(e);n.isOpen=!1,n.resolvePromise&&=(n.resolvePromise(t),void 0)},i=()=>{for(let t of e)r(t.id)},a=t=>{let n=s(t);if(n.isMounted=!1,n.destroyOnClose){let n=e.findIndex(e=>e.id===t);e.splice(n,1)}},o=(e,t)=>{let n=s(e);n.props={...n.props,...t}},s=t=>{let n=e.find(e=>e.id===t);if(!n)throw Error(`Overlay not found`);return n};return{isOpen:e=>s(e).isOpen,close:r,closeAll:i,create:t,open:n,overlays:e,patch:o,unmount:a}}var QC=(0,m.createSharedComposable)(ZC),$C=(0,f.defineComponent)({__name:`DialogContainer`,setup(e){let{close:t,overlays:n,unmount:r}=QC();function i(e,n){t(e,n)}function a(e){r(e)}return(e,t)=>((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(n),e=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e.id},[e.isMounted?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.component),(0,f.mergeProps)({key:0,ref_for:!0},e.props,{"is-open":e.isOpen,"onUpdate:isOpen":t=>e.isOpen=t,onClose:t=>i(e.id,t),onAfterLeave:t=>a(e.id)}),null,16,[`is-open`,`onUpdate:isOpen`,`onClose`,`onAfterLeave`])):(0,f.createCommentVNode)(``,!0)],64))),128))}}),ew=(0,f.defineComponent)({__name:`DialogFooterSecondary`,props:{isAutoFocusDisabled:{type:Boolean},isDestructive:{type:Boolean},disableAutoFocus:{type:Boolean},disabledReason:{default:null},form:{default:null},iconLeft:{default:null},iconRight:{default:null},isDisabled:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},label:{},type:{default:`button`}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)($v,(0,f.mergeProps)(n,{variant:`secondary`,onClick:t[0]||=e=>r(`click`)}),null,16))}}),tw=(0,f.defineComponent)({__name:`DialogFooterSubmit`,props:{isDestructive:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},label:{}},setup(e){let t=e,{form:n}=vy();return ct(`Mod+Enter`,()=>{n.submit()}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($v),{label:t.label,"is-loading":(0,f.unref)(n).isSubmitting.value,"is-disabled":t.isDisabled,"keyboard-shortcut":{key:`Enter`,mod:!0},variant:t.isDestructive?`destructive-primary`:`primary`,onClick:(0,f.unref)(n).submit},null,8,[`label`,`is-loading`,`is-disabled`,`variant`,`onClick`]))}});function nw(e){let t=QC();return{triggerProps:(0,f.computed)(()=>{let n=t.overlays.find(t=>t.id===e)?.isOpen??!1;return{"aria-expanded":n,"aria-haspopup":`dialog`,"data-state":n?`open`:`closed`}})}}var[rw,iw]=z(`formDialogContext`),aw=(0,f.defineComponent)({__name:`FormDialog`,props:(0,f.mergeModels)({hasOwnFormComponent:{type:Boolean,default:!1},isUnsavedChangesPromptEnabled:{type:Boolean,default:!0},form:{},promptOnUnsavedChanges:{type:Boolean,default:!0},renderOwnFormComponent:{type:Boolean,default:!1},unsavedChangesText:{default:null},hasCloseButton:{type:Boolean,default:!0},isClickOutsideDisabled:{type:Boolean,default:!1},isEscDisabled:{type:Boolean,default:!1},chin:{},presentation:{default:`dialog`},preventClickOutside:{type:Boolean},preventEsc:{type:Boolean},showCloseButton:{type:Boolean},size:{default:`md`}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:(0,f.mergeModels)([`close`],[`update:isOpen`]),setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.useModel)(e,`isOpen`),o=(0,f.useId)(),s=XC(),c=0;rw({formId:o,form:n.form});let l=(0,f.computed)(()=>s.chin.value??n.chin??null),u=(0,f.computed)(()=>n.promptOnUnsavedChanges===!0?n.isUnsavedChangesPromptEnabled:!1),d=(0,f.computed)(()=>n.hasOwnFormComponent||n.renderOwnFormComponent),p=(0,f.computed)({get:()=>a.value,set:e=>{if(e){a.value=!0;return}if(u.value&&n.form.isDirty.value){v();return}m(),a.value=!1,r(`close`)}});function m(){s.close()}function h(){return c+=1,c}function _(e){return{icon:wt,primaryAction:{action:()=>{m(),a.value=!1,r(`close`)},label:i.t(`component.unsaved_changes_dialog.confirm`),type:`button`,variant:`destructive`},pulseKey:e,secondaryAction:{action:m,label:i.t(`component.unsaved_changes_dialog.cancel`),type:`button`,variant:`default`},text:n.unsavedChangesText??i.t(`component.form_dialog.unsaved_changes`),variant:`error`}}function v(){if(s.chin.value!==null){s.open(_(h()));return}s.open(_())}function y(e){if(!(n.isEscDisabled||!u.value||!n.form.isDirty.value)){if(e.preventDefault(),s.chin.value!==null){m(),a.value=!1,r(`close`);return}v()}}return(0,f.watch)(()=>n.form.state.value,()=>{s.chin.value!==null&&m()},{deep:!0}),(0,f.watch)(()=>a.value,e=>{e||m()}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(Vy,{"is-open":p.value,"onUpdate:isOpen":t[0]||=e=>p.value=e,chin:l.value,"has-close-button":n.hasCloseButton,presentation:n.presentation,size:n.size,"is-click-outside-disabled":n.isClickOutsideDisabled,"is-esc-disabled":n.isEscDisabled,onEscapeKeyDown:y},{default:(0,f.withCtx)(()=>[d.value?(0,f.renderSlot)(e.$slots,`default`,{key:0,formId:(0,f.unref)(o)}):((0,f.openBlock)(),(0,f.createBlock)(Xy,{key:1,form:n.form,"is-unsaved-changes-prompt-enabled":!1,class:`flex size-full flex-col overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{formId:(0,f.unref)(o)})]),_:3},8,[`form`]))]),_:3},8,[`is-open`,`chin`,`has-close-button`,`presentation`,`size`,`is-click-outside-disabled`,`is-esc-disabled`]))}}),ow=(0,f.defineComponent)({__name:`FormDialogForm`,setup(e){let t=iw();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Xy),{id:(0,f.unref)(t).formId,form:(0,f.unref)(t).form,"is-unsaved-changes-prompt-enabled":!1},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{formId:(0,f.unref)(t).formId})]),_:3},8,[`id`,`form`]))}}),sw={withStackTrace:!1},cw=(e,t,n=sw)=>({data:t.isOk()?{type:`Ok`,value:t.value}:{type:`Err`,value:t.error},message:e,stack:n.withStackTrace?Error().stack:void 0});function lw(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})}function uw(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function dw(e){return this instanceof dw?(this.v=e,this):new dw(e)}function fw(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof dw?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function pw(e){var t,n;return t={},r(`next`),r(`throw`,function(e){throw e}),r(`return`),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:dw(e[r](t)),done:!1}:i?i(t):t}:i}}function mw(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof uw==`function`?uw(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}}var hw=class e{constructor(e){this._promise=e}static fromSafePromise(t){return new e(t.then(e=>new ww(e)))}static fromPromise(t,n){return new e(t.then(e=>new ww(e)).catch(e=>new Tw(n(e))))}static fromThrowable(t,n){return(...r)=>new e(lw(this,void 0,void 0,function*(){try{return new ww(yield t(...r))}catch(e){return new Tw(n?n(e):e)}}))}static combine(e){return vw(e)}static combineWithAllErrors(e){return bw(e)}map(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isErr()?new Tw(e.error):new ww(yield t(e.value))})))}andThrough(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isErr())return new Tw(e.error);let n=yield t(e.value);return n.isErr()?new Tw(n.error):new ww(e.value)})))}andTee(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isErr())return new Tw(e.error);try{yield t(e.value)}catch{}return new ww(e.value)})))}orTee(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){if(e.isOk())return new ww(e.value);try{yield t(e.error)}catch{}return new Tw(e.error)})))}mapErr(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isOk()?new ww(e.value):new Tw(yield t(e.error))})))}andThen(t){return new e(this._promise.then(n=>{if(n.isErr())return new Tw(n.error);let r=t(n.value);return r instanceof e?r._promise:r}))}orElse(t){return new e(this._promise.then(e=>lw(this,void 0,void 0,function*(){return e.isErr()?t(e.error):new ww(e.value)})))}match(e,t){return this._promise.then(n=>n.match(e,t))}unwrapOr(e){return this._promise.then(t=>t.unwrapOr(e))}safeUnwrap(){return fw(this,arguments,function*(){return yield dw(yield dw(yield*pw(mw(yield dw(this._promise.then(e=>e.safeUnwrap()))))))})}then(e,t){return this._promise.then(e,t)}[Symbol.asyncIterator](){return fw(this,arguments,function*(){let e=yield dw(this._promise);return e.isErr()&&(yield yield dw(gw(e.error))),yield dw(e.value)})}};function gw(e){return new hw(Promise.resolve(new Tw(e)))}hw.fromPromise,hw.fromSafePromise,hw.fromThrowable;var _w=e=>{let t=Sw([]);for(let n of e)if(n.isErr()){t=Cw(n.error);break}else t.map(e=>e.push(n.value));return t},vw=e=>hw.fromSafePromise(Promise.all(e)).andThen(_w),yw=e=>{let t=Sw([]);for(let n of e)n.isErr()&&t.isErr()?t.error.push(n.error):n.isErr()&&t.isOk()?t=Cw([n.error]):n.isOk()&&t.isOk()&&t.value.push(n.value);return t},bw=e=>hw.fromSafePromise(Promise.all(e)).andThen(yw),xw;(function(e){function t(e,t){return(...n)=>{try{return Sw(e(...n))}catch(e){return Cw(t?t(e):e)}}}e.fromThrowable=t;function n(e){return _w(e)}e.combine=n;function r(e){return yw(e)}e.combineWithAllErrors=r})(xw||={});function Sw(e){return new ww(e)}function Cw(e){return new Tw(e)}var ww=class{constructor(e){this.value=e}isOk(){return!0}isErr(){return!this.isOk()}map(e){return Sw(e(this.value))}mapErr(e){return Sw(this.value)}andThen(e){return e(this.value)}andThrough(e){return e(this.value).map(e=>this.value)}andTee(e){try{e(this.value)}catch{}return Sw(this.value)}orTee(e){return Sw(this.value)}orElse(e){return Sw(this.value)}asyncAndThen(e){return e(this.value)}asyncAndThrough(e){return e(this.value).map(()=>this.value)}asyncMap(e){return hw.fromSafePromise(e(this.value))}unwrapOr(e){return this.value}match(e,t){return e(this.value)}safeUnwrap(){let e=this.value;return(function*(){return e})()}_unsafeUnwrap(e){return this.value}_unsafeUnwrapErr(e){throw cw("Called `_unsafeUnwrapErr` on an Ok",this,e)}*[Symbol.iterator](){return this.value}},Tw=class{constructor(e){this.error=e}isOk(){return!1}isErr(){return!this.isOk()}map(e){return Cw(this.error)}mapErr(e){return Cw(e(this.error))}andThrough(e){return Cw(this.error)}andTee(e){return Cw(this.error)}orTee(e){try{e(this.error)}catch{}return Cw(this.error)}andThen(e){return Cw(this.error)}orElse(e){return e(this.error)}asyncAndThen(e){return gw(this.error)}asyncAndThrough(e){return gw(this.error)}asyncMap(e){return gw(this.error)}unwrapOr(e){return e}match(e,t){return t(this.error)}safeUnwrap(){let e=this.error;return(function*(){throw yield Cw(e),Error("Do not use this generator out of `safeTry`")})()}_unsafeUnwrap(e){throw cw("Called `_unsafeUnwrap` on an Err",this,e)}_unsafeUnwrapErr(e){return this.error}*[Symbol.iterator](){let e=this;return yield e,e}};xw.fromThrowable;var Ew={prefetchStaleTime:60,limit:20};Ew.limit,Ew.limit;var Dw=class e{static getApiErrorCode(e){return e.errors?.[0]?.code??null}static getApiErrorMessage(e){return e.errors?.[0]?.detail??null}static getMessage(e){return e.errors?.[0]?.detail??null}static handleApiError({error:t,message:n}){return e.isExpectedApiError(t)||(console.error(`Unexpected API error: ${t}`),t instanceof Error)?t:Error(n??`An unknown error occurred`)}static isExpectedApiError(e){return e?.errors!==void 0}static isZodError(e){return e instanceof d.default.ZodError}},Ow=1,kw=new class{subscribers;toasts;dismissedToasts;constructor(){this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)});publish=e=>{this.subscribers.forEach(t=>t(e))};addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]};create=e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:Ow++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(r)&&this.dismissedToasts.delete(r),i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r};dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e);message=(e,t)=>this.create({...t,message:e,type:`default`});error=(e,t)=>this.create({...t,type:`error`,message:e});success=(e,t)=>this.create({...t,type:`success`,message:e});info=(e,t)=>this.create({...t,type:`info`,message:e});warning=(e,t)=>this.create({...t,type:`warning`,message:e});loading=(e,t)=>this.create({...t,type:`loading`,message:e});promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=Promise.resolve(e instanceof Function?e():e),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],(0,f.isVNode)(e))i=!1,this.create({id:n,type:`default`,message:e});else if(jw(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(e instanceof Error){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`success`,description:a,...o})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description,o=typeof r==`object`&&!(0,f.isVNode)(r)?r:{message:r||``,id:n||``};this.create({id:n,type:`error`,description:a,...o})}}).finally(()=>{i&&(this.dismiss(n),n=void 0),t.finally?.()}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})};custom=(e,t)=>{let n=t?.id||Ow++,r=this.toasts.find(e=>e.id===n),i=t?.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(n)&&this.dismissedToasts.delete(n),r?this.toasts=this.toasts.map(r=>r.id===n?(this.publish({...r,component:e,dismissible:i,id:n,...t}),{...r,component:e,dismissible:i,id:n,...t}):r):this.addToast({component:e,dismissible:i,id:n,...t}),n};getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id))};function Aw(e,t){let n=t?.id||Ow++;return kw.create({message:e,id:n,type:`default`,...t}),n}var jw=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,Mw=Object.assign(Aw,{success:kw.success,info:kw.info,warning:kw.warning,error:kw.error,custom:kw.custom,message:kw.message,promise:kw.promise,dismiss:kw.dismiss,loading:kw.loading},{getHistory:()=>kw.toasts,getToasts:()=>kw.getActiveToasts()});function Nw(e){return e.label!==void 0}var Pw=3,Fw=`24px`,Iw=`16px`,Lw=4e3,Rw=356,zw=14,Bw=45,Vw=200;function Hw(){let e=(0,f.ref)(!1);return(0,f.watchEffect)(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}function Uw(...e){return e.filter(Boolean).join(` `)}function Ww(e){let[t,n]=e.split(`-`),r=[];return t&&r.push(t),n&&r.push(n),r}function Gw(e,t){let n={};return[e,t].forEach((e,t)=>{let r=t===1,i=r?`--mobile-offset`:`--offset`,a=r?Iw:Fw;function o(e){[`top`,`right`,`bottom`,`left`].forEach(t=>{n[`${i}-${t}`]=typeof e==`number`?`${e}px`:e})}typeof e==`number`||typeof e==`string`?o(e):typeof e==`object`?[`top`,`right`,`bottom`,`left`].forEach(t=>{e[t]===void 0?n[`${i}-${t}`]=a:n[`${i}-${t}`]=typeof e[t]==`number`?`${e[t]}px`:e[t]}):o(a)}),n}var Kw=[`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-swiped`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-swipe-direction`,`data-expanded`,`data-testid`],qw=[`aria-label`,`data-disabled`,`data-close-button-position`],Jw=(0,f.defineComponent)({__name:`Toast`,props:{toast:{},toasts:{},index:{},swipeDirections:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},closeButtonPosition:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`update:height`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.ref)(null),a=(0,f.ref)(null),o=(0,f.ref)(!1),s=(0,f.ref)(!1),c=(0,f.ref)(!1),l=(0,f.ref)(!1),u=(0,f.ref)(!1),d=(0,f.ref)(0),p=(0,f.ref)(0),m=(0,f.ref)(n.toast.duration||n.duration||Lw),h=(0,f.ref)(null),g=(0,f.ref)(null),_=(0,f.computed)(()=>n.index===0),v=(0,f.computed)(()=>n.index+1<=n.visibleToasts),y=(0,f.computed)(()=>n.toast.type),b=(0,f.computed)(()=>n.toast.dismissible!==!1),x=(0,f.computed)(()=>n.toast.class||``),S=(0,f.computed)(()=>n.descriptionClass||``),C=(0,f.computed)(()=>{let e=n.toast.position||n.position,t=n.heights.filter(t=>t.position===e).findIndex(e=>e.toastId===n.toast.id);return t>=0?t:0}),w=(0,f.computed)(()=>{let e=n.toast.position||n.position;return n.heights.filter(t=>t.position===e).reduce((e,t,n)=>n>=C.value?e:e+t.height,0)}),T=(0,f.computed)(()=>C.value*n.gap+w.value||0),E=(0,f.computed)(()=>n.toast.closeButton??n.closeButton),D=(0,f.computed)(()=>n.toast.duration||n.duration||Lw),O=(0,f.ref)(0),ee=(0,f.ref)(0),k=(0,f.ref)(null),A=(0,f.computed)(()=>n.position.split(`-`)),j=(0,f.computed)(()=>A.value[0]),te=(0,f.computed)(()=>A.value[1]),M=(0,f.computed)(()=>typeof n.toast.title!=`string`),ne=(0,f.computed)(()=>typeof n.toast.description!=`string`),{isDocumentHidden:re}=Hw(),ie=(0,f.computed)(()=>y.value&&y.value===`loading`);(0,f.onMounted)(()=>{o.value=!0,m.value=D.value}),(0,f.watchEffect)(async()=>{if(!o.value||!g.value)return;await(0,f.nextTick)();let e=g.value,t=e.style.height;e.style.height=`auto`;let i=e.getBoundingClientRect().height;e.style.height=t,p.value=i,r(`update:height`,{toastId:n.toast.id,height:i,position:n.toast.position||n.position})});function N(){s.value=!0,d.value=T.value,setTimeout(()=>{r(`removeToast`,n.toast)},Vw)}function P(){if(ie.value||!b.value)return{};N(),n.toast.onDismiss?.(n.toast)}function F(e){e.button!==2&&(ie.value||!b.value||(h.value=new Date,d.value=T.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(c.value=!0,k.value={x:e.clientX,y:e.clientY})))}function ae(){if(l.value||!b.value)return;k.value=null;let e=Number(g.value?.style.getPropertyValue(`--swipe-amount-x`).replace(`px`,``)||0),t=Number(g.value?.style.getPropertyValue(`--swipe-amount-y`).replace(`px`,``)||0),r=new Date().getTime()-(h.value?.getTime()||0),o=i.value===`x`?e:t,s=Math.abs(o)/r;if(Math.abs(o)>=Bw||s>.11){d.value=T.value,n.toast.onDismiss?.(n.toast),i.value===`x`?a.value=e>0?`right`:`left`:a.value=t>0?`down`:`up`,N(),l.value=!0;return}else g.value?.style.setProperty(`--swipe-amount-x`,`0px`),g.value?.style.setProperty(`--swipe-amount-y`,`0px`);u.value=!1,c.value=!1,i.value=null}function oe(e){if(!k.value||!b.value||(window?.getSelection()?.toString()?.length??!1))return;let t=e.clientY-k.value.y,r=e.clientX-k.value.x,a=n.swipeDirections??Ww(n.position);!i.value&&(Math.abs(r)>1||Math.abs(t)>1)&&(i.value=Math.abs(r)>Math.abs(t)?`x`:`y`);let o={x:0,y:0},s=e=>1/(1.5+Math.abs(e)/20);if(i.value===`y`){if(a.includes(`top`)||a.includes(`bottom`))if(a.includes(`top`)&&t<0||a.includes(`bottom`)&&t>0)o.y=t;else{let e=t*s(t);o.y=Math.abs(e)<Math.abs(t)?e:t}}else if(i.value===`x`&&(a.includes(`left`)||a.includes(`right`)))if(a.includes(`left`)&&r<0||a.includes(`right`)&&r>0)o.x=r;else{let e=r*s(r);o.x=Math.abs(e)<Math.abs(r)?e:r}(Math.abs(o.x)>0||Math.abs(o.y)>0)&&(u.value=!0),g.value?.style.setProperty(`--swipe-amount-x`,`${o.x}px`),g.value?.style.setProperty(`--swipe-amount-y`,`${o.y}px`)}(0,f.onMounted)(()=>{if(o.value=!0,!g.value)return;let e=g.value.getBoundingClientRect().height;p.value=e,r(`update:heights`,[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights])}),(0,f.onBeforeUnmount)(()=>{g.value&&r(`removeToast`,n.toast)}),(0,f.watchEffect)(e=>{if(n.toast.promise&&y.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||re.value?(()=>{if(ee.value<O.value){let e=new Date().getTime()-O.value;m.value-=e}ee.value=new Date().getTime()})():m.value!==1/0&&(O.value=new Date().getTime(),t=setTimeout(()=>{n.toast.onAutoClose?.(n.toast),N()},m.value)),e(()=>{clearTimeout(t)})}),(0,f.watch)(()=>n.toast.delete,e=>{e!==void 0&&e&&(N(),n.toast.onDismiss?.(n.toast))},{deep:!0});function I(){c.value=!1,i.value=null,k.value=null}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`li`,{tabindex:`0`,ref_key:`toastRef`,ref:g,class:(0,f.normalizeClass)((0,f.unref)(Uw)(n.class,x.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[y.value],e.toast?.classes?.[y.value])),"data-sonner-toast":``,"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||e.toast?.unstyled||e.unstyled),"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-swiped":u.value,"data-removed":s.value,"data-visible":v.value,"data-y-position":j.value,"data-x-position":te.value,"data-index":e.index,"data-front":_.value,"data-swiping":c.value,"data-dismissible":b.value,"data-type":y.value,"data-invert":e.toast.invert||e.invert,"data-swipe-out":l.value,"data-swipe-direction":a.value,"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),"data-testid":e.toast.testId,style:(0,f.normalizeStyle)({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${s.value?d.value:T.value}px`,"--initial-height":e.expandByDefault?`auto`:`${p.value}px`,...e.style,...n.toast.style}),onDragend:I,onPointerdown:F,onPointerup:ae,onPointermove:oe},[E.value&&!e.toast.component&&y.value!==`loading`?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ie.value,"data-close-button":`true`,"data-close-button-position":e.closeButtonPosition,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:P},[e.icons?.close?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.icons?.close),{key:0})):(0,f.renderSlot)(e.$slots,`close-icon`,{key:1})],10,qw)):(0,f.createCommentVNode)(`v-if`,!0),e.toast.component?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.component),(0,f.mergeProps)({key:1},e.toast.componentProps,{onCloseToast:P,isPaused:e.$props.expanded||e.$props.interacting||(0,f.unref)(re)}),null,16,[`isPaused`])):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:2},[y.value!=="default"||e.toast.icon||e.toast.promise?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,"data-icon":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.icon),{key:0})):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[y.value===`loading`?(0,f.renderSlot)(e.$slots,`loading-icon`,{key:0}):y.value===`success`?(0,f.renderSlot)(e.$slots,`success-icon`,{key:1}):y.value===`error`?(0,f.renderSlot)(e.$slots,`error-icon`,{key:2}):y.value===`warning`?(0,f.renderSlot)(e.$slots,`warning-icon`,{key:3}):y.value===`info`?(0,f.renderSlot)(e.$slots,`info-icon`,{key:4}):(0,f.createCommentVNode)(`v-if`,!0)],64))],2)):(0,f.createCommentVNode)(`v-if`,!0),(0,f.createElementVNode)(`div`,{"data-content":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.content,e.toast?.classes?.content))},[(0,f.createElementVNode)(`div`,{"data-title":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.title,e.toast.classes?.title))},[M.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.title),(0,f.normalizeProps)((0,f.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)(e.toast.title),1)],64))],2),e.toast.description?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,"data-description":``,class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.descriptionClass,S.value,e.classes?.description,e.toast.classes?.description))},[ne.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e.toast.description),(0,f.normalizeProps)((0,f.mergeProps)({key:0},e.toast.componentProps)),null,16)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)(e.toast.description),1)],64))],2)):(0,f.createCommentVNode)(`v-if`,!0)],2),e.toast.cancel?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,style:(0,f.normalizeStyle)(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{(0,f.unref)(Nw)(e.toast.cancel)&&b.value&&(e.toast.cancel.onClick?.(t),N())}},(0,f.toDisplayString)((0,f.unref)(Nw)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):(0,f.createCommentVNode)(`v-if`,!0),e.toast.action?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:2,style:(0,f.normalizeStyle)(e.toast.actionButtonStyle||e.actionButtonStyle),class:(0,f.normalizeClass)((0,f.unref)(Uw)(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{(0,f.unref)(Nw)(e.toast.action)&&(e.toast.action.onClick?.(t),!t.defaultPrevented&&N())}},(0,f.toDisplayString)((0,f.unref)(Nw)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):(0,f.createCommentVNode)(`v-if`,!0)],64))],46,Kw))}}),Yw=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Xw={},Zw={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Qw(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,Zw,t[0]||=[(0,f.createElementVNode)(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),(0,f.createElementVNode)(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var $w=Yw(Xw,[[`render`,Qw]]),eT=[`data-visible`],tT={class:`sonner-spinner`},nT=(0,f.defineComponent)({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[(0,f.createElementVNode)(`div`,tT,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(t),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,eT))}}),rT={},iT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function aT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,iT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var oT=Yw(rT,[[`render`,aT]]),sT={},cT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function lT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,cT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var uT=Yw(sT,[[`render`,lT]]),dT={},fT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function pT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,fT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var mT=Yw(dT,[[`render`,pT]]),hT={},gT={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function _T(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,gT,t[0]||=[(0,f.createElementVNode)(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var vT=Yw(hT,[[`render`,_T]]),yT=[`aria-label`],bT=[`data-sonner-theme`,`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`],xT=typeof window<`u`&&typeof document<`u`;function ST(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}var CT=(0,f.defineComponent)({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{id:{},invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},closeButtonPosition:{default:`top-left`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:zw},visibleToasts:{default:Pw},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{},offset:{default:Fw},mobileOffset:{default:Iw},dir:{default:`auto`},swipeDirections:{},icons:{},containerAriaLabel:{default:`Notifications`}},setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.ref)([]),i=(0,f.computed)(()=>t.id?r.value.filter(e=>e.toasterId===t.id):r.value.filter(e=>!e.toasterId));function a(e,t){return i.value.filter(n=>!n.position&&t===0||n.position===e)}let o=(0,f.computed)(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=(0,f.computed)(()=>{let e={};return o.value.forEach(t=>{e[t]=r.value.filter(e=>e.position===t)}),e}),c=(0,f.ref)([]),l=(0,f.ref)({}),u=(0,f.ref)(!1);(0,f.watchEffect)(()=>{o.value.forEach(e=>{e in l.value||(l.value[e]=!1)})});let d=(0,f.ref)(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),p=(0,f.ref)(null),m=(0,f.ref)(null),h=(0,f.ref)(!1),g=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function _(e){r.value.find(t=>t.id===e.id)?.delete||kw.dismiss(e.id),r.value=r.value.filter(({id:t})=>t!==e.id),setTimeout(()=>{r.value.find(t=>t.id===e.id)||(c.value=c.value.filter(t=>t.toastId!==e.id))},250)}function v(e){h.value&&!e.currentTarget?.contains?.(e.relatedTarget)&&(h.value=!1,m.value&&=(m.value.focus({preventScroll:!0}),null))}function y(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||h.value||(h.value=!0,m.value=e.relatedTarget)}function b(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}(0,f.watchEffect)(e=>{e(kw.subscribe(e=>{if(e.dismiss){requestAnimationFrame(()=>{r.value=r.value.map(t=>t.id===e.id?{...t,delete:!0}:t)});return}(0,f.nextTick)(()=>{let t=r.value.findIndex(t=>t.id===e.id);t===-1?r.value=[e,...r.value]:r.value=[...r.value.slice(0,t),{...r.value[t],...e},...r.value.slice(t+1)]})}))}),(0,f.watchEffect)(e=>{if(typeof window>`u`)return;if(t.theme!==`system`){d.value=t.theme;return}let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=e=>{d.value=e?`dark`:`light`};r(n.matches);let i=e=>{r(e.matches)};try{n.addEventListener(`change`,i)}catch{n.addListener(i)}e(()=>{try{n.removeEventListener(`change`,i)}catch{n.removeListener(i)}})}),(0,f.watchEffect)(()=>{p.value&&m.value&&(m.value.focus({preventScroll:!0}),m.value=null,h.value=!1)}),(0,f.watchEffect)(()=>{r.value.length<=1&&Object.keys(l.value).forEach(e=>{l.value[e]=!1})}),(0,f.watchEffect)(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(p.value)?p.value[0]:p.value;n&&(o.value.forEach(e=>{l.value[e]=!0}),r?.focus());let i=document.activeElement===p.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&o.value.forEach(e=>{l.value[e]=!1})}xT&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))});function x(e){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!0}function S(e){if(!u.value){let t=e.currentTarget,n=t.getAttribute(`data-y-position`)+`-`+t.getAttribute(`data-x-position`);l.value[n]=!1}}function C(){Object.keys(l.value).forEach(e=>{l.value[e]=!1})}function w(){u.value=!1}function T(e){c.value=e}function E(e){let t=c.value.findIndex(t=>t.toastId===e.toastId);if(t!==-1)c.value[t]=e;else{let t=c.value.findIndex(t=>t.position===e.position);t===-1?c.value.unshift(e):c.value.splice(t,0,e)}}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[(0,f.createCommentVNode)(` Remove item from normal navigation flow, only available via hotkey `),(0,f.createElementVNode)(`section`,{"aria-label":`${e.containerAriaLabel} ${(0,f.unref)(g)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,(r,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`ol`,(0,f.mergeProps)({key:r,ref_for:!0,ref_key:`listRef`,ref:p,"data-sonner-toaster":``,"data-sonner-theme":d.value,class:t.class,dir:e.dir===`auto`?ST():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split(`-`)[0],"data-x-position":r.split(`-`)[1],style:{"--front-toast-height":`${c.value[0]?.height||0}px`,"--width":`${(0,f.unref)(Rw)}px`,"--gap":`${e.gap}px`,...e.style,...(0,f.unref)(n).style,...(0,f.unref)(Gw)(e.offset,e.mobileOffset)}},{ref_for:!0},e.$attrs,{onBlur:v,onFocus:y,onMouseenter:x,onMousemove:x,onMouseleave:S,onDragend:C,onPointerdown:b,onPointerup:w}),[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a(r,i),(n,i)=>((0,f.openBlock)(),(0,f.createBlock)(Jw,{key:n.id,heights:c.value,icons:e.icons,index:i,toast:n,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:(0,f.normalizeClass)(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:r,closeButtonPosition:e.toastOptions?.closeButtonPosition??e.closeButtonPosition,style:(0,f.normalizeStyle)(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,"close-button-aria-label":e.toastOptions?.closeButtonAriaLabel,toasts:s.value[r],expandByDefault:e.expand,gap:e.gap,expanded:l.value[r]||!1,swipeDirections:t.swipeDirections,"onUpdate:heights":T,"onUpdate:height":E,onRemoveToast:_},{"close-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`close-icon`,{},()=>[(0,f.createVNode)($w)])]),"loading-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`loading-icon`,{},()=>[(0,f.createVNode)(nT,{visible:n.type===`loading`},null,8,[`visible`])])]),"success-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`success-icon`,{},()=>[(0,f.createVNode)(oT)])]),"error-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`error-icon`,{},()=>[(0,f.createVNode)(vT)])]),"warning-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`warning-icon`,{},()=>[(0,f.createVNode)(mT)])]),"info-icon":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`info-icon`,{},()=>[(0,f.createVNode)(uT)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`closeButtonPosition`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`close-button-aria-label`,`toasts`,`expandByDefault`,`gap`,`expanded`,`swipeDirections`]))),128))],16,bT))),128))],8,yT)],2112))}}),wT=W({slots:{title:`mb-xs text-sm font-medium`},variants:{variant:{error:{title:`text-error-primary`},info:{title:`text-primary`},warning:{title:`text-warning-primary`}}}}),TT=(0,f.defineComponent)({__name:`ToastActions`,props:{button:{},link:{}},emits:[`close`],setup(e,{emit:t}){let n=t;function r(e){e.onClick(),n(`close`)}function i(){n(`close`)}return(t,n)=>e.button!==void 0||e.link!==void 0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0},{default:(0,f.withCtx)(()=>[e.button===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($v),(0,f.mergeProps)({key:0,variant:`secondary`},e.button,{onClick:n[0]||=t=>r(e.button)}),null,16)),e.link===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(iy),(0,f.mergeProps)({key:1,variant:`secondary`},e.link,{onClick:n[1]||=e=>i()}),null,16))]),_:1})):(0,f.createCommentVNode)(``,!0)}}),ET={class:`absolute top-0 right-0 mt-md mr-sm flex h-text-sm items-center justify-center`},DT=(0,f.defineComponent)({__name:`ToastCloseButton`,emits:[`close`],setup(e,{emit:t}){let n=t,r=(0,g.useI18n)();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,ET,[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),"is-tooltip-disabled":!0,label:(0,f.unref)(r).t(`component.toast.close.label`),size:`sm`,variant:`tertiary`,onClick:t[0]||=e=>n(`close`)},null,8,[`icon`,`label`])]))}}),OT={class:`flex h-text-sm items-center`},kT=(0,f.defineComponent)({__name:`ToastIcon`,props:{icon:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,OT,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{class:(0,f.normalizeClass)([{"text-error-primary":t.variant===`error`,"text-warning-primary":t.variant===`warning`,"text-tertiary":t.variant===`info`||t.variant===`loading`||t.variant===void 0},`size-4`])},null,8,[`class`]))]))}}),AT={},jT={class:`pointer-events-auto relative w-full rounded-xl border border-secondary bg-primary p-md pl-lg shadow-lg/5`};function MT(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,jT,[(0,f.renderSlot)(e.$slots,`default`)])}var NT=ns(AT,[[`render`,MT]]),PT={class:`flex h-text-sm items-center`},FT=(0,f.defineComponent)({__name:`ToastLoader`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,PT,[(0,f.createVNode)((0,f.unref)(Cs),{class:`size-3.5 text-tertiary`})]))}}),IT=[`src`,`alt`],LT={class:`font-medium text-primary`},RT=(0,f.defineComponent)({__name:`ToastInteractablePart`,props:{icon:{},imageSrc:{},label:{},to:{}},emits:[`click`],setup(e,{emit:t}){let n=e,r=t;function i(){n.to!==null&&r(`click`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.to===null?`span`:(0,f.unref)(y.RouterLink)),{to:n.to,class:(0,f.normalizeClass)({"hover:underline":n.to!==null}),onClick:i},{default:(0,f.withCtx)(()=>[n.imageSrc===null?n.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.icon),{key:1,class:`mr-xs inline size-3.5 -translate-y-px align-sub text-secondary`})):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:0,src:n.imageSrc,alt:n.label,class:`mr-xs inline size-3.5 -translate-y-px rounded-xs align-middle`},null,8,IT)),(0,f.createElementVNode)(`span`,LT,(0,f.toDisplayString)(n.label),1)]),_:1},8,[`to`,`class`]))}}),zT={class:`text-sm text-secondary`},BT=(0,f.defineComponent)({__name:`ToastMessage`,props:{message:{},models:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=/(\{.*?\})/g,a=/^\{(.*?)\}$/,o=(0,f.computed)(()=>n.message.split(i).map(e=>{let t=e.match(a);if(t===null)return{label:e,type:`text`};let r=t[1],i=n.models[r]??null;return i===null?(console.warn(`No model found for key "${r}" in toast message "${n.message}"`),{label:e,type:`text`}):{icon:i.icon??null,imageSrc:i.imageSrc??null,key:r,label:i.label,to:i.to,type:`interactable`}}));return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,zT,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:n},[e.type===`text`?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.createTextVNode)((0,f.toDisplayString)(e.label),1)],64)):e.type===`interactable`?((0,f.openBlock)(),(0,f.createBlock)(RT,{key:1,icon:e.icon,"image-src":e.imageSrc,label:e.label,to:e.to??null,onClick:t[0]||=e=>r(`closeToast`)},null,8,[`icon`,`image-src`,`label`,`to`])):(0,f.createCommentVNode)(``,!0)],64))),128))]))}}),VT=ns((0,f.defineComponent)({__name:`Toast`,props:{toast:{}},emits:[`closeToast`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>n.toast.variant===`error`?`error`:n.toast.variant===`warning`?`warning`:`info`),a=(0,f.computed)(()=>wT({variant:i.value}));return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(NT,{"data-toast-id":n.toast.id},{default:(0,f.withCtx)(()=>[(n.toast.isDismissible??!0)&&n.toast.variant!==`loading`?((0,f.openBlock)(),(0,f.createBlock)(DT,{key:0,onClose:t[0]||=e=>r(`closeToast`)})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(B),{align:`start`,class:`pr-3xl`},{default:(0,f.withCtx)(()=>[n.toast.variant===`loading`?((0,f.openBlock)(),(0,f.createBlock)(FT,{key:0})):n.toast.icon===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kT,{key:1,icon:n.toast.icon,variant:n.toast.variant},null,8,[`icon`,`variant`])),(0,f.createVNode)((0,f.unref)(q),{gap:`none`},{default:(0,f.withCtx)(()=>[n.toast.title===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:n.toast.title,class:(0,f.normalizeClass)([a.value.title(),`mb-xs text-sm font-medium`])},null,8,[`text`,`class`])),(0,f.createVNode)(BT,{models:n.toast.interactableModels??{},message:n.toast.message,onCloseToast:t[1]||=e=>r(`closeToast`)},null,8,[`models`,`message`]),(0,f.createVNode)(TT,{button:n.toast.button,link:n.toast.link,class:`mt-lg`,onClose:t[2]||=e=>r(`closeToast`)},null,8,[`button`,`link`])]),_:1})]),_:1})]),_:1},8,[`data-toast-id`]))}}),[[`__scopeId`,`data-v-0289243a`]]),HT=600,UT=`animate-toast-highlight`,WT=new Map;function GT(e){let t=document.querySelector(`[data-toast-id="${e}"]`);if(!t)return;let n=WT.get(e);n&&clearTimeout(n),t.classList.remove(UT),t.scrollTop,t.classList.add(UT);let r=setTimeout(()=>{t.classList.remove(UT),WT.delete(e)},HT);WT.set(e,r)}var KT=1/0,qT=5e3,JT=7e3;function YT(e,t){switch(e){case`always`:return t===`error`?JT:qT;case`all-except-errors`:return t===`error`?KT:qT;case`never`:return KT}}function XT(e){Mw.dismiss(e)}function ZT(){let e=(0,g.useI18n)(),t=rm();function n(e){(e.id===void 0?null:Mw.getToasts().find(t=>t.id===e.id)??null)!==null&&GT(e.id),Mw.custom((0,f.markRaw)((0,f.defineComponent)({render:()=>(0,f.h)(VT,{toast:e})})),{id:e.id??crypto.randomUUID(),class:`w-full sm:w-96`,dismissible:e.isDismissible??e.dismissible,duration:e.duration??YT(t.autoCloseToast.value,e.variant===`error`?`error`:`info`),position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss})}function r(e){let r=e.id??crypto.randomUUID();n({id:r,isDismissible:!1,duration:KT,icon:e.icon,interactableModels:e.interactableModels,message:e.loading,variant:`loading`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});function i(n,i){let a=Mw.custom((0,f.markRaw)((0,f.defineComponent)({render:()=>(0,f.h)(VT,{toast:{id:r,icon:e.icon,interactableModels:e.interactableModels,message:n,variant:i}})})),{id:r,class:`w-full sm:w-96`,dismissible:!0,position:e.position??`bottom-right`,onAutoClose:e.onAutoClose,onDismiss:e.onDismiss});setTimeout(()=>{Mw.dismiss(a)},e.duration??YT(t.autoCloseToast.value,i===`error`?`error`:`info`))}e.promise.then(()=>i(e.success,`info`)).catch(()=>i(e.error,`error`))}function i(){n({id:`unable-to-save`,icon:bt,message:e.t(`component.toast.unable_to_save_changes.message`),variant:`error`})}function a(r){if(!Dw.isExpectedApiError(r)){n({icon:bt,message:e.t(`component.toast.unexpected_error.message`),variant:`error`}),console.error(`Unknown error occurred:`,r);return}let[i]=r.errors;if(i===void 0)return;let a=t.apiErrorTranslationResolver.value,o=a?.(i.code),s=i.detail||e.t(`component.toast.unexpected_error.message`);o!==void 0&&(s=e.t(o)),n({icon:bt,message:s,variant:`error`})}return{apiError:a,dismiss:XT,promise:r,show:n,unableToSave:i}}var QT=(0,f.defineComponent)({__name:`ToastContainer`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(CT),{style:{zIndex:75},expand:!1}))}}),$T=(0,f.defineComponent)({__name:`TooltipProvider`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TooltipProvider),null,{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),eE=(0,f.defineComponent)({__name:`ApplicationProvider`,props:{isFetchingAuthUser:{type:Boolean}},setup(e){let t=e;return(0,p.useActionRegistryStore)().registerActions(JC()),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)($T,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(PC)),(0,f.createVNode)((0,f.unref)(MC)),(0,f.createVNode)((0,f.unref)(OC),{"is-fetching-auth-user":t.isFetchingAuthUser},null,8,[`is-fetching-auth-user`]),(0,f.createVNode)((0,f.unref)(QT)),(0,f.createVNode)((0,f.unref)($C)),(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),tE=function(e){return e.CONFIRM_UPLOAD_FAILED=`CONFIRM_UPLOAD_FAILED`,e.GET_FILE_INFO_FAILED=`GET_FILE_INFO_FAILED`,e.INVALID_MIME_TYPE=`INVALID_MIME_TYPE`,e.PREPROCESSING_FAILED=`PREPROCESSING_FAILED`,e.UPLOAD_FAILED=`UPLOAD_FAILED`,e}({}),X=function(e){return e.ERROR=`ERROR`,e.PENDING=`PENDING`,e.SUCCESS=`SUCCESS`,e.UPLOADING=`UPLOADING`,e}({}),[nE,rE]=z(`baseFileUploadContext`),iE=/[/\\]/;function aE(e,t,n=X.PENDING){return{uuid:``,isSyncedWithModelValue:!1,name:e.name,file:e,key:crypto.randomUUID(),mimeType:e.type,order:t,status:n,url:URL.createObjectURL(e)}}function oE(e,t){return{...e,isSyncedWithModelValue:!0,status:t}}function sE(e,t){return t.some(t=>{if(t===`*/*`)return!0;if(t.endsWith(`/*`)){let[n]=t.split(`/`);return e.type.startsWith(`${n}/`)}return e.type===t})}function cE(e){return e.split(`/`)[1]??`bin`}async function lE(e){let t=await e.arrayBuffer(),n=await crypto.subtle.digest(`SHA-256`,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,`0`)).join(``)}async function uE(e,t){if(e.types.includes(`text/plain`))try{let t=(await(await e.getType(`text/plain`)).text()).trim().split(iE).pop();if(t!==void 0&&t.includes(`.`))return t}catch{}return`clipboard.${cE(t)}`}var[dE,fE]=z(`baseFileUploadClipboardContext`),pE=`file-upload-clipboard-ignored-fingerprints`,mE=(0,f.defineComponent)({__name:`BaseFileUploadClipboard`,setup(e){let{isDisabled:t,isValidFile:n,accept:r,onFilesSelected:i}=rE(),a=(0,f.ref)([]);function o(){let e=sessionStorage.getItem(pE);return e===null?new Set:new Set(JSON.parse(e))}function s(e){sessionStorage.setItem(pE,JSON.stringify([...e]))}function c(e){let t=o();t.add(e),s(t)}function l(){for(let e of a.value)c(e.fingerprint);a.value=[]}function u(){i(a.value.map(e=>e.file)),l()}async function d(){if(t.value||!navigator.clipboard?.read)return;let e;try{e=await navigator.clipboard.read()}catch{return}let i=[];for(let t of e)for(let e of t.types){if(!e.startsWith(`image/`)||!sE({type:e},r.value))continue;let n=await t.getType(e),a=await lE(n);i.push({blob:n,clipboardItem:t,fingerprint:a,mimeType:e})}let c=o(),l=i.some(e=>!c.has(e.fingerprint));l&&s(new Set);let u=l?new Set:c,d=[];for(let{blob:e,clipboardItem:t,fingerprint:r,mimeType:a}of i){if(u.has(r))continue;let i=await uE(t,a),o=new File([e],i,{type:a});n.value!==null&&n.value(o)!==!0||d.push({file:o,fingerprint:r})}a.value=d}let p=(0,f.computed)(()=>a.value.map(e=>e.file));dE({clear:l,files:p,upload:u});async function h(e){if(t.value)return;let i=e.clipboardData?.files;if(!i||i.length===0)return;let o=[];for(let e of Array.from(i)){if(!sE({type:e.type},r.value)||n.value!==null&&n.value(e)!==!0)continue;let t=await lE(e);o.push({file:e,fingerprint:t})}o.length>0&&(a.value=o)}return(0,m.useEventListener)(window,`focus`,d),(0,m.useEventListener)(window,`paste`,h),d(),(e,t)=>(0,f.renderSlot)(e.$slots,`default`,{files:p.value})}}),hE=(0,f.defineComponent)({__name:`BaseFileUploadClipboardRemove`,setup(e){let{clear:t}=fE();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,onClick:(0,f.unref)(t)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`onClick`]))}}),gE=(0,f.defineComponent)({__name:`BaseFileUploadClipboardUpload`,setup(e){let{upload:t}=fE();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,onClick:(0,f.unref)(t)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`onClick`]))}}),_E=(0,f.defineComponent)({__name:`BaseFileUploadDropzone`,setup(e){let t=(0,f.ref)(!1),{isDisabled:n,isMultiple:r,onFilesSelected:i}=rE(),a=(0,f.ref)(null),{isOverDropZone:o}=(0,m.useDropZone)((0,f.computed)(()=>a.value?.$el??null),{multiple:r.value,onDrop:e=>{n.value||e!==null&&e.length>0&&i(e)}}),s=0;function c(e,r){if(n.value){s=0,t.value=!1;return}switch(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=`copy`),r){case`enter`:s+=1,t.value=!0;break;case`leave`:--s,s===0&&(t.value=!1);break;case`drop`:s=0,t.value=!1;break}}return(0,m.useEventListener)(document.body,`dragenter`,e=>c(e,`enter`)),(0,m.useEventListener)(document.body,`dragover`,e=>c(e,`over`)),(0,m.useEventListener)(document.body,`dragleave`,e=>c(e,`leave`)),(0,m.useEventListener)(document.body,`drop`,e=>c(e,`drop`)),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{ref_key:`dropzoneRef`,ref:a,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{isHoveringOverDropzone:(0,f.unref)(n)?!1:(0,f.unref)(o),isHoveringOverPage:t.value})]),_:3},512))}}),[vE,yE]=z(`baseFileUploadItemContext`),bE=`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz#$%*+,-.:;=?@[]^_{|}~`.split(``),xE=e=>{let t=0;for(let n=0;n<e.length;n++){let r=e[n],i=bE.indexOf(r);t=t*83+i}return t},SE=(e,t)=>{var n=``;for(let r=1;r<=t;r++){let i=Math.floor(e)/83**(t-r)%83;n+=bE[Math.floor(i)]}return n},CE=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},wE=e=>{let t=Math.max(0,Math.min(1,e));return Math.trunc(t<=.0031308?t*12.92*255+.5:(1.055*t**.4166666666666667-.055)*255+.5)},TE=e=>e<0?-1:1,EE=(e,t)=>TE(e)*Math.abs(e)**+t,DE=class extends Error{constructor(e){super(e),this.name=`ValidationError`,this.message=e}},OE=e=>{if(!e||e.length<6)throw new DE(`The blurhash string must be at least 6 characters`);let t=xE(e[0]),n=Math.floor(t/9)+1,r=t%9+1;if(e.length!==4+2*r*n)throw new DE(`blurhash length mismatch: length is ${e.length} but it should be ${4+2*r*n}`)},kE=e=>{let t=e>>16,n=e>>8&255,r=e&255;return[CE(t),CE(n),CE(r)]},AE=(e,t)=>{let n=Math.floor(e/361),r=Math.floor(e/19)%19,i=e%19;return[EE((n-9)/9,2)*t,EE((r-9)/9,2)*t,EE((i-9)/9,2)*t]},jE=(e,t,n,r)=>{OE(e),r|=1;let i=xE(e[0]),a=Math.floor(i/9)+1,o=i%9+1,s=(xE(e[1])+1)/166,c=Array(o*a);for(let t=0;t<c.length;t++)t===0?c[t]=kE(xE(e.substring(2,6))):c[t]=AE(xE(e.substring(4+t*2,6+t*2)),s*r);let l=t*4,u=new Uint8ClampedArray(l*n);for(let e=0;e<n;e++)for(let r=0;r<t;r++){let i=0,s=0,d=0;for(let l=0;l<a;l++)for(let a=0;a<o;a++){let u=Math.cos(Math.PI*r*a/t)*Math.cos(Math.PI*e*l/n),f=c[a+l*o];i+=f[0]*u,s+=f[1]*u,d+=f[2]*u}let f=wE(i),p=wE(s),m=wE(d);u[4*r+0+e*l]=f,u[4*r+1+e*l]=p,u[4*r+2+e*l]=m,u[4*r+3+e*l]=255}return u},ME=4,NE=(e,t,n,r)=>{let i=0,a=0,o=0,s=t*ME;for(let c=0;c<t;c++){let t=ME*c;for(let l=0;l<n;l++){let n=t+l*s,u=r(c,l);i+=u*CE(e[n]),a+=u*CE(e[n+1]),o+=u*CE(e[n+2])}}let c=1/(t*n);return[i*c,a*c,o*c]},PE=e=>{let t=wE(e[0]),n=wE(e[1]),r=wE(e[2]);return(t<<16)+(n<<8)+r},FE=(e,t)=>{let n=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[0]/t,.5)*9+9.5)))),r=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[1]/t,.5)*9+9.5)))),i=Math.floor(Math.max(0,Math.min(18,Math.floor(EE(e[2]/t,.5)*9+9.5))));return n*19*19+r*19+i},IE=(e,t,n,r,i)=>{if(r<1||r>9||i<1||i>9)throw new DE(`BlurHash must have between 1 and 9 components`);if(t*n*4!==e.length)throw new DE(`Width and height must match the pixels array`);let a=[];for(let o=0;o<i;o++)for(let i=0;i<r;i++){let r=i==0&&o==0?1:2,s=NE(e,t,n,(e,a)=>r*Math.cos(Math.PI*i*e/t)*Math.cos(Math.PI*o*a/n));a.push(s)}let o=a[0],s=a.slice(1),c=``,l=r-1+(i-1)*9;c+=SE(l,1);let u;if(s.length>0){let e=Math.max(...s.map(e=>Math.max(...e))),t=Math.floor(Math.max(0,Math.min(82,Math.floor(e*166-.5))));u=(t+1)/166,c+=SE(t,1)}else u=1,c+=SE(0,1);return c+=SE(PE(o),4),s.forEach(e=>{c+=SE(FE(e,u),2)}),c},LE=class{static async encode(e){if(!e.type.startsWith(`image/`))return null;let t=URL.createObjectURL(e),n;try{n=await this.loadImage(t)}catch{return URL.revokeObjectURL(t),null}URL.revokeObjectURL(t);let r=this.getClampedSize(n.width,n.height,32),i=this.getImageData(n,r.width,r.height);try{return IE(i.data,i.width,i.height,4,4)}catch{return null}}static getClampedSize(e,t,n){return e>=t&&e>n?{height:Math.round(t/e*n),width:n}:t>e&&t>n?{height:n,width:Math.round(e/t*n)}:{height:t,width:e}}static getImageData(e,t,n){let r=document.createElement(`canvas`);r.width=t,r.height=n;let i=r.getContext(`2d`);return i.drawImage(e,0,0,t,n),i.getImageData(0,0,t,n)}static loadImage(e){return new Promise((t,n)=>{let r=new Image;r.addEventListener(`load`,()=>t(r)),r.addEventListener(`error`,(...e)=>n(e)),r.src=e})}},RE=(0,f.defineComponent)({__name:`BaseFileUploadItem`,props:{item:{}},setup(e){let t=e,{isPublic:n,preprocess:r,onError:i,onRemoveFileUploadItem:a,onReplaceFileUploadItem:o,onStartUpload:s,onSuccess:c,onUpdateProgress:l}=rE(),{fileUploadAdapter:u}=rm();if(u.value===null)throw Error(`[BaseFileUpload] No adapter provided. Add an adapter to the ConfigProvider.
581
581
  Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoot ... /></UIConfigProvider>`);let d=u.value;async function p(){let{name:e,mimeType:n}=t.item;try{return await d.getFileInfo(e,n)}catch{i(t.item,tE.GET_FILE_INFO_FAILED)}return null}let m=null;function h(e,r){return new Promise((i,a)=>{let o=new XMLHttpRequest;m=o;let s=new Blob([r]);o.upload.addEventListener(`progress`,e=>{if(e.lengthComputable){let n=Math.round(e.loaded/e.total*100);l(t.item,n)}}),o.onload=()=>{o.status>=200&&o.status<300?i():a(Error(`Upload failed with status ${o.status}`))},o.onerror=()=>{a(Error(`Upload failed due to a network error`))},o.open(`PUT`,e,!0),o.setRequestHeader(`Content-Type`,r.type),n.value?o.setRequestHeader(`x-amz-acl`,`public-read`):o.setRequestHeader(`x-amz-acl`,`private`),o.setRequestHeader(`x-ms-blob-type`,`BlockBlob`),o.send(s)})}async function g(e,r,i){let a={isPublic:n.value,onProgress:e=>l(t.item,e)};if(s(t.item,e),d.uploadFile!==void 0){await d.uploadFile(r,i,a);return}await h(r,i)}async function _(){let e=await p();if(e===null)return;let{uuid:n,uploadUrl:a}=e,{file:o}=t.item,s=o;if(r!==null)try{s=await r(o)}catch(e){let n=e instanceof Error&&e.message?e.message:tE.PREPROCESSING_FAILED;i(t.item,n);return}let l=await LE.encode(s);try{await g(n,a,s)}catch{i(t.item,tE.UPLOAD_FAILED);return}try{await d.confirmUpload(n,l),c(t.item)}catch{i(t.item,tE.CONFIRM_UPLOAD_FAILED)}}function v(){m?.abort(),m=null,a(t.item)}return t.item.status===X.PENDING&&_(),vE({item:(0,f.computed)(()=>t.item),onCancel:v,onRemove:()=>a(t.item),onReplace:e=>o(t.item,e)}),(e,n)=>(0,f.renderSlot)(e.$slots,`default`,{onRemove:()=>(0,f.unref)(a)(t.item),onReplace:e=>(0,f.unref)(o)(t.item,e)})}}),zE=(0,f.defineComponent)({__name:`BaseFileUploadItemCancel`,setup(e){let{isDisabled:t}=rE(),{onCancel:n}=yE();function r(){t.value||n()}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,disabled:(0,f.unref)(t),onClick:r},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`disabled`]))}}),BE=(0,f.defineComponent)({__name:`BaseFileUploadItemDownload`,setup(e){let{hasDownloadListener:t,onDownload:n}=rE(),{item:r}=yE(),i=(0,f.computed)(()=>r.value.status===X.SUCCESS&&(t.value||(r.value.url?.length??0)>0));function a(){if(r.value.status!==X.SUCCESS)return;if(t.value){n(r.value);return}if(r.value.url===null||r.value.url.length===0)return;let e=document.createElement(`a`);e.href=r.value.url,e.download=r.value.name,e.click()}return(e,t)=>i.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{key:0,"as-child":!0,onClick:a},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})):(0,f.createCommentVNode)(``,!0)}}),VE=(0,f.defineComponent)({__name:`BaseFileUploadItemRemove`,setup(e){let{isDisabled:t}=rE(),{onRemove:n}=yE();function r(){t.value||n()}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,disabled:(0,f.unref)(t),onClick:r},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`disabled`]))}}),HE=(0,f.defineComponent)({__name:`BaseFileUploadItemReplace`,setup(e){let{isDisabled:t,accept:n}=rE(),{onReplace:r}=yE(),i=(0,m.useFileDialog)();i.onChange(e=>{if(e===null)return;let[t]=Array.from(e);t!==void 0&&r(t)});function a(){t.value||i.open({accept:n.value.join(`, `),multiple:!1})}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,disabled:(0,f.unref)(t),onClick:a},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`disabled`]))}}),UE=(0,f.defineComponent)({__name:`BaseFileUploadRoot`,props:(0,f.mergeModels)({isPublic:{type:Boolean,default:!1},isValidFile:{type:[Function,null],default:null},accept:{},preprocess:{type:[Function,null],default:null},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`download`,`filesRejected`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=(0,f.computed)(()=>Array.isArray(i.value)),o=(0,f.getCurrentInstance)(),s=(0,f.computed)(()=>o?.vnode.props?.onDownload!==void 0),c=(0,f.computed)({get:()=>Array.isArray(i.value)?i.value.map(e=>oE(e,X.SUCCESS)):i.value===null?[]:[oE(i.value,X.SUCCESS)],set:e=>{if(a.value)i.value=e.map(e=>({uuid:e.uuid,name:e.name,blurHash:e.blurHash,mimeType:e.mimeType,order:e.order,url:e.url}));else{let t=e[0]??null;if(t===null){i.value=null;return}i.value={uuid:t.uuid,name:t.name,blurHash:t.blurHash,mimeType:t.mimeType,order:t.order,url:t.url}}}}),l=(0,f.ref)([]),u=(0,f.computed)(()=>[...c.value.filter(e=>l.value.some(t=>t.uuid===e.uuid)?!e.isSyncedWithModelValue:!0),...l.value].toSorted((e,t)=>e.order-t.order).slice(a.value?void 0:-1));function d(e){let t=[],i=[];for(let r of e){if(!sE(r,n.accept)){t.push({error:tE.INVALID_MIME_TYPE,file:r});continue}if(n.isValidFile!==null){let e=n.isValidFile(r);if(e!==!0){t.push({error:e,file:r});continue}}i.push(r)}if(t.length>0&&r(`filesRejected`,t),a.value)l.value.push(...i.map((e,t)=>aE(e,t+c.value.length)));else{let[e]=i;if(e===void 0)return;l.value=[aE(e,0)]}}function p(e){r(`download`,{uuid:e.uuid,name:e.name,blurHash:e.blurHash,mimeType:e.mimeType,order:e.order,url:e.url})}function m(e,t){l.value=l.value.map(n=>n.key===e?{...n,...t}:n)}function h(e,t){m(e.key,{uuid:t,progress:0,status:X.UPLOADING})}function g(e,t){m(e.key,{progress:t,status:X.UPLOADING})}function _(e){let t={...e,isSyncedWithModelValue:!0,blurHash:null,status:X.SUCCESS};m(e.key,t),a.value?c.value=[...c.value.filter(t=>t.uuid!==e.uuid),t]:c.value=[t]}function v(e,t){m(e.key,{error:t,status:X.ERROR})}function y(e){e?.startsWith(`blob:`)&&URL.revokeObjectURL(e)}function b(e){y(e.url),l.value=l.value.filter(t=>t.key!==e.key),c.value=c.value.filter(t=>t.uuid!==e.uuid)}function x(e,t){c.value=c.value.filter(t=>t.uuid!==e.uuid),l.value.some(t=>t.key===e.key)?(y(e.url),m(e.key,aE(t,e.order))):l.value=[...l.value,aE(t,e.order)]}return nE({...Ki(n),hasDownloadListener:s,isMultiple:a,preprocess:n.preprocess,onDownload:p,onError:v,onFilesSelected:d,onRemoveFileUploadItem:b,onReplaceFileUploadItem:x,onStartUpload:h,onSuccess:_,onUpdateProgress:g}),(e,t)=>(0,f.renderSlot)(e.$slots,`default`,{items:u.value})}}),WE=(0,f.defineComponent)({__name:`BaseFileUploadTrigger`,setup(e){let{isDisabled:t,isMultiple:n,accept:r,onFilesSelected:i}=rE(),a=(0,m.useFileDialog)();a.onChange(e=>{e!==null&&i(Array.from(e))});function o(){t.value||a.open({accept:r.value.join(`, `),multiple:n.value})}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,disabled:(0,f.unref)(t),onClick:o},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{isDisabled:(0,f.unref)(t)})]),_:3},8,[`disabled`]))}}),GE=W({compoundVariants:[{class:{base:`
582
582
  border-brand-200 bg-brand-25
583
583
  dark:border-brand-800 dark:bg-brand-950
@@ -907,14 +907,14 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
907
907
  States: ${n.join(`
908
908
  `)}\n`,{table:v})}return v}function XM(){return[]}function ZM(e){nN(e.table,t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id])}function QM(e){return(e.columnDef.enableGrouping??!0)&&(e.table.options.enableGrouping??!0)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)}function $M(e){return!!e.table.atoms.grouping?.get()?.includes(e.id)}function eN(e){return e.table.atoms.grouping?.get()?.indexOf(e.id)??-1}function tN(e){let t=QM(e);return()=>{t&&ZM(e)}}function nN(e,t){$k(e,`grouping`,t)}function rN(e,t){nN(e,t?[]:Gk(e.initialState.grouping??[]))}function iN(e){return!!e.groupingColumnId}function aN(e,t){if(e._groupingValuesCache&&Kk(e._groupingValuesCache,t))return e._groupingValuesCache[t];let n=e.table.getColumn(t);return n.columnDef.getGroupingValue?(e._groupingValuesCache&&(e._groupingValuesCache[t]=n.columnDef.getGroupingValue(e.original,e.index,e)),e._groupingValuesCache?.[t]):e.getValue(t)}function oN(e){let t=e.row;return $M(e.column)&&e.column.id===t.groupingColumnId}function sN(e){return!oN(e)&&$M(e.column)}var cN={getInitialState:e=>({grouping:XM(),...e}),getDefaultTableOptions:e=>({onGroupingChange:qk(`grouping`,e),groupedColumnMode:`reorder`}),assignCellPrototype:(e,t)=>{sA(`columnGroupingFeature`,e,t,{cell_getIsGrouped:{fn:e=>oN(e)},cell_getIsPlaceholder:{fn:e=>sN(e)}})},assignColumnPrototype:(e,t)=>{sA(`columnGroupingFeature`,e,t,{column_toggleGrouping:{fn:e=>ZM(e)},column_getCanGroup:{fn:e=>QM(e)},column_getIsGrouped:{fn:e=>$M(e)},column_getGroupedIndex:{fn:e=>eN(e)},column_getToggleGroupingHandler:{fn:e=>tN(e)}})},assignRowPrototype:(e,t)=>{sA(`columnGroupingFeature`,e,t,{row_getIsGrouped:{fn:e=>iN(e)},row_getGroupingValue:{fn:(e,t)=>aN(e,t)}})},initRowInstanceData:e=>{e._groupingValuesCache=Z()},constructTableAPIs:e=>{oA(`columnGroupingFeature`,e,{table_setGrouping:{fn:t=>nN(e,t)},table_resetGrouping:{fn:t=>rN(e,t)}})}},lN={getInitialState:e=>({columnPinning:{...BA(),...e.columnPinning},...e}),getDefaultTableOptions:e=>({onColumnPinningChange:qk(`columnPinning`,e)}),assignColumnPrototype:(e,t)=>{sA(`columnPinningFeature`,e,t,{column_pin:{fn:(e,t)=>VA(e,t)},column_getCanPin:{fn:e=>HA(e)},column_getPinnedIndex:{fn:e=>WA(e)},column_getIsPinned:{fn:e=>UA(e)}})},assignRowPrototype:(e,t)=>{sA(`columnPinningFeature`,e,t,{row_getCenterVisibleCells:{fn:e=>GA(e),memoDeps:e=>[e.getAllCells(),e.table.atoms.columnPinning?.get(),e.table.atoms.columnVisibility?.get()]},row_getStartVisibleCells:{fn:e=>KA(e),memoDeps:e=>[e.getAllCells(),e.table.atoms.columnPinning?.get()?.start,e.table.atoms.columnVisibility?.get()]},row_getEndVisibleCells:{fn:e=>qA(e),memoDeps:e=>[e.getAllCells(),e.table.atoms.columnPinning?.get()?.end,e.table.atoms.columnVisibility?.get()]}})},constructTableAPIs:e=>{oA(`columnPinningFeature`,e,{table_setColumnPinning:{fn:t=>JA(e,t)},table_resetColumnPinning:{fn:t=>YA(e,t)},table_getIsSomeColumnsPinned:{fn:t=>XA(e,t)},table_getStartHeaderGroups:{fn:()=>ZA(e),memoDeps:()=>[e.getAllColumns(),Q(e,`getVisibleLeafColumns`,wA),e.atoms.columnPinning?.get()?.start,e.atoms.columnOrder?.get()]},table_getCenterHeaderGroups:{fn:()=>$A(e),memoDeps:()=>[e.getAllColumns(),Q(e,`getVisibleLeafColumns`,wA),e.atoms.columnPinning?.get(),e.atoms.columnOrder?.get()]},table_getEndHeaderGroups:{fn:()=>QA(e),memoDeps:()=>[e.getAllColumns(),Q(e,`getVisibleLeafColumns`,wA),e.atoms.columnPinning?.get()?.end,e.atoms.columnOrder?.get()]},table_getStartFooterGroups:{fn:()=>ej(e),memoDeps:()=>[Q(e,`getStartHeaderGroups`,ZA)]},table_getCenterFooterGroups:{fn:()=>nj(e),memoDeps:()=>[Q(e,`getCenterHeaderGroups`,$A)]},table_getEndFooterGroups:{fn:()=>tj(e),memoDeps:()=>[Q(e,`getEndHeaderGroups`,QA)]},table_getStartFlatHeaders:{fn:()=>rj(e),memoDeps:()=>[Q(e,`getStartHeaderGroups`,ZA)]},table_getEndFlatHeaders:{fn:()=>ij(e),memoDeps:()=>[Q(e,`getEndHeaderGroups`,QA)]},table_getCenterFlatHeaders:{fn:()=>aj(e),memoDeps:()=>[Q(e,`getCenterHeaderGroups`,$A)]},table_getStartLeafHeaders:{fn:()=>oj(e),memoDeps:()=>[Q(e,`getStartHeaderGroups`,ZA)]},table_getEndLeafHeaders:{fn:()=>sj(e),memoDeps:()=>[Q(e,`getEndHeaderGroups`,QA)]},table_getCenterLeafHeaders:{fn:()=>cj(e),memoDeps:()=>[Q(e,`getCenterHeaderGroups`,$A)]},table_getStartLeafColumns:{fn:()=>lj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getEndLeafColumns:{fn:()=>uj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getCenterLeafColumns:{fn:()=>dj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getPinnedLeafColumns:{fn:t=>fj(e,t)},table_getStartVisibleLeafColumns:{fn:()=>pj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getCenterVisibleLeafColumns:{fn:()=>hj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getEndVisibleLeafColumns:{fn:()=>mj(e),memoDeps:()=>[e.options.columns,e.atoms.columnPinning?.get(),e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_getPinnedVisibleLeafColumns:{fn:t=>gj(e,t)}})}};function uN(){return Z()}function dN(){return{size:150,minSize:20,maxSize:2**53-1}}function fN(e){let t=dN(),n=e.table.atoms.columnSizing?.get(),r=n&&Kk(n,e.id)?n[e.id]:void 0;return Math.min(Math.max(e.columnDef.minSize??t.minSize,r??e.columnDef.size??t.size),e.columnDef.maxSize??t.maxSize)}function pN(e){let t=Z(),n=Z(),r=Array(e.length),i=0;for(let n=0;n<e.length;n++){let a=e[n],o=Q(a,`getSize`,fN);r[n]=o,t[a.id]=i,i+=o}let a=0;for(let t=e.length-1;t>=0;t--)n[e[t].id]=a,a+=r[t];return{starts:t,afters:n}}function mN(e){return{all:pN(gj(e)),center:pN(gj(e,`center`)),start:pN(gj(e,`start`)),end:pN(gj(e,`end`))}}function hN(e){return e===`start`?`start`:e===`end`?`end`:e===`center`?`center`:`all`}function gN(e,t){return Q(e.table,`getColumnOffsets`,mN)[hN(t)].starts[e.id]??0}function _N(e,t){return Q(e.table,`getColumnOffsets`,mN)[hN(t)].afters[e.id]??0}function vN(e){SN(e.table,t=>{let n=Z(),r=Object.keys(t);for(let i=0;i<r.length;i++){let a=r[i];a!==e.id&&(n[a]=t[a])}return n})}function yN(e){if(!e.subHeaders.length)return fN(e.column);let t=0;for(let n=0;n<e.subHeaders.length;n++)t+=yN(e.subHeaders[n]);return t}function bN(e){return yN(e)}function xN(e){if(e.index>0){let t=e.headerGroup?.headers[e.index-1];if(t)return Q(t,`getStart`,xN)+Q(t,`getSize`,bN)}return 0}function SN(e,t){e.options.onColumnSizingChange?.(t)}function CN(e,t){SN(e,t?Z():Object.assign(Z(),Gk(e.initialState.columnSizing??{})))}function wN(e){return e.getHeaderGroups()[0]?.headers.reduce((e,t)=>e+bN(t),0)??0}function TN(e){return Q(e,`getStartHeaderGroups`,ZA)[0]?.headers.reduce((e,t)=>e+bN(t),0)??0}function EN(e){return Q(e,`getCenterHeaderGroups`,$A)[0]?.headers.reduce((e,t)=>e+bN(t),0)??0}function DN(e){return Q(e,`getEndHeaderGroups`,QA)[0]?.headers.reduce((e,t)=>e+bN(t),0)??0}function ON(){return{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}}function kN(e){return(e.columnDef.enableResizing??!0)&&(e.table.options.enableColumnResizing??!0)}function AN(e){return e.table.atoms.columnResizing?.get()?.isResizingColumn===e.id}function jN(e,t){let n=e.table.getColumn(e.column.id),r=kN(n);return i=>{if(!r||IN(i)&&i.touches.length>1)return;let a=bN(e),o=e.getLeafHeaders().map(e=>[e.column.id,fN(e.column)]),s=IN(i)?Math.round(i.touches[0].clientX):i.clientX,c=Z(),l=(e,t)=>{if(typeof t!=`number`)return;let r=n.table,i=r.options.columnResizeMode===`onChange`||e===`end`;r._reactivity.batch(()=>{MN(r,e=>{let n=r.options.columnResizeDirection===`rtl`?-1:1,a=(t-(e.startOffset??0))*n,o=e.startSize??0,s=Math.max(o>0?a/o:0,-.999999);if(i){let t=e.columnSizingStart;for(let e=0;e<t.length;e++){let n=t[e],r=n[1];c[n[0]]=Math.round(Math.max(r>0?r+r*s:a/t.length,0)*100)/100}}return{...e,deltaOffset:a,deltaPercentage:s}}),i&&SN(r,e=>Object.assign(Z(),e,c))})},u=null,d=!1,f,p=()=>{d?(d=!1,l(`move`,f),u=requestAnimationFrame(p)):u=null},m=e=>{if(f=e,typeof requestAnimationFrame!=`function`){l(`move`,e);return}if(u!==null){d=!0;return}l(`move`,e),u=requestAnimationFrame(p)},h=e=>{u!==null&&(cancelAnimationFrame(u),u=null,d=!1),n.table._reactivity.batch(()=>{l(`end`,e??f),MN(n.table,e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))})},g=t||(typeof document<`u`?document:null),_={moveHandler:e=>m(e.clientX),upHandler:e=>{g?.removeEventListener(`mousemove`,_.moveHandler),g?.removeEventListener(`mouseup`,_.upHandler),h(e.clientX)}},v={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),m(e.touches[0].clientX),!1),upHandler:e=>{y(),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(e.touches[0]?.clientX)},cancelHandler:()=>{y(),h()}},y=()=>{g?.removeEventListener(`touchmove`,v.moveHandler),g?.removeEventListener(`touchend`,v.upHandler),g?.removeEventListener(`touchcancel`,v.cancelHandler)},b=FN()?{passive:!1}:!1;IN(i)?(g?.addEventListener(`touchmove`,v.moveHandler,b),g?.addEventListener(`touchend`,v.upHandler,b),g?.addEventListener(`touchcancel`,v.cancelHandler,b)):(g?.addEventListener(`mousemove`,_.moveHandler,b),g?.addEventListener(`mouseup`,_.upHandler,b)),MN(n.table,e=>({...e,startOffset:s,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:o,isResizingColumn:n.id}))}}function MN(e,t){e.options.onColumnResizingChange?.(t)}function NN(e,t){MN(e,t?ON():Gk(e.initialState.columnResizing??ON()))}var PN=null;function FN(){if(typeof PN==`boolean`)return PN;let e=!1;try{let t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener(`test`,n,t),window.removeEventListener(`test`,n)}catch{e=!1}return PN=e,PN}function IN(e){return e.type===`touchstart`}var LN={getInitialState:e=>({columnResizing:ON(),...e}),getDefaultTableOptions:e=>({columnResizeMode:`onEnd`,columnResizeDirection:`ltr`,onColumnResizingChange:qk(`columnResizing`,e)}),assignColumnPrototype:(e,t)=>{sA(`columnResizingFeature`,e,t,{column_getCanResize:{fn:e=>kN(e)},column_getIsResizing:{fn:e=>AN(e)}})},assignHeaderPrototype:(e,t)=>{sA(`columnResizingFeature`,e,t,{header_getResizeHandler:{fn:(e,t)=>jN(e,t)}})},constructTableAPIs:e=>{oA(`columnResizingFeature`,e,{table_setColumnResizing:{fn:t=>MN(e,t)},table_resetHeaderSizeInfo:{fn:t=>NN(e,t)}})}},RN={getInitialState:e=>({columnSizing:uN(),...e}),getDefaultColumnDef:()=>dN(),getDefaultTableOptions:e=>({onColumnSizingChange:qk(`columnSizing`,e)}),assignColumnPrototype:(e,t)=>{sA(`columnSizingFeature`,e,t,{column_getSize:{fn:e=>fN(e),memoDeps:e=>[t.options.columns,t.atoms.columnSizing?.get()?.[e.id]]},column_getStart:{fn:(e,t)=>gN(e,t)},column_getAfter:{fn:(e,t)=>_N(e,t)},column_resetSize:{fn:e=>vN(e)}})},assignHeaderPrototype:(e,t)=>{sA(`columnSizingFeature`,e,t,{header_getSize:{fn:e=>bN(e),memoDeps:e=>[t.options.columns,e.column.columns.length>0?t.atoms.columnSizing?.get():t.atoms.columnSizing?.get()?.[e.column.id]]},header_getStart:{fn:e=>xN(e),memoDeps:()=>[t.options.columns,t.atoms.columnSizing?.get(),t.atoms.columnOrder?.get(),t.atoms.columnPinning?.get(),t.atoms.columnVisibility?.get(),t.atoms.grouping?.get(),t.options.groupedColumnMode]}})},constructTableAPIs:e=>{oA(`columnSizingFeature`,e,{table_getColumnOffsets:{fn:()=>mN(e),memoDeps:()=>[e.options.columns,e.atoms.columnSizing?.get(),e.atoms.columnOrder?.get(),e.atoms.columnPinning?.get(),e.atoms.columnVisibility?.get(),e.atoms.grouping?.get(),e.options.groupedColumnMode]},table_setColumnSizing:{fn:t=>SN(e,t)},table_resetColumnSizing:{fn:t=>CN(e,t)},table_getTotalSize:{fn:()=>wN(e),memoDeps:()=>[e.atoms.columnSizing?.get(),e.getHeaderGroups()]},table_getStartTotalSize:{fn:()=>TN(e),memoDeps:()=>[e.atoms.columnSizing?.get(),e.getHeaderGroups()]},table_getCenterTotalSize:{fn:()=>EN(e),memoDeps:()=>[e.atoms.columnSizing?.get(),e.getHeaderGroups()]},table_getEndTotalSize:{fn:()=>DN(e),memoDeps:()=>[e.atoms.columnSizing?.get(),e.getHeaderGroups()]}})}},zN={getInitialState:e=>({columnVisibility:_A(),...e}),getDefaultTableOptions:e=>({onColumnVisibilityChange:qk(`columnVisibility`,e)}),assignColumnPrototype:(e,t)=>{sA(`columnVisibilityFeature`,e,t,{column_getIsVisible:{fn:e=>$(e),memoDeps:e=>[t.options.columns,t.atoms.columnVisibility?.get(),e.columns]},column_getCanHide:{fn:e=>yA(e)},column_getToggleVisibilityHandler:{fn:e=>bA(e)},column_toggleVisibility:{fn:(e,t)=>vA(e,t)}})},assignRowPrototype:(e,t)=>{sA(`columnVisibilityFeature`,e,t,{row_getVisibleCells:{fn:e=>xA(e),memoDeps:e=>[e.getAllCells(),t.atoms.columnPinning?.get(),t.atoms.columnVisibility?.get()]},row_getVisibleCellsByColumnId:{fn:e=>SA(e),memoDeps:e=>[e.getAllCells(),t.atoms.columnVisibility?.get()]}})},constructTableAPIs:e=>{oA(`columnVisibilityFeature`,e,{table_getVisibleFlatColumns:{fn:()=>CA(e),memoDeps:()=>[e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.columns,e.options.groupedColumnMode]},table_getVisibleLeafColumns:{fn:()=>wA(e),memoDeps:()=>[e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),e.options.columns,e.options.groupedColumnMode]},table_setColumnVisibility:{fn:t=>TA(e,t)},table_resetColumnVisibility:{fn:t=>EA(e,t)},table_toggleAllColumnsVisible:{fn:t=>DA(e,t)},table_getIsAllColumnsVisible:{fn:()=>OA(e)},table_getIsSomeColumnsVisible:{fn:()=>kA(e)},table_getToggleAllColumnsVisibilityHandler:{fn:()=>AA(e)}})}},BN={getInitialState:e=>({expanded:Gj(),...e}),getDefaultTableOptions:e=>({onExpandedChange:qk(`expanded`,e),paginateExpandedRows:!0}),assignRowPrototype:(e,t)=>{sA(`rowExpandingFeature`,e,t,{row_toggleExpanded:{fn:(e,t)=>tM(e,t)},row_getIsExpanded:{fn:e=>nM(e)},row_getCanExpand:{fn:e=>iM(e)},row_getIsAllParentsExpanded:{fn:e=>aM(e)},row_getToggleExpandedHandler:{fn:e=>oM(e)}})},constructTableAPIs:e=>{oA(`rowExpandingFeature`,e,{table_autoResetExpanded:{fn:()=>Kj(e)},table_setExpanded:{fn:t=>qj(e,t)},table_toggleAllRowsExpanded:{fn:t=>Jj(e,t)},table_resetExpanded:{fn:t=>Yj(e,t)},table_getCanSomeRowsExpand:{fn:()=>Xj(e)},table_getToggleAllRowsExpandedHandler:{fn:()=>Zj(e)},table_getIsSomeRowsExpanded:{fn:()=>Qj(e)},table_getIsAllRowsExpanded:{fn:()=>$j(e)},table_getExpandedDepth:{fn:()=>eM(e)}})}};function VN(e){return!!e&&typeof e==`object`&&`aggregate`in e}function HN(e){return!!e&&typeof e==`object`&&`id`in e&&`aggregationFn`in e}function UN(e){process.env.NODE_ENV===`development`&&console.warn(e)}function WN(e){return e===void 0||Number.isNaN(e)?0:Math.max(0,Math.floor(e))}function GN(e,t,n,r,i){if(e.subRows.length&&t<n){for(let a=0;a<e.subRows.length;a++)GN(e.subRows[a],t+1,n,r,i);return}r.has(e.id)||(r.add(e.id),i.push(e))}function KN(e,t,n,r){if(e.subRows.length&&t<n){for(let i=0;i<e.subRows.length;i++)KN(e.subRows[i],t+1,n,r);return}r.push(e)}function qN(e,t=0){let n=[],r=new Set,i=WN(t);for(let t=0;t<e.length;t++)GN(e[t],0,i,r,n);return n}function JN(e,t=0){let n=WN(t),r=!1;if(n>0){for(let t=0;t<e.length;t++)if(e[t].subRows.length){r=!0;break}}if(!r)return e;let i=[];for(let t=0;t<e.length;t++)KN(e[t],0,n,i);return i}function YN(e){if(typeof e==`number`)return`sum`;if(e instanceof Date&&!Number.isNaN(e.getTime()))return`extent`}function XN(e){let t=e.table.getCoreRowModel().flatRows[0]?.getValue(e.id),n=YN(t);if(!n)return;let r=e.table._rowModelFns.aggregationFns?.[n];return r||UN(`aggregationFn '${n}' (auto) for column '${e.id}' is not registered`),r}function ZN(e,t){if(VN(t))return t;if(t===`auto`)return XN(e);let n=e.table._rowModelFns.aggregationFns?.[t];return n||UN(`aggregationFn '${String(t)}' for column '${e.id}' is not registered`),n}function QN(e){let t=e.columnDef.aggregationFn,n=e.table._rowModelFns.aggregationFns,r=e.table.getCoreRowModel(),i=e._resolvedAggregationFnsCache;if(i&&i.option===t&&i.registry===n&&i.coreRowModel===r)return i.value;let a=i=>(e._resolvedAggregationFnsCache={coreRowModel:r,option:t,registry:n,value:i},i);if(t==null)return a([]);if(!Array.isArray(t))return a([{aggregationFn:ZN(e,t),id:typeof t==`string`?t:void 0}]);let o=Z();for(let e=0;e<t.length;e++){let n=t[e],r=typeof n==`string`?n:HN(n)?n.id:void 0;r!==void 0&&(o[r]=(o[r]??0)+1)}let s=[];for(let n=0;n<t.length;n++){let r=t[n],i=typeof r==`string`?r:HN(r)?r.id:void 0;if(i===void 0){UN(`aggregationFn at index ${n} for column '${e.id}' needs a stable id`),s.push({aggregationFn:void 0,id:void 0});continue}if(o[i]>1){UN(`aggregationFn id '${i}' for column '${e.id}' is duplicated`),s.push({aggregationFn:void 0,id:i});continue}let a=HN(r)?r.aggregationFn:r;s.push({aggregationFn:ZN(e,a),id:i})}return a(s)}function $N(e,t,n){if(!t)return e;if(!(!n||!e||typeof e!=`object`))return Kk(e,n)?e[n]:void 0}function eP(e){let{subRows:t,column:n,groupingRow:r,rows:i,uniqueRows:a}=e,o=n,s=WN(e.maxDepth??o.columnDef.maxAggregationDepth),c=a?JN(i,s):qN(i,s),l=QN(o),u=Array.isArray(o.columnDef.aggregationFn),d=!!t?.length&&t.every(e=>!!e.groupingColumnId&&e.groupingColumnId!==n.id),f=e=>e.getValue(n.id),p=e=>{let i=e.aggregationFn;if(!i)return;let a={...t?{subRows:t}:{},column:n,columnId:n.id,getValue:f,...r?{groupingRow:r}:{},maxDepth:s,rows:c,table:n.table};return d&&i.merge?i.merge({...a,subRowResults:t.map(t=>$N(t.getValue(n.id),u,e.id)),subRows:t}):i.aggregate(a)};if(!u)return l[0]?p(l[0]):void 0;let m=Z();for(let e=0;e<l.length;e++){let t=l[e];t.id!==void 0&&(m[t.id]=p(t))}return m}function tP(){return e=>{let t=e,n=!1,r,i;return iA({feature:`columnGroupingFeature`,table:t,fnName:`table.getGroupedRowModel`,memoDeps:()=>[t.atoms.grouping?.get(),t.getPreGroupedRowModel(),t.options.columns],fn:()=>nP(t),onAfterUpdate:()=>{let e=t.atoms.grouping?.get(),a=t.getPreGroupedRowModel(),o=n&&(e!==r||a!==i);r=e,i=a,n=!0,o&&(Kj(t),cM(t))}})}}function nP(e){let t=e.getPreGroupedRowModel(),n=e.atoms.grouping?.get();if(!t.rows.length||!n?.length)return rP(t.rows,0,void 0),t;let r=n.filter(t=>Aj(e,t)),i=[],a=Z(),o=(t,n=0,s)=>{if(n>=r.length)return t.map(e=>{if(e.depth=n,e.subRows.length){e.subRows=o(e.subRows,n+1,e.id);for(let t=0;t<e.subRows.length;t++){let n=e.subRows[t];i.push(n),a[n.id]=n}}return e});let c=r[n],l=iP(e,t,c);return Array.from(l.entries()).map(([t,l],u)=>{let d=`${c}:${t}`;d=s?`${s}>${d}`:d;let f=o(l,n+1,d);f.forEach(e=>{e.parentId=d});let p=JN(l,1/0),m=Vj(e,d,p[0].original,u,n,void 0,s);return Object.assign(m,{groupingColumnId:c,groupingValue:t,subRows:f,leafRows:p,getValue:t=>{let i=r.indexOf(t);if(i!==-1&&i<=n)return Kk(m._valuesCache,t)||l[0]&&(m._valuesCache[t]=l[0].getValue(t)??void 0),m._valuesCache[t];let a=m._aggregationValuesCache;if(a&&Kk(a,t))return a[t];let o=e.getColumn(t);if(typeof o.getAggregationFns!=`function`)return;let s=m._aggregationValuesCache??=Z();return s[t]=eP({subRows:f,column:o,groupingRow:m,rows:l,uniqueRows:!0}),s[t]}}),f.forEach(e=>{i.push(e),a[e.id]=e}),m})},s=o(t.rows,0);return s.forEach(e=>{i.push(e),a[e.id]=e}),{rows:s,flatRows:i,rowsById:a}}function rP(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.depth=t,i.parentId=n,i.subRows.length&&rP(i.subRows,t+1,i.id)}}function iP(e,t,n){let r=new Map,i=Aj(e,n)?.columnDef.getGroupingValue;for(let e=0;e<t.length;e++){let a=t[e],o;if(i){let e=a._groupingValuesCache;e&&Kk(e,n)?o=e[n]:e&&(o=e[n]=i(a.original,a.index,a))}else o=a.getValue(n);let s=`${o}`,c=r.get(s);c?c.push(a):r.set(s,[a])}return r}function aP(){return e=>{let t=e;return iA({feature:`rowExpandingFeature`,table:t,fnName:`table.getExpandedRowModel`,memoDeps:()=>[t.atoms.expanded?.get(),t.getPreExpandedRowModel(),t.options.paginateExpandedRows,t.options.manualPagination],fn:()=>oP(t)})}}function oP(e){let t=e.getPreExpandedRowModel(),n=e.atoms.expanded?.get();return!t.rows.length||n!==!0&&!Object.keys(n??{}).length||!e.options.paginateExpandedRows&&!e.options.manualPagination?t:sP(t)}function sP(e){let t=[],n=e=>{t.push(e),e.subRows.length&&nM(e)&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function cP(e){let t={};for(let n of Object.keys(e))t[n]=(0,f.unref)(e[n]);return Lk(e,t)}function lP(e){return Object.keys(e).map(t=>(0,f.unref)(e[t]))}function uP(e){let t=(e,t)=>{e.setOptions(e=>Rk(e,cP(t)))},n=Hk(),r=Lk(e,{features:{coreReactivityFeature:n,...(0,f.unref)(e.features)??{}}}),i=YM(Lk(cP(r),{mergeOptions:(e,t)=>Rk(e,t)})),a=i;return(0,f.getCurrentScope)()&&(0,f.onScopeDispose)(()=>n.unmount?.()),(0,f.watch)(()=>lP(r),()=>{t(i,r)},{immediate:!0}),(0,f.watch)(()=>{let t=(0,f.unref)(e.state),n=(0,f.unref)(e.atoms);if(!t)return[];let r=[];for(let e of Object.keys(a.initialState))!(e in t)||n?.[e]!==void 0||r.push(t[e]);return r},e=>{e.length>0&&t(i,r)},{immediate:!0}),a.Subscribe=e=>e.children(a.atoms),a}var dP=[`aria-label`,`tabindex`],fP=(0,f.defineComponent)({__name:`DataTableRowClickCatcher`,props:{isRowLevel:{type:Boolean,default:!1},ariaLabel:{default:null},click:{default:null},model:{default:null}},setup(e){let t=e;return(e,n)=>t.click?.type===`link`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(y.RouterLink),{key:0,to:t.click.to,"aria-label":t.ariaLabel??void 0,tabindex:t.isRowLevel?void 0:-1,class:(0,f.normalizeClass)([{"pointer-events-none outline-none":t.isRowLevel},`absolute inset-0 z-0`])},null,8,[`to`,`aria-label`,`tabindex`,`class`])):t.click?.type===`action`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:1,action:t.click.action,"is-current-context-only":!0,models:t.model===null?[]:[t.model]},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{"aria-label":t.ariaLabel??void 0,tabindex:t.isRowLevel?void 0:-1,class:(0,f.normalizeClass)([{"pointer-events-none outline-none":t.isRowLevel},`absolute inset-0 z-0`]),type:`button`},null,10,dP)]),_:1},8,[`action`,`models`])):(0,f.createCommentVNode)(``,!0)}}),[pP,mP]=z(`dataTableContext`);function hP(e){let{leftStickyBorderColumnId:t,leftStickyOffsetPxByColumnId:n,rightStickyBorderColumnId:r,rightStickyOffsetPxByColumnId:i,isScrolledFromLeft:a,isScrolledFromRight:o}=mP(),s=(0,f.computed)(()=>e.value===null?null:n.value.get(e.value)??null),c=(0,f.computed)(()=>e.value===null?null:i.value.get(e.value)??null),l=(0,f.computed)(()=>s.value!==null),u=(0,f.computed)(()=>c.value!==null);return{hasLeftBorder:(0,f.computed)(()=>e.value!==null&&e.value===t.value&&a.value),hasRightBorder:(0,f.computed)(()=>e.value!==null&&e.value===r.value&&o.value),isStickyLeft:l,isStickyRight:u,leftOffsetPx:s,rightOffsetPx:c}}var gP=(0,f.defineComponent)({__name:`DataTableCell`,props:{columnId:{default:null},model:{default:null},onRowClick:{default:null}},setup(e){let t=e,{hasLeftBorder:n,hasRightBorder:r,isStickyLeft:i,isStickyRight:a,leftOffsetPx:o,rightOffsetPx:s}=hP((0,f.toRef)(t,`columnId`)),{getColumnJustifyContent:c}=mP(),l=(0,f.computed)(()=>HO.getJustifyContentClass(c(t.columnId)));return(e,c)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({left:(0,f.unref)(i)?`${(0,f.unref)(o)}px`:void 0,right:(0,f.unref)(a)?`${(0,f.unref)(s)}px`:void 0}),class:(0,f.normalizeClass)([{"sticky z-2":(0,f.unref)(i)||(0,f.unref)(a),"border-r border-secondary":(0,f.unref)(i)&&(0,f.unref)(n),"border-l border-secondary":(0,f.unref)(a)&&(0,f.unref)(r)},`relative flex h-10 items-center overflow-hidden bg-primary px-xl text-xs text-primary group-hover/row:bg-primary-hover group-has-focus-visible/row:bg-primary-hover`]),role:`cell`},[(0,f.createVNode)(fP,{click:t.onRowClick,model:t.model},null,8,[`click`,`model`]),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([l.value,`pointer-events-none relative z-1 flex size-full items-center`])},[(0,f.renderSlot)(e.$slots,`default`)],2)],6))}}),_P=(0,f.defineComponent)({__name:`DataTableCheckboxCell`,props:{isChecked:{type:Boolean},isIndeterminate:{type:Boolean}},emits:[`dragSelectionStart`,`toggle`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{hasCheckboxOwnStickyBorder:a,isLeadingStickyRegionActive:o,isScrolledFromLeft:s,leadingStickyOffsetsPx:c}=mP(),l=(0,f.computed)(()=>a.value&&s.value),u=(0,f.shallowRef)(!1);function d(e){u.value=e.shiftKey}function p(){r(`toggle`,u.value)}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({left:(0,f.unref)(o)?`${(0,f.unref)(c).checkbox}px`:void 0}),class:(0,f.normalizeClass)([{"sticky z-2":(0,f.unref)(o),"border-r border-secondary":l.value},`flex h-10 items-center overflow-hidden bg-primary px-xl text-xs text-primary group-hover/row:bg-primary-hover group-has-focus-visible/row:bg-primary-hover`]),role:`cell`,onPointerdown:t[0]||=e=>r(`dragSelectionStart`,e)},[(0,f.createVNode)(oD,{"model-value":n.isChecked,"is-indeterminate":n.isIndeterminate??!1,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.data_table.row.toggle_selection_action.name`),onClickCapture:d,"onUpdate:modelValue":p},null,8,[`model-value`,`is-indeterminate`,`label`])],38))}}),vP=[`aria-label`],yP=(0,f.defineComponent)({__name:`DataTableExpandCell`,props:{isExpanded:{type:Boolean},canExpand:{type:Boolean}},emits:[`toggle`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{hasExpandOwnStickyBorder:a,isLeadingStickyRegionActive:o,isScrolledFromLeft:s,leadingStickyOffsetsPx:c}=mP(),l=(0,f.computed)(()=>n.isExpanded?i.t(`component.data_table.expand_cell.collapse_label`):i.t(`component.data_table.expand_cell.expand_label`)),u=(0,f.computed)(()=>a.value&&s.value);return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({left:(0,f.unref)(o)?`${(0,f.unref)(c).expand}px`:void 0}),class:(0,f.normalizeClass)([{"sticky z-2":(0,f.unref)(o),"border-r border-secondary":u.value},`flex h-10 items-center justify-center overflow-hidden bg-primary px-sm text-xs text-primary group-hover/row:bg-primary-hover group-has-focus-visible/row:bg-primary-hover`]),role:`cell`},[n.canExpand?((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:0,"aria-label":l.value,class:`flex size-6 shrink-0 items-center justify-center rounded-sm outline-none hover:bg-secondary-hover focus-visible:bg-tertiary`,type:`button`,onClick:t[0]||=e=>r(`toggle`)},[(0,f.createVNode)((0,f.unref)(yn),{class:(0,f.normalizeClass)([{"rotate-90":n.isExpanded},`size-3.5 text-tertiary duration-150`])},null,8,[`class`])],8,vP)):(0,f.createCommentVNode)(``,!0)],6))}}),bP=(0,f.defineComponent)({__name:`DataTableRowActionsCell`,props:{inlineActions:{},model:{},moreActions:{}},setup(e){let t=e,n=(0,g.useI18n)(),{isScrolledFromRight:r}=mP();return(e,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"border-l border-secondary":(0,f.unref)(r)},`sticky right-0 z-2 flex h-10 items-center justify-end gap-xxs bg-primary px-xl not-has-data-[state=open]:group-hover/row:bg-primary-hover group-has-focus-visible/row:bg-primary-hover`]),role:`cell`,"data-row-actions":``},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.inlineActions,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:e.id,action:e,"is-current-context-only":!0,models:t.model===null?[]:[t.model]},{default:(0,f.withCtx)(({icon:e,isExecuting:t,label:n})=>[e===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Y),{key:0,icon:e,"is-loading":t,"is-tooltip-disabled":!1,label:n,size:`sm`,variant:`tertiary`,class:`pointer-events-auto`},null,8,[`icon`,`is-loading`,`label`]))]),_:1},8,[`action`,`models`]))),128)),t.moreActions.length>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(yc),{key:0,actions:t.moreActions,"is-current-context-only":!0,models:t.model===null?[]:[t.model],"popover-align":`end`,"popover-side":`bottom`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(zn),"is-tooltip-disabled":!0,label:(0,f.unref)(n).t(`component.data_table.row_actions_cell.label`),size:`sm`,variant:`tertiary`,class:`pointer-events-auto`},null,8,[`icon`,`label`])]),_:1},8,[`actions`,`models`])):(0,f.createCommentVNode)(``,!0)],2))}}),xP=(0,f.defineComponent)({__name:`DataTableRow`,props:{hasRowActions:{type:Boolean,default:!1},isLast:{type:Boolean,default:!1},focusOnlyActions:{default:()=>[]},inlineActions:{default:()=>[]},model:{default:null},moreActions:{default:()=>[]},onRowClick:{default:null}},setup(e){let t=e,n=(0,g.useI18n)(),{variant:r}=mP(),i=(0,f.computed)(()=>t.inlineActions.concat(t.moreActions)),a=(0,f.computed)(()=>!t.isLast||r.value===`full-page`);return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(dc),{actions:i.value,"is-current-context-only":!0,models:t.model===null?[]:[t.model]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(bc),{actions:[...t.focusOnlyActions,...i.value],models:t.model===null?[]:[t.model]},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"border-b border-secondary has-[[data-row-actions]_[data-state=open]]:border-secondary/25 data-[state=open]:border-secondary/25":a.value},`group/row relative col-span-full grid grid-cols-subgrid bg-primary transition-[filter,opacity] duration-150 group-has-[[data-context-menu-trigger][data-state=open]]/body:opacity-25 group-has-[[data-row-actions]_[data-state=open]]/body:opacity-25 has-[[data-row-actions]_[data-state=open]]:opacity-100 data-[state=open]:opacity-100!`]),role:`row`},[(0,f.createVNode)(fP,{"is-row-level":!0,"aria-label":(0,f.unref)(n).t(`component.table.row.view_details_label`),click:t.onRowClick,model:t.model},null,8,[`aria-label`,`click`,`model`]),(0,f.renderSlot)(e.$slots,`default`),t.hasRowActions?((0,f.openBlock)(),(0,f.createBlock)(bP,{key:0,"inline-actions":t.inlineActions,model:t.model,"more-actions":t.moreActions},null,8,[`inline-actions`,`model`,`more-actions`])):(0,f.createCommentVNode)(``,!0)],2)]),_:3},8,[`actions`,`models`])]),_:3},8,[`actions`,`models`]))}}),SP={class:`col-span-full p-xl`},CP=(0,f.defineComponent)({__name:`DataTableSubComponentRow`,props:{isLast:{type:Boolean,default:!1}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"border-b border-secondary":!t.isLast},`col-span-full grid grid-cols-subgrid bg-secondary`]),role:`row`},[(0,f.createElementVNode)(`div`,SP,[(0,f.renderSlot)(e.$slots,`default`)])],2))}}),[wP,TP]=z(`listContext`),[EP,DP]=z(`listViewportContext`),OP=(0,f.defineComponent)({__name:`DataTableDataRow`,props:{hasRowActions:{type:Boolean},hasSubComponent:{type:Boolean},isSelectable:{type:Boolean},viewModel:{},visualColumnOrderIds:{}},emits:[`toggleSubComponent`],setup(e,{emit:t}){let n=e,r=t,{isKeySelected:i,toggleKey:a}=TP(),o=(0,f.computed)(()=>i(n.viewModel.row.id));function s(e){a(n.viewModel.row.id,e)}let c=DP(null);function l(e){c?.onDragSelectionPointerDown(n.viewModel.row.id,e)}let u=(0,f.computed)(()=>HO.toVisualColumnOrder(n.viewModel.row.getVisibleCells(),e=>e.column.id,n.visualColumnOrderIds)),d=(0,g.useI18n)(),m=(0,p.createAction)({id:`data-table-row-toggle-selection`,isApplicable:e=>n.isSelectable&&e.menuType===void 0,name:()=>d.t(`component.data_table.row.toggle_selection_action.name`),execute:()=>s(!1),keyboardShortcut:{key:`X`}});return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[(0,f.createVNode)(xP,{"focus-only-actions":[(0,f.unref)(m)],"has-row-actions":n.hasRowActions,"inline-actions":n.viewModel.rowConfig?.actions?.inline??[],"is-last":n.viewModel.isLast&&!n.viewModel.isSubComponentExpanded,model:n.viewModel.rowConfig?.model??null,"more-actions":n.viewModel.rowConfig?.actions?.more??[],"on-row-click":n.viewModel.rowConfig?.onClick??null},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(_P,{key:0,"is-checked":o.value,"data-list-item-key":n.viewModel.row.id,onDragSelectionStart:l,onToggle:s},null,8,[`is-checked`,`data-list-item-key`])):(0,f.createCommentVNode)(``,!0),n.hasSubComponent?((0,f.openBlock)(),(0,f.createBlock)(yP,{key:1,"can-expand":n.viewModel.canExpandSubComponent,"is-expanded":n.viewModel.isSubComponentExpanded,onToggle:t[0]||=e=>r(`toggleSubComponent`)},null,8,[`can-expand`,`is-expanded`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(u.value,e=>((0,f.openBlock)(),(0,f.createBlock)(gP,{key:e.column.id,"column-id":e.column.id,model:n.viewModel.rowConfig?.model??null,"on-row-click":n.viewModel.rowConfig?.onClick??null},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(jk),{cell:e},null,8,[`cell`])]),_:2},1032,[`column-id`,`model`,`on-row-click`]))),128))]),_:1},8,[`focus-only-actions`,`has-row-actions`,`inline-actions`,`is-last`,`model`,`more-actions`,`on-row-click`]),n.viewModel.isSubComponentExpanded?((0,f.openBlock)(),(0,f.createBlock)(CP,{key:0,"is-last":n.viewModel.isLast},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.viewModel.subComponent)))]),_:1},8,[`is-last`])):(0,f.createCommentVNode)(``,!0)],64))}}),kP=(0,f.defineComponent)({__name:`DataTableCellRenderer`,props:{cell:{}},setup(e){let t=e,n=(0,f.computed)(()=>t.cell.type===`custom`?t.cell.config.cellComponent(t.cell.value):null);return(e,r)=>t.cell.type===`text`?((0,f.openBlock)(),(0,f.createBlock)(Tk,(0,f.normalizeProps)((0,f.mergeProps)({key:0},t.cell)),null,16)):t.cell.type===`number`?((0,f.openBlock)(),(0,f.createBlock)(Ck,(0,f.normalizeProps)((0,f.mergeProps)({key:1},t.cell)),null,16)):t.cell.type===`timestamp`?((0,f.openBlock)(),(0,f.createBlock)(kk,(0,f.normalizeProps)((0,f.mergeProps)({key:2},t.cell)),null,16)):t.cell.type===`id`?((0,f.openBlock)(),(0,f.createBlock)(mk,(0,f.normalizeProps)((0,f.mergeProps)({key:3},t.cell)),null,16)):t.cell.type===`location`?((0,f.openBlock)(),(0,f.createBlock)(vk,(0,f.normalizeProps)((0,f.mergeProps)({key:4},t.cell)),null,16)):t.cell.type===`contactInfo`?((0,f.openBlock)(),(0,f.createBlock)(uk,(0,f.normalizeProps)((0,f.mergeProps)({key:5},t.cell)),null,16)):t.cell.type===`avatar`?((0,f.openBlock)(),(0,f.createBlock)(YO,(0,f.normalizeProps)((0,f.mergeProps)({key:6},t.cell)),null,16)):t.cell.type===`badge`?((0,f.openBlock)(),(0,f.createBlock)(XO,(0,f.normalizeProps)((0,f.mergeProps)({key:7},t.cell)),null,16)):t.cell.type===`badgeGroup`?((0,f.openBlock)(),(0,f.createBlock)(ZO,(0,f.normalizeProps)((0,f.mergeProps)({key:8},t.cell)),null,16)):t.cell.type===`currency`?((0,f.openBlock)(),(0,f.createBlock)(fk,(0,f.normalizeProps)((0,f.mergeProps)({key:9},t.cell)),null,16)):t.cell.type===`boolean`?((0,f.openBlock)(),(0,f.createBlock)(ek,(0,f.normalizeProps)((0,f.mergeProps)({key:10},t.cell)),null,16)):t.cell.type===`longText`?((0,f.openBlock)(),(0,f.createBlock)(xk,(0,f.normalizeProps)((0,f.mergeProps)({key:11},t.cell)),null,16)):n.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.value),{key:12}))}}),AP=(0,f.defineComponent)({__name:`DataTableGroupHeaderCell`,props:{columnId:{},cell:{},depth:{},gridColumnStart:{}},setup(e){let t=e,{hasLeftBorder:n,hasRightBorder:r,isStickyLeft:i,isStickyRight:a,leftOffsetPx:o,rightOffsetPx:s}=hP((0,f.toRef)(t,`columnId`)),{getColumnJustifyContent:c}=mP(),l=(0,f.computed)(()=>HO.getJustifyContentClass(c(t.columnId)));return(e,c)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({gridRow:1,gridColumnStart:t.gridColumnStart,left:(0,f.unref)(i)?`${(0,f.unref)(o)}px`:void 0,right:(0,f.unref)(a)?`${(0,f.unref)(s)}px`:void 0}),class:(0,f.normalizeClass)([[l.value,{"bg-secondary":t.depth===0,"bg-tertiary":t.depth>0,"sticky z-2":(0,f.unref)(i)||(0,f.unref)(a),"border-r border-secondary":(0,f.unref)(i)&&(0,f.unref)(n),"border-l border-secondary":(0,f.unref)(a)&&(0,f.unref)(r)}],`flex h-full min-w-0 items-center overflow-hidden px-xl text-xs text-primary`]),role:`cell`},[(0,f.createVNode)(kP,{cell:t.cell},null,8,[`cell`])],6))}}),jP={class:`pointer-events-none col-span-full col-start-1 row-start-1 flex items-center`},MP={key:0,class:`truncate text-xs font-medium text-secondary`},NP=(0,f.defineComponent)({__name:`DataTableGroupRow`,props:{isExpanded:{type:Boolean},isLast:{type:Boolean,default:!1},isSelectable:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},isSelectedIndeterminate:{type:Boolean,default:!1},cells:{default:()=>[]},depth:{default:0},label:{}},emits:[`toggle`,`toggleSelected`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{variant:a}=mP(),o=(0,f.computed)(()=>({paddingLeft:`${1+n.depth}rem`})),s=(0,f.computed)(()=>!n.isLast||a.value===`full-page`);return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"bg-secondary":n.depth===0,"bg-tertiary":n.depth>0,"border-b border-secondary":s.value},`col-span-full grid h-10 grid-cols-subgrid`]),role:`row`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.cells,e=>((0,f.openBlock)(),(0,f.createBlock)(AP,{key:e.columnId,cell:e.cell,"column-id":e.columnId,depth:n.depth,"grid-column-start":e.gridColumnStart},null,8,[`cell`,`column-id`,`depth`,`grid-column-start`]))),128)),(0,f.createElementVNode)(`div`,jP,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(o.value),class:(0,f.normalizeClass)([{"bg-secondary":n.depth===0,"bg-tertiary":n.depth>0},`pointer-events-auto sticky left-0 z-3 flex h-full w-max max-w-full items-center gap-xs pr-xl`])},[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":n.isSelected,"is-indeterminate":n.isSelectedIndeterminate,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.group.toggle_selection_label`),"onUpdate:modelValue":t[0]||=e=>r(`toggleSelected`)},null,8,[`model-value`,`is-indeterminate`,`label`])):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`button`,{class:`flex items-center gap-xs text-left outline-none focus-visible:bg-tertiary`,type:`button`,onClick:t[1]||=e=>r(`toggle`)},[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!n.isExpanded},`size-3.5 shrink-0 text-disabled`])},null,8,[`class`]),n.label===``?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,MP,(0,f.toDisplayString)(n.label),1)),(0,f.renderSlot)(e.$slots,`default`)])],6)])],2))}});function PP(e){let{getKeysSelectionState:t,toggleKeys:n}=TP(),r=(0,f.computed)(()=>t((0,f.toValue)(e)));return{isIndeterminate:(0,f.computed)(()=>r.value===`some`),isSelected:(0,f.computed)(()=>r.value===`all`),toggle:()=>n((0,f.toValue)(e))}}var FP=(0,f.defineComponent)({__name:`DataTableDesktopGroupHeader`,props:{isSelectable:{type:Boolean},viewModel:{}},setup(e){let t=e,{toggleGroupExpanded:n}=mP(),{isIndeterminate:r,isSelected:i,toggle:a}=PP(()=>t.viewModel.groupLeafKeys);return(e,o)=>((0,f.openBlock)(),(0,f.createBlock)(NP,{cells:t.viewModel.groupHeaderCells,depth:t.viewModel.row.depth,"is-expanded":t.viewModel.row.getIsExpanded(),"is-last":t.viewModel.isLast,"is-selectable":t.isSelectable,"is-selected":(0,f.unref)(i),"is-selected-indeterminate":(0,f.unref)(r),label:t.viewModel.groupLabelCell===null?t.viewModel.groupLabel:``,onToggle:o[0]||=e=>(0,f.unref)(n)(t.viewModel.row.id),onToggleSelected:(0,f.unref)(a)},{default:(0,f.withCtx)(()=>[t.viewModel.groupLabelCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:t.viewModel.groupLabelCell},null,8,[`cell`]))]),_:1},8,[`cells`,`depth`,`is-expanded`,`is-last`,`is-selectable`,`is-selected`,`is-selected-indeterminate`,`label`,`onToggleSelected`]))}});function IP(e,t){let n=[];for(let r of e){let e=n.at(-1),i=t(r);e!==void 0&&e.key===i?e.entries.push(r):n.push({entries:[r],key:i})}return n}function LP(e,t){return IP(e,e=>e.topLevelGroupRowId).map(e=>({key:e.key,subChunks:IP(e.entries,t)}))}function RP(e,t,n,r,i,a){if(r.some(e=>a(e)===n))return null;for(let r=e;r>=0;r--){let e=i(r);if(e.topLevelGroupRowId!==t)break;if(a(e)===n)return e}return null}function zP(e,t,n){let r=e.subChunks[0],i=r.entries[0],a=RP(i.index,e.key,0,r.entries,t,n),o=e.subChunks.map(r=>{let i=r.entries[0],a=RP(i.index,e.key,1,r.entries,t,n);return a===null?r:{...r,entries:[a,...r.entries]}});if(a===null)return{...e,subChunks:o};let[s,...c]=o;return{...e,subChunks:[{...s,entries:[a,...s.entries]},...c]}}function BP(e,t,n,r){return LP(e,r).map(e=>zP(e,t,n))}function VP(e){function t(n){let r=e.getRowAtIndex(n);return r.getIsGrouped()?r.getIsExpanded()?t(n+1):r.id:r.getParentRows().at(-1)?.id??r.id}function n(e){return e.getParentRows().at(0)?.id??e.id}function r(t,r){let i=e.getViewModelAtIndex(t);return{topLevelGroupRowId:n(i.row),index:t,key:r,viewModel:i}}let i=(0,f.computed)(()=>e.virtualItems.value.map(e=>r(e.index,String(e.key))));function a(e){return e.viewModel.isGrouped?e.viewModel.row.depth:null}let o=(0,f.computed)(()=>BP(i.value,t=>r(t,e.getRowAtIndex(t).id),a,e=>t(e.index)));function s(e){let t=[];for(let n of e.entries){if(!n.viewModel.isGrouped)break;t.push(n)}return t}function c(e){return e.entries.slice(s(e).length)}function l(e){let t=s(e.subChunks[0])[0];return t?.viewModel.row.depth===0?[t]:[]}function u(e){let t=s(e).find(e=>e.viewModel.row.depth>0);return t===void 0?[]:[t]}return{chunks:o,getChunkGroupHeaderEntry:l,getSubChunkDataRowEntries:c,getSubChunkSubgroupHeaderEntry:u,paddingBeforePx:(0,f.computed)(()=>{let t=o.value[0],n=i.value[0]?.index;if(t===void 0||n===void 0)return e.paddingBeforePxFromVirtualizer.value;let r=t.subChunks.flatMap(e=>s(e)).filter(e=>e.index<n).length;return e.paddingBeforePxFromVirtualizer.value-r*e.groupHeaderHeightPx})}}var HP={isFetchingNextPage:!1,isLoading:!1,isSelectable:!1,as:`div`,error:null,orderedKeys:null,totalCount:null,onNextPage:null},UP={hasSelectionBarInset:!0,isScrollRestorationEnabled:!1,as:`div`,count:null,estimateSize:48,getItemKey:null,infiniteScrollDistancePx:400,overscan:5,scrollRestorationKey:null,stickyHeaderHeightPx:0},WP={isMeasured:!0,itemAs:`div`,itemClass:null,items:null,spacerClass:null},GP={paddingAfterPx:null,paddingBeforePx:null,spacerClass:null},KP={as:`div`},qP={label:null},JP={label:null},YP={title:null,description:null,icon:null,illustration:null,primaryAction:null,secondaryAction:null},XP={rowCount:5},ZP={label:null},QP={actions:()=>[],getModel:null},$P=(0,f.defineComponent)({__name:`ListVirtualPadding`,props:(0,f.mergeDefaults)({paddingAfterPx:{},paddingBeforePx:{},spacerClass:{}},GP),setup(e){let t=e,n=DP(),r=(0,f.computed)(()=>t.paddingBeforePx??n.paddingBeforePx.value),i=(0,f.computed)(()=>t.paddingAfterPx??n.paddingAfterPx.value);return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[r.value>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,style:(0,f.normalizeStyle)({height:`${r.value}px`}),class:(0,f.normalizeClass)(t.spacerClass),"aria-hidden":`true`},null,6)):(0,f.createCommentVNode)(``,!0),(0,f.renderSlot)(e.$slots,`default`),i.value>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,style:(0,f.normalizeStyle)({height:`${i.value}px`}),class:(0,f.normalizeClass)(t.spacerClass),"aria-hidden":`true`},null,6)):(0,f.createCommentVNode)(``,!0)],64))}}),eF=[`data-index`],tF=[`data-index`],nF=[`data-index`],rF=(0,f.defineComponent)({__name:`DataTableDesktopGroupedBody`,props:{hasRowActions:{type:Boolean},hasSubComponent:{type:Boolean},isSelectable:{type:Boolean},rowViewModels:{},visualColumnOrderIds:{}},emits:[`toggleSubComponent`],setup(e,{emit:t}){let n=e,r=t,{measureElement:i,paddingBeforePx:a,virtualItems:o}=DP(),{chunks:s,getChunkGroupHeaderEntry:c,getSubChunkDataRowEntries:l,getSubChunkSubgroupHeaderEntry:u,paddingBeforePx:d}=VP({getRowAtIndex:e=>n.rowViewModels[e].row,getViewModelAtIndex:e=>n.rowViewModels[e],groupHeaderHeightPx:40,paddingBeforePxFromVirtualizer:a,virtualItems:o});return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)($P,{"padding-before-px":(0,f.unref)(d),"spacer-class":`col-span-full`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(s),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative col-span-full grid grid-cols-subgrid`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(c)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(i),"data-index":e.index,class:`sticky top-10 z-10 col-span-full grid grid-cols-subgrid`},[(0,f.createVNode)(FP,{"is-selectable":n.isSelectable,"view-model":e.viewModel},null,8,[`is-selectable`,`view-model`])],8,eF))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.subChunks,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative col-span-full grid grid-cols-subgrid`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(u)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(i),"data-index":e.index,class:`sticky top-20 z-5 col-span-full grid grid-cols-subgrid`},[(0,f.createVNode)(FP,{"is-selectable":n.isSelectable,"view-model":e.viewModel},null,8,[`is-selectable`,`view-model`])],8,tF))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(l)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(i),"data-index":e.index,class:`col-span-full grid grid-cols-subgrid`},[(0,f.createVNode)(OP,{"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-selectable":n.isSelectable,"view-model":e.viewModel,"visual-column-order-ids":n.visualColumnOrderIds,onToggleSubComponent:t=>r(`toggleSubComponent`,e.viewModel.row.id)},null,8,[`has-row-actions`,`has-sub-component`,`is-selectable`,`view-model`,`visual-column-order-ids`,`onToggleSubComponent`])],8,nF))),128))]))),128))]))),128))]),_:1},8,[`padding-before-px`]))}}),iF=(0,f.defineComponent)({__name:`DataTableHeaderFilter`,props:{filter:{}},setup(e){let t=e;function n(){t.filter.open()}return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Toggle),{"as-child":!0,"model-value":t.filter.isActive??!1,"onUpdate:modelValue":n},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{class:(0,f.normalizeClass)({"bg-fg-primary/5":t.filter.isActive===!0}),icon:(0,f.unref)(Zn),label:t.filter.label,"tooltip-label":t.filter.label,size:`xs`,variant:`tertiary`},null,8,[`class`,`icon`,`label`,`tooltip-label`])]),_:1},8,[`model-value`]))}}),aF=[`disabled`],oF={class:`truncate`},sF=(0,f.defineComponent)({__name:`DataTableHeaderCell`,props:{isLastColumnOverall:{type:Boolean},columnKey:{},filter:{},header:{},label:{}},setup(e){let t=e,{leftStickyBorderColumnId:n,leftStickyOffsetPxByColumnId:r,rightStickyBorderColumnId:i,rightStickyOffsetPxByColumnId:a,isColumnResizeDisabled:o,isScrolledFromLeft:s,isScrolledFromRight:c,getColumnJustifyContent:l,setColumnSize:u,sort:d}=mP(),p=(0,f.computed)(()=>l(t.columnKey));function m(e){return p.value===`start`?e?null:`-ms-sm`:p.value===`end`&&t.filter===void 0?`-me-sm`:null}let h=(0,f.useTemplateRef)(`cellEl`),g=(0,f.computed)(()=>!o.value&&!t.isLastColumnOverall&&t.header.column.getCanResize()),_=(0,f.computed)(()=>r.value.get(t.columnKey)??null),v=(0,f.computed)(()=>a.value.get(t.columnKey)??null),y=(0,f.computed)(()=>_.value!==null),b=(0,f.computed)(()=>v.value!==null),x=(0,f.computed)(()=>t.columnKey===n.value&&s.value),S=(0,f.computed)(()=>t.columnKey===i.value&&c.value),C=(0,f.computed)(()=>t.header.column.getIsResizing());function w(e){h.value!==null&&u(t.columnKey,h.value.getBoundingClientRect().width),t.header.getResizeHandler()(e)}let T=(0,f.computed)(()=>d.value?.existsSort(t.columnKey)??!1),E=(0,f.computed)(()=>T.value?d.value?.getSort(t.columnKey)?.direction??null:null),D=(0,f.computed)(()=>{if(!T.value)return null;switch(E.value){case`asc`:return Bt;case`desc`:return Ot;default:return yi}});return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{ref_key:`cellEl`,ref:h,style:(0,f.normalizeStyle)({left:y.value?`${_.value}px`:void 0,right:b.value?`${v.value}px`:void 0}),class:(0,f.normalizeClass)([[(0,f.unref)(HO).getJustifyContentClass(p.value),{"z-30":y.value||b.value,"border-r border-secondary":y.value&&x.value,"border-l border-secondary":b.value&&S.value,"z-40":C.value}],`group/header sticky top-0 z-20 flex h-10 items-center border-b border-secondary bg-secondary px-xl transition-[z-index] delay-150 duration-0 has-[.cursor-col-resize:hover]:z-40 has-[.cursor-col-resize:hover]:delay-0`]),role:`columnheader`},[(0,f.renderSlot)(e.$slots,`leading`),(0,f.createElementVNode)(`button`,{disabled:!T.value,class:(0,f.normalizeClass)([m(e.$slots.leading!==void 0),`flex min-w-0 items-center gap-xs overflow-hidden rounded-sm px-sm py-xxs text-xs font-medium text-primary duration-100 not-disabled:hover:bg-secondary-hover disabled:cursor-default!`]),type:`button`,onClick:n[0]||=e=>(0,f.unref)(d)?.toggleSort(t.columnKey)},[(0,f.createElementVNode)(`span`,oF,(0,f.toDisplayString)(t.label),1),D.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(D.value),{key:0,class:(0,f.normalizeClass)([E.value===null?`text-disabled`:`text-primary`,`size-3 shrink-0`])},null,8,[`class`]))],10,aF),t.filter===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)([t.filter.isActive===!0?`opacity-100`:`opacity-0`,`ml-xs transition-opacity duration-100 group-focus-within/header:opacity-100 group-hover/header:opacity-100 pointer-coarse:opacity-100`])},[(0,f.createVNode)(iF,{filter:t.filter},null,8,[`filter`])],2)),g.value?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,class:`group/handle absolute top-0 right-0 z-20 flex h-full w-4 translate-x-1/2 cursor-col-resize items-center justify-center select-none`,onMousedown:(0,f.withModifiers)(w,[`prevent`]),onTouchstart:(0,f.withModifiers)(w,[`prevent`])},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"scale-92":C.value},`h-5 w-1 rounded-full bg-fg-disabled opacity-0 duration-150 group-hover/handle:opacity-100`])},null,2)],32)):(0,f.createCommentVNode)(``,!0)],6))}}),cF=(0,f.defineComponent)({__name:`DataTableHeaderCheckboxCell`,props:{isChecked:{type:Boolean},isIndeterminate:{type:Boolean}},emits:[`toggle`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{hasCheckboxOwnStickyBorder:a,isLeadingStickyRegionActive:o,isScrolledFromLeft:s,leadingStickyOffsetsPx:c}=mP(),l=(0,f.computed)(()=>a.value&&s.value);return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({left:(0,f.unref)(o)?`${(0,f.unref)(c).checkbox}px`:void 0}),class:(0,f.normalizeClass)([{"z-30":(0,f.unref)(o),"border-r border-secondary":l.value},`sticky top-0 z-20 flex h-10 items-center border-b border-secondary bg-secondary px-xl`]),role:`columnheader`},[(0,f.createVNode)(oD,{"model-value":n.isChecked,"is-indeterminate":n.isIndeterminate??!1,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.header.select_all_label`),"onUpdate:modelValue":t[0]||=e=>r(`toggle`)},null,8,[`model-value`,`is-indeterminate`,`label`])],6))}}),lF=(0,f.defineComponent)({__name:`DataTableHeaderGroupToggle`,props:{isAllExpanded:{type:Boolean}},emits:[`toggle`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.computed)(()=>n.isAllExpanded?i.t(`component.data_table.header.collapse_all_groups_label`):i.t(`component.data_table.header.expand_all_groups_label`)),o=(0,f.computed)(()=>n.isAllExpanded?Lr:Nr);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(K,{label:a.value},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.Toggle),{"model-value":n.isAllExpanded,"aria-label":a.value,class:`-ms-sm flex size-6 shrink-0 items-center justify-center rounded-sm duration-100 outline-none hover:bg-secondary-hover focus-visible:bg-tertiary`,"onUpdate:modelValue":t[0]||=e=>r(`toggle`)},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(o.value),{class:`size-3 -rotate-45 text-disabled`}))]),_:1},8,[`model-value`,`aria-label`])]),_:1},8,[`label`]))}}),uF={class:`contents`,role:`rowgroup`},dF={class:`contents`,role:`row`},fF=(0,f.defineComponent)({__name:`DataTableDesktopHeader`,props:{hasRowActions:{type:Boolean},hasSubComponent:{type:Boolean},isAllGroupsExpanded:{type:Boolean},isGroupingEnabled:{type:Boolean},isSelectable:{type:Boolean},visibleColumns:{}},emits:[`toggleAllGroups`],setup(e,{emit:t}){let n=e,r=t,{hasExpandOwnStickyBorder:i,isLeadingStickyRegionActive:a,isScrolledFromLeft:o,isScrolledFromRight:s,leadingStickyOffsetsPx:c}=mP(),{isAllSelected:l,isIndeterminate:u,toggleAll:d}=TP();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,uF,[(0,f.createElementVNode)(`div`,dF,[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(cF,{key:0,"is-checked":(0,f.unref)(l),"is-indeterminate":(0,f.unref)(u)&&!(0,f.unref)(l),onToggle:(0,f.unref)(d)},null,8,[`is-checked`,`is-indeterminate`,`onToggle`])):(0,f.createCommentVNode)(``,!0),n.hasSubComponent?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,style:(0,f.normalizeStyle)({left:(0,f.unref)(a)?`${(0,f.unref)(c).expand}px`:void 0}),class:(0,f.normalizeClass)([{"z-30":(0,f.unref)(a),"border-r border-secondary":(0,f.unref)(i)&&(0,f.unref)(o)},`sticky top-0 z-20 flex h-10 items-center border-b border-secondary bg-secondary px-xl`]),role:`columnheader`},null,6)):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.visibleColumns,(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(sF,{key:e.id,"column-key":e.id,filter:e.filter,header:e.header,"is-last-column-overall":i===n.visibleColumns.length-1,label:e.headerLabel},(0,f.createSlots)({_:2},[n.isGroupingEnabled&&i===0?{name:`leading`,fn:(0,f.withCtx)(()=>[(0,f.createVNode)(lF,{"is-all-expanded":n.isAllGroupsExpanded,onToggle:t[0]||=e=>r(`toggleAllGroups`)},null,8,[`is-all-expanded`])]),key:`0`}:void 0]),1032,[`column-key`,`filter`,`header`,`is-last-column-overall`,`label`]))),128)),n.hasRowActions?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:2,class:(0,f.normalizeClass)([{"border-l border-secondary":(0,f.unref)(s)},`sticky top-0 right-0 z-20 flex h-10 items-center border-b border-secondary bg-secondary px-xl`]),role:`columnheader`},null,2)):(0,f.createCommentVNode)(``,!0)])]))}}),pF=10,mF=ns((0,f.defineComponent)({__name:`DataTableLoadingRows`,props:{isSelectable:{type:Boolean,default:!1},columnCount:{},gridTemplateColumns:{}},setup(e){let t=e,n=[`60%`,`70%`,`65%`,`75%`,`60%`,`70%`];function r(e,r){return n[(e*t.columnCount+r)%n.length]}function i(e){return t.isSelectable&&e===0}return(n,a)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({gridTemplateColumns:e.gridTemplateColumns}),class:`col-span-full grid w-full mask-b-to-transparent`},[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(pF,e=>(0,f.createElementVNode)(`div`,{key:e,style:(0,f.normalizeStyle)({"--row-index":e-1}),class:(0,f.normalizeClass)([{"border-t border-secondary":e===1},`custom-skeleton-row col-span-full grid grid-cols-subgrid border-b border-secondary`])},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.columnCount,t=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:t,class:`flex h-10 items-center px-xl`},[i(t-1)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(J),{key:0,class:`size-4 shrink-0`})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(J),{key:1,style:(0,f.normalizeStyle)({maxWidth:r(e-1,t-1)}),class:`h-4 w-full`},null,8,[`style`]))]))),128))],6)),64))],4))}}),[[`__scopeId`,`data-v-292fe6cd`]]),hF={key:2},gF=(0,f.defineComponent)({__name:`EmptyStateAction`,props:{action:{},variant:{default:`primary`}},setup(e){let t=e;return(e,n)=>t.action.type===`button`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($v),(0,f.mergeProps)({key:0},t.action,{variant:t.variant,onClick:t.action.onClick}),null,16,[`variant`,`onClick`])):t.action.type===`link`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(iy),(0,f.mergeProps)({key:1},t.action,{variant:t.variant}),null,16,[`variant`])):t.action.type===`Action`?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,hF)):(0,f.createCommentVNode)(``,!0)}}),_F={width:`152`,height:`133`,viewBox:`0 0 152 133`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},vF=[`filter`],yF=[`fill`],bF={x:`48`,y:`68.0915`,width:`56`,height:`56`},xF=(0,f.defineComponent)({__name:`UIEmptyStateIllustrationBox`,setup(e){let t=(0,f.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`;return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`svg`,_F,[t[8]||=(0,f.createStaticVNode)(`<circle cx="76" cy="59.0915" r="52" fill="#EEF2F6"></circle><circle cx="21" cy="26.0915" r="5" fill="#EEF2F6"></circle><circle cx="18" cy="110.091" r="7" fill="#EEF2F6"></circle><circle cx="145" cy="42.0915" r="7" fill="#EEF2F6"></circle><circle cx="134" cy="15.0915" r="4" fill="#EEF2F6"></circle>`,5),(0,f.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,f.createElementVNode)(`path`,{d:`M76.0006 91.2813L118 72.6227V19.4665L76.3298 1.09149L34 19.4665V72.6227L76.0006 91.2813Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,f.createElementVNode)(`path`,{d:`M118.5 72.9479L118.203 73.0798L76.2031 91.738L76.001 91.8288L75.7979 91.738L33.7969 73.0798L33.5 72.9479V19.1384L33.8008 19.0075L76.1309 0.632507L76.3311 0.545593L76.5312 0.63446L118.202 19.0095L118.5 19.1403V72.9479Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),t[2]||=(0,f.createElementVNode)(`path`,{d:`M76 37.1544V91.3259L34 72.6227V19.4665L76 37.1544Z`,fill:`#E3E8EF`},null,-1),(0,f.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M76.0008 37.1852V91.3259L118 72.6227V19.4665L76.0008 37.1852Z`},null,8,yF),t[3]||=(0,f.createElementVNode)(`path`,{d:`M76 37.1852L118 19.4665L76.3298 1.09149L34 19.4665L76 37.1852Z`,fill:`#F8FAFC`},null,-1),t[4]||=(0,f.createElementVNode)(`path`,{d:`M50.0781 12.4858L91.6722 30.5901L92.0523 43.8613L103.759 39.031L103.405 25.6761L60.4847 7.97345L50.0781 12.4858Z`,fill:`#E3E8EF`},null,-1)],8,vF),((0,f.openBlock)(),(0,f.createElementBlock)(`foreignObject`,bF,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[9]||=(0,f.createElementVNode)(`g`,null,[(0,f.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`,fill:`black`,"fill-opacity":`0.2`}),(0,f.createElementVNode)(`path`,{d:`M72.6667 99.4248L76 96.0915M76 96.0915L79.3333 99.4248M76 96.0915V103.591M82.6667 100.044C83.6846 99.2032 84.3333 97.9314 84.3333 96.5082C84.3333 93.9769 82.2813 91.9248 79.75 91.9248C79.5679 91.9248 79.3976 91.8298 79.3051 91.6729C78.2184 89.8289 76.212 88.5915 73.9167 88.5915C70.4649 88.5915 67.6667 91.3897 67.6667 94.8415C67.6667 96.5632 68.3629 98.1224 69.4891 99.2528`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,f.createElementVNode)(`defs`,null,[(0,f.createElementVNode)(`filter`,{id:n,x:`13`,y:`0`,width:`126`,height:`132.376`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[5]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`clipPath`,{id:i,transform:`translate(-48 -68.0915)`},[...t[6]||=[(0,f.createElementVNode)(`path`,{d:`M56 96.0915C56 85.0458 64.9543 76.0915 76 76.0915C87.0457 76.0915 96 85.0458 96 96.0915C96 107.137 87.0457 116.091 76 116.091C64.9543 116.091 56 107.137 56 96.0915Z`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:r,x1:`97`,y1:`19.4665`,x2:`128.011`,y2:`74.0281`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#E3E8EF`},null,-1)]])])]))}}),SF={width:`154`,height:`121`,viewBox:`0 0 154 121`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},CF=[`filter`],wF=[`fill`],TF=[`fill`],EF=[`fill`],DF={x:`49`,y:`58`,width:`56`,height:`56`},OF=(0,f.defineComponent)({__name:`UIEmptyStateIllustrationCloudSearch`,setup(e){let t=(0,f.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-p2`,o=`${t}-c`;return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`svg`,SF,[t[7]||=(0,f.createElementVNode)(`circle`,{cx:`77`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,f.createElementVNode)(`g`,{filter:`url(#${n})`},[t[0]||=(0,f.createElementVNode)(`path`,{d:`M78.6 16C67.8273 16 58.2978 21.3233 52.4987 29.4829C50.605 29.0363 48.6301 28.8 46.6 28.8C32.4615 28.8 21 40.2615 21 54.4C21 68.5385 32.4615 80 46.6 80L110.6 80C122.971 80 133 69.9712 133 57.6C133 45.2288 122.971 35.2 110.6 35.2C109.721 35.2 108.854 35.2506 108.002 35.349C103.098 23.9677 91.7797 16 78.6 16Z`,fill:`#F8FAFC`},null,-1),t[1]||=(0,f.createElementVNode)(`path`,{d:`M78.5996 15.5C91.8552 15.5 103.255 23.4366 108.312 34.8145C109.064 34.7397 109.827 34.7002 110.6 34.7002C123.247 34.7002 133.5 44.9525 133.5 57.5996C133.5 70.0492 123.565 80.1785 111.191 80.4922L110.6 80.5H46.5996C32.1853 80.4998 20.5002 68.8147 20.5 54.4004C20.5 39.9859 32.1852 28.3 46.5996 28.2998C48.5525 28.2998 50.4558 28.5168 52.2871 28.9238C58.1932 20.7911 67.7778 15.5001 78.5996 15.5Z`,stroke:`black`,"stroke-opacity":`0.08`},null,-1),(0,f.createElementVNode)(`ellipse`,{fill:`url(#${r})`,cx:`46.6`,cy:`54.4`,rx:`25.6`,ry:`25.6`},null,8,wF),(0,f.createElementVNode)(`circle`,{fill:`url(#${i})`,cx:`78.6`,cy:`48`,r:`32`},null,8,TF),(0,f.createElementVNode)(`ellipse`,{fill:`url(#${a})`,cx:`110.6`,cy:`57.6`,rx:`22.4`,ry:`22.4`},null,8,EF)],8,CF),t[8]||=(0,f.createElementVNode)(`circle`,{cx:`22`,cy:`19`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,f.createElementVNode)(`circle`,{cx:`19`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,f.createElementVNode)(`circle`,{cx:`146`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,f.createElementVNode)(`circle`,{cx:`135`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,f.openBlock)(),(0,f.createElementBlock)(`foreignObject`,DF,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${o});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[12]||=(0,f.createElementVNode)(`g`,null,[(0,f.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`,fill:`black`,"fill-opacity":`0.2`}),(0,f.createElementVNode)(`path`,{d:`M84.5 93.5L81.5834 90.5833M83.6667 85.5833C83.6667 89.4954 80.4954 92.6667 76.5833 92.6667C72.6713 92.6667 69.5 89.4954 69.5 85.5833C69.5 81.6713 72.6713 78.5 76.5833 78.5C80.4954 78.5 83.6667 81.6713 83.6667 85.5833Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,f.createElementVNode)(`defs`,null,[(0,f.createElementVNode)(`filter`,{id:n,x:`0`,y:`15`,width:`154`,height:`106`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[2]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow_1182_1994"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_1182_1994"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow_1182_1994" result="effect2_dropShadow_1182_1994"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow_1182_1994"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow_1182_1994" result="effect3_dropShadow_1182_1994"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_1182_1994" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`clipPath`,{id:o,transform:`translate(-49 -58)`},[...t[3]||=[(0,f.createElementVNode)(`path`,{d:`M57 86C57 74.9543 65.9543 66 77 66C88.0457 66 97 74.9543 97 86C97 97.0457 88.0457 106 77 106C65.9543 106 57 97.0457 57 86Z`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:r,x1:`26.9429`,y1:`37.4857`,x2:`72.2`,y2:`79.9999`,gradientUnits:`userSpaceOnUse`},[...t[4]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:i,x1:`54.0286`,y1:`26.8571`,x2:`110.6`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:a,x1:`93.4`,y1:`42.8`,x2:`133`,y2:`80`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#E3E8EF`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`0.350715`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),kF={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},AF=[`filter`],jF=[`fill`],MF={x:`50.5`,y:`62`,width:`56`,height:`56`},NF=[`clip-path`],PF=(0,f.defineComponent)({__name:`UIEmptyStateIllustrationCreditCard`,setup(e){let t=(0,f.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-c`,a=`${t}-c1`;return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`svg`,kF,[t[7]||=(0,f.createElementVNode)(`circle`,{cx:`78.5`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,f.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,f.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.5 18C20.5 14.6863 23.1863 12 26.5 12H129.5C132.814 12 135.5 14.6863 135.5 18V78C135.5 81.3137 132.814 84 129.5 84H26.5C23.1863 84 20.5 81.3137 20.5 78V18Z`},null,8,jF),t[0]||=(0,f.createStaticVNode)(`<path d="M129.5 11.75C132.952 11.75 135.75 14.5482 135.75 18V78C135.75 81.4518 132.952 84.25 129.5 84.25H26.5C23.0482 84.25 20.25 81.4518 20.25 78V18C20.25 14.5482 23.0482 11.75 26.5 11.75H129.5Z" stroke="black" stroke-opacity="0.08" stroke-width="0.5"></path><path d="M30.5 28C30.5 26.8954 31.3954 26 32.5 26H48.5C49.6046 26 50.5 26.8954 50.5 28V39C50.5 40.1046 49.6046 41 48.5 41H32.5C31.3954 41 30.5 40.1046 30.5 39V28Z" fill="#E3E8EF"></path><circle cx="117.167" cy="32.3335" r="8.33333" fill="#CDD5DF"></circle><circle cx="107.167" cy="32.3333" r="8.33333" fill="#E3E8EF"></circle><path d="M30.5 73.6667C30.5 72.7462 31.2462 72 32.1667 72H48.8333C49.7538 72 50.5 72.7462 50.5 73.6667C50.5 74.5871 49.7538 75.3333 48.8333 75.3333H32.1667C31.2462 75.3333 30.5 74.5871 30.5 73.6667Z" fill="#CDD5DF"></path><path d="M55.5 73.6667C55.5 72.7462 56.2462 72 57.1667 72H73.8333C74.7538 72 75.5 72.7462 75.5 73.6667C75.5 74.5871 74.7538 75.3333 73.8333 75.3333H57.1667C56.2462 75.3333 55.5 74.5871 55.5 73.6667Z" fill="#CDD5DF"></path><path d="M80.5 73.6667C80.5 72.7462 81.2462 72 82.1667 72H98.8333C99.7538 72 100.5 72.7462 100.5 73.6667C100.5 74.5871 99.7538 75.3333 98.8333 75.3333H82.1667C81.2462 75.3333 80.5 74.5871 80.5 73.6667Z" fill="#CDD5DF"></path><path d="M105.5 73.6667C105.5 72.7462 106.246 72 107.167 72H123.833C124.754 72 125.5 72.7462 125.5 73.6667C125.5 74.5871 124.754 75.3333 123.833 75.3333H107.167C106.246 75.3333 105.5 74.5871 105.5 73.6667Z" fill="#CDD5DF"></path>`,8)],8,AF),t[8]||=(0,f.createElementVNode)(`circle`,{cx:`23.5`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[9]||=(0,f.createElementVNode)(`circle`,{cx:`20.5`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[10]||=(0,f.createElementVNode)(`circle`,{cx:`147.5`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[11]||=(0,f.createElementVNode)(`circle`,{cx:`136.5`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,f.openBlock)(),(0,f.createElementBlock)(`foreignObject`,MF,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${i});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,f.createElementVNode)(`g`,null,[t[2]||=(0,f.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,f.createElementVNode)(`g`,{"clip-path":`url(#${a})`},[...t[1]||=[(0,f.createElementVNode)(`path`,{d:`M78.5 86.6666V90M78.5 93.3333H78.5083M86.8333 90C86.8333 94.6023 83.1024 98.3333 78.5 98.3333C73.8976 98.3333 70.1667 94.6023 70.1667 90C70.1667 85.3976 73.8976 81.6666 78.5 81.6666C83.1024 81.6666 86.8333 85.3976 86.8333 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,NF)]),(0,f.createElementVNode)(`defs`,null,[(0,f.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.5`,width:`156`,height:`113`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[3]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`clipPath`,{id:i,transform:`translate(-50.5 -62)`},[...t[4]||=[(0,f.createElementVNode)(`path`,{d:`M58.5 90C58.5 78.9543 67.4543 70 78.5 70C89.5457 70 98.5 78.9543 98.5 90C98.5 101.046 89.5457 110 78.5 110C67.4543 110 58.5 101.046 58.5 90Z`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:r,x1:`24.5049`,y1:`83.1477`,x2:`22.4135`,y2:`17.2505`,gradientUnits:`userSpaceOnUse`},[...t[5]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`clipPath`,{id:a},[...t[6]||=[(0,f.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.5 80)`},null,-1)]])])]))}}),FF={width:`161`,height:`120`,viewBox:`0 0 161 120`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},IF=[`filter`],LF=[`fill`],RF=[`filter`],zF=[`fill`],BF=[`filter`],VF=[`fill`],HF={x:`53.9647`,y:`62`,width:`56`,height:`56`},UF=(0,f.defineComponent)({__name:`UIEmptyStateIllustrationDocuments`,setup(e){let t=(0,f.useId)(),n=`${t}-f0`,r=`${t}-f1`,i=`${t}-f2`,a=`${t}-p0`,o=`${t}-p1`,s=`${t}-p2`,c=`${t}-c`;return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`svg`,FF,[t[13]||=(0,f.createElementVNode)(`circle`,{cx:`81.9647`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,f.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,f.createElementVNode)(`path`,{fill:`url(#${a})`,d:`M47.6914 79.1102L80.9299 63.6108C82.5987 62.8326 83.3207 60.8489 82.5425 59.1801L62.9132 17.0849L49.6211 12.2469L22.4259 24.9282C20.7571 25.7064 20.0351 27.6901 20.8133 29.359L43.2607 77.4975C44.0389 79.1663 46.0225 79.8883 47.6914 79.1102Z`},null,8,LF),t[0]||=(0,f.createElementVNode)(`path`,{d:`M82.7692 59.0745C83.6056 60.8685 82.8295 63.0009 81.0357 63.8374L47.797 79.3368C46.0031 80.1733 43.8707 79.3971 43.0342 77.6033L20.5867 29.4646L20.5131 29.2952C19.7999 27.5384 20.5824 25.5121 22.3202 24.7017L49.6095 11.9765L63.096 16.8852L82.7692 59.0745Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[1]||=(0,f.createElementVNode)(`path`,{d:`M49.6216 12.2471L62.9137 17.085L53.8487 21.3121L49.6216 12.2471Z`,fill:`#E3E8EF`},null,-1)],8,IF),(0,f.createElementVNode)(`g`,{filter:`url(#${r})`},[(0,f.createElementVNode)(`path`,{fill:`url(#${o})`,d:`M63.5809 67.7831H100.256C102.097 67.7831 103.59 66.2904 103.59 64.4491V18.0022L93.5874 8H63.5809C61.7395 8 60.2468 9.49271 60.2468 11.3341V64.4491C60.2468 66.2904 61.7395 67.7831 63.5809 67.7831Z`},null,8,zF),t[2]||=(0,f.createElementVNode)(`path`,{d:`M103.84 64.4492C103.839 66.4285 102.235 68.0332 100.256 68.0332H63.5808C61.6015 68.0332 59.9969 66.4285 59.9968 64.4492V11.334L60.0017 11.1494C60.0978 9.25583 61.6633 7.75004 63.5808 7.75H93.6911L103.84 17.8984V64.4492Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[3]||=(0,f.createElementVNode)(`path`,{d:`M93.5873 8L103.589 18.0022H93.5873V8Z`,fill:`#E3E8EF`},null,-1)],8,RF),(0,f.createElementVNode)(`g`,{filter:`url(#${i})`},[(0,f.createElementVNode)(`path`,{fill:`url(#${s})`,d:`M82.4392 63.5909L115.678 79.0903C117.347 79.8685 119.33 79.1465 120.108 77.4777L139.738 35.3825L134.9 22.0903L107.705 9.40903C106.036 8.63085 104.052 9.35286 103.274 11.0217L80.8266 59.1602C80.0484 60.8291 80.7704 62.8128 82.4392 63.5909Z`},null,8,VF),t[4]||=(0,f.createElementVNode)(`path`,{d:`M120.335 77.5835C119.498 79.3773 117.366 80.1535 115.572 79.317L82.3335 63.8176C80.5396 62.981 79.7635 60.8486 80.6 59.0547L103.047 10.916L103.13 10.7507C104.017 9.0752 106.072 8.37211 107.81 9.18243L135.1 21.9076L140.008 35.3941L120.335 77.5835Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.5`},null,-1),t[5]||=(0,f.createElementVNode)(`path`,{d:`M134.9 22.0903L139.738 35.3825L130.673 31.1554L134.9 22.0903Z`,fill:`#E3E8EF`},null,-1)],8,BF),t[14]||=(0,f.createElementVNode)(`circle`,{cx:`26.9647`,cy:`11`,r:`5`,fill:`#EEF2F6`},null,-1),t[15]||=(0,f.createElementVNode)(`circle`,{cx:`23.9647`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[16]||=(0,f.createElementVNode)(`circle`,{cx:`150.965`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[17]||=(0,f.createElementVNode)(`circle`,{cx:`139.965`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,f.openBlock)(),(0,f.createElementBlock)(`foreignObject`,HF,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${c});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),t[18]||=(0,f.createElementVNode)(`g`,null,[(0,f.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`,fill:`black`,"fill-opacity":`0.2`}),(0,f.createElementVNode)(`path`,{d:`M78.6314 93.3333L81.9647 90M81.9647 90L85.298 93.3333M81.9647 90V97.5M88.6314 93.9524C89.6493 93.1117 90.298 91.8399 90.298 90.4167C90.298 87.8854 88.246 85.8333 85.7147 85.8333C85.5326 85.8333 85.3623 85.7383 85.2698 85.5814C84.1831 83.7374 82.1767 82.5 79.8814 82.5C76.4296 82.5 73.6314 85.2982 73.6314 88.75C73.6314 90.4718 74.3276 92.0309 75.4538 93.1613`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`})],-1),(0,f.createElementVNode)(`defs`,null,[(0,f.createElementVNode)(`filter`,{id:n,x:`-0.595741`,y:`8.0199`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[6]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`filter`,{id:r,x:`39.7468`,y:`7.5`,width:`84.3428`,height:`100.783`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[7]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`filter`,{id:i,x:`59.4176`,y:`8`,width:`104.547`,height:`112.499`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[8]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`clipPath`,{id:c,transform:`translate(-53.9647 -62)`},[...t[9]||=[(0,f.createElementVNode)(`path`,{d:`M61.9647 90C61.9647 78.9543 70.919 70 81.9647 70C93.0104 70 101.965 78.9543 101.965 90C101.965 101.046 93.0104 110 81.9647 110C70.919 110 61.9647 101.046 61.9647 90Z`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:a,x1:`45.7386`,y1:`79.2399`,x2:`19.2501`,y2:`31.4527`,gradientUnits:`userSpaceOnUse`},[...t[10]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:o,x1:`61.7562`,y1:`67.0755`,x2:`57.9453`,y2:`12.571`,gradientUnits:`userSpaceOnUse`},[...t[11]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:s,x1:`81.0846`,y1:`62.1785`,x2:`100.665`,y2:`11.17`,gradientUnits:`userSpaceOnUse`},[...t[12]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]])])]))}}),WF={width:`156`,height:`125`,viewBox:`0 0 156 125`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`,focusable:`false`},GF=[`filter`],KF=[`fill`],qF=[`fill`],JF={x:`50.3462`,y:`62`,width:`56`,height:`56`},YF=[`clip-path`],XF=(0,f.defineComponent)({__name:`UIEmptyStateIllustrationRouteCard`,setup(e){let t=(0,f.useId)(),n=`${t}-f`,r=`${t}-p0`,i=`${t}-p1`,a=`${t}-c`,o=`${t}-c1`;return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`svg`,WF,[t[9]||=(0,f.createElementVNode)(`circle`,{cx:`78.3462`,cy:`52`,r:`52`,fill:`#EEF2F6`},null,-1),(0,f.createElementVNode)(`g`,{filter:`url(#${n})`},[(0,f.createElementVNode)(`path`,{fill:`url(#${r})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V79.8462C135.269 82.1403 133.409 84 131.115 84H24.5C22.2059 84 20.3462 82.1403 20.3462 79.8462V16.1538Z`},null,8,KF),t[0]||=(0,f.createElementVNode)(`path`,{d:`M131.116 11.8271C133.505 11.8273 135.442 13.7647 135.442 16.1543V79.8457C135.442 82.2353 133.505 84.1727 131.116 84.1729H24.5005C22.1108 84.1729 20.1733 82.2354 20.1733 79.8457V16.1543C20.1733 13.7646 22.1108 11.8271 24.5005 11.8271H131.116Z`,stroke:`black`,"stroke-opacity":`0.08`,"stroke-width":`0.346154`},null,-1),(0,f.createElementVNode)(`path`,{fill:`url(#${i})`,d:`M20.3462 16.1538C20.3462 13.8597 22.2059 12 24.5 12H131.115C133.409 12 135.269 13.8597 135.269 16.1538V28.6154H20.3462V16.1538Z`},null,8,qF),t[1]||=(0,f.createStaticVNode)(`<path d="M30.0385 34.8462C30.0385 34.0815 30.6584 33.4615 31.4231 33.4615H36.9615C37.7262 33.4615 38.3461 34.0815 38.3461 34.8462V40.3846C38.3461 41.1493 37.7262 41.7692 36.9615 41.7692H31.4231C30.6584 41.7692 30.0385 41.1493 30.0385 40.3846V34.8462Z" fill="#E3E8EF"></path><path d="M54.2692 47.3077C54.2692 46.543 54.8891 45.9231 55.6538 45.9231H61.1923C61.957 45.9231 62.5769 46.543 62.5769 47.3077V52.8462C62.5769 53.6109 61.957 54.2308 61.1923 54.2308H55.6538C54.8891 54.2308 54.2692 53.6109 54.2692 52.8462V47.3077Z" fill="#E3E8EF"></path><path d="M58.4231 57V62.1923" stroke="#E3E8EF" stroke-width="1.38462" stroke-linecap="round"></path><path d="M54.2692 66.6924C54.2692 65.9277 54.8891 65.3077 55.6538 65.3077H61.1923C61.957 65.3077 62.5769 65.9277 62.5769 66.6924V72.2308C62.5769 72.9955 61.957 73.6154 61.1923 73.6154H55.6538C54.8891 73.6154 54.2692 72.9955 54.2692 72.2308V66.6924Z" fill="#E3E8EF"></path><path d="M42.5 37.9051C42.5 36.9804 43.2497 36.2307 44.1744 36.2307L76.8346 36.2307C77.7593 36.2307 78.509 36.9804 78.509 37.9051C78.509 38.8299 77.7593 39.5796 76.8346 39.5796H44.1744C43.2497 39.5796 42.5 38.8299 42.5 37.9051Z" fill="#E3E8EF"></path><path d="M69.5 50.3667C69.5 49.4419 70.2497 48.6923 71.1744 48.6923L120.45 48.6923C121.375 48.6923 122.124 49.4419 122.124 50.3667C122.124 51.2914 121.375 52.0411 120.45 52.0411H71.1744C70.2497 52.0411 69.5 51.2914 69.5 50.3667Z" fill="#E3E8EF"></path><path d="M30.0948 50.3666C30.0948 49.4418 30.8445 48.6921 31.7692 48.6921L46.0179 48.6922C46.9426 48.6922 47.6923 49.4419 47.6923 50.3666C47.6923 51.2914 46.9426 52.0411 46.0179 52.0411L31.7692 52.041C30.8445 52.041 30.0948 51.2913 30.0948 50.3666Z" fill="#E3E8EF"></path><path d="M69.5 69.7513C69.5 68.8266 70.2497 68.0769 71.1744 68.0769L120.45 68.0769C121.375 68.0769 122.124 68.8266 122.124 69.7513C122.124 70.6761 121.375 71.4257 120.45 71.4257H71.1744C70.2497 71.4257 69.5 70.6761 69.5 69.7513Z" fill="#E3E8EF"></path><path d="M30.0868 21.2898C30.0868 20.365 30.8365 19.6154 31.7612 19.6154L64.4214 19.6154C65.3461 19.6154 66.0958 20.365 66.0958 21.2898C66.0958 22.2145 65.3461 22.9642 64.4214 22.9642H31.7612C30.8365 22.9642 30.0868 22.2145 30.0868 21.2898Z" fill="#CDD5DF"></path><path d="M104.518 21.2898C104.518 20.365 105.268 19.6154 106.192 19.6154L123.912 19.6154C124.836 19.6154 125.586 20.365 125.586 21.2898C125.586 22.2145 124.836 22.9642 123.912 22.9642H106.192C105.268 22.9642 104.518 22.2145 104.518 21.2898Z" fill="#CDD5DF"></path>`,10)],8,GF),t[10]||=(0,f.createElementVNode)(`circle`,{cx:`23.3462`,cy:`5`,r:`5`,fill:`#EEF2F6`},null,-1),t[11]||=(0,f.createElementVNode)(`circle`,{cx:`20.3462`,cy:`109`,r:`7`,fill:`#EEF2F6`},null,-1),t[12]||=(0,f.createElementVNode)(`circle`,{cx:`147.346`,cy:`35`,r:`7`,fill:`#EEF2F6`},null,-1),t[13]||=(0,f.createElementVNode)(`circle`,{cx:`136.346`,cy:`8`,r:`4`,fill:`#EEF2F6`},null,-1),((0,f.openBlock)(),(0,f.createElementBlock)(`foreignObject`,JF,[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(`backdrop-filter:blur(4px);clip-path:url(#${a});height:100%;width:100%`),xmlns:`http://www.w3.org/1999/xhtml`},null,4)])),(0,f.createElementVNode)(`g`,null,[t[3]||=(0,f.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`,fill:`black`,"fill-opacity":`0.2`},null,-1),(0,f.createElementVNode)(`g`,{"clip-path":`url(#${o})`},[...t[2]||=[(0,f.createElementVNode)(`path`,{d:`M78.3462 86.6666V90M78.3462 93.3333H78.3545M86.6795 90C86.6795 94.6023 82.9485 98.3333 78.3462 98.3333C73.7438 98.3333 70.0128 94.6023 70.0128 90C70.0128 85.3976 73.7438 81.6666 78.3462 81.6666C82.9485 81.6666 86.6795 85.3976 86.6795 90Z`,stroke:`white`,"stroke-width":`1.66667`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]],8,YF)]),(0,f.createElementVNode)(`defs`,null,[(0,f.createElementVNode)(`filter`,{id:n,x:`0`,y:`11.6538`,width:`155.615`,height:`112.692`,filterUnits:`userSpaceOnUse`,"color-interpolation-filters":`sRGB`},[...t[4]||=[(0,f.createStaticVNode)(`<feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="1.5" operator="erode" in="SourceAlpha" result="effect1_dropShadow"></feMorphology><feOffset dy="3"></feOffset><feGaussianBlur stdDeviation="1.5"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.04 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow"></feMorphology><feOffset dy="8"></feOffset><feGaussianBlur stdDeviation="4"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.03 0"></feColorMatrix><feBlend mode="normal" in2="effect1_dropShadow" result="effect2_dropShadow"></feBlend><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect3_dropShadow"></feMorphology><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="12"></feGaussianBlur><feColorMatrix type="matrix" values="0 0 0 0 0.211765 0 0 0 0 0.254902 0 0 0 0 0.321569 0 0 0 0.08 0"></feColorMatrix><feBlend mode="normal" in2="effect2_dropShadow" result="effect3_dropShadow"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow" result="shape"></feBlend>`,20)]]),(0,f.createElementVNode)(`clipPath`,{id:a,transform:`translate(-50.3462 -62)`},[...t[5]||=[(0,f.createElementVNode)(`path`,{d:`M58.3462 90C58.3462 78.9543 67.3005 70 78.3462 70C89.3918 70 98.3462 78.9543 98.3462 90C98.3462 101.046 89.3918 110 78.3462 110C67.3005 110 58.3462 101.046 58.3462 90Z`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:r,x1:`24.3483`,y1:`83.1477`,x2:`22.2555`,y2:`17.2506`,gradientUnits:`userSpaceOnUse`},[...t[6]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`linearGradient`,{id:i,x1:`24.3483`,y1:`28.4187`,x2:`24.2368`,y2:`13.1972`,gradientUnits:`userSpaceOnUse`},[...t[7]||=[(0,f.createElementVNode)(`stop`,{"stop-color":`#EEF2F6`},null,-1),(0,f.createElementVNode)(`stop`,{offset:`1`,"stop-color":`#F8FAFC`},null,-1)]]),(0,f.createElementVNode)(`clipPath`,{id:o},[...t[8]||=[(0,f.createElementVNode)(`rect`,{width:`20`,height:`20`,fill:`white`,transform:`translate(68.3462 80)`},null,-1)]])])]))}}),ZF={key:0,class:`w-25 [&>svg]:h-auto [&>svg]:w-full`},QF={key:1,class:`flex size-10 shrink-0 items-center justify-center rounded-lg border border-secondary`},$F=(0,f.defineComponent)({__name:`EmptyState`,props:{title:{},description:{default:null},icon:{default:null},illustration:{default:null},primaryAction:{default:null},secondaryAction:{default:null}},setup(e){let t=e,n={box:xF,"cloud-search":OF,"credit-card":PF,documents:UF,"route-card":XF};return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{align:`center`,justify:`center`,gap:`2xl`},{default:(0,f.withCtx)(()=>[t.illustration===null?t.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,QF,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{class:`size-5 text-primary`}))])):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,ZF,[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n[t.illustration])))])),(0,f.createVNode)((0,f.unref)(q),{gap:`xs`,align:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.title,class:`text-sm font-semibold text-secondary`},null,8,[`text`]),t.description===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,truncate:!1,text:t.description,class:`text-center text-xs text-tertiary`},null,8,[`text`]))]),_:1}),(0,f.createVNode)((0,f.unref)(B),null,{default:(0,f.withCtx)(()=>[t.secondaryAction===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(gF,{key:0,action:t.secondaryAction,variant:`secondary`},null,8,[`action`])),t.primaryAction===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(gF,{key:1,action:t.primaryAction},null,8,[`action`]))]),_:1})]),_:1}))}}),eI=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListEmpty`,props:(0,f.mergeDefaults)({title:{},description:{},icon:{},illustration:{},primaryAction:{},secondaryAction:{}},YP),setup(e){let t=e,n=(0,g.useI18n)(),{contentState:r}=TP(),i=(0,f.computed)(()=>t.illustration??(t.icon===null?`cloud-search`:null));return(e,a)=>(0,f.unref)(r)===`empty`?(0,f.renderSlot)(e.$slots,`default`,{key:0},()=>[(0,f.createVNode)((0,f.unref)($F),(0,f.mergeProps)(e.$attrs,{title:t.title??(0,f.unref)(n).t(`component.list.empty_state.title`),description:t.description??(0,f.unref)(n).t(`component.list.empty_state.description`),icon:t.icon,illustration:i.value,"primary-action":t.primaryAction,"secondary-action":t.secondaryAction}),null,16,[`title`,`description`,`icon`,`illustration`,`primary-action`,`secondary-action`])]):(0,f.createCommentVNode)(``,!0)}}),tI=(0,f.defineComponent)({__name:`ApiErrorState`,props:{error:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,f.computed)(()=>{let[e]=t.error.errors??[];return e??null});return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{title:r.value?.status??(0,f.unref)(n).t(`component.api_error_state.error_title`),description:r.value?.detail??(0,f.unref)(n).t(`component.api_error_state.error_description`)},null,8,[`title`,`description`]))}}),nI=(0,f.defineComponent)({__name:`ZodErrorState`,props:{error:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,m.useClipboard)(),i=(0,f.computed)(()=>r.copied.value?n.t(`component.zod_error_state.copied_label`):n.t(`component.zod_error_state.copy_details_label`));function a(){r.copy(JSON.stringify(d.z.treeifyError(t.error),null,2))}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{"secondary-action":{label:i.value,onClick:a,type:`button`},description:(0,f.unref)(n).t(`component.zod_error_state.description`),title:(0,f.unref)(n).t(`component.zod_error_state.title`)},null,8,[`secondary-action`,`description`,`title`]))}}),rI=(0,f.defineComponent)({__name:`ErrorState`,props:{error:{}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>(0,f.unref)(Dw).isExpectedApiError(t.error)?((0,f.openBlock)(),(0,f.createBlock)(tI,{key:0,error:t.error},null,8,[`error`])):(0,f.unref)(Dw).isZodError(t.error)?((0,f.openBlock)(),(0,f.createBlock)(nI,{key:1,error:t.error},null,8,[`error`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{key:2,title:(0,f.unref)(n).t(`component.api_error_state.error_title`),description:(0,f.unref)(n).t(`component.api_error_state.error_description`)},null,8,[`title`,`description`]))}}),iI=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListError`,setup(e){let{contentState:t,error:n}=TP();return(e,r)=>(0,f.unref)(t)===`error`?(0,f.renderSlot)(e.$slots,`default`,{key:0,error:(0,f.unref)(n)},()=>[(0,f.createVNode)((0,f.unref)(rI),(0,f.mergeProps)(e.$attrs,{error:(0,f.unref)(n)}),null,16,[`error`])]):(0,f.createCommentVNode)(``,!0)}}),aI=W({slots:{root:`relative flex min-w-0 flex-col`,selectionBarInset:`h-[calc(env(safe-area-inset-bottom)+4rem)]`,skeleton:`flex flex-col mask-b-to-transparent`,skeletonRow:`
909
909
  flex items-center gap-lg border-b border-secondary px-xl py-lg
910
- `,viewport:`relative overflow-auto`}}),oI={class:`flex flex-1 flex-col gap-sm`},sI=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListLoading`,props:(0,f.mergeDefaults)({rowCount:{}},XP),setup(e){let t=e,{isFetchingNextPage:n,isLoading:r,contentState:i}=TP(),a=(0,f.computed)(()=>aI()),o=(0,f.computed)(()=>(r.value||n.value)&&i.value!==`error`),s=[`40%`,`55%`,`45%`,`60%`];function c(e){return s[e%s.length]}return(e,i)=>o.value?(0,f.renderSlot)(e.$slots,`default`,{key:0,isLoading:(0,f.unref)(r),isFetchingNextPage:(0,f.unref)(n)},()=>[(0,f.createElementVNode)(`div`,(0,f.mergeProps)(e.$attrs,{class:a.value.skeleton({class:e.$attrs.class})}),[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.rowCount,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e,class:(0,f.normalizeClass)(a.value.skeletonRow())},[(0,f.createVNode)((0,f.unref)(J),{class:`size-8 shrink-0 rounded-full`}),(0,f.createElementVNode)(`div`,oI,[(0,f.createVNode)((0,f.unref)(J),{style:(0,f.normalizeStyle)({maxWidth:c(e-1)}),class:`h-3.5 w-full`},null,8,[`style`]),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-1/4`})])],2))),128))],16)]):(0,f.createCommentVNode)(``,!0)}}),cI=(0,f.defineComponent)({__name:`ListVirtualItems`,props:(0,f.mergeDefaults)({isMeasured:{type:Boolean},itemAs:{},itemClass:{},items:{},spacerClass:{}},WP),setup(e){let t=e,n=TP(),r=DP(),i=(0,f.computed)(()=>t.items??n.items.value),a=(0,f.computed)(()=>r.virtualItems.value.map(e=>({item:i.value[e.index],itemKey:e.key,virtualItem:e})));return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)($P,{"spacer-class":t.spacerClass},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,n=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.itemAs),{key:n.itemKey,ref_for:!0,ref:t.isMeasured?(0,f.unref)(r).measureElement:void 0,"data-index":n.virtualItem.index,class:(0,f.normalizeClass)(t.itemClass)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{item:n.item,index:n.virtualItem.index,itemKey:n.itemKey,virtualItem:n.virtualItem})]),_:2},1032,[`data-index`,`class`]))),128))]),_:3},8,[`spacer-class`]))}}),lI={key:0,class:`absolute inset-x-0 top-10 bottom-0 z-10 flex items-center-safe justify-center-safe overflow-y-auto bg-primary p-xl`},uI={class:`group/body contents`,role:`rowgroup`},dI=(0,f.defineComponent)({__name:`DataTableDesktopGrid`,props:{hasRowActions:{type:Boolean},hasSubComponent:{type:Boolean},isAllGroupsExpanded:{type:Boolean},isGroupingEnabled:{type:Boolean},isSelectable:{type:Boolean},emptyStateProps:{},gridTemplateColumns:{},loadingRowColumnCount:{},rowViewModels:{},visibleColumns:{},visualColumnOrderIds:{}},emits:[`toggleAllGroups`,`toggleSubComponent`],setup(e,{emit:t}){let n=e,r=t,{contentState:i}=TP();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[(0,f.unref)(i)===`items`?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,lI,[(0,f.createVNode)(iI,{class:`max-w-96`}),(0,f.createVNode)(eI,(0,f.mergeProps)(n.emptyStateProps,{class:`max-w-96`}),null,16)])),(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({gridTemplateColumns:n.gridTemplateColumns}),class:`grid w-max min-w-full`,role:`table`},[(0,f.createVNode)(fF,{"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-all-groups-expanded":n.isAllGroupsExpanded,"is-grouping-enabled":n.isGroupingEnabled,"is-selectable":n.isSelectable,"visible-columns":n.visibleColumns,onToggleAllGroups:t[0]||=e=>r(`toggleAllGroups`)},null,8,[`has-row-actions`,`has-sub-component`,`is-all-groups-expanded`,`is-grouping-enabled`,`is-selectable`,`visible-columns`]),(0,f.createElementVNode)(`div`,uI,[n.isGroupingEnabled?((0,f.openBlock)(),(0,f.createBlock)(rF,{key:0,"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-selectable":n.isSelectable,"row-view-models":n.rowViewModels,"visual-column-order-ids":n.visualColumnOrderIds,onToggleSubComponent:t[1]||=e=>r(`toggleSubComponent`,e)},null,8,[`has-row-actions`,`has-sub-component`,`is-selectable`,`row-view-models`,`visual-column-order-ids`])):((0,f.openBlock)(),(0,f.createBlock)(cI,{key:1,items:n.rowViewModels,"item-class":`col-span-full grid grid-cols-subgrid`,"spacer-class":`col-span-full`},{default:(0,f.withCtx)(({item:e})=>[(0,f.createVNode)(OP,{"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-selectable":n.isSelectable,"view-model":e,"visual-column-order-ids":n.visualColumnOrderIds,onToggleSubComponent:t=>r(`toggleSubComponent`,e.row.id)},null,8,[`has-row-actions`,`has-sub-component`,`is-selectable`,`view-model`,`visual-column-order-ids`,`onToggleSubComponent`])]),_:1},8,[`items`])),(0,f.createVNode)(sI,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(mF,{"column-count":n.loadingRowColumnCount,"grid-template-columns":n.gridTemplateColumns,"is-selectable":n.isSelectable},null,8,[`column-count`,`grid-template-columns`,`is-selectable`])]),_:1})])],4)],64))}}),fI=(0,f.defineComponent)({__name:`DetailList`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`2xl`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),pI={},mI={"aria-hidden":`true`,width:`100%`,height:`100%`,viewBox:`0 0 16 16`,fill:`currentColor`,role:`img`,focusable:`false`,xmlns:`http://www.w3.org/2000/svg`};function hI(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,mI,[...t[0]||=[(0,f.createElementVNode)(`path`,{d:`M7.00194 10.6239C6.66861 10.8183 6.25 10.5779 6.25 10.192V5.80802C6.25 5.42212 6.66861 5.18169 7.00194 5.37613L10.7596 7.56811C11.0904 7.76105 11.0904 8.23895 10.7596 8.43189L7.00194 10.6239Z`},null,-1)]])}var gI=ns(pI,[[`render`,hI]]),_I=(0,f.defineComponent)({__name:`DetailListGroupHeaderCollapseInfo`,props:{isVisible:{type:Boolean},badge:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.isVisible&&t.badge!==null?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,width:0,marginLeft:`0rem`},animate:{opacity:1,width:`auto`,marginLeft:`0.4rem`},exit:{opacity:0,width:0,marginLeft:`0rem`},transition:{duration:.15},class:`flex`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Pb),(0,f.mergeProps)(t.badge,{size:`sm`,variant:`outline`,class:`shrink-0`}),null,16)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),vI={class:`opacity-0 duration-100 group-hover/detail-list-group:opacity-100 focus-visible:opacity-100 has-focus-visible:opacity-100 pointer-coarse:opacity-100`},yI=(0,f.defineComponent)({__name:`DetailListGroupHeader`,props:{isOpen:{type:Boolean},collapseOptions:{},label:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{justify:`between`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{disabled:!t.collapseOptions.isCollapsible,class:`group/trigger -ml-sm flex h-6.5 max-w-full items-center overflow-hidden px-sm py-xs duration-100 not-disabled:hover:bg-tertiary disabled:cursor-default!`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`none`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`]),t.collapseOptions.isCollapsible&&t.collapseOptions.badge!=null?((0,f.openBlock)(),(0,f.createBlock)(_I,{key:0,badge:t.collapseOptions.badge,"is-visible":!t.isOpen},null,8,[`badge`,`is-visible`])):(0,f.createCommentVNode)(``,!0)]),_:1}),t.collapseOptions.isCollapsible?((0,f.openBlock)(),(0,f.createBlock)(gI,{key:0,class:`size-4 shrink-0 text-disabled opacity-0 duration-200 group-hover/detail-list-group:text-secondary group-hover/detail-list-group:opacity-100 group-has-focus-visible/detail-list-group:opacity-100 group-data-[state=closed]/trigger:opacity-100 group-data-[state=open]/trigger:rotate-90 pointer-coarse:opacity-100`})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`disabled`])]),_:1}),(0,f.createElementVNode)(`div`,vI,[(0,f.renderSlot)(e.$slots,`actions`)])]),_:3}))}}),bI=(0,f.defineComponent)({__name:`DetailListGroup`,props:(0,f.mergeModels)({collapseOptions:{},label:{default:null}},{modelValue:{type:Boolean,default:void 0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n={isCollapsible:!1,isOpenByDefault:!1},r=(0,f.useModel)(e,`modelValue`),i=(0,f.computed)(()=>({...n,...t.collapseOptions}));r.value===void 0&&(r.value=i.value.isOpenByDefault);let a=(0,f.computed)({get:()=>i.value.isCollapsible?r.value:!0,set:e=>{i.value.isCollapsible&&(r.value=e)}});return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{gap:`none`,class:`group/detail-list-group @container/detail-list w-full`},{default:(0,f.withCtx)(()=>[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(yI,{key:0,label:t.label,"is-open":a.value,"collapse-options":i.value},{actions:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`actions`)]),_:3},8,[`label`,`is-open`,`collapse-options`])),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{class:`w-full origin-top-left overflow-hidden data-[state=closed]:animate-[collapsible-up_150ms] data-[state=open]:animate-[collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{class:(0,f.normalizeClass)({"pt-xl":t.label!==null}),gap:`lg`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),xI=[`data-orientation`,`data-horizontal-value-alignment`],SI=(0,f.defineComponent)({__name:`DetailListGroupItem`,props:{horizontalValueAlignment:{default:`start`},orientation:{default:`horizontal`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{"data-orientation":t.orientation,"data-horizontal-value-alignment":t.horizontalValueAlignment,class:`group/detail-list-group-item flex w-full gap-xs data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:items-start data-[orientation=vertical]:flex-col @[15rem]:data-[orientation=horizontal]:flex-row @[15rem]:data-[orientation=horizontal]:data-[horizontal-value-alignment=end]:justify-between`},[(0,f.renderSlot)(e.$slots,`default`)],8,xI))}}),CI={key:0,class:`flex aspect-square h-text-xs items-center`},wI=(0,f.defineComponent)({__name:`DetailListGroupItemLabel`,props:{avatar:{default:null},icon:{default:null},label:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`,class:`min-w-28 shrink-0 @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=start]/detail-list-group-item:max-w-28`},{default:(0,f.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,CI,[t.avatar===null?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:1,class:(0,f.normalizeClass)([{"text-disabled":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),{key:0,name:t.avatar.name,src:t.avatar.src,"is-static-color":t.avatar.isStaticColor,size:`xxs`},null,8,[`name`,`src`,`is-static-color`]))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)([{"text-tertiary":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),TI=(0,f.defineComponent)({__name:`DetailListGroupItemValueBadge`,props:{isDisabled:{type:Boolean},actions:{},ariaLabel:{},avatar:{},color:{},dot:{},icon:{},iconColor:{},label:{},left:{},metadata:{},models:{},rounded:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Pb),(0,f.mergeProps)(t,{size:`sm`}),null,16))}}),EI={key:0,class:`flex aspect-square h-text-xs items-center`},DI=(0,f.defineComponent)({__name:`DetailListGroupItemValueText`,props:{avatar:{default:null},icon:{default:null},text:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`,align:`start`,class:`w-full @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=end]/detail-list-group-item:justify-end @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=end]/detail-list-group-item:text-right`},{default:(0,f.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,EI,[t.avatar===null?t.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:1,class:(0,f.normalizeClass)([{"text-disabled":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),(0,f.mergeProps)({key:0},t.avatar,{size:`xxs`}),null,16))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(G),{truncate:!1,text:t.text,class:(0,f.normalizeClass)([{"text-primary":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),OI=(0,f.defineComponent)({__name:`DetailListGroupSeparator`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs)))}}),kI=[`disabled`],AI={class:`min-w-0 flex-1`},jI={key:0,class:`truncate text-sm font-semibold text-primary`},MI={key:1,class:`mt-xxs truncate text-xs text-tertiary`},NI={key:0,class:`flex max-w-1/2 min-w-0 shrink-0 flex-col items-end gap-xxs`},PI={class:`pb-lg`},FI={class:`flex flex-col gap-lg rounded-xl bg-secondary/50 p-lg dark:bg-secondary`},II=(0,f.defineComponent)({__name:`DataTableMobileCard`,props:{isExpanded:{type:Boolean},isLast:{type:Boolean,default:!1},isSelectable:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},detailCells:{},indicatorCell:{},inlineActions:{default:()=>[]},metaCell:{},model:{default:null},moreActions:{default:()=>[]},primaryCell:{},secondaryCell:{},subComponent:{default:null},onClick:{default:null}},emits:[`toggleExpanded`,`toggleSelected`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.computed)(()=>n.metaCell!==null||n.indicatorCell!==null),o=(0,f.computed)(()=>n.subComponent===null?n.detailCells:[]),s=(0,f.computed)(()=>n.detailCells.length>0||n.subComponent!==null),c=(0,f.computed)(()=>n.inlineActions.concat(n.moreActions)),l=(0,f.computed)(()=>n.onClick!==null||c.value.length>0);return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"border-b border-secondary":!n.isLast},`min-w-0 overflow-hidden`])},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"hover:bg-primary-hover":!n.isExpanded},`flex min-w-0 items-start px-xl py-lg`]),role:`row`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{width:`0px`,opacity:0},animate:{width:`auto`,opacity:1},exit:{width:`0px`,opacity:0},transition:{duration:.2,bounce:0,type:`spring`},class:`flex h-text-sm items-center justify-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":n.isSelected,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.row.toggle_selection_action.name`),"onUpdate:modelValue":t[0]||=e=>r(`toggleSelected`)},null,8,[`model-value`,`label`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}),(0,f.createElementVNode)(`button`,{disabled:!s.value,class:`flex min-w-0 flex-1 items-start gap-md text-left outline-none disabled:cursor-default`,type:`button`,onClick:t[1]||=e=>s.value&&r(`toggleExpanded`)},[(0,f.createElementVNode)(`div`,AI,[n.primaryCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,jI,[(0,f.createVNode)(kP,{cell:n.primaryCell},null,8,[`cell`])])),n.secondaryCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,MI,[(0,f.createVNode)(kP,{cell:n.secondaryCell},null,8,[`cell`])]))]),a.value?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,NI,[n.metaCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:n.metaCell,class:`text-xs text-tertiary tabular-nums`},null,8,[`cell`])),n.indicatorCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:1,cell:n.indicatorCell},null,8,[`cell`]))])):(0,f.createCommentVNode)(``,!0),s.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(dn),{key:1,class:(0,f.normalizeClass)([{"-rotate-90":!n.isExpanded},`mt-xxs size-3.5 shrink-0 text-disabled duration-150`])},null,8,[`class`])):(0,f.createCommentVNode)(``,!0)],8,kI)],2),s.value?((0,f.openBlock)(),(0,f.createBlock)(Gx,{key:0,duration:.15},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[n.isExpanded?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,"as-child":!0,initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{type:`spring`,bounce:0,duration:.15}},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,PI,[(0,f.createElementVNode)(`div`,FI,[n.subComponent===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.subComponent),{key:0,class:`p-md`})),o.value.length>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(bI),{key:1},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(SI),{key:e.key,"horizontal-value-alignment":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(wI),{label:e.headerLabel},null,8,[`label`]),(0,f.createVNode)(kP,{cell:e.cell,class:`min-w-0 overflow-hidden text-xs text-primary`},null,8,[`cell`])]),_:2},1024))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),l.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{key:2,class:`mt-md`},{default:(0,f.withCtx)(()=>[n.onClick?.type===`link`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(iy),{key:0,"icon-right":(0,f.unref)(Jt),label:(0,f.unref)(i).t(`component.table.row.view_details_label`),to:n.onClick.to,size:`lg`,class:`w-full`,variant:`secondary`},null,8,[`icon-right`,`label`,`to`])):n.onClick?.type===`action`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:1,action:n.onClick.action,"is-current-context-only":!0,models:n.model===null?[]:[n.model]},{default:(0,f.withCtx)(({isExecuting:e})=>[(0,f.createVNode)((0,f.unref)($v),{"icon-right":(0,f.unref)(Jt),"is-loading":e,label:(0,f.unref)(i).t(`component.table.row.view_details_label`),size:`lg`,class:`w-full`,variant:`primary`},null,8,[`icon-right`,`is-loading`,`label`])]),_:1},8,[`action`,`models`])):(0,f.createCommentVNode)(``,!0),c.value.length>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(yc),{key:2,actions:c.value,"is-current-context-only":!0,models:n.model===null?[]:[n.model],"popover-align":`start`,"popover-side":`bottom`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(i).t(`component.data_table.row_actions_cell.label`),size:`lg`,class:`w-full`,variant:`secondary`},null,8,[`label`])]),_:1},8,[`actions`,`models`])):(0,f.createCommentVNode)(``,!0)]),_:1})):(0,f.createCommentVNode)(``,!0)])])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)],2))}}),LI={key:0,class:`truncate text-xs font-medium text-secondary`},RI={key:1,class:`flex shrink-0 items-center gap-md text-xs text-primary`},zI=(0,f.defineComponent)({__name:`DataTableMobileGroupHeader`,props:{isExpanded:{type:Boolean},isSelectable:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},isSelectedIndeterminate:{type:Boolean,default:!1},cells:{default:()=>[]},depth:{default:0},label:{}},emits:[`toggle`,`toggleSelected`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.computed)(()=>n.cells.filter(e=>e.isVisibleOnMobile)),o=(0,f.computed)(()=>({paddingLeft:`${1+n.depth}rem`}));return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"bg-secondary":n.depth===0,"bg-tertiary":n.depth>0},`min-w-0 overflow-hidden border-b border-secondary`]),role:`row`},[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(o.value),class:`flex h-9 min-w-0 items-center gap-xs pr-xl`},[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":n.isSelected,"is-indeterminate":n.isSelectedIndeterminate,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.group.toggle_selection_label`),"onUpdate:modelValue":t[0]||=e=>r(`toggleSelected`)},null,8,[`model-value`,`is-indeterminate`,`label`])):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`button`,{class:`flex min-w-0 flex-1 items-center gap-xs text-left outline-none focus-visible:bg-tertiary`,type:`button`,onClick:t[1]||=e=>r(`toggle`)},[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!n.isExpanded},`size-3.5 shrink-0 text-disabled duration-150`])},null,8,[`class`]),n.label===``?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,LI,(0,f.toDisplayString)(n.label),1)),(0,f.renderSlot)(e.$slots,`default`)]),a.value.length>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,RI,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e.columnId},[t>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs),{key:0,class:`h-3`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(kP,{cell:e.cell},null,8,[`cell`])],64))),128))])):(0,f.createCommentVNode)(``,!0)],4)],2))}});function BI(e,t){function n(n){let r=t.value,i=new Map(e.value.map(e=>[e.key,e]));function a(e){let t=e===void 0?void 0:i.get(e);return t===void 0?null:t.cell(n)}return{detailCells:e.value.map(e=>({cell:e.cell(n),headerLabel:e.headerLabel,key:e.key})),indicatorCell:a(r?.indicator),metaCell:a(r?.meta),primaryCell:a(r?.primary),secondaryCell:a(r?.secondary)}}return{getMobileSlots:n}}var VI={class:`min-w-0`,role:`table`},HI=[`data-index`],UI=[`data-index`],WI=[`data-index`],GI=(0,f.defineComponent)({__name:`DataTableMobileList`,props:{isSelectable:{type:Boolean,default:!1},columns:{},expandedItemKeys:{},getKey:{},mobileCard:{},rowViewModels:{}},emits:[`toggleExpanded`],setup(e,{emit:t}){let n=e,r=t;GO({isMobile:!0});let{getMobileSlots:i}=BI((0,f.computed)(()=>n.columns),(0,f.computed)(()=>n.mobileCard)),{isKeySelected:a,getKeysSelectionState:o,toggleKey:s,toggleKeys:c}=TP(),{toggleGroupExpanded:l}=mP(),{measureElement:u,paddingBeforePx:d,virtualItems:p}=DP(),{chunks:m,getChunkGroupHeaderEntry:h,getSubChunkDataRowEntries:g,getSubChunkSubgroupHeaderEntry:_,paddingBeforePx:v}=VP({getRowAtIndex:e=>n.rowViewModels[e].row,getViewModelAtIndex:e=>n.rowViewModels[e],groupHeaderHeightPx:36,paddingBeforePxFromVirtualizer:d,virtualItems:p});function y(e){return o(e.groupLeafKeys)}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,VI,[(0,f.createVNode)($P,{"padding-before-px":(0,f.unref)(v)},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(m),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(h)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index,class:`sticky top-0 z-20 bg-primary`},[(0,f.createVNode)(zI,{cells:e.viewModel.groupHeaderCells,depth:0,"is-expanded":e.viewModel.row.getIsExpanded(),"is-selectable":n.isSelectable,"is-selected":y(e.viewModel)===`all`,"is-selected-indeterminate":y(e.viewModel)===`some`,label:e.viewModel.groupLabelCell===null?e.viewModel.groupLabel:``,onToggle:t=>(0,f.unref)(l)(e.viewModel.row.id),onToggleSelected:t=>(0,f.unref)(c)(e.viewModel.groupLeafKeys)},{default:(0,f.withCtx)(()=>[e.viewModel.groupLabelCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:e.viewModel.groupLabelCell},null,8,[`cell`]))]),_:2},1032,[`cells`,`is-expanded`,`is-selectable`,`is-selected`,`is-selected-indeterminate`,`label`,`onToggle`,`onToggleSelected`])],8,HI))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.subChunks,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(_)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index,class:`sticky top-9 z-10 bg-primary`},[(0,f.createVNode)(zI,{cells:e.viewModel.groupHeaderCells,depth:e.viewModel.row.depth,"is-expanded":e.viewModel.row.getIsExpanded(),"is-selectable":n.isSelectable,"is-selected":y(e.viewModel)===`all`,"is-selected-indeterminate":y(e.viewModel)===`some`,label:e.viewModel.groupLabelCell===null?e.viewModel.groupLabel:``,onToggle:t=>(0,f.unref)(l)(e.viewModel.row.id),onToggleSelected:t=>(0,f.unref)(c)(e.viewModel.groupLeafKeys)},{default:(0,f.withCtx)(()=>[e.viewModel.groupLabelCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:e.viewModel.groupLabelCell},null,8,[`cell`]))]),_:2},1032,[`cells`,`depth`,`is-expanded`,`is-selectable`,`is-selected`,`is-selected-indeterminate`,`label`,`onToggle`,`onToggleSelected`])],8,UI))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(g)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index},[(0,f.createVNode)(II,(0,f.mergeProps)({ref_for:!0},(0,f.unref)(i)(e.viewModel.row.original),{"inline-actions":e.viewModel.rowConfig?.actions?.inline??[],"is-expanded":n.expandedItemKeys.has(n.getKey(e.viewModel.row.original)),"is-last":e.viewModel.isLast,"is-selectable":n.isSelectable,"is-selected":(0,f.unref)(a)(n.getKey(e.viewModel.row.original)),model:e.viewModel.rowConfig?.model??null,"more-actions":e.viewModel.rowConfig?.actions?.more??[],"on-click":e.viewModel.rowConfig?.onClick??null,"sub-component":e.viewModel.subComponent,onToggleExpanded:t=>r(`toggleExpanded`,n.getKey(e.viewModel.row.original)),onToggleSelected:t=>(0,f.unref)(s)(n.getKey(e.viewModel.row.original))}),null,16,[`inline-actions`,`is-expanded`,`is-last`,`is-selectable`,`is-selected`,`model`,`more-actions`,`on-click`,`sub-component`,`onToggleExpanded`,`onToggleSelected`])],8,WI))),128))]))),128))]))),128))]),_:1},8,[`padding-before-px`])]))}}),KI={class:`flex items-center justify-end px-xl py-lg @md/data-table:hidden`},qI=(0,f.defineComponent)({__name:`DataTableMobileSelectToggle`,props:{isSelectModeOn:{type:Boolean,required:!0},isSelectModeOnModifiers:{}},emits:[`update:isSelectModeOn`],setup(e){let t=(0,f.useModel)(e,`isSelectModeOn`),n=(0,g.useI18n)(),{clearSelection:r}=TP();function i(){t.value&&r(),t.value=!t.value}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,KI,[(0,f.createElementVNode)(`button`,{class:`text-xs font-medium text-brand-primary outline-none`,type:`button`,onClick:i},(0,f.toDisplayString)(t.value?(0,f.unref)(n).t(`component.data_table.mobile_list.cancel_select_label`):(0,f.unref)(n).t(`component.data_table.mobile_list.select_label`)),1)]))}});function JI(e){switch(e.type){case`text`:case`number`:case`currency`:case`boolean`:case`id`:return e.value;case`timestamp`:return e.value?.epochMilliseconds??null;case`badge`:return e.label??null;case`location`:if(e.value===null)return null;switch(e.precision){case`country`:return e.value.country;case`municipality`:return e.value.city;default:return[e.value.street,e.value.streetNumber].filter(Boolean).join(` `)}default:return null}}var YI=Uk({columnGroupingFeature:cN,columnPinningFeature:lN,columnResizingFeature:LN,columnSizingFeature:RN,columnVisibilityFeature:zN,expandedRowModel:aP(),groupedRowModel:tP(),rowExpandingFeature:BN});function XI(e){let t=(0,f.ref)({}),n=(0,f.ref)({}),r=(0,f.ref)(!(e.isGroupCollapsedByDefault?.value??!1)),i=(0,f.shallowRef)(new Set);function a(e){return r.value!==i.value.has(e)}function o(e){let t=new Set(i.value);t.has(e)?t.delete(e):t.add(e),i.value=t}function s(e){r.value=e,i.value=new Set}(0,f.watch)(()=>e.isGroupCollapsedByDefault?.value??!1,e=>{s(!e)});let c=(0,f.computed)(()=>i.value.size===0?r.value?!0:{}:Object.fromEntries([...i.value].map(e=>[e,!r.value]))),l=(0,f.computed)(()=>{let t=e.groupBy?.value??null;return t===null?[]:Array.isArray(t)?t:[t]}),u=(0,f.computed)(()=>e.isGroupByColumnHidden?.value??!1?new Set(l.value):new Set),d=(0,f.computed)(()=>e.columns.value.filter(e=>!u.value.has(e.key))),p=(0,f.computed)(()=>e.columns.value.map(e=>({id:e.key,accessorFn:t=>JI(e.cell(t)),cell:t=>(0,f.h)(kP,{cell:e.cell(t.row.original)}),header:e.headerLabel,minSize:60,size:e.size??BO[e.cellType]}))),m=(0,f.computed)(()=>{let t=d.value[0]?.key,n=d.value.at(-1)?.key,r=e.isFirstColumnSticky?.value===!0&&t!==void 0?[t]:[],i=e.isLastColumnSticky?.value===!0&&n!==void 0?[n]:[],a=[];for(let e of d.value)r.includes(e.key)||i.includes(e.key)||(e.isSticky===`left`?r.push(e.key):e.isSticky===`right`&&a.push(e.key));return i.push(...a.reverse()),{end:i,start:r}}),h=uP({getRowId:t=>e.getKey(t),columnResizeMode:`onChange`,get columns(){return p.value},get data(){return e.data.value},get enableColumnResizing(){return!(e.isColumnResizeDisabled?.value??!1)},features:YI,getIsRowExpanded:e=>e.getIsGrouped()&&a(e.id),getRowCanExpand:e=>e.getIsGrouped(),get groupedColumnMode(){return e.isGroupByColumnHidden?.value??!1?`remove`:!1},state:{get columnPinning(){return m.value},get columnSizing(){return n.value},get columnVisibility(){return t.value},get expanded(){return c.value},get grouping(){return l.value}},onColumnPinningChange:()=>{},onColumnSizingChange:e=>{n.value=typeof e==`function`?e(n.value):e},onColumnVisibilityChange:e=>{t.value=typeof e==`function`?e(t.value):e},onExpandedChange:()=>{},onGroupingChange:()=>{}});function g(e,t){h.setColumnSizing(n=>({...n,[e]:t}))}let _=(0,f.computed)(()=>i.value.size===0?r.value:h.getPreExpandedRowModel().flatRows.filter(e=>e.getIsGrouped()).every(e=>a(e.id)));function v(){l.value.length!==0&&s(!_.value)}let y=(0,f.computed)(()=>[...h.getStartLeafColumns(),...h.getCenterLeafColumns(),...h.getEndLeafColumns()].map(e=>e.id)),b=(0,f.computed)(()=>{let t=HO.toVisualColumnOrder(h.getVisibleLeafColumns(),e=>e.id,y.value).map(e=>e.getSize()),n=[];(e.isSelectable?.value??!1)&&n.push(RO),(e.hasSubComponent?.value??!1)&&n.push(LO);let r=[];return(e.hasRowActions?.value??!1)&&r.push(zO),HO.columnSizesToGridTemplateColumns(t,n,r)}),x=(0,f.computed)(()=>({checkbox:0,expand:e.isSelectable?.value??!1?48:0})),S=(0,f.computed)(()=>h.getStartLeafColumns().length>0||(e.isSelectable?.value??!1)||(e.hasSubComponent?.value??!1)),C=(0,f.computed)(()=>(e.isSelectable?.value??!1)&&!(e.hasSubComponent?.value??!1)&&h.getStartLeafColumns().length===0),w=(0,f.computed)(()=>(e.hasSubComponent?.value??!1)&&h.getStartLeafColumns().length===0),T=(0,f.computed)(()=>{let t=new Map,n=0;(e.isSelectable?.value??!1)&&(n+=48),(e.hasSubComponent?.value??!1)&&(n+=40);for(let e of h.getStartLeafColumns())t.set(e.id,n),n+=e.getSize();return t}),E=(0,f.computed)(()=>{let t=new Map,n=e.hasRowActions?.value??!1?80:0;for(let e of h.getEndLeafColumns())t.set(e.id,n),n+=e.getSize();return t});return{leftStickyBorderColumnId:(0,f.computed)(()=>Array.from(T.value.keys()).at(-1)??null),leftStickyOffsetPxByColumnId:T,rightStickyBorderColumnId:(0,f.computed)(()=>Array.from(E.value.keys()).at(-1)??null),rightStickyOffsetPxByColumnId:E,hasCheckboxOwnStickyBorder:C,hasExpandOwnStickyBorder:w,isAllGroupsExpanded:_,isLeadingStickyRegionActive:S,gridTemplateColumns:b,leadingStickyOffsetsPx:x,renderedColumns:d,setColumnSize:g,table:h,toggleAllGroupsExpanded:v,toggleGroupExpanded:o,visualColumnOrderIds:y}}function ZI(e){let t=(0,f.ref)(!1),n=(0,f.ref)(!1);function r(e){t.value=e.scrollLeft>0,n.value=e.scrollLeft+e.clientWidth<e.scrollWidth-1}return(0,f.watch)(e,(e,i,a)=>{if(e===null){t.value=!1,n.value=!1;return}r(e);function o(e){r(e.currentTarget)}e.addEventListener(`scroll`,o,{passive:!0});let s=new ResizeObserver(()=>r(e));s.observe(e);let c=e.children[0];c!==void 0&&s.observe(c),a(()=>{e.removeEventListener(`scroll`,o),s.disconnect()})},{immediate:!0}),{isScrolledFromLeft:(0,f.computed)(()=>t.value),isScrolledFromRight:(0,f.computed)(()=>n.value)}}function QI(e){function t(t){let n=t.groupingColumnId;if(n===void 0)return null;let r=e.columns.value.find(e=>e.key===n);return r===void 0?null:r.cell(t.original)}function n(e){return e.getLeafRows().filter(e=>!e.getIsGrouped())}let r=(0,f.computed)(()=>{let t=Number(e.isSelectable.value)+Number(e.hasSubComponent.value);return new Map(e.visualColumnOrderIds.value.map((e,n)=>[e,t+n+1]))});function i(t){let n=[];for(let i of e.columns.value){let e=r.value.get(i.key);if(i.groupHeaderCell===void 0||i.groupHeaderCell===null||e===void 0)continue;let a=i.groupHeaderCell.value(t);a!==null&&n.push({columnId:i.key,isVisibleOnMobile:i.groupHeaderCell.isVisibleOnMobile??!1,cell:a,gridColumnStart:e})}return n}return(0,f.computed)(()=>{let r=e.rows.value;return r.map((a,o)=>{let s=a.getIsGrouped(),c=s?null:e.subComponentByItemKey.value.get(e.getKey(a.original))??null,l=s?n(a):[];return{isGrouped:s,isLast:o===r.length-1,isSubComponentExpanded:e.expandedSubComponentRowIds.value.has(a.id),canExpandSubComponent:c!==null,groupHeaderCells:s?i(l.map(e=>e.original)):[],groupLabel:s?String(a.groupingValue):``,groupLabelCell:s?t(a):null,groupLeafKeys:l.map(e=>e.id),row:a,rowConfig:s?null:e.row.value?.(a.original)??null,subComponent:c}})})}function $I(){return{items:[],type:`include`}}var eL=$I();function tL(e,t){if(e.type===`include`)return{items:[...new Set([...e.items,...t])],type:`include`};let n=new Set(t);return{items:e.items.filter(e=>!n.has(e)),type:`exclude`}}function nL(e,t){if(e.type===`include`){let n=new Set(t);return{items:e.items.filter(e=>!n.has(e)),type:`include`}}return{items:[...new Set([...e.items,...t])],type:`exclude`}}function rL(e){let t=(0,p.useActionManagerStore)(),n=e.isEnabled??(0,f.computed)(()=>!0),r=(0,f.shallowRef)(null);(0,f.watch)(n,(e,n)=>{if(e){t.setTableSelection($I());return}n===!0&&t.setTableSelection(null)},{immediate:!0}),(0,f.onBeforeUnmount)(()=>{n.value&&t.setTableSelection(null)});let i=(0,f.computed)(()=>n.value?t.tableSelection??eL:eL),a=(0,f.computed)(()=>new Set(i.value.items)),o=(0,f.computed)(()=>i.value.type===`exclude`&&i.value.items.length===0),s=(0,f.computed)(()=>i.value.items.length>0);function c(e){n.value&&t.setTableSelection(e)}function l(e){let t=a.value.has(e);return i.value.type===`include`?t:!t}function u(e){c(tL(i.value,e))}function d(e){c(nL(i.value,e))}function m(t,n){let r=e.orderedKeys.value,i=r.indexOf(t),a=r.indexOf(n);return i===-1||a===-1?null:r.slice(Math.min(i,a),Math.max(i,a)+1)}function h(e,t=!1){if(t&&r.value!==null){let t=m(r.value,e);if(t!==null){l(e)?d(t):u(t);return}}l(e)?d([e]):u([e]),r.value=e}let g=null;function _(e){n.value&&(g={isSelecting:!l(e),anchorKey:e,initialSelection:i.value},r.value=e)}function v(e){if(g===null)return;let t=m(g.anchorKey,e);t!==null&&c(g.isSelecting?tL(g.initialSelection,t):nL(g.initialSelection,t))}function y(){g=null}function b(e){if(e.length===0)return`none`;let t=e.filter(e=>l(e)).length;return t===0?`none`:t===e.length?`all`:`some`}function x(e){b(e)===`all`?d(e):u(e)}function S(){o.value?c($I()):c({items:[],type:`exclude`})}function C(){n.value&&t.clearTableSelection()}return{isAllSelected:o,isIndeterminate:s,isKeySelected:l,clearSelection:C,deselectKeys:d,endDragSelection:y,getKeysSelectionState:b,selectKeys:u,startDragSelection:_,toggleAll:S,toggleKey:h,toggleKeys:x,updateDragSelection:v}}var iL=class{static canLoadNextPage(e){return e.hasOnNextPage&&!e.isLoading&&!e.isFetchingNextPage&&!e.hasError}static getContentState(e){return e.hasError?`error`:e.itemCount===0&&!e.isLoading?`empty`:`items`}static getVirtualPadding(e,t){let n=e.at(0),r=e.at(-1);return{paddingAfterPx:r===void 0?0:t-r.end,paddingBeforePx:n?.start??0}}static resolveMeasuredSize(e,t){return e>0?e:t}},aL=(0,f.defineComponent)({inheritAttrs:!1,__name:`List`,props:(0,f.mergeDefaults)({isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},isSelectable:{type:Boolean},as:{},error:{},getKey:{type:Function},items:{},orderedKeys:{},totalCount:{},onNextPage:{type:[Function,null]}},HP),setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.computed)(()=>aI());function i(e){return t.getKey(e)}let a=(0,f.computed)(()=>t.orderedKeys??t.items.map(e=>i(e))),{isAllSelected:o,isIndeterminate:s,isKeySelected:c,clearSelection:l,endDragSelection:u,getKeysSelectionState:d,startDragSelection:p,toggleAll:m,toggleKey:g,toggleKeys:_,updateDragSelection:v}=rL({isEnabled:(0,f.computed)(()=>t.isSelectable),orderedKeys:a}),y=(0,f.computed)(()=>t.isSelectable?t.items.filter(e=>c(i(e))):[]),b=(0,f.computed)(()=>o.value&&t.totalCount!==null?t.totalCount:y.value.length),x=(0,f.shallowRef)(0);function S(){return x.value++,()=>{x.value--}}let C=0;function w(){return C++}let T=(0,f.computed)(()=>x.value>0&&t.isSelectable&&b.value>0),E=(0,f.computed)(()=>iL.getContentState({hasError:t.error!==null,isLoading:t.isLoading,itemCount:t.items.length})),D=(0,f.computed)(()=>iL.canLoadNextPage({hasError:t.error!==null,hasOnNextPage:t.onNextPage!==null,isFetchingNextPage:t.isFetchingNextPage,isLoading:t.isLoading}));return wP({isAllSelected:o,isFetchingNextPage:(0,f.computed)(()=>t.isFetchingNextPage),isIndeterminate:s,isKeySelected:c,isLoading:(0,f.computed)(()=>t.isLoading),isSelectable:(0,f.computed)(()=>t.isSelectable),isSelectionBarVisible:T,canLoadNextPage:D,clearSelection:l,contentState:E,endDragSelection:u,error:(0,f.computed)(()=>t.error),getKey:i,getKeysSelectionState:d,items:(0,f.computed)(()=>t.items),registerSelectionBar:S,registerViewport:w,selectedCount:b,selectedItems:y,startDragSelection:p,toggleAll:m,toggleKey:g,toggleKeys:_,totalCount:(0,f.computed)(()=>t.totalCount),updateDragSelection:v,onNextPage:(0,f.computed)(()=>t.onNextPage)}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),(0,f.mergeProps)((0,f.unref)(n),{as:t.as,class:r.value.root({class:(0,f.unref)(n).class})}),{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},16,[`as`,`class`]))}}),oL={class:`pr-2xl text-xs font-medium whitespace-nowrap text-secondary tabular-nums md:pr-6xl`},sL=(0,f.defineComponent)({__name:`ListSelectionBarPanel`,props:{actions:{},metadata:{},models:{},selectedCount:{}},emits:[`clear`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)();return ct({key:`Escape`},()=>{n.selectedCount>0&&r(`clear`)}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[n.selectedCount>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:10,scale:.99},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.99},transition:{type:`spring`,bounce:0,duration:.2},class:`default absolute bottom-[calc(env(safe-area-inset-bottom)+1rem)] left-1/2 z-10 flex -translate-x-1/2 items-center justify-between gap-lg rounded-xl border border-secondary bg-primary/75 py-sm pr-sm pl-lg shadow-lg/5 backdrop-blur-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,oL,[(0,f.renderSlot)(e.$slots,`count`,{count:n.selectedCount},()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).t(`component.list.selection_bar.selected_count`,n.selectedCount)),1)])]),(0,f.createVNode)((0,f.unref)(B),{gap:`sm`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.actions,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:e.id,action:e,"is-current-context-only":!1,models:n.models??[]},{default:(0,f.withCtx)(({icon:e,isExecuting:t,keyboardShortcut:n,label:r})=>[e===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Y),{key:0,label:r,icon:e,"is-loading":t,"keyboard-shortcut":n,variant:`tertiary`,size:`sm`},null,8,[`label`,`icon`,`is-loading`,`keyboard-shortcut`]))]),_:1},8,[`action`,`models`]))),128)),(0,f.createVNode)((0,f.unref)(Zs),{orientation:`vertical`,class:`h-4`}),(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),"keyboard-shortcut":{key:`Escape`},label:(0,f.unref)(i).t(`component.list.selection_bar.clear_label`),variant:`tertiary`,size:`sm`,onClick:t[0]||=e=>r(`clear`)},null,8,[`icon`,`label`])]),_:1})]),_:3})):(0,f.createCommentVNode)(``,!0)]),_:3}))}}),cL=(0,f.defineComponent)({__name:`ListSelectionBar`,props:(0,f.mergeDefaults)({actions:{},getModel:{type:[Function,null]}},QP),setup(e){let t=e,{clearSelection:n,registerSelectionBar:r,selectedCount:i,selectedItems:a}=TP();(0,f.onBeforeUnmount)(r());let o=(0,f.computed)(()=>{let e=t.getModel;return e===null?[]:a.value.map(t=>e(t)).filter(e=>e!=null)});return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(sL,{actions:t.actions,models:o.value,"selected-count":(0,f.unref)(i),onClear:(0,f.unref)(n)},(0,f.createSlots)({_:2},[e.$slots.count===void 0?void 0:{name:`count`,fn:(0,f.withCtx)(({count:t})=>[(0,f.renderSlot)(e.$slots,`count`,{count:t})]),key:`0`}]),1032,[`actions`,`models`,`selected-count`,`onClear`]))}}),lL=`[data-list-item-key]`,uL=40,dL=20;function fL(e){return Math.min(dL,Math.ceil(e/uL*dL))}function pL(e){e.preventDefault()}function mL(e){e.preventDefault(),e.stopPropagation()}function hL(){window.addEventListener(`click`,mL,{capture:!0,once:!0}),setTimeout(()=>window.removeEventListener(`click`,mL,{capture:!0}))}function gL(e){let t=null,n=0,r=0,i=0,a=null,o=!1,s=0,c=null;function l(t){let n=t.getBoundingClientRect(),r=n.left+i,a=Math.min(Math.max(s,n.top+t.clientTop+(0,f.toValue)(e.stickyHeaderHeightPx)+1),n.bottom-1);return(document.elementFromPoint(r,a)?.closest(lL))?.getAttribute(`data-list-item-key`)??null}function u(t){let n=t.getBoundingClientRect(),r=n.top+(0,f.toValue)(e.stickyHeaderHeightPx)+uL,i=n.bottom-uL;return s<r?-fL(r-s):s>i?fL(s-i):0}function d(){let t=e.scrollElement.value;if(t!==null){t.scrollTop+=u(t);let n=l(t);n!==null&&n!==a&&(a=n,e.onDragMove(n))}c=requestAnimationFrame(d)}function p(){t!==null&&(o=!0,window.getSelection()?.removeAllRanges(),e.onDragStart(t),c=requestAnimationFrame(d))}function m(e){s=e.clientY,!o&&(s<n||s>r)&&p()}function h(){window.removeEventListener(`pointermove`,m),window.removeEventListener(`pointerup`,g),window.removeEventListener(`pointercancel`,g),document.removeEventListener(`selectstart`,pL),c!==null&&(cancelAnimationFrame(c),c=null),t=null,a=null,o=!1}function g(){o&&(e.onDragEnd(),hL()),h()}function _(o,c){if(!(0,f.toValue)(e.isEnabled)||c.button!==0||c.pointerType===`touch`)return;let l=e.scrollElement.value,u=c.target?.closest(lL);if(l===null||u==null)return;h();let d=u.getBoundingClientRect();t=o,n=d.top,r=d.bottom,i=c.clientX-l.getBoundingClientRect().left,a=o,s=c.clientY,window.addEventListener(`pointermove`,m),window.addEventListener(`pointerup`,g),window.addEventListener(`pointercancel`,g),document.addEventListener(`selectstart`,pL)}return(0,f.onBeforeUnmount)(h),{onItemPointerDown:_}}function _L(e){let t=(0,f.shallowRef)((0,f.toValue)(e.canLoadNextPage));(0,f.watch)(()=>(0,f.toValue)(e.canLoadNextPage),e=>{e||(t.value=!1)},{flush:`sync`}),(0,f.watch)(()=>(0,f.toValue)(e.canLoadNextPage),e=>{e&&(t.value=!0)},{flush:`post`});let{reset:n}=(0,m.useInfiniteScroll)(e.scrollElement,()=>{(0,f.toValue)(e.onNextPage)?.()},{canLoadMore:()=>t.value,distance:e.distancePx});(0,m.useResizeObserver)(e.scrollElement,()=>n()),(0,f.watch)(()=>(0,f.toValue)(e.itemCount),()=>n())}var vL=50,yL=10,bL=new Map;function xL(e,t){if(bL.delete(e),t!==null&&(bL.set(e,t),bL.size>vL)){let e=bL.keys().next().value;e!==void 0&&bL.delete(e)}}function SL(e){if(!e.isEnabled)return null;if(e.explicitKey!==null)return e.explicitKey;let t=(0,f.inject)(y.routeLocationKey,null);return t===null?null:`${t.path}|list-viewport:${e.viewportIndex}`}function CL(e){let t=(0,f.shallowRef)(!1),n=im(),r=null;function i(){r!==null&&(cancelAnimationFrame(r),r=null)}function a(){if(i(),t.value=!1,n.value){e.virtualizer.value.scrollToOffset(0);return}e.virtualizer.value.scrollToOffset(0,{behavior:`smooth`}),e.scrollElement.value?.addEventListener(`scrollend`,()=>{let t=e.scrollElement.value?.scrollTop??0;t>0&&t<=100&&e.virtualizer.value.scrollToOffset(0)},{once:!0})}(0,m.useEventListener)(e.scrollElement,`scroll`,()=>{let n=e.scrollElement.value?.scrollTop??0;t.value&&n<=100&&(t.value=!1)},{passive:!0}),(0,m.useEventListener)(e.scrollElement,[`keydown`,`pointerdown`,`touchstart`,`wheel`],i,{passive:!0});let o={isRestoredIndicatorVisible:(0,f.readonly)(t),scrollToTop:a};if(e.key===null)return o;let s=e.key,c=null,l=!1;function u(t){let n=(0,f.toValue)(e.count);for(let r=0;r<n;r++)if(e.getItemKey(r)===t)return r;return-1}function d(){let t=e.virtualizer.value,n=t.scrollOffset??0;if(n<=0)return null;let r=t.getVirtualItems().find(e=>e.end>n);return r===void 0?null:{itemKey:r.key,offsetWithinItemPx:n-r.start}}function p(n,r){let i=e.virtualizer.value,a=i.getOffsetForIndex(n,`start`)?.[0];if(a===void 0)return!1;let o=a+r.offsetWithinItemPx;return Math.abs(o-(e.scrollElement.value?.scrollTop??0))<=1?!1:(i.scrollToOffset(o),t.value=(e.scrollElement.value?.scrollTop??0)>100,!0)}function h(e,t,n){r=requestAnimationFrame(()=>{r=null,p(e,t)&&n>1&&h(e,t,n-1)})}function g(e){let t=u(e.itemKey);if(t===-1){xL(s,null);return}p(t,e)&&h(t,e,yL)}function _(){if(c===null||(0,f.toValue)(e.isLoading))return;let t=c;c=null,(0,f.nextTick)(()=>g(t))}function v(){c=bL.get(s)??null,_()}return(0,f.watch)(()=>(0,f.toValue)(e.isLoading),_),(0,f.onMounted)(v),(0,f.onBeforeUnmount)(()=>{i(),l||xL(s,d())}),(0,f.onDeactivated)(()=>{i(),xL(s,d()),l=!0,t.value=!1}),(0,f.onActivated)(()=>{l&&(l=!1,v())}),o}function wL(e){function t(t){let n=(0,f.toValue)(e.estimateSize);return typeof n==`function`?n(t):n}let n=(0,S.useVirtualizer)((0,f.computed)(()=>({count:(0,f.toValue)(e.count),estimateSize:t,getItemKey:t=>(0,f.toValue)(e.getItemKey)?.(t)??t,getScrollElement:()=>e.scrollElement.value,measureElement:(e,n,r)=>iL.resolveMeasuredSize((0,S.measureElement)(e,n,r),t(r.indexFromElement(e))),overscan:(0,f.toValue)(e.overscan)??5}))),r=(0,f.computed)(()=>n.value.getVirtualItems()),i=(0,f.computed)(()=>n.value.getTotalSize()),a=(0,f.computed)(()=>iL.getVirtualPadding(r.value,i.value)),o=(0,f.computed)(()=>a.value.paddingBeforePx),s=(0,f.computed)(()=>a.value.paddingAfterPx);function c(e){let t=(0,m.unrefElement)(e)??null;n.value.measureElement(t)}function l(e,t){n.value.scrollToIndex(e,t)}return{measureElement:c,paddingAfterPx:s,paddingBeforePx:o,scrollToIndex:l,totalSizePx:i,virtualItems:r,virtualizer:n}}var TL=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListViewport`,props:(0,f.mergeDefaults)({hasSelectionBarInset:{type:Boolean},isScrollRestorationEnabled:{type:Boolean},as:{},count:{},estimateSize:{type:[Function,Number]},getItemKey:{type:[Function,null]},infiniteScrollDistancePx:{},overscan:{},scrollRestorationKey:{},stickyHeaderHeightPx:{}},UP),setup(e,{expose:t}){let n=e,r=(0,f.useAttrs)(),i=(0,f.computed)(()=>aI()),{isLoading:a,isSelectable:o,isSelectionBarVisible:s,canLoadNextPage:c,endDragSelection:l,getKey:u,items:d,registerViewport:p,startDragSelection:g,updateDragSelection:_,onNextPage:v}=TP(),y=p(),b=(0,f.useTemplateRef)(`viewport`),x=(0,f.computed)(()=>(0,m.unrefElement)(b.value)??null),S=(0,f.computed)(()=>n.count??d.value.length);function C(e){if(n.getItemKey!==null)return n.getItemKey(e);if(n.count!==null)return e;let t=d.value[e];return t===void 0?e:u(t)}let{measureElement:w,paddingAfterPx:T,paddingBeforePx:E,scrollToIndex:D,totalSizePx:O,virtualItems:ee,virtualizer:k}=wL({count:S,estimateSize:()=>n.estimateSize,getItemKey:()=>C,overscan:()=>n.overscan,scrollElement:x});_L({canLoadNextPage:c,distancePx:n.infiniteScrollDistancePx,itemCount:S,scrollElement:x,onNextPage:v});let{isRestoredIndicatorVisible:A,scrollToTop:j}=CL({isLoading:a,count:S,getItemKey:C,key:SL({isEnabled:n.isScrollRestorationEnabled&&(n.count===null||n.getItemKey!==null),explicitKey:n.scrollRestorationKey,viewportIndex:y}),scrollElement:x,virtualizer:k}),{onItemPointerDown:te}=gL({isEnabled:o,scrollElement:x,stickyHeaderHeightPx:()=>n.stickyHeaderHeightPx,onDragEnd:l,onDragMove:_,onDragStart:g});return EP({isScrollRestoredIndicatorVisible:A,count:S,measureElement:w,paddingAfterPx:T,paddingBeforePx:E,scrollElement:x,scrollToIndex:D,scrollToTop:j,stickyHeaderHeightPx:(0,f.computed)(()=>n.stickyHeaderHeightPx),totalSizePx:O,virtualItems:ee,onDragSelectionPointerDown:te}),t({scrollElement:x,scrollToIndex:D}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),(0,f.mergeProps)({ref:`viewport`},(0,f.unref)(r),{as:n.as,class:i.value.viewport({class:(0,f.unref)(r).class})}),{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`),n.hasSelectionBarInset&&(0,f.unref)(s)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)(i.value.selectionBarInset()),"aria-hidden":`true`},null,2)):(0,f.createCommentVNode)(``,!0)]),_:3},16,[`as`,`class`]))}}),EL=(0,f.defineComponent)({__name:`DataTable`,props:{isColumnResizeDisabled:{type:Boolean,default:!1},isFetchingNextPage:{type:Boolean,default:!1},isFirstColumnSticky:{type:Boolean,default:!0},isGroupByColumnHidden:{type:Boolean,default:!1},isGroupCollapsedByDefault:{type:Boolean,default:!1},isLastColumnSticky:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isSelectable:{type:Boolean,default:!1},columns:{},data:{},emptyState:{default:()=>({})},error:{default:null},filters:{default:()=>({})},getKey:{},groupBy:{default:null},mobileCard:{default:null},row:{type:[Function,null],default:null},selectionActions:{default:()=>[]},sort:{default:null},subComponent:{type:[Function,null],default:null},totalCount:{default:null},variant:{default:`contained`},onNextPage:{type:[Function,null],default:null}},setup(e,{expose:t}){let n=e,r=(0,g.useI18n)(),i=(0,f.computed)(()=>({title:n.emptyState.title??r.t(`component.data_table.empty_state.no_data.title`),description:n.emptyState.description??r.t(`component.data_table.empty_state.no_data.description`),icon:n.emptyState.icon??null,illustration:n.emptyState.illustration??(n.emptyState.icon==null?`cloud-search`:null),primaryAction:n.emptyState.primaryAction??null,secondaryAction:n.emptyState.secondaryAction??null})),a=(0,f.useTemplateRef)(`desktopViewport`),{isScrolledFromLeft:o,isScrolledFromRight:s}=ZI((0,f.computed)(()=>a.value?.scrollElement??null)),c=(0,f.computed)(()=>{let e=new Map;if(n.subComponent===null)return e;for(let t of n.data){let r=n.subComponent(t);r!==null&&e.set(n.getKey(t),r)}return e}),l=(0,f.computed)(()=>c.value.size>0),u=(0,f.computed)(()=>n.row===null?!1:n.data.some(e=>{let t=n.row?.(e)?.actions;return(t?.inline.length??0)>0||(t?.more.length??0)>0})),{leftStickyBorderColumnId:d,leftStickyOffsetPxByColumnId:p,rightStickyBorderColumnId:m,rightStickyOffsetPxByColumnId:h,hasCheckboxOwnStickyBorder:_,hasExpandOwnStickyBorder:v,isAllGroupsExpanded:y,isLeadingStickyRegionActive:b,gridTemplateColumns:x,leadingStickyOffsetsPx:S,renderedColumns:C,setColumnSize:w,table:T,toggleAllGroupsExpanded:E,toggleGroupExpanded:D,visualColumnOrderIds:O}=XI({hasRowActions:u,hasSubComponent:l,isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isFirstColumnSticky:(0,f.computed)(()=>n.isFirstColumnSticky),isGroupByColumnHidden:(0,f.computed)(()=>n.isGroupByColumnHidden),isGroupCollapsedByDefault:(0,f.computed)(()=>n.isGroupCollapsedByDefault),isLastColumnSticky:(0,f.computed)(()=>n.isLastColumnSticky),isSelectable:(0,f.computed)(()=>n.isSelectable),columns:(0,f.computed)(()=>n.columns),data:(0,f.computed)(()=>n.data),getKey:n.getKey,groupBy:(0,f.computed)(()=>n.groupBy)}),ee=(0,f.computed)(()=>new Map(n.columns.map(e=>[e.key,e.justifyContent??`start`])));function k(e){return e===null?`start`:ee.value.get(e)??`start`}pP({leftStickyBorderColumnId:d,leftStickyOffsetPxByColumnId:p,rightStickyBorderColumnId:m,rightStickyOffsetPxByColumnId:h,hasCheckboxOwnStickyBorder:_,hasExpandOwnStickyBorder:v,isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isFirstColumnSticky:(0,f.computed)(()=>n.isFirstColumnSticky),isLastColumnSticky:(0,f.computed)(()=>n.isLastColumnSticky),isLeadingStickyRegionActive:b,isScrolledFromLeft:o,isScrolledFromRight:s,getColumnJustifyContent:k,leadingStickyOffsetsPx:S,setColumnSize:w,sort:(0,f.computed)(()=>n.sort),toggleGroupExpanded:D,variant:(0,f.computed)(()=>n.variant)});let A=(0,f.computed)(()=>n.groupBy!==null),j=(0,f.computed)(()=>T.getRowModel().rows),te=(0,f.computed)(()=>j.value.filter(e=>!e.getIsGrouped()).map(e=>e.id)),M=(0,f.shallowRef)(new Set);function ne(e){let t=new Set(M.value);t.has(e)?t.delete(e):t.add(e),M.value=t}let re=(0,f.shallowRef)(new Set);function ie(e){let t=new Set(re.value);t.has(e)?t.delete(e):t.add(e),re.value=t}let N=(0,f.shallowRef)(!1),P=QI({hasSubComponent:l,isSelectable:(0,f.computed)(()=>n.isSelectable),columns:(0,f.computed)(()=>n.columns),expandedSubComponentRowIds:re,getKey:n.getKey,row:(0,f.computed)(()=>n.row),rows:j,subComponentByItemKey:c,visualColumnOrderIds:O});function F(e){return P.value[e]?.row.id??e}function ae(e){return P.value[e]?.isGrouped??!1?36:64}function oe(e){return n.row?.(e)?.model??null}let I=(0,f.computed)(()=>{let e=new Map(n.columns.map(e=>[e.key,e]));return HO.toVisualColumnOrder(T.getFlatHeaders(),e=>e.column.id,O.value).map(t=>({id:t.column.id,filter:n.filters[t.column.id],header:t,headerLabel:e.get(t.column.id)?.headerLabel??t.column.id}))}),se=(0,f.computed)(()=>+!!n.isSelectable+ +!!l.value+ +!!u.value+I.value.length),ce=(0,f.computed)(()=>iL.getContentState({hasError:n.error!==null,isLoading:n.isLoading,itemCount:n.data.length})!==`items`);return t({isAllGroupsExpanded:y,toggleAllGroupsExpanded:E}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(aL,{items:n.data,"get-key":n.getKey,"is-selectable":n.isSelectable,"is-loading":n.isLoading,"is-fetching-next-page":n.isFetchingNextPage,error:n.error,"total-count":n.totalCount,"ordered-keys":te.value,"on-next-page":n.onNextPage,class:(0,f.normalizeClass)([{"size-full":n.variant===`full-page`,"max-h-full w-full":n.variant===`contained`},`@container/data-table`])},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(qI,{key:0,"is-select-mode-on":N.value,"onUpdate:isSelectModeOn":t[0]||=e=>N.value=e},null,8,[`is-select-mode-on`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(iI,{class:`mx-auto h-full max-w-96 overflow-y-auto py-xl @md/data-table:hidden`}),(0,f.createVNode)(eI,(0,f.mergeProps)(i.value,{class:`mx-auto h-full max-w-96 overflow-y-auto py-xl @md/data-table:hidden`}),null,16),(0,f.createVNode)(TL,{count:(0,f.unref)(P).length,"get-item-key":F,"estimate-size":ae,class:(0,f.normalizeClass)([{"min-h-0 flex-1":n.variant===`full-page`,"max-h-full min-h-1":n.variant===`contained`},`max-h-full w-full overflow-x-hidden overflow-y-auto @md/data-table:hidden`])},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(GI,{columns:(0,f.unref)(C),"expanded-item-keys":M.value,"get-key":n.getKey,"is-selectable":N.value,"mobile-card":n.mobileCard,"row-view-models":(0,f.unref)(P),onToggleExpanded:ne},null,8,[`columns`,`expanded-item-keys`,`get-key`,`is-selectable`,`mobile-card`,`row-view-models`])]),_:1},8,[`count`,`class`]),(0,f.createVNode)(TL,{ref:`desktopViewport`,count:(0,f.unref)(P).length,"get-item-key":F,"estimate-size":(0,f.unref)(40),"has-selection-bar-inset":!1,"sticky-header-height-px":(0,f.unref)(40),class:(0,f.normalizeClass)([{"overflow-auto":!ce.value,"overflow-hidden":ce.value,"min-h-0 flex-1":n.variant===`full-page`,"max-h-full":n.variant===`contained`&&!ce.value,"max-h-full min-h-64":n.variant===`contained`&&ce.value,"rounded-xl border border-secondary":n.variant===`contained`},`relative hidden w-full min-w-0 contain-layout contain-paint @md/data-table:block`])},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(dI,{"has-row-actions":u.value,"has-sub-component":l.value,"is-all-groups-expanded":(0,f.unref)(y),"is-grouping-enabled":A.value,"is-selectable":n.isSelectable,"empty-state-props":i.value,"grid-template-columns":(0,f.unref)(x),"loading-row-column-count":se.value,"row-view-models":(0,f.unref)(P),"visible-columns":I.value,"visual-column-order-ids":(0,f.unref)(O),onToggleAllGroups:(0,f.unref)(E),onToggleSubComponent:ie},null,8,[`has-row-actions`,`has-sub-component`,`is-all-groups-expanded`,`is-grouping-enabled`,`is-selectable`,`empty-state-props`,`grid-template-columns`,`loading-row-column-count`,`row-view-models`,`visible-columns`,`visual-column-order-ids`,`onToggleAllGroups`])]),_:1},8,[`count`,`estimate-size`,`sticky-header-height-px`,`class`]),n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(cL,{key:1,actions:n.selectionActions,"get-model":oe},{count:(0,f.withCtx)(({count:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(r).t(`component.data_table.selection_action_bar.selected_count`,e)),1)]),_:1},8,[`actions`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`items`,`get-key`,`is-selectable`,`is-loading`,`is-fetching-next-page`,`error`,`total-count`,`ordered-keys`,`on-next-page`,`class`]))}}),DL=(0,f.defineComponent)({__name:`DataTableSelectionActionBar`,props:{actions:{},metadata:{},models:{},selectedCount:{}},emits:[`clear`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)();return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(sL,{actions:n.actions,metadata:n.metadata,models:n.models,"selected-count":n.selectedCount,onClear:t[0]||=e=>r(`clear`)},{count:(0,f.withCtx)(({count:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).t(`component.data_table.selection_action_bar.selected_count`,e)),1)]),_:1},8,[`actions`,`metadata`,`models`,`selected-count`]))}});function OL(e,t){let{paddingAfterPx:n,paddingBeforePx:r,virtualItems:i}=wL({count:e,estimateSize:40,scrollElement:t});return{paddingAfterPx:n,paddingBeforePx:r,virtualItems:i}}function kL(e){return t=>({config:e,type:`custom`,value:t})}function AL(){return e=>e}function jL(e){return{isSticky:e.isSticky,cell:t=>({type:`text`,...e.value(t)}),cellType:`text`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function ML(e){return{isSticky:e.isSticky,cell:t=>({type:`number`,...e.value(t)}),cellType:`number`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function NL(e){return{isSticky:e.isSticky,cell:t=>({type:`currency`,...e.value(t)}),cellType:`currency`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function PL(e){return{isSticky:e.isSticky,cell:t=>({type:`boolean`,...e.value(t)}),cellType:`boolean`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function FL(e){return{isSticky:e.isSticky,cell:t=>({type:`longText`,...e.value(t)}),cellType:`longText`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function IL(e){return{isSticky:e.isSticky,cell:t=>({type:`id`,...e.value(t)}),cellType:`id`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function LL(e){return{isSticky:e.isSticky,cell:t=>({type:`location`,...e.value(t)}),cellType:`location`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function RL(e){return{isSticky:e.isSticky,cell:t=>({type:`contactInfo`,...e.value(t)}),cellType:`contactInfo`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function zL(e){return{isSticky:e.isSticky,cell:t=>({type:`avatar`,...e.value(t)}),cellType:`avatar`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function BL(e){return{isSticky:e.isSticky,cell:t=>({type:`badge`,...e.value(t)}),cellType:`badge`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function VL(e){return{isSticky:e.isSticky,cell:t=>({type:`badgeGroup`,...e.value(t)}),cellType:`badgeGroup`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function HL(e){return{isSticky:e.isSticky,cell:t=>({type:`timestamp`,...e.value(t)}),cellType:`timestamp`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function UL(e){return{isSticky:e.isSticky,cell:t=>({config:e.config,type:`custom`,value:e.value(t)}),cellType:`custom`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function WL(e){return{to:e,type:`link`}}function GL(e){return{action:e,type:`action`}}function KL({maxDate:e,minDate:t,modelValue:n}){let r=rm(),i=(0,f.computed)(()=>r.dateLocale.value??navigator.language);function a(n){return t.value!==null&&w.Temporal.PlainDate.compare(n,t.value)<0?t.value:e.value!==null&&w.Temporal.PlainDate.compare(n,e.value)>0?e.value:n}function o(){return u(a(n.value??w.Temporal.Now.plainDateISO()))}let s=(0,f.shallowRef)(o());function c(e){s.value=e}function l(){s.value=o()}(0,f.watch)([t,e],()=>{let e=d(s.value),t=a(e);t.equals(e)||(s.value=u(t))}),(0,f.watch)(n,e=>{e!==null&&(s.value=new C.CalendarDate(e.year,e.month,e.day))});function u(e){return new C.CalendarDate(e.year,e.month,e.day)}function d(e){return w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}let p=(0,f.computed)({get:()=>{if(n.value!==null)return u(n.value)},set:e=>{e==null?n.value=null:n.value=d(e)}}),m=(0,f.computed)(()=>{if(t.value!=null)return u(t.value)});return{plainDateToCalendarDate:u,calendarPlaceholder:s,calendarValue:p,locale:i,maxDateValue:(0,f.computed)(()=>{if(e.value!=null)return u(e.value)}),minDateValue:m,resetPlaceholder:l,setPlaceholder:c}}function qL({isDisabled:e,isOpen:t,isPickerHidden:n,isReadonly:r}){function i(){e.value||r.value||n.value||(t.value=!0)}let a=(0,f.shallowRef)(null);function o(e){a.value=e?.$el??null}function s(e){e.target instanceof Node&&a.value?.contains(e.target)&&e.preventDefault()}return{setFieldRef:o,onInputFocus:i,onInteractOutside:s}}var JL=W({slots:{field:`flex h-full flex-1 items-center px-sm`,literal:`text-placeholder select-none`,segment:`
910
+ `,viewport:`relative overflow-auto`}}),oI={class:`flex flex-1 flex-col gap-sm`},sI=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListLoading`,props:(0,f.mergeDefaults)({rowCount:{}},XP),setup(e){let t=e,{isFetchingNextPage:n,isLoading:r,contentState:i}=TP(),a=(0,f.computed)(()=>aI()),o=(0,f.computed)(()=>(r.value||n.value)&&i.value!==`error`),s=[`40%`,`55%`,`45%`,`60%`];function c(e){return s[e%s.length]}return(e,i)=>o.value?(0,f.renderSlot)(e.$slots,`default`,{key:0,isLoading:(0,f.unref)(r),isFetchingNextPage:(0,f.unref)(n)},()=>[(0,f.createElementVNode)(`div`,(0,f.mergeProps)(e.$attrs,{class:a.value.skeleton({class:e.$attrs.class})}),[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.rowCount,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e,class:(0,f.normalizeClass)(a.value.skeletonRow())},[(0,f.createVNode)((0,f.unref)(J),{class:`size-8 shrink-0 rounded-full`}),(0,f.createElementVNode)(`div`,oI,[(0,f.createVNode)((0,f.unref)(J),{style:(0,f.normalizeStyle)({maxWidth:c(e-1)}),class:`h-3.5 w-full`},null,8,[`style`]),(0,f.createVNode)((0,f.unref)(J),{class:`h-3 w-1/4`})])],2))),128))],16)]):(0,f.createCommentVNode)(``,!0)}}),cI=(0,f.defineComponent)({__name:`ListVirtualItems`,props:(0,f.mergeDefaults)({isMeasured:{type:Boolean},itemAs:{},itemClass:{},items:{},spacerClass:{}},WP),setup(e){let t=e,n=TP(),r=DP(),i=(0,f.computed)(()=>t.items??n.items.value),a=(0,f.computed)(()=>r.virtualItems.value.map(e=>({item:i.value[e.index],itemKey:e.key,virtualItem:e})));return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)($P,{"spacer-class":t.spacerClass},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,n=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.itemAs),{key:n.itemKey,ref_for:!0,ref:t.isMeasured?(0,f.unref)(r).measureElement:void 0,"data-index":n.virtualItem.index,class:(0,f.normalizeClass)(t.itemClass)},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{item:n.item,index:n.virtualItem.index,itemKey:n.itemKey,virtualItem:n.virtualItem})]),_:2},1032,[`data-index`,`class`]))),128))]),_:3},8,[`spacer-class`]))}}),lI={key:0,class:`absolute inset-x-0 top-10 bottom-0 z-10 flex items-center-safe justify-center-safe overflow-y-auto bg-primary p-xl`},uI={class:`group/body contents`,role:`rowgroup`},dI=(0,f.defineComponent)({__name:`DataTableDesktopGrid`,props:{hasRowActions:{type:Boolean},hasSubComponent:{type:Boolean},isAllGroupsExpanded:{type:Boolean},isGroupingEnabled:{type:Boolean},isSelectable:{type:Boolean},emptyStateProps:{},gridTemplateColumns:{},loadingRowColumnCount:{},rowViewModels:{},visibleColumns:{},visualColumnOrderIds:{}},emits:[`toggleAllGroups`,`toggleSubComponent`],setup(e,{emit:t}){let n=e,r=t,{contentState:i}=TP();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,[(0,f.unref)(i)===`items`?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,lI,[(0,f.createVNode)(iI,{class:`max-w-96`}),(0,f.createVNode)(eI,(0,f.mergeProps)(n.emptyStateProps,{class:`max-w-96`}),null,16)])),(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({gridTemplateColumns:n.gridTemplateColumns}),class:`grid w-max min-w-full`,role:`table`},[(0,f.createVNode)(fF,{"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-all-groups-expanded":n.isAllGroupsExpanded,"is-grouping-enabled":n.isGroupingEnabled,"is-selectable":n.isSelectable,"visible-columns":n.visibleColumns,onToggleAllGroups:t[0]||=e=>r(`toggleAllGroups`)},null,8,[`has-row-actions`,`has-sub-component`,`is-all-groups-expanded`,`is-grouping-enabled`,`is-selectable`,`visible-columns`]),(0,f.createElementVNode)(`div`,uI,[n.isGroupingEnabled?((0,f.openBlock)(),(0,f.createBlock)(rF,{key:0,"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-selectable":n.isSelectable,"row-view-models":n.rowViewModels,"visual-column-order-ids":n.visualColumnOrderIds,onToggleSubComponent:t[1]||=e=>r(`toggleSubComponent`,e)},null,8,[`has-row-actions`,`has-sub-component`,`is-selectable`,`row-view-models`,`visual-column-order-ids`])):((0,f.openBlock)(),(0,f.createBlock)(cI,{key:1,items:n.rowViewModels,"item-class":`col-span-full grid grid-cols-subgrid`,"spacer-class":`col-span-full`},{default:(0,f.withCtx)(({item:e})=>[(0,f.createVNode)(OP,{"has-row-actions":n.hasRowActions,"has-sub-component":n.hasSubComponent,"is-selectable":n.isSelectable,"view-model":e,"visual-column-order-ids":n.visualColumnOrderIds,onToggleSubComponent:t=>r(`toggleSubComponent`,e.row.id)},null,8,[`has-row-actions`,`has-sub-component`,`is-selectable`,`view-model`,`visual-column-order-ids`,`onToggleSubComponent`])]),_:1},8,[`items`])),(0,f.createVNode)(sI,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(mF,{"column-count":n.loadingRowColumnCount,"grid-template-columns":n.gridTemplateColumns,"is-selectable":n.isSelectable},null,8,[`column-count`,`grid-template-columns`,`is-selectable`])]),_:1})])],4)],64))}}),fI=(0,f.defineComponent)({__name:`DetailList`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`2xl`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),pI={},mI={"aria-hidden":`true`,width:`100%`,height:`100%`,viewBox:`0 0 16 16`,fill:`currentColor`,role:`img`,focusable:`false`,xmlns:`http://www.w3.org/2000/svg`};function hI(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,mI,[...t[0]||=[(0,f.createElementVNode)(`path`,{d:`M7.00194 10.6239C6.66861 10.8183 6.25 10.5779 6.25 10.192V5.80802C6.25 5.42212 6.66861 5.18169 7.00194 5.37613L10.7596 7.56811C11.0904 7.76105 11.0904 8.23895 10.7596 8.43189L7.00194 10.6239Z`},null,-1)]])}var gI=ns(pI,[[`render`,hI]]),_I=(0,f.defineComponent)({__name:`DetailListGroupHeaderCollapseInfo`,props:{isVisible:{type:Boolean},badge:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.isVisible&&t.badge!==null?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,width:0,marginLeft:`0rem`},animate:{opacity:1,width:`auto`,marginLeft:`0.4rem`},exit:{opacity:0,width:0,marginLeft:`0rem`},transition:{duration:.15},class:`flex`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Pb),(0,f.mergeProps)(t.badge,{size:`sm`,variant:`outline`,class:`shrink-0`}),null,16)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),vI={class:`opacity-0 duration-100 group-hover/detail-list-group:opacity-100 focus-visible:opacity-100 has-focus-visible:opacity-100 pointer-coarse:opacity-100`},yI=(0,f.defineComponent)({__name:`DetailListGroupHeader`,props:{isOpen:{type:Boolean},collapseOptions:{},label:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{justify:`between`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{disabled:!t.collapseOptions.isCollapsible,class:`group/trigger -ml-sm flex h-6.5 max-w-full items-center overflow-hidden px-sm py-xs duration-100 not-disabled:hover:bg-tertiary disabled:cursor-default!`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`none`,class:`w-full`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs font-medium text-primary`},null,8,[`text`]),t.collapseOptions.isCollapsible&&t.collapseOptions.badge!=null?((0,f.openBlock)(),(0,f.createBlock)(_I,{key:0,badge:t.collapseOptions.badge,"is-visible":!t.isOpen},null,8,[`badge`,`is-visible`])):(0,f.createCommentVNode)(``,!0)]),_:1}),t.collapseOptions.isCollapsible?((0,f.openBlock)(),(0,f.createBlock)(gI,{key:0,class:`size-4 shrink-0 text-disabled opacity-0 duration-200 group-hover/detail-list-group:text-secondary group-hover/detail-list-group:opacity-100 group-has-focus-visible/detail-list-group:opacity-100 group-data-[state=closed]/trigger:opacity-100 group-data-[state=open]/trigger:rotate-90 pointer-coarse:opacity-100`})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`disabled`])]),_:1}),(0,f.createElementVNode)(`div`,vI,[(0,f.renderSlot)(e.$slots,`actions`)])]),_:3}))}}),bI=(0,f.defineComponent)({__name:`DetailListGroup`,props:(0,f.mergeModels)({collapseOptions:{},label:{default:null}},{modelValue:{type:Boolean,default:void 0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n={isCollapsible:!1,isOpenByDefault:!1},r=(0,f.useModel)(e,`modelValue`),i=(0,f.computed)(()=>({...n,...t.collapseOptions}));r.value===void 0&&(r.value=i.value.isOpenByDefault);let a=(0,f.computed)({get:()=>i.value.isCollapsible?r.value:!0,set:e=>{i.value.isCollapsible&&(r.value=e)}});return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e,"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{gap:`none`,class:`group/detail-list-group @container/detail-list w-full`},{default:(0,f.withCtx)(()=>[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(yI,{key:0,label:t.label,"is-open":a.value,"collapse-options":i.value},{actions:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`actions`)]),_:3},8,[`label`,`is-open`,`collapse-options`])),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{class:`w-full origin-top-left overflow-hidden data-[state=closed]:animate-[collapsible-up_150ms] data-[state=open]:animate-[collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{class:(0,f.normalizeClass)({"pt-xl":t.label!==null}),gap:`lg`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`])]),_:3})]),_:3})]),_:3},8,[`open`]))}}),xI=[`data-orientation`,`data-horizontal-value-alignment`],SI=(0,f.defineComponent)({__name:`DetailListGroupItem`,props:{horizontalValueAlignment:{default:`start`},orientation:{default:`horizontal`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{"data-orientation":t.orientation,"data-horizontal-value-alignment":t.horizontalValueAlignment,class:`group/detail-list-group-item flex w-full gap-xs data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:items-start data-[orientation=vertical]:flex-col @[15rem]:data-[orientation=horizontal]:flex-row @[15rem]:data-[orientation=horizontal]:data-[horizontal-value-alignment=end]:justify-between`},[(0,f.renderSlot)(e.$slots,`default`)],8,xI))}}),CI={key:0,class:`flex aspect-square h-text-xs items-center`},wI=(0,f.defineComponent)({__name:`DetailListGroupItemLabel`,props:{avatar:{default:null},icon:{default:null},label:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`,class:`min-w-28 shrink-0 @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=start]/detail-list-group-item:max-w-28`},{default:(0,f.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,CI,[t.avatar===null?((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:1,class:(0,f.normalizeClass)([{"text-disabled":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),{key:0,name:t.avatar.name,src:t.avatar.src,"is-static-color":t.avatar.isStaticColor,size:`xxs`},null,8,[`name`,`src`,`is-static-color`]))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)([{"text-tertiary":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),TI=(0,f.defineComponent)({__name:`DetailListGroupItemValueBadge`,props:{isDisabled:{type:Boolean},actions:{},ariaLabel:{},avatar:{},color:{},dot:{},icon:{},iconColor:{},label:{},left:{},metadata:{},models:{},rounded:{},variant:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Pb),(0,f.mergeProps)(t,{size:`sm`}),null,16))}}),EI={key:0,class:`flex aspect-square h-text-xs items-center`},DI=(0,f.defineComponent)({__name:`DetailListGroupItemValueText`,props:{avatar:{default:null},icon:{default:null},text:{},variant:{default:`default`}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`,align:`start`,class:`w-full @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=end]/detail-list-group-item:justify-end @[15rem]:group-data-[orientation=horizontal]/detail-list-group-item:group-data-[horizontal-value-alignment=end]/detail-list-group-item:text-right`},{default:(0,f.withCtx)(()=>[t.icon!==null||t.avatar!==null?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,EI,[t.avatar===null?t.icon===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:1,class:(0,f.normalizeClass)([{"text-disabled":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`size-3.5`])},null,8,[`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(hs),(0,f.mergeProps)({key:0},t.avatar,{size:`xxs`}),null,16))])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(G),{truncate:!1,text:t.text,class:(0,f.normalizeClass)([{"text-primary":t.variant==="default","text-warning-primary":t.variant===`warning`,"text-error-primary":t.variant===`error`},`text-xs`])},null,8,[`text`,`class`])]),_:1}))}}),OI=(0,f.defineComponent)({__name:`DetailListGroupSeparator`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs)))}}),kI=[`disabled`],AI={class:`min-w-0 flex-1`},jI={key:0,class:`truncate text-sm font-semibold text-primary`},MI={key:1,class:`mt-xxs truncate text-xs text-tertiary`},NI={key:0,class:`flex max-w-1/2 min-w-0 shrink-0 flex-col items-end gap-xxs`},PI={class:`pb-lg`},FI={class:`flex flex-col gap-lg rounded-xl bg-secondary/50 p-lg dark:bg-secondary`},II=(0,f.defineComponent)({__name:`DataTableMobileCard`,props:{isExpanded:{type:Boolean},isLast:{type:Boolean,default:!1},isSelectable:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},detailCells:{},indicatorCell:{},inlineActions:{default:()=>[]},metaCell:{},model:{default:null},moreActions:{default:()=>[]},primaryCell:{},secondaryCell:{},subComponent:{default:null},onClick:{default:null}},emits:[`toggleExpanded`,`toggleSelected`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.computed)(()=>n.metaCell!==null||n.indicatorCell!==null),o=(0,f.computed)(()=>n.subComponent===null?n.detailCells:[]),s=(0,f.computed)(()=>n.detailCells.length>0||n.subComponent!==null),c=(0,f.computed)(()=>n.inlineActions.concat(n.moreActions)),l=(0,f.computed)(()=>n.onClick!==null||c.value.length>0);return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"border-b border-secondary":!n.isLast},`min-w-0 overflow-hidden`])},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"hover:bg-primary-hover":!n.isExpanded},`flex min-w-0 items-start px-xl py-lg`]),role:`row`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{width:`0px`,opacity:0},animate:{width:`auto`,opacity:1},exit:{width:`0px`,opacity:0},transition:{duration:.2,bounce:0,type:`spring`},class:`flex h-text-sm items-center justify-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":n.isSelected,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.row.toggle_selection_action.name`),"onUpdate:modelValue":t[0]||=e=>r(`toggleSelected`)},null,8,[`model-value`,`label`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}),(0,f.createElementVNode)(`button`,{disabled:!s.value,class:`flex min-w-0 flex-1 items-start gap-md text-left outline-none disabled:cursor-default`,type:`button`,onClick:t[1]||=e=>s.value&&r(`toggleExpanded`)},[(0,f.createElementVNode)(`div`,AI,[n.primaryCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,jI,[(0,f.createVNode)(kP,{cell:n.primaryCell},null,8,[`cell`])])),n.secondaryCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,MI,[(0,f.createVNode)(kP,{cell:n.secondaryCell},null,8,[`cell`])]))]),a.value?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,NI,[n.metaCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:n.metaCell,class:`text-xs text-tertiary tabular-nums`},null,8,[`cell`])),n.indicatorCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:1,cell:n.indicatorCell},null,8,[`cell`]))])):(0,f.createCommentVNode)(``,!0),s.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(dn),{key:1,class:(0,f.normalizeClass)([{"-rotate-90":!n.isExpanded},`mt-xxs size-3.5 shrink-0 text-disabled duration-150`])},null,8,[`class`])):(0,f.createCommentVNode)(``,!0)],8,kI)],2),s.value?((0,f.openBlock)(),(0,f.createBlock)(Gx,{key:0,duration:.15},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[n.isExpanded?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,"as-child":!0,initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{type:`spring`,bounce:0,duration:.15}},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,PI,[(0,f.createElementVNode)(`div`,FI,[n.subComponent===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(n.subComponent),{key:0,class:`p-md`})),o.value.length>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(bI),{key:1},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(o.value,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(SI),{key:e.key,"horizontal-value-alignment":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(wI),{label:e.headerLabel},null,8,[`label`]),(0,f.createVNode)(kP,{cell:e.cell,class:`min-w-0 overflow-hidden text-xs text-primary`},null,8,[`cell`])]),_:2},1024))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),l.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{key:2,class:`mt-md`},{default:(0,f.withCtx)(()=>[n.onClick?.type===`link`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(iy),{key:0,"icon-right":(0,f.unref)(Jt),label:(0,f.unref)(i).t(`component.table.row.view_details_label`),to:n.onClick.to,size:`lg`,class:`w-full`,variant:`secondary`},null,8,[`icon-right`,`label`,`to`])):n.onClick?.type===`action`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:1,action:n.onClick.action,"is-current-context-only":!0,models:n.model===null?[]:[n.model]},{default:(0,f.withCtx)(({isExecuting:e})=>[(0,f.createVNode)((0,f.unref)($v),{"icon-right":(0,f.unref)(Jt),"is-loading":e,label:(0,f.unref)(i).t(`component.table.row.view_details_label`),size:`lg`,class:`w-full`,variant:`primary`},null,8,[`icon-right`,`is-loading`,`label`])]),_:1},8,[`action`,`models`])):(0,f.createCommentVNode)(``,!0),c.value.length>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(yc),{key:2,actions:c.value,"is-current-context-only":!0,models:n.model===null?[]:[n.model],"popover-align":`start`,"popover-side":`bottom`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(i).t(`component.data_table.row_actions_cell.label`),size:`lg`,class:`w-full`,variant:`secondary`},null,8,[`label`])]),_:1},8,[`actions`,`models`])):(0,f.createCommentVNode)(``,!0)]),_:1})):(0,f.createCommentVNode)(``,!0)])])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)],2))}}),LI={key:0,class:`truncate text-xs font-medium text-secondary`},RI={key:1,class:`flex shrink-0 items-center gap-md text-xs text-primary`},zI=(0,f.defineComponent)({__name:`DataTableMobileGroupHeader`,props:{isExpanded:{type:Boolean},isSelectable:{type:Boolean,default:!1},isSelected:{type:Boolean,default:!1},isSelectedIndeterminate:{type:Boolean,default:!1},cells:{default:()=>[]},depth:{default:0},label:{}},emits:[`toggle`,`toggleSelected`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.computed)(()=>n.cells.filter(e=>e.isVisibleOnMobile)),o=(0,f.computed)(()=>({paddingLeft:`${1+n.depth}rem`}));return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"bg-secondary":n.depth===0,"bg-tertiary":n.depth>0},`min-w-0 overflow-hidden border-b border-secondary`]),role:`row`},[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)(o.value),class:`flex h-9 min-w-0 items-center gap-xs pr-xl`},[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":n.isSelected,"is-indeterminate":n.isSelectedIndeterminate,"is-label-hidden":!0,label:(0,f.unref)(i).t(`component.table.group.toggle_selection_label`),"onUpdate:modelValue":t[0]||=e=>r(`toggleSelected`)},null,8,[`model-value`,`is-indeterminate`,`label`])):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`button`,{class:`flex min-w-0 flex-1 items-center gap-xs text-left outline-none focus-visible:bg-tertiary`,type:`button`,onClick:t[1]||=e=>r(`toggle`)},[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!n.isExpanded},`size-3.5 shrink-0 text-disabled duration-150`])},null,8,[`class`]),n.label===``?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,LI,(0,f.toDisplayString)(n.label),1)),(0,f.renderSlot)(e.$slots,`default`)]),a.value.length>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,RI,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e.columnId},[t>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Zs),{key:0,class:`h-3`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(kP,{cell:e.cell},null,8,[`cell`])],64))),128))])):(0,f.createCommentVNode)(``,!0)],4)],2))}});function BI(e,t){function n(n){let r=t.value,i=new Map(e.value.map(e=>[e.key,e]));function a(e){let t=e===void 0?void 0:i.get(e);return t===void 0?null:t.cell(n)}return{detailCells:e.value.map(e=>({cell:e.cell(n),headerLabel:e.headerLabel,key:e.key})),indicatorCell:a(r?.indicator),metaCell:a(r?.meta),primaryCell:a(r?.primary),secondaryCell:a(r?.secondary)}}return{getMobileSlots:n}}var VI={class:`min-w-0`,role:`table`},HI=[`data-index`],UI=[`data-index`],WI=[`data-index`],GI=(0,f.defineComponent)({__name:`DataTableMobileList`,props:{isSelectable:{type:Boolean,default:!1},columns:{},expandedItemKeys:{},getKey:{},mobileCard:{},rowViewModels:{}},emits:[`toggleExpanded`],setup(e,{emit:t}){let n=e,r=t;GO({isMobile:!0});let{getMobileSlots:i}=BI((0,f.computed)(()=>n.columns),(0,f.computed)(()=>n.mobileCard)),{isKeySelected:a,getKeysSelectionState:o,toggleKey:s,toggleKeys:c}=TP(),{toggleGroupExpanded:l}=mP(),{measureElement:u,paddingBeforePx:d,virtualItems:p}=DP(),{chunks:m,getChunkGroupHeaderEntry:h,getSubChunkDataRowEntries:g,getSubChunkSubgroupHeaderEntry:_,paddingBeforePx:v}=VP({getRowAtIndex:e=>n.rowViewModels[e].row,getViewModelAtIndex:e=>n.rowViewModels[e],groupHeaderHeightPx:36,paddingBeforePxFromVirtualizer:d,virtualItems:p});function y(e){return o(e.groupLeafKeys)}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,VI,[(0,f.createVNode)($P,{"padding-before-px":(0,f.unref)(v)},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(m),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(h)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index,class:`sticky top-0 z-20 bg-primary`},[(0,f.createVNode)(zI,{cells:e.viewModel.groupHeaderCells,depth:0,"is-expanded":e.viewModel.row.getIsExpanded(),"is-selectable":n.isSelectable,"is-selected":y(e.viewModel)===`all`,"is-selected-indeterminate":y(e.viewModel)===`some`,label:e.viewModel.groupLabelCell===null?e.viewModel.groupLabel:``,onToggle:t=>(0,f.unref)(l)(e.viewModel.row.id),onToggleSelected:t=>(0,f.unref)(c)(e.viewModel.groupLeafKeys)},{default:(0,f.withCtx)(()=>[e.viewModel.groupLabelCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:e.viewModel.groupLabelCell},null,8,[`cell`]))]),_:2},1032,[`cells`,`is-expanded`,`is-selectable`,`is-selected`,`is-selected-indeterminate`,`label`,`onToggle`,`onToggleSelected`])],8,HI))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.subChunks,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,class:`relative`},[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(_)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index,class:`sticky top-9 z-10 bg-primary`},[(0,f.createVNode)(zI,{cells:e.viewModel.groupHeaderCells,depth:e.viewModel.row.depth,"is-expanded":e.viewModel.row.getIsExpanded(),"is-selectable":n.isSelectable,"is-selected":y(e.viewModel)===`all`,"is-selected-indeterminate":y(e.viewModel)===`some`,label:e.viewModel.groupLabelCell===null?e.viewModel.groupLabel:``,onToggle:t=>(0,f.unref)(l)(e.viewModel.row.id),onToggleSelected:t=>(0,f.unref)(c)(e.viewModel.groupLeafKeys)},{default:(0,f.withCtx)(()=>[e.viewModel.groupLabelCell===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(kP,{key:0,cell:e.viewModel.groupLabelCell},null,8,[`cell`]))]),_:2},1032,[`cells`,`depth`,`is-expanded`,`is-selectable`,`is-selected`,`is-selected-indeterminate`,`label`,`onToggle`,`onToggleSelected`])],8,UI))),128)),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(g)(e),e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.key,ref_for:!0,ref:(0,f.unref)(u),"data-index":e.index},[(0,f.createVNode)(II,(0,f.mergeProps)({ref_for:!0},(0,f.unref)(i)(e.viewModel.row.original),{"inline-actions":e.viewModel.rowConfig?.actions?.inline??[],"is-expanded":n.expandedItemKeys.has(n.getKey(e.viewModel.row.original)),"is-last":e.viewModel.isLast,"is-selectable":n.isSelectable,"is-selected":(0,f.unref)(a)(n.getKey(e.viewModel.row.original)),model:e.viewModel.rowConfig?.model??null,"more-actions":e.viewModel.rowConfig?.actions?.more??[],"on-click":e.viewModel.rowConfig?.onClick??null,"sub-component":e.viewModel.subComponent,onToggleExpanded:t=>r(`toggleExpanded`,n.getKey(e.viewModel.row.original)),onToggleSelected:t=>(0,f.unref)(s)(n.getKey(e.viewModel.row.original))}),null,16,[`inline-actions`,`is-expanded`,`is-last`,`is-selectable`,`is-selected`,`model`,`more-actions`,`on-click`,`sub-component`,`onToggleExpanded`,`onToggleSelected`])],8,WI))),128))]))),128))]))),128))]),_:1},8,[`padding-before-px`])]))}}),KI={class:`flex items-center justify-end px-xl py-lg @md/data-table:hidden`},qI=(0,f.defineComponent)({__name:`DataTableMobileSelectToggle`,props:{isSelectModeOn:{type:Boolean,required:!0},isSelectModeOnModifiers:{}},emits:[`update:isSelectModeOn`],setup(e){let t=(0,f.useModel)(e,`isSelectModeOn`),n=(0,g.useI18n)(),{clearSelection:r}=TP();function i(){t.value&&r(),t.value=!t.value}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,KI,[(0,f.createElementVNode)(`button`,{class:`text-xs font-medium text-brand-primary outline-none`,type:`button`,onClick:i},(0,f.toDisplayString)(t.value?(0,f.unref)(n).t(`component.data_table.mobile_list.cancel_select_label`):(0,f.unref)(n).t(`component.data_table.mobile_list.select_label`)),1)]))}});function JI(e){switch(e.type){case`text`:case`number`:case`currency`:case`boolean`:case`id`:return e.value;case`timestamp`:return e.value?.epochMilliseconds??null;case`badge`:return e.label??null;case`location`:if(e.value===null)return null;switch(e.precision){case`country`:return e.value.country;case`municipality`:return e.value.city;default:return[e.value.street,e.value.streetNumber].filter(Boolean).join(` `)}default:return null}}var YI=Uk({columnGroupingFeature:cN,columnPinningFeature:lN,columnResizingFeature:LN,columnSizingFeature:RN,columnVisibilityFeature:zN,expandedRowModel:aP(),groupedRowModel:tP(),rowExpandingFeature:BN});function XI(e){let t=(0,f.ref)({}),n=(0,f.ref)({}),r=(0,f.ref)(!(e.isGroupCollapsedByDefault?.value??!1)),i=(0,f.shallowRef)(new Set);function a(e){return r.value!==i.value.has(e)}function o(e){let t=new Set(i.value);t.has(e)?t.delete(e):t.add(e),i.value=t}function s(e){r.value=e,i.value=new Set}(0,f.watch)(()=>e.isGroupCollapsedByDefault?.value??!1,e=>{s(!e)});let c=(0,f.computed)(()=>i.value.size===0?r.value?!0:{}:Object.fromEntries([...i.value].map(e=>[e,!r.value]))),l=(0,f.computed)(()=>{let t=e.groupBy?.value??null;return t===null?[]:Array.isArray(t)?t:[t]}),u=(0,f.computed)(()=>e.isGroupByColumnHidden?.value??!1?new Set(l.value):new Set),d=(0,f.computed)(()=>e.columns.value.filter(e=>!u.value.has(e.key))),p=(0,f.computed)(()=>e.columns.value.map(e=>({id:e.key,accessorFn:t=>JI(e.cell(t)),cell:t=>(0,f.h)(kP,{cell:e.cell(t.row.original)}),header:e.headerLabel,minSize:60,size:e.size??BO[e.cellType]}))),m=(0,f.computed)(()=>{let t=d.value[0]?.key,n=d.value.at(-1)?.key,r=e.isFirstColumnSticky?.value===!0&&t!==void 0?[t]:[],i=e.isLastColumnSticky?.value===!0&&n!==void 0?[n]:[],a=[];for(let e of d.value)r.includes(e.key)||i.includes(e.key)||(e.isSticky===`left`?r.push(e.key):e.isSticky===`right`&&a.push(e.key));return i.push(...a.reverse()),{end:i,start:r}}),h=uP({getRowId:t=>e.getKey(t),columnResizeMode:`onChange`,get columns(){return p.value},get data(){return e.data.value},get enableColumnResizing(){return!(e.isColumnResizeDisabled?.value??!1)},features:YI,getIsRowExpanded:e=>e.getIsGrouped()&&a(e.id),getRowCanExpand:e=>e.getIsGrouped(),get groupedColumnMode(){return e.isGroupByColumnHidden?.value??!1?`remove`:!1},state:{get columnPinning(){return m.value},get columnSizing(){return n.value},get columnVisibility(){return t.value},get expanded(){return c.value},get grouping(){return l.value}},onColumnPinningChange:()=>{},onColumnSizingChange:e=>{n.value=typeof e==`function`?e(n.value):e},onColumnVisibilityChange:e=>{t.value=typeof e==`function`?e(t.value):e},onExpandedChange:()=>{},onGroupingChange:()=>{}});function g(e,t){h.setColumnSizing(n=>({...n,[e]:t}))}let _=(0,f.computed)(()=>i.value.size===0?r.value:h.getPreExpandedRowModel().flatRows.filter(e=>e.getIsGrouped()).every(e=>a(e.id)));function v(){l.value.length!==0&&s(!_.value)}let y=(0,f.computed)(()=>[...h.getStartLeafColumns(),...h.getCenterLeafColumns(),...h.getEndLeafColumns()].map(e=>e.id)),b=(0,f.computed)(()=>{let t=HO.toVisualColumnOrder(h.getVisibleLeafColumns(),e=>e.id,y.value).map(e=>e.getSize()),n=[];(e.isSelectable?.value??!1)&&n.push(RO),(e.hasSubComponent?.value??!1)&&n.push(LO);let r=[];return(e.hasRowActions?.value??!1)&&r.push(zO),HO.columnSizesToGridTemplateColumns(t,n,r)}),x=(0,f.computed)(()=>({checkbox:0,expand:e.isSelectable?.value??!1?48:0})),S=(0,f.computed)(()=>h.getStartLeafColumns().length>0||(e.isSelectable?.value??!1)||(e.hasSubComponent?.value??!1)),C=(0,f.computed)(()=>(e.isSelectable?.value??!1)&&!(e.hasSubComponent?.value??!1)&&h.getStartLeafColumns().length===0),w=(0,f.computed)(()=>(e.hasSubComponent?.value??!1)&&h.getStartLeafColumns().length===0),T=(0,f.computed)(()=>{let t=new Map,n=0;(e.isSelectable?.value??!1)&&(n+=48),(e.hasSubComponent?.value??!1)&&(n+=40);for(let e of h.getStartLeafColumns())t.set(e.id,n),n+=e.getSize();return t}),E=(0,f.computed)(()=>{let t=new Map,n=e.hasRowActions?.value??!1?80:0;for(let e of h.getEndLeafColumns())t.set(e.id,n),n+=e.getSize();return t});return{leftStickyBorderColumnId:(0,f.computed)(()=>Array.from(T.value.keys()).at(-1)??null),leftStickyOffsetPxByColumnId:T,rightStickyBorderColumnId:(0,f.computed)(()=>Array.from(E.value.keys()).at(-1)??null),rightStickyOffsetPxByColumnId:E,hasCheckboxOwnStickyBorder:C,hasExpandOwnStickyBorder:w,isAllGroupsExpanded:_,isLeadingStickyRegionActive:S,gridTemplateColumns:b,leadingStickyOffsetsPx:x,renderedColumns:d,setColumnSize:g,table:h,toggleAllGroupsExpanded:v,toggleGroupExpanded:o,visualColumnOrderIds:y}}function ZI(e){let t=(0,f.ref)(!1),n=(0,f.ref)(!1);function r(e){t.value=e.scrollLeft>0,n.value=e.scrollLeft+e.clientWidth<e.scrollWidth-1}return(0,f.watch)(e,(e,i,a)=>{if(e===null){t.value=!1,n.value=!1;return}r(e);function o(e){r(e.currentTarget)}e.addEventListener(`scroll`,o,{passive:!0});let s=new ResizeObserver(()=>r(e));s.observe(e);let c=e.children[0];c!==void 0&&s.observe(c),a(()=>{e.removeEventListener(`scroll`,o),s.disconnect()})},{immediate:!0}),{isScrolledFromLeft:(0,f.computed)(()=>t.value),isScrolledFromRight:(0,f.computed)(()=>n.value)}}function QI(e){function t(t){let n=t.groupingColumnId;if(n===void 0)return null;let r=e.columns.value.find(e=>e.key===n);return r===void 0?null:r.cell(t.original)}function n(e){return e.getLeafRows().filter(e=>!e.getIsGrouped())}let r=(0,f.computed)(()=>{let t=Number(e.isSelectable.value)+Number(e.hasSubComponent.value);return new Map(e.visualColumnOrderIds.value.map((e,n)=>[e,t+n+1]))});function i(t){let n=[];for(let i of e.columns.value){let e=r.value.get(i.key);if(i.groupHeaderCell===void 0||i.groupHeaderCell===null||e===void 0)continue;let a=i.groupHeaderCell.value(t);a!==null&&n.push({columnId:i.key,isVisibleOnMobile:i.groupHeaderCell.isVisibleOnMobile??!1,cell:a,gridColumnStart:e})}return n}return(0,f.computed)(()=>{let r=e.rows.value;return r.map((a,o)=>{let s=a.getIsGrouped(),c=s?null:e.subComponentByItemKey.value.get(e.getKey(a.original))??null,l=s?n(a):[];return{isGrouped:s,isLast:o===r.length-1,isSubComponentExpanded:e.expandedSubComponentRowIds.value.has(a.id),canExpandSubComponent:c!==null,groupHeaderCells:s?i(l.map(e=>e.original)):[],groupLabel:s?String(a.groupingValue):``,groupLabelCell:s?t(a):null,groupLeafKeys:l.map(e=>e.id),row:a,rowConfig:s?null:e.row.value?.(a.original)??null,subComponent:c}})})}function $I(){return{items:[],type:`include`}}var eL=$I();function tL(e,t){if(e.type===`include`)return{items:[...new Set([...e.items,...t])],type:`include`};let n=new Set(t);return{items:e.items.filter(e=>!n.has(e)),type:`exclude`}}function nL(e,t){if(e.type===`include`){let n=new Set(t);return{items:e.items.filter(e=>!n.has(e)),type:`include`}}return{items:[...new Set([...e.items,...t])],type:`exclude`}}function rL(e){let t=(0,p.useActionManagerStore)(),n=e.isEnabled??(0,f.computed)(()=>!0),r=(0,f.shallowRef)(null);(0,f.watch)(n,(e,n)=>{if(e){t.setTableSelection($I());return}n===!0&&t.setTableSelection(null)},{immediate:!0}),(0,f.onBeforeUnmount)(()=>{n.value&&t.setTableSelection(null)});let i=(0,f.computed)(()=>n.value?t.tableSelection??eL:eL),a=(0,f.computed)(()=>new Set(i.value.items)),o=(0,f.computed)(()=>i.value.type===`exclude`&&i.value.items.length===0),s=(0,f.computed)(()=>i.value.items.length>0);function c(e){n.value&&t.setTableSelection(e)}function l(e){let t=a.value.has(e);return i.value.type===`include`?t:!t}function u(e){c(tL(i.value,e))}function d(e){c(nL(i.value,e))}function m(t,n){let r=e.orderedKeys.value,i=r.indexOf(t),a=r.indexOf(n);return i===-1||a===-1?null:r.slice(Math.min(i,a),Math.max(i,a)+1)}function h(e,t=!1){if(t&&r.value!==null){let t=m(r.value,e);if(t!==null){l(e)?d(t):u(t);return}}l(e)?d([e]):u([e]),r.value=e}let g=null;function _(e){n.value&&(g={isSelecting:!l(e),anchorKey:e,initialSelection:i.value},r.value=e)}function v(e){if(g===null)return;let t=m(g.anchorKey,e);t!==null&&c(g.isSelecting?tL(g.initialSelection,t):nL(g.initialSelection,t))}function y(){g=null}function b(e){if(e.length===0)return`none`;let t=e.filter(e=>l(e)).length;return t===0?`none`:t===e.length?`all`:`some`}function x(e){b(e)===`all`?d(e):u(e)}function S(){o.value?c($I()):c({items:[],type:`exclude`})}function C(){n.value&&t.clearTableSelection()}return{isAllSelected:o,isIndeterminate:s,isKeySelected:l,clearSelection:C,deselectKeys:d,endDragSelection:y,getKeysSelectionState:b,selectKeys:u,startDragSelection:_,toggleAll:S,toggleKey:h,toggleKeys:x,updateDragSelection:v}}var iL=class{static canLoadNextPage(e){return e.hasOnNextPage&&!e.isLoading&&!e.isFetchingNextPage&&!e.hasError}static getContentState(e){return e.hasError?`error`:e.itemCount===0&&!e.isLoading?`empty`:`items`}static getVirtualPadding(e,t){let n=e.at(0),r=e.at(-1);return{paddingAfterPx:r===void 0?0:t-r.end,paddingBeforePx:n?.start??0}}static resolveMeasuredSize(e,t){return e>0?e:t}},aL=(0,f.defineComponent)({inheritAttrs:!1,__name:`List`,props:(0,f.mergeDefaults)({isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},isSelectable:{type:Boolean},as:{},error:{},getKey:{type:Function},items:{},orderedKeys:{},totalCount:{},onNextPage:{type:[Function,null]}},HP),setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.computed)(()=>aI());function i(e){return t.getKey(e)}let a=(0,f.computed)(()=>t.orderedKeys??t.items.map(e=>i(e))),{isAllSelected:o,isIndeterminate:s,isKeySelected:c,clearSelection:l,endDragSelection:u,getKeysSelectionState:d,startDragSelection:p,toggleAll:m,toggleKey:g,toggleKeys:_,updateDragSelection:v}=rL({isEnabled:(0,f.computed)(()=>t.isSelectable),orderedKeys:a}),y=(0,f.computed)(()=>t.isSelectable?t.items.filter(e=>c(i(e))):[]),b=(0,f.computed)(()=>o.value&&t.totalCount!==null?t.totalCount:y.value.length),x=(0,f.shallowRef)(0);function S(){return x.value++,()=>{x.value--}}let C=0;function w(){return C++}let T=(0,f.computed)(()=>x.value>0&&t.isSelectable&&b.value>0),E=(0,f.computed)(()=>iL.getContentState({hasError:t.error!==null,isLoading:t.isLoading,itemCount:t.items.length})),D=(0,f.computed)(()=>iL.canLoadNextPage({hasError:t.error!==null,hasOnNextPage:t.onNextPage!==null,isFetchingNextPage:t.isFetchingNextPage,isLoading:t.isLoading}));return wP({isAllSelected:o,isFetchingNextPage:(0,f.computed)(()=>t.isFetchingNextPage),isIndeterminate:s,isKeySelected:c,isLoading:(0,f.computed)(()=>t.isLoading),isSelectable:(0,f.computed)(()=>t.isSelectable),isSelectionBarVisible:T,canLoadNextPage:D,clearSelection:l,contentState:E,endDragSelection:u,error:(0,f.computed)(()=>t.error),getKey:i,getKeysSelectionState:d,items:(0,f.computed)(()=>t.items),registerSelectionBar:S,registerViewport:w,selectedCount:b,selectedItems:y,startDragSelection:p,toggleAll:m,toggleKey:g,toggleKeys:_,totalCount:(0,f.computed)(()=>t.totalCount),updateDragSelection:v,onNextPage:(0,f.computed)(()=>t.onNextPage)}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),(0,f.mergeProps)((0,f.unref)(n),{as:t.as,class:r.value.root({class:(0,f.unref)(n).class})}),{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},16,[`as`,`class`]))}}),oL={class:`pr-2xl text-xs font-medium whitespace-nowrap text-secondary tabular-nums md:pr-6xl`},sL=(0,f.defineComponent)({__name:`ListSelectionBarPanel`,props:{actions:{},metadata:{},models:{},selectedCount:{}},emits:[`clear`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)();return ct({key:`Escape`},()=>{n.selectedCount>0&&r(`clear`)}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[n.selectedCount>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:10,scale:.99},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.99},transition:{type:`spring`,bounce:0,duration:.2},class:`default absolute bottom-[calc(env(safe-area-inset-bottom)+1rem)] left-1/2 z-10 flex -translate-x-1/2 items-center justify-between gap-lg rounded-xl border border-secondary bg-primary/75 py-sm pr-sm pl-lg shadow-lg/5 backdrop-blur-md`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,oL,[(0,f.renderSlot)(e.$slots,`count`,{count:n.selectedCount},()=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).t(`component.list.selection_bar.selected_count`,n.selectedCount)),1)])]),(0,f.createVNode)((0,f.unref)(B),{gap:`sm`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.actions,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(xc),{key:e.id,action:e,"is-current-context-only":!1,models:n.models??[]},{default:(0,f.withCtx)(({icon:e,isExecuting:t,keyboardShortcut:n,label:r})=>[e===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Y),{key:0,label:r,icon:e,"is-loading":t,"keyboard-shortcut":n,variant:`tertiary`,size:`sm`},null,8,[`label`,`icon`,`is-loading`,`keyboard-shortcut`]))]),_:1},8,[`action`,`models`]))),128)),(0,f.createVNode)((0,f.unref)(Zs),{orientation:`vertical`,class:`h-4`}),(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),"keyboard-shortcut":{key:`Escape`},label:(0,f.unref)(i).t(`component.list.selection_bar.clear_label`),variant:`tertiary`,size:`sm`,onClick:t[0]||=e=>r(`clear`)},null,8,[`icon`,`label`])]),_:1})]),_:3})):(0,f.createCommentVNode)(``,!0)]),_:3}))}}),cL=(0,f.defineComponent)({__name:`ListSelectionBar`,props:(0,f.mergeDefaults)({actions:{},getModel:{type:[Function,null]}},QP),setup(e){let t=e,{clearSelection:n,registerSelectionBar:r,selectedCount:i,selectedItems:a}=TP();(0,f.onBeforeUnmount)(r());let o=(0,f.computed)(()=>{let e=t.getModel;return e===null?[]:a.value.map(t=>e(t)).filter(e=>e!=null)});return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(sL,{actions:t.actions,models:o.value,"selected-count":(0,f.unref)(i),onClear:(0,f.unref)(n)},(0,f.createSlots)({_:2},[e.$slots.count===void 0?void 0:{name:`count`,fn:(0,f.withCtx)(({count:t})=>[(0,f.renderSlot)(e.$slots,`count`,{count:t})]),key:`0`}]),1032,[`actions`,`models`,`selected-count`,`onClear`]))}}),lL=`[data-list-item-key]`,uL=40,dL=20;function fL(e){return Math.min(dL,Math.ceil(e/uL*dL))}function pL(e){e.preventDefault()}function mL(e){e.preventDefault(),e.stopPropagation()}function hL(){window.addEventListener(`click`,mL,{capture:!0,once:!0}),setTimeout(()=>window.removeEventListener(`click`,mL,{capture:!0}))}function gL(e){let t=null,n=0,r=0,i=0,a=null,o=!1,s=0,c=null;function l(t){let n=t.getBoundingClientRect(),r=n.left+i,a=Math.min(Math.max(s,n.top+t.clientTop+(0,f.toValue)(e.stickyHeaderHeightPx)+1),n.bottom-1);return(document.elementFromPoint(r,a)?.closest(lL))?.getAttribute(`data-list-item-key`)??null}function u(t){let n=t.getBoundingClientRect(),r=n.top+(0,f.toValue)(e.stickyHeaderHeightPx)+uL,i=n.bottom-uL;return s<r?-fL(r-s):s>i?fL(s-i):0}function d(){let t=e.scrollElement.value;if(t!==null){t.scrollTop+=u(t);let n=l(t);n!==null&&n!==a&&(a=n,e.onDragMove(n))}c=requestAnimationFrame(d)}function p(){t!==null&&(o=!0,window.getSelection()?.removeAllRanges(),e.onDragStart(t),c=requestAnimationFrame(d))}function m(e){s=e.clientY,!o&&(s<n||s>r)&&p()}function h(){window.removeEventListener(`pointermove`,m),window.removeEventListener(`pointerup`,g),window.removeEventListener(`pointercancel`,g),document.removeEventListener(`selectstart`,pL),c!==null&&(cancelAnimationFrame(c),c=null),t=null,a=null,o=!1}function g(){o&&(e.onDragEnd(),hL()),h()}function _(o,c){if(!(0,f.toValue)(e.isEnabled)||c.button!==0||c.pointerType===`touch`)return;let l=e.scrollElement.value,u=c.target?.closest(lL);if(l===null||u==null)return;h();let d=u.getBoundingClientRect();t=o,n=d.top,r=d.bottom,i=c.clientX-l.getBoundingClientRect().left,a=o,s=c.clientY,window.addEventListener(`pointermove`,m),window.addEventListener(`pointerup`,g),window.addEventListener(`pointercancel`,g),document.addEventListener(`selectstart`,pL)}return(0,f.onBeforeUnmount)(h),{onItemPointerDown:_}}function _L(e){let t=(0,f.shallowRef)((0,f.toValue)(e.canLoadNextPage));(0,f.watch)(()=>(0,f.toValue)(e.canLoadNextPage),e=>{e||(t.value=!1)},{flush:`sync`}),(0,f.watch)(()=>(0,f.toValue)(e.canLoadNextPage),e=>{e&&(t.value=!0)},{flush:`post`});let{reset:n}=(0,m.useInfiniteScroll)(e.scrollElement,()=>{(0,f.toValue)(e.onNextPage)?.()},{canLoadMore:()=>t.value,distance:e.distancePx});(0,m.useResizeObserver)(e.scrollElement,()=>n()),(0,f.watch)(()=>(0,f.toValue)(e.itemCount),()=>n())}var vL=50,yL=10,bL=new Map;function xL(e,t){if(bL.delete(e),t!==null&&(bL.set(e,t),bL.size>vL)){let e=bL.keys().next().value;e!==void 0&&bL.delete(e)}}function SL(e){if(!e.isEnabled)return null;if(e.explicitKey!==null)return e.explicitKey;let t=(0,f.inject)(y.routeLocationKey,null);return t===null?null:`${t.path}|list-viewport:${e.viewportIndex}`}function CL(e){let t=(0,f.shallowRef)(!1),n=im(),r=null;function i(){r!==null&&(cancelAnimationFrame(r),r=null)}function a(){if(i(),t.value=!1,n.value){e.virtualizer.value.scrollToOffset(0);return}e.virtualizer.value.scrollToOffset(0,{behavior:`smooth`}),e.scrollElement.value?.addEventListener(`scrollend`,()=>{let t=e.scrollElement.value?.scrollTop??0;t>0&&t<=100&&e.virtualizer.value.scrollToOffset(0)},{once:!0})}(0,m.useEventListener)(e.scrollElement,`scroll`,()=>{let n=e.scrollElement.value?.scrollTop??0;t.value&&n<=100&&(t.value=!1)},{passive:!0}),(0,m.useEventListener)(e.scrollElement,[`keydown`,`pointerdown`,`touchstart`,`wheel`],i,{passive:!0});let o={isRestoredIndicatorVisible:(0,f.readonly)(t),scrollToTop:a};if(e.key===null)return o;let s=e.key,c=null,l=!1;function u(t){let n=(0,f.toValue)(e.count);for(let r=0;r<n;r++)if(e.getItemKey(r)===t)return r;return-1}function d(){let t=e.virtualizer.value,n=t.scrollOffset??0;if(n<=0)return null;let r=t.getVirtualItems().find(e=>e.end>n);return r===void 0?null:{itemKey:r.key,offsetWithinItemPx:n-r.start}}function p(n,r){let i=e.virtualizer.value,a=i.getOffsetForIndex(n,`start`)?.[0];if(a===void 0)return!1;let o=a+r.offsetWithinItemPx;return Math.abs(o-(e.scrollElement.value?.scrollTop??0))<=1?!1:(i.scrollToOffset(o),t.value=(e.scrollElement.value?.scrollTop??0)>100,!0)}function h(e,t,n){r=requestAnimationFrame(()=>{r=null,p(e,t)&&n>1&&h(e,t,n-1)})}function g(e){let t=u(e.itemKey);if(t===-1){xL(s,null);return}p(t,e)&&h(t,e,yL)}function _(){if(c===null||(0,f.toValue)(e.isLoading))return;let t=c;c=null,(0,f.nextTick)(()=>g(t))}function v(){c=bL.get(s)??null,_()}return(0,f.watch)(()=>(0,f.toValue)(e.isLoading),_),(0,f.onMounted)(v),(0,f.onBeforeUnmount)(()=>{i(),l||xL(s,d())}),(0,f.onDeactivated)(()=>{i(),xL(s,d()),l=!0,t.value=!1}),(0,f.onActivated)(()=>{l&&(l=!1,v())}),o}function wL(e){function t(t){let n=(0,f.toValue)(e.estimateSize);return typeof n==`function`?n(t):n}let n=(0,S.useVirtualizer)((0,f.computed)(()=>({count:(0,f.toValue)(e.count),estimateSize:t,getItemKey:t=>(0,f.toValue)(e.getItemKey)?.(t)??t,getScrollElement:()=>e.scrollElement.value,measureElement:(e,n,r)=>iL.resolveMeasuredSize((0,S.measureElement)(e,n,r),t(r.indexFromElement(e))),overscan:(0,f.toValue)(e.overscan)??5}))),r=(0,f.computed)(()=>n.value.getVirtualItems()),i=(0,f.computed)(()=>n.value.getTotalSize()),a=(0,f.computed)(()=>iL.getVirtualPadding(r.value,i.value)),o=(0,f.computed)(()=>a.value.paddingBeforePx),s=(0,f.computed)(()=>a.value.paddingAfterPx);function c(e){let t=(0,m.unrefElement)(e)??null;n.value.measureElement(t)}function l(e,t){n.value.scrollToIndex(e,t)}return{measureElement:c,paddingAfterPx:s,paddingBeforePx:o,scrollToIndex:l,totalSizePx:i,virtualItems:r,virtualizer:n}}var TL=(0,f.defineComponent)({inheritAttrs:!1,__name:`ListViewport`,props:(0,f.mergeDefaults)({hasSelectionBarInset:{type:Boolean},isScrollRestorationEnabled:{type:Boolean},as:{},count:{},estimateSize:{type:[Function,Number]},getItemKey:{type:[Function,null]},infiniteScrollDistancePx:{},overscan:{},scrollRestorationKey:{},stickyHeaderHeightPx:{}},UP),setup(e,{expose:t}){let n=e,r=(0,f.useAttrs)(),i=(0,f.computed)(()=>aI()),{isLoading:a,isSelectable:o,isSelectionBarVisible:s,canLoadNextPage:c,endDragSelection:l,getKey:u,items:d,registerViewport:p,startDragSelection:g,updateDragSelection:_,onNextPage:v}=TP(),y=p(),b=(0,f.useTemplateRef)(`viewport`),x=(0,f.computed)(()=>(0,m.unrefElement)(b.value)??null),S=(0,f.computed)(()=>n.count??d.value.length);function C(e){if(n.getItemKey!==null)return n.getItemKey(e);if(n.count!==null)return e;let t=d.value[e];return t===void 0?e:u(t)}let{measureElement:w,paddingAfterPx:T,paddingBeforePx:E,scrollToIndex:D,totalSizePx:O,virtualItems:ee,virtualizer:k}=wL({count:S,estimateSize:()=>n.estimateSize,getItemKey:()=>C,overscan:()=>n.overscan,scrollElement:x});_L({canLoadNextPage:c,distancePx:n.infiniteScrollDistancePx,itemCount:S,scrollElement:x,onNextPage:v});let{isRestoredIndicatorVisible:A,scrollToTop:j}=CL({isLoading:a,count:S,getItemKey:C,key:SL({isEnabled:n.isScrollRestorationEnabled&&(n.count===null||n.getItemKey!==null),explicitKey:n.scrollRestorationKey,viewportIndex:y}),scrollElement:x,virtualizer:k}),{onItemPointerDown:te}=gL({isEnabled:o,scrollElement:x,stickyHeaderHeightPx:()=>n.stickyHeaderHeightPx,onDragEnd:l,onDragMove:_,onDragStart:g});return EP({isScrollRestoredIndicatorVisible:A,count:S,measureElement:w,paddingAfterPx:T,paddingBeforePx:E,scrollElement:x,scrollToIndex:D,scrollToTop:j,stickyHeaderHeightPx:(0,f.computed)(()=>n.stickyHeaderHeightPx),totalSizePx:O,virtualItems:ee,onDragSelectionPointerDown:te}),t({scrollElement:x,scrollToIndex:D}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),(0,f.mergeProps)({ref:`viewport`},(0,f.unref)(r),{as:n.as,class:i.value.viewport({class:(0,f.unref)(r).class})}),{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`),n.hasSelectionBarInset&&(0,f.unref)(s)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)(i.value.selectionBarInset()),"aria-hidden":`true`},null,2)):(0,f.createCommentVNode)(``,!0)]),_:3},16,[`as`,`class`]))}}),EL=(0,f.defineComponent)({__name:`DataTable`,props:{isColumnResizeDisabled:{type:Boolean,default:!1},isFetchingNextPage:{type:Boolean,default:!1},isFirstColumnSticky:{type:Boolean,default:!0},isGroupByColumnHidden:{type:Boolean,default:!1},isGroupCollapsedByDefault:{type:Boolean,default:!1},isLastColumnSticky:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isSelectable:{type:Boolean,default:!1},columns:{},data:{},emptyState:{default:()=>({})},error:{default:null},filters:{default:()=>({})},getKey:{},groupBy:{default:null},mobileCard:{default:null},row:{type:[Function,null],default:null},selectionActions:{default:()=>[]},sort:{default:null},subComponent:{type:[Function,null],default:null},totalCount:{default:null},variant:{default:`contained`},onNextPage:{type:[Function,null],default:null}},setup(e,{expose:t}){let n=e,r=(0,g.useI18n)(),i=(0,f.computed)(()=>({title:n.emptyState.title??r.t(`component.data_table.empty_state.no_data.title`),description:n.emptyState.description??r.t(`component.data_table.empty_state.no_data.description`),icon:n.emptyState.icon??null,illustration:n.emptyState.illustration??(n.emptyState.icon==null?`cloud-search`:null),primaryAction:n.emptyState.primaryAction??null,secondaryAction:n.emptyState.secondaryAction??null})),a=(0,f.useTemplateRef)(`desktopViewport`),{isScrolledFromLeft:o,isScrolledFromRight:s}=ZI((0,f.computed)(()=>a.value?.scrollElement??null)),c=(0,f.computed)(()=>{let e=new Map;if(n.subComponent===null)return e;for(let t of n.data){let r=n.subComponent(t);r!==null&&e.set(n.getKey(t),r)}return e}),l=(0,f.computed)(()=>c.value.size>0),u=(0,f.computed)(()=>n.row===null?!1:n.data.some(e=>{let t=n.row?.(e)?.actions;return(t?.inline.length??0)>0||(t?.more.length??0)>0})),{leftStickyBorderColumnId:d,leftStickyOffsetPxByColumnId:p,rightStickyBorderColumnId:m,rightStickyOffsetPxByColumnId:h,hasCheckboxOwnStickyBorder:_,hasExpandOwnStickyBorder:v,isAllGroupsExpanded:y,isLeadingStickyRegionActive:b,gridTemplateColumns:x,leadingStickyOffsetsPx:S,renderedColumns:C,setColumnSize:w,table:T,toggleAllGroupsExpanded:E,toggleGroupExpanded:D,visualColumnOrderIds:O}=XI({hasRowActions:u,hasSubComponent:l,isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isFirstColumnSticky:(0,f.computed)(()=>n.isFirstColumnSticky),isGroupByColumnHidden:(0,f.computed)(()=>n.isGroupByColumnHidden),isGroupCollapsedByDefault:(0,f.computed)(()=>n.isGroupCollapsedByDefault),isLastColumnSticky:(0,f.computed)(()=>n.isLastColumnSticky),isSelectable:(0,f.computed)(()=>n.isSelectable),columns:(0,f.computed)(()=>n.columns),data:(0,f.computed)(()=>n.data),getKey:n.getKey,groupBy:(0,f.computed)(()=>n.groupBy)}),ee=(0,f.computed)(()=>new Map(n.columns.map(e=>[e.key,e.justifyContent??`start`])));function k(e){return e===null?`start`:ee.value.get(e)??`start`}pP({leftStickyBorderColumnId:d,leftStickyOffsetPxByColumnId:p,rightStickyBorderColumnId:m,rightStickyOffsetPxByColumnId:h,hasCheckboxOwnStickyBorder:_,hasExpandOwnStickyBorder:v,isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isFirstColumnSticky:(0,f.computed)(()=>n.isFirstColumnSticky),isLastColumnSticky:(0,f.computed)(()=>n.isLastColumnSticky),isLeadingStickyRegionActive:b,isScrolledFromLeft:o,isScrolledFromRight:s,getColumnJustifyContent:k,leadingStickyOffsetsPx:S,setColumnSize:w,sort:(0,f.computed)(()=>n.sort),toggleGroupExpanded:D,variant:(0,f.computed)(()=>n.variant)});let A=(0,f.computed)(()=>n.groupBy!==null),j=(0,f.computed)(()=>T.getRowModel().rows),te=(0,f.computed)(()=>j.value.filter(e=>!e.getIsGrouped()).map(e=>e.id)),M=(0,f.shallowRef)(new Set);function ne(e){let t=new Set(M.value);t.has(e)?t.delete(e):t.add(e),M.value=t}let re=(0,f.shallowRef)(new Set);function ie(e){let t=new Set(re.value);t.has(e)?t.delete(e):t.add(e),re.value=t}let N=(0,f.shallowRef)(!1),P=QI({hasSubComponent:l,isSelectable:(0,f.computed)(()=>n.isSelectable),columns:(0,f.computed)(()=>n.columns),expandedSubComponentRowIds:re,getKey:n.getKey,row:(0,f.computed)(()=>n.row),rows:j,subComponentByItemKey:c,visualColumnOrderIds:O});function F(e){return P.value[e]?.row.id??e}function ae(e){return P.value[e]?.isGrouped??!1?36:64}function oe(e){return n.row?.(e)?.model??null}let I=(0,f.computed)(()=>{let e=new Map(n.columns.map(e=>[e.key,e]));return HO.toVisualColumnOrder(T.getFlatHeaders(),e=>e.column.id,O.value).map(t=>({id:t.column.id,filter:n.filters[t.column.id],header:t,headerLabel:e.get(t.column.id)?.headerLabel??t.column.id}))}),se=(0,f.computed)(()=>+!!n.isSelectable+ +!!l.value+ +!!u.value+I.value.length),ce=(0,f.computed)(()=>iL.getContentState({hasError:n.error!==null,isLoading:n.isLoading,itemCount:n.data.length})!==`items`);return t({isAllGroupsExpanded:y,toggleAllGroupsExpanded:E}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(aL,{items:n.data,"get-key":n.getKey,"is-selectable":n.isSelectable,"is-loading":n.isLoading,"is-fetching-next-page":n.isFetchingNextPage,error:n.error,"total-count":n.totalCount,"ordered-keys":te.value,"on-next-page":n.onNextPage,class:(0,f.normalizeClass)([{"size-full":n.variant===`full-page`,"max-h-full w-full":n.variant===`contained`},`@container/data-table`])},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(qI,{key:0,"is-select-mode-on":N.value,"onUpdate:isSelectModeOn":t[0]||=e=>N.value=e},null,8,[`is-select-mode-on`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(iI,{class:`mx-auto h-full max-w-96 overflow-y-auto py-xl @md/data-table:hidden`}),(0,f.createVNode)(eI,(0,f.mergeProps)(i.value,{class:`mx-auto h-full max-w-96 overflow-y-auto py-xl @md/data-table:hidden`}),null,16),(0,f.createVNode)(TL,{count:(0,f.unref)(P).length,"get-item-key":F,"estimate-size":ae,class:(0,f.normalizeClass)([{"min-h-0 flex-1":n.variant===`full-page`,"max-h-full min-h-1":n.variant===`contained`},`max-h-full w-full overflow-x-hidden overflow-y-auto @md/data-table:hidden`])},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(GI,{columns:(0,f.unref)(C),"expanded-item-keys":M.value,"get-key":n.getKey,"is-selectable":N.value,"mobile-card":n.mobileCard,"row-view-models":(0,f.unref)(P),onToggleExpanded:ne},null,8,[`columns`,`expanded-item-keys`,`get-key`,`is-selectable`,`mobile-card`,`row-view-models`])]),_:1},8,[`count`,`class`]),(0,f.createVNode)(TL,{ref:`desktopViewport`,count:(0,f.unref)(P).length,"get-item-key":F,"estimate-size":(0,f.unref)(40),"has-selection-bar-inset":!1,"sticky-header-height-px":(0,f.unref)(40),class:(0,f.normalizeClass)([{"overflow-auto":!ce.value,"overflow-hidden":ce.value,"min-h-0 flex-1":n.variant===`full-page`,"max-h-full":n.variant===`contained`&&!ce.value,"max-h-full min-h-64":n.variant===`contained`&&ce.value,"rounded-xl border border-secondary":n.variant===`contained`},`relative hidden w-full min-w-0 contain-layout contain-paint @md/data-table:block`])},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(dI,{"has-row-actions":u.value,"has-sub-component":l.value,"is-all-groups-expanded":(0,f.unref)(y),"is-grouping-enabled":A.value,"is-selectable":n.isSelectable,"empty-state-props":i.value,"grid-template-columns":(0,f.unref)(x),"loading-row-column-count":se.value,"row-view-models":(0,f.unref)(P),"visible-columns":I.value,"visual-column-order-ids":(0,f.unref)(O),onToggleAllGroups:(0,f.unref)(E),onToggleSubComponent:ie},null,8,[`has-row-actions`,`has-sub-component`,`is-all-groups-expanded`,`is-grouping-enabled`,`is-selectable`,`empty-state-props`,`grid-template-columns`,`loading-row-column-count`,`row-view-models`,`visible-columns`,`visual-column-order-ids`,`onToggleAllGroups`])]),_:1},8,[`count`,`estimate-size`,`sticky-header-height-px`,`class`]),n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(cL,{key:1,actions:n.selectionActions,"get-model":oe},{count:(0,f.withCtx)(({count:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(r).t(`component.data_table.selection_action_bar.selected_count`,e)),1)]),_:1},8,[`actions`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`items`,`get-key`,`is-selectable`,`is-loading`,`is-fetching-next-page`,`error`,`total-count`,`ordered-keys`,`on-next-page`,`class`]))}}),DL=(0,f.defineComponent)({__name:`DataTableSelectionActionBar`,props:{actions:{},metadata:{},models:{},selectedCount:{}},emits:[`clear`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)();return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(sL,{actions:n.actions,metadata:n.metadata,models:n.models,"selected-count":n.selectedCount,onClear:t[0]||=e=>r(`clear`)},{count:(0,f.withCtx)(({count:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).t(`component.data_table.selection_action_bar.selected_count`,e)),1)]),_:1},8,[`actions`,`metadata`,`models`,`selected-count`]))}});function OL(e,t){let{paddingAfterPx:n,paddingBeforePx:r,virtualItems:i}=wL({count:e,estimateSize:40,scrollElement:t});return{paddingAfterPx:n,paddingBeforePx:r,virtualItems:i}}function kL(e){return t=>({config:e,type:`custom`,value:t})}function AL(){return e=>e}function jL(e){return{isSticky:e.isSticky,cell:t=>({type:`text`,...e.value(t)}),cellType:`text`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function ML(e){return{isSticky:e.isSticky,cell:t=>({type:`number`,...e.value(t)}),cellType:`number`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function NL(e){return{isSticky:e.isSticky,cell:t=>({type:`currency`,...e.value(t)}),cellType:`currency`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function PL(e){return{isSticky:e.isSticky,cell:t=>({type:`boolean`,...e.value(t)}),cellType:`boolean`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function FL(e){return{isSticky:e.isSticky,cell:t=>({type:`longText`,...e.value(t)}),cellType:`longText`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function IL(e){return{isSticky:e.isSticky,cell:t=>({type:`id`,...e.value(t)}),cellType:`id`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function LL(e){return{isSticky:e.isSticky,cell:t=>({type:`location`,...e.value(t)}),cellType:`location`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function RL(e){return{isSticky:e.isSticky,cell:t=>({type:`contactInfo`,...e.value(t)}),cellType:`contactInfo`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function zL(e){return{isSticky:e.isSticky,cell:t=>({type:`avatar`,...e.value(t)}),cellType:`avatar`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function BL(e){return{isSticky:e.isSticky,cell:t=>({type:`badge`,...e.value(t)}),cellType:`badge`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function VL(e){return{isSticky:e.isSticky,cell:t=>({type:`badgeGroup`,...e.value(t)}),cellType:`badgeGroup`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function HL(e){return{isSticky:e.isSticky,cell:t=>({type:`timestamp`,...e.value(t)}),cellType:`timestamp`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function UL(e){return{isSticky:e.isSticky,cell:t=>({config:e.config,type:`custom`,value:e.value(t)}),cellType:`custom`,groupHeaderCell:e.groupHeaderCell,headerLabel:e.headerLabel,justifyContent:e.justifyContent,key:e.key,size:e.size}}function WL(e){return{to:e,type:`link`}}function GL(e){return{action:e,type:`action`}}function KL({maxDate:e,minDate:t,modelValue:n}){let r=rm(),i=(0,f.computed)(()=>r.dateLocale.value??navigator.language);function a(n){return t.value!==null&&w.Temporal.PlainDate.compare(n,t.value)<0?t.value:e.value!==null&&w.Temporal.PlainDate.compare(n,e.value)>0?e.value:n}function o(){return u(a(n.value??w.Temporal.Now.plainDateISO()))}let s=(0,f.shallowRef)(o());function c(e){s.value=e}function l(){s.value=o()}(0,f.watch)([t,e],()=>{let e=d(s.value),t=a(e);t.equals(e)||(s.value=u(t))}),(0,f.watch)(n,e=>{e!==null&&(s.value=new C.CalendarDate(e.year,e.month,e.day))});function u(e){return new C.CalendarDate(e.year,e.month,e.day)}function d(e){return w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}let p=(0,f.computed)({get:()=>{if(n.value!==null)return u(n.value)},set:e=>{e==null?n.value=null:n.value=d(e)}}),m=(0,f.computed)(()=>{if(t.value!=null)return u(t.value)});return{plainDateToCalendarDate:u,calendarPlaceholder:s,calendarValue:p,locale:i,maxDateValue:(0,f.computed)(()=>{if(e.value!=null)return u(e.value)}),minDateValue:m,resetPlaceholder:l,setPlaceholder:c}}var qL=W({slots:{field:`flex h-full flex-1 items-center px-sm`,literal:`text-placeholder select-none`,segment:`
911
911
  rounded-xs px-xxs text-primary tabular-nums caret-transparent outline-none
912
912
  group-data-disabled/field-wrapper:pointer-events-none
913
913
  hover:bg-secondary-hover hover:text-primary
914
914
  focus:bg-secondary-hover focus:text-primary
915
915
  data-placeholder:text-placeholder
916
916
  data-placeholder:focus:text-primary
917
- `},variants:{size:{md:{field:`text-xs`},sm:{field:`text-xs`}}}});function YL(e,t){if(t==null)return null;let n=t(w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year}));return n?.type===`dot`?js({color:n.color}):null}var[XL,ZL]=z(`DatePickerContext`),QL={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-selected/cell:bg-white`},$L=(0,f.defineComponent)({__name:`DatePickerCalendarGrid`,props:{getDayConfig:{type:Function},month:{},weekDays:{}},setup(e){let t=e,{onClose:n}=ZL();function r(e){return YL(e,t.getDayConfig)}return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerGridHead),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerGridRow),{class:`flex`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.weekDays,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.DatePickerGridBody),null,{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.month.rows,(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerGridRow),{key:a,class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerCell),{key:e.toString(),date:e,class:`relative flex-1 p-0 text-center text-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCellTrigger),{day:e,month:t.month.value,class:`group/cell inline-flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary transition-colors outline-none not-data-disabled:hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-disabled:pointer-events-none data-disabled:text-disabled data-disabled:opacity-50 data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-solid data-selected:text-primary-on-brand data-selected:hover:bg-brand-solid-hover data-selected:focus-visible:ring-0 data-today:font-semibold data-unavailable:pointer-events-none data-unavailable:text-disabled data-unavailable:line-through`,onClick:i[0]||=e=>(0,f.unref)(n)?.()},{default:(0,f.withCtx)(({today:t})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e.day)+` `,1),t?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,QL)):r(e)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:1,class:(0,f.normalizeClass)([r(e),`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 group-data-selected/cell:bg-white`])},null,2)):(0,f.createCommentVNode)(``,!0)]),_:2},1032,[`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),eR=W({slots:{headingTrigger:`
917
+ `},variants:{size:{md:{field:`text-xs`},sm:{field:`text-xs`}}}});function JL(e,t){if(t==null)return null;let n=t(w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year}));return n?.type===`dot`?js({color:n.color}):null}var[YL,XL]=z(`DatePickerContext`),ZL={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-selected/cell:bg-white`},QL=(0,f.defineComponent)({__name:`DatePickerCalendarGrid`,props:{getDayConfig:{type:Function},month:{},weekDays:{}},setup(e){let t=e,{onClose:n}=XL();function r(e){return JL(e,t.getDayConfig)}return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerGridHead),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerGridRow),{class:`flex`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.weekDays,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.DatePickerGridBody),null,{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.month.rows,(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerGridRow),{key:a,class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerCell),{key:e.toString(),date:e,class:`relative flex-1 p-0 text-center text-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCellTrigger),{day:e,month:t.month.value,class:`group/cell inline-flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary transition-colors outline-none not-data-disabled:hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-disabled:pointer-events-none data-disabled:text-disabled data-disabled:opacity-50 data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-solid data-selected:text-primary-on-brand data-selected:hover:bg-brand-solid-hover data-selected:focus-visible:ring-0 data-today:font-semibold data-unavailable:pointer-events-none data-unavailable:text-disabled data-unavailable:line-through`,onClick:i[0]||=e=>(0,f.unref)(n)?.()},{default:(0,f.withCtx)(({today:t})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e.day)+` `,1),t?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,ZL)):r(e)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:1,class:(0,f.normalizeClass)([r(e),`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 group-data-selected/cell:bg-white`])},null,2)):(0,f.createCommentVNode)(``,!0)]),_:2},1032,[`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),$L=W({slots:{headingTrigger:`
918
918
  rounded-sm px-xxs text-sm font-semibold text-primary transition-colors
919
919
  outline-none
920
920
  hover:bg-secondary-hover
@@ -934,7 +934,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
934
934
  z-50 w-72 origin-(--reka-popover-content-transform-origin) rounded-2xl
935
935
  border border-secondary bg-primary p-xl shadow-lg
936
936
  will-change-[transform,opacity]
937
- `}})(),tR=(0,f.defineComponent)({__name:`DatePickerMonthPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=rm(),a=(0,f.ref)(!1),o=(0,f.computed)(()=>new Intl.DateTimeFormat(i.locale.value,{month:`long`}).format(new Date(n.placeholder.year,n.placeholder.month-1,1)));function s(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new C.CalendarDate(e.year,e.month,1)),a.value=!1)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.PopoverRoot),{open:a.value,"onUpdate:open":t[0]||=e=>a.value=e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:o.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.PopoverPortal),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverContent),{class:(0,f.normalizeClass)((0,f.unref)(eR).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerRoot),{locale:(0,f.unref)(i).locale.value,"model-value":n.placeholder,"onUpdate:modelValue":s},{default:(0,f.withCtx)(({grid:e})=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerGrid),{class:(0,f.normalizeClass)((0,f.unref)(eR).pickerGrid())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerGridBody),{class:(0,f.normalizeClass)((0,f.unref)(eR).pickerGridBody())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.rows,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.MonthPickerGridRow),{key:t,class:(0,f.normalizeClass)((0,f.unref)(eR).pickerGridRow())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.MonthPickerCell),{key:e.toString(),class:(0,f.normalizeClass)((0,f.unref)(eR).pickerCell()),date:e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerCellTrigger),{month:e,class:(0,f.normalizeClass)((0,f.unref)(eR).pickerCellTrigger())},{default:(0,f.withCtx)(({monthValue:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:1},8,[`month`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),nR=W({slots:{header:`flex w-full items-center justify-between`,heading:`text-sm font-semibold text-primary`,headingTrigger:`
937
+ `}})(),eR=(0,f.defineComponent)({__name:`DatePickerMonthPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=rm(),a=(0,f.ref)(!1),o=(0,f.computed)(()=>new Intl.DateTimeFormat(i.locale.value,{month:`long`}).format(new Date(n.placeholder.year,n.placeholder.month-1,1)));function s(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new C.CalendarDate(e.year,e.month,1)),a.value=!1)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.PopoverRoot),{open:a.value,"onUpdate:open":t[0]||=e=>a.value=e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:o.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.PopoverPortal),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverContent),{class:(0,f.normalizeClass)((0,f.unref)($L).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerRoot),{locale:(0,f.unref)(i).locale.value,"model-value":n.placeholder,"onUpdate:modelValue":s},{default:(0,f.withCtx)(({grid:e})=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerGrid),{class:(0,f.normalizeClass)((0,f.unref)($L).pickerGrid())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerGridBody),{class:(0,f.normalizeClass)((0,f.unref)($L).pickerGridBody())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.rows,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.MonthPickerGridRow),{key:t,class:(0,f.normalizeClass)((0,f.unref)($L).pickerGridRow())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.MonthPickerCell),{key:e.toString(),class:(0,f.normalizeClass)((0,f.unref)($L).pickerCell()),date:e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.MonthPickerCellTrigger),{month:e,class:(0,f.normalizeClass)((0,f.unref)($L).pickerCellTrigger())},{default:(0,f.withCtx)(({monthValue:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:1},8,[`month`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),tR=W({slots:{header:`flex w-full items-center justify-between`,heading:`text-sm font-semibold text-primary`,headingTrigger:`
938
938
  rounded-sm px-xxs text-sm font-semibold text-primary transition-colors
939
939
  outline-none
940
940
  hover:bg-secondary-hover
@@ -954,7 +954,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
954
954
  z-50 w-72 origin-(--reka-popover-content-transform-origin) rounded-2xl
955
955
  border border-secondary bg-primary p-xl shadow-lg
956
956
  will-change-[transform,opacity]
957
- `}})(),rR=(0,f.defineComponent)({__name:`DatePickerYearPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{locale:a}=rm(),o=(0,f.ref)(!1),s=(0,f.computed)(()=>String(n.placeholder.year));function c(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new C.CalendarDate(e.year,n.placeholder.month,1)),o.value=!1)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.PopoverRoot),{open:o.value,"onUpdate:open":t[0]||=e=>o.value=e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:s.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.PopoverPortal),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverContent),{class:(0,f.normalizeClass)((0,f.unref)(nR).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerRoot),{locale:(0,f.unref)(a),"model-value":n.placeholder,"onUpdate:modelValue":c},{default:(0,f.withCtx)(({grid:e})=>[(0,f.createVNode)(q,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(nR).header())},[(0,f.createVNode)((0,f.unref)(h.YearPickerPrev),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{icon:(0,f.unref)(hn),label:(0,f.unref)(i).t(`component.date_picker.previous_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.YearPickerHeading),{class:(0,f.normalizeClass)((0,f.unref)(nR).heading())},null,8,[`class`]),(0,f.createVNode)((0,f.unref)(h.YearPickerNext),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{icon:(0,f.unref)(yn),label:(0,f.unref)(i).t(`component.date_picker.next_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1})],2),(0,f.createVNode)((0,f.unref)(h.YearPickerGrid),{class:(0,f.normalizeClass)((0,f.unref)(nR).pickerGrid())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerGridBody),{class:(0,f.normalizeClass)((0,f.unref)(nR).pickerGridBody())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.rows,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.YearPickerGridRow),{key:t,class:(0,f.normalizeClass)((0,f.unref)(nR).pickerGridRow())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.YearPickerCell),{key:e.toString(),class:(0,f.normalizeClass)((0,f.unref)(nR).pickerCell()),date:e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerCellTrigger),{year:e,class:(0,f.normalizeClass)((0,f.unref)(nR).pickerCellTrigger())},{default:(0,f.withCtx)(({yearValue:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:1},8,[`year`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:2},1024)]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),iR={class:`flex items-center gap-none`},aR=(0,f.defineComponent)({__name:`DatePickerCalendarHeader`,setup(e){let t=(0,g.useI18n)(),{placeholder:n,setPlaceholder:r}=ZL();return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerHeader),{class:`flex items-center justify-between`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerPrev),{"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(hn),label:(0,f.unref)(t).t(`component.date_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1}),(0,f.createElementVNode)(`div`,iR,[(0,f.createVNode)(tR,{placeholder:(0,f.unref)(n),"onUpdate:placeholder":(0,f.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`]),(0,f.createVNode)(rR,{placeholder:(0,f.unref)(n),"onUpdate:placeholder":(0,f.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`])]),(0,f.createVNode)((0,f.unref)(h.DatePickerNext),{"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(yn),label:(0,f.unref)(t).t(`component.date_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1}))}}),oR=W({slots:{cell:`relative flex-1 p-0 text-center text-xs`,cellTrigger:`
957
+ `}})(),nR=(0,f.defineComponent)({__name:`DatePickerYearPopover`,props:{placeholder:{}},emits:[`update:placeholder`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),{locale:a}=rm(),o=(0,f.ref)(!1),s=(0,f.computed)(()=>String(n.placeholder.year));function c(e){e==null||Array.isArray(e)||(r(`update:placeholder`,new C.CalendarDate(e.year,n.placeholder.month,1)),o.value=!1)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.PopoverRoot),{open:o.value,"onUpdate:open":t[0]||=e=>o.value=e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:s.value,size:`xs`,variant:`tertiary`,class:`font-semibold`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.PopoverPortal),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.PopoverContent),{class:(0,f.normalizeClass)((0,f.unref)(tR).pickerPopover()),"side-offset":8,"collision-padding":10,align:`center`,"data-animation":`popover-default`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerRoot),{locale:(0,f.unref)(a),"model-value":n.placeholder,"onUpdate:modelValue":c},{default:(0,f.withCtx)(({grid:e})=>[(0,f.createVNode)(q,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(tR).header())},[(0,f.createVNode)((0,f.unref)(h.YearPickerPrev),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{icon:(0,f.unref)(hn),label:(0,f.unref)(i).t(`component.date_picker.previous_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(h.YearPickerHeading),{class:(0,f.normalizeClass)((0,f.unref)(tR).heading())},null,8,[`class`]),(0,f.createVNode)((0,f.unref)(h.YearPickerNext),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{icon:(0,f.unref)(yn),label:(0,f.unref)(i).t(`component.date_picker.next_year_page`),size:`md`,variant:`tertiary`},null,8,[`icon`,`label`])]),_:1})],2),(0,f.createVNode)((0,f.unref)(h.YearPickerGrid),{class:(0,f.normalizeClass)((0,f.unref)(tR).pickerGrid())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerGridBody),{class:(0,f.normalizeClass)((0,f.unref)(tR).pickerGridBody())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.rows,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.YearPickerGridRow),{key:t,class:(0,f.normalizeClass)((0,f.unref)(tR).pickerGridRow())},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.YearPickerCell),{key:e.toString(),class:(0,f.normalizeClass)((0,f.unref)(tR).pickerCell()),date:e},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.YearPickerCellTrigger),{year:e,class:(0,f.normalizeClass)((0,f.unref)(tR).pickerCellTrigger())},{default:(0,f.withCtx)(({yearValue:e})=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:1},8,[`year`,`class`])]),_:2},1032,[`class`,`date`]))),128))]),_:2},1032,[`class`]))),128))]),_:2},1032,[`class`])]),_:2},1032,[`class`])]),_:2},1024)]),_:1},8,[`locale`,`model-value`])]),_:1},8,[`class`])]),_:1})]),_:1})]),_:1},8,[`open`]))}}),rR={class:`flex items-center gap-none`},iR=(0,f.defineComponent)({__name:`DatePickerCalendarHeader`,setup(e){let t=(0,g.useI18n)(),{placeholder:n,setPlaceholder:r}=XL();return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerHeader),{class:`flex items-center justify-between`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerPrev),{"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(hn),label:(0,f.unref)(t).t(`component.date_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1}),(0,f.createElementVNode)(`div`,rR,[(0,f.createVNode)(eR,{placeholder:(0,f.unref)(n),"onUpdate:placeholder":(0,f.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`]),(0,f.createVNode)(nR,{placeholder:(0,f.unref)(n),"onUpdate:placeholder":(0,f.unref)(r)},null,8,[`placeholder`,`onUpdate:placeholder`])]),(0,f.createVNode)((0,f.unref)(h.DatePickerNext),{"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(yn),label:(0,f.unref)(t).t(`component.date_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1}))}}),aR=W({slots:{cell:`relative flex-1 p-0 text-center text-xs`,cellTrigger:`
958
958
  inline-flex h-9 w-full items-center justify-center rounded-full text-xs
959
959
  font-regular text-secondary outline-none
960
960
  not-data-disabled:hover:bg-secondary-hover
@@ -994,7 +994,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
994
994
  outline-none
995
995
  disabled:cursor-not-allowed disabled:text-disabled
996
996
  data-placeholder:text-placeholder
997
- `},variants:{size:{md:{trigger:`gap-sm px-md`},sm:{trigger:`gap-xxs px-sm`}}}}),sR={class:`flex flex-col gap-sm border-t border-secondary py-lg`},cR=(0,f.defineComponent)({__name:`DatePickerLegend`,props:{items:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`ul`,sR,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.items,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:`${e.color}-${e.label}`,as:`li`,gap:`sm`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ms),{color:e.color},null,8,[`color`]),(0,f.createVNode)((0,f.unref)(G),{text:e.label,class:`text-xs text-secondary`},null,8,[`text`])]),_:2},1024))),128))]))}}),lR=1;function uR(e){try{if(typeof Intl>`u`||Intl.Locale===void 0)return lR;let t=new Intl.Locale(e);if(typeof t.getWeekInfo!=`function`)return lR;let{firstDay:n}=t.getWeekInfo();return n<1||n>7?lR:n===7?0:n}catch{return lR}}var dR={class:`flex flex-col gap-lg px-xl py-lg`},fR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},getDayConfig:{type:Function},legend:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...xb,maxDate:null,minDate:null,isPickerHidden:!1,legend:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,g.useI18n)(),i=t.id??(0,f.useId)(),a=(0,f.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=_b(i,t),l=(0,f.ref)(!1);Ny(l);let{calendarPlaceholder:u,calendarValue:d,locale:p,maxDateValue:m,minDateValue:_,resetPlaceholder:v,setPlaceholder:y}=KL({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n});(0,f.watch)(l,e=>{e&&v()});let b=(0,f.computed)(()=>JL({size:t.size})),x=(0,f.computed)(()=>oR({size:t.size})),{setFieldRef:S,onInputFocus:C,onInteractOutside:w}=qL({isDisabled:(0,f.computed)(()=>t.isDisabled),isOpen:l,isPickerHidden:(0,f.toRef)(t,`isPickerHidden`),isReadonly:(0,f.toRef)(t,`isReadonly`)});return XL({datePickerStyle:x,placeholder:u,setPlaceholder:y,onClose:()=>{l.value=!1}}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerRoot),{id:(0,f.unref)(i),modelValue:(0,f.unref)(d),"onUpdate:modelValue":n[0]||=e=>(0,f.isRef)(d)?d.value=e:null,open:l.value,"onUpdate:open":n[1]||=e=>l.value=e,placeholder:(0,f.unref)(u),"onUpdate:placeholder":n[2]||=e=>(0,f.isRef)(u)?u.value=e:null,"week-starts-on":(0,f.unref)(uR)((0,f.unref)(p)),disabled:t.isDisabled,"max-value":(0,f.unref)(m),"min-value":(0,f.unref)(_),readonly:t.isReadonly,required:t.isRequired,locale:(0,f.unref)(p)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,f.createSlots)({default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerField),(0,f.mergeProps)({id:(0,f.unref)(i),ref:(0,f.unref)(S)},(0,f.unref)(a),{"aria-describedby":(0,f.unref)(s),"aria-invalid":(0,f.unref)(c),"aria-required":t.isRequired||void 0,class:b.value.field(),onFocusin:(0,f.unref)(C)}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(b.value.literal())},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(b.value.segment()),"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`,`onFocusin`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,f.unref)(nn),label:(0,f.unref)(r).t(`component.date_picker.open`),class:(0,f.normalizeClass)({"mr-xs":t.size===`md`,"mr-xxs":t.size===`sm`}),size:`xs`,type:`button`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`,`class`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`,onInteractOutside:(0,f.unref)(w)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCalendar),{class:`flex flex-col overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:n})=>[(0,f.createElementVNode)(`div`,dR,[(0,f.createVNode)(aR),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n,n=>((0,f.openBlock)(),(0,f.createBlock)($L,{key:n.value.toString(),"get-day-config":t.getDayConfig,month:n,"week-days":e},null,8,[`get-day-config`,`month`,`week-days`]))),128))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(cR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`onInteractOutside`])]),_:1})]),_:1},8,[`id`,`modelValue`,`open`,`placeholder`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),pR={class:`flex flex-col gap-lg p-2xl px-3xl`},mR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DatePicker`,props:(0,f.mergeModels)({maxDate:{default:null},minDate:{default:null},hasFixedWeeks:{type:Boolean,default:!1},fixedWeeks:{type:Boolean},getDayConfig:{},legend:{default:null},size:{default:`md`}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.useModel)(e,`modelValue`),{calendarPlaceholder:i,calendarValue:a,locale:o,maxDateValue:s,minDateValue:c,setPlaceholder:l}=KL({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:r}),u=(0,f.computed)(()=>t.hasFixedWeeks||t.fixedWeeks===!0);return XL({datePickerStyle:(0,f.computed)(()=>oR({size:t.size})),placeholder:i,setPlaceholder:l}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(Xi,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerRoot),(0,f.mergeProps)((0,f.unref)(n),{modelValue:(0,f.unref)(a),"onUpdate:modelValue":r[0]||=e=>(0,f.isRef)(a)?a.value=e:null,placeholder:(0,f.unref)(i),"onUpdate:placeholder":r[1]||=e=>(0,f.isRef)(i)?i.value=e:null,"week-starts-on":(0,f.unref)(uR)((0,f.unref)(o)),"max-value":(0,f.unref)(s),"min-value":(0,f.unref)(c),locale:(0,f.unref)(o),"fixed-weeks":u.value}),{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCalendar),{class:`flex flex-col overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:n})=>[(0,f.createElementVNode)(`div`,pR,[(0,f.createVNode)(aR),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n,n=>((0,f.openBlock)(),(0,f.createBlock)($L,{key:n.value.toString(),"get-day-config":t.getDayConfig,month:n,"week-days":e},null,8,[`get-day-config`,`month`,`week-days`]))),128))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(cR,{key:0,items:t.legend,class:`px-3xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},16,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`fixed-weeks`])]),_:1}))}});function hR({maxDate:e,minDate:t,modelValue:n}){let r=rm(),i=(0,f.computed)(()=>r.dateLocale.value??navigator.language),a=(0,f.ref)(!1),o=xy();function s(n){return t.value!==null&&w.Temporal.PlainDate.compare(n,t.value)<0?t.value:e.value!==null&&w.Temporal.PlainDate.compare(n,e.value)>0?e.value:n}function c(e){return new C.CalendarDate(e.year,e.month,1)}function l(){return c(s(n.value.from??w.Temporal.Now.plainDateISO()))}let u=(0,f.shallowRef)(l()),d=(0,f.shallowRef)({end:n.value?.until==null?void 0:g(n.value.until),start:n.value?.from==null?void 0:g(n.value.from)});function p(e){if(e.start!=null&&e.end!=null&&e.start.compare(e.end)>0){a.value=!0;return}a.value=!1,d.value=e}function m(e){u.value=e}function h(){u.value=l()}(0,f.watch)([t,e],()=>{let e=s(_(u.value));(e.year!==u.value.year||e.month!==u.value.month)&&(u.value=c(e))});function g(e){return new C.CalendarDate(e.year,e.month,e.day)}function _(e){return w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}(0,f.watch)(d,e=>{e.start!=null&&e.end!=null?n.value={from:_(e.start),until:_(e.end)}:e.start==null&&e.end==null&&(n.value={from:null,until:null})},{deep:!0});function v(e){e===null?d.value={end:void 0,start:void 0}:d.value={end:g(e.until),start:g(e.from)}}function y(){let e=n.value?.from==null?void 0:g(n.value.from),t=n.value?.until==null?void 0:g(n.value.until),r=e==null?d.value.start!=null:d.value.start==null||e.compare(d.value.start)!==0,i=t==null?d.value.end!=null:d.value.end==null||t.compare(d.value.end)!==0;!r&&!i||(d.value={end:t,start:e})}(0,f.watch)(n,y);let b=(0,f.computed)(()=>{if(t.value!=null)return g(t.value)});return{isInvalidRange:a,isSingleMonth:o,calendarPlaceholder:u,draftValue:d,locale:i,maxDateValue:(0,f.computed)(()=>{if(e.value!=null)return g(e.value)}),minDateValue:b,resetPlaceholder:h,setPlaceholder:m,setPreset:v,syncDraftFromModel:y,onDraftValueUpdate:p}}var[gR,_R]=z(`dateRangeFieldContext`),vR=W({slots:{field:`ml-sm flex h-full min-w-0 flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
997
+ `},variants:{size:{md:{trigger:`gap-sm px-md`},sm:{trigger:`gap-xxs px-sm`}}}}),oR={class:`flex flex-col gap-sm border-t border-secondary py-lg`},sR=(0,f.defineComponent)({__name:`DatePickerLegend`,props:{items:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`ul`,oR,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.items,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:`${e.color}-${e.label}`,as:`li`,gap:`sm`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ms),{color:e.color},null,8,[`color`]),(0,f.createVNode)((0,f.unref)(G),{text:e.label,class:`text-xs text-secondary`},null,8,[`text`])]),_:2},1024))),128))]))}}),cR=1;function lR(e){try{if(typeof Intl>`u`||Intl.Locale===void 0)return cR;let t=new Intl.Locale(e);if(typeof t.getWeekInfo!=`function`)return cR;let{firstDay:n}=t.getWeekInfo();return n<1||n>7?cR:n===7?0:n}catch{return cR}}var uR={class:`flex flex-col gap-lg px-xl py-lg`},dR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},getDayConfig:{type:Function},legend:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...xb,maxDate:null,minDate:null,isPickerHidden:!1,legend:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,g.useI18n)(),i=t.id??(0,f.useId)(),a=(0,f.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=_b(i,t),l=(0,f.ref)(!1);Ny(l);let{calendarPlaceholder:u,calendarValue:d,locale:p,maxDateValue:m,minDateValue:_,resetPlaceholder:v,setPlaceholder:y}=KL({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n});(0,f.watch)(l,e=>{e&&v()});let b=(0,f.computed)(()=>qL({size:t.size}));return YL({datePickerStyle:(0,f.computed)(()=>aR({size:t.size})),placeholder:u,setPlaceholder:y,onClose:()=>{l.value=!1}}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerRoot),{id:(0,f.unref)(i),modelValue:(0,f.unref)(d),"onUpdate:modelValue":n[0]||=e=>(0,f.isRef)(d)?d.value=e:null,open:l.value,"onUpdate:open":n[1]||=e=>l.value=e,placeholder:(0,f.unref)(u),"onUpdate:placeholder":n[2]||=e=>(0,f.isRef)(u)?u.value=e:null,"week-starts-on":(0,f.unref)(lR)((0,f.unref)(p)),disabled:t.isDisabled,"max-value":(0,f.unref)(m),"min-value":(0,f.unref)(_),readonly:t.isReadonly,required:t.isRequired,locale:(0,f.unref)(p)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,f.createSlots)({default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerField),(0,f.mergeProps)({id:(0,f.unref)(i)},(0,f.unref)(a),{"aria-describedby":(0,f.unref)(s),"aria-invalid":(0,f.unref)(c),"aria-required":t.isRequired||void 0,class:b.value.field()}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(b.value.literal())},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DatePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(b.value.segment()),"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,f.unref)(nn),label:(0,f.unref)(r).t(`component.date_picker.open`),class:(0,f.normalizeClass)({"mr-xs":t.size===`md`,"mr-xxs":t.size===`sm`}),size:`xs`,type:`button`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`,`class`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCalendar),{class:`flex flex-col overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:n})=>[(0,f.createElementVNode)(`div`,uR,[(0,f.createVNode)(iR),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n,n=>((0,f.openBlock)(),(0,f.createBlock)(QL,{key:n.value.toString(),"get-day-config":t.getDayConfig,month:n,"week-days":e},null,8,[`get-day-config`,`month`,`week-days`]))),128))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(sR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`modelValue`,`open`,`placeholder`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),fR={class:`flex flex-col gap-lg p-2xl px-3xl`},pR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DatePicker`,props:(0,f.mergeModels)({maxDate:{default:null},minDate:{default:null},hasFixedWeeks:{type:Boolean,default:!1},fixedWeeks:{type:Boolean},getDayConfig:{},legend:{default:null},size:{default:`md`}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useAttrs)(),r=(0,f.useModel)(e,`modelValue`),{calendarPlaceholder:i,calendarValue:a,locale:o,maxDateValue:s,minDateValue:c,setPlaceholder:l}=KL({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:r}),u=(0,f.computed)(()=>t.hasFixedWeeks||t.fixedWeeks===!0);return YL({datePickerStyle:(0,f.computed)(()=>aR({size:t.size})),placeholder:i,setPlaceholder:l}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(Xi,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerRoot),(0,f.mergeProps)((0,f.unref)(n),{modelValue:(0,f.unref)(a),"onUpdate:modelValue":r[0]||=e=>(0,f.isRef)(a)?a.value=e:null,placeholder:(0,f.unref)(i),"onUpdate:placeholder":r[1]||=e=>(0,f.isRef)(i)?i.value=e:null,"week-starts-on":(0,f.unref)(lR)((0,f.unref)(o)),"max-value":(0,f.unref)(s),"min-value":(0,f.unref)(c),locale:(0,f.unref)(o),"fixed-weeks":u.value}),{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DatePickerCalendar),{class:`flex flex-col overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:n})=>[(0,f.createElementVNode)(`div`,fR,[(0,f.createVNode)(iR),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n,n=>((0,f.openBlock)(),(0,f.createBlock)(QL,{key:n.value.toString(),"get-day-config":t.getDayConfig,month:n,"week-days":e},null,8,[`get-day-config`,`month`,`week-days`]))),128))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(sR,{key:0,items:t.legend,class:`px-3xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},16,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`fixed-weeks`])]),_:1}))}});function mR({maxDate:e,minDate:t,modelValue:n}){let r=rm(),i=(0,f.computed)(()=>r.dateLocale.value??navigator.language),a=(0,f.ref)(!1),o=xy();function s(n){return t.value!==null&&w.Temporal.PlainDate.compare(n,t.value)<0?t.value:e.value!==null&&w.Temporal.PlainDate.compare(n,e.value)>0?e.value:n}function c(e){return new C.CalendarDate(e.year,e.month,1)}function l(){return c(s(n.value.from??w.Temporal.Now.plainDateISO()))}let u=(0,f.shallowRef)(l()),d=(0,f.shallowRef)({end:n.value?.until==null?void 0:g(n.value.until),start:n.value?.from==null?void 0:g(n.value.from)});function p(e){if(e.start!=null&&e.end!=null&&e.start.compare(e.end)>0){a.value=!0;return}a.value=!1,d.value=e}function m(e){u.value=e}function h(){u.value=l()}(0,f.watch)([t,e],()=>{let e=s(_(u.value));(e.year!==u.value.year||e.month!==u.value.month)&&(u.value=c(e))});function g(e){return new C.CalendarDate(e.year,e.month,e.day)}function _(e){return w.Temporal.PlainDate.from({day:e.day,month:e.month,year:e.year})}(0,f.watch)(d,e=>{e.start!=null&&e.end!=null?n.value={from:_(e.start),until:_(e.end)}:e.start==null&&e.end==null&&(n.value={from:null,until:null})},{deep:!0});function v(e){e===null?d.value={end:void 0,start:void 0}:d.value={end:g(e.until),start:g(e.from)}}function y(){let e=n.value?.from==null?void 0:g(n.value.from),t=n.value?.until==null?void 0:g(n.value.until),r=e==null?d.value.start!=null:d.value.start==null||e.compare(d.value.start)!==0,i=t==null?d.value.end!=null:d.value.end==null||t.compare(d.value.end)!==0;!r&&!i||(d.value={end:t,start:e})}(0,f.watch)(n,y);let b=(0,f.computed)(()=>{if(t.value!=null)return g(t.value)});return{isInvalidRange:a,isSingleMonth:o,calendarPlaceholder:u,draftValue:d,locale:i,maxDateValue:(0,f.computed)(()=>{if(e.value!=null)return g(e.value)}),minDateValue:b,resetPlaceholder:h,setPlaceholder:m,setPreset:v,syncDraftFromModel:y,onDraftValueUpdate:p}}var[hR,gR]=z(`dateRangeFieldContext`),_R=W({slots:{field:`ml-sm flex h-full min-w-0 flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
998
998
  rounded-sm text-primary tabular-nums caret-transparent outline-none
999
999
  group-data-disabled/field-wrapper:pointer-events-none
1000
1000
  hover:bg-secondary-hover hover:text-primary
@@ -1009,20 +1009,20 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1009
1009
  bg-transparent p-sm
1010
1010
  focus-visible:outline-fg-brand-primary
1011
1011
  disabled:cursor-not-allowed
1012
- `},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`gap-xxs text-xs`,separator:`mx-xs`,trigger:`pr-md pl-xs`},sm:{field:`gap-xxs text-xs`,separator:`mx-xxs`,trigger:`pr-sm pl-xxs`}}}}),yR={class:`relative flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary group-focus-visible/celtrig:ring-2 group-focus-visible/celtrig:ring-fg-brand-primary group-data-disabled/celtrig:text-disabled group-data-disabled/celtrig:opacity-50 group-data-highlighted-end/celtrig:bg-brand-solid group-data-highlighted-end/celtrig:text-primary-on-brand group-data-highlighted-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-highlighted-start/celtrig:bg-brand-solid group-data-highlighted-start/celtrig:text-primary-on-brand group-data-highlighted-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-outside-view/celtrig:text-disabled group-data-selection-end/celtrig:bg-brand-solid group-data-selection-end/celtrig:text-primary-on-brand group-data-selection-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-selection-start/celtrig:bg-brand-solid group-data-selection-start/celtrig:text-primary-on-brand group-data-selection-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-today/celtrig:font-semibold group-data-unavailable/celtrig:text-disabled group-data-unavailable/celtrig:line-through group-not-data-disabled/celtrig:group-not-data-highlighted/celtrig:group-not-data-selected/celtrig:hover:bg-secondary-hover`},bR={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`},xR=(0,f.defineComponent)({__name:`DateRangeFieldCalendarGrid`,props:{getDayConfig:{type:Function},month:{},weekDays:{}},setup(e){let t=e;function n(e){return e.day===1}function r(e){return e.day===(0,C.endOfMonth)(e).day}function i(e){return YL(e,t.getDayConfig)}return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridHead),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridRow),{class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.weekDays,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridBody),null,{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.month.rows,(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerGridRow),{key:a,class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerCell),{key:e.toString(),date:e,class:`group/cell relative flex-1 p-0 text-center text-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCellTrigger),{class:(0,f.normalizeClass)([{"rounded-r-full":r(e),"rounded-l-full":n(e)},`group/celtrig inline-flex h-9 w-full items-center justify-center text-xs outline-none group-first/cell:rounded-l-full group-last/cell:rounded-r-full data-disabled:pointer-events-none data-highlighted:bg-brand-secondary data-highlighted-end:rounded-r-full data-highlighted-end:bg-brand-secondary data-highlighted-start:rounded-l-full data-highlighted-start:bg-brand-secondary data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-secondary data-selection-end:rounded-r-full data-selection-end:bg-brand-secondary data-selection-start:rounded-l-full data-selection-start:bg-brand-secondary data-unavailable:pointer-events-none dark:data-highlighted:bg-brand-secondary/20 dark:data-highlighted-end:bg-brand-secondary/20 dark:data-highlighted-start:bg-brand-secondary/20 dark:data-selected:bg-brand-secondary/20 dark:data-selection-end:bg-brand-secondary/20 dark:data-selection-start:bg-brand-secondary/20 [&[data-selection-end][data-highlighted-start]:not([data-highlighted-end])]:rounded-r-none [&[data-selection-start][data-highlighted-end]:not([data-highlighted-start])]:rounded-l-none`]),day:e,month:t.month.value},{default:(0,f.withCtx)(({today:t})=>[(0,f.createElementVNode)(`div`,yR,[(0,f.createTextVNode)((0,f.toDisplayString)(e.day)+` `,1),t?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,bR)):i(e)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:1,class:(0,f.normalizeClass)([i(e),`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`])},null,2)):(0,f.createCommentVNode)(``,!0)])]),_:2},1032,[`class`,`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),SR={class:`flex items-center p-xl pb-0`},CR={key:1,class:`size-9 shrink-0`},wR={class:`flex flex-1 items-center justify-center gap-xs`},TR={key:3,class:`size-9 shrink-0`},ER=(0,f.defineComponent)({__name:`DateRangeFieldCalendarHeader`,props:{hasNext:{type:Boolean},showNext:{type:Boolean,default:void 0},side:{}},setup(e){let t=e,n=(0,g.useI18n)(),{placeholder:r,setPlaceholder:i}=_R(),a=(0,f.computed)(()=>t.side===`left`?r.value:r.value.add({months:1}));function o(e){i(t.side===`left`?e:e.subtract({months:1}))}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,SR,[t.side===`left`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerPrev),{key:0,"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(hn),label:(0,f.unref)(n).t(`component.date_range_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,CR)),(0,f.createElementVNode)(`div`,wR,[(0,f.createVNode)(tR,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`]),(0,f.createVNode)(rR,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`])]),t.side===`right`||t.hasNext||t.showNext?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerNext),{key:2,"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(yn),label:(0,f.unref)(n).t(`component.date_range_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,TR))]))}}),DR={class:`flex items-center`},OR=(0,f.defineComponent)({__name:`DateRangeFieldInvalidIndicator`,props:{isVisible:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.isVisible?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,filter:`blur(4px)`},animate:{opacity:1,filter:`blur(0)`},exit:{opacity:0,filter:`blur(4px)`},transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{label:(0,f.unref)(n).t(`component.date_range_picker.invalid_range`)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,DR,[(0,f.createVNode)((0,f.unref)(wt),{class:`size-4 text-error-primary`})])]),_:1},8,[`label`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),kR={class:`flex flex-col gap-md border-t border-secondary p-xl md:flex-row md:items-center md:justify-between`},AR=(0,f.defineComponent)({__name:`DateRangeFieldInputRow`,setup(e){let t=(0,g.useI18n)(),{isInvalidRange:n,onCancel:r}=_R();return(e,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,kR,[(0,f.createVNode)((0,f.unref)(B),{class:`min-w-0 items-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.start,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`start-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,f.createVNode)((0,f.unref)(yn),{class:`size-4 text-placeholder`}),(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.end,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`end-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,f.createVNode)(OR,{"is-visible":(0,f.unref)(n)},null,8,[`is-visible`])]),_:1}),(0,f.createVNode)((0,f.unref)(B),{class:`self-end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(t).t(`component.date_range_picker.close`),size:`md`,variant:`secondary`,onClick:(0,f.unref)(r)},null,8,[`label`,`onClick`])]),_:1})]))}}),jR={class:`flex w-32 shrink-0 flex-col gap-xs border-r border-secondary p-lg`},MR=[`data-active`,`onClick`],NR=(0,f.defineComponent)({__name:`DateRangeFieldPresets`,setup(e){let t=(0,g.useI18n)(),{draftValue:n,setPreset:r}=_R(),i=(0,f.computed)(()=>{let e=w.Temporal.Now.plainDateISO(),n=e.dayOfWeek,r=e.subtract({days:n-1}),i=r.add({days:6}),a=r.subtract({days:7}),o=r.subtract({days:1}),s=e.with({day:1}),c=e.with({day:e.daysInMonth}),l=s.subtract({months:1}),u=s.subtract({days:1}),d=e.with({day:1,month:1}),f=e.with({day:31,month:12}),p=d.subtract({years:1}),m=d.subtract({days:1}),h=e.subtract({days:1}),g=e.add({days:1});return[{key:`today`,label:t.t(`component.date_range_picker.preset.today`),range:{from:e,until:e}},{key:`yesterday`,label:t.t(`component.date_range_picker.preset.yesterday`),range:{from:h,until:h}},{key:`tomorrow`,label:t.t(`component.date_range_picker.preset.tomorrow`),range:{from:g,until:g}},{key:`this_week`,label:t.t(`component.date_range_picker.preset.this_week`),range:{from:r,until:i}},{key:`last_week`,label:t.t(`component.date_range_picker.preset.last_week`),range:{from:a,until:o}},{key:`this_month`,label:t.t(`component.date_range_picker.preset.this_month`),range:{from:s,until:c}},{key:`last_month`,label:t.t(`component.date_range_picker.preset.last_month`),range:{from:l,until:u}},{key:`this_year`,label:t.t(`component.date_range_picker.preset.this_year`),range:{from:d,until:f}},{key:`last_year`,label:t.t(`component.date_range_picker.preset.last_year`),range:{from:p,until:m}},{key:`all_time`,label:t.t(`component.date_range_picker.preset.all_time`),range:null}]});function a(e){if(e.range===null)return n.value.start==null&&n.value.end==null;if(n.value.start==null||n.value.end==null)return!1;let t=n.value.start,r=n.value.end;return t.year===e.range.from.year&&t.month===e.range.from.month&&t.day===e.range.from.day&&r.year===e.range.until.year&&r.month===e.range.until.month&&r.day===e.range.until.day}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,jR,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:e.key,"data-active":a(e),class:`flex w-full items-center rounded-sm px-lg py-xs text-left text-xs font-medium text-secondary transition-colors duration-100 outline-none hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-[active=true]:bg-brand-secondary data-[active=true]:text-brand-secondary`,type:`button`,onClick:t=>(0,f.unref)(r)(e.range)},(0,f.toDisplayString)(e.label),9,MR))),128))]))}}),PR={class:`flex h-full`},FR={class:`flex min-w-0 flex-1 flex-col`},IR={class:`flex`},LR={class:`flex flex-1 flex-col`},RR={class:`p-xl pt-0`},zR={class:`flex flex-1 flex-col`},BR={class:`p-xl pt-0`},VR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateRangeField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},getDayConfig:{type:Function},legend:{},placeholder:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{}},{...yb,...bb,...xb,maxDate:null,minDate:null,isPickerHidden:!1,legend:null,placeholder:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,g.useI18n)(),i=t.id??(0,f.useId)(),a=(0,f.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=_b(i,t),l=(0,f.ref)(!1);Ny(l);let u=(0,f.computed)(()=>vR({isPickerHidden:t.isPickerHidden,size:t.size})),{isInvalidRange:d,isSingleMonth:p,calendarPlaceholder:m,draftValue:_,locale:v,maxDateValue:y,minDateValue:b,resetPlaceholder:x,setPlaceholder:S,setPreset:C,syncDraftFromModel:w,onDraftValueUpdate:T}=hR({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n});(0,f.watch)(l,e=>{e&&(w(),x())});let{setFieldRef:E,onInputFocus:D,onInteractOutside:O}=qL({isDisabled:(0,f.computed)(()=>t.isDisabled),isOpen:l,isPickerHidden:(0,f.toRef)(t,`isPickerHidden`),isReadonly:(0,f.toRef)(t,`isReadonly`)});function ee(){l.value=!1}return gR({isInvalidRange:d,draftValue:_,placeholder:m,setPlaceholder:S,setPreset:C,onCancel:ee}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerRoot),{id:(0,f.unref)(i),open:l.value,"onUpdate:open":n[0]||=e=>l.value=e,placeholder:(0,f.unref)(m),"onUpdate:placeholder":n[1]||=e=>(0,f.isRef)(m)?m.value=e:null,"model-value":(0,f.unref)(_),"week-starts-on":(0,f.unref)(uR)((0,f.unref)(v)),disabled:t.isDisabled,"max-value":(0,f.unref)(y),"min-value":(0,f.unref)(b),readonly:t.isReadonly,required:t.isRequired,locale:(0,f.unref)(v),"number-of-months":(0,f.unref)(p)?1:2,"close-on-select":!1,"onUpdate:modelValue":(0,f.unref)(T)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,f.createSlots)({default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),(0,f.mergeProps)({id:(0,f.unref)(i),ref:(0,f.unref)(E)},(0,f.unref)(a),{"aria-describedby":(0,f.unref)(s),"aria-invalid":(0,f.unref)(c),"aria-required":t.isRequired||void 0,class:u.value.field(),onFocusin:(0,f.unref)(D)}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.start,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`start-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(u.value.literal()),type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(u.value.segment()),type:`start`,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128)),(0,f.createVNode)((0,f.unref)(It),{class:(0,f.normalizeClass)(u.value.separator())},null,8,[`class`]),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.end,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`end-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(u.value.literal()),type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(u.value.segment()),type:`end`,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`,`onFocusin`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,f.unref)(nn),label:(0,f.unref)(r).t(`component.date_range_picker.open`),size:`xs`,type:`button`,variant:`tertiary`,class:`mr-xs`,"data-field-wrapper":``},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`,onInteractOutside:(0,f.unref)(O)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:r})=>[(0,f.createElementVNode)(`div`,PR,[(0,f.createVNode)(NR),(0,f.createElementVNode)(`div`,FR,[(0,f.createElementVNode)(`div`,IR,[(0,f.createElementVNode)(`div`,LR,[(0,f.createVNode)(ER,{"has-next":(0,f.unref)(p),side:`left`},null,8,[`has-next`]),(0,f.createElementVNode)(`div`,RR,[(0,f.createVNode)(xR,{"get-day-config":t.getDayConfig,month:r[0],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])]),(0,f.unref)(p)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[n[2]||=(0,f.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,f.createElementVNode)(`div`,zR,[(0,f.createVNode)(ER,{side:`right`}),(0,f.createElementVNode)(`div`,BR,[(0,f.createVNode)(xR,{"get-day-config":t.getDayConfig,month:r[1],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])])],64))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(cR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(AR)])])]),_:1})]),_:1},8,[`onInteractOutside`])]),_:1})]),_:1},8,[`id`,`open`,`placeholder`,`model-value`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),HR={class:`flex h-full`},UR={class:`flex min-w-0 flex-1 flex-col`},WR={class:`flex`},GR={class:`flex flex-1 flex-col`},KR={class:`p-xl pt-0`},qR={class:`flex flex-1 flex-col`},JR={class:`p-xl pt-0`},YR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateRangePicker`,props:(0,f.mergeModels)({maxDate:{default:null},minDate:{default:null},hasPresets:{type:Boolean,default:!0},getDayConfig:{},legend:{default:null},showPresets:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),{isInvalidRange:r,isSingleMonth:i,calendarPlaceholder:a,draftValue:o,locale:s,maxDateValue:c,minDateValue:l,setPlaceholder:u,setPreset:d,onDraftValueUpdate:p}=hR({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n}),m=(0,f.computed)(()=>t.hasPresets||t.showPresets===!0);return gR({isInvalidRange:r,draftValue:o,placeholder:a,setPlaceholder:u,setPreset:d,onCancel:()=>{}}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(Xi,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerRoot),{modelValue:(0,f.unref)(o),"onUpdate:modelValue":[n[0]||=e=>(0,f.isRef)(o)?o.value=e:null,(0,f.unref)(p)],placeholder:(0,f.unref)(a),"onUpdate:placeholder":n[1]||=e=>(0,f.isRef)(a)?a.value=e:null,"week-starts-on":(0,f.unref)(uR)((0,f.unref)(s)),"max-value":(0,f.unref)(c),"min-value":(0,f.unref)(l),locale:(0,f.unref)(s),"number-of-months":(0,f.unref)(i)?1:2,"close-on-select":!1,"fixed-weeks":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCalendar),{class:`flex flex-col gap-lg overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:r})=>[(0,f.createElementVNode)(`div`,HR,[m.value?((0,f.openBlock)(),(0,f.createBlock)(NR,{key:0})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`div`,UR,[(0,f.createElementVNode)(`div`,WR,[(0,f.createElementVNode)(`div`,GR,[(0,f.createVNode)(ER,{"has-next":(0,f.unref)(i),side:`left`},null,8,[`has-next`]),(0,f.createElementVNode)(`div`,KR,[(0,f.createVNode)(xR,{"get-day-config":t.getDayConfig,month:r[0],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])]),(0,f.unref)(i)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[n[2]||=(0,f.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,f.createElementVNode)(`div`,qR,[(0,f.createVNode)(ER,{side:`right`}),(0,f.createElementVNode)(`div`,JR,[(0,f.createVNode)(xR,{"get-day-config":t.getDayConfig,month:r[1],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])])],64))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(cR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)])])]),_:1})]),_:1},8,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:1}))}}),XR=[`datetime`],ZR=(0,f.defineComponent)({__name:`DateTime`,props:{value:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`time`,{datetime:t.value},[(0,f.renderSlot)(e.$slots,`default`)],8,XR))}});function QR(e,t){switch(e){case`CONFIRM_UPLOAD_FAILED`:case`GET_FILE_INFO_FAILED`:case`UPLOAD_FAILED`:return t.uploadFailed;case`INVALID_MIME_TYPE`:return t.invalidType;case`PREPROCESSING_FAILED`:return t.preprocessingFailed;default:return e}}function $R(e){return e.startsWith(`image/`)}function ez(e){return Object.fromEntries(Object.entries(e).filter(([e])=>e===`name`||e===`onBlur`||e===`onFocus`||e.startsWith(`data-`)))}var tz={class:`text-sm font-medium text-brand-secondary`},nz=(0,f.defineComponent)({__name:`FormFileUploadDropzoneOverlay`,props:{isHoveringOverDropzone:{type:Boolean},isHoveringOverPage:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[t.isHoveringOverPage?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,class:(0,f.normalizeClass)([{"animate-pulse":!t.isHoveringOverDropzone},`pointer-events-none absolute inset-0 z-10 overflow-hidden rounded-xl border-[1.5px] border-dashed border-brand-500/50`]),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[t.isHoveringOverDropzone?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,scale:1.01},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.01},class:`absolute inset-0 flex items-center justify-center bg-brand-primary/90`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`p`,tz,(0,f.toDisplayString)((0,f.unref)(n).t(`component.form_file_upload.dropzone_overlay.title`)),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),rz={class:`text-sm text-primary`},iz={class:`mt-xs text-xs text-tertiary`},az=(0,f.defineComponent)({__name:`FormFileUploadEmptyState`,props:{id:{default:null},isHoveringOverDropzone:{type:Boolean},isMultiple:{type:Boolean},description:{},triggerAttrs:{default:void 0}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{opacity:0,scale:.98,filter:`blur(4px)`},animate:{opacity:1,scale:t.isHoveringOverDropzone?.995:1,filter:`blur(0px)`},exit:{opacity:0,scale:.98,filter:`blur(4px)`},class:`rounded-xl bg-secondary px-2xl py-xl`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`p`,rz,(0,f.toDisplayString)((0,f.unref)(n).t(`component.form_file_upload.empty_state.title`)),1),(0,f.createElementVNode)(`p`,iz,(0,f.toDisplayString)(t.description),1),(0,f.createVNode)((0,f.unref)(WE),null,{default:(0,f.withCtx)(({isDisabled:e})=>[(0,f.createVNode)((0,f.unref)($v),(0,f.mergeProps)(t.triggerAttrs,{id:t.isMultiple?void 0:t.id??void 0,"icon-left":(0,f.unref)(Di),"is-disabled":e,label:(0,f.unref)(n).t(`component.form_file_upload.action.upload`),class:`mt-lg`,variant:`secondary`}),null,16,[`id`,`icon-left`,`is-disabled`,`label`])]),_:1})]),_:1},8,[`animate`]))}}),oz=(0,f.defineComponent)({__name:`FormFileUploadBlurhash`,props:{blurhash:{}},setup(e){let t=e,n=(0,f.ref)(null);function r(e,t){let{height:n,width:r}=t,i=jE(e,r,n),a=t.getContext(`2d`);if(a===null)return;let o=a.createImageData(r,n);o.data.set(i),a.putImageData(o,0,0)}function i(){n.value!==null&&r(t.blurhash,n.value)}return(0,f.onMounted)(()=>{i()}),(0,f.watch)(()=>t.blurhash,()=>{i()}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`canvas`,{ref_key:`canvasRef`,ref:n,width:`32`,height:`32`,class:`size-full`},null,512))}}),sz=[`src`,`alt`],cz=(0,f.defineComponent)({__name:`FormFileUploadImageDialog`,props:{isOpen:{type:Boolean,default:!1},fit:{},imageAlt:{},imageUrl:{}},emits:[`afterLeave`,`close`],setup(e){let t=e,n=(0,g.useI18n)();return(r,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Vy),{"is-open":e.isOpen,size:`lg`,"onUpdate:isOpen":i[0]||=e=>!e&&r.$emit(`close`),onAfterLeave:i[1]||=e=>r.$emit(`afterLeave`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ky),{description:t.imageAlt,"is-description-hidden":t.imageAlt.length===0,title:(0,f.unref)(n).t(`component.form_file_upload.preview.dialog_title`)},null,8,[`description`,`is-description-hidden`,`title`]),(0,f.createVNode)((0,f.unref)(YC),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`img`,{src:t.imageUrl,alt:t.imageAlt,class:(0,f.normalizeClass)([{"object-contain":t.fit===`contain`,"object-cover":t.fit===`cover`},`mx-auto max-h-180 w-full rounded-lg`])},null,10,sz)]),_:1})]),_:1},8,[`is-open`]))}}),lz=[`id`],uz=[`aria-label`,`disabled`],dz=[`src`,`alt`],fz=(0,f.defineComponent)({__name:`FormFileUploadImage`,props:{isZoomEnabled:{type:Boolean,default:!1},alt:{},blurhash:{default:null},fit:{},src:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,f.useId)(),i=QC().create(cz),a=(0,f.ref)(!0),o=(0,f.computed)(()=>n.t(`component.form_file_upload.preview.open_image`));function s(){a.value=!1}function c(){t.isZoomEnabled&&i.open({fit:t.fit,imageAlt:t.alt,imageUrl:t.src})}return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{id:(0,f.unref)(r),class:`relative isolate overflow-hidden`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[a.value&&t.blurhash!==null?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,exit:{opacity:0},transition:{duration:.2},class:`absolute inset-0 z-1`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oz,{blurhash:t.blurhash},null,8,[`blurhash`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}),(0,f.createElementVNode)(`button`,{class:(0,f.normalizeClass)([{"pointer-events-none cursor-default":!t.isZoomEnabled},`block size-full cursor-pointer outline-none`]),"aria-label":o.value,disabled:!t.isZoomEnabled,type:`button`,onClick:c},[(0,f.createElementVNode)(`img`,{src:t.src,alt:t.alt,class:(0,f.normalizeClass)([{"object-contain":t.fit===`contain`,"object-cover":t.fit===`cover`},`size-full`]),onLoad:s},null,42,dz)],10,uz)],8,lz))}}),pz=(0,f.defineComponent)({__name:`FormFileUploadListItemActions`,setup(e){let t=(0,g.useI18n)(),{isDisabled:n}=rE();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{class:`absolute right-0 h-full bg-linear-to-l from-secondary via-secondary via-80% px-lg opacity-0 duration-100 group-hover/form-file-upload-list-item:opacity-100 group-has-focus-visible/form-file-upload-list-item:opacity-100 pointer-coarse:opacity-100`,gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(BE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Un),label:(0,f.unref)(t).t(`component.form_file_upload.action.download`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(HE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(ri),"is-disabled":(0,f.unref)(n),label:(0,f.unref)(t).t(`component.form_file_upload.action.replace`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`is-disabled`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(VE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Ci),"is-disabled":(0,f.unref)(n),label:(0,f.unref)(t).t(`component.form_file_upload.action.delete`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`is-disabled`,`label`])]),_:1})]),_:1}))}}),mz={key:0,class:`flex h-4.5 items-start`},hz={class:`mt-sm h-1 w-40 overflow-hidden rounded-full bg-tertiary`},gz=(0,f.defineComponent)({__name:`FormFileUploadListItemMetadata`,props:{item:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,f.computed)(()=>({invalidType:n.t(`component.form_file_upload.error.invalid_type`),preprocessingFailed:n.t(`component.form_file_upload.error.preprocessing_failed`),uploadFailed:n.t(`component.form_file_upload.error.upload_failed`)})),i=(0,f.computed)(()=>t.item.status===X.ERROR?QR(t.item.error,r.value):null);return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`none`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.item.name,class:`text-sm text-primary`},null,8,[`text`]),t.item.status===(0,f.unref)(X).UPLOADING||t.item.status===(0,f.unref)(X).PENDING?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,mz,[(0,f.createElementVNode)(`div`,hz,[t.item.status===(0,f.unref)(X).UPLOADING?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,style:(0,f.normalizeStyle)({width:`${t.item.progress}%`}),class:`h-full bg-quaternary duration-100`},null,4)):(0,f.createCommentVNode)(``,!0)])])):t.item.status===(0,f.unref)(X).SUCCESS?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:1,text:t.item.mimeType,class:`text-xs text-tertiary`},null,8,[`text`])):t.item.status===(0,f.unref)(X).ERROR?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:2,text:i.value??``,class:`text-xs text-error-primary`},null,8,[`text`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),_z={key:0,class:`flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md`},vz=(0,f.defineComponent)({__name:`FormFileUploadListItemPreview`,props:{item:{}},setup(e){let t=e,n=(0,f.computed)(()=>$R(t.item.mimeType)),r=(0,f.computed)(()=>t.item.status===X.SUCCESS?t.item.blurHash:null);return(e,i)=>t.item.url===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,_z,[n.value?((0,f.openBlock)(),(0,f.createBlock)(fz,{key:0,src:t.item.url,"is-zoom-enabled":!0,blurhash:r.value,alt:t.item.name,fit:`cover`,class:`size-full`},null,8,[`src`,`blurhash`,`alt`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Qt),{key:1,class:`size-4.5 text-disabled`}))]))}}),yz={class:`absolute right-0 flex h-full items-center bg-linear-to-l from-secondary via-secondary via-80% px-lg`},bz=(0,f.defineComponent)({__name:`FormFileUploadListItemSpinner`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,yz,[(0,f.createVNode)((0,f.unref)(Cs),{class:`size-3.5 text-tertiary`})]))}}),xz=(0,f.defineComponent)({__name:`FormFileUploadListItem`,props:{item:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(RE),{item:t.item},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`lg`,class:`group group/form-file-upload-list-item relative max-w-full overflow-hidden rounded-xl bg-secondary px-lg py-md`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(vz,{item:t.item},null,8,[`item`]),(0,f.createVNode)(gz,{item:t.item},null,8,[`item`]),t.item.status===(0,f.unref)(X).PENDING||t.item.status===(0,f.unref)(X).UPLOADING?((0,f.openBlock)(),(0,f.createBlock)(bz,{key:0})):t.item.status===(0,f.unref)(X).SUCCESS||t.item.status===(0,f.unref)(X).ERROR?((0,f.openBlock)(),(0,f.createBlock)(pz,{key:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`item`]))}}),Sz=(0,f.defineComponent)({__name:`FormFileUploadList`,props:{items:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{opacity:0,transform:`scale(0.98)`},animate:{opacity:1,transform:`scale(1)`},exit:{opacity:0,transform:`scale(0.98)`},as:`ul`,class:`flex w-full flex-col gap-sm`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.items,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:e.key,initial:{opacity:+(t===0),transform:t===0?`scale(1) translateY(0)`:`scale(0.99) translateY(-0.5rem)`},animate:{opacity:1,transform:`scale(1) translateY(0)`},exit:{opacity:0,transform:`scale(0.99) translateY(-0.5rem)`},layout:!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(xz,{item:e},null,8,[`item`])]),_:2},1032,[`initial`]))),128))]),_:1})]),_:1}))}}),Cz={class:`relative ml-auto size-4`},wz={class:`relative`},Tz={class:`text-xs font-medium text-primary`},Ez={class:`max-w-full truncate text-xxs/4 text-tertiary`},Dz=(0,f.defineComponent)({inheritAttrs:!1,__name:`FormFileUpload`,props:(0,f.mergeModels)((0,f.mergeDefaults)({description:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},accept:{},isPublic:{type:Boolean},isValidFile:{type:[Function,null]},preprocess:{type:[Function,null]}},{...yb,...bb,isPublic:!1,isValidFile:null,preprocess:null}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`download`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=(0,f.useAttrs)(),o=(0,f.getCurrentInstance)(),s=(0,g.useI18n)(),c=n.id??(0,f.useId)(),l=ZT(),u=(0,f.computed)(()=>Array.isArray(i.value)),d=(0,f.computed)(()=>ez(a)),p=(0,f.computed)(()=>({invalidType:s.t(`component.form_file_upload.error.invalid_type`),preprocessingFailed:s.t(`component.form_file_upload.error.preprocessing_failed`),uploadFailed:s.t(`component.form_file_upload.error.upload_failed`)}));function m(e){r(`download`,e)}let h=o?.vnode.props?.onDownload===void 0?{}:{download:m};function v(e){for(let t of e)l.show({title:t.file.name,message:QR(t.error,p.value)})}function y(e){return URL.createObjectURL(e)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.MotionConfig),{transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(UE),(0,f.mergeProps)({modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,accept:n.accept,"disabled-reason":n.disabledReason,"is-disabled":n.isDisabled,"is-public":n.isPublic,"is-valid-file":n.isValidFile,preprocess:n.preprocess},(0,f.toHandlers)((0,f.unref)(h)),{onFilesRejected:v}),{default:(0,f.withCtx)(({items:t})=>[(0,f.createVNode)((0,f.unref)(qb),{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(c),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,Cz,[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.length>0&&u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:`absolute top-1/2 right-0 -translate-y-1/2`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(WE),null,{default:(0,f.withCtx)(({isDisabled:e})=>[(0,f.createVNode)((0,f.unref)(Y),(0,f.mergeProps)(d.value,{id:(0,f.unref)(c),icon:(0,f.unref)($r),"is-disabled":e,label:(0,f.unref)(s).t(`component.form_file_upload.action.add_files`),size:`xs`,variant:`tertiary`}),null,16,[`id`,`icon`,`is-disabled`,`label`])]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:2},1024)])]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_E),null,{default:(0,f.withCtx)(({isHoveringOverPage:e,isHoveringOverDropzone:r})=>[(0,f.createElementVNode)(`div`,wz,[(0,f.createVNode)(nz,{"is-hovering-over-page":e,"is-hovering-over-dropzone":r},null,8,[`is-hovering-over-page`,`is-hovering-over-dropzone`]),(0,f.createVNode)((0,f.unref)(Gx),null,{default:(0,f.withCtx)(()=>[t.length>0?((0,f.openBlock)(),(0,f.createBlock)(Sz,{key:0,items:t},null,8,[`items`])):((0,f.openBlock)(),(0,f.createBlock)(az,{key:1,id:(0,f.unref)(c),"is-hovering-over-dropzone":r,"is-multiple":u.value,description:n.description,"trigger-attrs":d.value},null,8,[`id`,`is-hovering-over-dropzone`,`is-multiple`,`description`,`trigger-attrs`]))]),_:2},1024),(0,f.createVNode)((0,f.unref)(mE),null,{default:(0,f.withCtx)(({files:e})=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[e[0]===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.3,type:`spring`,bounce:0},class:`absolute bottom-3 left-1/2 w-[95%] -translate-x-1/2 translate-y-full overflow-hidden rounded-xl border border-tertiary bg-primary p-sm pr-md shadow-lg/5`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{justify:`between`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(fz,{src:y(e[0]),"is-zoom-enabled":!0,alt:e[0].name,fit:`cover`,class:`size-8 shrink-0 rounded-md`},null,8,[`src`,`alt`]),(0,f.createVNode)((0,f.unref)(q),{gap:`none`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,Tz,(0,f.toDisplayString)((0,f.unref)(s).t(`component.form_file_upload.clipboard.title`)),1),(0,f.createElementVNode)(`span`,Ez,(0,f.toDisplayString)(e[0].name),1)]),_:2},1024)]),_:2},1024),(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(gE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(s).t(`component.form_file_upload.action.upload`),size:`sm`,variant:`secondary`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(hE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),label:(0,f.unref)(s).t(`component.form_file_upload.action.hide_clipboard_suggestion`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`label`])]),_:1})]),_:1})]),_:2},1024)]),_:2},1024))]),_:2},1024)]),_:1})])]),_:2},1024)]),_:2},1032,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`])]),_:3},16,[`modelValue`,`accept`,`disabled-reason`,`is-disabled`,`is-public`,`is-valid-file`,`preprocess`])]),_:3}))}}),Oz=(0,f.defineComponent)({__name:`Interactable`,props:{class:{default:null}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:(0,f.normalizeClass)((0,f.unref)(Ub)(`
1012
+ `},variants:{isPickerHidden:{false:{field:`pl-xxs`},true:{field:`pl-md`}},size:{md:{field:`gap-xxs text-xs`,separator:`mx-xs`,trigger:`pr-md pl-xs`},sm:{field:`gap-xxs text-xs`,separator:`mx-xxs`,trigger:`pr-sm pl-xxs`}}}}),vR={class:`relative flex size-9 shrink-0 items-center justify-center rounded-full text-xs font-regular text-secondary group-focus-visible/celtrig:ring-2 group-focus-visible/celtrig:ring-fg-brand-primary group-data-disabled/celtrig:text-disabled group-data-disabled/celtrig:opacity-50 group-data-highlighted-end/celtrig:bg-brand-solid group-data-highlighted-end/celtrig:text-primary-on-brand group-data-highlighted-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-highlighted-start/celtrig:bg-brand-solid group-data-highlighted-start/celtrig:text-primary-on-brand group-data-highlighted-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-outside-view/celtrig:text-disabled group-data-selection-end/celtrig:bg-brand-solid group-data-selection-end/celtrig:text-primary-on-brand group-data-selection-end/celtrig:group-focus-visible/celtrig:ring-0 group-data-selection-start/celtrig:bg-brand-solid group-data-selection-start/celtrig:text-primary-on-brand group-data-selection-start/celtrig:group-focus-visible/celtrig:ring-0 group-data-today/celtrig:font-semibold group-data-unavailable/celtrig:text-disabled group-data-unavailable/celtrig:line-through group-not-data-disabled/celtrig:group-not-data-highlighted/celtrig:group-not-data-selected/celtrig:hover:bg-secondary-hover`},yR={key:0,class:`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full bg-brand-solid group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`},bR=(0,f.defineComponent)({__name:`DateRangeFieldCalendarGrid`,props:{getDayConfig:{type:Function},month:{},weekDays:{}},setup(e){let t=e;function n(e){return e.day===1}function r(e){return e.day===(0,C.endOfMonth)(e).day}function i(e){return JL(e,t.getDayConfig)}return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerGrid),{class:`w-full border-collapse select-none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridHead),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridRow),{class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.weekDays,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerHeadCell),{key:e,class:`flex-1 py-xs text-center text-xs font-medium text-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(e),1)]),_:2},1024))),128))]),_:1})]),_:1}),(0,f.createVNode)((0,f.unref)(h.DateRangePickerGridBody),null,{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.month.rows,(e,a)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerGridRow),{key:a,class:`flex py-xxs`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,e=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerCell),{key:e.toString(),date:e,class:`group/cell relative flex-1 p-0 text-center text-xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCellTrigger),{class:(0,f.normalizeClass)([{"rounded-r-full":r(e),"rounded-l-full":n(e)},`group/celtrig inline-flex h-9 w-full items-center justify-center text-xs outline-none group-first/cell:rounded-l-full group-last/cell:rounded-r-full data-disabled:pointer-events-none data-highlighted:bg-brand-secondary data-highlighted-end:rounded-r-full data-highlighted-end:bg-brand-secondary data-highlighted-start:rounded-l-full data-highlighted-start:bg-brand-secondary data-outside-view:pointer-events-none data-outside-view:invisible data-selected:bg-brand-secondary data-selection-end:rounded-r-full data-selection-end:bg-brand-secondary data-selection-start:rounded-l-full data-selection-start:bg-brand-secondary data-unavailable:pointer-events-none dark:data-highlighted:bg-brand-secondary/20 dark:data-highlighted-end:bg-brand-secondary/20 dark:data-highlighted-start:bg-brand-secondary/20 dark:data-selected:bg-brand-secondary/20 dark:data-selection-end:bg-brand-secondary/20 dark:data-selection-start:bg-brand-secondary/20 [&[data-selection-end][data-highlighted-start]:not([data-highlighted-end])]:rounded-r-none [&[data-selection-start][data-highlighted-end]:not([data-highlighted-start])]:rounded-l-none`]),day:e,month:t.month.value},{default:(0,f.withCtx)(({today:t})=>[(0,f.createElementVNode)(`div`,vR,[(0,f.createTextVNode)((0,f.toDisplayString)(e.day)+` `,1),t?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,yR)):i(e)?((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:1,class:(0,f.normalizeClass)([i(e),`absolute bottom-1 left-1/2 size-1 -translate-x-1/2 group-data-highlighted-end/celtrig:bg-white group-data-highlighted-start/celtrig:bg-white group-data-selection-end/celtrig:bg-white group-data-selection-start/celtrig:bg-white`])},null,2)):(0,f.createCommentVNode)(``,!0)])]),_:2},1032,[`class`,`day`,`month`])]),_:2},1032,[`date`]))),128))]),_:2},1024))),128))]),_:1})]),_:1}))}}),xR={class:`flex items-center p-xl pb-0`},SR={key:1,class:`size-9 shrink-0`},CR={class:`flex flex-1 items-center justify-center gap-xs`},wR={key:3,class:`size-9 shrink-0`},TR=(0,f.defineComponent)({__name:`DateRangeFieldCalendarHeader`,props:{hasNext:{type:Boolean},showNext:{type:Boolean,default:void 0},side:{}},setup(e){let t=e,n=(0,g.useI18n)(),{placeholder:r,setPlaceholder:i}=gR(),a=(0,f.computed)(()=>t.side===`left`?r.value:r.value.add({months:1}));function o(e){i(t.side===`left`?e:e.subtract({months:1}))}return(e,r)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,xR,[t.side===`left`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerPrev),{key:0,"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(hn),label:(0,f.unref)(n).t(`component.date_range_picker.previous_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,SR)),(0,f.createElementVNode)(`div`,CR,[(0,f.createVNode)(eR,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`]),(0,f.createVNode)(nR,{placeholder:a.value,"onUpdate:placeholder":o},null,8,[`placeholder`])]),t.side===`right`||t.hasNext||t.showNext?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerNext),{key:2,"as-child":!0},{default:(0,f.withCtx)(({disabled:e})=>[(0,f.createVNode)(Y,{"is-disabled":e,icon:(0,f.unref)(yn),label:(0,f.unref)(n).t(`component.date_range_picker.next_month`),size:`md`,variant:`tertiary`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,wR))]))}}),ER={class:`flex items-center`},DR=(0,f.defineComponent)({__name:`DateRangeFieldInvalidIndicator`,props:{isVisible:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.isVisible?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,filter:`blur(4px)`},animate:{opacity:1,filter:`blur(0)`},exit:{opacity:0,filter:`blur(4px)`},transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(K,{label:(0,f.unref)(n).t(`component.date_range_picker.invalid_range`)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,ER,[(0,f.createVNode)((0,f.unref)(wt),{class:`size-4 text-error-primary`})])]),_:1},8,[`label`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),OR={class:`flex flex-col gap-md border-t border-secondary p-xl md:flex-row md:items-center md:justify-between`},kR=(0,f.defineComponent)({__name:`DateRangeFieldInputRow`,setup(e){let t=(0,g.useI18n)(),{isInvalidRange:n,onCancel:r}=gR();return(e,i)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,OR,[(0,f.createVNode)((0,f.unref)(B),{class:`min-w-0 items-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.start,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`start-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,f.createVNode)((0,f.unref)(yn),{class:`size-4 text-placeholder`}),(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),{class:`flex h-7 min-w-0 flex-1 items-center gap-xxs rounded-sm border border-secondary bg-primary px-sm text-xs text-primary md:max-w-30 md:min-w-30 md:flex-none [&:has(:focus)]:border-fg-brand-primary [&:has(:focus)]:outline [&:has(:focus)]:outline-fg-brand-primary`},{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.end,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`end-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:`text-placeholder select-none`,type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:`rounded-sm px-xxs text-xs text-primary tabular-nums caret-transparent outline-none hover:bg-secondary-hover focus:bg-secondary-hover focus:text-primary data-placeholder:text-placeholder data-placeholder:focus:text-primary`,type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`]))],64))),128))]),_:1}),(0,f.createVNode)(DR,{"is-visible":(0,f.unref)(n)},null,8,[`is-visible`])]),_:1}),(0,f.createVNode)((0,f.unref)(B),{class:`self-end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(t).t(`component.date_range_picker.close`),size:`md`,variant:`secondary`,onClick:(0,f.unref)(r)},null,8,[`label`,`onClick`])]),_:1})]))}}),AR={class:`flex w-32 shrink-0 flex-col gap-xs border-r border-secondary p-lg`},jR=[`data-active`,`onClick`],MR=(0,f.defineComponent)({__name:`DateRangeFieldPresets`,setup(e){let t=(0,g.useI18n)(),{draftValue:n,setPreset:r}=gR(),i=(0,f.computed)(()=>{let e=w.Temporal.Now.plainDateISO(),n=e.dayOfWeek,r=e.subtract({days:n-1}),i=r.add({days:6}),a=r.subtract({days:7}),o=r.subtract({days:1}),s=e.with({day:1}),c=e.with({day:e.daysInMonth}),l=s.subtract({months:1}),u=s.subtract({days:1}),d=e.with({day:1,month:1}),f=e.with({day:31,month:12}),p=d.subtract({years:1}),m=d.subtract({days:1}),h=e.subtract({days:1}),g=e.add({days:1});return[{key:`today`,label:t.t(`component.date_range_picker.preset.today`),range:{from:e,until:e}},{key:`yesterday`,label:t.t(`component.date_range_picker.preset.yesterday`),range:{from:h,until:h}},{key:`tomorrow`,label:t.t(`component.date_range_picker.preset.tomorrow`),range:{from:g,until:g}},{key:`this_week`,label:t.t(`component.date_range_picker.preset.this_week`),range:{from:r,until:i}},{key:`last_week`,label:t.t(`component.date_range_picker.preset.last_week`),range:{from:a,until:o}},{key:`this_month`,label:t.t(`component.date_range_picker.preset.this_month`),range:{from:s,until:c}},{key:`last_month`,label:t.t(`component.date_range_picker.preset.last_month`),range:{from:l,until:u}},{key:`this_year`,label:t.t(`component.date_range_picker.preset.this_year`),range:{from:d,until:f}},{key:`last_year`,label:t.t(`component.date_range_picker.preset.last_year`),range:{from:p,until:m}},{key:`all_time`,label:t.t(`component.date_range_picker.preset.all_time`),range:null}]});function a(e){if(e.range===null)return n.value.start==null&&n.value.end==null;if(n.value.start==null||n.value.end==null)return!1;let t=n.value.start,r=n.value.end;return t.year===e.range.from.year&&t.month===e.range.from.month&&t.day===e.range.from.day&&r.year===e.range.until.year&&r.month===e.range.until.month&&r.day===e.range.until.day}return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,AR,[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:e.key,"data-active":a(e),class:`flex w-full items-center rounded-sm px-lg py-xs text-left text-xs font-medium text-secondary transition-colors duration-100 outline-none hover:bg-secondary-hover focus-visible:ring-2 focus-visible:ring-fg-brand-primary data-[active=true]:bg-brand-secondary data-[active=true]:text-brand-secondary`,type:`button`,onClick:t=>(0,f.unref)(r)(e.range)},(0,f.toDisplayString)(e.label),9,jR))),128))]))}}),NR={class:`flex h-full`},PR={class:`flex min-w-0 flex-1 flex-col`},FR={class:`flex`},IR={class:`flex flex-1 flex-col`},LR={class:`p-xl pt-0`},RR={class:`flex flex-1 flex-col`},zR={class:`p-xl pt-0`},BR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateRangeField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({maxDate:{},minDate:{},isPickerHidden:{type:Boolean},getDayConfig:{type:Function},legend:{},placeholder:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{}},{...yb,...bb,...xb,maxDate:null,minDate:null,isPickerHidden:!1,legend:null,placeholder:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,g.useI18n)(),i=t.id??(0,f.useId)(),a=(0,f.useAttrs)(),{isError:o,ariaDescribedBy:s,ariaInvalid:c}=_b(i,t),l=(0,f.ref)(!1);Ny(l);let u=(0,f.computed)(()=>_R({isPickerHidden:t.isPickerHidden,size:t.size})),{isInvalidRange:d,isSingleMonth:p,calendarPlaceholder:m,draftValue:_,locale:v,maxDateValue:y,minDateValue:b,resetPlaceholder:x,setPlaceholder:S,setPreset:C,syncDraftFromModel:w,onDraftValueUpdate:T}=mR({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n});(0,f.watch)(l,e=>{e&&(w(),x())});function E(){l.value=!1}return hR({isInvalidRange:d,draftValue:_,placeholder:m,setPlaceholder:S,setPreset:C,onCancel:E}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerRoot),{id:(0,f.unref)(i),open:l.value,"onUpdate:open":n[0]||=e=>l.value=e,placeholder:(0,f.unref)(m),"onUpdate:placeholder":n[1]||=e=>(0,f.isRef)(m)?m.value=e:null,"model-value":(0,f.unref)(_),"week-starts-on":(0,f.unref)(lR)((0,f.unref)(v)),disabled:t.isDisabled,"max-value":(0,f.unref)(y),"min-value":(0,f.unref)(b),readonly:t.isReadonly,required:t.isRequired,locale:(0,f.unref)(v),"number-of-months":(0,f.unref)(p)?1:2,"close-on-select":!1,"onUpdate:modelValue":(0,f.unref)(T)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(o),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},(0,f.createSlots)({default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerField),(0,f.mergeProps)({id:(0,f.unref)(i)},(0,f.unref)(a),{"aria-describedby":(0,f.unref)(s),"aria-invalid":(0,f.unref)(c),"aria-required":t.isRequired||void 0,class:u.value.field()}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.start,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`start-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(u.value.literal()),type:`start`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(u.value.segment()),type:`start`,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128)),(0,f.createVNode)((0,f.unref)(It),{class:(0,f.normalizeClass)(u.value.separator())},null,8,[`class`]),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.end,({part:e,value:t})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`end-${e}`},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:1,part:e,class:(0,f.normalizeClass)(u.value.literal()),type:`end`},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.DateRangePickerInput),{key:0,part:e,class:(0,f.normalizeClass)(u.value.segment()),type:`end`,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(t),1)]),_:2},1032,[`part`,`class`]))],64))),128))]),_:1},16,[`id`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`])]),_:2},[t.isPickerHidden?void 0:{name:`right`,fn:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-disabled":t.isDisabled||t.isReadonly,"is-tooltip-disabled":!0,icon:(0,f.unref)(nn),label:(0,f.unref)(r).t(`component.date_range_picker.open`),size:`xs`,type:`button`,variant:`tertiary`,class:`mr-xs`,"data-field-wrapper":``},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),key:`0`}]),1032,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`]),(0,f.createVNode)(Xi,{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerContent),{"side-offset":8,"collision-padding":10,"data-animation":`popover-default`,class:`z-50 origin-(--reka-popover-content-transform-origin) will-change-[transform,opacity]`,align:`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCalendar),{"fixed-weeks":!0,class:`flex flex-col gap-lg overflow-hidden rounded-2xl border border-secondary bg-primary shadow-lg`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:r})=>[(0,f.createElementVNode)(`div`,NR,[(0,f.createVNode)(MR),(0,f.createElementVNode)(`div`,PR,[(0,f.createElementVNode)(`div`,FR,[(0,f.createElementVNode)(`div`,IR,[(0,f.createVNode)(TR,{"has-next":(0,f.unref)(p),side:`left`},null,8,[`has-next`]),(0,f.createElementVNode)(`div`,LR,[(0,f.createVNode)(bR,{"get-day-config":t.getDayConfig,month:r[0],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])]),(0,f.unref)(p)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[n[2]||=(0,f.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,f.createElementVNode)(`div`,RR,[(0,f.createVNode)(TR,{side:`right`}),(0,f.createElementVNode)(`div`,zR,[(0,f.createVNode)(bR,{"get-day-config":t.getDayConfig,month:r[1],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])])],64))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(sR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(kR)])])]),_:1})]),_:1})]),_:1})]),_:1},8,[`id`,`open`,`placeholder`,`model-value`,`week-starts-on`,`disabled`,`max-value`,`min-value`,`readonly`,`required`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),VR={class:`flex h-full`},HR={class:`flex min-w-0 flex-1 flex-col`},UR={class:`flex`},WR={class:`flex flex-1 flex-col`},GR={class:`p-xl pt-0`},KR={class:`flex flex-1 flex-col`},qR={class:`p-xl pt-0`},JR=(0,f.defineComponent)({inheritAttrs:!1,__name:`DateRangePicker`,props:(0,f.mergeModels)({maxDate:{default:null},minDate:{default:null},hasPresets:{type:Boolean,default:!0},getDayConfig:{},legend:{default:null},showPresets:{type:Boolean}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),{isInvalidRange:r,isSingleMonth:i,calendarPlaceholder:a,draftValue:o,locale:s,maxDateValue:c,minDateValue:l,setPlaceholder:u,setPreset:d,onDraftValueUpdate:p}=mR({maxDate:(0,f.toRef)(t,`maxDate`),minDate:(0,f.toRef)(t,`minDate`),modelValue:n}),m=(0,f.computed)(()=>t.hasPresets||t.showPresets===!0);return hR({isInvalidRange:r,draftValue:o,placeholder:a,setPlaceholder:u,setPreset:d,onCancel:()=>{}}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(Xi,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerRoot),{modelValue:(0,f.unref)(o),"onUpdate:modelValue":[n[0]||=e=>(0,f.isRef)(o)?o.value=e:null,(0,f.unref)(p)],placeholder:(0,f.unref)(a),"onUpdate:placeholder":n[1]||=e=>(0,f.isRef)(a)?a.value=e:null,"week-starts-on":(0,f.unref)(lR)((0,f.unref)(s)),"max-value":(0,f.unref)(c),"min-value":(0,f.unref)(l),locale:(0,f.unref)(s),"number-of-months":(0,f.unref)(i)?1:2,"close-on-select":!1,"fixed-weeks":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.DateRangePickerCalendar),{class:`flex flex-col gap-lg overflow-hidden bg-primary`,"weekday-format":`short`},{default:(0,f.withCtx)(({weekDays:e,grid:r})=>[(0,f.createElementVNode)(`div`,VR,[m.value?((0,f.openBlock)(),(0,f.createBlock)(MR,{key:0})):(0,f.createCommentVNode)(``,!0),(0,f.createElementVNode)(`div`,HR,[(0,f.createElementVNode)(`div`,UR,[(0,f.createElementVNode)(`div`,WR,[(0,f.createVNode)(TR,{"has-next":(0,f.unref)(i),side:`left`},null,8,[`has-next`]),(0,f.createElementVNode)(`div`,GR,[(0,f.createVNode)(bR,{"get-day-config":t.getDayConfig,month:r[0],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])]),(0,f.unref)(i)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[n[2]||=(0,f.createElementVNode)(`div`,{class:`border-l border-secondary`},null,-1),(0,f.createElementVNode)(`div`,KR,[(0,f.createVNode)(TR,{side:`right`}),(0,f.createElementVNode)(`div`,qR,[(0,f.createVNode)(bR,{"get-day-config":t.getDayConfig,month:r[1],"week-days":e},null,8,[`get-day-config`,`month`,`week-days`])])])],64))]),t.legend!==null&&t.legend.length>0?((0,f.openBlock)(),(0,f.createBlock)(sR,{key:0,items:t.legend,class:`px-xl`},null,8,[`items`])):(0,f.createCommentVNode)(``,!0)])])]),_:1})]),_:1},8,[`modelValue`,`placeholder`,`week-starts-on`,`max-value`,`min-value`,`locale`,`number-of-months`,`onUpdate:modelValue`])]),_:1}))}}),YR=[`datetime`],XR=(0,f.defineComponent)({__name:`DateTime`,props:{value:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`time`,{datetime:t.value},[(0,f.renderSlot)(e.$slots,`default`)],8,YR))}});function ZR(e,t){switch(e){case`CONFIRM_UPLOAD_FAILED`:case`GET_FILE_INFO_FAILED`:case`UPLOAD_FAILED`:return t.uploadFailed;case`INVALID_MIME_TYPE`:return t.invalidType;case`PREPROCESSING_FAILED`:return t.preprocessingFailed;default:return e}}function QR(e){return e.startsWith(`image/`)}function $R(e){return Object.fromEntries(Object.entries(e).filter(([e])=>e===`name`||e===`onBlur`||e===`onFocus`||e.startsWith(`data-`)))}var ez={class:`text-sm font-medium text-brand-secondary`},tz=(0,f.defineComponent)({__name:`FormFileUploadDropzoneOverlay`,props:{isHoveringOverDropzone:{type:Boolean},isHoveringOverPage:{type:Boolean}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[t.isHoveringOverPage?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,class:(0,f.normalizeClass)([{"animate-pulse":!t.isHoveringOverDropzone},`pointer-events-none absolute inset-0 z-10 overflow-hidden rounded-xl border-[1.5px] border-dashed border-brand-500/50`]),initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[t.isHoveringOverDropzone?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,scale:1.01},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.01},class:`absolute inset-0 flex items-center justify-center bg-brand-primary/90`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`p`,ez,(0,f.toDisplayString)((0,f.unref)(n).t(`component.form_file_upload.dropzone_overlay.title`)),1)]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),nz={class:`text-sm text-primary`},rz={class:`mt-xs text-xs text-tertiary`},iz=(0,f.defineComponent)({__name:`FormFileUploadEmptyState`,props:{id:{default:null},isHoveringOverDropzone:{type:Boolean},isMultiple:{type:Boolean},description:{},triggerAttrs:{default:void 0}},setup(e){let t=e,n=(0,g.useI18n)();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{opacity:0,scale:.98,filter:`blur(4px)`},animate:{opacity:1,scale:t.isHoveringOverDropzone?.995:1,filter:`blur(0px)`},exit:{opacity:0,scale:.98,filter:`blur(4px)`},class:`rounded-xl bg-secondary px-2xl py-xl`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`p`,nz,(0,f.toDisplayString)((0,f.unref)(n).t(`component.form_file_upload.empty_state.title`)),1),(0,f.createElementVNode)(`p`,rz,(0,f.toDisplayString)(t.description),1),(0,f.createVNode)((0,f.unref)(WE),null,{default:(0,f.withCtx)(({isDisabled:e})=>[(0,f.createVNode)((0,f.unref)($v),(0,f.mergeProps)(t.triggerAttrs,{id:t.isMultiple?void 0:t.id??void 0,"icon-left":(0,f.unref)(Di),"is-disabled":e,label:(0,f.unref)(n).t(`component.form_file_upload.action.upload`),class:`mt-lg`,variant:`secondary`}),null,16,[`id`,`icon-left`,`is-disabled`,`label`])]),_:1})]),_:1},8,[`animate`]))}}),az=(0,f.defineComponent)({__name:`FormFileUploadBlurhash`,props:{blurhash:{}},setup(e){let t=e,n=(0,f.ref)(null);function r(e,t){let{height:n,width:r}=t,i=jE(e,r,n),a=t.getContext(`2d`);if(a===null)return;let o=a.createImageData(r,n);o.data.set(i),a.putImageData(o,0,0)}function i(){n.value!==null&&r(t.blurhash,n.value)}return(0,f.onMounted)(()=>{i()}),(0,f.watch)(()=>t.blurhash,()=>{i()}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`canvas`,{ref_key:`canvasRef`,ref:n,width:`32`,height:`32`,class:`size-full`},null,512))}}),oz=[`src`,`alt`],sz=(0,f.defineComponent)({__name:`FormFileUploadImageDialog`,props:{isOpen:{type:Boolean,default:!1},fit:{},imageAlt:{},imageUrl:{}},emits:[`afterLeave`,`close`],setup(e){let t=e,n=(0,g.useI18n)();return(r,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Vy),{"is-open":e.isOpen,size:`lg`,"onUpdate:isOpen":i[0]||=e=>!e&&r.$emit(`close`),onAfterLeave:i[1]||=e=>r.$emit(`afterLeave`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ky),{description:t.imageAlt,"is-description-hidden":t.imageAlt.length===0,title:(0,f.unref)(n).t(`component.form_file_upload.preview.dialog_title`)},null,8,[`description`,`is-description-hidden`,`title`]),(0,f.createVNode)((0,f.unref)(YC),null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`img`,{src:t.imageUrl,alt:t.imageAlt,class:(0,f.normalizeClass)([{"object-contain":t.fit===`contain`,"object-cover":t.fit===`cover`},`mx-auto max-h-180 w-full rounded-lg`])},null,10,oz)]),_:1})]),_:1},8,[`is-open`]))}}),cz=[`id`],lz=[`aria-label`,`disabled`],uz=[`src`,`alt`],dz=(0,f.defineComponent)({__name:`FormFileUploadImage`,props:{isZoomEnabled:{type:Boolean,default:!1},alt:{},blurhash:{default:null},fit:{},src:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,f.useId)(),i=QC().create(sz),a=(0,f.ref)(!0),o=(0,f.computed)(()=>n.t(`component.form_file_upload.preview.open_image`));function s(){a.value=!1}function c(){t.isZoomEnabled&&i.open({fit:t.fit,imageAlt:t.alt,imageUrl:t.src})}return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{id:(0,f.unref)(r),class:`relative isolate overflow-hidden`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[a.value&&t.blurhash!==null?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,exit:{opacity:0},transition:{duration:.2},class:`absolute inset-0 z-1`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(az,{blurhash:t.blurhash},null,8,[`blurhash`])]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1}),(0,f.createElementVNode)(`button`,{class:(0,f.normalizeClass)([{"pointer-events-none cursor-default":!t.isZoomEnabled},`block size-full cursor-pointer outline-none`]),"aria-label":o.value,disabled:!t.isZoomEnabled,type:`button`,onClick:c},[(0,f.createElementVNode)(`img`,{src:t.src,alt:t.alt,class:(0,f.normalizeClass)([{"object-contain":t.fit===`contain`,"object-cover":t.fit===`cover`},`size-full`]),onLoad:s},null,42,uz)],10,lz)],8,cz))}}),fz=(0,f.defineComponent)({__name:`FormFileUploadListItemActions`,setup(e){let t=(0,g.useI18n)(),{isDisabled:n}=rE();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{class:`absolute right-0 h-full bg-linear-to-l from-secondary via-secondary via-80% px-lg opacity-0 duration-100 group-hover/form-file-upload-list-item:opacity-100 group-has-focus-visible/form-file-upload-list-item:opacity-100 pointer-coarse:opacity-100`,gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(BE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Un),label:(0,f.unref)(t).t(`component.form_file_upload.action.download`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(HE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(ri),"is-disabled":(0,f.unref)(n),label:(0,f.unref)(t).t(`component.form_file_upload.action.replace`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`is-disabled`,`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(VE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Ci),"is-disabled":(0,f.unref)(n),label:(0,f.unref)(t).t(`component.form_file_upload.action.delete`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`is-disabled`,`label`])]),_:1})]),_:1}))}}),pz={key:0,class:`flex h-4.5 items-start`},mz={class:`mt-sm h-1 w-40 overflow-hidden rounded-full bg-tertiary`},hz=(0,f.defineComponent)({__name:`FormFileUploadListItemMetadata`,props:{item:{}},setup(e){let t=e,n=(0,g.useI18n)(),r=(0,f.computed)(()=>({invalidType:n.t(`component.form_file_upload.error.invalid_type`),preprocessingFailed:n.t(`component.form_file_upload.error.preprocessing_failed`),uploadFailed:n.t(`component.form_file_upload.error.upload_failed`)})),i=(0,f.computed)(()=>t.item.status===X.ERROR?ZR(t.item.error,r.value):null);return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(q),{gap:`none`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.item.name,class:`text-sm text-primary`},null,8,[`text`]),t.item.status===(0,f.unref)(X).UPLOADING||t.item.status===(0,f.unref)(X).PENDING?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,pz,[(0,f.createElementVNode)(`div`,mz,[t.item.status===(0,f.unref)(X).UPLOADING?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,style:(0,f.normalizeStyle)({width:`${t.item.progress}%`}),class:`h-full bg-quaternary duration-100`},null,4)):(0,f.createCommentVNode)(``,!0)])])):t.item.status===(0,f.unref)(X).SUCCESS?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:1,text:t.item.mimeType,class:`text-xs text-tertiary`},null,8,[`text`])):t.item.status===(0,f.unref)(X).ERROR?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:2,text:i.value??``,class:`text-xs text-error-primary`},null,8,[`text`])):(0,f.createCommentVNode)(``,!0)]),_:1}))}}),gz={key:0,class:`flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-md`},_z=(0,f.defineComponent)({__name:`FormFileUploadListItemPreview`,props:{item:{}},setup(e){let t=e,n=(0,f.computed)(()=>QR(t.item.mimeType)),r=(0,f.computed)(()=>t.item.status===X.SUCCESS?t.item.blurHash:null);return(e,i)=>t.item.url===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`div`,gz,[n.value?((0,f.openBlock)(),(0,f.createBlock)(dz,{key:0,src:t.item.url,"is-zoom-enabled":!0,blurhash:r.value,alt:t.item.name,fit:`cover`,class:`size-full`},null,8,[`src`,`blurhash`,`alt`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Qt),{key:1,class:`size-4.5 text-disabled`}))]))}}),vz={class:`absolute right-0 flex h-full items-center bg-linear-to-l from-secondary via-secondary via-80% px-lg`},yz=(0,f.defineComponent)({__name:`FormFileUploadListItemSpinner`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,vz,[(0,f.createVNode)((0,f.unref)(Cs),{class:`size-3.5 text-tertiary`})]))}}),bz=(0,f.defineComponent)({__name:`FormFileUploadListItem`,props:{item:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(RE),{item:t.item},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{gap:`lg`,class:`group group/form-file-upload-list-item relative max-w-full overflow-hidden rounded-xl bg-secondary px-lg py-md`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(_z,{item:t.item},null,8,[`item`]),(0,f.createVNode)(hz,{item:t.item},null,8,[`item`]),t.item.status===(0,f.unref)(X).PENDING||t.item.status===(0,f.unref)(X).UPLOADING?((0,f.openBlock)(),(0,f.createBlock)(yz,{key:0})):t.item.status===(0,f.unref)(X).SUCCESS||t.item.status===(0,f.unref)(X).ERROR?((0,f.openBlock)(),(0,f.createBlock)(fz,{key:1})):(0,f.createCommentVNode)(``,!0)]),_:1})]),_:1},8,[`item`]))}}),xz=(0,f.defineComponent)({__name:`FormFileUploadList`,props:{items:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{opacity:0,transform:`scale(0.98)`},animate:{opacity:1,transform:`scale(1)`},exit:{opacity:0,transform:`scale(0.98)`},as:`ul`,class:`flex w-full flex-col gap-sm`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.items,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:e.key,initial:{opacity:+(t===0),transform:t===0?`scale(1) translateY(0)`:`scale(0.99) translateY(-0.5rem)`},animate:{opacity:1,transform:`scale(1) translateY(0)`},exit:{opacity:0,transform:`scale(0.99) translateY(-0.5rem)`},layout:!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(bz,{item:e},null,8,[`item`])]),_:2},1032,[`initial`]))),128))]),_:1})]),_:1}))}}),Sz={class:`relative ml-auto size-4`},Cz={class:`relative`},wz={class:`text-xs font-medium text-primary`},Tz={class:`max-w-full truncate text-xxs/4 text-tertiary`},Ez=(0,f.defineComponent)({inheritAttrs:!1,__name:`FormFileUpload`,props:(0,f.mergeModels)((0,f.mergeDefaults)({description:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},accept:{},isPublic:{type:Boolean},isValidFile:{type:[Function,null]},preprocess:{type:[Function,null]}},{...yb,...bb,isPublic:!1,isValidFile:null,preprocess:null}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`download`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=(0,f.useAttrs)(),o=(0,f.getCurrentInstance)(),s=(0,g.useI18n)(),c=n.id??(0,f.useId)(),l=ZT(),u=(0,f.computed)(()=>Array.isArray(i.value)),d=(0,f.computed)(()=>$R(a)),p=(0,f.computed)(()=>({invalidType:s.t(`component.form_file_upload.error.invalid_type`),preprocessingFailed:s.t(`component.form_file_upload.error.preprocessing_failed`),uploadFailed:s.t(`component.form_file_upload.error.upload_failed`)}));function m(e){r(`download`,e)}let h=o?.vnode.props?.onDownload===void 0?{}:{download:m};function v(e){for(let t of e)l.show({title:t.file.name,message:ZR(t.error,p.value)})}function y(e){return URL.createObjectURL(e)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.MotionConfig),{transition:{duration:.3,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(UE),(0,f.mergeProps)({modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,accept:n.accept,"disabled-reason":n.disabledReason,"is-disabled":n.isDisabled,"is-public":n.isPublic,"is-valid-file":n.isValidFile,preprocess:n.preprocess},(0,f.toHandlers)((0,f.unref)(h)),{onFilesRejected:v}),{default:(0,f.withCtx)(({items:t})=>[(0,f.createVNode)((0,f.unref)(qb),{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(c),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,Sz,[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[t.length>0&&u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:`absolute top-1/2 right-0 -translate-y-1/2`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(WE),null,{default:(0,f.withCtx)(({isDisabled:e})=>[(0,f.createVNode)((0,f.unref)(Y),(0,f.mergeProps)(d.value,{id:(0,f.unref)(c),icon:(0,f.unref)($r),"is-disabled":e,label:(0,f.unref)(s).t(`component.form_file_upload.action.add_files`),size:`xs`,variant:`tertiary`}),null,16,[`id`,`icon`,`is-disabled`,`label`])]),_:1})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:2},1024)])]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_E),null,{default:(0,f.withCtx)(({isHoveringOverPage:e,isHoveringOverDropzone:r})=>[(0,f.createElementVNode)(`div`,Cz,[(0,f.createVNode)(tz,{"is-hovering-over-page":e,"is-hovering-over-dropzone":r},null,8,[`is-hovering-over-page`,`is-hovering-over-dropzone`]),(0,f.createVNode)((0,f.unref)(Gx),null,{default:(0,f.withCtx)(()=>[t.length>0?((0,f.openBlock)(),(0,f.createBlock)(xz,{key:0,items:t},null,8,[`items`])):((0,f.openBlock)(),(0,f.createBlock)(iz,{key:1,id:(0,f.unref)(c),"is-hovering-over-dropzone":r,"is-multiple":u.value,description:n.description,"trigger-attrs":d.value},null,8,[`id`,`is-hovering-over-dropzone`,`is-multiple`,`description`,`trigger-attrs`]))]),_:2},1024),(0,f.createVNode)((0,f.unref)(mE),null,{default:(0,f.withCtx)(({files:e})=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[e[0]===void 0?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.3,type:`spring`,bounce:0},class:`absolute bottom-3 left-1/2 w-[95%] -translate-x-1/2 translate-y-full overflow-hidden rounded-xl border border-tertiary bg-primary p-sm pr-md shadow-lg/5`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{justify:`between`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(B),{class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(dz,{src:y(e[0]),"is-zoom-enabled":!0,alt:e[0].name,fit:`cover`,class:`size-8 shrink-0 rounded-md`},null,8,[`src`,`alt`]),(0,f.createVNode)((0,f.unref)(q),{gap:`none`,class:`overflow-hidden`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,wz,(0,f.toDisplayString)((0,f.unref)(s).t(`component.form_file_upload.clipboard.title`)),1),(0,f.createElementVNode)(`span`,Tz,(0,f.toDisplayString)(e[0].name),1)]),_:2},1024)]),_:2},1024),(0,f.createVNode)((0,f.unref)(B),{gap:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(gE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(s).t(`component.form_file_upload.action.upload`),size:`sm`,variant:`secondary`},null,8,[`label`])]),_:1}),(0,f.createVNode)((0,f.unref)(hE),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Fi),label:(0,f.unref)(s).t(`component.form_file_upload.action.hide_clipboard_suggestion`),variant:`tertiary`,size:`sm`},null,8,[`icon`,`label`])]),_:1})]),_:1})]),_:2},1024)]),_:2},1024))]),_:2},1024)]),_:1})])]),_:2},1024)]),_:2},1032,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`])]),_:3},16,[`modelValue`,`accept`,`disabled-reason`,`is-disabled`,`is-public`,`is-valid-file`,`preprocess`])]),_:3}))}}),Dz=(0,f.defineComponent)({__name:`Interactable`,props:{class:{default:null}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:(0,f.normalizeClass)((0,f.unref)(Ub)(`
1013
1013
  rounded-sm outline-fg-brand-primary
1014
1014
  focus-visible:outline-2
1015
1015
  disabled:cursor-not-allowed
1016
- `,t.class))},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}});function kz(){let e=(0,f.shallowRef)(null),t=(0,f.computed)(()=>e.value!==null),n=(0,f.computed)(()=>e.value?.isOpen.value??!1);function r(){e.value?.toggle()}function i(t,n,r){let i={isOpen:t,isToggleHidden:r,toggle:n};return e.value=i,()=>{e.value===i&&(e.value=null)}}WD({hasDetailPane:t,isOpen:n,isToggleHidden:(0,f.computed)(()=>e.value?.isToggleHidden??!1),registerDetailPane:i,toggle:r})}var Az=(0,f.defineComponent)({__name:`DashboardPageHeaderBreadcrumbs`,props:{breadcrumbs:{}},setup(e){let t=e;return(e,n)=>t.breadcrumbs.length>0?((0,f.openBlock)(),(0,f.createBlock)(QE,{key:0},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.breadcrumbs,(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`${e.label}-${n}`},[(0,f.createVNode)(XE,{icon:e.icon,to:e.to,label:e.label},null,8,[`icon`,`to`,`label`]),n<t.breadcrumbs.length-1?((0,f.openBlock)(),(0,f.createBlock)($E,{key:0})):(0,f.createCommentVNode)(``,!0)],64))),128))]),_:1})):(0,f.createCommentVNode)(``,!0)}}),jz=(0,f.defineComponent)({__name:`DashboardPageHeaderSidebarToggle`,setup(e){let{isSidebarOpen:t}=ES(),n=(0,g.useI18n)(),r=(0,p.createAction)({id:`toggle-main-sidebar`,name:()=>n.t(`action.global.toggle_main_sidebar.name`),execute:()=>{a()},group:(0,p.useActionGroup)().navigation,icon:()=>t.value?_r:tr,keyboardShortcut:{key:`B`,mod:!0},keywords:n.t(`action.global.toggle_main_sidebar.keywords`).split(` `)}),i=(0,f.computed)(()=>t.value?n.t(`component.dashboard_page_header_sidebar_toggle.collapse`):n.t(`component.dashboard_page_header_sidebar_toggle.expand`));function a(){t.value=!t.value}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(K,{label:i.value,"keyboard-shortcut":{key:`B`,mod:!0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(xc,{action:(0,f.unref)(r),"is-current-context-only":!1},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.Toggle),{"model-value":(0,f.unref)(t),"data-state":(0,f.unref)(t)?`open`:`closed`,"aria-label":i.value,class:`group/toggle -ml-xxs flex size-6 items-center justify-center rounded-sm duration-150 hover:bg-secondary-hover`},{default:(0,f.withCtx)(()=>[...n[0]||=[(0,f.createElementVNode)(`div`,{class:`flex h-3 w-3.5 justify-start rounded-[0.1875rem] border border-fg-tertiary p-[0.09375rem] duration-150 group-data-[state=open]/toggle:border-fg-tertiary dark:group-data-[state=open]/toggle:border-fg-secondary`},[(0,f.createElementVNode)(`div`,{class:`h-full w-0.5 rounded-[1px] bg-fg-tertiary duration-150 group-data-[state=open]/toggle:w-1 group-data-[state=open]/toggle:bg-fg-tertiary dark:group-data-[state=open]/toggle:bg-fg-secondary`})],-1)]]),_:1},8,[`model-value`,`data-state`,`aria-label`])]),_:1})]),_:1},8,[`action`])]),_:1},8,[`label`]))}}),Mz={type:`button`,class:`flex h-7 w-full max-w-60 items-center gap-sm rounded-md! bg-fg-primary/4 pr-sm pl-md duration-100 hover:bg-fg-primary/7 hover:brightness-98 dark:bg-primary/90 dark:hover:bg-primary/90 dark:hover:brightness-110 light:in-[.branded]:bg-fg-primary/10 light:in-[.branded]:hover:bg-fg-primary/14`},Nz={class:`flex-1 truncate text-left text-xxs text-placeholder light:in-[.branded]:text-secondary`},Pz=(0,f.defineComponent)({__name:`TopBarCommandMenuSearch`,setup(e){let t=(0,g.useI18n)(),n=JC();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(xc,{action:(0,f.unref)(n),"is-current-context-only":!0},{default:(0,f.withCtx)(({keyboardShortcut:e})=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,Mz,[(0,f.createVNode)((0,f.unref)(si),{class:`size-3.5 shrink-0 text-quaternary`}),(0,f.createElementVNode)(`span`,Nz,(0,f.toDisplayString)((0,f.unref)(t).t(`component.top_bar.search`)),1),e===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(sa,{key:0,"keyboard-shortcut":e,"is-key-hold-visualization-enabled":!0},null,8,[`keyboard-shortcut`]))])]),_:2},1024)]),_:1},8,[`action`]))}});function Fz(){let e=(0,y.useRouter)(),t=(0,f.ref)(e.options.history.state),n=(0,f.computed)(()=>t.value.back!==null),r=(0,f.computed)(()=>t.value.forward!==null);e.afterEach(()=>{t.value=e.options.history.state});function i(){n.value&&e.back()}function a(){r.value&&e.forward()}return{canGoBack:n,canGoForward:r,goBack:i,goForward:a}}var Iz=(0,f.defineComponent)({__name:`TopBarNavigationArrows`,setup(e){let t=(0,g.useI18n)(),{canGoBack:n,canGoForward:r,goBack:i,goForward:a}=Fz();return(e,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Mt),"is-disabled":!(0,f.unref)(n),label:(0,f.unref)(t).t(`component.top_bar.navigation.back`),"keyboard-shortcut":{key:`ArrowLeft`,mod:!0},variant:`tertiary`,size:`sm`,onClick:(0,f.unref)(i)},null,8,[`icon`,`is-disabled`,`label`,`onClick`]),(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(It),"is-disabled":!(0,f.unref)(r),label:(0,f.unref)(t).t(`component.top_bar.navigation.forward`),"keyboard-shortcut":{key:`ArrowRight`,mod:!0},variant:`tertiary`,size:`sm`,onClick:(0,f.unref)(a)},null,8,[`icon`,`is-disabled`,`label`,`onClick`])]),_:1}))}}),Lz={class:`grid shrink-0 grid-cols-[1fr_auto] items-center px-xl pb-md md:grid-cols-[1fr_auto_1fr]`},Rz={class:`flex min-w-0 items-center`},zz={class:`hidden items-center justify-center md:flex`},Bz={class:`flex h-full min-w-0 items-center justify-end`},Vz={class:`mr-auto hidden min-w-0 items-center md:flex`},Hz=(0,f.defineComponent)({__name:`TopBar`,setup(e){let{showNavigationArrowsInTopBar:t}=rm(),{title:n,breadcrumbs:r}=JD(),{hasDetailPane:i,isToggleHidden:a}=GD();return(e,o)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,Lz,[(0,f.createElementVNode)(`div`,Rz,[(0,f.createVNode)(jz,{class:`shrink-0`}),(0,f.unref)(r).length>0||(0,f.unref)(n)!==null?((0,f.openBlock)(),(0,f.createBlock)(Zs,{key:0,class:`ml-sm h-4 shrink-0`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0),(0,f.unref)(t)?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createVNode)(Iz,{class:`ml-sm shrink-0`}),(0,f.unref)(r).length>0||(0,f.unref)(n)!==null?((0,f.openBlock)(),(0,f.createBlock)(Zs,{key:0,class:`ml-sm h-4 shrink-0`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0)],64)):(0,f.createCommentVNode)(``,!0),(0,f.unref)(r).length>0?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:2},[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(n)??``,as:`h1`,class:`ml-lg min-w-0 flex-1 text-xs text-primary md:sr-only`},null,8,[`text`]),(0,f.createVNode)(Az,{breadcrumbs:(0,f.unref)(r),class:`ml-lg hidden min-w-0 flex-1 md:flex`},null,8,[`breadcrumbs`])],64)):(0,f.unref)(n)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:3,text:(0,f.unref)(n),as:`h1`,class:`ml-lg min-w-0 flex-1 text-xs text-primary`},null,8,[`text`]))]),(0,f.createElementVNode)(`div`,zz,[(0,f.createVNode)(Pz)]),(0,f.createElementVNode)(`div`,Bz,[(0,f.createElementVNode)(`div`,Vz,[(0,f.renderSlot)(e.$slots,`center-right`)]),(0,f.renderSlot)(e.$slots,`actions`),(0,f.unref)(i)&&!(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(AO,{key:0})):(0,f.createCommentVNode)(``,!0)])]))}}),Uz=(0,f.defineComponent)({__name:`MainContent`,setup(e){let{isFloatingSidebar:t,isSidebarOpen:n,collapsedVariant:r,sidebarWidth:i}=ES(),a=im();kz();let{isBrandedActive:o}=yC(),s=(0,f.computed)(()=>t.value?`0.5rem`:r.value===`minified`||n.value?i.value:`0.5rem`);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{paddingLeft:s.value},animate:{paddingLeft:s.value},transition:{duration:(0,f.unref)(a)?0:.3,type:`spring`,bounce:0},class:(0,f.normalizeClass)([(0,f.unref)(o)?null:`bg-secondary`,`flex size-full flex-col overflow-hidden p-md`])},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(o)?[`default`,`branded`]:null)},[(0,f.createVNode)(Hz,null,{"center-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`top-bar-center-right`)]),actions:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`top-bar-actions`)]),_:3})],2),(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`initial`,`animate`,`transition`,`class`]))}}),Wz={},Gz={width:`360`,height:`585`,viewBox:`0 0 360 585`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`pointer-events-none absolute bottom-0 left-0`};function Kz(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,Gz,[...t[0]||=[(0,f.createStaticVNode)(`<g opacity="0.4" filter="url(#filter0_f_5410_8853)"><path d="M-39 642L13.5 84L74.5 525L276 577.5L-39 642Z" class="fill-corner-highlight"></path></g><defs><filter id="filter0_f_5410_8853" x="-123" y="0" width="483" height="726" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="42" result="effect1_foregroundBlur_5410_8853"></feGaussianBlur></filter></defs>`,2)]])}var qz=ns(Wz,[[`render`,Kz]]),Jz=(0,f.defineComponent)({__name:`MainLayout`,props:{variant:{default:`default`}},setup(e){let t=e,n=(0,f.computed)(()=>t.variant===`branded`);return _C({isBrandedActive:n,variant:(0,f.computed)(()=>t.variant)}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([n.value?`
1016
+ `,t.class))},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}});function Oz(){let e=(0,f.shallowRef)(null),t=(0,f.computed)(()=>e.value!==null),n=(0,f.computed)(()=>e.value?.isOpen.value??!1);function r(){e.value?.toggle()}function i(t,n,r){let i={isOpen:t,isToggleHidden:r,toggle:n};return e.value=i,()=>{e.value===i&&(e.value=null)}}WD({hasDetailPane:t,isOpen:n,isToggleHidden:(0,f.computed)(()=>e.value?.isToggleHidden??!1),registerDetailPane:i,toggle:r})}var kz=(0,f.defineComponent)({__name:`DashboardPageHeaderBreadcrumbs`,props:{breadcrumbs:{}},setup(e){let t=e;return(e,n)=>t.breadcrumbs.length>0?((0,f.openBlock)(),(0,f.createBlock)(QE,{key:0},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.breadcrumbs,(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:`${e.label}-${n}`},[(0,f.createVNode)(XE,{icon:e.icon,to:e.to,label:e.label},null,8,[`icon`,`to`,`label`]),n<t.breadcrumbs.length-1?((0,f.openBlock)(),(0,f.createBlock)($E,{key:0})):(0,f.createCommentVNode)(``,!0)],64))),128))]),_:1})):(0,f.createCommentVNode)(``,!0)}}),Az=(0,f.defineComponent)({__name:`DashboardPageHeaderSidebarToggle`,setup(e){let{isSidebarOpen:t}=ES(),n=(0,g.useI18n)(),r=(0,p.createAction)({id:`toggle-main-sidebar`,name:()=>n.t(`action.global.toggle_main_sidebar.name`),execute:()=>{a()},group:(0,p.useActionGroup)().navigation,icon:()=>t.value?_r:tr,keyboardShortcut:{key:`B`,mod:!0},keywords:n.t(`action.global.toggle_main_sidebar.keywords`).split(` `)}),i=(0,f.computed)(()=>t.value?n.t(`component.dashboard_page_header_sidebar_toggle.collapse`):n.t(`component.dashboard_page_header_sidebar_toggle.expand`));function a(){t.value=!t.value}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(K,{label:i.value,"keyboard-shortcut":{key:`B`,mod:!0}},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(xc,{action:(0,f.unref)(r),"is-current-context-only":!1},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Mb),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.Toggle),{"model-value":(0,f.unref)(t),"data-state":(0,f.unref)(t)?`open`:`closed`,"aria-label":i.value,class:`group/toggle -ml-xxs flex size-6 items-center justify-center rounded-sm duration-150 hover:bg-secondary-hover`},{default:(0,f.withCtx)(()=>[...n[0]||=[(0,f.createElementVNode)(`div`,{class:`flex h-3 w-3.5 justify-start rounded-[0.1875rem] border border-fg-tertiary p-[0.09375rem] duration-150 group-data-[state=open]/toggle:border-fg-tertiary dark:group-data-[state=open]/toggle:border-fg-secondary`},[(0,f.createElementVNode)(`div`,{class:`h-full w-0.5 rounded-[1px] bg-fg-tertiary duration-150 group-data-[state=open]/toggle:w-1 group-data-[state=open]/toggle:bg-fg-tertiary dark:group-data-[state=open]/toggle:bg-fg-secondary`})],-1)]]),_:1},8,[`model-value`,`data-state`,`aria-label`])]),_:1})]),_:1},8,[`action`])]),_:1},8,[`label`]))}}),jz={type:`button`,class:`flex h-7 w-full max-w-60 items-center gap-sm rounded-md! bg-fg-primary/4 pr-sm pl-md duration-100 hover:bg-fg-primary/7 hover:brightness-98 dark:bg-primary/90 dark:hover:bg-primary/90 dark:hover:brightness-110 light:in-[.branded]:bg-fg-primary/10 light:in-[.branded]:hover:bg-fg-primary/14`},Mz={class:`flex-1 truncate text-left text-xxs text-placeholder light:in-[.branded]:text-secondary`},Nz=(0,f.defineComponent)({__name:`TopBarCommandMenuSearch`,setup(e){let t=(0,g.useI18n)(),n=JC();return(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(xc,{action:(0,f.unref)(n),"is-current-context-only":!0},{default:(0,f.withCtx)(({keyboardShortcut:e})=>[(0,f.createVNode)(Mb,null,{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,jz,[(0,f.createVNode)((0,f.unref)(si),{class:`size-3.5 shrink-0 text-quaternary`}),(0,f.createElementVNode)(`span`,Mz,(0,f.toDisplayString)((0,f.unref)(t).t(`component.top_bar.search`)),1),e===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(sa,{key:0,"keyboard-shortcut":e,"is-key-hold-visualization-enabled":!0},null,8,[`keyboard-shortcut`]))])]),_:2},1024)]),_:1},8,[`action`]))}});function Pz(){let e=(0,y.useRouter)(),t=(0,f.ref)(e.options.history.state),n=(0,f.computed)(()=>t.value.back!==null),r=(0,f.computed)(()=>t.value.forward!==null);e.afterEach(()=>{t.value=e.options.history.state});function i(){n.value&&e.back()}function a(){r.value&&e.forward()}return{canGoBack:n,canGoForward:r,goBack:i,goForward:a}}var Fz=(0,f.defineComponent)({__name:`TopBarNavigationArrows`,setup(e){let t=(0,g.useI18n)(),{canGoBack:n,canGoForward:r,goBack:i,goForward:a}=Pz();return(e,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{gap:`xxs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(Mt),"is-disabled":!(0,f.unref)(n),label:(0,f.unref)(t).t(`component.top_bar.navigation.back`),"keyboard-shortcut":{key:`ArrowLeft`,mod:!0},variant:`tertiary`,size:`sm`,onClick:(0,f.unref)(i)},null,8,[`icon`,`is-disabled`,`label`,`onClick`]),(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(It),"is-disabled":!(0,f.unref)(r),label:(0,f.unref)(t).t(`component.top_bar.navigation.forward`),"keyboard-shortcut":{key:`ArrowRight`,mod:!0},variant:`tertiary`,size:`sm`,onClick:(0,f.unref)(a)},null,8,[`icon`,`is-disabled`,`label`,`onClick`])]),_:1}))}}),Iz={class:`grid shrink-0 grid-cols-[1fr_auto] items-center px-xl pb-md md:grid-cols-[1fr_auto_1fr]`},Lz={class:`flex min-w-0 items-center`},Rz={class:`hidden items-center justify-center md:flex`},zz={class:`flex h-full min-w-0 items-center justify-end`},Bz={class:`mr-auto hidden min-w-0 items-center md:flex`},Vz=(0,f.defineComponent)({__name:`TopBar`,setup(e){let{showNavigationArrowsInTopBar:t}=rm(),{title:n,breadcrumbs:r}=JD(),{hasDetailPane:i,isToggleHidden:a}=GD();return(e,o)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,Iz,[(0,f.createElementVNode)(`div`,Lz,[(0,f.createVNode)(Az,{class:`shrink-0`}),(0,f.unref)(r).length>0||(0,f.unref)(n)!==null?((0,f.openBlock)(),(0,f.createBlock)(Zs,{key:0,class:`ml-sm h-4 shrink-0`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0),(0,f.unref)(t)?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createVNode)(Fz,{class:`ml-sm shrink-0`}),(0,f.unref)(r).length>0||(0,f.unref)(n)!==null?((0,f.openBlock)(),(0,f.createBlock)(Zs,{key:0,class:`ml-sm h-4 shrink-0`,orientation:`vertical`})):(0,f.createCommentVNode)(``,!0)],64)):(0,f.createCommentVNode)(``,!0),(0,f.unref)(r).length>0?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:2},[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(n)??``,as:`h1`,class:`ml-lg min-w-0 flex-1 text-xs text-primary md:sr-only`},null,8,[`text`]),(0,f.createVNode)(kz,{breadcrumbs:(0,f.unref)(r),class:`ml-lg hidden min-w-0 flex-1 md:flex`},null,8,[`breadcrumbs`])],64)):(0,f.unref)(n)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:3,text:(0,f.unref)(n),as:`h1`,class:`ml-lg min-w-0 flex-1 text-xs text-primary`},null,8,[`text`]))]),(0,f.createElementVNode)(`div`,Rz,[(0,f.createVNode)(Nz)]),(0,f.createElementVNode)(`div`,zz,[(0,f.createElementVNode)(`div`,Bz,[(0,f.renderSlot)(e.$slots,`center-right`)]),(0,f.renderSlot)(e.$slots,`actions`),(0,f.unref)(i)&&!(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(AO,{key:0})):(0,f.createCommentVNode)(``,!0)])]))}}),Hz=(0,f.defineComponent)({__name:`MainContent`,setup(e){let{isFloatingSidebar:t,isSidebarOpen:n,collapsedVariant:r,sidebarWidth:i}=ES(),a=im();Oz();let{isBrandedActive:o}=yC(),s=(0,f.computed)(()=>t.value?`0.5rem`:r.value===`minified`||n.value?i.value:`0.5rem`);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{initial:{paddingLeft:s.value},animate:{paddingLeft:s.value},transition:{duration:(0,f.unref)(a)?0:.3,type:`spring`,bounce:0},class:(0,f.normalizeClass)([(0,f.unref)(o)?null:`bg-secondary`,`flex size-full flex-col overflow-hidden p-md`])},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(o)?[`default`,`branded`]:null)},[(0,f.createVNode)(Vz,null,{"center-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`top-bar-center-right`)]),actions:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`top-bar-actions`)]),_:3})],2),(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`initial`,`animate`,`transition`,`class`]))}}),Uz={},Wz={width:`360`,height:`585`,viewBox:`0 0 360 585`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`pointer-events-none absolute bottom-0 left-0`};function Gz(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`svg`,Wz,[...t[0]||=[(0,f.createStaticVNode)(`<g opacity="0.4" filter="url(#filter0_f_5410_8853)"><path d="M-39 642L13.5 84L74.5 525L276 577.5L-39 642Z" class="fill-corner-highlight"></path></g><defs><filter id="filter0_f_5410_8853" x="-123" y="0" width="483" height="726" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="42" result="effect1_foregroundBlur_5410_8853"></feGaussianBlur></filter></defs>`,2)]])}var Kz=ns(Uz,[[`render`,Gz]]),qz=(0,f.defineComponent)({__name:`MainLayout`,props:{variant:{default:`default`}},setup(e){let t=e,n=(0,f.computed)(()=>t.variant===`branded`);return _C({isBrandedActive:n,variant:(0,f.computed)(()=>t.variant)}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([n.value?`
1017
1017
  dark:bg-primary
1018
1018
  light:bg-linear-to-tr light:from-brand-950 light:to-brand-800
1019
- `:null,`relative flex h-dvh w-full overflow-hidden`])},[(0,f.renderSlot)(e.$slots,`default`),(0,f.createVNode)(qz,{class:(0,f.normalizeClass)(n.value?`light:hidden`:null)},null,8,[`class`])],2))}}),[Yz,Xz]=z(`listItemContext`),Zz=(0,f.defineComponent)({__name:`ListItem`,props:(0,f.mergeDefaults)({as:{},itemKey:{}},KP),setup(e){let t=e,{isKeySelected:n,toggleKey:r}=TP(),i=(0,f.computed)(()=>n(t.itemKey));function a(e=!1){r(t.itemKey,e)}return Yz({isSelected:i,itemKey:(0,f.computed)(()=>t.itemKey),toggleSelected:a}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{as:t.as,"data-selected":i.value||void 0,"data-list-item-key":t.itemKey},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{isSelected:i.value,toggleSelected:a})]),_:3},8,[`as`,`data-selected`,`data-list-item-key`]))}}),Qz=(0,f.defineComponent)({__name:`ListItemCheckbox`,props:(0,f.mergeDefaults)({label:{}},qP),setup(e){let t=e,n=(0,g.useI18n)(),{isSelectable:r}=TP(),{isSelected:i,itemKey:a,toggleSelected:o}=Xz(),s=DP(null);function c(e){s?.onDragSelectionPointerDown(a.value,e)}let l=(0,f.shallowRef)(!1);function u(e){l.value=e.shiftKey}function d(){o(l.value)}return(e,a)=>(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(i),"is-label-hidden":!0,label:t.label??(0,f.unref)(n).t(`component.list.item_checkbox.label`),onClickCapture:u,onPointerdown:c,"onUpdate:modelValue":d},null,8,[`model-value`,`label`])):(0,f.createCommentVNode)(``,!0)}}),$z=(0,f.defineComponent)({__name:`ListScrollRestoredIndicator`,props:(0,f.mergeDefaults)({label:{}},ZP),setup(e){let t=e,{isScrollRestoredIndicatorVisible:n,scrollToTop:r,stickyHeaderHeightPx:i}=DP(),a=(0,g.useI18n)(),o=im();return(e,s)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({top:`${(0,f.unref)(i)}px`}),class:`pointer-events-none sticky left-0 z-30 flex h-0 w-full justify-center`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:-10,scale:.99},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.99},transition:{type:`spring`,bounce:0,duration:(0,f.unref)(o)?0:.2},as:`button`,type:`button`,class:`pointer-events-auto mt-md flex h-fit items-center gap-xs rounded-full border border-secondary bg-primary/75 py-xs pr-md pl-sm text-xs font-medium whitespace-nowrap text-secondary shadow-lg/5 outline-2 outline-offset-1 outline-transparent backdrop-blur-md duration-100 hover:bg-primary-hover focus-visible:outline-fg-brand-primary`,onClick:(0,f.unref)(r)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Wt),{class:`size-3.5 shrink-0 text-tertiary`}),(0,f.createTextVNode)(` `+(0,f.toDisplayString)(t.label??(0,f.unref)(a).t(`component.list.scroll_restored_indicator.back_to_top_label`)),1)]),_:1},8,[`transition`,`onClick`])):(0,f.createCommentVNode)(``,!0)]),_:1})],4))}}),eB=(0,f.defineComponent)({__name:`ListSelectAllCheckbox`,props:(0,f.mergeDefaults)({label:{}},JP),setup(e){let t=e,n=(0,g.useI18n)(),{isAllSelected:r,isIndeterminate:i,isSelectable:a,toggleAll:o}=TP();return(e,s)=>(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(r),"is-indeterminate":(0,f.unref)(i)&&!(0,f.unref)(r),"is-label-hidden":!0,label:t.label??(0,f.unref)(n).t(`component.list.select_all_checkbox.label`),"onUpdate:modelValue":(0,f.unref)(o)},null,8,[`model-value`,`is-indeterminate`,`label`,`onUpdate:modelValue`])):(0,f.createCommentVNode)(``,!0)}}),tB=W({slots:{input:`
1019
+ `:null,`relative flex h-dvh w-full overflow-hidden`])},[(0,f.renderSlot)(e.$slots,`default`),(0,f.createVNode)(Kz,{class:(0,f.normalizeClass)(n.value?`light:hidden`:null)},null,8,[`class`])],2))}}),[Jz,Yz]=z(`listItemContext`),Xz=(0,f.defineComponent)({__name:`ListItem`,props:(0,f.mergeDefaults)({as:{},itemKey:{}},KP),setup(e){let t=e,{isKeySelected:n,toggleKey:r}=TP(),i=(0,f.computed)(()=>n(t.itemKey));function a(e=!1){r(t.itemKey,e)}return Jz({isSelected:i,itemKey:(0,f.computed)(()=>t.itemKey),toggleSelected:a}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{as:t.as,"data-selected":i.value||void 0,"data-list-item-key":t.itemKey},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`,{isSelected:i.value,toggleSelected:a})]),_:3},8,[`as`,`data-selected`,`data-list-item-key`]))}}),Zz=(0,f.defineComponent)({__name:`ListItemCheckbox`,props:(0,f.mergeDefaults)({label:{}},qP),setup(e){let t=e,n=(0,g.useI18n)(),{isSelectable:r}=TP(),{isSelected:i,itemKey:a,toggleSelected:o}=Yz(),s=DP(null);function c(e){s?.onDragSelectionPointerDown(a.value,e)}let l=(0,f.shallowRef)(!1);function u(e){l.value=e.shiftKey}function d(){o(l.value)}return(e,a)=>(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(i),"is-label-hidden":!0,label:t.label??(0,f.unref)(n).t(`component.list.item_checkbox.label`),onClickCapture:u,onPointerdown:c,"onUpdate:modelValue":d},null,8,[`model-value`,`label`])):(0,f.createCommentVNode)(``,!0)}}),Qz=(0,f.defineComponent)({__name:`ListScrollRestoredIndicator`,props:(0,f.mergeDefaults)({label:{}},ZP),setup(e){let t=e,{isScrollRestoredIndicatorVisible:n,scrollToTop:r,stickyHeaderHeightPx:i}=DP(),a=(0,g.useI18n)(),o=im();return(e,s)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{style:(0,f.normalizeStyle)({top:`${(0,f.unref)(i)}px`}),class:`pointer-events-none sticky left-0 z-30 flex h-0 w-full justify-center`},[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,initial:{opacity:0,y:-10,scale:.99},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.99},transition:{type:`spring`,bounce:0,duration:(0,f.unref)(o)?0:.2},as:`button`,type:`button`,class:`pointer-events-auto mt-md flex h-fit items-center gap-xs rounded-full border border-secondary bg-primary/75 py-xs pr-md pl-sm text-xs font-medium whitespace-nowrap text-secondary shadow-lg/5 outline-2 outline-offset-1 outline-transparent backdrop-blur-md duration-100 hover:bg-primary-hover focus-visible:outline-fg-brand-primary`,onClick:(0,f.unref)(r)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Wt),{class:`size-3.5 shrink-0 text-tertiary`}),(0,f.createTextVNode)(` `+(0,f.toDisplayString)(t.label??(0,f.unref)(a).t(`component.list.scroll_restored_indicator.back_to_top_label`)),1)]),_:1},8,[`transition`,`onClick`])):(0,f.createCommentVNode)(``,!0)]),_:1})],4))}}),$z=(0,f.defineComponent)({__name:`ListSelectAllCheckbox`,props:(0,f.mergeDefaults)({label:{}},JP),setup(e){let t=e,n=(0,g.useI18n)(),{isAllSelected:r,isIndeterminate:i,isSelectable:a,toggleAll:o}=TP();return(e,s)=>(0,f.unref)(a)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(r),"is-indeterminate":(0,f.unref)(i)&&!(0,f.unref)(r),"is-label-hidden":!0,label:t.label??(0,f.unref)(n).t(`component.list.select_all_checkbox.label`),"onUpdate:modelValue":(0,f.unref)(o)},null,8,[`model-value`,`is-indeterminate`,`label`,`onUpdate:modelValue`])):(0,f.createCommentVNode)(``,!0)}}),eB=W({slots:{input:`
1020
1020
  size-full truncate bg-transparent px-md text-xs text-primary outline-none
1021
1021
  placeholder:text-placeholder
1022
1022
  read-only:cursor-default
1023
1023
  disabled:cursor-not-allowed disabled:text-disabled
1024
1024
  disabled:placeholder:text-fg-disabled-subtle
1025
- `,leftControl:`pl-xs`,rightControl:`pr-xs`},variants:{hasControls:{true:{input:`text-center`}}}}),nB=(0,f.defineComponent)({inheritAttrs:!1,__name:`NumberField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({hasControls:{type:Boolean},formatOptions:{},max:{},min:{},showControls:{type:Boolean},step:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...xb,...Sb,hasControls:!1,formatOptions:null,max:null,min:null,step:1}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=/[\s.,`]/g,a=/[\s.,`](?=\d+$)/,o=/[.,]/g,s=/\D/g,c=new Set([`currency`,`literal`,`percentSign`,`unit`]),l=(0,f.useModel)(e,`modelValue`),u=(0,f.computed)(()=>n.hasControls||n.showControls===!0),d=(0,f.computed)(()=>tB({hasControls:u.value})),p=(0,f.ref)(l.value),m=(0,f.ref)(!1);(0,f.watch)(()=>l.value,e=>{m.value||(p.value=e)});let _=(0,f.useAttrs)(),v=(0,g.useI18n)(),y=n.id??(0,f.useId)(),{isError:b,ariaBusy:x,ariaDescribedBy:S,ariaInvalid:C}=_b(y,n),w=rm(),T=(0,f.computed)(()=>A(w.numberFormat.value));function E(e,t){let n=new Intl.NumberFormat(t).format(12345.6),r=n.match(i)?.[0],o=n.match(a)?.[0],s=e;return r&&(s=s.replaceAll(r,``)),o&&(s=s.replace(o,`.`)),Number(s)}function D(e,t,n){if(!n||n.style===`decimal`||!n.style)return e;let r=new Intl.NumberFormat(t,n).formatToParts(12345.6),i=e;for(let e of r)c.has(e.type)&&e.value.trim()!==``&&(i=i.replaceAll(e.value,``));return i.trim()}function O(e){m.value=!0;let t=e.target.value;if(t===``){l.value=null;return}let r=D(t,T.value,n.formatOptions);if(r===``)return;let i=k(r);Number.isNaN(i)||(n.formatOptions?.style===`percent`&&(i/=100),l.value=i)}function ee(){p.value=l.value,m.value=!1}function k(e){o.lastIndex=0;let t=[...e.matchAll(o)];if(t.length===0)return Number(e);let n=t.map(e=>e[0]),r=[...new Set(n)];if(r.length===2){let t=n.at(-1),i=r.find(e=>e!==t);return Number(e.replaceAll(i,``).replace(t,`.`))}let i=r[0];if(t.length>1)return Number(e.replaceAll(i,``));if(e.startsWith(`0${i}`))return Number(e.replace(i,`.`));let a=e.slice(e.lastIndexOf(i)+1).replace(s,``);return a.length<=2?Number(e.replace(i,`.`)):a.length>=4?Number(e.replaceAll(i,``)):E(e,T.value)}function j(e){p.value=l.value,m.value=!1,r(`blur`,e)}return(0,f.watch)(p,()=>{l.value=p.value??null}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(y),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldRoot),(0,f.mergeProps)((0,f.unref)(_),{id:(0,f.unref)(y),modelValue:p.value,"onUpdate:modelValue":t[1]||=e=>p.value=e,readonly:n.isReadonly,required:n.isRequired,"disable-wheel-change":!0,disabled:n.isDisabled||n.isReadonly,"format-options":n.formatOptions??void 0,step:n.step,"step-snapping":!0,"as-child":!1,locale:T.value,name:n.name??void 0,max:n.max??void 0,min:n.min??void 0}),{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,f.unref)(b),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly},{left:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`,{},()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)(d.value.leftControl()),align:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldDecrement),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.min===p.value,icon:(0,f.unref)(Vr),label:(0,f.unref)(v).t(`component.number_field.decrement`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)])]),right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`,{},()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)(d.value.rightControl()),align:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldIncrement),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.max===p.value,icon:(0,f.unref)($r),label:(0,f.unref)(v).t(`component.number_field.increment`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)])]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldInput),{"aria-describedby":(0,f.unref)(S),"aria-required":n.isRequired,autocomplete:n.autocomplete??void 0,"aria-busy":(0,f.unref)(x),"aria-invalid":(0,f.unref)(C),placeholder:n.placeholder??void 0,class:(0,f.normalizeClass)(d.value.input()),"data-field-wrapper":``,onInput:O,onKeydown:(0,f.withKeys)(ee,[`enter`]),onFocus:t[0]||=(0,f.withModifiers)(()=>{},[`prevent`]),onBlur:j},null,8,[`aria-describedby`,`aria-required`,`autocomplete`,`aria-busy`,`aria-invalid`,`placeholder`,`class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`])]),_:3},16,[`id`,`modelValue`,`readonly`,`required`,`disabled`,`format-options`,`step`,`locale`,`name`,`max`,`min`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),rB={AC:`40123`,AD:`312345`,AE:`501234567`,AF:`701234567`,AG:`2684641234`,AI:`2642351234`,AL:`672123456`,AM:`77123456`,AO:`923123456`,AR:`91123456789`,AS:`6847331234`,AT:`664123456`,AU:`412345678`,AW:`5601234`,AX:`412345678`,AZ:`401234567`,BA:`61123456`,BB:`2462501234`,BD:`1812345678`,BE:`450001234`,BF:`70123456`,BG:`43012345`,BH:`36001234`,BI:`79561234`,BJ:`0195123456`,BL:`690001234`,BM:`4413701234`,BN:`7123456`,BO:`71234567`,BQ:`3181234`,BR:`11961234567`,BS:`2423591234`,BT:`17123456`,BW:`71123456`,BY:`294911911`,BZ:`6221234`,CA:`5062345678`,CC:`412345678`,CD:`991234567`,CF:`70012345`,CG:`061234567`,CH:`781234567`,CI:`0123456789`,CK:`71234`,CL:`221234567`,CM:`671234567`,CN:`13123456789`,CO:`3211234567`,CR:`83123456`,CU:`51234567`,CV:`9911234`,CW:`95181234`,CX:`412345678`,CY:`96123456`,CZ:`601123456`,DE:`15123456789`,DJ:`77831001`,DK:`34412345`,DM:`7672251234`,DO:`8092345678`,DZ:`551234567`,EC:`991234567`,EE:`51234567`,EG:`1001234567`,EH:`650123456`,ER:`7123456`,ES:`612345678`,ET:`911234567`,FI:`412345678`,FJ:`7012345`,FK:`51234`,FM:`3501234`,FO:`211234`,FR:`612345678`,GA:`06031234`,GB:`7400123456`,GD:`4734031234`,GE:`555123456`,GF:`694201234`,GG:`7781123456`,GH:`231234567`,GI:`57123456`,GL:`221234`,GM:`3012345`,GN:`601123456`,GP:`690001234`,GQ:`222123456`,GR:`6912345678`,GT:`51234567`,GU:`6713001234`,GW:`955012345`,GY:`6091234`,HK:`51234567`,HN:`91234567`,HR:`921234567`,HT:`34101234`,HU:`201234567`,ID:`812345678`,IE:`850123456`,IL:`502345678`,IM:`7924123456`,IN:`8123456789`,IO:`3801234`,IQ:`7912345678`,IR:`9123456789`,IS:`6111234`,IT:`3123456789`,JE:`7797712345`,JM:`8762101234`,JO:`790123456`,JP:`9012345678`,KE:`712123456`,KG:`700123456`,KH:`91234567`,KI:`72001234`,KM:`3212345`,KN:`8697652917`,KP:`1921234567`,KR:`1020000000`,KW:`50012345`,KY:`3453231234`,KZ:`7710009998`,LA:`2023123456`,LB:`71123456`,LC:`7582845678`,LI:`660234567`,LK:`712345678`,LR:`770123456`,LS:`50123456`,LT:`61234567`,LU:`628123456`,LV:`21234567`,LY:`912345678`,MA:`650123456`,MC:`612345678`,MD:`62112345`,ME:`60123456`,MF:`690001234`,MG:`321234567`,MH:`2351234`,MK:`72345678`,ML:`65012345`,MM:`92123456`,MN:`88123456`,MO:`66123456`,MP:`6702345678`,MQ:`696201234`,MR:`22123456`,MS:`6644923456`,MT:`96961234`,MU:`52512345`,MV:`7712345`,MW:`991234567`,MX:`2221234567`,MY:`123456789`,MZ:`821234567`,NA:`811234567`,NC:`751234`,NE:`93123456`,NF:`381234`,NG:`8021234567`,NI:`81234567`,NL:`612345678`,NO:`40612345`,NP:`9841234567`,NR:`5551234`,NU:`8884012`,NZ:`211234567`,OM:`92123456`,PA:`61234567`,PE:`912345678`,PF:`87123456`,PG:`70123456`,PH:`9051234567`,PK:`3012345678`,PL:`512345678`,PM:`551234`,PR:`7872345678`,PS:`599123456`,PT:`912345678`,PW:`6201234`,PY:`961456789`,QA:`33123456`,RE:`692123456`,RO:`712034567`,RS:`601234567`,RU:`9123456789`,RW:`720123456`,SA:`512345678`,SB:`7421234`,SC:`2510123`,SD:`911231234`,SE:`701234567`,SG:`81234567`,SH:`51234`,SI:`31234567`,SJ:`41234567`,SK:`912123456`,SL:`25123456`,SM:`66661212`,SN:`701234567`,SO:`71123456`,SR:`7412345`,SS:`977123456`,ST:`9812345`,SV:`70123456`,SX:`7215205678`,SY:`944567890`,SZ:`76123456`,TA:`8999`,TC:`6492311234`,TD:`63012345`,TG:`90112345`,TH:`812345678`,TJ:`917123456`,TK:`7290`,TL:`77212345`,TM:`66123456`,TN:`20123456`,TO:`7715123`,TR:`5012345678`,TT:`8682911234`,TV:`901234`,TW:`912345678`,TZ:`621234567`,UA:`501234567`,UG:`712345678`,US:`2015550123`,UY:`94231234`,UZ:`912345678`,VA:`3123456789`,VC:`7844301234`,VE:`4121234567`,VG:`2843001234`,VI:`3406421234`,VN:`912345678`,VU:`5912345`,WF:`821234`,WS:`7212345`,XK:`43201234`,YE:`712345678`,YT:`639012345`,ZA:`711234567`,ZM:`955123456`,ZW:`712345678`},iB=W({slots:{countryFlag:`
1025
+ `,leftControl:`pl-xs`,rightControl:`pr-xs`},variants:{hasControls:{true:{input:`text-center`}}}}),tB=(0,f.defineComponent)({inheritAttrs:!1,__name:`NumberField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({hasControls:{type:Boolean},formatOptions:{},max:{},min:{},showControls:{type:Boolean},step:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...xb,...Sb,hasControls:!1,formatOptions:null,max:null,min:null,step:1}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=/[\s.,`]/g,a=/[\s.,`](?=\d+$)/,o=/[.,]/g,s=/\D/g,c=new Set([`currency`,`literal`,`percentSign`,`unit`]),l=(0,f.useModel)(e,`modelValue`),u=(0,f.computed)(()=>n.hasControls||n.showControls===!0),d=(0,f.computed)(()=>eB({hasControls:u.value})),p=(0,f.ref)(l.value),m=(0,f.ref)(!1);(0,f.watch)(()=>l.value,e=>{m.value||(p.value=e)});let _=(0,f.useAttrs)(),v=(0,g.useI18n)(),y=n.id??(0,f.useId)(),{isError:b,ariaBusy:x,ariaDescribedBy:S,ariaInvalid:C}=_b(y,n),w=rm(),T=(0,f.computed)(()=>A(w.numberFormat.value));function E(e,t){let n=new Intl.NumberFormat(t).format(12345.6),r=n.match(i)?.[0],o=n.match(a)?.[0],s=e;return r&&(s=s.replaceAll(r,``)),o&&(s=s.replace(o,`.`)),Number(s)}function D(e,t,n){if(!n||n.style===`decimal`||!n.style)return e;let r=new Intl.NumberFormat(t,n).formatToParts(12345.6),i=e;for(let e of r)c.has(e.type)&&e.value.trim()!==``&&(i=i.replaceAll(e.value,``));return i.trim()}function O(e){m.value=!0;let t=e.target.value;if(t===``){l.value=null;return}let r=D(t,T.value,n.formatOptions);if(r===``)return;let i=k(r);Number.isNaN(i)||(n.formatOptions?.style===`percent`&&(i/=100),l.value=i)}function ee(){p.value=l.value,m.value=!1}function k(e){o.lastIndex=0;let t=[...e.matchAll(o)];if(t.length===0)return Number(e);let n=t.map(e=>e[0]),r=[...new Set(n)];if(r.length===2){let t=n.at(-1),i=r.find(e=>e!==t);return Number(e.replaceAll(i,``).replace(t,`.`))}let i=r[0];if(t.length>1)return Number(e.replaceAll(i,``));if(e.startsWith(`0${i}`))return Number(e.replace(i,`.`));let a=e.slice(e.lastIndexOf(i)+1).replace(s,``);return a.length<=2?Number(e.replace(i,`.`)):a.length>=4?Number(e.replaceAll(i,``)):E(e,T.value)}function j(e){p.value=l.value,m.value=!1,r(`blur`,e)}return(0,f.watch)(p,()=>{l.value=p.value??null}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(y),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldRoot),(0,f.mergeProps)((0,f.unref)(_),{id:(0,f.unref)(y),modelValue:p.value,"onUpdate:modelValue":t[1]||=e=>p.value=e,readonly:n.isReadonly,required:n.isRequired,"disable-wheel-change":!0,disabled:n.isDisabled||n.isReadonly,"format-options":n.formatOptions??void 0,step:n.step,"step-snapping":!0,"as-child":!1,locale:T.value,name:n.name??void 0,max:n.max??void 0,min:n.min??void 0}),{default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,f.unref)(b),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly},{left:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`,{},()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)(d.value.leftControl()),align:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldDecrement),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.min===p.value,icon:(0,f.unref)(Vr),label:(0,f.unref)(v).t(`component.number_field.decrement`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)])]),right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`,{},()=>[u.value?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)(d.value.rightControl()),align:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldIncrement),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(Y,{"is-tooltip-disabled":!0,"is-disabled":n.isDisabled||n.isReadonly||n.max===p.value,icon:(0,f.unref)($r),label:(0,f.unref)(v).t(`component.number_field.increment`),variant:`tertiary`,size:`xs`},null,8,[`is-disabled`,`icon`,`label`])]),_:1})]),_:1},8,[`class`])):(0,f.createCommentVNode)(``,!0)])]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.NumberFieldInput),{"aria-describedby":(0,f.unref)(S),"aria-required":n.isRequired,autocomplete:n.autocomplete??void 0,"aria-busy":(0,f.unref)(x),"aria-invalid":(0,f.unref)(C),placeholder:n.placeholder??void 0,class:(0,f.normalizeClass)(d.value.input()),"data-field-wrapper":``,onInput:O,onKeydown:(0,f.withKeys)(ee,[`enter`]),onFocus:t[0]||=(0,f.withModifiers)(()=>{},[`prevent`]),onBlur:j},null,8,[`aria-describedby`,`aria-required`,`autocomplete`,`aria-busy`,`aria-invalid`,`placeholder`,`class`])]),_:3},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`])]),_:3},16,[`id`,`modelValue`,`readonly`,`required`,`disabled`,`format-options`,`step`,`locale`,`name`,`max`,`min`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),nB={AC:`40123`,AD:`312345`,AE:`501234567`,AF:`701234567`,AG:`2684641234`,AI:`2642351234`,AL:`672123456`,AM:`77123456`,AO:`923123456`,AR:`91123456789`,AS:`6847331234`,AT:`664123456`,AU:`412345678`,AW:`5601234`,AX:`412345678`,AZ:`401234567`,BA:`61123456`,BB:`2462501234`,BD:`1812345678`,BE:`450001234`,BF:`70123456`,BG:`43012345`,BH:`36001234`,BI:`79561234`,BJ:`0195123456`,BL:`690001234`,BM:`4413701234`,BN:`7123456`,BO:`71234567`,BQ:`3181234`,BR:`11961234567`,BS:`2423591234`,BT:`17123456`,BW:`71123456`,BY:`294911911`,BZ:`6221234`,CA:`5062345678`,CC:`412345678`,CD:`991234567`,CF:`70012345`,CG:`061234567`,CH:`781234567`,CI:`0123456789`,CK:`71234`,CL:`221234567`,CM:`671234567`,CN:`13123456789`,CO:`3211234567`,CR:`83123456`,CU:`51234567`,CV:`9911234`,CW:`95181234`,CX:`412345678`,CY:`96123456`,CZ:`601123456`,DE:`15123456789`,DJ:`77831001`,DK:`34412345`,DM:`7672251234`,DO:`8092345678`,DZ:`551234567`,EC:`991234567`,EE:`51234567`,EG:`1001234567`,EH:`650123456`,ER:`7123456`,ES:`612345678`,ET:`911234567`,FI:`412345678`,FJ:`7012345`,FK:`51234`,FM:`3501234`,FO:`211234`,FR:`612345678`,GA:`06031234`,GB:`7400123456`,GD:`4734031234`,GE:`555123456`,GF:`694201234`,GG:`7781123456`,GH:`231234567`,GI:`57123456`,GL:`221234`,GM:`3012345`,GN:`601123456`,GP:`690001234`,GQ:`222123456`,GR:`6912345678`,GT:`51234567`,GU:`6713001234`,GW:`955012345`,GY:`6091234`,HK:`51234567`,HN:`91234567`,HR:`921234567`,HT:`34101234`,HU:`201234567`,ID:`812345678`,IE:`850123456`,IL:`502345678`,IM:`7924123456`,IN:`8123456789`,IO:`3801234`,IQ:`7912345678`,IR:`9123456789`,IS:`6111234`,IT:`3123456789`,JE:`7797712345`,JM:`8762101234`,JO:`790123456`,JP:`9012345678`,KE:`712123456`,KG:`700123456`,KH:`91234567`,KI:`72001234`,KM:`3212345`,KN:`8697652917`,KP:`1921234567`,KR:`1020000000`,KW:`50012345`,KY:`3453231234`,KZ:`7710009998`,LA:`2023123456`,LB:`71123456`,LC:`7582845678`,LI:`660234567`,LK:`712345678`,LR:`770123456`,LS:`50123456`,LT:`61234567`,LU:`628123456`,LV:`21234567`,LY:`912345678`,MA:`650123456`,MC:`612345678`,MD:`62112345`,ME:`60123456`,MF:`690001234`,MG:`321234567`,MH:`2351234`,MK:`72345678`,ML:`65012345`,MM:`92123456`,MN:`88123456`,MO:`66123456`,MP:`6702345678`,MQ:`696201234`,MR:`22123456`,MS:`6644923456`,MT:`96961234`,MU:`52512345`,MV:`7712345`,MW:`991234567`,MX:`2221234567`,MY:`123456789`,MZ:`821234567`,NA:`811234567`,NC:`751234`,NE:`93123456`,NF:`381234`,NG:`8021234567`,NI:`81234567`,NL:`612345678`,NO:`40612345`,NP:`9841234567`,NR:`5551234`,NU:`8884012`,NZ:`211234567`,OM:`92123456`,PA:`61234567`,PE:`912345678`,PF:`87123456`,PG:`70123456`,PH:`9051234567`,PK:`3012345678`,PL:`512345678`,PM:`551234`,PR:`7872345678`,PS:`599123456`,PT:`912345678`,PW:`6201234`,PY:`961456789`,QA:`33123456`,RE:`692123456`,RO:`712034567`,RS:`601234567`,RU:`9123456789`,RW:`720123456`,SA:`512345678`,SB:`7421234`,SC:`2510123`,SD:`911231234`,SE:`701234567`,SG:`81234567`,SH:`51234`,SI:`31234567`,SJ:`41234567`,SK:`912123456`,SL:`25123456`,SM:`66661212`,SN:`701234567`,SO:`71123456`,SR:`7412345`,SS:`977123456`,ST:`9812345`,SV:`70123456`,SX:`7215205678`,SY:`944567890`,SZ:`76123456`,TA:`8999`,TC:`6492311234`,TD:`63012345`,TG:`90112345`,TH:`812345678`,TJ:`917123456`,TK:`7290`,TL:`77212345`,TM:`66123456`,TN:`20123456`,TO:`7715123`,TR:`5012345678`,TT:`8682911234`,TV:`901234`,TW:`912345678`,TZ:`621234567`,UA:`501234567`,UG:`712345678`,US:`2015550123`,UY:`94231234`,UZ:`912345678`,VA:`3123456789`,VC:`7844301234`,VE:`4121234567`,VG:`2843001234`,VI:`3406421234`,VN:`912345678`,VU:`5912345`,WF:`821234`,WS:`7212345`,XK:`43201234`,YE:`712345678`,YT:`639012345`,ZA:`711234567`,ZM:`955123456`,ZW:`712345678`},rB=W({slots:{countryFlag:`
1026
1026
  block h-3.5 w-5 shrink-0 overflow-hidden rounded-xxs
1027
1027
  [&>svg]:size-full [&>svg]:object-cover
1028
1028
  `,countryTrigger:`
@@ -1037,7 +1037,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1037
1037
  read-only:cursor-default
1038
1038
  disabled:cursor-not-allowed disabled:text-disabled
1039
1039
  disabled:placeholder:text-fg-disabled-subtle
1040
- `},variants:{size:{md:{countryTrigger:`ml-xxs h-6.5`,input:`px-md`},sm:{countryTrigger:`ml-xxs h-5.5`,input:`px-sm`}}}}),aB=[`disabled`,`aria-expanded`,`aria-label`],oB=[`src`],sB=[`id`,`value`,`disabled`,`readonly`,`aria-describedby`,`aria-busy`,`aria-invalid`,`aria-required`,`placeholder`,`name`],cB=(0,f.defineComponent)({inheritAttrs:!1,__name:`PhoneNumberField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({defaultCountryCode:{},preferredCountryCodes:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`placeholder`),...Sb,defaultCountryCode:`BE`,preferredCountryCodes:()=>[],size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=/\d/g,i=(0,f.useModel)(e,`modelValue`),a=rm(),o=(0,f.useAttrs)(),s=n.id??(0,f.useId)(),c=(0,f.useTemplateRef)(`input`),l=(0,f.useTemplateRef)(`fieldWrapper`),u=(0,f.computed)(()=>l.value?.$el??null),{isError:d,ariaBusy:p,ariaDescribedBy:m,ariaInvalid:g,ariaRequired:_}=_b(s,n),{contains:v}=(0,h.useFilter)(),y=(0,f.computed)(()=>iB({size:n.size})),b=(0,f.computed)(()=>a?.locale.value??navigator.language),x=(0,f.ref)(j()),S=(0,f.ref)(``),C=(0,f.computed)(()=>Gv(x.value)),w=(0,f.computed)(()=>`+${$p(x.value)}`),T=(0,f.computed)(()=>Kv(x.value,b.value)??x.value),E=(0,f.computed)(()=>new Zp(x.value));function D(e){let t=$p(x.value).toString();return tm(e,x.value).replace(`+${t}`,``).trim()}let O=(0,f.computed)(()=>{let e=em(x.value,rB);return e===void 0?`000 00 00 00`:D(e.number).replace(r,`0`)}),ee=(0,f.computed)({get:()=>i.value===null?null:D(i.value),set:e=>{if(e===null||e===``){i.value=null;return}if(Xp(e,x.value)===`TOO_LONG`){let e=structuredClone(i.value);i.value=``,(0,f.nextTick)(()=>{i.value=e});return}let t=`+${$p(x.value)} ${e}`;if(E.value.reset(),E.value.input(t),E.value.isValid()){i.value=E.value.getNumber()?.formatInternational()??t;return}i.value=t}});function k(e){return{type:`option`,value:e}}let A=(0,f.computed)(()=>{let e=n.preferredCountryCodes??[],t=S.value.trim(),r=Qp(),i=t?r.filter(e=>te(e,t)):r,a={type:`separator`};if(e.length===0||t)return i.map(k);let o=e.filter(e=>i.includes(e)),s=i.filter(t=>!e.includes(t)),c=o.length>0&&s.length>0;return[...o.map(k),...c?[a]:[],...s.map(k)]});function j(){if(i.value===null)return n.defaultCountryCode??`BE`;let e=Yp(i.value)??null;return e===null||e.country===void 0?n.defaultCountryCode??`BE`:e.country}function te(e,t){let n=Kv(e,b.value)??``,r=t.toLowerCase();return v($p(e).toLowerCase(),r.toLowerCase())||v(e.toLowerCase(),r.toLowerCase())||v(n.toLowerCase(),r.toLowerCase())}function M(e){let t=Gv(e);return{description:{layout:`inline`,value:`+${$p(e)}`},left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function ne(e){if(i.value===null){x.value=e;return}i.value=tm(i.value.replace(`+${$p(x.value)}`,`+${$p(e)}`),e),x.value=e}function re(e){S.value=e}function ie(e){ee.value=e.target.value||null}return t({input:c}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(s),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{ref:`fieldWrapper`,"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,f.unref)(d),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(gx),{"model-value":x.value,items:A.value,"display-fn":e=>(0,f.unref)(Kv)(e,b.value)??e,"get-item-config":M,"is-disabled":n.isDisabled,"popover-anchor-reference-element":u.value,"has-virtual-scroll":!0,search:`remote`,"popover-align":`start`,"popover-width":`anchor-width`,"onUpdate:modelValue":ne,"onUpdate:search":re},{trigger:(0,f.withCtx)(({isOpen:e})=>[(0,f.createElementVNode)(`button`,{class:(0,f.normalizeClass)(y.value.countryTrigger({size:n.size})),disabled:n.isDisabled,"aria-expanded":e,"aria-label":T.value,type:`button`},[C.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:0,src:C.value,class:(0,f.normalizeClass)(y.value.countryFlag()),alt:``},null,10,oB)),(0,f.createVNode)((0,f.unref)(dn),{class:`size-3 shrink-0 text-tertiary`})],10,aB)]),_:1},8,[`model-value`,`items`,`display-fn`,`is-disabled`,`popover-anchor-reference-element`]),(0,f.createElementVNode)(`span`,{class:(0,f.normalizeClass)(y.value.dialCode())},(0,f.toDisplayString)(w.value),3)]),default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`input`,(0,f.mergeProps)((0,f.unref)(o),{id:(0,f.unref)(s),ref:`input`,value:ee.value,disabled:n.isDisabled,readonly:n.isReadonly,"aria-describedby":(0,f.unref)(m),"aria-busy":(0,f.unref)(p),"aria-invalid":(0,f.unref)(g),"aria-required":(0,f.unref)(_),placeholder:O.value,name:n.name??void 0,class:y.value.input({size:n.size}),type:`tel`,autocomplete:`tel`,"data-field-wrapper":``,onInput:ie}),null,16,sB)]),_:1},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),lB={id:null,isLabelHidden:!1,description:null},[uB,dB]=z(`radioGroupItemContext`),fB=W({slots:{cardRoot:`
1040
+ `},variants:{size:{md:{countryTrigger:`ml-xxs h-6.5`,input:`px-md`},sm:{countryTrigger:`ml-xxs h-5.5`,input:`px-sm`}}}}),iB=[`disabled`,`aria-expanded`,`aria-label`],aB=[`src`],oB=[`id`,`value`,`disabled`,`readonly`,`aria-describedby`,`aria-busy`,`aria-invalid`,`aria-required`,`placeholder`,`name`],sB=(0,f.defineComponent)({inheritAttrs:!1,__name:`PhoneNumberField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({defaultCountryCode:{},preferredCountryCodes:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`placeholder`),...Sb,defaultCountryCode:`BE`,preferredCountryCodes:()=>[],size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e,{expose:t}){let n=e,r=/\d/g,i=(0,f.useModel)(e,`modelValue`),a=rm(),o=(0,f.useAttrs)(),s=n.id??(0,f.useId)(),c=(0,f.useTemplateRef)(`input`),l=(0,f.useTemplateRef)(`fieldWrapper`),u=(0,f.computed)(()=>l.value?.$el??null),{isError:d,ariaBusy:p,ariaDescribedBy:m,ariaInvalid:g,ariaRequired:_}=_b(s,n),{contains:v}=(0,h.useFilter)(),y=(0,f.computed)(()=>rB({size:n.size})),b=(0,f.computed)(()=>a?.locale.value??navigator.language),x=(0,f.ref)(j()),S=(0,f.ref)(``),C=(0,f.computed)(()=>Gv(x.value)),w=(0,f.computed)(()=>`+${$p(x.value)}`),T=(0,f.computed)(()=>Kv(x.value,b.value)??x.value),E=(0,f.computed)(()=>new Zp(x.value));function D(e){let t=$p(x.value).toString();return tm(e,x.value).replace(`+${t}`,``).trim()}let O=(0,f.computed)(()=>{let e=em(x.value,nB);return e===void 0?`000 00 00 00`:D(e.number).replace(r,`0`)}),ee=(0,f.computed)({get:()=>i.value===null?null:D(i.value),set:e=>{if(e===null||e===``){i.value=null;return}if(Xp(e,x.value)===`TOO_LONG`){let e=structuredClone(i.value);i.value=``,(0,f.nextTick)(()=>{i.value=e});return}let t=`+${$p(x.value)} ${e}`;if(E.value.reset(),E.value.input(t),E.value.isValid()){i.value=E.value.getNumber()?.formatInternational()??t;return}i.value=t}});function k(e){return{type:`option`,value:e}}let A=(0,f.computed)(()=>{let e=n.preferredCountryCodes??[],t=S.value.trim(),r=Qp(),i=t?r.filter(e=>te(e,t)):r,a={type:`separator`};if(e.length===0||t)return i.map(k);let o=e.filter(e=>i.includes(e)),s=i.filter(t=>!e.includes(t)),c=o.length>0&&s.length>0;return[...o.map(k),...c?[a]:[],...s.map(k)]});function j(){if(i.value===null)return n.defaultCountryCode??`BE`;let e=Yp(i.value)??null;return e===null||e.country===void 0?n.defaultCountryCode??`BE`:e.country}function te(e,t){let n=Kv(e,b.value)??``,r=t.toLowerCase();return v($p(e).toLowerCase(),r.toLowerCase())||v(e.toLowerCase(),r.toLowerCase())||v(n.toLowerCase(),r.toLowerCase())}function M(e){let t=Gv(e);return{description:{layout:`inline`,value:`+${$p(e)}`},left:t===null?null:{aspect:`rectangle`,src:t,type:`image`}}}function ne(e){if(i.value===null){x.value=e;return}i.value=tm(i.value.replace(`+${$p(x.value)}`,`+${$p(e)}`),e),x.value=e}function re(e){S.value=e}function ie(e){ee.value=e.target.value||null}return t({input:c}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(s),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{ref:`fieldWrapper`,"icon-left":n.iconLeft,"icon-right":n.iconRight,"is-loading":n.isLoading,"is-error":(0,f.unref)(d),"is-disabled":n.isDisabled,"is-readonly":n.isReadonly,size:n.size},{left:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(gx),{"model-value":x.value,items:A.value,"display-fn":e=>(0,f.unref)(Kv)(e,b.value)??e,"get-item-config":M,"is-disabled":n.isDisabled,"popover-anchor-reference-element":u.value,"has-virtual-scroll":!0,search:`remote`,"popover-align":`start`,"popover-width":`anchor-width`,"onUpdate:modelValue":ne,"onUpdate:search":re},{trigger:(0,f.withCtx)(({isOpen:e})=>[(0,f.createElementVNode)(`button`,{class:(0,f.normalizeClass)(y.value.countryTrigger({size:n.size})),disabled:n.isDisabled,"aria-expanded":e,"aria-label":T.value,type:`button`},[C.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`img`,{key:0,src:C.value,class:(0,f.normalizeClass)(y.value.countryFlag()),alt:``},null,10,aB)),(0,f.createVNode)((0,f.unref)(dn),{class:`size-3 shrink-0 text-tertiary`})],10,iB)]),_:1},8,[`model-value`,`items`,`display-fn`,`is-disabled`,`popover-anchor-reference-element`]),(0,f.createElementVNode)(`span`,{class:(0,f.normalizeClass)(y.value.dialCode())},(0,f.toDisplayString)(w.value),3)]),default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`input`,(0,f.mergeProps)((0,f.unref)(o),{id:(0,f.unref)(s),ref:`input`,value:ee.value,disabled:n.isDisabled,readonly:n.isReadonly,"aria-describedby":(0,f.unref)(m),"aria-busy":(0,f.unref)(p),"aria-invalid":(0,f.unref)(g),"aria-required":(0,f.unref)(_),placeholder:O.value,name:n.name??void 0,class:y.value.input({size:n.size}),type:`tel`,autocomplete:`tel`,"data-field-wrapper":``,onInput:ie}),null,16,oB)]),_:1},8,[`icon-left`,`icon-right`,`is-loading`,`is-error`,`is-disabled`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),cB={id:null,isLabelHidden:!1,description:null},[lB,uB]=z(`radioGroupItemContext`),dB=W({slots:{cardRoot:`
1041
1041
  group/radio-group-item flex items-center justify-start rounded-md border
1042
1042
  border-secondary p-lg outline-none
1043
1043
  disabled:cursor-not-allowed
@@ -1064,7 +1064,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1064
1064
  group/radio-group-item flex items-center justify-start gap-x-sm
1065
1065
  outline-none
1066
1066
  disabled:cursor-not-allowed
1067
- `}}),pB=(0,f.defineComponent)({__name:`RadioGroupIndicator`,setup(e){let{radioGroupStyle:t}=dB();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupIndicator),{class:(0,f.normalizeClass)((0,f.unref)(t).indicator()),"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.Motion),{initial:{opacity:0,scale:1.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.5},transition:{duration:.3,type:`spring`,bounce:0}})]),_:1},8,[`class`])]),_:1}))}}),mB=(0,f.defineComponent)({__name:`BaseRadioGroup`,props:{id:{},isLabelHidden:{type:Boolean,default:!1},description:{default:null},label:{},value:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},emits:[`blur`,`focus`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>fB());return uB({radioGroupStyle:i}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupItem),{id:n.id??void 0,disabled:n.isDisabled,value:n.value,class:(0,f.normalizeClass)(i.value.root()),onBlur:t[0]||=e=>r(`blur`),onFocus:t[1]||=e=>r(`focus`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{align:`start`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.control())},[(0,f.createVNode)(pB)],2),(0,f.createVNode)(q,{class:(0,f.normalizeClass)(n.isLabelHidden&&`sr-only`),gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:n.label,class:(0,f.normalizeClass)(i.value.label())},null,8,[`text`,`class`]),n.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:n.description,class:(0,f.normalizeClass)(i.value.description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`class`])]),_:1})]),_:1},8,[`id`,`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),hB=(0,f.defineComponent)({__name:`RadioGroupItem`,props:(0,f.mergeDefaults)({id:{},isLabelHidden:{type:Boolean},description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},{...lB}),setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(mB,(0,f.normalizeProps)((0,f.guardReactiveProps)(t)),null,16))}}),[gB,_B]=z(`radioGroupContext`),vB=(0,f.defineComponent)({__name:`RadioGroupRoot`,props:(0,f.mergeModels)({orientation:{default:`vertical`},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},isErrorMessageHidden:{type:Boolean,default:!1},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean,default:!1},hint:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`);return gB({isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,orientation:(0,f.computed)(()=>t.orientation)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupRoot),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,orientation:t.orientation,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`,`orientation`,`disabled`])]),_:3},8,[`is-disabled`,`label`]))}}),yB=(0,f.defineComponent)({__name:`RelativeDateTime`,props:{dateTime:{},leadingText:{default:null}},setup(e){let t=e,n=(0,f.useAttrs)(),r=w.Temporal.Now.instant(),i=(0,x.useDateTimeFormat)(),a=(0,f.ref)(!0);function o(){fx()&&(a.value=!a.value)}return(e,s)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(K),{label:(0,f.unref)(i).toDateTime(t.dateTime,!0)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,(0,f.normalizeProps)((0,f.guardReactiveProps)((0,f.unref)(n))),[(0,f.createTextVNode)((0,f.toDisplayString)(t.leadingText)+` `,1),(0,f.createVNode)(ZR,{value:(0,f.unref)(i).toDateTime(t.dateTime,!0),class:`whitespace-nowrap`,onClick:o},{default:(0,f.withCtx)(()=>[a.value?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).toRelativeTime(t.dateTime,(0,f.unref)(r))),1)],64)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).toDateTime(t.dateTime,!0)),1)],64))]),_:1},8,[`value`])],16)]),_:1},8,[`label`]))}});function bB(){return process.env.ENVIRONMENT!==`production`}new class{prefix;constructor(e={}){this.prefix=e.prefix??``}buildArgs(e,t){return typeof e==`string`?[`${this.prefix.length>0?`${this.prefix} `:``}${e}`,...t]:this.prefix.length>0?[this.prefix,e,...t]:[e,...t]}log(e,t,...n){let r=this.buildArgs(t,n);switch(e){case`debug`:console.debug(...r);break;case`info`:console.info(...r);break;case`warn`:console.warn(...r);break;case`error`:console.error(...r);break}}debug(e,...t){bB()&&this.log(`debug`,e,...t)}error(e,...t){this.log(`error`,e,...t)}info(e,...t){bB()&&this.log(`info`,e,...t)}warn(e,...t){this.log(`warn`,e,...t)}};var xB=/([a-z])([A-Z])/g,SB=/([A-Z]+)([A-Z][a-z])/g,CB=/[\u0300-\u036F]/g,wB=/[^\w\s-]/g,TB=/[\s_]+/g,EB=/^-+|-+$/g,DB=/<[^>]*>/g,OB=class{static camelToKebab(e){return e.replace(xB,`$1-$2`).replace(SB,`$1-$2`).toLowerCase()}static capitalize(e){return e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}static isEmpty(e){return e==null||e.trim().length===0}static slugify(e){return e.toLowerCase().trim().normalize(`NFD`).replace(CB,``).replace(wB,``).replace(TB,`-`).replace(EB,``)}static stripHtml(e){return e.replace(DB,``)}static trimOrNull(e){return e?.trim()||null}static trimOrUndefined(e){return e?.trim()||void 0}static truncate(e,t){return e.length<=t?e:`${e.slice(0,t)}...`}},kB=(0,f.defineComponent)({__name:`SearchField`,props:{search:{}},setup(e){let t=e,n=(0,f.useTemplateRef)(`textField`),r=(0,f.useId)(),i=(0,g.useI18n)();return ct(`Mod+F`,()=>{n.value?.input?.focus()},{preventDefault:!0}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Bx),{id:(0,f.unref)(r),ref:`textField`,"model-value":t.search.search.value,placeholder:(0,f.unref)(i).t(`component.search_input.placeholder`),"icon-left":(0,f.unref)(si),"aria-label":(0,f.unref)(i).t(`component.search_input.placeholder`),size:`sm`,class:`w-44`,"onUpdate:modelValue":n[1]||=e=>t.search.updateSearch(e??``)},{right:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(OB).isEmpty(t.search.search.value)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,transition:{duration:.2,type:`spring`,bounce:0},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:`mr-xxs flex items-center justify-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{label:(0,f.unref)(i).t(`component.search_input.clear`),icon:(0,f.unref)(Fi),variant:`tertiary`,size:`xs`,onClick:n[0]||=e=>t.search.clear()},null,8,[`label`,`icon`])]),_:1}))]),_:1})]),_:1},8,[`id`,`model-value`,`placeholder`,`icon-left`,`aria-label`]))}}),AB=50,jB=`search`;function MB(e){let t=e?.persistInUrl===!1?!1:e?.persistInUrl??jB,n=t===!0||typeof t==`string`?(0,b.useRouteQuery)(`search`,``,{mode:`replace`}):(0,f.ref)(``),r=(0,f.ref)(n.value),i=(0,f.ref)(!1),a=(0,f.computed)(()=>!OB.isEmpty(r.value)),o=null;function s(){n.value=``,r.value=``,i.value=!1,o&&clearTimeout(o)}(0,f.watch)(n,t=>{o&&clearTimeout(o),i.value=!0,o=setTimeout(()=>{r.value=t,i.value=!1},e?.debounceMs??AB)},{immediate:!0});function c(e,t=!1){n.value=e,t&&(o&&clearTimeout(o),r.value=e,i.value=!1)}return{isActive:a,isDebouncing:i,clear:s,debouncedSearch:r,search:n,updateSearch:c}}function NB(){let e=(0,f.ref)(0),t=(0,f.computed)(()=>e.value>0);function n(t){t&&(e.value+=1)}function r(t){t&&--e.value}return{hasDescription:t,registerItem:n,unregisterItem:r}}function PB(e){let t=(0,f.ref)(0),n=(0,f.ref)(0),r=(0,f.ref)(0),i=(0,f.ref)(!1);function a(){let a=e.listRef.value;if(a===null){i.value=!1;return}let o=a.querySelector(`[role="radio"][data-active]`);if(o===null){i.value=!1;return}let s=a.getBoundingClientRect(),c=o.getBoundingClientRect();t.value=c.width,n.value=c.height,r.value=c.left-s.left,i.value=!0}return(0,f.watch)(e.activeValue,()=>{a()}),(0,f.watch)(e.listRef,()=>{a()}),(0,f.onMounted)(()=>{a()}),(0,m.useResizeObserver)(e.listRef,()=>{a()}),{isReady:(0,f.computed)(()=>i.value),indicatorCrossSize:(0,f.computed)(()=>`${n.value}px`),indicatorPosition:(0,f.computed)(()=>`${r.value}px`),indicatorSize:(0,f.computed)(()=>`${t.value}px`)}}var[FB,IB]=z(`segmentedControlContext`),LB={...bb,isDescriptionCentered:!1,size:`md`},RB=LB,zB=LB,BB={isDisabled:!1,description:null,disabledReason:null},VB=`text-sm font-medium whitespace-nowrap`,HB=`flex items-stretch gap-none rounded-xl bg-tertiary/60 p-xxs`,UB={hasDescription:{true:{item:`h-auto min-h-14 items-center px-lg py-sm text-left`}},isDescriptionCentered:{true:{item:`text-center`}},size:{md:{item:`h-8`},sm:{item:`h-7`}}},WB=W({slots:{description:`
1067
+ `}}),fB=(0,f.defineComponent)({__name:`RadioGroupIndicator`,setup(e){let{radioGroupStyle:t}=uB();return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupIndicator),{class:(0,f.normalizeClass)((0,f.unref)(t).indicator()),"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.Motion),{initial:{opacity:0,scale:1.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:1.5},transition:{duration:.3,type:`spring`,bounce:0}})]),_:1},8,[`class`])]),_:1}))}}),pB=(0,f.defineComponent)({__name:`BaseRadioGroup`,props:{id:{},isLabelHidden:{type:Boolean,default:!1},description:{default:null},label:{},value:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null}},emits:[`blur`,`focus`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.computed)(()=>dB());return lB({radioGroupStyle:i}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupItem),{id:n.id??void 0,disabled:n.isDisabled,value:n.value,class:(0,f.normalizeClass)(i.value.root()),onBlur:t[0]||=e=>r(`blur`),onFocus:t[1]||=e=>r(`focus`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{align:`start`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.control())},[(0,f.createVNode)(fB)],2),(0,f.createVNode)(q,{class:(0,f.normalizeClass)(n.isLabelHidden&&`sr-only`),gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:n.label,class:(0,f.normalizeClass)(i.value.label())},null,8,[`text`,`class`]),n.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:n.description,class:(0,f.normalizeClass)(i.value.description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`class`])]),_:1})]),_:1},8,[`id`,`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),mB=(0,f.defineComponent)({__name:`RadioGroupItem`,props:(0,f.mergeDefaults)({id:{},isLabelHidden:{type:Boolean},description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},{...cB}),setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(pB,(0,f.normalizeProps)((0,f.guardReactiveProps)(t)),null,16))}}),[hB,gB]=z(`radioGroupContext`),_B=(0,f.defineComponent)({__name:`RadioGroupRoot`,props:(0,f.mergeModels)({orientation:{default:`vertical`},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean,default:!1},disabledReason:{default:null},isErrorMessageHidden:{type:Boolean,default:!1},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean,default:!1},hint:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`);return hB({isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,orientation:(0,f.computed)(()=>t.orientation)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupRoot),{modelValue:n.value,"onUpdate:modelValue":r[0]||=e=>n.value=e,orientation:t.orientation,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`modelValue`,`orientation`,`disabled`])]),_:3},8,[`is-disabled`,`label`]))}}),vB=(0,f.defineComponent)({__name:`RelativeDateTime`,props:{dateTime:{},leadingText:{default:null}},setup(e){let t=e,n=(0,f.useAttrs)(),r=w.Temporal.Now.instant(),i=(0,x.useDateTimeFormat)(),a=(0,f.ref)(!0);function o(){fx()&&(a.value=!a.value)}return(e,s)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(K),{label:(0,f.unref)(i).toDateTime(t.dateTime,!0)},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`span`,(0,f.normalizeProps)((0,f.guardReactiveProps)((0,f.unref)(n))),[(0,f.createTextVNode)((0,f.toDisplayString)(t.leadingText)+` `,1),(0,f.createVNode)(XR,{value:(0,f.unref)(i).toDateTime(t.dateTime,!0),class:`whitespace-nowrap`,onClick:o},{default:(0,f.withCtx)(()=>[a.value?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).toRelativeTime(t.dateTime,(0,f.unref)(r))),1)],64)):((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[(0,f.createTextVNode)((0,f.toDisplayString)((0,f.unref)(i).toDateTime(t.dateTime,!0)),1)],64))]),_:1},8,[`value`])],16)]),_:1},8,[`label`]))}});function yB(){return process.env.ENVIRONMENT!==`production`}new class{prefix;constructor(e={}){this.prefix=e.prefix??``}buildArgs(e,t){return typeof e==`string`?[`${this.prefix.length>0?`${this.prefix} `:``}${e}`,...t]:this.prefix.length>0?[this.prefix,e,...t]:[e,...t]}log(e,t,...n){let r=this.buildArgs(t,n);switch(e){case`debug`:console.debug(...r);break;case`info`:console.info(...r);break;case`warn`:console.warn(...r);break;case`error`:console.error(...r);break}}debug(e,...t){yB()&&this.log(`debug`,e,...t)}error(e,...t){this.log(`error`,e,...t)}info(e,...t){yB()&&this.log(`info`,e,...t)}warn(e,...t){this.log(`warn`,e,...t)}};var bB=/([a-z])([A-Z])/g,xB=/([A-Z]+)([A-Z][a-z])/g,SB=/[\u0300-\u036F]/g,CB=/[^\w\s-]/g,wB=/[\s_]+/g,TB=/^-+|-+$/g,EB=/<[^>]*>/g,DB=class{static camelToKebab(e){return e.replace(bB,`$1-$2`).replace(xB,`$1-$2`).toLowerCase()}static capitalize(e){return e.length===0?e:e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}static isEmpty(e){return e==null||e.trim().length===0}static slugify(e){return e.toLowerCase().trim().normalize(`NFD`).replace(SB,``).replace(CB,``).replace(wB,`-`).replace(TB,``)}static stripHtml(e){return e.replace(EB,``)}static trimOrNull(e){return e?.trim()||null}static trimOrUndefined(e){return e?.trim()||void 0}static truncate(e,t){return e.length<=t?e:`${e.slice(0,t)}...`}},OB=(0,f.defineComponent)({__name:`SearchField`,props:{search:{}},setup(e){let t=e,n=(0,f.useTemplateRef)(`textField`),r=(0,f.useId)(),i=(0,g.useI18n)();return ct(`Mod+F`,()=>{n.value?.input?.focus()},{preventDefault:!0}),(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Bx),{id:(0,f.unref)(r),ref:`textField`,"model-value":t.search.search.value,placeholder:(0,f.unref)(i).t(`component.search_input.placeholder`),"icon-left":(0,f.unref)(si),"aria-label":(0,f.unref)(i).t(`component.search_input.placeholder`),size:`sm`,class:`w-44`,"onUpdate:modelValue":n[1]||=e=>t.search.updateSearch(e??``)},{right:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{initial:!1},{default:(0,f.withCtx)(()=>[(0,f.unref)(DB).isEmpty(t.search.search.value)?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:0,transition:{duration:.2,type:`spring`,bounce:0},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:`mr-xxs flex items-center justify-center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{label:(0,f.unref)(i).t(`component.search_input.clear`),icon:(0,f.unref)(Fi),variant:`tertiary`,size:`xs`,onClick:n[0]||=e=>t.search.clear()},null,8,[`label`,`icon`])]),_:1}))]),_:1})]),_:1},8,[`id`,`model-value`,`placeholder`,`icon-left`,`aria-label`]))}}),kB=50,AB=`search`;function jB(e){let t=e?.persistInUrl===!1?!1:e?.persistInUrl??AB,n=t===!0||typeof t==`string`?(0,b.useRouteQuery)(`search`,``,{mode:`replace`}):(0,f.ref)(``),r=(0,f.ref)(n.value),i=(0,f.ref)(!1),a=(0,f.computed)(()=>!DB.isEmpty(r.value)),o=null;function s(){n.value=``,r.value=``,i.value=!1,o&&clearTimeout(o)}(0,f.watch)(n,t=>{o&&clearTimeout(o),i.value=!0,o=setTimeout(()=>{r.value=t,i.value=!1},e?.debounceMs??kB)},{immediate:!0});function c(e,t=!1){n.value=e,t&&(o&&clearTimeout(o),r.value=e,i.value=!1)}return{isActive:a,isDebouncing:i,clear:s,debouncedSearch:r,search:n,updateSearch:c}}function MB(){let e=(0,f.ref)(0),t=(0,f.computed)(()=>e.value>0);function n(t){t&&(e.value+=1)}function r(t){t&&--e.value}return{hasDescription:t,registerItem:n,unregisterItem:r}}function NB(e){let t=(0,f.ref)(0),n=(0,f.ref)(0),r=(0,f.ref)(0),i=(0,f.ref)(!1);function a(){let a=e.listRef.value;if(a===null){i.value=!1;return}let o=a.querySelector(`[role="radio"][data-active]`);if(o===null){i.value=!1;return}let s=a.getBoundingClientRect(),c=o.getBoundingClientRect();t.value=c.width,n.value=c.height,r.value=c.left-s.left,i.value=!0}return(0,f.watch)(e.activeValue,()=>{a()}),(0,f.watch)(e.listRef,()=>{a()}),(0,f.onMounted)(()=>{a()}),(0,m.useResizeObserver)(e.listRef,()=>{a()}),{isReady:(0,f.computed)(()=>i.value),indicatorCrossSize:(0,f.computed)(()=>`${n.value}px`),indicatorPosition:(0,f.computed)(()=>`${r.value}px`),indicatorSize:(0,f.computed)(()=>`${t.value}px`)}}var[PB,FB]=z(`segmentedControlContext`),IB={...bb,isDescriptionCentered:!1,size:`md`},LB=IB,RB=IB,zB={isDisabled:!1,description:null,disabledReason:null},BB=`text-sm font-medium whitespace-nowrap`,VB=`flex items-stretch gap-none rounded-xl bg-tertiary/60 p-xxs`,HB={hasDescription:{true:{item:`h-auto min-h-14 items-center px-lg py-sm text-left`}},isDescriptionCentered:{true:{item:`text-center`}},size:{md:{item:`h-8`},sm:{item:`h-7`}}},UB=W({slots:{description:`
1068
1068
  text-xs text-quaternary
1069
1069
  group-data-active/segmented-control-item:text-brand-secondary
1070
1070
  `,indicator:`
@@ -1086,10 +1086,10 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1086
1086
  data-active:text-secondary
1087
1087
  data-active:after:opacity-0
1088
1088
  dark:after:bg-tertiary
1089
- `,label:VB,list:`
1089
+ `,label:BB,list:`
1090
1090
  group relative
1091
- ${HB}
1092
- `},variants:UB}),GB=W({slots:{description:`
1091
+ ${VB}
1092
+ `},variants:HB}),WB=W({slots:{description:`
1093
1093
  text-xs text-quaternary
1094
1094
  group-aria-checked/segmented-control-item:text-brand-secondary
1095
1095
  `,item:`
@@ -1116,7 +1116,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1116
1116
  dark:after:bg-tertiary
1117
1117
  aria-checked:[[aria-checked=true]+&]:before:left-0
1118
1118
  aria-checked:[[aria-checked=true]+&]:before:rounded-l-none
1119
- `,label:VB,list:HB},variants:UB}),KB=(0,f.defineComponent)({__name:`SegmentedControlIndicator`,props:{listRef:{}},setup(e){let t=e,{modelValue:n,variants:r}=IB(),{isReady:i,indicatorCrossSize:a,indicatorPosition:o,indicatorSize:s}=PB({activeValue:(0,f.computed)(()=>n.value),listRef:(0,f.computed)(()=>t.listRef)});return(e,t)=>(0,f.unref)(i)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)((0,f.unref)(r).indicator()),style:(0,f.normalizeStyle)({"--segmented-control-indicator-cross-size":(0,f.unref)(a),"--segmented-control-indicator-position":(0,f.unref)(o),"--segmented-control-indicator-size":(0,f.unref)(s)}),"aria-hidden":`true`},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(r).indicatorInner())},null,2)],6)):(0,f.createCommentVNode)(``,!0)}}),qB=(0,f.defineComponent)({__name:`SegmentedControl`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isDescriptionCentered:{type:Boolean},size:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},RB),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.useId)(),i=(0,f.useTemplateRef)(`list`),{hasDescription:a,registerItem:o,unregisterItem:s}=NB(),c=(0,f.computed)(()=>WB({hasDescription:a.value,isDescriptionCentered:t.isDescriptionCentered,size:t.size}));return FB({hasDescription:a,isDescriptionCentered:(0,f.computed)(()=>t.isDescriptionCentered),isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,registerItem:o,unregisterItem:s,variants:c}),(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-horizontal":t.isHorizontal,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,for:(0,f.unref)(r),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupRoot),{id:(0,f.unref)(r),modelValue:n.value,"onUpdate:modelValue":a[0]||=e=>n.value=e,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{ref:`list`,class:(0,f.normalizeClass)(c.value.list())},[(0,f.renderSlot)(e.$slots,`default`),(0,f.createVNode)(KB,{"list-ref":i.value},null,8,[`list-ref`])],2)]),_:3},8,[`id`,`modelValue`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-horizontal`,`is-required`,`disabled-reason`,`hint`,`label`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),[JB,YB]=z(`segmentedControlGroupContext`),XB=(0,f.defineComponent)({__name:`SegmentedControlGroup`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isDescriptionCentered:{type:Boolean},size:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},zB),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.useId)(),{hasDescription:i,registerItem:a,unregisterItem:o}=NB(),s=(0,f.computed)(()=>GB({hasDescription:i.value,isDescriptionCentered:t.isDescriptionCentered,size:t.size}));return JB({hasDescription:i,isDescriptionCentered:(0,f.computed)(()=>t.isDescriptionCentered),isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,registerItem:a,unregisterItem:o,variants:s}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-horizontal":t.isHorizontal,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,for:(0,f.unref)(r),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CheckboxGroupRoot),{id:(0,f.unref)(r),modelValue:n.value,"onUpdate:modelValue":i[0]||=e=>n.value=e,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(s.value.list())},[(0,f.renderSlot)(e.$slots,`default`)],2)]),_:3},8,[`id`,`modelValue`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-horizontal`,`is-required`,`disabled-reason`,`hint`,`label`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),ZB=(0,f.defineComponent)({__name:`SegmentedControlGroupItem`,props:(0,f.mergeDefaults)({description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},BB),setup(e){let t=e,{isDescriptionCentered:n,registerItem:r,unregisterItem:i,variants:a}=YB(),o=(0,f.computed)(()=>t.description!=null);return(0,f.onMounted)(()=>{r(o.value)}),(0,f.onBeforeUnmount)(()=>{i(o.value)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CheckboxRoot),{disabled:t.isDisabled,value:t.value,class:(0,f.normalizeClass)((0,f.unref)(a).item())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{align:(0,f.unref)(n)?`center`:`start`,gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)((0,f.unref)(a).label())},null,8,[`text`,`class`]),t.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:t.description,truncate:!1,class:(0,f.normalizeClass)((0,f.unref)(a).description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`align`])]),_:1},8,[`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),QB=(0,f.defineComponent)({__name:`SegmentedControlItem`,props:(0,f.mergeDefaults)({description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},BB),setup(e){let t=e,{isDescriptionCentered:n,registerItem:r,unregisterItem:i,variants:a}=IB(),o=(0,f.computed)(()=>t.description!=null);return(0,f.onMounted)(()=>{r(o.value)}),(0,f.onBeforeUnmount)(()=>{i(o.value)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupItem),{disabled:t.isDisabled,value:t.value,class:(0,f.normalizeClass)((0,f.unref)(a).item())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{align:(0,f.unref)(n)?`center`:`start`,gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)((0,f.unref)(a).label())},null,8,[`text`,`class`]),t.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:t.description,truncate:!1,class:(0,f.normalizeClass)((0,f.unref)(a).description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`align`])]),_:1},8,[`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),[$B,eV]=z(`switchContext`),tV=W({slots:{root:`
1119
+ `,label:BB,list:VB},variants:HB}),GB=(0,f.defineComponent)({__name:`SegmentedControlIndicator`,props:{listRef:{}},setup(e){let t=e,{modelValue:n,variants:r}=FB(),{isReady:i,indicatorCrossSize:a,indicatorPosition:o,indicatorSize:s}=NB({activeValue:(0,f.computed)(()=>n.value),listRef:(0,f.computed)(()=>t.listRef)});return(e,t)=>(0,f.unref)(i)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,class:(0,f.normalizeClass)((0,f.unref)(r).indicator()),style:(0,f.normalizeStyle)({"--segmented-control-indicator-cross-size":(0,f.unref)(a),"--segmented-control-indicator-position":(0,f.unref)(o),"--segmented-control-indicator-size":(0,f.unref)(s)}),"aria-hidden":`true`},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)((0,f.unref)(r).indicatorInner())},null,2)],6)):(0,f.createCommentVNode)(``,!0)}}),KB=(0,f.defineComponent)({__name:`SegmentedControl`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isDescriptionCentered:{type:Boolean},size:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},LB),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.useId)(),i=(0,f.useTemplateRef)(`list`),{hasDescription:a,registerItem:o,unregisterItem:s}=MB(),c=(0,f.computed)(()=>UB({hasDescription:a.value,isDescriptionCentered:t.isDescriptionCentered,size:t.size}));return PB({hasDescription:a,isDescriptionCentered:(0,f.computed)(()=>t.isDescriptionCentered),isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,registerItem:o,unregisterItem:s,variants:c}),(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-horizontal":t.isHorizontal,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,for:(0,f.unref)(r),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupRoot),{id:(0,f.unref)(r),modelValue:n.value,"onUpdate:modelValue":a[0]||=e=>n.value=e,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{ref:`list`,class:(0,f.normalizeClass)(c.value.list())},[(0,f.renderSlot)(e.$slots,`default`),(0,f.createVNode)(GB,{"list-ref":i.value},null,8,[`list-ref`])],2)]),_:3},8,[`id`,`modelValue`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-horizontal`,`is-required`,`disabled-reason`,`hint`,`label`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),[qB,JB]=z(`segmentedControlGroupContext`),YB=(0,f.defineComponent)({__name:`SegmentedControlGroup`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isDescriptionCentered:{type:Boolean},size:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},isRequired:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isDisabled:{type:Boolean},disabledReason:{}},RB),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.useId)(),{hasDescription:i,registerItem:a,unregisterItem:o}=MB(),s=(0,f.computed)(()=>WB({hasDescription:i.value,isDescriptionCentered:t.isDescriptionCentered,size:t.size}));return qB({hasDescription:i,isDescriptionCentered:(0,f.computed)(()=>t.isDescriptionCentered),isDisabled:(0,f.computed)(()=>t.isDisabled),modelValue:n,registerItem:a,unregisterItem:o,variants:s}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-horizontal":t.isHorizontal,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,for:(0,f.unref)(r),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CheckboxGroupRoot),{id:(0,f.unref)(r),modelValue:n.value,"onUpdate:modelValue":i[0]||=e=>n.value=e,disabled:t.isDisabled},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(s.value.list())},[(0,f.renderSlot)(e.$slots,`default`)],2)]),_:3},8,[`id`,`modelValue`,`disabled`])]),_:3},8,[`error-message`,`is-disabled`,`is-horizontal`,`is-required`,`disabled-reason`,`hint`,`label`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),XB=(0,f.defineComponent)({__name:`SegmentedControlGroupItem`,props:(0,f.mergeDefaults)({description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},zB),setup(e){let t=e,{isDescriptionCentered:n,registerItem:r,unregisterItem:i,variants:a}=JB(),o=(0,f.computed)(()=>t.description!=null);return(0,f.onMounted)(()=>{r(o.value)}),(0,f.onBeforeUnmount)(()=>{i(o.value)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.CheckboxRoot),{disabled:t.isDisabled,value:t.value,class:(0,f.normalizeClass)((0,f.unref)(a).item())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{align:(0,f.unref)(n)?`center`:`start`,gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)((0,f.unref)(a).label())},null,8,[`text`,`class`]),t.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:t.description,truncate:!1,class:(0,f.normalizeClass)((0,f.unref)(a).description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`align`])]),_:1},8,[`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),ZB=(0,f.defineComponent)({__name:`SegmentedControlItem`,props:(0,f.mergeDefaults)({description:{},label:{},value:{},isDisabled:{type:Boolean},disabledReason:{}},zB),setup(e){let t=e,{isDescriptionCentered:n,registerItem:r,unregisterItem:i,variants:a}=FB(),o=(0,f.computed)(()=>t.description!=null);return(0,f.onMounted)(()=>{r(o.value)}),(0,f.onBeforeUnmount)(()=>{i(o.value)}),(e,r)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!t.isDisabled||t.disabledReason==null,label:t.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.RadioGroupItem),{disabled:t.isDisabled,value:t.value,class:(0,f.normalizeClass)((0,f.unref)(a).item())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(q),{align:(0,f.unref)(n)?`center`:`start`,gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:(0,f.normalizeClass)((0,f.unref)(a).label())},null,8,[`text`,`class`]),t.description?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(G),{key:0,text:t.description,truncate:!1,class:(0,f.normalizeClass)((0,f.unref)(a).description())},null,8,[`text`,`class`])):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`align`])]),_:1},8,[`disabled`,`value`,`class`])]),_:1},8,[`is-disabled`,`label`]))}}),[QB,$B]=z(`switchContext`),eV=W({slots:{root:`
1120
1120
  group/switch relative isolate h-5 w-8 shrink-0 overflow-hidden
1121
1121
  rounded-full border border-solid border-gray-200 bg-quaternary px-xxs
1122
1122
  outline-offset-3 outline-brand-600 duration-200
@@ -1137,13 +1137,13 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1137
1137
  `,thumbIcon:`
1138
1138
  size-2.5 text-gray-800
1139
1139
  group-data-[state=checked]/switch:text-brand-600
1140
- `}}),nV=(0,f.defineComponent)({__name:`SwitchThumbIcon`,setup(e){let{isChecked:t,iconChecked:n,iconUnchecked:r,switchStyle:i}=eV(),a=(0,f.computed)(()=>t.value?n.value:r.value);return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[a.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:a.value?.name??String((0,f.unref)(t)),initial:{opacity:0,x:(0,f.unref)(t)?-8:8,filter:`blur(2px)`},animate:{opacity:1,scale:1,x:0,filter:`blur(0px)`},exit:{opacity:0,x:(0,f.unref)(t)?-8:8,filter:`blur(2px)`},transition:{duration:.25,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(a.value),{class:(0,f.normalizeClass)((0,f.unref)(i).thumbIcon())},null,8,[`class`]))]),_:1},8,[`initial`,`exit`]))]),_:1}))}}),rV=(0,f.defineComponent)({__name:`Switch`,props:(0,f.mergeModels)((0,f.mergeDefaults)({iconChecked:{},iconUnchecked:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...yb,...bb,iconChecked:null,iconUnchecked:null}),{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=n.id??(0,f.useId)(),o=(0,f.computed)(()=>tV()),s=(0,f.computed)(()=>n.isErrorMessageHidden||n.hideErrorMessage);return $B({isChecked:(0,f.computed)(()=>i.value),iconChecked:(0,f.computed)(()=>n.iconChecked??null),iconUnchecked:(0,f.computed)(()=>n.iconUnchecked??null),switchStyle:o}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{align:`start`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.SwitchRoot),{id:(0,f.unref)(a),modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,disabled:n.isDisabled,"data-invalid":n.errorMessage!==null&&n.errorMessage!==void 0||void 0,class:(0,f.normalizeClass)(o.value.root()),onBlur:t[1]||=e=>r(`blur`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.SwitchThumb),{class:(0,f.normalizeClass)(o.value.thumb())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(nV)]),_:1},8,[`class`])]),_:1},8,[`id`,`modelValue`,`disabled`,`data-invalid`,`class`]),(0,f.createElementVNode)(`div`,null,[n.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)([n.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`),(0,f.createVNode)((0,f.unref)(G),{for:n.for??(0,f.unref)(a),text:n.label,class:(0,f.normalizeClass)((0,f.unref)(Jo)(`text-xs/5 font-medium text-secondary`,n.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":n.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),(0,f.renderSlot)(e.$slots,`right`)]),_:3},8,[`class`])),(0,f.createVNode)(Hb,{hint:n.hint,for:n.for},null,8,[`hint`,`for`]),s.value?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(Vb,{key:1,"error-message":n.errorMessage,for:n.for},null,8,[`error-message`,`for`]))])]),_:3})]),_:3},8,[`is-disabled`,`label`]))}}),iV=(0,f.defineComponent)({__name:`TableSubgrid`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{class:`col-span-full grid grid-cols-subgrid`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),[aV,oV]=z(`tableContext`),sV=(0,f.defineComponent)({__name:`TableBody`,setup(e){let{isScrollableVertically:t,variant:n}=oV(),r=(0,f.computed)(()=>t.value||n.value===`contained`);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(iV,{class:(0,f.normalizeClass)([{"[&>*:last-child]:border-b-0":r.value},`group/body`])},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),cV={GROUP:3,HEADER:4,SUBGROUP:2},[lV,uV]=z(`tableGroupContext`),[dV,fV]=z(`tableSelectionContext`),pV={class:`h-full flex-1 outline-none`},mV={class:`w-5`},hV=(0,f.defineComponent)({__name:`TableBodyGroup`,props:{isOpenByDefault:{type:Boolean,default:!0},defaultOpen:{type:Boolean},headerCells:{},items:{default:()=>[]},label:{}},setup(e){let t=e,{isScrolledFromLeft:n,isSelectable:r,registerGroup:i,unregisterGroup:a}=oV(),{isGroupAllSelected:o,isGroupIndeterminate:s,toggleGroup:c}=fV(),l=(0,g.useI18n)();return lV({isGroup:!0}),i(),(0,f.onBeforeUnmount)(()=>{a()}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{as:iV,"default-open":t.defaultOpen===void 0?t.isOpenByDefault:t.defaultOpen,class:`group/collapsible`},{default:(0,f.withCtx)(({open:a})=>[(0,f.createVNode)(iV,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(cV).GROUP}),class:`group/group sticky top-10 h-8 items-center group-data-[state=open]/collapsible:bg-secondary hover:bg-secondary has-focus-visible:bg-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"border-r border-secondary":(0,f.unref)(n),"col-span-2":(0,f.unref)(r)},`sticky left-0 z-1 flex h-full items-center gap-xs bg-primary px-2xl group-hover/group:bg-secondary group-has-focus-visible/group:bg-tertiary group-data-[state=open]/collapsible:bg-secondary`])},[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(o)(t.items)||(0,f.unref)(s)(t.items),"is-indeterminate":(0,f.unref)(s)(t.items)&&!(0,f.unref)(o)(t.items),"is-label-hidden":!0,label:(0,f.unref)(l).t(`component.table.group.toggle_selection_label`),class:`mr-sm`,"onUpdate:modelValue":i[0]||=()=>(0,f.unref)(c)(t.items)},null,8,[`model-value`,`is-indeterminate`,`label`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,pV,[(0,f.createVNode)((0,f.unref)(B),{gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,mV,[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!a},`size-3.5 text-disabled duration-150 group-hover/group:text-secondary`])},null,8,[`class`])]),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],2),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.headerCells,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e),{key:t}))),128))]),_:2},1032,[`style`]),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{as:iV,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),[gV,_V]=z(`tableBodyRowContext`),[vV,yV]=z(`tableSubGroupContext`),bV={class:`pointer-events-none relative z-1 flex size-full min-w-0 items-center`},xV=(0,f.defineComponent)({__name:`TableBodyRowCell`,setup(e){let{isScrolledFromLeft:t,isSelectable:n,variant:r}=oV(),{link:i,onClick:a}=_V({link:(0,f.computed)(()=>null),onClick:(0,f.computed)(()=>null)}),{isGroup:o}=uV({isGroup:!1}),{isSubGroup:s}=yV({isSubGroup:!1}),c=(0,f.computed)(()=>s?(n.value,`first-of-type:pl-15`):o?(n.value,`first-of-type:pl-10`):`first-of-type:pl-2xl`);return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([[{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(t),"h-10":(0,f.unref)(r)===`full-page`,"h-9":(0,f.unref)(r)===`contained`},c.value],`relative flex items-center overflow-hidden bg-primary px-xl not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary first-of-type:sticky first-of-type:left-0 first-of-type:z-2 last-of-type:pr-2xl`])},[(0,f.unref)(i)===null?(0,f.unref)(a)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,tabindex:`-1`,class:`absolute inset-0 z-0`,type:`button`,onClick:n[0]||=(...e)=>(0,f.unref)(a)&&(0,f.unref)(a)(...e)})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(y.RouterLink),{key:0,to:(0,f.unref)(i),tabindex:`-1`,class:`absolute inset-0 z-0`},null,8,[`to`])),(0,f.createElementVNode)(`div`,bV,[(0,f.renderSlot)(e.$slots,`default`)])],2))}}),SV=(0,f.defineComponent)({__name:`TableBodyRowActionsCell`,props:{actionModel:{}},setup(e){let t=e,n=(0,g.useI18n)(),{actions:r}=oV();return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(xV,{class:`sticky right-0 z-1 flex items-center justify-end`,"data-row-actions":``},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(yc),{actions:(0,f.unref)(r),models:t.actionModel===null?[]:[t.actionModel],"is-current-context-only":!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-tooltip-disabled":!0,icon:(0,f.unref)(zn),label:(0,f.unref)(n).t(`component.table.actions_cell.label`),size:`sm`,variant:`tertiary`,class:`pointer-events-auto opacity-0 group-hover/row:opacity-100 group-has-focus-visible/row:opacity-100 group-has-[[data-row-actions]_[data-state=open]]/row:opacity-100 pointer-coarse:opacity-100`},null,8,[`icon`,`label`])]),_:1},8,[`actions`,`models`])]),_:1}))}}),CV=[`aria-label`],wV=(0,f.defineComponent)({__name:`TableBodyRow`,props:{actionModel:{default:null},ariaLabel:{default:null},itemKey:{default:null},link:{default:null},onRowClick:{type:[Function,null],default:null}},setup(e){let t=e,n=(0,g.useI18n)(),{isGroupingEnabled:r,actions:i}=oV(),{isSelectable:a,toggleItem:o}=fV(),s=(0,p.createAction)({id:`table-row-toggle-selection`,isApplicable:e=>a.value&&t.itemKey!==null&&e.menuType===void 0,name:()=>n.t(`component.table.row.toggle_selection_action.name`),execute:()=>{t.itemKey!=null&&o(t.itemKey)},keyboardShortcut:{key:`X`}});return gV({link:(0,f.computed)(()=>t.link),onClick:(0,f.computed)(()=>t.onRowClick)}),(a,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(dc),{actions:(0,f.unref)(i),"is-current-context-only":!0,models:t.actionModel===null?[]:[t.actionModel]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(bc),{actions:[...(0,f.unref)(i),(0,f.unref)(s)],models:t.actionModel===null?[]:[t.actionModel]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(iV,{class:(0,f.normalizeClass)([{"border-b border-secondary has-[[data-row-actions]_[data-state=open]]:border-secondary/25 data-[state=open]:border-secondary/25":!(0,f.unref)(r)},`group/row relative isolate transition-[filter,opacity] duration-150 group-has-[[data-context-menu-trigger][data-state=open]]/body:opacity-25 group-has-[[data-row-actions]_[data-state=open]]/body:opacity-25 not-has-[[data-row-actions]_[data-state=open]]:hover:bg-secondary has-focus-visible:bg-tertiary has-[[data-row-actions]_[data-state=open]]:opacity-100 data-[state=open]:opacity-100!`])},{default:(0,f.withCtx)(()=>[e.link===null?e.onRowClick===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,"aria-label":e.ariaLabel??(0,f.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`,type:`button`,onClick:o[0]||=(...t)=>e.onRowClick&&e.onRowClick(...t)},null,8,CV)):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(y.RouterLink),{key:0,to:e.link,"aria-label":e.ariaLabel??(0,f.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`},null,8,[`to`,`aria-label`])),(0,f.renderSlot)(a.$slots,`default`),o[1]||=(0,f.createElementVNode)(`div`,{"aria-hidden":`true`,class:`bg-primary not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary`},null,-1),(0,f.unref)(i).length>0?((0,f.openBlock)(),(0,f.createBlock)(SV,{key:2,"action-model":t.actionModel},null,8,[`action-model`])):(0,f.createCommentVNode)(``,!0)]),_:3},8,[`class`])]),_:3},8,[`actions`,`models`])]),_:3},8,[`actions`,`models`]))}}),TV=(0,f.defineComponent)({__name:`TableBodyRowCellInteractiveElement`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:`pointer-events-auto`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),EV=(0,f.defineComponent)({__name:`TableBodyRowCheckboxCell`,props:{itemKey:{}},setup(e){let t=e,n=(0,g.useI18n)(),{isItemSelected:r,toggleItem:i}=fV(),a=(0,f.shallowRef)(!1);function o(e){a.value=e.shiftKey}function s(){i(t.itemKey,a.value)}return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(xV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(K),{"keyboard-shortcut":{key:`X`},label:(0,f.unref)(n).t(`component.table.row.toggle_selection_action.name`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(TV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(r)(t.itemKey),label:(0,f.unref)(n).t(`component.table.row.toggle_selection_action.name`),"is-label-hidden":``,onClickCapture:o,"onUpdate:modelValue":s},null,8,[`model-value`,`label`])]),_:1})]),_:1},8,[`label`])]),_:1}))}}),DV={key:0,class:`flex h-full w-10 shrink-0 items-center justify-center`},OV={class:`h-full flex-1 px-5xl outline-none focus-visible:bg-tertiary`},kV={class:`w-5`},AV=(0,f.defineComponent)({__name:`TableBodySubGroup`,props:{isOpenByDefault:{type:Boolean,default:!0},defaultOpen:{type:Boolean},items:{default:()=>[]},label:{}},setup(e){let t=e,{isSelectable:n}=oV(),{isGroupAllSelected:r,isGroupIndeterminate:i,toggleGroup:a}=fV();return vV({isSubGroup:!0}),(e,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{as:iV,"default-open":t.defaultOpen===void 0?t.isOpenByDefault:t.defaultOpen},{default:(0,f.withCtx)(({open:s})=>[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(cV).SUBGROUP}),class:`group/sub-group sticky top-18 col-span-full flex h-8 items-center bg-primary`},[(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,DV,[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(r)(t.items)||(0,f.unref)(i)(t.items),"is-indeterminate":(0,f.unref)(i)(t.items)&&!(0,f.unref)(r)(t.items),label:``,"is-label-hidden":``,"onUpdate:modelValue":o[0]||=()=>(0,f.unref)(a)(t.items)},null,8,[`model-value`,`is-indeterminate`])])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,OV,[(0,f.createVNode)((0,f.unref)(B),{gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,kV,[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!s},`size-3.5 text-disabled duration-150 group-hover/sub-group:text-secondary`])},null,8,[`class`])]),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/sub-group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],4),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{as:iV,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),jV=[`aria-describedby`],MV=[`id`],NV=[`disabled`],PV=(0,f.defineComponent)({__name:`TableHeaderCell`,props:{isCentered:{type:Boolean,default:!1},isResizable:{type:Boolean,default:!0},actionConfig:{default:null},centerContent:{type:Boolean},columnIndex:{},columnKey:{},description:{default:null},label:{}},setup(e){let t=e,n=(0,f.computed)(()=>t.isCentered||t.centerContent===!0),r=(0,g.useI18n)(),{isColumnResizeDisabled:i,isGroupingEnabled:a,isResizingColumn:o,isScrolledFromLeft:s,isSelectable:c,sort:l,onColumnResizeFitToContent:u,onColumnResizeStart:d}=oV(),p=(0,f.useTemplateRef)(`cellEl`),m=(0,f.useId)(),h=(0,f.computed)(()=>l!==null&&l.existsSort(t.columnKey)),v=(0,f.computed)(()=>{if(!h.value)return null;let e=l?.getSort(t.columnKey)??null;return e===null?null:e.direction}),y=(0,f.computed)(()=>{if(!h.value)return null;switch(v.value){case`asc`:return Bt;case`desc`:return Ot;default:return yi}});return(e,g)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(ts),{"is-disabled":t.description===null,"popover-side-offset":4,"popover-side":`bottom`},{trigger:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{ref_key:`cellEl`,ref:p,"aria-describedby":t.description===null?void 0:(0,f.unref)(m),class:(0,f.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(s),"justify-center":n.value,"bg-secondary":!(0,f.unref)(a),"first-of-type:left-10":(0,f.unref)(c),"first-of-type:left-0":!(0,f.unref)(c)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[t.description===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:0,id:(0,f.unref)(m),class:`sr-only`},(0,f.toDisplayString)(t.description),9,MV)),(0,f.createVNode)((0,f.unref)(B),{class:`max-w-full min-w-0`,gap:`xs`},{default:(0,f.withCtx)(()=>[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Mb),{key:0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{disabled:!h.value,type:`button`,class:`-ml-sm flex min-w-0 items-center gap-xs rounded-sm px-sm py-xxs duration-100 not-disabled:hover:bg-secondary-hover disabled:cursor-default!`,onClick:g[0]||=e=>(0,f.unref)(l)?.toggleSort(t.columnKey)},[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`min-w-0 text-xs font-medium text-primary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{mode:`popLayout`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:v.value??`none`,initial:{opacity:0,filter:`blur(2px)`,scale:.5},animate:{opacity:1,filter:`blur(0px)`,scale:1},exit:{opacity:0,filter:`blur(2px)`,scale:.5},transition:{duration:.15,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[y.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(y.value),{key:0,class:(0,f.normalizeClass)([[v.value===null?`text-disabled`:`text-primary`],`size-3 duration-150`])},null,8,[`class`]))]),_:1}))]),_:1})],8,NV)]),_:1})),(0,f.createVNode)((0,f.unref)(yc),{actions:t.actionConfig?.actions??[],metadata:t.actionConfig?.metadata,"is-current-context-only":t.actionConfig?.currentContextOnly??!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(zn),"is-tooltip-disabled":t.actionConfig?.label===void 0,label:t.actionConfig?.label??(0,f.unref)(r).t(`component.table.header_cell.options_label`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-tooltip-disabled`,`label`])]),_:1},8,[`actions`,`metadata`,`is-current-context-only`])]),_:1}),t.isResizable&&!(0,f.unref)(i)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,class:`group/handle absolute top-0 right-0 z-10 flex h-full w-4 cursor-col-resize items-center justify-center select-none`,onMousedown:g[1]||=(0,f.withModifiers)(e=>(0,f.unref)(d)(t.columnIndex,e.clientX,p.value),[`prevent`]),onDblclick:g[2]||=(0,f.withModifiers)(e=>(0,f.unref)(u)(t.columnIndex,p.value),[`prevent`])},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"scale-92":(0,f.unref)(o)},`h-5 w-1 rounded-full bg-fg-disabled opacity-0 duration-150 group-hover/handle:opacity-100`])},null,2)],32)):(0,f.createCommentVNode)(``,!0)],10,jV)]),content:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(os),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(ls),{text:t.description},null,8,[`text`])]),_:1})]),_:1},8,[`is-disabled`]))}}),FV=(0,f.defineComponent)({__name:`TableHeader`,setup(e){let t=(0,g.useI18n)(),{isGroupingEnabled:n,actions:r,headerActions:i}=oV();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(iV,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(cV).HEADER}),class:(0,f.normalizeClass)([{"border-b border-secondary":!(0,f.unref)(n)},`sticky top-0`])},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"bg-secondary":!(0,f.unref)(n)},`bg-primary`]),"aria-hidden":`true`},null,2),(0,f.unref)(r).length>0||(0,f.unref)(i).length>0?((0,f.openBlock)(),(0,f.createBlock)(PV,{key:0,"column-index":0,"is-resizable":!1,label:null,"action-config":{actions:(0,f.unref)(i)??[],label:(0,f.unref)(t).t(`component.table.settings_label`),currentContextOnly:!1},"column-key":``,class:`sticky right-0 z-1 h-full`},null,8,[`action-config`])):(0,f.createCommentVNode)(``,!0)]),_:3},8,[`style`,`class`]))}}),IV=(0,f.defineComponent)({__name:`TableHeaderCellBase`,props:{isCentered:{type:Boolean,default:!1},centerContent:{type:Boolean}},setup(e){let t=e,n=(0,f.computed)(()=>t.isCentered||t.centerContent===!0),{isGroupingEnabled:r,isScrolledFromLeft:i}=oV();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(i),"justify-center":n.value,"bg-secondary":!(0,f.unref)(r)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[(0,f.renderSlot)(e.$slots,`default`)],2))}}),LV=(0,f.defineComponent)({__name:`TableHeaderCheckboxCell`,setup(e){let t=(0,g.useI18n)(),{isAllSelected:n,isIndeterminate:r,toggleAll:i}=fV();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(IV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(n),"is-indeterminate":(0,f.unref)(r)&&!(0,f.unref)(n),"is-label-hidden":!0,label:(0,f.unref)(t).t(`component.table.header.select_all_label`),"onUpdate:modelValue":(0,f.unref)(i)},null,8,[`model-value`,`is-indeterminate`,`label`,`onUpdate:modelValue`])]),_:1}))}}),RV=(0,f.defineComponent)({__name:`TableHiddenResultsWarning`,setup(e){let t=(0,g.useI18n)(),{activeFilterCountIncludingSearch:n,onClearFiltersAndSearch:r}=oV();return(e,i)=>(0,f.unref)(n)>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:`p-xl`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.table.hidden_results_warning.message`,{count:(0,f.unref)(n)}),class:`text-xs text-tertiary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(t).t(`component.table.empty_state.no_results.clear_filters_label`),size:`sm`,variant:`secondary`,onClick:(0,f.unref)(r)},null,8,[`label`,`onClick`])]),_:1})):(0,f.createCommentVNode)(``,!0)}}),zV=ns((0,f.defineComponent)({__name:`TableLoading`,setup(e){let{gridTemplateColumns:t}=oV(),n=[`60%`,`70%`,`65%`,`75%`,`60%`,`70%`];function r(e,t){return n[(e*3+t)%n.length]}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(iV,{style:(0,f.normalizeStyle)({gridTemplateColumns:(0,f.unref)(t)}),class:`z-10 grid w-full mask-b-to-transparent px-2xl`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(10,e=>(0,f.createVNode)(iV,{key:e,style:(0,f.normalizeStyle)({"--row-index":e-1}),class:`custom-skeleton-row py-lg`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(3,t=>(0,f.createVNode)((0,f.unref)(J),{key:t,style:(0,f.normalizeStyle)({maxWidth:r(e-1,t-1)}),class:`h-4`},null,8,[`style`])),64))]),_:2},1032,[`style`])),64))]),_:1},8,[`style`]))}}),[[`__scopeId`,`data-v-0577cb9a`]]);function BV({max:e,min:t}){return e===`auto`?`minmax(${t}, auto)`:t===e?t:t===`min-content`?`fit-content(${e})`:`minmax(${t}, ${e})`}var VV=`2.5rem`,HV=class{static columnSizesToGridTemplateColumns(e,t,n=!1){let r=`${e.map(BV).join(` `)} minmax(0, 1fr)${t?` min-content`:``}`;return n?`${VV} ${r}`:r}};function UV(e,t){return e===`min-content`||e===`auto`?t===`min`?0:1/0:e.endsWith(`rem`)?Number.parseFloat(e)*Number.parseFloat(getComputedStyle(document.documentElement).fontSize):t===`min`?0:1/0}function WV(e,t,n){let r=`${e.map((e,n)=>n===t?`max-content`:`${e}px`).join(` `)} minmax(0, 1fr) min-content`;return n?`${VV} ${r}`:r}function GV(e,t,n,r,i,a,o,s){let c=(0,f.ref)(null),l=(0,f.ref)(null),u=(0,f.ref)(null),d=(0,f.ref)(null),h=(0,f.ref)(0),_=(0,f.ref)(0),v=(0,f.computed)(()=>d.value!==null),y=(0,f.computed)(()=>l.value===null?c.value??b():WV(l.value,u.value,a.value));function b(){return HV.columnSizesToGridTemplateColumns(e.value,!0,a.value)}(0,f.watch)([t,n,e],([e,r])=>{if(e===null||!r)return;let i=j();if(i.length>0){let e=i.length+2+ +!!a.value;c.value=Array.from({length:e}).fill(`max-content`).join(` `)}setTimeout(()=>{n.value&&t.value!==null&&k(j())},0)},{flush:`post`}),(0,f.watch)([o,s],()=>{l.value=null,c.value=null});let x=0,S=(0,m.useDebounceFn)(e=>{C(e)},25);(0,m.useResizeObserver)(t,e=>{let n=e[0]?.borderBoxSize[0]?.inlineSize;n===void 0||n===x||(x=n,l.value===null&&t.value!==null&&S(t.value))},{box:`border-box`});async function C(e){c.value=null,await(0,f.nextTick)(),c.value=getComputedStyle(e).gridTemplateColumns}(0,f.watch)(()=>e.value.length,()=>{l.value=null,u.value=null,d.value=null});function w(t,n){let r=e.value[t];if(r===void 0)return n;let i=UV(r.min,`min`),a=UV(r.max,`max`);return Math.min(a,Math.max(i,n))}function T(t){let n=Array.from(t.parentElement?.children??[]),r=+!!a.value;return n.slice(r,r+e.value.length).map(e=>e.getBoundingClientRect().width)}function E(e,t,n){let r=T(n);l.value=r,d.value=e,h.value=t,_.value=r[e]}function D(e){if(d.value===null||l.value===null)return;let t=e.clientX-h.value,n=w(d.value,_.value+t),r=[...l.value];r[d.value]=n,l.value=r}function O(){d.value=null}async function ee(e,t){l.value===null&&(l.value=T(t)),u.value=e,await(0,f.nextTick)();let n=t.getBoundingClientRect().width,r=[...l.value];r[e]=w(e,n),l.value=r,u.value=null}function k(e){let n=t.value;if(e.length===0||n===null)return;let r=e.length+2+ +!!a.value;n.style.gridTemplateColumns=Array.from({length:r}).fill(`max-content`).join(` `);let i=e.map((e,t)=>w(t,e.getBoundingClientRect().width));n.style.gridTemplateColumns=WV(i,null,a.value),l.value=i}document.addEventListener(`mousemove`,D),document.addEventListener(`mouseup`,O),(0,f.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,D),document.removeEventListener(`mouseup`,O)});let A=(0,g.useI18n)();function j(){let n=t.value?.children[0];if(n===void 0)return[];let r=+!!a.value;return Array.from(n.children).slice(r,r+e.value.length)}let te=(0,p.createAction)({id:`table-auto-fit-columns`,isApplicable:()=>!i.value,name:()=>A.t(`component.table.auto_fit_columns_action.name`),execute:()=>k(j()),group:r.value??void 0,icon:()=>hi,keyboardShortcut:{key:`A`,shift:!0}});return(0,p.useTemporaryActions)(te),{isResizing:v,autoFitColumnsAction:te,fitColumnToContent:ee,gridTemplateColumns:y,startColumnResize:E}}function KV(){let e=(0,f.ref)(!1),t=(0,f.ref)(!0),n=(0,f.ref)(!1);function r(r){e.value=r.scrollLeft>0,t.value=r.scrollLeft+r.clientWidth>=r.scrollWidth-1,n.value=r.scrollHeight>r.clientHeight}function i(e){r(e),e.addEventListener(`scroll`,()=>r(e),{passive:!0});let t=new ResizeObserver(()=>r(e));t.observe(e);let n=e.children[0];n!==void 0&&t.observe(n)}return{isScrollableVertically:n,isScrolledFromLeft:e,isScrolledToEnd:t,setScrollContainer:i}}var qV=(0,f.defineComponent)({__name:`TableRoot`,props:{hasActiveSearch:{type:Boolean,default:!1},isColumnResizeDisabled:{type:Boolean},isInitialized:{type:Boolean},isSelectable:{type:Boolean,default:!1},actionGroup:{default:null},actions:{default:()=>[]},activeFilterCount:{default:0},columnSizes:{},disableColumnResize:{type:Boolean},headerActions:{default:()=>[]},sort:{default:null},variant:{default:`full-page`},onNextPage:{}},emits:[`clearFiltersAndSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.ref)(null),{isScrollableVertically:a,isScrolledFromLeft:o,isScrolledToEnd:s,setScrollContainer:c}=KV(),l=(0,f.ref)(0),u=(0,f.computed)(()=>l.value>0),d=(0,f.computed)(()=>i.value?.children[0]??null),p=(0,f.computed)(()=>n.isColumnResizeDisabled===!0||n.disableColumnResize===!0),{isResizing:h,autoFitColumnsAction:g,fitColumnToContent:_,gridTemplateColumns:v,startColumnResize:y}=GV((0,f.computed)(()=>n.columnSizes),d,(0,f.computed)(()=>n.isInitialized),(0,f.computed)(()=>n.actionGroup),p,(0,f.computed)(()=>n.isSelectable),(0,f.computed)(()=>n.hasActiveSearch??!1),(0,f.computed)(()=>n.activeFilterCount??0)),b=(0,f.computed)(()=>(n.activeFilterCount??0)+ +!!n.hasActiveSearch);function x(){l.value+=1}function S(){--l.value}function C(){r(`clearFiltersAndSearch`)}return(0,m.useInfiniteScroll)(i,()=>{n.onNextPage?.()},{offset:{bottom:400}}),(0,f.watch)(a,e=>{!e&&n.isInitialized&&n.onNextPage?.()},{immediate:!0}),aV({isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isGroupingEnabled:(0,f.computed)(()=>u.value),isResizingColumn:h,isScrollableVertically:(0,f.computed)(()=>a.value),isScrolledFromLeft:(0,f.computed)(()=>o.value),isScrolledToEnd:(0,f.computed)(()=>s.value),isSelectable:(0,f.computed)(()=>n.isSelectable),actions:(0,f.computed)(()=>n.actions),activeFilterCountIncludingSearch:b,gridTemplateColumns:v,headerActions:(0,f.computed)(()=>[...n.headerActions,g]),registerGroup:x,setScrollContainer:e=>{i.value=e,c(e)},sort:n.sort,unregisterGroup:S,variant:(0,f.computed)(()=>n.variant),onClearFiltersAndSearch:C,onColumnResizeFitToContent:_,onColumnResizeStart:y}),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),[JV,YV]=z(`tableScrollContainerContext`),XV=(0,f.defineComponent)({__name:`TableScrollContainer`,props:{isScrollDisabled:{type:Boolean,default:!1},disableScroll:{type:Boolean}},setup(e){let t=e,n=(0,f.computed)(()=>t.isScrollDisabled||t.disableScroll===!0),{gridTemplateColumns:r,setScrollContainer:i,variant:a}=oV(),o=YV(null),s=(0,f.useTemplateRef)(`containerEl`);return(0,f.onMounted)(()=>{s.value!==null&&(i(s.value),o!==null&&(o.value=s.value))}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{ref_key:`containerEl`,ref:s,class:(0,f.normalizeClass)([{"rounded-xl border border-secondary":(0,f.unref)(a)===`contained`&&!n.value,"overflow-auto":!n.value},`max-h-full w-full contain-layout contain-paint outline-none`])},[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({gridTemplateColumns:(0,f.unref)(r)}),class:`grid`},[(0,f.renderSlot)(e.$slots,`default`)],4),(0,f.renderSlot)(e.$slots,`outside-grid`)],2))}});function ZV(e,t){let{isAllSelected:n,isIndeterminate:r,isKeySelected:i,clearSelection:a,getKeysSelectionState:o,toggleAll:s,toggleKey:c,toggleKeys:l}=rL({orderedKeys:t});function u(t){return o(t.map(t=>e(t)))===`all`}function d(t){return o(t.map(t=>e(t)))===`some`}function f(t){l(t.map(t=>e(t)))}return{isAllSelected:n,isGroupAllSelected:u,isGroupIndeterminate:d,isIndeterminate:r,isItemSelected:i,clearSelection:a,toggleAll:s,toggleGroup:f,toggleItem:c}}function QV(e,t){let n=(0,S.useVirtualizer)((0,f.computed)(()=>({count:e.value,estimateSize:()=>40,getScrollElement:()=>t.value,overscan:5}))),r=(0,f.computed)(()=>n.value.getVirtualItems()),i=(0,f.computed)(()=>n.value.getTotalSize()),a=(0,f.computed)(()=>r.value.at(0)?.start??0);return{paddingAfterPx:(0,f.computed)(()=>{let e=r.value.at(-1);return e==null?0:i.value-e.end}),paddingBeforePx:a,virtualItems:r}}var $V=(0,f.defineComponent)({__name:`Table`,props:{isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},isSelectable:{type:Boolean,default:!1},columns:{},data:{},error:{},getActionModel:{},getKey:{},getLink:{type:[Function,null],default:null},groupHeaderCells:{},onRowClick:{type:[Function,null],default:null},hasActiveSearch:{type:Boolean},isColumnResizeDisabled:{type:Boolean},actionGroup:{},actions:{},activeFilterCount:{default:0},disableColumnResize:{type:Boolean},headerActions:{},sort:{},variant:{},onNextPage:{}},emits:[`clearFilters`,`clearSearch`],setup(e,{emit:t}){let n=e,r=t;n.getLink!==null&&n.onRowClick!==null&&console.warn("[Table] `getLink` and `onRowClick` are mutually exclusive — a row supports only one interaction mode. `onRowClick` will be ignored for rows where `getLink` returns a value.");let i=(0,g.useI18n)(),a=(0,f.shallowRef)(null);JV(a);let o=(0,f.computed)(()=>{if(n.data.length===0)return`flat`;let e=n.data[0];return`subGroups`in e?`with-sub-groups`:`items`in e?`grouped`:`flat`}),s=(0,f.computed)(()=>n.data),c=(0,f.computed)(()=>n.data),l=(0,f.computed)(()=>n.data),u=(0,f.computed)(()=>o.value===`flat`?s.value.map(e=>n.getKey(e)):o.value===`grouped`?c.value.flatMap(e=>e.items.map(e=>n.getKey(e))):l.value.flatMap(e=>e.subGroups.flatMap(e=>e.items.map(e=>n.getKey(e))))),d=(0,f.computed)(()=>n.columns.map(e=>e.size??{max:`20rem`,min:`min-content`})),{paddingAfterPx:p,paddingBeforePx:m,virtualItems:h}=QV((0,f.computed)(()=>o.value===`flat`?s.value.length:0),a),{isAllSelected:_,isGroupAllSelected:v,isGroupIndeterminate:y,isIndeterminate:b,isItemSelected:x,toggleAll:S,toggleGroup:C,toggleItem:w}=ZV(n.getKey,u);dV({isAllSelected:_,isGroupAllSelected:e=>v(e),isGroupIndeterminate:e=>y(e),isIndeterminate:b,isItemSelected:x,isSelectable:(0,f.computed)(()=>n.isSelectable),toggleAll:S,toggleGroup:e=>C(e),toggleItem:w}),(0,f.watch)(()=>n.data.length,(e,t)=>{e<t&&a.value?.scrollTo({top:0})});function T(){r(`clearFilters`),r(`clearSearch`)}return(t,r)=>((0,f.openBlock)(),(0,f.createBlock)(qV,{"column-sizes":d.value,actions:n.actions,"active-filter-count":n.activeFilterCount,"has-active-search":n.hasActiveSearch,"on-next-page":n.onNextPage,"is-initialized":n.data.length>0,"is-selectable":n.isSelectable,"header-actions":n.headerActions,"action-group":n.actionGroup,"is-column-resize-disabled":n.isColumnResizeDisabled,variant:n.variant,sort:n.sort,onClearFiltersAndSearch:T},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(XV,{"is-scroll-disabled":n.data.length===0},{"outside-grid":(0,f.withCtx)(()=>[n.isLoading||n.isFetchingNextPage?((0,f.openBlock)(),(0,f.createBlock)(zV,{key:0})):(0,f.createCommentVNode)(``,!0),e.data.length>0?((0,f.openBlock)(),(0,f.createBlock)(RV,{key:1})):(0,f.createCommentVNode)(``,!0)]),default:(0,f.withCtx)(()=>[e.data.length>0||n.isLoading?((0,f.openBlock)(),(0,f.createBlock)(FV,{key:0},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(LV,{key:0})):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(PV,{key:e.key,"column-index":t,"is-resizable":t<n.columns.length-1,label:e.headerLabel,description:e.headerDescription??null,"is-centered":e.isCenteredHeaderContent??e.centerHeaderContent??!1,"action-config":e.actionConfig,"column-key":e.key},null,8,[`column-index`,`is-resizable`,`label`,`description`,`is-centered`,`action-config`,`column-key`]))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(sV,null,{default:(0,f.withCtx)(()=>[o.value===`flat`?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.unref)(m)>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,style:(0,f.normalizeStyle)({height:`${(0,f.unref)(m)}px`}),class:`col-span-full`},null,4)):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(h),e=>((0,f.openBlock)(),(0,f.createBlock)(wV,{key:n.getKey(s.value[e.index]),"action-model":n.getActionModel?.(s.value[e.index]),"item-key":n.getKey(s.value[e.index]),link:n.getLink?.(s.value[e.index])??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(s.value[e.index])},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(EV,{key:0,"item-key":n.getKey(s.value[e.index])},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(s.value[e.index])),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128)),(0,f.unref)(p)>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,style:(0,f.normalizeStyle)({height:`${(0,f.unref)(p)}px`}),class:`col-span-full`},null,4)):(0,f.createCommentVNode)(``,!0)],64)):o.value===`with-sub-groups`?((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:1},(0,f.renderList)(l.value,e=>((0,f.openBlock)(),(0,f.createBlock)(hV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,label:e.label},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.subGroups,e=>((0,f.openBlock)(),(0,f.createBlock)(AV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,items:n.isSelectable?e.items:[],label:e.label},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(wV,{key:n.getKey(e),"action-model":n.getActionModel?.(e),"item-key":n.getKey(e),link:n.getLink?.(e)??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(e)},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(EV,{key:0,"item-key":n.getKey(e)},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128))]),_:2},1032,[`is-open-by-default`,`items`,`label`]))),128))]),_:2},1032,[`is-open-by-default`,`label`]))),128)):((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:2},(0,f.renderList)(c.value,e=>((0,f.openBlock)(),(0,f.createBlock)(hV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,items:n.isSelectable?e.items:[],label:e.label,"header-cells":n.groupHeaderCells?.(e)},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(wV,{key:n.getKey(e),"action-model":n.getActionModel?.(e),"item-key":n.getKey(e),link:n.getLink?.(e)??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(e)},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(EV,{key:0,"item-key":n.getKey(e)},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128))]),_:2},1032,[`is-open-by-default`,`items`,`label`,`header-cells`]))),128))]),_:1})]),_:1},8,[`is-scroll-disabled`]),n.error===null?n.data.length===0&&!n.isLoading?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[n.activeFilterCount>0||n.hasActiveSearch?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{key:0,"secondary-action":{type:`button`,label:(0,f.unref)(i).t(`component.table.empty_state.no_results.clear_filters_label`),onClick:T},title:(0,f.unref)(i).t(`component.table.empty_state.no_results.title`),description:(0,f.unref)(i).t(`component.table.empty_state.no_results.description`),illustration:n.variant===`contained`?null:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`secondary-action`,`title`,`description`,`illustration`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{key:1,title:(0,f.unref)(i).t(`component.table.empty_state.no_data.title`),description:(0,f.unref)(i).t(`component.table.empty_state.no_data.description`),illustration:n.variant===`contained`?null:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`title`,`description`,`illustration`]))],64)):(0,f.createCommentVNode)(``,!0):(0,f.renderSlot)(t.$slots,`error`,{key:0,error:n.error},()=>[(0,f.createVNode)((0,f.unref)(rI),{error:n.error},null,8,[`error`])])]),_:3},8,[`column-sizes`,`actions`,`active-filter-count`,`has-active-search`,`on-next-page`,`is-initialized`,`is-selectable`,`header-actions`,`action-group`,`is-column-resize-disabled`,`variant`,`sort`]))}}),eH=(0,f.defineComponent)({__name:`TableBodyRowCellText`,props:{isPrimaryCell:{type:Boolean,default:!1},text:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{class:(0,f.normalizeClass)([{"font-medium":t.isPrimaryCell},`truncate text-xs text-secondary`])},(0,f.toDisplayString)(t.text),3))}}),tH={},nH={class:`last-of-type:pr-2xl last-of-type:pl-xl`};function rH(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,nH,[(0,f.renderSlot)(e.$slots,`default`)])}var iH=ns(tH,[[`render`,rH]]);function aH(){let e=(0,f.ref)(null),t=(0,f.ref)(null),n=(0,f.ref)(null),r=(0,f.ref)(0),i=(0,f.ref)(0),a=(0,f.computed)(()=>n.value!==null);function o(t,a,o){e.value=o,n.value=t,r.value=a,i.value=o[t]}async function s(n,r,i){if(e.value===null){if(i===void 0)return;e.value=i}t.value=n,await(0,f.nextTick)();let a=r.getBoundingClientRect().width,o=[...e.value];o[n]=a,e.value=o,t.value=null}function c(t){if(t.length===0)return;let n=t[0].parentElement,r=n?.parentElement;if(r==null||n==null)return;let i=n.children.length;r.style.gridTemplateColumns=Array.from({length:i}).fill(`max-content`).join(` `);let a=t.map(e=>e.getBoundingClientRect().width),o=i>t.length+1,s=a.map(e=>`${e}px`).join(` `);r.style.gridTemplateColumns=o?`${s} minmax(min-content, auto) min-content`:`${s} minmax(min-content, auto)`,e.value=a}function l(){e.value=null,n.value=null,t.value=null}function u(t){if(n.value===null||e.value===null)return;let a=t.clientX-r.value,o=Math.max(50,i.value+a),s=[...e.value];s[n.value]=o,e.value=s}function d(){n.value!==null&&(n.value=null)}return document.addEventListener(`mousemove`,u),document.addEventListener(`mouseup`,d),(0,f.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,u),document.removeEventListener(`mouseup`,d)}),{isResizingColumn:a,contentFitColumnIndex:t,fitAllColumnsToContent:c,fitColumnToContent:s,fixedWidths:e,resetWidths:l,startResize:o}}function oH(e,t,n){let r=(0,f.ref)(null);(0,f.watch)([n,t,e],([e,t])=>{e===null||!t||i(e)});async function i(e){r.value=null,await(0,f.nextTick)(),r.value=getComputedStyle(e).gridTemplateColumns}let a=0;return(0,m.useResizeObserver)(n,e=>{let t=e[0]?.borderBoxSize[0]?.inlineSize;t!==void 0&&t!==a&&(a=t,i(n.value))},{box:`border-box`}),{frozenColumns:r}}function sH(){return e=>e}var cH=(0,f.defineComponent)({__name:`TableCustomizationDialog`,props:{columnStates:{}},emits:[`close`,`columnStatesChange`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.ref)(n.columnStates),o=(0,f.computed)(()=>a.value.filter(e=>e.isVisible).length);function s(e){e.isVisible=!e.isVisible,r(`columnStatesChange`,a.value)}function c(){r(`columnStatesChange`,a.value)}function l(){r(`close`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Vy),{size:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ky),{title:(0,f.unref)(i).t(`component.table_customization.dialog.title`),description:(0,f.unref)(i).t(`component.table_customization.dialog.description`)},null,8,[`title`,`description`]),(0,f.createVNode)((0,f.unref)(YC),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(T.VueDraggable),{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,animation:150,handle:`[data-drag-handle]`,class:`flex flex-col gap-y-md`,onEnd:c},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.column.key,class:`flex cursor-default items-center gap-x-md py-xs`},[(0,f.createVNode)((0,f.unref)(Fn),{class:`size-4 shrink-0 cursor-grab text-fg-disabled duration-150 active:scale-90`,"data-drag-handle":``}),(0,f.createVNode)((0,f.unref)(G),{text:e.column.headerLabel,class:(0,f.normalizeClass)([{"text-secondary":e.isVisible,"text-fg-disabled":!e.isVisible},`text-xs font-medium duration-150`])},null,8,[`text`,`class`]),(0,f.createVNode)((0,f.unref)(sD),{"model-value":e.isVisible,"is-disabled":e.isVisible&&o.value===1,label:e.column.headerLabel,"is-label-hidden":!0,class:`ml-auto`,"onUpdate:modelValue":t=>s(e)},null,8,[`model-value`,`is-disabled`,`label`,`onUpdate:modelValue`])]))),128))]),_:1},8,[`modelValue`])]),_:1}),(0,f.createVNode)((0,f.unref)(Hy),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Gy),{label:(0,f.unref)(i).t(`component.table_customization.dialog.done`),onClick:l},null,8,[`label`])]),_:1})]),_:1}))}});function lH(e){let t=(0,g.useI18n)(),n=QC().create(cH),r=(0,f.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,f.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,p.createAction)({id:`data-table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>Cn,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}function uH(e){let t=(0,g.useI18n)(),n=QC().create(cH),r=(0,f.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,f.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,p.createAction)({id:`table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>Cn,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}var dH=W({slots:{input:`
1140
+ `}}),tV=(0,f.defineComponent)({__name:`SwitchThumbIcon`,setup(e){let{isChecked:t,iconChecked:n,iconUnchecked:r,switchStyle:i}=$B(),a=(0,f.computed)(()=>t.value?n.value:r.value);return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.AnimatePresence),{initial:!1,mode:`popLayout`},{default:(0,f.withCtx)(()=>[a.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:a.value?.name??String((0,f.unref)(t)),initial:{opacity:0,x:(0,f.unref)(t)?-8:8,filter:`blur(2px)`},animate:{opacity:1,scale:1,x:0,filter:`blur(0px)`},exit:{opacity:0,x:(0,f.unref)(t)?-8:8,filter:`blur(2px)`},transition:{duration:.25,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(a.value),{class:(0,f.normalizeClass)((0,f.unref)(i).thumbIcon())},null,8,[`class`]))]),_:1},8,[`initial`,`exit`]))]),_:1}))}}),nV=(0,f.defineComponent)({__name:`Switch`,props:(0,f.mergeModels)((0,f.mergeDefaults)({iconChecked:{},iconUnchecked:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...yb,...bb,iconChecked:null,iconUnchecked:null}),{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=n.id??(0,f.useId)(),o=(0,f.computed)(()=>eV()),s=(0,f.computed)(()=>n.isErrorMessageHidden||n.hideErrorMessage);return QB({isChecked:(0,f.computed)(()=>i.value),iconChecked:(0,f.computed)(()=>n.iconChecked??null),iconUnchecked:(0,f.computed)(()=>n.iconUnchecked??null),switchStyle:o}),(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(K,{"is-disabled":!n.isDisabled||n.disabledReason==null,label:n.disabledReason},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(B,{align:`start`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.SwitchRoot),{id:(0,f.unref)(a),modelValue:i.value,"onUpdate:modelValue":t[0]||=e=>i.value=e,disabled:n.isDisabled,"data-invalid":n.errorMessage!==null&&n.errorMessage!==void 0||void 0,class:(0,f.normalizeClass)(o.value.root()),onBlur:t[1]||=e=>r(`blur`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.SwitchThumb),{class:(0,f.normalizeClass)(o.value.thumb())},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(tV)]),_:1},8,[`class`])]),_:1},8,[`id`,`modelValue`,`disabled`,`data-invalid`,`class`]),(0,f.createElementVNode)(`div`,null,[n.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:(0,f.normalizeClass)([n.isLabelHidden&&`sr-only`]),gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`),(0,f.createVNode)((0,f.unref)(G),{for:n.for??(0,f.unref)(a),text:n.label,class:(0,f.normalizeClass)((0,f.unref)(Jo)(`text-xs/5 font-medium text-secondary`,n.isRequired?`after:pl-xxs after:text-error-primary`:``)),"data-label-required":n.isRequired?``:null,as:`label`},null,8,[`for`,`text`,`class`,`data-label-required`]),(0,f.renderSlot)(e.$slots,`right`)]),_:3},8,[`class`])),(0,f.createVNode)(Hb,{hint:n.hint,for:n.for},null,8,[`hint`,`for`]),s.value?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)(Vb,{key:1,"error-message":n.errorMessage,for:n.for},null,8,[`error-message`,`for`]))])]),_:3})]),_:3},8,[`is-disabled`,`label`]))}}),rV=(0,f.defineComponent)({__name:`TableSubgrid`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{class:`col-span-full grid grid-cols-subgrid`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),[iV,aV]=z(`tableContext`),oV=(0,f.defineComponent)({__name:`TableBody`,setup(e){let{isScrollableVertically:t,variant:n}=aV(),r=(0,f.computed)(()=>t.value||n.value===`contained`);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(rV,{class:(0,f.normalizeClass)([{"[&>*:last-child]:border-b-0":r.value},`group/body`])},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3},8,[`class`]))}}),sV={GROUP:3,HEADER:4,SUBGROUP:2},[cV,lV]=z(`tableGroupContext`),[uV,dV]=z(`tableSelectionContext`),fV={class:`h-full flex-1 outline-none`},pV={class:`w-5`},mV=(0,f.defineComponent)({__name:`TableBodyGroup`,props:{isOpenByDefault:{type:Boolean,default:!0},defaultOpen:{type:Boolean},headerCells:{},items:{default:()=>[]},label:{}},setup(e){let t=e,{isScrolledFromLeft:n,isSelectable:r,registerGroup:i,unregisterGroup:a}=aV(),{isGroupAllSelected:o,isGroupIndeterminate:s,toggleGroup:c}=dV(),l=(0,g.useI18n)();return cV({isGroup:!0}),i(),(0,f.onBeforeUnmount)(()=>{a()}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{as:rV,"default-open":t.defaultOpen===void 0?t.isOpenByDefault:t.defaultOpen,class:`group/collapsible`},{default:(0,f.withCtx)(({open:a})=>[(0,f.createVNode)(rV,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(sV).GROUP}),class:`group/group sticky top-10 h-8 items-center group-data-[state=open]/collapsible:bg-secondary hover:bg-secondary has-focus-visible:bg-tertiary`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"border-r border-secondary":(0,f.unref)(n),"col-span-2":(0,f.unref)(r)},`sticky left-0 z-1 flex h-full items-center gap-xs bg-primary px-2xl group-hover/group:bg-secondary group-has-focus-visible/group:bg-tertiary group-data-[state=open]/collapsible:bg-secondary`])},[(0,f.unref)(r)?((0,f.openBlock)(),(0,f.createBlock)(oD,{key:0,"model-value":(0,f.unref)(o)(t.items)||(0,f.unref)(s)(t.items),"is-indeterminate":(0,f.unref)(s)(t.items)&&!(0,f.unref)(o)(t.items),"is-label-hidden":!0,label:(0,f.unref)(l).t(`component.table.group.toggle_selection_label`),class:`mr-sm`,"onUpdate:modelValue":i[0]||=()=>(0,f.unref)(c)(t.items)},null,8,[`model-value`,`is-indeterminate`,`label`])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,fV,[(0,f.createVNode)((0,f.unref)(B),{gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,pV,[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!a},`size-3.5 text-disabled duration-150 group-hover/group:text-secondary`])},null,8,[`class`])]),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],2),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(t.headerCells,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(e),{key:t}))),128))]),_:2},1032,[`style`]),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{as:rV,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),[hV,gV]=z(`tableBodyRowContext`),[_V,vV]=z(`tableSubGroupContext`),yV={class:`pointer-events-none relative z-1 flex size-full min-w-0 items-center`},bV=(0,f.defineComponent)({__name:`TableBodyRowCell`,setup(e){let{isScrolledFromLeft:t,isSelectable:n,variant:r}=aV(),{link:i,onClick:a}=gV({link:(0,f.computed)(()=>null),onClick:(0,f.computed)(()=>null)}),{isGroup:o}=lV({isGroup:!1}),{isSubGroup:s}=vV({isSubGroup:!1}),c=(0,f.computed)(()=>s?(n.value,`first-of-type:pl-15`):o?(n.value,`first-of-type:pl-10`):`first-of-type:pl-2xl`);return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([[{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(t),"h-10":(0,f.unref)(r)===`full-page`,"h-9":(0,f.unref)(r)===`contained`},c.value],`relative flex items-center overflow-hidden bg-primary px-xl not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary first-of-type:sticky first-of-type:left-0 first-of-type:z-2 last-of-type:pr-2xl`])},[(0,f.unref)(i)===null?(0,f.unref)(a)===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,tabindex:`-1`,class:`absolute inset-0 z-0`,type:`button`,onClick:n[0]||=(...e)=>(0,f.unref)(a)&&(0,f.unref)(a)(...e)})):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(y.RouterLink),{key:0,to:(0,f.unref)(i),tabindex:`-1`,class:`absolute inset-0 z-0`},null,8,[`to`])),(0,f.createElementVNode)(`div`,yV,[(0,f.renderSlot)(e.$slots,`default`)])],2))}}),xV=(0,f.defineComponent)({__name:`TableBodyRowActionsCell`,props:{actionModel:{}},setup(e){let t=e,n=(0,g.useI18n)(),{actions:r}=aV();return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(bV,{class:`sticky right-0 z-1 flex items-center justify-end`,"data-row-actions":``},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(yc),{actions:(0,f.unref)(r),models:t.actionModel===null?[]:[t.actionModel],"is-current-context-only":!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{"is-tooltip-disabled":!0,icon:(0,f.unref)(zn),label:(0,f.unref)(n).t(`component.table.actions_cell.label`),size:`sm`,variant:`tertiary`,class:`pointer-events-auto opacity-0 group-hover/row:opacity-100 group-has-focus-visible/row:opacity-100 group-has-[[data-row-actions]_[data-state=open]]/row:opacity-100 pointer-coarse:opacity-100`},null,8,[`icon`,`label`])]),_:1},8,[`actions`,`models`])]),_:1}))}}),SV=[`aria-label`],CV=(0,f.defineComponent)({__name:`TableBodyRow`,props:{actionModel:{default:null},ariaLabel:{default:null},itemKey:{default:null},link:{default:null},onRowClick:{type:[Function,null],default:null}},setup(e){let t=e,n=(0,g.useI18n)(),{isGroupingEnabled:r,actions:i}=aV(),{isSelectable:a,toggleItem:o}=dV(),s=(0,p.createAction)({id:`table-row-toggle-selection`,isApplicable:e=>a.value&&t.itemKey!==null&&e.menuType===void 0,name:()=>n.t(`component.table.row.toggle_selection_action.name`),execute:()=>{t.itemKey!=null&&o(t.itemKey)},keyboardShortcut:{key:`X`}});return hV({link:(0,f.computed)(()=>t.link),onClick:(0,f.computed)(()=>t.onRowClick)}),(a,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(dc),{actions:(0,f.unref)(i),"is-current-context-only":!0,models:t.actionModel===null?[]:[t.actionModel]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(bc),{actions:[...(0,f.unref)(i),(0,f.unref)(s)],models:t.actionModel===null?[]:[t.actionModel]},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(rV,{class:(0,f.normalizeClass)([{"border-b border-secondary has-[[data-row-actions]_[data-state=open]]:border-secondary/25 data-[state=open]:border-secondary/25":!(0,f.unref)(r)},`group/row relative isolate transition-[filter,opacity] duration-150 group-has-[[data-context-menu-trigger][data-state=open]]/body:opacity-25 group-has-[[data-row-actions]_[data-state=open]]/body:opacity-25 not-has-[[data-row-actions]_[data-state=open]]:hover:bg-secondary has-focus-visible:bg-tertiary has-[[data-row-actions]_[data-state=open]]:opacity-100 data-[state=open]:opacity-100!`])},{default:(0,f.withCtx)(()=>[e.link===null?e.onRowClick===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`button`,{key:1,"aria-label":e.ariaLabel??(0,f.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`,type:`button`,onClick:o[0]||=(...t)=>e.onRowClick&&e.onRowClick(...t)},null,8,SV)):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(y.RouterLink),{key:0,to:e.link,"aria-label":e.ariaLabel??(0,f.unref)(n).t(`component.table.row.view_details_label`),class:`pointer-events-none absolute inset-0 z-0 outline-none`},null,8,[`to`,`aria-label`])),(0,f.renderSlot)(a.$slots,`default`),o[1]||=(0,f.createElementVNode)(`div`,{"aria-hidden":`true`,class:`bg-primary not-group-has-[[data-row-actions]_[data-state=open]]/row:group-hover/row:bg-secondary group-has-focus-visible/row:bg-tertiary`},null,-1),(0,f.unref)(i).length>0?((0,f.openBlock)(),(0,f.createBlock)(xV,{key:2,"action-model":t.actionModel},null,8,[`action-model`])):(0,f.createCommentVNode)(``,!0)]),_:3},8,[`class`])]),_:3},8,[`actions`,`models`])]),_:3},8,[`actions`,`models`]))}}),wV=(0,f.defineComponent)({__name:`TableBodyRowCellInteractiveElement`,setup(e){return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.Primitive),{"as-child":!0,class:`pointer-events-auto`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3}))}}),TV=(0,f.defineComponent)({__name:`TableBodyRowCheckboxCell`,props:{itemKey:{}},setup(e){let t=e,n=(0,g.useI18n)(),{isItemSelected:r,toggleItem:i}=dV(),a=(0,f.shallowRef)(!1);function o(e){a.value=e.shiftKey}function s(){i(t.itemKey,a.value)}return(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(bV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(K),{"keyboard-shortcut":{key:`X`},label:(0,f.unref)(n).t(`component.table.row.toggle_selection_action.name`)},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(wV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(r)(t.itemKey),label:(0,f.unref)(n).t(`component.table.row.toggle_selection_action.name`),"is-label-hidden":``,onClickCapture:o,"onUpdate:modelValue":s},null,8,[`model-value`,`label`])]),_:1})]),_:1},8,[`label`])]),_:1}))}}),EV={key:0,class:`flex h-full w-10 shrink-0 items-center justify-center`},DV={class:`h-full flex-1 px-5xl outline-none focus-visible:bg-tertiary`},OV={class:`w-5`},kV=(0,f.defineComponent)({__name:`TableBodySubGroup`,props:{isOpenByDefault:{type:Boolean,default:!0},defaultOpen:{type:Boolean},items:{default:()=>[]},label:{}},setup(e){let t=e,{isSelectable:n}=aV(),{isGroupAllSelected:r,isGroupIndeterminate:i,toggleGroup:a}=dV();return _V({isSubGroup:!0}),(e,o)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.CollapsibleRoot),{as:rV,"default-open":t.defaultOpen===void 0?t.isOpenByDefault:t.defaultOpen},{default:(0,f.withCtx)(({open:s})=>[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(sV).SUBGROUP}),class:`group/sub-group sticky top-18 col-span-full flex h-8 items-center bg-primary`},[(0,f.unref)(n)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,EV,[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(r)(t.items)||(0,f.unref)(i)(t.items),"is-indeterminate":(0,f.unref)(i)(t.items)&&!(0,f.unref)(r)(t.items),label:``,"is-label-hidden":``,"onUpdate:modelValue":o[0]||=()=>(0,f.unref)(a)(t.items)},null,8,[`model-value`,`is-indeterminate`])])):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)((0,f.unref)(h.CollapsibleTrigger),{"as-child":!0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,DV,[(0,f.createVNode)((0,f.unref)(B),{gap:`none`},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,OV,[(0,f.createVNode)((0,f.unref)(dn),{class:(0,f.normalizeClass)([{"-rotate-90":!s},`size-3.5 text-disabled duration-150 group-hover/sub-group:text-secondary`])},null,8,[`class`])]),(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`text-xs text-tertiary duration-150 group-hover/sub-group:text-secondary`},null,8,[`text`])]),_:2},1024)])]),_:2},1024)],4),(0,f.createVNode)((0,f.unref)(h.CollapsibleContent),{as:rV,class:`origin-top-left overflow-clip data-[state=closed]:animate-[table-collapsible-up_150ms] data-[state=open]:animate-[table-collapsible-down_150ms]`},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},8,[`default-open`]))}}),AV=[`aria-describedby`],jV=[`id`],MV=[`disabled`],NV=(0,f.defineComponent)({__name:`TableHeaderCell`,props:{isCentered:{type:Boolean,default:!1},isResizable:{type:Boolean,default:!0},actionConfig:{default:null},centerContent:{type:Boolean},columnIndex:{},columnKey:{},description:{default:null},label:{}},setup(e){let t=e,n=(0,f.computed)(()=>t.isCentered||t.centerContent===!0),r=(0,g.useI18n)(),{isColumnResizeDisabled:i,isGroupingEnabled:a,isResizingColumn:o,isScrolledFromLeft:s,isSelectable:c,sort:l,onColumnResizeFitToContent:u,onColumnResizeStart:d}=aV(),p=(0,f.useTemplateRef)(`cellEl`),m=(0,f.useId)(),h=(0,f.computed)(()=>l!==null&&l.existsSort(t.columnKey)),v=(0,f.computed)(()=>{if(!h.value)return null;let e=l?.getSort(t.columnKey)??null;return e===null?null:e.direction}),y=(0,f.computed)(()=>{if(!h.value)return null;switch(v.value){case`asc`:return Bt;case`desc`:return Ot;default:return yi}});return(e,g)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(ts),{"is-disabled":t.description===null,"popover-side-offset":4,"popover-side":`bottom`},{trigger:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{ref_key:`cellEl`,ref:p,"aria-describedby":t.description===null?void 0:(0,f.unref)(m),class:(0,f.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(s),"justify-center":n.value,"bg-secondary":!(0,f.unref)(a),"first-of-type:left-10":(0,f.unref)(c),"first-of-type:left-0":!(0,f.unref)(c)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[t.description===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{key:0,id:(0,f.unref)(m),class:`sr-only`},(0,f.toDisplayString)(t.description),9,jV)),(0,f.createVNode)((0,f.unref)(B),{class:`max-w-full min-w-0`,gap:`xs`},{default:(0,f.withCtx)(()=>[t.label===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Mb),{key:0},{default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`button`,{disabled:!h.value,type:`button`,class:`-ml-sm flex min-w-0 items-center gap-xs rounded-sm px-sm py-xxs duration-100 not-disabled:hover:bg-secondary-hover disabled:cursor-default!`,onClick:g[0]||=e=>(0,f.unref)(l)?.toggleSort(t.columnKey)},[(0,f.createVNode)((0,f.unref)(G),{text:t.label,class:`min-w-0 text-xs font-medium text-primary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)(_.AnimatePresence),{mode:`popLayout`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(_.Motion),{key:v.value??`none`,initial:{opacity:0,filter:`blur(2px)`,scale:.5},animate:{opacity:1,filter:`blur(0px)`,scale:1},exit:{opacity:0,filter:`blur(2px)`,scale:.5},transition:{duration:.15,type:`spring`,bounce:0}},{default:(0,f.withCtx)(()=>[y.value===null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(y.value),{key:0,class:(0,f.normalizeClass)([[v.value===null?`text-disabled`:`text-primary`],`size-3 duration-150`])},null,8,[`class`]))]),_:1}))]),_:1})],8,MV)]),_:1})),(0,f.createVNode)((0,f.unref)(yc),{actions:t.actionConfig?.actions??[],metadata:t.actionConfig?.metadata,"is-current-context-only":t.actionConfig?.currentContextOnly??!0,"popover-side":`bottom`,"popover-align":`end`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Y),{icon:(0,f.unref)(zn),"is-tooltip-disabled":t.actionConfig?.label===void 0,label:t.actionConfig?.label??(0,f.unref)(r).t(`component.table.header_cell.options_label`),size:`sm`,variant:`tertiary`},null,8,[`icon`,`is-tooltip-disabled`,`label`])]),_:1},8,[`actions`,`metadata`,`is-current-context-only`])]),_:1}),t.isResizable&&!(0,f.unref)(i)?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,class:`group/handle absolute top-0 right-0 z-10 flex h-full w-4 cursor-col-resize items-center justify-center select-none`,onMousedown:g[1]||=(0,f.withModifiers)(e=>(0,f.unref)(d)(t.columnIndex,e.clientX,p.value),[`prevent`]),onDblclick:g[2]||=(0,f.withModifiers)(e=>(0,f.unref)(u)(t.columnIndex,p.value),[`prevent`])},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"scale-92":(0,f.unref)(o)},`h-5 w-1 rounded-full bg-fg-disabled opacity-0 duration-150 group-hover/handle:opacity-100`])},null,2)],32)):(0,f.createCommentVNode)(``,!0)],10,AV)]),content:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(os),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(ls),{text:t.description},null,8,[`text`])]),_:1})]),_:1},8,[`is-disabled`]))}}),PV=(0,f.defineComponent)({__name:`TableHeader`,setup(e){let t=(0,g.useI18n)(),{isGroupingEnabled:n,actions:r,headerActions:i}=aV();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(rV,{style:(0,f.normalizeStyle)({zIndex:(0,f.unref)(sV).HEADER}),class:(0,f.normalizeClass)([{"border-b border-secondary":!(0,f.unref)(n)},`sticky top-0`])},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`default`),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)([{"bg-secondary":!(0,f.unref)(n)},`bg-primary`]),"aria-hidden":`true`},null,2),(0,f.unref)(r).length>0||(0,f.unref)(i).length>0?((0,f.openBlock)(),(0,f.createBlock)(NV,{key:0,"column-index":0,"is-resizable":!1,label:null,"action-config":{actions:(0,f.unref)(i)??[],label:(0,f.unref)(t).t(`component.table.settings_label`),currentContextOnly:!1},"column-key":``,class:`sticky right-0 z-1 h-full`},null,8,[`action-config`])):(0,f.createCommentVNode)(``,!0)]),_:3},8,[`style`,`class`]))}}),FV=(0,f.defineComponent)({__name:`TableHeaderCellBase`,props:{isCentered:{type:Boolean,default:!1},centerContent:{type:Boolean}},setup(e){let t=e,n=(0,f.computed)(()=>t.isCentered||t.centerContent===!0),{isGroupingEnabled:r,isScrolledFromLeft:i}=aV();return(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)([{"first-of-type:border-r first-of-type:border-secondary":(0,f.unref)(i),"justify-center":n.value,"bg-secondary":!(0,f.unref)(r)},`group relative flex h-10 items-center overflow-hidden bg-primary px-xl first-of-type:sticky first-of-type:z-2 first-of-type:pl-2xl last-of-type:pr-2xl`])},[(0,f.renderSlot)(e.$slots,`default`)],2))}}),IV=(0,f.defineComponent)({__name:`TableHeaderCheckboxCell`,setup(e){let t=(0,g.useI18n)(),{isAllSelected:n,isIndeterminate:r,toggleAll:i}=dV();return(e,a)=>((0,f.openBlock)(),(0,f.createBlock)(FV,null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)(oD,{"model-value":(0,f.unref)(n),"is-indeterminate":(0,f.unref)(r)&&!(0,f.unref)(n),"is-label-hidden":!0,label:(0,f.unref)(t).t(`component.table.header.select_all_label`),"onUpdate:modelValue":(0,f.unref)(i)},null,8,[`model-value`,`is-indeterminate`,`label`,`onUpdate:modelValue`])]),_:1}))}}),LV=(0,f.defineComponent)({__name:`TableHiddenResultsWarning`,setup(e){let t=(0,g.useI18n)(),{activeFilterCountIncludingSearch:n,onClearFiltersAndSearch:r}=aV();return(e,i)=>(0,f.unref)(n)>0?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(B),{key:0,class:`p-xl`,justify:`center`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(G),{text:(0,f.unref)(t).t(`component.table.hidden_results_warning.message`,{count:(0,f.unref)(n)}),class:`text-xs text-tertiary`},null,8,[`text`]),(0,f.createVNode)((0,f.unref)($v),{label:(0,f.unref)(t).t(`component.table.empty_state.no_results.clear_filters_label`),size:`sm`,variant:`secondary`,onClick:(0,f.unref)(r)},null,8,[`label`,`onClick`])]),_:1})):(0,f.createCommentVNode)(``,!0)}}),RV=ns((0,f.defineComponent)({__name:`TableLoading`,setup(e){let{gridTemplateColumns:t}=aV(),n=[`60%`,`70%`,`65%`,`75%`,`60%`,`70%`];function r(e,t){return n[(e*3+t)%n.length]}return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(rV,{style:(0,f.normalizeStyle)({gridTemplateColumns:(0,f.unref)(t)}),class:`z-10 grid w-full mask-b-to-transparent px-2xl`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(10,e=>(0,f.createVNode)(rV,{key:e,style:(0,f.normalizeStyle)({"--row-index":e-1}),class:`custom-skeleton-row py-lg`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(3,t=>(0,f.createVNode)((0,f.unref)(J),{key:t,style:(0,f.normalizeStyle)({maxWidth:r(e-1,t-1)}),class:`h-4`},null,8,[`style`])),64))]),_:2},1032,[`style`])),64))]),_:1},8,[`style`]))}}),[[`__scopeId`,`data-v-0577cb9a`]]);function zV({max:e,min:t}){return e===`auto`?`minmax(${t}, auto)`:t===e?t:t===`min-content`?`fit-content(${e})`:`minmax(${t}, ${e})`}var BV=`2.5rem`,VV=class{static columnSizesToGridTemplateColumns(e,t,n=!1){let r=`${e.map(zV).join(` `)} minmax(0, 1fr)${t?` min-content`:``}`;return n?`${BV} ${r}`:r}};function HV(e,t){return e===`min-content`||e===`auto`?t===`min`?0:1/0:e.endsWith(`rem`)?Number.parseFloat(e)*Number.parseFloat(getComputedStyle(document.documentElement).fontSize):t===`min`?0:1/0}function UV(e,t,n){let r=`${e.map((e,n)=>n===t?`max-content`:`${e}px`).join(` `)} minmax(0, 1fr) min-content`;return n?`${BV} ${r}`:r}function WV(e,t,n,r,i,a,o,s){let c=(0,f.ref)(null),l=(0,f.ref)(null),u=(0,f.ref)(null),d=(0,f.ref)(null),h=(0,f.ref)(0),_=(0,f.ref)(0),v=(0,f.computed)(()=>d.value!==null),y=(0,f.computed)(()=>l.value===null?c.value??b():UV(l.value,u.value,a.value));function b(){return VV.columnSizesToGridTemplateColumns(e.value,!0,a.value)}(0,f.watch)([t,n,e],([e,r])=>{if(e===null||!r)return;let i=j();if(i.length>0){let e=i.length+2+ +!!a.value;c.value=Array.from({length:e}).fill(`max-content`).join(` `)}setTimeout(()=>{n.value&&t.value!==null&&k(j())},0)},{flush:`post`}),(0,f.watch)([o,s],()=>{l.value=null,c.value=null});let x=0,S=(0,m.useDebounceFn)(e=>{C(e)},25);(0,m.useResizeObserver)(t,e=>{let n=e[0]?.borderBoxSize[0]?.inlineSize;n===void 0||n===x||(x=n,l.value===null&&t.value!==null&&S(t.value))},{box:`border-box`});async function C(e){c.value=null,await(0,f.nextTick)(),c.value=getComputedStyle(e).gridTemplateColumns}(0,f.watch)(()=>e.value.length,()=>{l.value=null,u.value=null,d.value=null});function w(t,n){let r=e.value[t];if(r===void 0)return n;let i=HV(r.min,`min`),a=HV(r.max,`max`);return Math.min(a,Math.max(i,n))}function T(t){let n=Array.from(t.parentElement?.children??[]),r=+!!a.value;return n.slice(r,r+e.value.length).map(e=>e.getBoundingClientRect().width)}function E(e,t,n){let r=T(n);l.value=r,d.value=e,h.value=t,_.value=r[e]}function D(e){if(d.value===null||l.value===null)return;let t=e.clientX-h.value,n=w(d.value,_.value+t),r=[...l.value];r[d.value]=n,l.value=r}function O(){d.value=null}async function ee(e,t){l.value===null&&(l.value=T(t)),u.value=e,await(0,f.nextTick)();let n=t.getBoundingClientRect().width,r=[...l.value];r[e]=w(e,n),l.value=r,u.value=null}function k(e){let n=t.value;if(e.length===0||n===null)return;let r=e.length+2+ +!!a.value;n.style.gridTemplateColumns=Array.from({length:r}).fill(`max-content`).join(` `);let i=e.map((e,t)=>w(t,e.getBoundingClientRect().width));n.style.gridTemplateColumns=UV(i,null,a.value),l.value=i}document.addEventListener(`mousemove`,D),document.addEventListener(`mouseup`,O),(0,f.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,D),document.removeEventListener(`mouseup`,O)});let A=(0,g.useI18n)();function j(){let n=t.value?.children[0];if(n===void 0)return[];let r=+!!a.value;return Array.from(n.children).slice(r,r+e.value.length)}let te=(0,p.createAction)({id:`table-auto-fit-columns`,isApplicable:()=>!i.value,name:()=>A.t(`component.table.auto_fit_columns_action.name`),execute:()=>k(j()),group:r.value??void 0,icon:()=>hi,keyboardShortcut:{key:`A`,shift:!0}});return(0,p.useTemporaryActions)(te),{isResizing:v,autoFitColumnsAction:te,fitColumnToContent:ee,gridTemplateColumns:y,startColumnResize:E}}function GV(){let e=(0,f.ref)(!1),t=(0,f.ref)(!0),n=(0,f.ref)(!1);function r(r){e.value=r.scrollLeft>0,t.value=r.scrollLeft+r.clientWidth>=r.scrollWidth-1,n.value=r.scrollHeight>r.clientHeight}function i(e){r(e),e.addEventListener(`scroll`,()=>r(e),{passive:!0});let t=new ResizeObserver(()=>r(e));t.observe(e);let n=e.children[0];n!==void 0&&t.observe(n)}return{isScrollableVertically:n,isScrolledFromLeft:e,isScrolledToEnd:t,setScrollContainer:i}}var KV=(0,f.defineComponent)({__name:`TableRoot`,props:{hasActiveSearch:{type:Boolean,default:!1},isColumnResizeDisabled:{type:Boolean},isInitialized:{type:Boolean},isSelectable:{type:Boolean,default:!1},actionGroup:{default:null},actions:{default:()=>[]},activeFilterCount:{default:0},columnSizes:{},disableColumnResize:{type:Boolean},headerActions:{default:()=>[]},sort:{default:null},variant:{default:`full-page`},onNextPage:{}},emits:[`clearFiltersAndSearch`],setup(e,{emit:t}){let n=e,r=t,i=(0,f.ref)(null),{isScrollableVertically:a,isScrolledFromLeft:o,isScrolledToEnd:s,setScrollContainer:c}=GV(),l=(0,f.ref)(0),u=(0,f.computed)(()=>l.value>0),d=(0,f.computed)(()=>i.value?.children[0]??null),p=(0,f.computed)(()=>n.isColumnResizeDisabled===!0||n.disableColumnResize===!0),{isResizing:h,autoFitColumnsAction:g,fitColumnToContent:_,gridTemplateColumns:v,startColumnResize:y}=WV((0,f.computed)(()=>n.columnSizes),d,(0,f.computed)(()=>n.isInitialized),(0,f.computed)(()=>n.actionGroup),p,(0,f.computed)(()=>n.isSelectable),(0,f.computed)(()=>n.hasActiveSearch??!1),(0,f.computed)(()=>n.activeFilterCount??0)),b=(0,f.computed)(()=>(n.activeFilterCount??0)+ +!!n.hasActiveSearch);function x(){l.value+=1}function S(){--l.value}function C(){r(`clearFiltersAndSearch`)}return(0,m.useInfiniteScroll)(i,()=>{n.onNextPage?.()},{offset:{bottom:400}}),(0,f.watch)(a,e=>{!e&&n.isInitialized&&n.onNextPage?.()},{immediate:!0}),iV({isColumnResizeDisabled:(0,f.computed)(()=>n.isColumnResizeDisabled),isGroupingEnabled:(0,f.computed)(()=>u.value),isResizingColumn:h,isScrollableVertically:(0,f.computed)(()=>a.value),isScrolledFromLeft:(0,f.computed)(()=>o.value),isScrolledToEnd:(0,f.computed)(()=>s.value),isSelectable:(0,f.computed)(()=>n.isSelectable),actions:(0,f.computed)(()=>n.actions),activeFilterCountIncludingSearch:b,gridTemplateColumns:v,headerActions:(0,f.computed)(()=>[...n.headerActions,g]),registerGroup:x,setScrollContainer:e=>{i.value=e,c(e)},sort:n.sort,unregisterGroup:S,variant:(0,f.computed)(()=>n.variant),onClearFiltersAndSearch:C,onColumnResizeFitToContent:_,onColumnResizeStart:y}),(e,t)=>(0,f.renderSlot)(e.$slots,`default`)}}),[qV,JV]=z(`tableScrollContainerContext`),YV=(0,f.defineComponent)({__name:`TableScrollContainer`,props:{isScrollDisabled:{type:Boolean,default:!1},disableScroll:{type:Boolean}},setup(e){let t=e,n=(0,f.computed)(()=>t.isScrollDisabled||t.disableScroll===!0),{gridTemplateColumns:r,setScrollContainer:i,variant:a}=aV(),o=JV(null),s=(0,f.useTemplateRef)(`containerEl`);return(0,f.onMounted)(()=>{s.value!==null&&(i(s.value),o!==null&&(o.value=s.value))}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{ref_key:`containerEl`,ref:s,class:(0,f.normalizeClass)([{"rounded-xl border border-secondary":(0,f.unref)(a)===`contained`&&!n.value,"overflow-auto":!n.value},`max-h-full w-full contain-layout contain-paint outline-none`])},[(0,f.createElementVNode)(`div`,{style:(0,f.normalizeStyle)({gridTemplateColumns:(0,f.unref)(r)}),class:`grid`},[(0,f.renderSlot)(e.$slots,`default`)],4),(0,f.renderSlot)(e.$slots,`outside-grid`)],2))}});function XV(e,t){let{isAllSelected:n,isIndeterminate:r,isKeySelected:i,clearSelection:a,getKeysSelectionState:o,toggleAll:s,toggleKey:c,toggleKeys:l}=rL({orderedKeys:t});function u(t){return o(t.map(t=>e(t)))===`all`}function d(t){return o(t.map(t=>e(t)))===`some`}function f(t){l(t.map(t=>e(t)))}return{isAllSelected:n,isGroupAllSelected:u,isGroupIndeterminate:d,isIndeterminate:r,isItemSelected:i,clearSelection:a,toggleAll:s,toggleGroup:f,toggleItem:c}}function ZV(e,t){let n=(0,S.useVirtualizer)((0,f.computed)(()=>({count:e.value,estimateSize:()=>40,getScrollElement:()=>t.value,overscan:5}))),r=(0,f.computed)(()=>n.value.getVirtualItems()),i=(0,f.computed)(()=>n.value.getTotalSize()),a=(0,f.computed)(()=>r.value.at(0)?.start??0);return{paddingAfterPx:(0,f.computed)(()=>{let e=r.value.at(-1);return e==null?0:i.value-e.end}),paddingBeforePx:a,virtualItems:r}}var QV=(0,f.defineComponent)({__name:`Table`,props:{isFetchingNextPage:{type:Boolean},isLoading:{type:Boolean},isSelectable:{type:Boolean,default:!1},columns:{},data:{},error:{},getActionModel:{},getKey:{},getLink:{type:[Function,null],default:null},groupHeaderCells:{},onRowClick:{type:[Function,null],default:null},hasActiveSearch:{type:Boolean},isColumnResizeDisabled:{type:Boolean},actionGroup:{},actions:{},activeFilterCount:{default:0},disableColumnResize:{type:Boolean},headerActions:{},sort:{},variant:{},onNextPage:{}},emits:[`clearFilters`,`clearSearch`],setup(e,{emit:t}){let n=e,r=t;n.getLink!==null&&n.onRowClick!==null&&console.warn("[Table] `getLink` and `onRowClick` are mutually exclusive — a row supports only one interaction mode. `onRowClick` will be ignored for rows where `getLink` returns a value.");let i=(0,g.useI18n)(),a=(0,f.shallowRef)(null);qV(a);let o=(0,f.computed)(()=>{if(n.data.length===0)return`flat`;let e=n.data[0];return`subGroups`in e?`with-sub-groups`:`items`in e?`grouped`:`flat`}),s=(0,f.computed)(()=>n.data),c=(0,f.computed)(()=>n.data),l=(0,f.computed)(()=>n.data),u=(0,f.computed)(()=>o.value===`flat`?s.value.map(e=>n.getKey(e)):o.value===`grouped`?c.value.flatMap(e=>e.items.map(e=>n.getKey(e))):l.value.flatMap(e=>e.subGroups.flatMap(e=>e.items.map(e=>n.getKey(e))))),d=(0,f.computed)(()=>n.columns.map(e=>e.size??{max:`20rem`,min:`min-content`})),{paddingAfterPx:p,paddingBeforePx:m,virtualItems:h}=ZV((0,f.computed)(()=>o.value===`flat`?s.value.length:0),a),{isAllSelected:_,isGroupAllSelected:v,isGroupIndeterminate:y,isIndeterminate:b,isItemSelected:x,toggleAll:S,toggleGroup:C,toggleItem:w}=XV(n.getKey,u);uV({isAllSelected:_,isGroupAllSelected:e=>v(e),isGroupIndeterminate:e=>y(e),isIndeterminate:b,isItemSelected:x,isSelectable:(0,f.computed)(()=>n.isSelectable),toggleAll:S,toggleGroup:e=>C(e),toggleItem:w}),(0,f.watch)(()=>n.data.length,(e,t)=>{e<t&&a.value?.scrollTo({top:0})});function T(){r(`clearFilters`),r(`clearSearch`)}return(t,r)=>((0,f.openBlock)(),(0,f.createBlock)(KV,{"column-sizes":d.value,actions:n.actions,"active-filter-count":n.activeFilterCount,"has-active-search":n.hasActiveSearch,"on-next-page":n.onNextPage,"is-initialized":n.data.length>0,"is-selectable":n.isSelectable,"header-actions":n.headerActions,"action-group":n.actionGroup,"is-column-resize-disabled":n.isColumnResizeDisabled,variant:n.variant,sort:n.sort,onClearFiltersAndSearch:T},{default:(0,f.withCtx)(()=>[(0,f.createVNode)(YV,{"is-scroll-disabled":n.data.length===0},{"outside-grid":(0,f.withCtx)(()=>[n.isLoading||n.isFetchingNextPage?((0,f.openBlock)(),(0,f.createBlock)(RV,{key:0})):(0,f.createCommentVNode)(``,!0),e.data.length>0?((0,f.openBlock)(),(0,f.createBlock)(LV,{key:1})):(0,f.createCommentVNode)(``,!0)]),default:(0,f.withCtx)(()=>[e.data.length>0||n.isLoading?((0,f.openBlock)(),(0,f.createBlock)(PV,{key:0},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(IV,{key:0})):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(NV,{key:e.key,"column-index":t,"is-resizable":t<n.columns.length-1,label:e.headerLabel,description:e.headerDescription??null,"is-centered":e.isCenteredHeaderContent??e.centerHeaderContent??!1,"action-config":e.actionConfig,"column-key":e.key},null,8,[`column-index`,`is-resizable`,`label`,`description`,`is-centered`,`action-config`,`column-key`]))),128))]),_:1})):(0,f.createCommentVNode)(``,!0),(0,f.createVNode)(oV,null,{default:(0,f.withCtx)(()=>[o.value===`flat`?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.unref)(m)>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:0,style:(0,f.normalizeStyle)({height:`${(0,f.unref)(m)}px`}),class:`col-span-full`},null,4)):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)((0,f.unref)(h),e=>((0,f.openBlock)(),(0,f.createBlock)(CV,{key:n.getKey(s.value[e.index]),"action-model":n.getActionModel?.(s.value[e.index]),"item-key":n.getKey(s.value[e.index]),link:n.getLink?.(s.value[e.index])??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(s.value[e.index])},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(TV,{key:0,"item-key":n.getKey(s.value[e.index])},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(s.value[e.index])),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128)),(0,f.unref)(p)>0?((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:1,style:(0,f.normalizeStyle)({height:`${(0,f.unref)(p)}px`}),class:`col-span-full`},null,4)):(0,f.createCommentVNode)(``,!0)],64)):o.value===`with-sub-groups`?((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:1},(0,f.renderList)(l.value,e=>((0,f.openBlock)(),(0,f.createBlock)(mV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,label:e.label},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.subGroups,e=>((0,f.openBlock)(),(0,f.createBlock)(kV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,items:n.isSelectable?e.items:[],label:e.label},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(CV,{key:n.getKey(e),"action-model":n.getActionModel?.(e),"item-key":n.getKey(e),link:n.getLink?.(e)??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(e)},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(TV,{key:0,"item-key":n.getKey(e)},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128))]),_:2},1032,[`is-open-by-default`,`items`,`label`]))),128))]),_:2},1032,[`is-open-by-default`,`label`]))),128)):((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,{key:2},(0,f.renderList)(c.value,e=>((0,f.openBlock)(),(0,f.createBlock)(mV,{key:e.key,"is-open-by-default":e.isOpenByDefault??e.defaultOpen,items:n.isSelectable?e.items:[],label:e.label,"header-cells":n.groupHeaderCells?.(e)},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e.items,e=>((0,f.openBlock)(),(0,f.createBlock)(CV,{key:n.getKey(e),"action-model":n.getActionModel?.(e),"item-key":n.getKey(e),link:n.getLink?.(e)??null,"on-row-click":n.onRowClick===null?null:()=>n.onRowClick?.(e)},{default:(0,f.withCtx)(()=>[n.isSelectable?((0,f.openBlock)(),(0,f.createBlock)(TV,{key:0,"item-key":n.getKey(e)},null,8,[`item-key`])):(0,f.createCommentVNode)(``,!0),((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(n.columns,t=>((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.component(e)),{key:t.key}))),128))]),_:2},1032,[`action-model`,`item-key`,`link`,`on-row-click`]))),128))]),_:2},1032,[`is-open-by-default`,`items`,`label`,`header-cells`]))),128))]),_:1})]),_:1},8,[`is-scroll-disabled`]),n.error===null?n.data.length===0&&!n.isLoading?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:1},[n.activeFilterCount>0||n.hasActiveSearch?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{key:0,"secondary-action":{type:`button`,label:(0,f.unref)(i).t(`component.table.empty_state.no_results.clear_filters_label`),onClick:T},title:(0,f.unref)(i).t(`component.table.empty_state.no_results.title`),description:(0,f.unref)(i).t(`component.table.empty_state.no_results.description`),illustration:n.variant===`contained`?null:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`secondary-action`,`title`,`description`,`illustration`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)($F),{key:1,title:(0,f.unref)(i).t(`component.table.empty_state.no_data.title`),description:(0,f.unref)(i).t(`component.table.empty_state.no_data.description`),illustration:n.variant===`contained`?null:`cloud-search`,class:`mx-auto h-full max-w-96 py-xl`},null,8,[`title`,`description`,`illustration`]))],64)):(0,f.createCommentVNode)(``,!0):(0,f.renderSlot)(t.$slots,`error`,{key:0,error:n.error},()=>[(0,f.createVNode)((0,f.unref)(rI),{error:n.error},null,8,[`error`])])]),_:3},8,[`column-sizes`,`actions`,`active-filter-count`,`has-active-search`,`on-next-page`,`is-initialized`,`is-selectable`,`header-actions`,`action-group`,`is-column-resize-disabled`,`variant`,`sort`]))}}),$V=(0,f.defineComponent)({__name:`TableBodyRowCellText`,props:{isPrimaryCell:{type:Boolean,default:!1},text:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`span`,{class:(0,f.normalizeClass)([{"font-medium":t.isPrimaryCell},`truncate text-xs text-secondary`])},(0,f.toDisplayString)(t.text),3))}}),eH={},tH={class:`last-of-type:pr-2xl last-of-type:pl-xl`};function nH(e,t){return(0,f.openBlock)(),(0,f.createElementBlock)(`div`,tH,[(0,f.renderSlot)(e.$slots,`default`)])}var rH=ns(eH,[[`render`,nH]]);function iH(){let e=(0,f.ref)(null),t=(0,f.ref)(null),n=(0,f.ref)(null),r=(0,f.ref)(0),i=(0,f.ref)(0),a=(0,f.computed)(()=>n.value!==null);function o(t,a,o){e.value=o,n.value=t,r.value=a,i.value=o[t]}async function s(n,r,i){if(e.value===null){if(i===void 0)return;e.value=i}t.value=n,await(0,f.nextTick)();let a=r.getBoundingClientRect().width,o=[...e.value];o[n]=a,e.value=o,t.value=null}function c(t){if(t.length===0)return;let n=t[0].parentElement,r=n?.parentElement;if(r==null||n==null)return;let i=n.children.length;r.style.gridTemplateColumns=Array.from({length:i}).fill(`max-content`).join(` `);let a=t.map(e=>e.getBoundingClientRect().width),o=i>t.length+1,s=a.map(e=>`${e}px`).join(` `);r.style.gridTemplateColumns=o?`${s} minmax(min-content, auto) min-content`:`${s} minmax(min-content, auto)`,e.value=a}function l(){e.value=null,n.value=null,t.value=null}function u(t){if(n.value===null||e.value===null)return;let a=t.clientX-r.value,o=Math.max(50,i.value+a),s=[...e.value];s[n.value]=o,e.value=s}function d(){n.value!==null&&(n.value=null)}return document.addEventListener(`mousemove`,u),document.addEventListener(`mouseup`,d),(0,f.onBeforeUnmount)(()=>{document.removeEventListener(`mousemove`,u),document.removeEventListener(`mouseup`,d)}),{isResizingColumn:a,contentFitColumnIndex:t,fitAllColumnsToContent:c,fitColumnToContent:s,fixedWidths:e,resetWidths:l,startResize:o}}function aH(e,t,n){let r=(0,f.ref)(null);(0,f.watch)([n,t,e],([e,t])=>{e===null||!t||i(e)});async function i(e){r.value=null,await(0,f.nextTick)(),r.value=getComputedStyle(e).gridTemplateColumns}let a=0;return(0,m.useResizeObserver)(n,e=>{let t=e[0]?.borderBoxSize[0]?.inlineSize;t!==void 0&&t!==a&&(a=t,i(n.value))},{box:`border-box`}),{frozenColumns:r}}function oH(){return e=>e}var sH=(0,f.defineComponent)({__name:`TableCustomizationDialog`,props:{columnStates:{}},emits:[`close`,`columnStatesChange`],setup(e,{emit:t}){let n=e,r=t,i=(0,g.useI18n)(),a=(0,f.ref)(n.columnStates),o=(0,f.computed)(()=>a.value.filter(e=>e.isVisible).length);function s(e){e.isVisible=!e.isVisible,r(`columnStatesChange`,a.value)}function c(){r(`columnStatesChange`,a.value)}function l(){r(`close`)}return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(Vy),{size:`xs`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Ky),{title:(0,f.unref)(i).t(`component.table_customization.dialog.title`),description:(0,f.unref)(i).t(`component.table_customization.dialog.description`)},null,8,[`title`,`description`]),(0,f.createVNode)((0,f.unref)(YC),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(T.VueDraggable),{modelValue:a.value,"onUpdate:modelValue":t[0]||=e=>a.value=e,animation:150,handle:`[data-drag-handle]`,class:`flex flex-col gap-y-md`,onEnd:c},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(a.value,e=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{key:e.column.key,class:`flex cursor-default items-center gap-x-md py-xs`},[(0,f.createVNode)((0,f.unref)(Fn),{class:`size-4 shrink-0 cursor-grab text-fg-disabled duration-150 active:scale-90`,"data-drag-handle":``}),(0,f.createVNode)((0,f.unref)(G),{text:e.column.headerLabel,class:(0,f.normalizeClass)([{"text-secondary":e.isVisible,"text-fg-disabled":!e.isVisible},`text-xs font-medium duration-150`])},null,8,[`text`,`class`]),(0,f.createVNode)((0,f.unref)(sD),{"model-value":e.isVisible,"is-disabled":e.isVisible&&o.value===1,label:e.column.headerLabel,"is-label-hidden":!0,class:`ml-auto`,"onUpdate:modelValue":t=>s(e)},null,8,[`model-value`,`is-disabled`,`label`,`onUpdate:modelValue`])]))),128))]),_:1},8,[`modelValue`])]),_:1}),(0,f.createVNode)((0,f.unref)(Hy),null,{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Gy),{label:(0,f.unref)(i).t(`component.table_customization.dialog.done`),onClick:l},null,8,[`label`])]),_:1})]),_:1}))}});function cH(e){let t=(0,g.useI18n)(),n=QC().create(sH),r=(0,f.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,f.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,p.createAction)({id:`data-table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>Cn,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}function lH(e){let t=(0,g.useI18n)(),n=QC().create(sH),r=(0,f.ref)(e.availableColumns.value.map(t=>({isVisible:e.initialState===void 0||e.initialState.length===0||e.initialState.includes(t.key),column:t})).sort((t,n)=>{if(e.initialState===void 0||e.initialState.length===0)return 0;let r=e.initialState.indexOf(t.column.key),i=e.initialState.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})),i=(0,f.computed)(()=>r.value.filter(e=>e.isVisible).map(e=>e.column)),a=(0,p.createAction)({id:`table-customization-dialog`,name:()=>t.t(`component.table_customization.action.name`),execute:()=>{n.open({columnStates:r.value,onColumnStatesChange:e=>{r.value=e}})},group:e.actionGroup,hint:()=>e.availableColumns.value.length-i.value.length===0?null:`${e.availableColumns.value.length-i.value.length} hidden`,icon:()=>Cn,keyboardShortcut:{key:`C`,shift:!0}});function o(t){r.value=e.availableColumns.value.map(e=>({isVisible:t.length===0||t.includes(e.key),column:e})).sort((e,n)=>{if(t.length===0)return 0;let r=t.indexOf(e.column.key),i=t.indexOf(n.column.key);return r!==-1&&i!==-1?r-i:r===-1?i===-1?0:1:-1})}return{customizedColumns:i,customizeTableAction:a,setState:o}}var uH=W({slots:{input:`
1141
1141
  h-5 min-w-20 flex-1 bg-transparent text-xs text-primary outline-none
1142
1142
  placeholder:text-placeholder
1143
1143
  read-only:cursor-default
1144
1144
  disabled:cursor-not-allowed disabled:text-disabled
1145
1145
  disabled:placeholder:text-fg-disabled-subtle
1146
- `},variants:{size:{md:{input:`px-xs`},sm:{input:`px-xs`}}}}),fH=(0,f.defineComponent)({__name:`TagsFieldTag`,props:{isDisabled:{type:Boolean},isReadonly:{type:Boolean},value:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TagsInputItem),{value:t.value,class:`inline-flex h-5 shrink-0 items-center gap-sm rounded-sm border border-gray-200 bg-gray-25 px-xs aria-current:bg-tertiary/80 dark:border-gray-800 dark:bg-gray-950`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TagsInputItemText),{class:`max-w-xs truncate text-xxs font-medium text-gray-700 dark:text-gray-300`}),!t.isDisabled&&!t.isReadonly?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TagsInputItemDelete),{key:0,"aria-label":`Remove tag`,class:`flex items-center text-gray-500 outline-none hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Fi),{class:`size-3`})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`value`]))}}),pH=(0,f.defineComponent)({inheritAttrs:!1,__name:`TagsField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isAddedOnBlur:{type:Boolean},isAddedOnPaste:{type:Boolean},isAddedOnTab:{type:Boolean},isDuplicateAllowed:{type:Boolean},addOnBlur:{type:Boolean},addOnPaste:{type:Boolean},addOnTab:{type:Boolean},allowDuplicate:{type:Boolean},delimiter:{},max:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`iconRight`),isAddedOnBlur:!1,isAddedOnPaste:!0,isAddedOnTab:!1,isDuplicateAllowed:!1,addOnBlur:!1,addOnPaste:!0,addOnTab:!1,allowDuplicate:!1,delimiter:`,`,max:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`,`focus`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=n.id??(0,f.useId)(),o=(0,f.useAttrs)(),s=(0,f.computed)(()=>dH({size:n.size})),c=(0,f.computed)(()=>n.isAddedOnBlur||n.addOnBlur),l=(0,f.computed)(()=>n.addOnPaste===!0?n.isAddedOnPaste:!1),u=(0,f.computed)(()=>n.isAddedOnTab||n.addOnTab),d=(0,f.computed)(()=>n.isDuplicateAllowed||n.allowDuplicate),{isError:p,ariaBusy:m,ariaDescribedBy:g,ariaInvalid:_,ariaRequired:v}=_b(a,n);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(a),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-error":(0,f.unref)(p),"is-disabled":n.isDisabled,"is-loading":n.isLoading,"is-readonly":n.isReadonly,"icon-left":n.iconLeft,wrap:!0,size:n.size,gap:`xs`},{left:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`)]),right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TagsInputRoot),{modelValue:i.value,"onUpdate:modelValue":t[2]||=e=>i.value=e,disabled:n.isDisabled,"read-only":n.isReadonly,max:n.max??void 0,"add-on-blur":c.value,"add-on-paste":l.value,"add-on-tab":u.value,delimiter:n.delimiter,"allow-duplicate":d.value,class:`contents`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(fH,{key:t,value:e,"is-disabled":n.isDisabled,"is-readonly":n.isReadonly},null,8,[`value`,`is-disabled`,`is-readonly`]))),128)),(0,f.createVNode)((0,f.unref)(h.TagsInputInput),(0,f.mergeProps)((0,f.unref)(o),{id:(0,f.unref)(a),disabled:n.isDisabled,readonly:n.isReadonly,placeholder:i.value.length===0?n.placeholder??void 0:void 0,"aria-describedby":(0,f.unref)(g),"aria-required":(0,f.unref)(v),"aria-busy":(0,f.unref)(m),"aria-invalid":(0,f.unref)(_),class:s.value.input(),"data-field-wrapper":``,onBlur:t[0]||=e=>r(`blur`,e),onFocus:t[1]||=e=>r(`focus`,e)}),null,16,[`id`,`disabled`,`readonly`,`placeholder`,`aria-describedby`,`aria-required`,`aria-busy`,`aria-invalid`,`class`])]),_:1},8,[`modelValue`,`disabled`,`read-only`,`max`,`add-on-blur`,`add-on-paste`,`add-on-tab`,`delimiter`,`allow-duplicate`])]),_:3},8,[`is-error`,`is-disabled`,`is-loading`,`is-readonly`,`icon-left`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),mH=W({slots:{root:`
1146
+ `},variants:{size:{md:{input:`px-xs`},sm:{input:`px-xs`}}}}),dH=(0,f.defineComponent)({__name:`TagsFieldTag`,props:{isDisabled:{type:Boolean},isReadonly:{type:Boolean},value:{}},setup(e){let t=e;return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TagsInputItem),{value:t.value,class:`inline-flex h-5 shrink-0 items-center gap-sm rounded-sm border border-gray-200 bg-gray-25 px-xs aria-current:bg-tertiary/80 dark:border-gray-800 dark:bg-gray-950`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TagsInputItemText),{class:`max-w-xs truncate text-xxs font-medium text-gray-700 dark:text-gray-300`}),!t.isDisabled&&!t.isReadonly?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TagsInputItemDelete),{key:0,"aria-label":`Remove tag`,class:`flex items-center text-gray-500 outline-none hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200`},{default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(Fi),{class:`size-3`})]),_:1})):(0,f.createCommentVNode)(``,!0)]),_:1},8,[`value`]))}}),fH=(0,f.defineComponent)({inheritAttrs:!1,__name:`TagsField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isAddedOnBlur:{type:Boolean},isAddedOnPaste:{type:Boolean},isAddedOnTab:{type:Boolean},isDuplicateAllowed:{type:Boolean},addOnBlur:{type:Boolean},addOnPaste:{type:Boolean},addOnTab:{type:Boolean},allowDuplicate:{type:Boolean},delimiter:{},max:{},size:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`iconRight`),isAddedOnBlur:!1,isAddedOnPaste:!0,isAddedOnTab:!1,isDuplicateAllowed:!1,addOnBlur:!1,addOnPaste:!0,addOnTab:!1,allowDuplicate:!1,delimiter:`,`,max:null,size:`md`}),{modelValue:{required:!0},modelModifiers:{}}),emits:(0,f.mergeModels)([`blur`,`focus`],[`update:modelValue`]),setup(e,{emit:t}){let n=e,r=t,i=(0,f.useModel)(e,`modelValue`),a=n.id??(0,f.useId)(),o=(0,f.useAttrs)(),s=(0,f.computed)(()=>uH({size:n.size})),c=(0,f.computed)(()=>n.isAddedOnBlur||n.addOnBlur),l=(0,f.computed)(()=>n.addOnPaste===!0?n.isAddedOnPaste:!1),u=(0,f.computed)(()=>n.isAddedOnTab||n.addOnTab),d=(0,f.computed)(()=>n.isDuplicateAllowed||n.allowDuplicate),{isError:p,ariaBusy:m,ariaDescribedBy:g,ariaInvalid:_,ariaRequired:v}=_b(a,n);return(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":n.errorMessage,"is-disabled":n.isDisabled,"is-required":n.isRequired,"disabled-reason":n.disabledReason,hint:n.hint,label:n.label,class:(0,f.normalizeClass)(n.class),style:(0,f.normalizeStyle)(n.style),for:(0,f.unref)(a),"help-text":n.helpText,"hide-error-message":n.hideErrorMessage,"is-error-message-hidden":n.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-error":(0,f.unref)(p),"is-disabled":n.isDisabled,"is-loading":n.isLoading,"is-readonly":n.isReadonly,"icon-left":n.iconLeft,wrap:!0,size:n.size,gap:`xs`},{left:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`left`)]),right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TagsInputRoot),{modelValue:i.value,"onUpdate:modelValue":t[2]||=e=>i.value=e,disabled:n.isDisabled,"read-only":n.isReadonly,max:n.max??void 0,"add-on-blur":c.value,"add-on-paste":l.value,"add-on-tab":u.value,delimiter:n.delimiter,"allow-duplicate":d.value,class:`contents`},{default:(0,f.withCtx)(()=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(i.value,(e,t)=>((0,f.openBlock)(),(0,f.createBlock)(dH,{key:t,value:e,"is-disabled":n.isDisabled,"is-readonly":n.isReadonly},null,8,[`value`,`is-disabled`,`is-readonly`]))),128)),(0,f.createVNode)((0,f.unref)(h.TagsInputInput),(0,f.mergeProps)((0,f.unref)(o),{id:(0,f.unref)(a),disabled:n.isDisabled,readonly:n.isReadonly,placeholder:i.value.length===0?n.placeholder??void 0:void 0,"aria-describedby":(0,f.unref)(g),"aria-required":(0,f.unref)(v),"aria-busy":(0,f.unref)(m),"aria-invalid":(0,f.unref)(_),class:s.value.input(),"data-field-wrapper":``,onBlur:t[0]||=e=>r(`blur`,e),onFocus:t[1]||=e=>r(`focus`,e)}),null,16,[`id`,`disabled`,`readonly`,`placeholder`,`aria-describedby`,`aria-required`,`aria-busy`,`aria-invalid`,`class`])]),_:1},8,[`modelValue`,`disabled`,`read-only`,`max`,`add-on-blur`,`add-on-paste`,`add-on-tab`,`delimiter`,`allow-duplicate`])]),_:3},8,[`is-error`,`is-disabled`,`is-loading`,`is-readonly`,`icon-left`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),pH=W({slots:{root:`
1147
1147
  group/textarea-field inline-flex w-full flex-col overflow-hidden
1148
1148
  rounded-md border border-secondary bg-primary outline outline-transparent
1149
1149
  duration-100
@@ -1160,7 +1160,7 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1160
1160
  read-only:cursor-default
1161
1161
  disabled:cursor-not-allowed disabled:text-disabled
1162
1162
  disabled:placeholder:text-fg-disabled-subtle
1163
- `},variants:{resize:{"auto-vertical":{textarea:`resize-none`},none:{textarea:`resize-none`},vertical:{textarea:`resize-y`}}}}),hH=[`data-error`,`data-disabled`,`data-interactive`],gH=[`id`,`value`,`aria-describedby`,`autocomplete`,`name`,`aria-required`,`readonly`,`aria-invalid`,`disabled`,`maxlength`,`placeholder`,`spellcheck`],_H=(0,f.defineComponent)({inheritAttrs:!1,__name:`TextareaField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isSpellCheckEnabled:{type:Boolean},maxHeight:{},maxLength:{},minHeight:{},placeholder:{},resize:{},isDisabled:{type:Boolean},disabledReason:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...yb,...bb,...Sb,isSpellCheckEnabled:!1,maxHeight:null,maxLength:null,minHeight:null,placeholder:null,resize:`none`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.computed)(()=>mH({resize:t.resize})),i=(0,f.useTemplateRef)(`textarea`),a=(0,f.useAttrs)(),o=t.id??(0,f.useId)(),s=(0,f.computed)(()=>t.maxLength==null?null:`${n.value?.length??0}/${t.maxLength}`),c=(0,f.computed)(()=>s.value??t.hint),{isError:l,ariaDescribedBy:u,ariaInvalid:d,ariaRequired:p}=_b(o,t),m=(0,f.computed)(()=>({maxHeight:t.maxHeight??void 0,minHeight:t.minHeight??void 0}));function h(){let e=i.value;e==null||t.resize!==`auto-vertical`||(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)}return(0,f.watch)(()=>n.value,async()=>{await(0,f.nextTick)(),h()},{immediate:!0}),(0,f.onMounted)(()=>{h()}),(0,f.onMounted)(()=>{h()}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:c.value,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(o),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{"data-error":(0,f.unref)(l)||void 0,"data-disabled":t.isDisabled||void 0,"data-interactive":!t.isDisabled&&!t.isReadonly||void 0,class:(0,f.normalizeClass)(r.value.root())},[(0,f.renderSlot)(e.$slots,`top`),(0,f.createElementVNode)(`textarea`,(0,f.mergeProps)((0,f.unref)(a),{id:(0,f.unref)(o),ref:`textarea`,value:n.value,"aria-describedby":(0,f.unref)(u),autocomplete:t.autocomplete??void 0,name:t.name??void 0,"aria-required":(0,f.unref)(p),readonly:t.isReadonly,"aria-invalid":(0,f.unref)(d),disabled:t.isDisabled,maxlength:t.maxLength??void 0,placeholder:t.placeholder??void 0,spellcheck:t.isSpellCheckEnabled,style:m.value,class:[r.value.textarea(),`min-h-20 px-md py-sm`],onInput:i[0]||=e=>n.value=e.target.value}),null,16,gH),(0,f.renderSlot)(e.$slots,`bottom`)],10,hH)]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),vH=W({slots:{field:`flex h-full flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
1163
+ `},variants:{resize:{"auto-vertical":{textarea:`resize-none`},none:{textarea:`resize-none`},vertical:{textarea:`resize-y`}}}}),mH=[`data-error`,`data-disabled`,`data-interactive`],hH=[`id`,`value`,`aria-describedby`,`autocomplete`,`name`,`aria-required`,`readonly`,`aria-invalid`,`disabled`,`maxlength`,`placeholder`,`spellcheck`],gH=(0,f.defineComponent)({inheritAttrs:!1,__name:`TextareaField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({isSpellCheckEnabled:{type:Boolean},maxHeight:{},maxLength:{},minHeight:{},placeholder:{},resize:{},isDisabled:{type:Boolean},disabledReason:{},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},autocomplete:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{}},{...yb,...bb,...Sb,isSpellCheckEnabled:!1,maxHeight:null,maxLength:null,minHeight:null,placeholder:null,resize:`none`}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),r=(0,f.computed)(()=>pH({resize:t.resize})),i=(0,f.useTemplateRef)(`textarea`),a=(0,f.useAttrs)(),o=t.id??(0,f.useId)(),s=(0,f.computed)(()=>t.maxLength==null?null:`${n.value?.length??0}/${t.maxLength}`),c=(0,f.computed)(()=>s.value??t.hint),{isError:l,ariaDescribedBy:u,ariaInvalid:d,ariaRequired:p}=_b(o,t),m=(0,f.computed)(()=>({maxHeight:t.maxHeight??void 0,minHeight:t.minHeight??void 0}));function h(){let e=i.value;e==null||t.resize!==`auto-vertical`||(e.style.height=`auto`,e.style.height=`${e.scrollHeight}px`)}return(0,f.watch)(()=>n.value,async()=>{await(0,f.nextTick)(),h()},{immediate:!0}),(0,f.onMounted)(()=>{h()}),(0,f.onMounted)(()=>{h()}),(e,i)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:c.value,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(o),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createElementVNode)(`div`,{"data-error":(0,f.unref)(l)||void 0,"data-disabled":t.isDisabled||void 0,"data-interactive":!t.isDisabled&&!t.isReadonly||void 0,class:(0,f.normalizeClass)(r.value.root())},[(0,f.renderSlot)(e.$slots,`top`),(0,f.createElementVNode)(`textarea`,(0,f.mergeProps)((0,f.unref)(a),{id:(0,f.unref)(o),ref:`textarea`,value:n.value,"aria-describedby":(0,f.unref)(u),autocomplete:t.autocomplete??void 0,name:t.name??void 0,"aria-required":(0,f.unref)(p),readonly:t.isReadonly,"aria-invalid":(0,f.unref)(d),disabled:t.isDisabled,maxlength:t.maxLength??void 0,placeholder:t.placeholder??void 0,spellcheck:t.isSpellCheckEnabled,style:m.value,class:[r.value.textarea(),`min-h-20 px-md py-sm`],onInput:i[0]||=e=>n.value=e.target.value}),null,16,hH),(0,f.renderSlot)(e.$slots,`bottom`)],10,mH)]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`]))}}),_H=W({slots:{field:`flex h-full flex-1 items-center`,literal:`text-placeholder select-none`,segment:`
1164
1164
  rounded-xs px-xxs text-primary tabular-nums caret-transparent duration-100
1165
1165
  outline-none
1166
1166
  group-data-disabled/field-wrapper:pointer-events-none
@@ -1172,6 +1172,6 @@ Example: <UIConfigProvider :file-upload-adapter="myAdapter"><UIBaseFileUploadRoo
1172
1172
  focus:data-placeholder:text-primary
1173
1173
  disabled:data-placeholder:text-fg-disabled-subtle
1174
1174
  data-readonly:cursor-default
1175
- `},variants:{size:{md:{field:`px-md text-xs`},sm:{field:`px-sm text-xs`}}}}),yH=(0,f.defineComponent)({inheritAttrs:!1,__name:`TimeField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({hasStepSnapping:{type:Boolean},granularity:{},size:{},step:{},stepSnapping:{type:Boolean},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`placeholder`),hasStepSnapping:!1,granularity:`minute`,size:`md`,step:null}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),{hourCycle:r}=rm(),i=t.id??(0,f.useId)(),a=x.LocaleUtil.getCurrentLocale(),o=(0,f.useAttrs)(),{isError:s,ariaDescribedBy:c,ariaInvalid:l}=_b(i,t),u=(0,f.computed)(()=>t.hasStepSnapping||t.stepSnapping===!0),d=(0,f.computed)(()=>vH({size:t.size})),p=(0,f.computed)(()=>{if(!(r.value===`locale-default`||r.value===null))return r.value===`12-hour`?12:24}),m=(0,f.computed)({get:()=>{if(n.value!==null)return new C.Time(n.value.hour,n.value.minute,n.value.second)},set:e=>{if(e===void 0){n.value=null;return}n.value=w.Temporal.PlainTime.from({hour:e.hour,minute:e.minute,second:e.second})}});return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(s),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},{right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TimeFieldRoot),(0,f.mergeProps)({id:(0,f.unref)(i),modelValue:m.value,"onUpdate:modelValue":n[0]||=e=>m.value=e},(0,f.unref)(o),{"aria-describedby":(0,f.unref)(c),"aria-invalid":(0,f.unref)(l),"aria-required":t.isRequired||void 0,class:d.value.field(),disabled:t.isDisabled,"hour-cycle":p.value,"is-invalid":(0,f.unref)(s),locale:(0,f.unref)(a),readonly:t.isReadonly,required:t.isRequired,"step-snapping":u.value,step:t.step??void 0,granularity:t.granularity}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,({part:e,value:n})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TimeFieldInput),{key:1,part:e,class:(0,f.normalizeClass)(d.value.literal())},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TimeFieldInput),{key:0,part:e,class:(0,f.normalizeClass)(d.value.segment()),"data-readonly":t.isReadonly||void 0,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`,`data-readonly`]))],64))),128))]),_:1},16,[`id`,`modelValue`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`,`disabled`,`hour-cycle`,`is-invalid`,`locale`,`readonly`,`required`,`step-snapping`,`step`,`granularity`])]),_:3},8,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),[bH,xH]=z(`timelineContext`),SH=Qo({slots:{connector:`flex-1 bg-quaternary`,content:`flex min-w-0 flex-1 flex-col`,icon:``,indicator:`
1175
+ `},variants:{size:{md:{field:`px-md text-xs`},sm:{field:`px-sm text-xs`}}}}),vH=(0,f.defineComponent)({inheritAttrs:!1,__name:`TimeField`,props:(0,f.mergeModels)((0,f.mergeDefaults)({hasStepSnapping:{type:Boolean},granularity:{},size:{},step:{},stepSnapping:{type:Boolean},id:{},isReadonly:{type:Boolean},isRequired:{type:Boolean},name:{},class:{},style:{},isDisabled:{type:Boolean},disabledReason:{},isErrorMessageHidden:{type:Boolean},isHorizontal:{type:Boolean},isLabelHidden:{type:Boolean},errorMessage:{},for:{},helpText:{},hideErrorMessage:{type:Boolean},hint:{},label:{},isLoading:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{}},{...yb,...bb,...Cb(xb,`placeholder`),hasStepSnapping:!1,granularity:`minute`,size:`md`,step:null}),{modelValue:{required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=(0,f.useModel)(e,`modelValue`),{hourCycle:r}=rm(),i=t.id??(0,f.useId)(),a=x.LocaleUtil.getCurrentLocale(),o=(0,f.useAttrs)(),{isError:s,ariaDescribedBy:c,ariaInvalid:l}=_b(i,t),u=(0,f.computed)(()=>t.hasStepSnapping||t.stepSnapping===!0),d=(0,f.computed)(()=>_H({size:t.size})),p=(0,f.computed)(()=>{if(!(r.value===`locale-default`||r.value===null))return r.value===`12-hour`?12:24}),m=(0,f.computed)({get:()=>{if(n.value!==null)return new C.Time(n.value.hour,n.value.minute,n.value.second)},set:e=>{if(e===void 0){n.value=null;return}n.value=w.Temporal.PlainTime.from({hour:e.hour,minute:e.minute,second:e.second})}});return(e,n)=>((0,f.openBlock)(),(0,f.createBlock)(qb,{"error-message":t.errorMessage,"is-disabled":t.isDisabled,"is-required":t.isRequired,"disabled-reason":t.disabledReason,hint:t.hint,label:t.label,class:(0,f.normalizeClass)(t.class),style:(0,f.normalizeStyle)(t.style),for:(0,f.unref)(i),"help-text":t.helpText,"hide-error-message":t.hideErrorMessage,"is-error-message-hidden":t.isErrorMessageHidden,"is-label-hidden":t.isLabelHidden},{"label-left":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-left`)]),"label-right":(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`label-right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)(zb,{"is-disabled":t.isDisabled,"is-error":(0,f.unref)(s),"is-loading":t.isLoading,"is-readonly":t.isReadonly,size:t.size},{right:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,`right`)]),default:(0,f.withCtx)(()=>[(0,f.createVNode)((0,f.unref)(h.TimeFieldRoot),(0,f.mergeProps)({id:(0,f.unref)(i),modelValue:m.value,"onUpdate:modelValue":n[0]||=e=>m.value=e},(0,f.unref)(o),{"aria-describedby":(0,f.unref)(c),"aria-invalid":(0,f.unref)(l),"aria-required":t.isRequired||void 0,class:d.value.field(),disabled:t.isDisabled,"hour-cycle":p.value,"is-invalid":(0,f.unref)(s),locale:(0,f.unref)(a),readonly:t.isReadonly,required:t.isRequired,"step-snapping":u.value,step:t.step??void 0,granularity:t.granularity}),{default:(0,f.withCtx)(({segments:e})=>[((0,f.openBlock)(!0),(0,f.createElementBlock)(f.Fragment,null,(0,f.renderList)(e,({part:e,value:n})=>((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:e},[e===`literal`?((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TimeFieldInput),{key:1,part:e,class:(0,f.normalizeClass)(d.value.literal())},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`])):((0,f.openBlock)(),(0,f.createBlock)((0,f.unref)(h.TimeFieldInput),{key:0,part:e,class:(0,f.normalizeClass)(d.value.segment()),"data-readonly":t.isReadonly||void 0,"data-field-wrapper":``},{default:(0,f.withCtx)(()=>[(0,f.createTextVNode)((0,f.toDisplayString)(n),1)]),_:2},1032,[`part`,`class`,`data-readonly`]))],64))),128))]),_:1},16,[`id`,`modelValue`,`aria-describedby`,`aria-invalid`,`aria-required`,`class`,`disabled`,`hour-cycle`,`is-invalid`,`locale`,`readonly`,`required`,`step-snapping`,`step`,`granularity`])]),_:3},8,[`is-disabled`,`is-error`,`is-loading`,`is-readonly`,`size`])]),_:3},8,[`error-message`,`is-disabled`,`is-required`,`disabled-reason`,`hint`,`label`,`class`,`style`,`for`,`help-text`,`hide-error-message`,`is-error-message-hidden`,`is-label-hidden`]))}}),[yH,bH]=z(`timelineContext`),xH=Qo({slots:{connector:`flex-1 bg-quaternary`,content:`flex min-w-0 flex-1 flex-col`,icon:``,indicator:`
1176
1176
  relative z-10 flex shrink-0 items-center justify-center rounded-full
1177
- `,item:`relative flex`,itemTrack:`flex shrink-0 flex-col items-center`,root:`flex flex-col`},variants:{size:{md:{connector:`mt-md mb-md w-px`,content:`pb-3xl`,icon:`size-4`,indicator:`size-8`,item:`gap-lg`},sm:{connector:`mt-xs mb-xs w-px`,content:`pb-md`,icon:`size-3`,indicator:`size-6`,item:`gap-sm`}},variant:{outline:{indicator:`border border-secondary bg-primary`},solid:{indicator:`bg-brand-primary-alt text-fg-brand-primary-alt`},subtle:{indicator:`bg-tertiary text-secondary`}},isLast:{true:{connector:`invisible`,content:`pb-0`}}}}),CH=(0,f.defineComponent)({__name:`Timeline`,props:{size:{default:`md`},variant:{default:`solid`}},setup(e){let t=e,n=(0,f.computed)(()=>SH({size:t.size,variant:t.variant}));return bH({...Ki(t),variants:n}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)(n.value.root())},[(0,f.renderSlot)(e.$slots,`default`)],2))}}),wH=(0,f.defineComponent)({__name:`TimelineItem`,props:{isLast:{type:Boolean,default:!1},icon:{default:void 0}},setup(e){let t=e,{size:n,variant:r}=xH(),i=(0,f.computed)(()=>SH({isLast:t.isLast,size:n.value,variant:r.value}));return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)(i.value.item())},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.itemTrack())},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.indicator())},[(0,f.renderSlot)(e.$slots,`indicator`,{},()=>[t.icon==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:0,class:(0,f.normalizeClass)(i.value.icon())},null,8,[`class`]))])],2),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.connector())},null,2)],2),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.content())},[(0,f.renderSlot)(e.$slots,`default`)],2)],2))}});function TH(e,t){return(0,f.h)(e,t)}function EH(e,t,n=0){return new Intl.NumberFormat(t,{maximumFractionDigits:n}).format(e)}function DH(){let e=rm(),t=(0,f.computed)(()=>{let t=e.numberFormat?.value;return A(t)});return{format(e,n){return EH(e,t.value,n)},locale:t}}function OH(e){let t=(0,f.shallowRef)(e?.initialValues??[]);function n(n){let r=t.value.findIndex(e=>e.key===n);if(r!==-1){let i=t.value[r]??null;if(i===null)return;i.direction===`asc`?t.value=e.enableMultiSort?t.value.map((e,t)=>t===r?{...e,direction:`desc`}:e):[{direction:`desc`,key:n}]:t.value=t.value.filter((e,t)=>t!==r)}else t.value=e.enableMultiSort?[{direction:`asc`,key:n},...t.value]:[{direction:`asc`,key:n}]}function r(t){return e.keys.includes(t)}function i(e){return t.value.find(t=>t.key===e)??null}function a(){t.value=[]}return{existsSort:r,getSort:i,resetSort:a,toggleSort:n,values:(0,f.computed)(()=>t.value)}}exports.BREAKPOINTS=yy,exports.BaseFileUploadError=tE,exports.BaseFileUploadStatus=X,exports.DataTableUtil=HO,exports.FileReferenceTransformer=D,exports.INPUT_DEFAULTS=yb,exports.INPUT_FIELD_DEFAULTS=xb,exports.INPUT_META_DEFAULTS=bb,exports.MimeType=E,exports.PresignedFileReferenceTransformer=O,exports.TableUtil=HV,exports.UIActionContextMenu=dc,exports.UIActionDropdownMenu=yc,exports.UIActionFocus=bc,exports.UIActionTooltip=K,exports.UIActionTrigger=xc,exports.UIAdaptiveContent=wc,exports.UIAdaptiveContentBlock=Tc,exports.UIAddressAutocomplete=oS,exports.UIAnimateHeight=Gx,exports.UIApplicationLoadingView=OC,exports.UIApplicationOfflineWarning=MC,exports.UIApplicationProvider=eE,exports.UIApplicationSkipToMainContent=PC,exports.UIAutoFocus=Wy,exports.UIAutocomplete=aS,exports.UIAutocompleteContent=rS,exports.UIAutocompleteOption=Zx,exports.UIAvatar=hs,exports.UIAvatarGroup=vs,exports.UIAvatarGroupAddButton=Ts,exports.UIAvatarLabel=Os,exports.UIBadge=Pb,exports.UIBadgeDot=kb,exports.UIBadgeGroup=Fb,exports.UIBadgeGroupTruncate=Ib,exports.UIBadgeIcon=Ab,exports.UIBadgeLabel=jb,exports.UIBadgeSeparator=GS,exports.UIBaseCheckbox=oD,exports.UIBaseFileUploadClipboard=mE,exports.UIBaseFileUploadClipboardRemove=hE,exports.UIBaseFileUploadClipboardUpload=gE,exports.UIBaseFileUploadDropzone=_E,exports.UIBaseFileUploadItem=RE,exports.UIBaseFileUploadItemCancel=zE,exports.UIBaseFileUploadItemDownload=BE,exports.UIBaseFileUploadItemRemove=VE,exports.UIBaseFileUploadItemReplace=HE,exports.UIBaseFileUploadRoot=UE,exports.UIBaseFileUploadTrigger=WE,exports.UIBaseHeader=YE,exports.UIBreadcrumbItem=XE,exports.UIBreadcrumbItems=QE,exports.UIBreadcrumbSeparator=$E,exports.UIButton=$v,exports.UICheckbox=sD,exports.UICheckboxGroup=fD,exports.UICheckboxGroupCheckbox=uD,exports.UICheckboxGroupIndeterminateCheckbox=dD,exports.UIClickableElement=Mb,exports.UIColumnLayout=q,exports.UICommandMenu=qC,exports.UIConfigProvider=am,exports.UIConfirmDialog=qy,exports.UIContextMenu=Zi,exports.UIContextMenuCheckboxItem=Hs,exports.UIDropdownMenuCheckboxItem=Hs,exports.UIContextMenuGroup=Us,exports.UIDropdownMenuGroup=Us,exports.UIContextMenuHeader=Ks,exports.UIDropdownMenuHeader=Ks,exports.UIContextMenuItem=qs,exports.UIDropdownMenuItem=qs,exports.UIContextMenuRadioGroup=Js,exports.UIDropdownMenuRadioGroup=Js,exports.UIContextMenuRadioItem=Ys,exports.UIDropdownMenuRadioItem=Ys,exports.UIContextMenuSeparator=Qs,exports.UIDropdownMenuSeparator=Qs,exports.UIContextMenuSub=$s,exports.UIDropdownMenuSub=$s,exports.UIContextMenuSubContent=$i,exports.UIContextMenuSubTrigger=nc,exports.UIDropdownMenuSubTrigger=nc,exports.UIDashboardPage=XD,exports.UIDashboardPageActions=wD,exports.UIDashboardPageCenteredContent=mD,exports.UIDashboardPageCenteredContentHeader=bD,exports.UIDashboardPageCenteredContentScrollable=SD,exports.UIDashboardPageContainer=CD,exports.UIDashboardPageContent=TD,exports.UIDashboardPageDetailPaneBody=$D,exports.UIDashboardPageDetailPaneCloseButton=eO,exports.UIDashboardPageDetailPaneFooter=rO,exports.UIDashboardPageDetailPaneHeader=oO,exports.UIDashboardPageDetailPaneTabs=EO,exports.UIDashboardPageDetailPaneTabsContent=DO,exports.UIDashboardPageDetailPaneTabsList=kO,exports.UIDashboardPageDetailPaneToggle=AO,exports.UIDashboardPageHeader=FO,exports.UIDashboardPageHeaderMasterActionButton=IO,exports.UIDashboardPageLoadingState=QD,exports.UIDataTable=EL,exports.UIDataTableCell=gP,exports.UIDataTableCellAvatar=YO,exports.UIDataTableCellBadge=XO,exports.UIDataTableCellBadgeGroup=ZO,exports.UIDataTableCellBoolean=ek,exports.UIDataTableCellContactInfo=uk,exports.UIDataTableCellCurrency=fk,exports.UIDataTableCellId=mk,exports.UIDataTableCellLocation=vk,exports.UIDataTableCellLongText=xk,exports.UIDataTableCellNumber=Ck,exports.UIDataTableCellRenderer=kP,exports.UIDataTableCellText=Tk,exports.UIDataTableCellTimestamp=kk,exports.UIDataTableCheckboxCell=_P,exports.UIDataTableExpandCell=yP,exports.UIDataTableGroupRow=NP,exports.UIDataTableHeaderCell=sF,exports.UIDataTableHeaderCheckboxCell=cF,exports.UIDataTableRow=xP,exports.UIDataTableSelectionActionBar=DL,exports.UIDataTableSubComponentRow=CP,exports.UIDateField=fR,exports.UIDatePicker=mR,exports.UIDateRangeField=VR,exports.UIDateRangePicker=YR,exports.UIDateTime=ZR,exports.UIDetailList=fI,exports.UIDetailListGroup=bI,exports.UIDetailListGroupHeader=yI,exports.UIDetailListGroupHeaderCollapseArrowIcon=gI,exports.UIDetailListGroupHeaderCollapseInfo=_I,exports.UIDetailListGroupItem=SI,exports.UIDetailListGroupItemLabel=wI,exports.UIDetailListGroupItemValueBadge=TI,exports.UIDetailListGroupItemValueText=DI,exports.UIDetailListGroupSeparator=OI,exports.UIDialog=Vy,exports.UIDialogBody=YC,exports.UIDialogContainer=$C,exports.UIDialogFooter=Hy,exports.UIDialogFooterCancel=Uy,exports.UIDialogFooterPrimary=Gy,exports.UIDialogFooterSecondary=ew,exports.UIDialogFooterSubmit=tw,exports.UIDialogHeader=Ky,exports.UIDot=Ms,exports.UIDropdownMenu=ra,exports.UIDropdownMenuSubContent=tc,exports.UIEmptyState=$F,exports.UIFeaturedIcon=KE,exports.UIForm=Xy,exports.UIFormDialog=aw,exports.UIFormDialogForm=ow,exports.UIFormFieldGrid=uy,exports.UIFormFieldGroup=dy,exports.UIFormFieldSeperator=fy,exports.UIFormFieldSet=hy,exports.UIFormFileUpload=Dz,exports.UIFormLayout=gy,exports.UIFormSubmitButton=fb,exports.UIIconButton=Y,exports.UIInputWrapper=qb,exports.UIInteractable=Oz,exports.UIKeyboardShortcut=sa,exports.UILink=iy,exports.UIList=aL,exports.UIListEmpty=eI,exports.UIListError=iI,exports.UIListItem=Zz,exports.UIListItemCheckbox=Qz,exports.UIListLoading=sI,exports.UIListScrollRestoredIndicator=$z,exports.UIListSelectAllCheckbox=eB,exports.UIListSelectionBar=cL,exports.UIListViewport=TL,exports.UIListVirtualItems=cI,exports.UIListVirtualPadding=$P,exports.UILoader=Cs,exports.UILogo=IS,exports.UILogoWithText=qE,exports.UIMainContent=Uz,exports.UIMainLayout=Jz,exports.UIMainSidebar=CC,exports.UIMainSidebarFooterAccountCard=kS,exports.UIMainSidebarFooterFeaturedCard=MS,exports.UIMainSidebarGlobalSearch=NS,exports.UIMainSidebarHeaderContainer=PS,exports.UIMainSidebarHeaderLogoWithText=zS,exports.UIMainSidebarHeaderReturnToApp=VS,exports.UIMainSidebarNavigationGroup=US,exports.UIMainSidebarNavigationGroups=WS,exports.UIMainSidebarNavigationLink=gC,exports.UIMainSidebarNavigationLinkBadge=JS,exports.UIMainSidebarNavigationLinkStatusDot=nC,exports.UIMainSidebarNavigationSubItemCount=rC,exports.UIMenuItem=Vs,exports.UINumberBadge=hO,exports.UINumberField=nB,exports.UIPage=UD,exports.UIPhoneNumberField=cB,exports.UIPopover=hb,exports.UIRadioGroup=vB,exports.UIRadioGroupItem=hB,exports.UIRelativeDateTime=yB,exports.UIResponsiveDrawer=zy,exports.UIRowLayout=B,exports.UIScrollable=$b,exports.UISearchField=kB,exports.UISegmentedControl=qB,exports.UISegmentedControlGroup=XB,exports.UISegmentedControlGroupItem=ZB,exports.UISegmentedControlItem=QB,exports.UISelect=yx,exports.UISelectContent=hx,exports.UISelectDropdown=gx,exports.UISelectOption=sx,exports.UISeparator=Zs,exports.UISkeletonItem=J,exports.UISwitch=rV,exports.UITable=$V,exports.UITableBody=sV,exports.UITableBodyGroup=hV,exports.UITableBodyRow=wV,exports.UITableBodyRowActionsCell=SV,exports.UITableBodyRowCell=xV,exports.UITableCell=xV,exports.UITableBodyRowCellInteractiveElement=TV,exports.UITableCellInteractiveElement=TV,exports.UITableBodyRowCellText=eH,exports.UITableCellText=eH,exports.UITableBodyRowGroupCell=iH,exports.UITableBodySubGroup=AV,exports.UITableHeader=FV,exports.UITableHeaderCell=PV,exports.UITableHiddenResultsWarning=RV,exports.UITableLoading=zV,exports.UITableRoot=qV,exports.UITableScrollContainer=XV,exports.UITableSubgrid=iV,exports.UITabs=dO,exports.UITabsContent=fO,exports.UITabsItem=_O,exports.UITabsList=SO,exports.UITabsRouterLink=CO,exports.UITabsRouterLinkContent=wO,exports.UITabsRouterLinkItem=TO,exports.UITagsField=pH,exports.UITagsFieldTag=fH,exports.UIText=G,exports.UITextField=Bx,exports.UITextShimmer=wC,exports.UITextareaField=_H,exports.UIThemeProvider=Xi,exports.UITimeField=yH,exports.UITimeline=CH,exports.UITimelineItem=wH,exports.UIToastContainer=QT,exports.UITooltip=ts,exports.UITooltipContent=os,exports.UITooltipProvider=$T,exports.UITooltipText=ls,exports.UITopBar=Hz,exports.addressToFormattedAddress=Ec,exports.createAutocompleteOptions=Kx,exports.createComponent=TH,exports.createCustomCell=kL,exports.createDataTableAvatarCell=zL,exports.createDataTableBadgeCell=BL,exports.createDataTableBadgeGroupCell=VL,exports.createDataTableBooleanCell=PL,exports.createDataTableContactInfoCell=RL,exports.createDataTableCurrencyCell=NL,exports.createDataTableCustomCell=UL,exports.createDataTableIdCell=IL,exports.createDataTableLocationCell=LL,exports.createDataTableLongTextCell=FL,exports.createDataTableNumberCell=ML,exports.createDataTableRowActionClick=GL,exports.createDataTableRowLinkClick=WL,exports.createDataTableTextCell=jL,exports.createDataTableTimestampCell=HL,exports.createSelectOptions=gb,exports.defineDataTableColumns=AL,exports.defineTableColumns=sH,exports.fileReferenceFormSchema=ee,exports.formattedAddressToString=Dc,exports.getDataTableCellGroupingValue=JI,exports.getLocaleFromNumberFormat=A,exports.toFormField=Vx,exports.tv=W,exports.uiLocales=u.t,exports.useBreakpoints=by,exports.useDataTable=XI,exports.useDataTableCustomizeColumns=lH,exports.useDataTableVirtualScroller=OL,exports.useDialogChin=XC,exports.useDialogTriggerProps=nw,exports.useInjectConfigContext=rm,exports.useInjectDataTableContext=mP,exports.useInjectDetailPaneContext=DD,exports.useInjectFormContext=vy,exports.useInjectListContext=TP,exports.useInjectListItemContext=Xz,exports.useInjectListViewportContext=DP,exports.useInjectTableBodyRowContext=_V,exports.useInjectTableContext=oV,exports.useInjectTableGroupContext=uV,exports.useInjectTableScrollContainerContext=YV,exports.useInjectTableSubGroupContext=yV,exports.useInput=_b,exports.useIsReducedMotion=im,exports.useIsTruncated=cs,exports.useListVirtualizer=wL,exports.useMainSidebar=ES,exports.useNumberFormat=DH,exports.useOverlay=QC,exports.useProvideDataTableContext=pP,exports.useProvideDetailPaneContext=ED,exports.useProvideTableBodyRowContext=gV,exports.useProvideTableContext=aV,exports.useProvideTableGroupContext=lV,exports.useProvideTableScrollContainerContext=JV,exports.useProvideTableSubGroupContext=vV,exports.useSearch=MB,exports.useSort=OH,exports.useTableColumnResize=aH,exports.useTableColumnWidths=GV,exports.useTableCustomizeColumns=uH,exports.useTableFrozenColumns=oH,exports.useTableScrollState=KV,exports.useTableVirtualScroller=QV,exports.useToast=ZT,exports.useTopBarNavigation=JD;
1177
+ `,item:`relative flex`,itemTrack:`flex shrink-0 flex-col items-center`,root:`flex flex-col`},variants:{size:{md:{connector:`mt-md mb-md w-px`,content:`pb-3xl`,icon:`size-4`,indicator:`size-8`,item:`gap-lg`},sm:{connector:`mt-xs mb-xs w-px`,content:`pb-md`,icon:`size-3`,indicator:`size-6`,item:`gap-sm`}},variant:{outline:{indicator:`border border-secondary bg-primary`},solid:{indicator:`bg-brand-primary-alt text-fg-brand-primary-alt`},subtle:{indicator:`bg-tertiary text-secondary`}},isLast:{true:{connector:`invisible`,content:`pb-0`}}}}),SH=(0,f.defineComponent)({__name:`Timeline`,props:{size:{default:`md`},variant:{default:`solid`}},setup(e){let t=e,n=(0,f.computed)(()=>xH({size:t.size,variant:t.variant}));return yH({...Ki(t),variants:n}),(e,t)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)(n.value.root())},[(0,f.renderSlot)(e.$slots,`default`)],2))}}),CH=(0,f.defineComponent)({__name:`TimelineItem`,props:{isLast:{type:Boolean,default:!1},icon:{default:void 0}},setup(e){let t=e,{size:n,variant:r}=bH(),i=(0,f.computed)(()=>xH({isLast:t.isLast,size:n.value,variant:r.value}));return(e,n)=>((0,f.openBlock)(),(0,f.createElementBlock)(`div`,{class:(0,f.normalizeClass)(i.value.item())},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.itemTrack())},[(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.indicator())},[(0,f.renderSlot)(e.$slots,`indicator`,{},()=>[t.icon==null?(0,f.createCommentVNode)(``,!0):((0,f.openBlock)(),(0,f.createBlock)((0,f.resolveDynamicComponent)(t.icon),{key:0,class:(0,f.normalizeClass)(i.value.icon())},null,8,[`class`]))])],2),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.connector())},null,2)],2),(0,f.createElementVNode)(`div`,{class:(0,f.normalizeClass)(i.value.content())},[(0,f.renderSlot)(e.$slots,`default`)],2)],2))}});function wH(e,t){return(0,f.h)(e,t)}function TH(e,t,n=0){return new Intl.NumberFormat(t,{maximumFractionDigits:n}).format(e)}function EH(){let e=rm(),t=(0,f.computed)(()=>{let t=e.numberFormat?.value;return A(t)});return{format(e,n){return TH(e,t.value,n)},locale:t}}function DH(e){let t=(0,f.shallowRef)(e?.initialValues??[]);function n(n){let r=t.value.findIndex(e=>e.key===n);if(r!==-1){let i=t.value[r]??null;if(i===null)return;i.direction===`asc`?t.value=e.enableMultiSort?t.value.map((e,t)=>t===r?{...e,direction:`desc`}:e):[{direction:`desc`,key:n}]:t.value=t.value.filter((e,t)=>t!==r)}else t.value=e.enableMultiSort?[{direction:`asc`,key:n},...t.value]:[{direction:`asc`,key:n}]}function r(t){return e.keys.includes(t)}function i(e){return t.value.find(t=>t.key===e)??null}function a(){t.value=[]}return{existsSort:r,getSort:i,resetSort:a,toggleSort:n,values:(0,f.computed)(()=>t.value)}}exports.BREAKPOINTS=yy,exports.BaseFileUploadError=tE,exports.BaseFileUploadStatus=X,exports.DataTableUtil=HO,exports.FileReferenceTransformer=D,exports.INPUT_DEFAULTS=yb,exports.INPUT_FIELD_DEFAULTS=xb,exports.INPUT_META_DEFAULTS=bb,exports.MimeType=E,exports.PresignedFileReferenceTransformer=O,exports.TableUtil=VV,exports.UIActionContextMenu=dc,exports.UIActionDropdownMenu=yc,exports.UIActionFocus=bc,exports.UIActionTooltip=K,exports.UIActionTrigger=xc,exports.UIAdaptiveContent=wc,exports.UIAdaptiveContentBlock=Tc,exports.UIAddressAutocomplete=oS,exports.UIAnimateHeight=Gx,exports.UIApplicationLoadingView=OC,exports.UIApplicationOfflineWarning=MC,exports.UIApplicationProvider=eE,exports.UIApplicationSkipToMainContent=PC,exports.UIAutoFocus=Wy,exports.UIAutocomplete=aS,exports.UIAutocompleteContent=rS,exports.UIAutocompleteOption=Zx,exports.UIAvatar=hs,exports.UIAvatarGroup=vs,exports.UIAvatarGroupAddButton=Ts,exports.UIAvatarLabel=Os,exports.UIBadge=Pb,exports.UIBadgeDot=kb,exports.UIBadgeGroup=Fb,exports.UIBadgeGroupTruncate=Ib,exports.UIBadgeIcon=Ab,exports.UIBadgeLabel=jb,exports.UIBadgeSeparator=GS,exports.UIBaseCheckbox=oD,exports.UIBaseFileUploadClipboard=mE,exports.UIBaseFileUploadClipboardRemove=hE,exports.UIBaseFileUploadClipboardUpload=gE,exports.UIBaseFileUploadDropzone=_E,exports.UIBaseFileUploadItem=RE,exports.UIBaseFileUploadItemCancel=zE,exports.UIBaseFileUploadItemDownload=BE,exports.UIBaseFileUploadItemRemove=VE,exports.UIBaseFileUploadItemReplace=HE,exports.UIBaseFileUploadRoot=UE,exports.UIBaseFileUploadTrigger=WE,exports.UIBaseHeader=YE,exports.UIBreadcrumbItem=XE,exports.UIBreadcrumbItems=QE,exports.UIBreadcrumbSeparator=$E,exports.UIButton=$v,exports.UICheckbox=sD,exports.UICheckboxGroup=fD,exports.UICheckboxGroupCheckbox=uD,exports.UICheckboxGroupIndeterminateCheckbox=dD,exports.UIClickableElement=Mb,exports.UIColumnLayout=q,exports.UICommandMenu=qC,exports.UIConfigProvider=am,exports.UIConfirmDialog=qy,exports.UIContextMenu=Zi,exports.UIContextMenuCheckboxItem=Hs,exports.UIDropdownMenuCheckboxItem=Hs,exports.UIContextMenuGroup=Us,exports.UIDropdownMenuGroup=Us,exports.UIContextMenuHeader=Ks,exports.UIDropdownMenuHeader=Ks,exports.UIContextMenuItem=qs,exports.UIDropdownMenuItem=qs,exports.UIContextMenuRadioGroup=Js,exports.UIDropdownMenuRadioGroup=Js,exports.UIContextMenuRadioItem=Ys,exports.UIDropdownMenuRadioItem=Ys,exports.UIContextMenuSeparator=Qs,exports.UIDropdownMenuSeparator=Qs,exports.UIContextMenuSub=$s,exports.UIDropdownMenuSub=$s,exports.UIContextMenuSubContent=$i,exports.UIContextMenuSubTrigger=nc,exports.UIDropdownMenuSubTrigger=nc,exports.UIDashboardPage=XD,exports.UIDashboardPageActions=wD,exports.UIDashboardPageCenteredContent=mD,exports.UIDashboardPageCenteredContentHeader=bD,exports.UIDashboardPageCenteredContentScrollable=SD,exports.UIDashboardPageContainer=CD,exports.UIDashboardPageContent=TD,exports.UIDashboardPageDetailPaneBody=$D,exports.UIDashboardPageDetailPaneCloseButton=eO,exports.UIDashboardPageDetailPaneFooter=rO,exports.UIDashboardPageDetailPaneHeader=oO,exports.UIDashboardPageDetailPaneTabs=EO,exports.UIDashboardPageDetailPaneTabsContent=DO,exports.UIDashboardPageDetailPaneTabsList=kO,exports.UIDashboardPageDetailPaneToggle=AO,exports.UIDashboardPageHeader=FO,exports.UIDashboardPageHeaderMasterActionButton=IO,exports.UIDashboardPageLoadingState=QD,exports.UIDataTable=EL,exports.UIDataTableCell=gP,exports.UIDataTableCellAvatar=YO,exports.UIDataTableCellBadge=XO,exports.UIDataTableCellBadgeGroup=ZO,exports.UIDataTableCellBoolean=ek,exports.UIDataTableCellContactInfo=uk,exports.UIDataTableCellCurrency=fk,exports.UIDataTableCellId=mk,exports.UIDataTableCellLocation=vk,exports.UIDataTableCellLongText=xk,exports.UIDataTableCellNumber=Ck,exports.UIDataTableCellRenderer=kP,exports.UIDataTableCellText=Tk,exports.UIDataTableCellTimestamp=kk,exports.UIDataTableCheckboxCell=_P,exports.UIDataTableExpandCell=yP,exports.UIDataTableGroupRow=NP,exports.UIDataTableHeaderCell=sF,exports.UIDataTableHeaderCheckboxCell=cF,exports.UIDataTableRow=xP,exports.UIDataTableSelectionActionBar=DL,exports.UIDataTableSubComponentRow=CP,exports.UIDateField=dR,exports.UIDatePicker=pR,exports.UIDateRangeField=BR,exports.UIDateRangePicker=JR,exports.UIDateTime=XR,exports.UIDetailList=fI,exports.UIDetailListGroup=bI,exports.UIDetailListGroupHeader=yI,exports.UIDetailListGroupHeaderCollapseArrowIcon=gI,exports.UIDetailListGroupHeaderCollapseInfo=_I,exports.UIDetailListGroupItem=SI,exports.UIDetailListGroupItemLabel=wI,exports.UIDetailListGroupItemValueBadge=TI,exports.UIDetailListGroupItemValueText=DI,exports.UIDetailListGroupSeparator=OI,exports.UIDialog=Vy,exports.UIDialogBody=YC,exports.UIDialogContainer=$C,exports.UIDialogFooter=Hy,exports.UIDialogFooterCancel=Uy,exports.UIDialogFooterPrimary=Gy,exports.UIDialogFooterSecondary=ew,exports.UIDialogFooterSubmit=tw,exports.UIDialogHeader=Ky,exports.UIDot=Ms,exports.UIDropdownMenu=ra,exports.UIDropdownMenuSubContent=tc,exports.UIEmptyState=$F,exports.UIFeaturedIcon=KE,exports.UIForm=Xy,exports.UIFormDialog=aw,exports.UIFormDialogForm=ow,exports.UIFormFieldGrid=uy,exports.UIFormFieldGroup=dy,exports.UIFormFieldSeperator=fy,exports.UIFormFieldSet=hy,exports.UIFormFileUpload=Ez,exports.UIFormLayout=gy,exports.UIFormSubmitButton=fb,exports.UIIconButton=Y,exports.UIInputWrapper=qb,exports.UIInteractable=Dz,exports.UIKeyboardShortcut=sa,exports.UILink=iy,exports.UIList=aL,exports.UIListEmpty=eI,exports.UIListError=iI,exports.UIListItem=Xz,exports.UIListItemCheckbox=Zz,exports.UIListLoading=sI,exports.UIListScrollRestoredIndicator=Qz,exports.UIListSelectAllCheckbox=$z,exports.UIListSelectionBar=cL,exports.UIListViewport=TL,exports.UIListVirtualItems=cI,exports.UIListVirtualPadding=$P,exports.UILoader=Cs,exports.UILogo=IS,exports.UILogoWithText=qE,exports.UIMainContent=Hz,exports.UIMainLayout=qz,exports.UIMainSidebar=CC,exports.UIMainSidebarFooterAccountCard=kS,exports.UIMainSidebarFooterFeaturedCard=MS,exports.UIMainSidebarGlobalSearch=NS,exports.UIMainSidebarHeaderContainer=PS,exports.UIMainSidebarHeaderLogoWithText=zS,exports.UIMainSidebarHeaderReturnToApp=VS,exports.UIMainSidebarNavigationGroup=US,exports.UIMainSidebarNavigationGroups=WS,exports.UIMainSidebarNavigationLink=gC,exports.UIMainSidebarNavigationLinkBadge=JS,exports.UIMainSidebarNavigationLinkStatusDot=nC,exports.UIMainSidebarNavigationSubItemCount=rC,exports.UIMenuItem=Vs,exports.UINumberBadge=hO,exports.UINumberField=tB,exports.UIPage=UD,exports.UIPhoneNumberField=sB,exports.UIPopover=hb,exports.UIRadioGroup=_B,exports.UIRadioGroupItem=mB,exports.UIRelativeDateTime=vB,exports.UIResponsiveDrawer=zy,exports.UIRowLayout=B,exports.UIScrollable=$b,exports.UISearchField=OB,exports.UISegmentedControl=KB,exports.UISegmentedControlGroup=YB,exports.UISegmentedControlGroupItem=XB,exports.UISegmentedControlItem=ZB,exports.UISelect=yx,exports.UISelectContent=hx,exports.UISelectDropdown=gx,exports.UISelectOption=sx,exports.UISeparator=Zs,exports.UISkeletonItem=J,exports.UISwitch=nV,exports.UITable=QV,exports.UITableBody=oV,exports.UITableBodyGroup=mV,exports.UITableBodyRow=CV,exports.UITableBodyRowActionsCell=xV,exports.UITableBodyRowCell=bV,exports.UITableCell=bV,exports.UITableBodyRowCellInteractiveElement=wV,exports.UITableCellInteractiveElement=wV,exports.UITableBodyRowCellText=$V,exports.UITableCellText=$V,exports.UITableBodyRowGroupCell=rH,exports.UITableBodySubGroup=kV,exports.UITableHeader=PV,exports.UITableHeaderCell=NV,exports.UITableHiddenResultsWarning=LV,exports.UITableLoading=RV,exports.UITableRoot=KV,exports.UITableScrollContainer=YV,exports.UITableSubgrid=rV,exports.UITabs=dO,exports.UITabsContent=fO,exports.UITabsItem=_O,exports.UITabsList=SO,exports.UITabsRouterLink=CO,exports.UITabsRouterLinkContent=wO,exports.UITabsRouterLinkItem=TO,exports.UITagsField=fH,exports.UITagsFieldTag=dH,exports.UIText=G,exports.UITextField=Bx,exports.UITextShimmer=wC,exports.UITextareaField=gH,exports.UIThemeProvider=Xi,exports.UITimeField=vH,exports.UITimeline=SH,exports.UITimelineItem=CH,exports.UIToastContainer=QT,exports.UITooltip=ts,exports.UITooltipContent=os,exports.UITooltipProvider=$T,exports.UITooltipText=ls,exports.UITopBar=Vz,exports.addressToFormattedAddress=Ec,exports.createAutocompleteOptions=Kx,exports.createComponent=wH,exports.createCustomCell=kL,exports.createDataTableAvatarCell=zL,exports.createDataTableBadgeCell=BL,exports.createDataTableBadgeGroupCell=VL,exports.createDataTableBooleanCell=PL,exports.createDataTableContactInfoCell=RL,exports.createDataTableCurrencyCell=NL,exports.createDataTableCustomCell=UL,exports.createDataTableIdCell=IL,exports.createDataTableLocationCell=LL,exports.createDataTableLongTextCell=FL,exports.createDataTableNumberCell=ML,exports.createDataTableRowActionClick=GL,exports.createDataTableRowLinkClick=WL,exports.createDataTableTextCell=jL,exports.createDataTableTimestampCell=HL,exports.createSelectOptions=gb,exports.defineDataTableColumns=AL,exports.defineTableColumns=oH,exports.fileReferenceFormSchema=ee,exports.formattedAddressToString=Dc,exports.getDataTableCellGroupingValue=JI,exports.getLocaleFromNumberFormat=A,exports.toFormField=Vx,exports.tv=W,exports.uiLocales=u.t,exports.useBreakpoints=by,exports.useDataTable=XI,exports.useDataTableCustomizeColumns=cH,exports.useDataTableVirtualScroller=OL,exports.useDialogChin=XC,exports.useDialogTriggerProps=nw,exports.useInjectConfigContext=rm,exports.useInjectDataTableContext=mP,exports.useInjectDetailPaneContext=DD,exports.useInjectFormContext=vy,exports.useInjectListContext=TP,exports.useInjectListItemContext=Yz,exports.useInjectListViewportContext=DP,exports.useInjectTableBodyRowContext=gV,exports.useInjectTableContext=aV,exports.useInjectTableGroupContext=lV,exports.useInjectTableScrollContainerContext=JV,exports.useInjectTableSubGroupContext=vV,exports.useInput=_b,exports.useIsReducedMotion=im,exports.useIsTruncated=cs,exports.useListVirtualizer=wL,exports.useMainSidebar=ES,exports.useNumberFormat=EH,exports.useOverlay=QC,exports.useProvideDataTableContext=pP,exports.useProvideDetailPaneContext=ED,exports.useProvideTableBodyRowContext=hV,exports.useProvideTableContext=iV,exports.useProvideTableGroupContext=cV,exports.useProvideTableScrollContainerContext=qV,exports.useProvideTableSubGroupContext=_V,exports.useSearch=jB,exports.useSort=DH,exports.useTableColumnResize=iH,exports.useTableColumnWidths=WV,exports.useTableCustomizeColumns=lH,exports.useTableFrozenColumns=aH,exports.useTableScrollState=GV,exports.useTableVirtualScroller=ZV,exports.useToast=ZT,exports.useTopBarNavigation=JD;