varlt=Object.create;varGe=Object.defineProperty;varct=Object.getOwnPropertyDescriptor;varut=Object.getOwnPropertyNames;varht=Object.getPrototypeOf,dt=Object.prototype.hasOwnProperty;varft=(se,ie)=>()=>(ie||se((ie={exports:{}}).exports,ie),ie.exports);varpt=(se,ie,X,me)=>{if(ie&&typeofie=="object"||typeofie=="function")for(letjofut(ie))!dt.call(se,j)&&j!==X&&Ge(se,j,{get:()=>ie[j],enumerable:!(me=ct(ie,j))||me.enumerable});returnse};varmt=(se,ie,X)=>(X=se!=null?lt(ht(se)):{},pt(ie||!se||!se.__esModule?Ge(X,"default",{value:se,enumerable:!0}):X,se));var$e=ft((Ae,Ye)=>{(function(ie,X){typeofAe=="object"&&typeofYe=="object"?Ye.exports=X():typeofdefine=="function"&&define.amd?define([],X):typeofAe=="object"?Ae.Choices=X():ie.Choices=X()})(window,function(){returnfunction(){"use strict";varse={282:function(j,i,b){Object.defineProperty(i,"__esModule",{value:!0}),i.clearChoices=i.activateChoices=i.filterChoices=i.addChoice=void0;var_=b(883),h=function(c){varl=c.value,O=c.label,L=c.id,y=c.groupId,D=c.disabled,k=c.elementId,Q=c.customProperties,Z=c.placeholder,ne=c.keyCode;return{type:_.ACTION_TYPES.ADD_CHOICE,value:l,label:O,id:L,groupId:y,disabled:D,elementId:k,customProperties:Q,placeholder:Z,keyCode:ne}};i.addChoice=h;vard=function(c){return{type:_.ACTION_TYPES.FILTER_CHOICES,results:c}};i.filterChoices=d;vara=function(c){returnc===void0&&(c=!0),{type:_.ACTION_TYPES.ACTIVATE_CHOICES,active:c}};i.activateChoices=a;varr=function(){return{type:_.ACTION_TYPES.CLEAR_CHOICES}};i.clearChoices=r},783:function(j,i,b){Object.defineProperty(i,"__esModule",{value:!0}),i.addGroup=void0;var_=b(883),h=function(d){vara=d.value,r=d.id,c=d.active,l=d.disabled;return{type:_.ACTION_TYPES.ADD_GROUP,value:a,id:r,active:c,disabled:l}};i.addGroup=h},464:function(j,i,b){Object.defineProperty(i,"__esModule",{value:!0}),i.highlightItem=i.removeItem=i.addItem=void0;var_=b(883),h=function(r){varc=r.value,l=r.label,O=r.id,L=r.choiceId,y=r.groupId,D=r.customProperties,k=r.placeholder,Q=r.keyCode;return{type:_.ACTION_TYPES.ADD_ITEM,value:c,label:l,id:O,choiceId:L,groupId:y,customProperties:D,placeholder:k,keyCode:Q}};i.addItem=h;vard=function(r,c){return{type:_.ACTION_TYPES.REMOVE_ITEM,id:r,choiceId:c}};i.removeItem=d;vara=function(r,c){return{type:_.ACTION_TYPES.HIGHLIGHT_ITEM,id:r,highlighted:c}};i.highlightItem=a},137:function(j,i,b){Object.defineProperty(i,"__esModule",{value:!0}),i.setIsLoading=i.resetTo=i.clearAll=void0;var_=b(883),h=function(){return{type:_.ACTION_TYPES.CLEAR_ALL}};i.clearAll=h;vard=function(r){return{type:_.ACTION_TYPES.RESET_TO,state:r}};i.resetTo=d;vara=function(r){return{type:_.ACTION_TYPES.SET_IS_LOADING,isLoading:r}};i.setIsLoading=a},373:function(j,i,b){var_=this&&this.__spreadArray||function(g,e,t){if(t||arguments.length===2)for(varn=0,s=e.length,v;n<s;n++)(v||!(nine))&&(v||(v=Array.prototype.slice.call(e,0,n)),v[n]=e[n]);returng.concat(v||Array.prototype.slice.call(e))},h=this&&this.__importDefault||function(g){returng&&g.__esModule?g:{default:g}};Object.defineProperty(i,"__esModule",{value:!0});vard=h(b(996)),a=h(b(221)),r=b(282),c=b(783),l=b(464),O=b(137),L=b(520),y=b(883),D=b(789),k=b(799),Q=b(655),Z=h(b(744)),ne=h(b(686)),E="-ms-scroll-limit"indocument.documentElement.style&&"-ms-ime-align"indocument.documentElement.style,w={},N=function(){functiong(e,t){e===void0&&(e="[data-choice]"),t===void0&&(t={});varn=this;t.allowHTML===void0&&console.warn("Deprecation warning: allowHTML will default to false in a future release. To render HTML in Choices, you will need to set it to true. Setting allowHTML will suppress this message."),this.config=d.default.all([D.DEFAULT_CONFIG,g.defaults.options,t],{arrayMerge:function(u,C){return_([],C,!0)}});vars=(0,k.diff)(this.config,D.DEFAULT_CONFIG);s.length&&console.warn("Unknown config option(s) passed",s.join(", "));varv=typeofe=="string"?document.querySelector(e):e;if(!(vinstanceofHTMLInputElement||vinstanceofHTMLSelectElement))throwTypeError("Expected one of the following types text|select-one|select-multiple");if(this._is