@bmlt-enabled/croutonjs 3.20.2 → 3.20.3

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.
@@ -1 +1 @@
1
- if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");var words;function CroutonLocalization(t){this.language=t,this.words={ar:{days_of_the_week:["","الأحد","الاثنين","الثلاثاء","الأربعاء ","الخميس","الجمعة","السبت"],weekday:"يوم عمل",city:"مدينة",cities:"المدن",groups:"مجموعات",areas:"المناطق",regions:"المناطق",locations:"المواقع",counties:"المقاطعات",states:"المقاطعات",postal_codes:"الرموز البريدية",formats:"الأشكال",map:"خريطة",neighborhood:"الحي",near_me:"بالقرب مني",text_search:"البحث عن النص",click_search:"انقر فوق البحث",pan_and_zoom:"عموم + التكبير",languages:"اللغات",common_needs:"الاحتياجات المشتركة",meeting_count:"الاجتماعات الأسبوعية:",venue_types:"أنواع المكان",venue_type_choices:{IN_PERSON:"شخصيا",VIRTUAL:"افتراضي"},service_body_types:{AS:"لجنة خدمات المنطق",RS:"لجنة خدمات الإقلي.م",ZF:"منتدى المنطقة",MA:"لجنة خدمات العاصمة",LS:"خدمة المنتديات المحلية",GS:"Group Support Forum"},"css-direction":"bmlt-rtl",share:"مشاركة",tabular:"جدول",google_directions:"اتجاهات جوجل للاجتماع",no_meetings_for_this_day:"لا توجد اجتماعات لهذا اليوم.",all:"الجميع",menu:"القائمة","search for meetings":"البحث عن الاجتماعات","show meetings near...":"أظهر الاجتماعات بالقرب من...","filter meetings":"سرد الاجتماعات","visible meeting list":"قائمة الاجتماعات المرئية","enter a city or zip code":"أدخل المدينة أو الرمز البريدي","toggle fullscreen mode":"تبديل وضع ملء الشاشة",close:"قريب",bmlt2ics:"Add to your calendar","meeting page":"صفحة الاجتماع","meeting details":"تفاصيل الاجتماع","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"da-DK":{days_of_the_week:["","Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],weekday:"Ugedag",city:"By",cities:"Byer",groups:"Grupper",areas:"Områder",regions:"Regions",locations:"Lokalite",counties:"Amter",states:"Provinser",postal_codes:"Post nummer",formats:"Struktur",map:"Kort",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",tabular:"As table",google_directions:"Google directions to meeting",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"de-DE":{days_of_the_week:["","Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],weekday:"Wochentag",city:"Stadt",cities:"Städte",groups:"Gruppen",areas:"Gebiete",regions:"Regions",locations:"Orte",counties:"Landkreise",states:"Bundesländer",postal_codes:"PLZ",formats:"Formate",map:"Karte",neighborhood:"Nachbarschaft",near_me:"In meiner Nähe",text_search:"Textsuche",click_search:"Klicksuche",pan_and_zoom:"Schwenken + Zoomen",languages:"Sprachen",common_needs:"Common Needs",meeting_count:"Wöchentliche Meetings:",venue_types:"Treffpunktarten",venue_type_choices:{IN_PERSON:"Präsenz-Meetings",VIRTUAL:"Online-Meetings"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Teilen",tabular:"Als Tabelle",google_directions:"Google Routenplaner",no_meetings_for_this_day:"Keine Meetings an diesem Tag.","css-textalign":"","css-floatdirection":"",all:"Alle",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Meetings in andere Städten","filter meetings":"Filter für Sprache, Format usw.","visible meeting list":"Sichtbare Meetings als Tabelle","enter a city or zip code":"Stadt oder PLZ","toggle fullscreen mode":"Umschalten Vollbildmodus",close:"Schliessen",bmlt2ics:"Zu Kalender hinzufügen","meeting page":"Meeting Seite","meeting details":"Genaueres zum Meeting","report update":"Report an Update","filter by visibility":"Zeige nur Meetings, die gerade auf dem Karte stehen",go:"Los!"},"en-AU":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",bmlt2ics:"Add to your calendar",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-CA":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"Provinces",postal_codes:"Postal Codes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-NZ":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-UK":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-US":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Zips",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",tabular:"As table",google_directions:"Google directions to meeting",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"es-US":{days_of_the_week:["","Domingo"," Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],weekday:"Día de la semana",city:"Ciudad",cities:"Ciudades",groups:"Grupos",areas:"Areas",regions:"Regions",locations:"Ubicaciones",counties:"Condados",states:"Estados",postal_codes:"Codiagos postales",formats:"Formatos",map:"Mapa",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"",tabular:"As table",google_directions:"Google directions to meeting","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"fa-IR":{days_of_the_week:["","یَکشَنب","دوشَنبه","سه‌شنبه","چهار شنبه","پَنج شَنبه","جُمعه","شَنبه"],weekday:"روز هفته",city:"شهر",cities:"شهرها",groups:"گروه ها",areas:"نواحی",regions:"Regions",locations:"آدرسها",counties:"بخشها",states:"ایالات",postal_codes:"کد پستی",formats:"فورمت ها",map:"نقشه",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-direction":"bmlt-rtl",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"fr-CA":{days_of_the_week:["","Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekday:"Journée",city:"Ville",cities:"Villes",groups:"Groupes",areas:"ASL",regions:"Regions",locations:"Emplacements",counties:"Régions",states:"Provinces",postal_codes:"Codes postaux",formats:"Formats",map:"Carte",neighborhood:"Quartier",near_me:"À côté de moi",text_search:"Recherche textuelle",click_search:"Recherche au clic",pan_and_zoom:"Panoramique + Zoom",languages:"Langages",common_needs:"Besoins",meeting_count:"Nombre de réunions par semaine",venue_types:"Types de lieux",venue_type_choices:{IN_PERSON:"Physique",VIRTUAL:"Virtuel"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Partager",tabular:"Liste",google_directions:"Itinéraire sur Google Maps",no_meetings_for_this_day:"Pas de réunion aujourd'hui.","css-textalign":"css-textalign","css-floatdirection":"css-floatdirection",all:"Tout",menu:"Menu","search for meetings":"Rechercher des réunions","show meetings near...":"Afficher les réunions près de...","filter meetings":"Filtrer les réunions","visible meeting list":"Liste des réunions visibles","enter a city or zip code":"Entrer une ville ou un code postal","toggle fullscreen mode":"Basculer en mode plein écran",close:"Fermer",bmlt2ics:"Ajouter au calendrier","meeting page":"Page de la réunion","meeting details":"Détails de la réunion","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"it-IT":{days_of_the_week:["","Domenica"," Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekday:"Giorno",city:"Città",cities:"Città",groups:"Gruppi",areas:"Aree",regions:"Regione",locations:"Località",counties:"Province",states:"Regione",postal_codes:"CAP",formats:"Formati",map:"Mappa",neighborhood:"Quartiere",near_me:"Vicino a me",text_search:"Ricerca testuale",click_search:"Fare click su cerca",pan_and_zoom:"Panoramica e zoom",languages:"Lingue",common_needs:"Bisogni comuni",meeting_count:"Incontri settimanali:",venue_types:"Tipologia di locali",venue_type_choices:{IN_PERSON:"Riunione fisica",VIRTUAL:"Riunione virtuale"},service_body_types:{AS:"Comitato area",RS:"Comitato di regione",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Forum supporto gruppi"},share:"Condividi",tabular:"Tabellare",google_directions:"Mappa",no_meetings_for_this_day:"Nessuna riunione per questo giorno.","css-textalign":"","css-floatdirection":"",all:"Tutti",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Mostra incontri nelle vicinanze..","filter meetings":"Filtrare le riunioni","visible meeting list":"Elenco riunioni visibile","enter a city or zip code":"Inserire una città o un codice postale","toggle fullscreen mode":"Attiva/disattiva la modalità a schermo intero",close:"Close",bmlt2ics:"Aggiungi al tuo calendario","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"nl-NL":{days_of_the_week:["","Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],weekday:"Dag van de week",city:"Stad",cities:"Steden",groups:"Groepen",areas:"Gebieden",regions:"Regions",locations:"Locaties",counties:"Landen",states:"Provincies",postal_codes:"Postcodes",formats:"Formats",map:"Kaart",neighborhood:"Buurt",near_me:"Bij mij in de buurt",text_search:"Zoek op tekst",click_search:"Klik om te zoeken",pan_and_zoom:"Pan + Zoom",languages:"Talen",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Soorten locaties",venue_type_choices:{IN_PERSON:"Fysiek",VIRTUAL:"Online"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"pl-PL":{days_of_the_week:["","Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],weekday:"Dzień tygodnia",city:"Miasto",cities:"Miasta",groups:"Grupy",areas:"Okręgi",regions:"Regions",locations:"Lokalizacje",counties:"Powiaty",states:"Województwa",postal_codes:"Kody pocztowe",formats:"Formaty",map:"Mapa",neighborhood:"Sąsiedztwo",near_me:"Blisko Mnie",text_search:"Wpisz",click_search:"Kliknij na mapie",pan_and_zoom:"Przesuń powiększ",languages:"Języki",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"pt-BR":{days_of_the_week:["","Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],weekday:"Dia da semana",city:"Cidade",cities:"Cidades",groups:"Grupos",areas:"Áreas",regions:"Regions",locations:"Localizações",counties:"Municípios",states:"Estados",postal_codes:"CEPs",formats:"Formatos",map:"Mapa",neighborhood:"Bairro",near_me:"Minha Localização",text_search:"digite um endereço",click_search:"Clique no local",pan_and_zoom:"Panorâmico + Zoom",languages:"Idiomas",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"tipos de reunião",venue_type_choices:{IN_PERSON:"Presencial",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Compartilhar",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"ru-RU":{days_of_the_week:["","Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekday:"будний день",city:"Город",cities:"Города",groups:"Группы",areas:"Зоны",regions:"Regions",locations:"Локации",counties:"Страны",states:"Штаты",postal_codes:"Индексы (почтовые)",formats:"Форматы",map:"Карта",neighborhood:"Соседство",near_me:"Около меня",text_search:"Поиск текста",click_search:"Нажмите Поиск",pan_and_zoom:"Pan + Zoom",languages:"Языки",common_needs:"Common Needs",meeting_count:"Еженедельные собрания:",venue_types:"Типы собрания",venue_type_choices:{IN_PERSON:"Офлайн",VIRTUAL:"Онлайн"},share:"поделиться",tabular:"Как таблица",google_directions:"На карте",service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},no_meetings_for_this_day:"В этот день собраний нет","css-textalign":"","css-floatdirection":"",all:"All",menu:"Меню",bmlt2ics:"Добавить в календарь","search for meetings":"Поиск собраний","show meetings near...":"Показывать собрания рядом с...","filter meetings":"Фильтровать собрания","visible meeting list":"Собрания в виде списка","enter a city or zip code":"Введите город или почтовый индек","toggle fullscreen mode":"Включить полноэкранный режим",close:"Закрыть","meeting page":"Страница собрания","meeting details":"Подробности собрания","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"sv-SE":{days_of_the_week:["","Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],weekday:"Veckodag",city:"Stad",cities:"Städer",groups:"Grupper",areas:"Distrikt",regions:"Regions",locations:"Plats",counties:"Land",states:"Stater",postal_codes:"Postnummer",formats:"Format",map:"Karta",neighborhood:"Region",near_me:"Nära mig",text_search:"Söktext",click_search:"Sök",pan_and_zoom:"Panorera + Zooma",languages:"Språk",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"}}}!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var r=o[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var o=this,a=this.tip(),r=this.getUID(this.type);this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=a[0].offsetWidth,d=a[0].offsetHeight;if(c){var p=s,m=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+d>m.bottom?"top":"top"==s&&u.top-d<m.top?"bottom":"right"==s&&u.right+h>m.width?"left":"left"==s&&u.left-h<m.left?"right":s,a.removeClass(p).addClass(s)}var f=this.getCalculatedOffset(s,u,h,d);this.applyPlacement(f,s);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(e.TRANSITION_DURATION):g()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,a=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),e.top+=r,e.left+=s,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=a&&(e.top=e.top+a-c);var u=this.getViewportAdjustedDelta(i,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var h=/top|bottom/.test(i),d=h?2*u.left-o+l:2*u.top-a+c,p=h?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][p],h)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){function n(){"in"!=o.hoverState&&a.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),i&&i()}var o=this,a=t(this.$tip),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(e.TRANSITION_DURATION):n(),this.hoverState=null,this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var a=n?{top:0,left:0}:e.offset(),r={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,r,s,a)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-a-r.scroll,l=e.top+a-r.scroll+n;s<r.top?o.top=r.top-s:l>r.top+r.height&&(o.top=r.top+r.height-l)}else{var c=e.left-a,u=e.left+a+i;c<r.left?o.left=r.left-c:u>r.right&&(o.left=r.left+r.width-u)}return o},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("bs.tooltip"),a="object"==typeof i&&i;(o||!/destroy|hide/.test(i))&&(o||n.data("bs.tooltip",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),o=n.data("bs.popover"),a="object"==typeof i&&i;(o||!/destroy|hide/.test(i))&&(o||n.data("bs.popover",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new i(this)),"string"==typeof e&&o[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),r=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),e.trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=t(n);this.activate(e.closest("li"),i),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},i.prototype.activate=function(e,n,o){function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var r=n.find("> .active"),s=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!n.find("> .fade").length);r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a(),r.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i;return function(){var t,i,n;e&&e.requirejs||(e?i=e:e={},function(e){function o(t,e){return v.call(t,e)}function a(t,e){var i,n,o,a,r,s,l,c,u,h,d,p=e&&e.split("/"),m=_.map,f=m&&m["*"]||{};if(t&&"."===t.charAt(0))if(e){for(p=p.slice(0,p.length-1),r=(t=t.split("/")).length-1,_.nodeIdCompat&&w.test(t[r])&&(t[r]=t[r].replace(w,"")),t=p.concat(t),u=0;u<t.length;u+=1)if("."===(d=t[u]))t.splice(u,1),u-=1;else if(".."===d){if(1===u&&(".."===t[2]||".."===t[0]))break;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((p||f)&&m){for(u=(i=t.split("/")).length;u>0;u-=1){if(n=i.slice(0,u).join("/"),p)for(h=p.length;h>0;h-=1)if((o=m[p.slice(0,h).join("/")])&&(o=o[n])){a=o,s=u;break}if(a)break;!l&&f&&f[n]&&(l=f[n],c=u)}!a&&l&&(a=l,s=c),a&&(i.splice(0,s,a),t=i.join("/"))}return t}function r(t,i){return function(){return d.apply(e,b.call(arguments,0).concat([t,i]))}}function s(t){return function(e){f[t]=e}}function l(t){if(o(g,t)){var i=g[t];delete g[t],y[t]=!0,h.apply(e,i)}if(!o(f,t)&&!o(y,t))throw new Error("No "+t);return f[t]}function c(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function u(t){return function(){return _&&_.config&&_.config[t]||{}}}var h,d,p,m,f={},g={},_={},y={},v=Object.prototype.hasOwnProperty,b=[].slice,w=/\.js$/;p=function(t,e){var i,n=c(t),o=n[0];return t=n[1],o&&(i=l(o=a(o,e))),o?t=i&&i.normalize?i.normalize(t,function(t){return function(e){return a(e,t)}}(e)):a(t,e):(o=(n=c(t=a(t,e)))[0],t=n[1],o&&(i=l(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},m={require:function(t){return r(t)},exports:function(t){var e=f[t];return void 0!==e?e:f[t]={}},module:function(t){return{id:t,uri:"",exports:f[t],config:u(t)}}},h=function(t,i,n,a){var c,u,h,d,_,v,b=[],w=typeof n;if(a=a||t,"undefined"===w||"function"===w){for(i=!i.length&&n.length?["require","exports","module"]:i,_=0;_<i.length;_+=1)if("require"===(u=(d=p(i[_],a)).f))b[_]=m.require(t);else if("exports"===u)b[_]=m.exports(t),v=!0;else if("module"===u)c=b[_]=m.module(t);else if(o(f,u)||o(g,u)||o(y,u))b[_]=l(u);else{if(!d.p)throw new Error(t+" missing "+u);d.p.load(d.n,r(a,!0),s(u),{}),b[_]=f[u]}h=n?n.apply(f[t],b):void 0,t&&(c&&c.exports!==e&&c.exports!==f[t]?f[t]=c.exports:h===e&&v||(f[t]=h))}else t&&(f[t]=n)},t=i=d=function(t,i,n,o,a){if("string"==typeof t)return m[t]?m[t](i):l(p(t,i).f);if(!t.splice){if((_=t).deps&&d(_.deps,_.callback),!i)return;i.splice?(t=i,i=n,n=null):t=e}return i=i||function(){},"function"==typeof n&&(n=o,o=a),o?h(e,t,i,n):setTimeout(function(){h(e,t,i,n)},4),d},d.config=function(t){return d(t)},t._defined=f,(n=function(t,e,i){e.splice||(i=e,e=[]),o(f,t)||o(g,t)||(g[t]=[t,e,i])}).amd={jQuery:!0}}(),e.requirejs=t,e.require=i,e.define=n)}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,i=[];for(var n in e){"function"==typeof e[n]&&"constructor"!==n&&i.push(n)}return i}var i={Extend:function(t,e){function i(){this.constructor=t}var n={}.hasOwnProperty;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},Decorate:function(t,i){function n(){var e=Array.prototype.unshift,n=i.prototype.constructor.length,o=t.prototype.constructor;n>0&&(e.call(arguments,t.prototype.constructor),o=i.prototype.constructor),o.apply(this,arguments)}var o=e(i),a=e(t);i.displayName=t.displayName,n.prototype=new function(){this.constructor=n};for(var r=0;r<a.length;r++){var s=a[r];n.prototype[s]=t.prototype[s]}for(var l=function(t){var e=function(){};t in n.prototype&&(e=n.prototype[t]);var o=i.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),o.apply(this,arguments)}},c=0;c<o.length;c++){var u=o[c];n.prototype[u]=l(u)}return n}},n=function(){this.listeners={}};return n.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},n.prototype.trigger=function(t){var e=Array.prototype.slice;this.listeners=this.listeners||{},t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(t,e){for(var i=0,n=t.length;n>i;i++)t[i].apply(this,e)},i.Observable=n,i.generateChars=function(t){for(var e="",i=0;t>i;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},i.bind=function(t,e){return function(){t.apply(e,arguments)}},i._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o<i.length;o++){var a=i[o];(a=a.substring(0,1).toLowerCase()+a.substring(1))in n||(n[a]={}),o==i.length-1&&(n[a]=t[e]),n=n[a]}delete t[e]}}return t},i.hasScroll=function(e,i){var n=t(i),o=i.style.overflowX,a=i.style.overflowY;return(o!==a||"hidden"!==a&&"visible"!==a)&&("scroll"===o||"scroll"===a||(n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth))},i.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},i.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},i}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('<li role="treeitem" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);n.append(i(o(e.args))),this.$results.append(n)},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],o=this.option(n);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.setClasses=function(){var e=this;this.data.current(function(i){var n=t.map(i,function(t){return t.id.toString()}),o=e.$results.find(".select2-results__option[aria-selected]");o.each(function(){var e=t(this),i=t.data(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,n)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")});var a=o.filter("[aria-selected=true]");a.length>0?a.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var i=document.createElement("li");i.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var o in e.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(i.id=e._resultId),e.title&&(i.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var a=n[o];i.setAttribute(o,a)}if(e.children){var r=t(i),s=document.createElement("strong");s.className="select2-results__group",t(s),this.template(e,s);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],h=this.option(u);l.push(h)}var d=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(l),r.append(s),r.append(d)}else this.template(e,i);return t.data(i,"data",e),i},i.prototype.bind=function(e){var i=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){i.clear(),i.append(t.data),e.isOpen()&&i.setClasses()}),e.on("results:append",function(t){i.append(t.data),e.isOpen()&&i.setClasses()}),e.on("query",function(t){i.showLoading(t)}),e.on("select",function(){e.isOpen()&&i.setClasses()}),e.on("unselect",function(){e.isOpen()&&i.setClasses()}),e.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),e.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?i.trigger("close"):i.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(0!==n){var o=n-1;0===t.length&&(o=0);var a=e.eq(o);a.trigger("mouseenter");var r=i.$results.offset().top,s=a.offset().top,l=i.$results.scrollTop()+(s-r);0===o?i.$results.scrollTop(0):0>s-r&&i.$results.scrollTop(l)}}),e.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var o=e.eq(n);o.trigger("mouseenter");var a=i.$results.offset().top+i.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),s=i.$results.scrollTop()+r-a;0===n?i.$results.scrollTop(0):r>a&&i.$results.scrollTop(s)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-i.$results.scrollTop()+t.deltaY,o=t.deltaY>0&&e-t.deltaY<=0,a=t.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):a&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var n=t(this),o=n.data("data");return"true"===n.attr("aria-selected")?void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:e,data:o}):i.trigger("close")):void i.trigger("select",{originalEvent:e,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var e=t(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:e,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),a=n-i;o-=2*t.outerHeight(!1),2>=e?this.$results.scrollTop(0):(a>this.$results.outerHeight()||0>a)&&this.$results.scrollTop(o)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),a=n(e);null==a?i.style.display="none":"string"==typeof a?i.innerHTML=o(a):t(i).append(a)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},n.prototype.bind=function(t){var e=this,n=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){e.trigger("focus",t)}),this.$selection.on("blur",function(t){e.trigger("blur",t)}),this.$selection.on("keydown",function(t){e.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){e.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){e.update(t.data)}),t.on("open",function(){e.$selection.attr("aria-expanded","true"),e.$selection.attr("aria-owns",n),e._attachCloseHandler(t)}),t.on("close",function(){e.$selection.attr("aria-expanded","false"),e.$selection.removeAttr("aria-activedescendant"),e.$selection.removeAttr("aria-owns"),e.$selection.focus(),e._detachCloseHandler(t)}),t.on("enable",function(){e.$selection.attr("tabindex",e._tabindex)}),t.on("disable",function(){e.$selection.attr("tabindex","-1")})},n.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var i=t(e.target).closest(".select2");t(".select2.select2-container--open").each(function(){var e=t(this);this!=i[0]&&e.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i){function n(){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},n.prototype.bind=function(t){var e=this;n.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&e.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),t.on("selection:update",function(t){e.update(t.data)})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t){var e=this.options.get("templateSelection");return this.options.get("escapeMarkup")(e(t))},n.prototype.selectionContainer=function(){return t("<span></span>")},n.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.display(e),n=this.$selection.find(".select2-selection__rendered");n.empty().append(i),n.prop("title",e.title||e.text)}else this.clear()},n}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(){var e=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){e.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(i){var n=t(this).parent().data("data");e.trigger("unselect",{originalEvent:i,data:n})})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t){var e=this.options.get("templateSelection");return this.options.get("escapeMarkup")(e(t))},n.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var o=t[n],a=this.display(o),r=this.selectionContainer();r.append(a),r.prop("title",o.title||o.text),r.data("data",o),e.push(r)}var s=this.$selection.find(".select2-selection__rendered");i.appendMany(s,e)}},n}),e.define("select2/selection/placeholder",["../utils"],function(){function t(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},t.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function i(){}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),o=0;o<n.length;o++){var a={data:n[o]};if(this.trigger("unselect",a),a.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},i.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||(i.which==e.DELETE||i.which==e.BACKSPACE)&&this._handleClear(i)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var n=t('<span class="select2-selection__clear">&times;</span>');n.data("data",i),this.$selection.find(".select2-selection__rendered").prepend(n)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');return this.$searchContainer=i,this.$search=i.find("input"),e.call(this)},n.prototype.bind=function(t,e,n){var o=this;t.call(this,e,n),e.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus()}),e.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val(""),o.$search.focus()}),e.on("enable",function(){o.$search.prop("disabled",!1)}),e.on("disable",function(){o.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o.trigger("blur",t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var e=o.$searchContainer.prev(".select2-selection__choice");if(e.length>0){var n=e.data("data");o.searchRemoveChoice(n),t.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(t){o.handleSearch(t)})},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.trigger("open"),this.$search.val(e.text+" ")},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var o=this,a=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,a)){i=i||{};var n=t.Event("select2:"+e,{params:i});o.$element.trigger(n),-1!==t.inArray(e,r)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),e.define("select2/data/base",["../utils"],function(t){function e(){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return(n+=t.generateChars(4))+(null!=i.id?"-"+i.id.toString():"-"+t.generateChars(4))},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),o=n.item(t);e.push(o)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var o=[];(t=[t]).push.apply(t,n);for(var a=0;a<t.length;a++){var r=t[a].id;-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")});else{var n=t.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple"))return t.selected=!1,i(t.element).is("option")?(t.element.selected=!1,void this.$element.trigger("change")):void this.current(function(n){for(var o=[],a=0;a<n.length;a++){var r=n[a].id;r!==t.id&&-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")})},n.prototype.bind=function(t){var e=this;this.container=t,t.on("select",function(t){e.select(t.data)}),t.on("unselect",function(t){e.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){i.removeData(this,"data")})},n.prototype.query=function(t,e){var n=[],o=this;this.$element.children().each(function(){var e=i(this);if(e.is("option")||e.is("optgroup")){var a=o.item(e),r=o.matches(t,a);null!==r&&n.push(r)}}),e({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var n=i(e),o=this._normalizeItem(t);return o.element=e,i.data(e,"data",o),n},n.prototype.item=function(t){var e={};if(null!=(e=i.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var n=t.children("option"),o=[],a=0;a<n.length;a++){var r=i(n[a]),s=this.item(r);o.push(s)}e.children=o}return(e=this._normalizeItem(e)).element=t[0],i.data(t[0],"data",e),e},n.prototype._normalizeItem=function(t){i.isPlainObject(t)||(t={id:t,text:t});return null!=(t=i.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),i.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return e.Extend(n,t),n.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,i){return i.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),n.__super__.select.call(this,t)},n.prototype.convertToOptions=function(t){function n(t){return function(){return i(this).val()==t.id}}for(var o=this,a=this.$element.find("option"),r=a.map(function(){return o.item(i(this)).id}).get(),s=[],l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(i.inArray(c.id,r)>=0){var u=a.filter(n(c)),h=this.item(u),d=(i.extend(!0,{},h,c),this.option(h));u.replaceWith(d)}else{var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(p,m)}s.push(p)}}return s},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(e,i){this.ajaxOptions=this._applyDefaults(i.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),t.__super__.constructor.call(this,e,i)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return{q:t.term}},transport:function(t,e,n){var o=i.ajax(t);return o.then(e),o.fail(n),o}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){function n(){var n=a.transport(a,function(n){var a=o.processResults(n,t);o.options.get("debug")&&window.console&&console.error&&(a&&a.results&&i.isArray(a.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(a)},function(){});o._request=n}var o=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var a=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof a.url&&(a.url=a.url(t)),"function"==typeof a.data&&(a.data=a.data(t)),this.ajaxOptions.delay&&""!==t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var o=n.get("tags"),a=n.get("createTag");if(void 0!==a&&(this.createTag=a),e.call(this,i,n),t.isArray(o))for(var r=0;r<o.length;r++){var s=o[r],l=this._normalizeItem(s),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(t,e,i){var n=this;return this._removeOldTags(),null==e.term||null!=e.page?void t.call(this,e,i):void t.call(this,e,function t(o,a){for(var r=o.results,s=0;s<r.length;s++){var l=r[s],c=null!=l.children&&!t({results:l.children},!0);if(l.text===e.term||c)return!a&&(o.data=r,void i(o))}if(a)return!0;var u=n.createTag(e);if(null!=u){var h=n.option(u);h.attr("data-select2-tag",!0),n.addOptions([h]),n.insertTag(r,u)}o.results=r,i(o)})},e.prototype.createTag=function(e,i){var n=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return e.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(t,e,i){var n=this;e.term=e.term||"";var o=this.tokenizer(e,this.options,function(t){n.select(t)});o.term!==e.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),e.term=o.term),t.call(this,e,i)},e.prototype.tokenizer=function(e,i,n,o){for(var a=n.get("tokenSeparators")||[],r=i.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<r.length;){var c=r[s];if(-1!==t.inArray(c,a)){var u=r.substr(0,s);o(l(t.extend({},i,{term:u}))),r=r.substr(s+1)||"",s=0}else s++}return{term:r}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",e.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(o){var a=null!=o?o.length:0;return n.maximumSelectionLength>0&&a>=n.maximumSelectionLength?void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):void t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.position=function(){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t){function e(){}return e.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),i.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),i.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.showSearch=function(){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),i.on("query",function(t){o.lastParams=t,o.loading=!0}),i.on("query:append",function(t){o.lastParams=t,o.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&e&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="option load-more" role="treeitem"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(t,e,i){this.$dropdownParent=i.get("dropdownParent")||document.body,t.call(this,e,i)}return i.prototype.bind=function(t,e,i){var n=this,o=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t("<span></span>"),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i){var n=this,o="scroll.select2."+i.id,a="resize.select2."+i.id,r="orientationchange.select2."+i.id,s=this.$container.parents().filter(e.hasScroll);s.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),s.on(o,function(){var e=t(this).data("select2-scroll-position");t(this).scrollTop(e.y)}),t(window).on(o+" "+a+" "+r,function(){n._positionDropdown(),n._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i){var n="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(n),t(window).off(n+" "+o+" "+a)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),o=null,a=(this.$container.position(),this.$container.offset());a.bottom=a.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=a.top,r.bottom=a.top+r.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=l<a.top-s,h=c>a.bottom+s,d={left:a.left,top:r.bottom};i||n||(o="below"),h||!u||i?!u&&h&&i&&(o="below"):o="above",("above"==o||i&&"below"!==o)&&(d.top=r.top-s),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},i.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n<e.length;n++){var o=e[n];o.children?i+=t(o.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(){n._handleSelectOnClose()})},t.prototype._handleSelectOnClose=function(){var t=this.getHighlightedResults();t.length<1||this.trigger("select",{data:t.data("data")})},t}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&i.ctrlKey||this.trigger("close")},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,i,n,o,a,r,s,l,c,u,h,d,p,m,f,g,_,y,v,b,w,A,k,P,S,M,C,x){function L(){this.reset()}return L.prototype.apply=function(h){if(null==(h=t.extend({},this.defaults,h)).dataAdapter){if(h.dataAdapter=null!=h.ajax?m:null!=h.data?p:d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,_)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,f)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var x=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,x)}if(null!=h.initSelection){var L=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,L)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,A)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,M))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=b;else{var T=c.Decorate(b,w);h.dropdownAdapter=T}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var E=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,E)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,P)}if(null==h.selectionAdapter){if(h.selectionAdapter=h.multiple?o:n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var O=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,O)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var D=h.language.split("-")[0];h.language=[h.language,D]}else h.language=[h.language];if(t.isArray(h.language)){var z=new u;h.language.push("en");for(var I=h.language,B=0;B<I.length;B++){var N=I[B],R={};try{R=u.loadPath(N)}catch(t){try{N=this.defaults.amdLanguageBase+N,R=u.loadPath(N)}catch(t){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+N+'" could not be automatically loaded. A fallback will be used instead.');continue}}z.extend(R)}h.translations=z}else{var j=u.loadPath(this.defaults.amdLanguageBase+"en"),F=new u(h.language);F.extend(j),h.translations=F}return h},L.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return h[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:x,matcher:function i(n,o){if(""===t.trim(n.term))return o;if(o.children&&o.children.length>0){for(var a=t.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==i(n,o.children[r])&&a.children.splice(r,1);return a.children.length>0?a:i(n,a)}var s=e(o.text).toUpperCase(),l=e(n.term).toUpperCase();return s.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},L.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var o=c._convertData(n);t.extend(this.defaults,o)},new L}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),this.options=i.apply(this.options),o&&o.is("input")){var a=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,a)}}return o.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=t.prop("dir")?t.prop("dir"):t.closest("[dir]").prop("dir")?t.closest("[dir]").prop("dir"):"ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var o;o=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var a=e.extend(!0,{},o);for(var r in a=n._convertData(a))e.inArray(r,i)>-1||(e.isPlainObject(this.options[r])?e.extend(this.options[r],a[r]):this.options[r]=a[r]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var o=function(t,i){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),o.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var r=this.render();this._placeContainer(r);var s=this.options.get("selectionAdapter");this.selection=new s(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){u.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return i.Extend(o,i.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4))},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==e){var a=t.attr("style");if("string"!=typeof a)return null;for(var r=a.split(";"),s=0,l=r.length;l>s;s+=1){var c=r[s].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this._sync=i.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",e._sync,!1)},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerSelectionEvents=function(){var e=this,i=["toggle"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("*",function(n,o){-1===t.inArray(n,i)&&e.trigger(n,o)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("focus",function(){t.$container.addClass("select2-container--focus")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open"),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ENTER?(t.trigger("results:select"),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle"),e.preventDefault()):i===n.UP?(t.trigger("results:previous"),e.preventDefault()):i===n.DOWN?(t.trigger("results:next"),e.preventDefault()):(i===n.ESC||i===n.TAB)&&(t.close(),e.preventDefault()):(i===n.ENTER||i===n.SPACE||(i===n.DOWN||i===n.UP)&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},o.prototype.trigger=function(t,e){var i=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(t in n){var a=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,a,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},o.prototype.close=function(){this.isOpen()&&this.trigger("close")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},o}),e.define("select2/compat/utils",["jquery"],function(t){return{syncCssClasses:function(e,i,n){var o,a,r=[];(o=t.trim(e.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(o=t.trim(i.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(a=n(this))&&r.push(a)}),e.attr("class",r.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function i(){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),a=this.options.get("containerCssClass")||"";t.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptContainerCssClass");if(r=r||i,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("containerCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},n}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function i(){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),a=this.options.get("dropdownCssClass")||"";t.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptDropdownCssClass");if(r=r||i,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("dropdownCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},n}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return e.prototype.current=function(e,i){var n=this;return this._isInitialized?void e.call(this,i):void this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,t.isArray(e)||(e=[e]),i(e)})},e}),e.define("select2/compat/inputData",["jquery"],function(t){function e(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),t.call(this,e,i)}return e.prototype.current=function(e,i){function n(e,i){var o=[];return e.selected||-1!==t.inArray(e.id,i)?(e.selected=!0,o.push(e)):e.selected=!1,e.children&&o.push.apply(o,n(e.children,i)),o}for(var o=[],a=0;a<this._currentData.length;a++){var r=this._currentData[a];o.push.apply(o,n(r,this.$element.val().split(this._valueSeparator)))}i(o)},e.prototype.select=function(e,i){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+i.id,this.$element.val(n),this.$element.trigger("change")}else this.current(function(e){t.map(e,function(t){t.selected=!1})}),this.$element.val(i.id),this.$element.trigger("change")},e.prototype.unselect=function(t,e){var i=this;e.selected=!1,this.current(function(t){for(var n=[],o=0;o<t.length;o++){var a=t[o];e.id!=a.id&&n.push(a.id)}i.$element.val(n.join(i._valueSeparator)),i.$element.trigger("change")})},e.prototype.query=function(t,e,i){for(var n=[],o=0;o<this._currentData.length;o++){var a=this._currentData[o],r=this.matches(e,a);null!==r&&n.push(r)}i({results:n})},e.prototype.addOptions=function(e,i){var n=t.map(i,function(e){return t.data(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(t){return function(e){return function(i,n){var o=t.extend(!0,{},n);if(null==i.term||""===t.trim(i.term))return o;if(n.children){for(var a=n.children.length-1;a>=0;a--){var r=n.children[a];e(i.term,r.text,r)||o.children.splice(a,1)}if(o.children.length>0)return o}return e(i.term,n.text,n)?o:null}}}),e.define("select2/compat/query",[],function(){function t(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.callback=i,this.options.get("query").call(null,e)},t}),e.define("select2/dropdown/attachContainer",[],function(){function t(t,e,i){t.call(this,e,i)}return t.prototype.position=function(t,e,i){i.find(".dropdown-wrapper").append(e),e.addClass("select2-dropdown--below"),i.addClass("select2-container--below")},t}),e.define("select2/dropdown/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),e.define("select2/selection/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),e.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(t,e,i,n){if(e("jquery.mousewheel"),null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var n=t.extend({},e,!0);new i(t(this),n)}),this;if("string"==typeof e){var n=this.data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2.");var a=Array.prototype.slice.call(arguments,1),r=n[e](a);return t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),i=function(t){function e(e){var r=e||window.event,s=l.call(arguments,1),c=0,h=0,d=0,p=0,m=0,f=0;if((e=t.event.fix(r)).type="mousewheel","detail"in r&&(d=-1*r.detail),"wheelDelta"in r&&(d=r.wheelDelta),"wheelDeltaY"in r&&(d=r.wheelDeltaY),"wheelDeltaX"in r&&(h=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in r&&(c=d=-1*r.deltaY),"deltaX"in r&&(h=r.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===r.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,d*=g,h*=g}else if(2===r.deltaMode){var _=t.data(this,"mousewheel-page-height");c*=_,d*=_,h*=_}if(p=Math.max(Math.abs(d),Math.abs(h)),(!a||a>p)&&(a=p,n(r,p)&&(a/=40)),n(r,p)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/a),h=Math[h>=1?"floor":"ceil"](h/a),d=Math[d>=1?"floor":"ceil"](d/a),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();m=e.clientX-y.left,f=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=a,e.offsetX=m,e.offsetY=f,e.deltaMode=0,s.unshift(e,c,h,d),o&&clearTimeout(o),o=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){a=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var o,a,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=r.length;c;)t.event.fixHooks[r[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery.mousewheel",["jquery"],i):"object"==typeof exports?module.exports=i:i(t),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(i){return t.Tablesaw=e(i,t)}):"object"==typeof exports?module.exports=e("document"in t?require("jquery"):require("jquery")(t),t):t.Tablesaw=e(jQuery,t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var i=e.document,n=!1;i.addEventListener("DOMContentLoaded",function(){n=!0});var o,a,r,s,l,c,u,h,d,p={i18n:{modeStack:"Stack",modeSwipe:"Swipe",modeToggle:"Toggle",modeSwitchColumnsAbbreviated:"Cols",modeSwitchColumns:"Columns",columnToggleButton:"Columns",columnToggleError:"No eligible columns.",sort:"Sort",swipePreviousColumn:"Previous column",swipeNextColumn:"Next column"},mustard:"head"in i&&(!e.blackberry||e.WebKitPoint)&&!e.operamini,$:t,_init:function(t){p.$(t||i).trigger("enhance.tablesaw")},init:function(t){n?p._init(t):"addEventListener"in i&&i.addEventListener("DOMContentLoaded",function(){p._init(t)})}};return t(i).on("enhance.tablesaw",function(){"undefined"!=typeof TablesawConfig&&TablesawConfig.i18n&&(p.i18n=t.extend(p.i18n,TablesawConfig.i18n||{})),p.i18n.modes=[p.i18n.modeStack,p.i18n.modeSwipe,p.i18n.modeToggle]}),p.mustard&&t(i.documentElement).addClass("tablesaw-enhanced"),function(){var n="tablesaw-bar",o={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},a={};p.events=o;var r=function(e){if(!e)throw new Error("Tablesaw requires an element.");this.table=e,this.$table=t(e),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow"},this.init()};r.prototype.init=function(){if(!this.$thead.length)throw new Error("tablesaw: a <thead> is required, but none was found.");if(!this.$thead.find("th").length)throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");this.$table.attr("id")||this.$table.attr("id","tablesaw-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data("tablesaw",this),this.$table.trigger(o.create,[this])},r.prototype.getConfig=function(e){var i=t.extend(a,e||{});return t.extend(i,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},r.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},r.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!t(this).is("[data-tablesaw-ignorerow]")})},r.prototype._getRowIndex=function(t){return t.prevAll().length},r.prototype._getHeaderRowIndeces=function(){var e=this,i=[];return this._getHeaderRows().each(function(){i.push(e._getRowIndex(t(this)))}),i},r.prototype._getPrimaryHeaderCells=function(t){return(t||this._getPrimaryHeaderRow()).find("th")},r.prototype._$getCells=function(e){var i=this;return t(e).add(e.cells).filter(function(){var e=t(this),n=e.parent(),o=e.is("[colspan]");return!(n.is("["+i.attributes.subrow+"]")||n.is("["+i.attributes.ignorerow+"]")&&o)})},r.prototype._getVisibleColspan=function(){var e=0;return this._getPrimaryHeaderCells().each(function(){var i=t(this);"none"!==i.css("display")&&(e+=parseInt(i.attr("colspan"),10)||1)}),e},r.prototype.getColspanForCell=function(e){var i=this._getVisibleColspan(),n=0;return e.closest("tr").data("tablesaw-rowspanned")&&n++,e.siblings().each(function(){var e=t(this),i=parseInt(e.attr("colspan"),10)||1;"none"!==e.css("display")&&(n+=i)}),i-n},r.prototype.isCellInColumn=function(e,i){return t(e).add(e.cells).filter(function(){return this===i}).length},r.prototype.updateColspanCells=function(e,i,n){var o=this,a=o._getPrimaryHeaderRow();this.$table.find("[rowspan][data-tablesaw-priority]").each(function(){var e=t(this);if("persist"===e.attr("data-tablesaw-priority")){var i=e.closest("tr"),n=parseInt(e.attr("rowspan"),10);n>1&&((i=i.next()).data("tablesaw-rowspanned",!0),n--)}}),this.$table.find("[colspan],[data-tablesaw-maxcolspan]").filter(function(){return t(this).closest("tr")[0]!==a[0]}).each(function(){var a=t(this);if(void 0===n||o.isCellInColumn(i,this)){var r=o.getColspanForCell(a);e&&void 0!==n&&a[0===r?"addClass":"removeClass"](e);var s=parseInt(a.attr("data-tablesaw-maxcolspan"),10);s?r>s&&(r=s):a.attr("data-tablesaw-maxcolspan",a.attr("colspan")),a.attr("colspan",r)}})},r.prototype._findPrimaryHeadersForCell=function(t){for(var e=this._getPrimaryHeaderRow(),i=this._getPrimaryHeaderCells(e),n=this._getRowIndex(e),o=[],a=0;a<this.headerMapping.length;a++)if(a!==n)for(var r=0;r<this.headerMapping[a].length;r++)this.headerMapping[a][r]===t&&o.push(i[r]);return o},r.prototype.getRows=function(){var e=this;return this.$table.find("tr").filter(function(){return t(this).closest("table").is(e.$table)})},r.prototype.getBodyRows=function(e){return(e?t(e):this.$tbody).children().filter("tr")},r.prototype.getHeaderCellIndex=function(t){for(var e=this.headerMapping[0],i=0;i<e.length;i++)if(e[i]===t)return i;return-1},r.prototype._initCells=function(){this.$table.find("[data-tablesaw-maxcolspan]").each(function(){var e=t(this);e.attr("colspan",e.attr("data-tablesaw-maxcolspan"))});var e=this.getRows(),i=[];e.each(function(t){i[t]=[]}),e.each(function(e){var n=0;t(this).children().each(function(){for(var t=parseInt(this.getAttribute("data-tablesaw-maxcolspan")||this.getAttribute("colspan"),10),o=parseInt(this.getAttribute("rowspan"),10);i[e][n];)n++;if(i[e][n]=this,t)for(var a=0;a<t-1;a++)n++,i[e][n]=this;if(o)for(var r=1;r<o;r++)i[e+r][n]=this;n++})});for(var n=this._getHeaderRowIndeces(),o=0;o<i[0].length;o++)for(var a=0,r=n.length;a<r;a++){var s,l=i[n[a]][o],c=n[a];for(l.cells||(l.cells=[]);c<i.length;)l!==(s=i[c][o])&&l.cells.push(s),c++}this.headerMapping=i},r.prototype.refresh=function(){this._initCells(),this.$table.trigger(o.refresh,[this])},r.prototype._getToolbarAnchor=function(){var t=this.$table.parent();return t.is(".tablesaw-overflow")?t:this.$table},r.prototype._getToolbar=function(t){return t||(t=this._getToolbarAnchor()),t.prev().filter("."+n)},r.prototype.createToolbar=function(){var e=this._getToolbarAnchor(),i=this._getToolbar(e);i.length||(i=t("<div>").addClass(n).insertBefore(e)),this.$toolbar=i,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},r.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var n=this.$table.attr("id");t(i).off("."+n),t(e).off("."+n),this.$table.trigger(o.destroy,[this]),this.$table.removeData("tablesaw")},t.fn.tablesaw=function(){return this.each(function(){t(this).data("tablesaw")||new r(this)})};var s=t(i);s.on("enhance.tablesaw",function(e){p.mustard&&t(e.target).find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]").tablesaw()});var l,c,u=!1;s.on("scroll.tablesaw",function(){u=!0,e.clearTimeout(l),l=e.setTimeout(function(){u=!1},300)}),t(e).on("resize",function(){u||(e.clearTimeout(c),c=e.setTimeout(function(){s.trigger(o.resize)},150))}),p.Table=r}(),o="tablesaw-stack",a="tablesaw-cell-label",r="tablesaw-cell-content",s="tablesaw-stack",l="data-tablesaw-no-labels",c="data-tablesaw-hide-empty",(u=function(e,i){this.tablesaw=i,this.$table=t(e),this.labelless=this.$table.is("["+l+"]"),this.hideempty=this.$table.is("["+c+"]"),this.$table.data(s,this)}).prototype.init=function(){if(this.$table.addClass(o),!this.labelless){var e=this;this.$table.find("th, td").filter(function(){return!t(this).closest("thead").length}).filter(function(){return!(t(this).closest("tr").is("["+l+"]")||e.hideempty&&!t(this).html())}).each(function(){var n=t(i.createElement("b")).addClass(a),o=t(this);t(e.tablesaw._findPrimaryHeadersForCell(this)).each(function(e){var o=t(this.cloneNode(!0)),a=o.find(".tablesaw-sortable-btn");o.find(".tablesaw-sortable-arrow").remove();var r=o.find("[data-tablesaw-checkall]");if(r.closest("label").remove(),r.length)n=t([]);else{e>0&&n.append(i.createTextNode(", "));for(var s,l=a.length?a[0]:o[0];s=l.firstChild;)n[0].appendChild(s)}}),n.length&&!o.find("."+r).length&&o.wrapInner("<span class='"+r+"'></span>");var s=o.find("."+a);s.length?s.replaceWith(n):o.prepend(n)})}},u.prototype.destroy=function(){this.$table.removeClass(o),this.$table.find("."+a).remove(),this.$table.find("."+r).each(function(){t(this).replaceWith(this.childNodes)})},t(i).on(p.events.create,function(t,e){"stack"===e.mode&&new u(e.table,e).init()}).on(p.events.refresh,function(e,i){"stack"===i.mode&&t(i.table).data(s).init()}).on(p.events.destroy,function(e,i){"stack"===i.mode&&t(i.table).data(s).destroy()}),p.Stack=u,h={_create:function(){return t(this).each(function(){t(this).trigger("beforecreate.tablesawbtn").tablesawbtn("_init").trigger("create.tablesawbtn")})},_init:function(){var e=t(this),i=this.getElementsByTagName("select")[0];return i&&t(this).addClass("btn-select tablesaw-btn-select").tablesawbtn("_select",i),e},_select:function(e){var n=function(e,n){var o,a,r=t(n).find("option"),s=i.createElement("span"),l=!1;if(s.setAttribute("aria-hidden","true"),s.innerHTML="&#160;",r.each(function(){this.selected&&(s.innerHTML=this.text)}),a=e.childNodes,r.length>0){for(var c=0,u=a.length;c<u;c++)(o=a[c])&&"SPAN"===o.nodeName.toUpperCase()&&(e.replaceChild(s,o),l=!0);l||e.insertBefore(s,e.firstChild)}};n(this,e),t(this).on("change refresh",function(){n(this,e)})}},t.fn.tablesawbtn=function(e,i,n,o){return this.each(function(){return e&&"string"==typeof e?t.fn.tablesawbtn.prototype[e].call(this,i,n,o):t(this).data("tablesawbtnactive")?t(this):(t(this).data("tablesawbtnactive",!0),void t.fn.tablesawbtn.prototype._create.call(this))})},t.extend(t.fn.tablesawbtn.prototype,h),function(){var n="tablesaw-coltoggle",o=function(e){this.$table=t(e),this.$table.length&&(this.tablesaw=this.$table.data("tablesaw"),this.attributes={btnTarget:"data-tablesaw-columntoggle-btn-target",set:"data-tablesaw-columntoggle-set"},this.classes={columnToggleTable:"tablesaw-columntoggle",columnBtnContain:"tablesaw-columntoggle-btnwrap tablesaw-advance",columnBtn:"tablesaw-columntoggle-btn tablesaw-nav-btn down",popup:"tablesaw-columntoggle-popup",priorityPrefix:"tablesaw-priority-"},this.set=[],this.$headers=this.tablesaw._getPrimaryHeaderCells(),this.$table.data(n,this))};o.prototype.initSet=function(){var e=this.$table.attr(this.attributes.set);if(e){var i=this.$table[0];this.set=t("table["+this.attributes.set+"='"+e+"']").filter(function(){return this!==i}).get()}},o.prototype.init=function(){if(this.$table.length){var o,a,r,s,l,c,u=this,h=this.tablesaw.getConfig({getColumnToggleLabelTemplate:function(t){return"<label><input type='checkbox' checked>"+t+"</label>"}});this.$table.addClass(this.classes.columnToggleTable),a=(o=this.$table.attr("id"))+"-popup",c=t("<div class='"+this.classes.columnBtnContain+"'></div>"),r=t("<a href='#"+a+"' class='btn tablesaw-btn btn-micro "+this.classes.columnBtn+"' data-popup-link><span>"+p.i18n.columnToggleButton+"</span></a>"),s=t("<div class='"+this.classes.popup+"' id='"+a+"'></div>"),l=t("<div class='btn-group'></div>"),this.$popup=s;var d=!1;this.$headers.each(function(){var e=t(this),i=e.attr("data-tablesaw-priority"),n=u.tablesaw._$getCells(this);i&&"persist"!==i&&(n.addClass(u.classes.priorityPrefix+i),t(h.getColumnToggleLabelTemplate(e.text())).appendTo(l).find('input[type="checkbox"]').data("tablesaw-header",this),d=!0)}),d||l.append("<label>"+p.i18n.columnToggleError+"</label>"),l.appendTo(s),l.find('input[type="checkbox"]').on("change",function(e){var i;(y(e.target),u.set.length)&&(t(u.$popup).find("input[type='checkbox']").each(function(t){if(this===e.target)return i=t,!1}),t(u.set).each(function(){var o=t(this).data(n).$popup.find("input[type='checkbox']").get(i);o&&(o.checked=e.target.checked,y(o))}))}),r.appendTo(c);var m,f=t(this.$table.attr(this.attributes.btnTarget));c.appendTo(f.length?f:this.tablesaw.$toolbar),r.on("click.tablesaw",function(n){n.preventDefault(),c.is(".visible")?v():(c.addClass("visible"),r.removeClass("down").addClass("up"),t(i).off("click."+o,v),e.clearTimeout(m),m=e.setTimeout(function(){t(i).on("click."+o,v)},15))}),s.appendTo(c),this.$menu=l;var g,_=this.$table.closest(".tablesaw-overflow");if(_.css("-webkit-overflow-scrolling"))_.on("scroll",function(){var i=t(this);e.clearTimeout(g),g=e.setTimeout(function(){i.css("-webkit-overflow-scrolling","auto"),e.setTimeout(function(){i.css("-webkit-overflow-scrolling","touch")},0)},100)});t(e).on(p.events.resize+"."+o,function(){u.refreshToggle()}),this.initSet(),this.refreshToggle()}function y(t){var e=t.checked,i=u.getHeaderFromCheckbox(t),n=u.tablesaw._$getCells(i);n[e?"removeClass":"addClass"]("tablesaw-toggle-cellhidden"),n[e?"addClass":"removeClass"]("tablesaw-toggle-cellvisible"),u.updateColspanCells(i,e),u.$table.trigger("tablesawcolumns")}function v(e){e&&t(e.target).closest("."+u.classes.popup).length||(t(i).off("click."+o),r.removeClass("up").addClass("down"),c.removeClass("visible"))}},o.prototype.getHeaderFromCheckbox=function(e){return t(e).data("tablesaw-header")},o.prototype.refreshToggle=function(){var t=this;this.$menu.find("input").each(function(){var e=t.getHeaderFromCheckbox(this);this.checked="table-cell"===t.tablesaw._$getCells(e).eq(0).css("display")}),this.updateColspanCells()},o.prototype.updateColspanCells=function(t,e){this.tablesaw.updateColspanCells("tablesaw-toggle-cellhidden",t,e)},o.prototype.destroy=function(){this.$table.removeClass(this.classes.columnToggleTable),this.$table.find("th, td").each(function(){t(this).removeClass("tablesaw-toggle-cellhidden").removeClass("tablesaw-toggle-cellvisible"),this.className=this.className.replace(/\bui\-table\-priority\-\d\b/g,"")})},t(i).on(p.events.create,function(t,e){"columntoggle"===e.mode&&new o(e.table).init()}),t(i).on(p.events.destroy,function(e,i){"columntoggle"===i.mode&&t(i.table).data(n).destroy()}),t(i).on(p.events.refresh,function(e,i){"columntoggle"===i.mode&&t(i.table).data(n).refreshPriority()}),p.ColumnToggle=o}(),function(){function e(e){var i=[];return t(e.childNodes).each(function(){var e=t(this);e.is("input, select")?i.push(e.val()):e.is(".tablesaw-cell-label")||i.push((e.text()||"").replace(/^\s+|\s+$/g,""))}),i.join("")}var n="tablesaw-sortable",o="table[data-"+n+"]",a="[data-"+n+"-switch]",r={sortCol:"data-tablesaw-sortable-col",defaultCol:"data-tablesaw-sortable-default-col",numericCol:"data-tablesaw-sortable-numeric",subRow:"data-tablesaw-subrow",ignoreRow:"data-tablesaw-ignorerow"},s={head:n+"-head",ascend:n+"-ascending",descend:n+"-descending",switcher:n+"-switch",tableToolbar:"tablesaw-bar-section",sortButton:n+"-btn"},l={_create:function(e){return t(this).each(function(){if(t(this).data(n+"-init"))return!1;t(this).data(n+"-init",!0).trigger("beforecreate."+n)[n]("_init",e).trigger("create."+n)})},_init:function(){var i,o,l,c=t(this),u=c.data("tablesaw");function h(e){t.each(e,function(e,i){var n=t(i);n.removeAttr(r.defaultCol),n.removeClass(s.ascend),n.removeClass(s.descend)})}c.addClass(n),i=c.children().filter("thead").find("th["+r.sortCol+"]"),l=i,t.each(l,function(e,i){t(i).addClass(s.head)}),function(e,i){t.each(e,function(e,n){var o=t("<button class='"+s.sortButton+"'/>");o.on("click",{col:n},i),t(n).wrapInner(o).find("button").append("<span class='tablesaw-sortable-arrow'>")})}(i,function(e){if(!t(e.target).is("a[href]")){e.stopPropagation();var a=t(e.target).closest("["+r.sortCol+"]"),l=e.data.col,u=i.index(a[0]);h(a.closest("thead").find("th").filter(function(){return this!==a[0]})),a.is("."+s.descend)||!a.is("."+s.ascend)?(c[n]("sortBy",l,!0),u+="_asc"):(c[n]("sortBy",l),u+="_desc"),o&&o.find("select").val(u).trigger("refresh"),e.preventDefault()}}),function(e){t.each(e,function(e,i){var n=t(i);n.is("["+r.defaultCol+"]")&&(n.is("."+s.descend)||n.addClass(s.ascend))})}(i),c.is(a)&&function(i){o=t("<div>").addClass(s.switcher).addClass(s.tableToolbar);var a=["<label>"+p.i18n.sort+":"];a.push('<span class="btn tablesaw-btn"><select>'),i.each(function(i){var n=t(this),o=n.is("["+r.defaultCol+"]"),l=n.is("."+s.descend),c=n.is("["+r.numericCol+"]"),u=0;t(this.cells.slice(0,5)).each(function(){isNaN(parseInt(e(this),10))||u++});var h=5===u;c||n.attr(r.numericCol,h?"":"false"),a.push("<option"+(o&&!l?" selected":"")+' value="'+i+'_asc">'+n.text()+" "+(h?"&#x2191;":"(A-Z)")+"</option>"),a.push("<option"+(o&&l?" selected":"")+' value="'+i+'_desc">'+n.text()+" "+(h?"&#x2193;":"(Z-A)")+"</option>")}),a.push("</select></span></label>"),o.html(a.join(""));var l=u.$toolbar.children().eq(0);l.length?o.insertBefore(l):o.appendTo(u.$toolbar),o.find(".tablesaw-btn").tablesawbtn(),o.find("select").on("change",function(){var e=t(this).val().split("_"),o=i.eq(e[0]);h(o.siblings()),c[n]("sortBy",o.get(0),"asc"===e[1])})}(i)},sortRows:function(i,n,o,a,s){var l,c=function(i,n){var o=[];return t.each(i,function(i,a){for(var s=a.parentNode,l=t(s),c=[],u=l.next();u.is("["+r.subRow+"]");)c.push(u[0]),u=u.next();var h=s.parentNode;l.is("["+r.subRow+"]")||h===n&&o.push({element:a,cell:e(a),row:s,subrows:c.length?c:null,ignored:l.is("["+r.ignoreRow+"]")})}),o}(a.cells,s),u=t(a).data("tablesaw-sort");return l=!(!u||"function"!=typeof u)&&u(o)||function(t,e){var i=/[^\-\+\d\.]/g;return t?function(t,n){return t.ignored||n.ignored?0:e?parseFloat(t.cell.replace(i,""))-parseFloat(n.cell.replace(i,"")):t.cell.toLowerCase()>n.cell.toLowerCase()?1:-1}:function(t,n){return t.ignored||n.ignored?0:e?parseFloat(n.cell.replace(i,""))-parseFloat(t.cell.replace(i,"")):t.cell.toLowerCase()<n.cell.toLowerCase()?1:-1}}(o,t(a).is("["+r.numericCol+"]")&&!t(a).is("["+r.numericCol+'="false"]')),function(t){var e,i,n=[];for(e=0,i=t.length;e<i;e++)n.push(t[e].row),t[e].subrows&&n.push(t[e].subrows);return n}(c.sort(l))},makeColDefault:function(e,i){var n=t(e);n.attr(r.defaultCol,"true"),i?(n.removeClass(s.descend),n.addClass(s.ascend)):(n.removeClass(s.ascend),n.addClass(s.descend))},sortBy:function(e,i){var o,a=t(this),r=a.data("tablesaw");r.$tbody.each(function(){var s,l,c,u=t(this),h=r.getBodyRows(this),d=r.headerMapping[0];for(l=0,c=d.length;l<c;l++)if(d[l]===e){o=l;break}for(l=0,c=(s=a[n]("sortRows",h,o,i,e,this)).length;l<c;l++)u.append(s[l])}),a[n]("makeColDefault",e,i),a.trigger("tablesaw-sorted")}};t.fn[n]=function(e){var i,o=Array.prototype.slice.call(arguments,1);return e&&"string"==typeof e?void 0!==(i=t.fn[n].prototype[e].apply(this[0],o))?i:t(this):(t(this).data(n+"-active")||(t(this).data(n+"-active",!0),t.fn[n].prototype._create.call(this,e)),t(this))},t.extend(t.fn[n].prototype,l),t(i).on(p.events.create,function(t,e){e.$table.is(o)&&e.$table[n]()})}(),function(){var n={hideBtn:"disabled",persistWidths:"tablesaw-fix-persist",hiddenCol:"tablesaw-swipe-cellhidden",persistCol:"tablesaw-swipe-cellpersist",allColumnsVisible:"tablesaw-all-cols-visible"},o={disableTouchEvents:"data-tablesaw-no-touch",ignorerow:"data-tablesaw-ignorerow",subrow:"data-tablesaw-subrow"};function a(a,r){var s=r.data("tablesaw"),l=t("<div class='tablesaw-advance'></div>"),c=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro left'>"+p.i18n.swipePreviousColumn+"</a>").appendTo(l),u=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro right'>"+p.i18n.swipeNextColumn+"</a>").appendTo(l),h=a._getPrimaryHeaderCells(),d=h.not('[data-tablesaw-priority="persist"]'),m=[],f=t(i.head||"head"),g=r.attr("id");if(!h.length)throw new Error("tablesaw swipe: no header cells found.");function _(){r.css({width:"1px"}),r.find("."+n.hiddenCol).removeClass(n.hiddenCol),m=[],h.each(function(){m.push(this.offsetWidth)}),r.css({width:""})}function y(t){s._$getCells(t).removeClass(n.hiddenCol)}function v(t){s._$getCells(t).addClass(n.hiddenCol)}function b(){r.removeClass(n.persistWidths),t("#"+g+"-persist").remove()}function w(){var e,i="#"+g+".tablesaw-swipe ",o=[],a=r.width(),s=[];if(h.each(function(e){var r;t(this).is('[data-tablesaw-priority="persist"]')&&(r=this.offsetWidth)<.75*a&&(s.push(e+"-"+r),o.push(i+" ."+n.persistCol+":nth-child("+(e+1)+") { width: "+r+"px; }"))}),e=s.join("_"),o.length){r.addClass(n.persistWidths);var l=t("#"+g+"-persist");l.length&&l.data("tablesaw-hash")===e||(l.remove(),t("<style>"+o.join("\n")+"</style>").attr("id",g+"-persist").data("tablesaw-hash",e).appendTo(f))}}function A(){var e,i=[];return d.each(function(o){var a=t(this),r="none"===a.css("display")||a.is("."+n.hiddenCol);if(r||e){if(r&&e)return i[1]=o,!1}else e=!0,i[0]=o}),i}function k(){var t=A();return[t[1]-1,t[0]-1]}function P(t){return t[1]>-1&&t[1]<d.length}function S(){if(!(i=r.attr("data-tablesaw-swipe-media"))||"matchMedia"in e&&e.matchMedia(i).matches){var i,o=r.parent().width(),a=[],l=0,c=[],u=h.length;h.each(function(e){var i=t(this).is('[data-tablesaw-priority="persist"]');a.push(i),l+=m[e],c.push(l),(i||l>o)&&u--});var d=0===u;h.each(function(t){c[t]>o&&v(this)}),h.each(function(t){if(a[t])return e=this,void s._$getCells(e).addClass(n.persistCol);var e;(c[t]<=o||d)&&(d=!1,y(this),s.updateColspanCells(n.hiddenCol,this,!0))}),b(),r.trigger("tablesawcolumns")}}function M(t){var e=function(t){return t?A():k()}(t);P(e)&&(isNaN(e[0])&&(e[0]=t?0:d.length-1),w(),v(d.get(e[0])),s.updateColspanCells(n.hiddenCol,d.get(e[0]),!1),y(d.get(e[1])),s.updateColspanCells(n.hiddenCol,d.get(e[1]),!0),r.trigger("tablesawcolumns"))}function C(t,e){return(t.touches||t.originalEvent.touches)[0][e]}r.addClass("tablesaw-swipe"),_(),l.appendTo(s.$toolbar),g||(g="tableswipe-"+Math.round(1e4*Math.random()),r.attr("id",g)),c.add(u).on("click",function(e){M(!!t(e.target).closest(u).length),e.preventDefault()}),r.is("["+o.disableTouchEvents+"]")||r.on("touchstart.swipetoggle",function(i){var n,o,r=C(i,"pageX"),s=C(i,"pageY"),l=e.pageYOffset;t(e).off(p.events.resize,S),t(this).on("touchmove.swipetoggle",function(t){n=C(t,"pageX"),o=C(t,"pageY")}).on("touchend.swipetoggle",function(){var i=a.getConfig({swipeHorizontalThreshold:30,swipeVerticalThreshold:30}),c=i.swipe?i.swipe.verticalThreshold:i.swipeVerticalThreshold,u=i.swipe?i.swipe.horizontalThreshold:i.swipeHorizontalThreshold,h=Math.abs(e.pageYOffset-l)>=c;Math.abs(o-s)>=c||h||(n-r<-1*u&&M(!0),n-r>u&&M(!1)),e.setTimeout(function(){t(e).on(p.events.resize,S)},300),t(this).off("touchmove.swipetoggle touchend.swipetoggle")})}),r.on("tablesawcolumns.swipetoggle",function(){var t=P(k()),e=P(A());c[t?"removeClass":"addClass"](n.hideBtn),u[e?"removeClass":"addClass"](n.hideBtn),s.$toolbar[t||e?"removeClass":"addClass"](n.allColumnsVisible)}).on("tablesawnext.swipetoggle",function(){M(!0)}).on("tablesawprev.swipetoggle",function(){M(!1)}).on(p.events.destroy+".swipetoggle",function(){var i=t(this);i.removeClass("tablesaw-swipe"),s.$toolbar.find(".tablesaw-advance").remove(),t(e).off(p.events.resize,S),i.off(".swipetoggle")}).on(p.events.refresh,function(){b(),_(),S()}),S(),t(e).on(p.events.resize,S)}t(i).on(p.events.create,function(t,e){"swipe"===e.mode&&a(e,e.$table)})}(),function(){var n={attr:{init:"data-tablesaw-minimap"},show:function(t){var i=t.getAttribute(n.attr.init);return""===i||!!(i&&"matchMedia"in e)&&e.matchMedia(i).matches}};t(i).on(p.events.create,function(i,o){"swipe"!==o.mode&&"columntoggle"!==o.mode||!o.$table.is("[ "+n.attr.init+"]")||function(i){var o=i.data("tablesaw"),a=t('<div class="tablesaw-advance minimap">'),r=t('<ul class="tablesaw-advance-dots">').appendTo(a),s="tablesaw-advance-dots-hide";function l(){if(n.show(i[0])){a.css("display","block");var e=r.find("li").removeClass(s);i.find("thead th").each(function(i){"none"===t(this).css("display")&&e.eq(i).addClass(s)})}else a.css("display","none")}i.data("tablesaw")._getPrimaryHeaderCells().each(function(){r.append("<li><i></i></li>")}),a.appendTo(o.$toolbar),l(),t(e).on(p.events.resize,l),i.on("tablesawcolumns.minimap",function(){l()}).on(p.events.destroy+".minimap",function(){var i=t(this);o.$toolbar.find(".tablesaw-advance").remove(),t(e).off(p.events.resize,l),i.off(".minimap")})}(o.$table)}),p.MiniMap=n}(),d={selectors:{init:"table[data-tablesaw-mode-switch]"},attributes:{excludeMode:"data-tablesaw-mode-exclude"},classes:{main:"tablesaw-modeswitch",toolbar:"tablesaw-bar-section"},modes:["stack","swipe","columntoggle"],init:function(e){var i,n=t(e),o=n.data("tablesaw"),a=n.attr(d.attributes.excludeMode),r=o.$toolbar,s=t("<div>").addClass(d.classes.main+" "+d.classes.toolbar),l=['<label><span class="abbreviated">'+p.i18n.modeSwitchColumnsAbbreviated+'</span><span class="longform">'+p.i18n.modeSwitchColumns+"</span>:"],c=n.attr("data-tablesaw-mode");l.push('<span class="btn tablesaw-btn"><select>');for(var u=0,h=d.modes.length;u<h;u++)a&&a.toLowerCase()===d.modes[u]||(i=c===d.modes[u],l.push("<option"+(i?" selected":"")+' value="'+d.modes[u]+'">'+p.i18n.modes[u]+"</option>"));l.push("</select></span></label>"),s.html(l.join(""));var m=r.find(".tablesaw-advance").eq(0);m.length?s.insertBefore(m):s.appendTo(r),s.find(".tablesaw-btn").tablesawbtn(),s.find("select").on("change",function(i){return d.onModeChange.call(e,i,t(this).val())})},onModeChange:function(e,i){var n=t(this),o=n.data("tablesaw");o.$toolbar.find("."+d.classes.main).remove(),o.destroy(),n.attr("data-tablesaw-mode",i),n.tablesaw()}},t(i).on(p.events.create,function(t,e){e.$table.is(d.selectors.init)&&d.init(e.table)}),function(){var e="tablesawCheckAll";function n(t){this.tablesaw=t,this.$table=t.$table,this.attr="data-tablesaw-checkall",this.checkAllSelector="["+this.attr+"]",this.forceCheckedSelector="["+this.attr+"-checked]",this.forceUncheckedSelector="["+this.attr+"-unchecked]",this.checkboxSelector='input[type="checkbox"]',this.$triggers=null,this.$checkboxes=null,this.$table.data(e)||(this.$table.data(e,this),this.init())}n.prototype._filterCells=function(e){return e.filter(function(){return!t(this).closest("tr").is("[data-tablesaw-subrow],[data-tablesaw-ignorerow]")}).find(this.checkboxSelector).not(this.checkAllSelector)},n.prototype.getCheckboxesForButton=function(e){return this._filterCells(t(t(e).attr(this.attr)))},n.prototype.getCheckboxesForCheckbox=function(e){return this._filterCells(t(t(e).closest("th")[0].cells))},n.prototype.init=function(){var e=this;this.$table.find(this.checkAllSelector).each(function(){t(this).is(e.checkboxSelector)?e.addCheckboxEvents(this):e.addButtonEvents(this)})},n.prototype.addButtonEvents=function(i){var n=this;t(i).on("click",function(i){i.preventDefault();var o,a=n.getCheckboxesForButton(this),r=!0;a.each(function(){this.checked||(r=!1)}),o=!!t(this).is(n.forceCheckedSelector)||!t(this).is(n.forceUncheckedSelector)&&!r,a.each(function(){this.checked=o,t(this).trigger("change."+e)})})},n.prototype.addCheckboxEvents=function(i){var n=this;t(i).on("change",function(){var t=this.checked;n.getCheckboxesForCheckbox(this).each(function(){this.checked=t})});var o=n.getCheckboxesForCheckbox(i);o.on("change."+e,function(){var t=0;o.each(function(){this.checked&&t++});var e=t===o.length;i.checked=e,i.indeterminate=0!==t&&!e})},t(i).on(p.events.create,function(t,e){new n(e)}),p.CheckAll=n}(),p}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}return i.m=t,i.c=e,i.p="",i(0)}([function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(2)),a=n(i(40)),r=i(41),s=i(46),l=n(i(49)),c=n(i(44)),u=n(i(39)),h=o.default.create;function d(){var t=h();return t.compile=function(e,i){return s.compile(e,i,t)},t.precompile=function(e,i){return s.precompile(e,i,t)},t.AST=a.default,t.Compiler=s.Compiler,t.JavaScriptCompiler=l.default,t.Parser=r.parser,t.parse=r.parse,t.parseWithoutProcessing=r.parseWithoutProcessing,t}var p=d();p.create=d,u.default(p),p.Visitor=c.default,p.default=p,e.default=p,t.exports=e.default},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,i){"use strict";var n=i(3).default,o=i(1).default;e.__esModule=!0;var a=n(i(4)),r=o(i(33)),s=o(i(6)),l=n(i(5)),c=n(i(34)),u=o(i(39));function h(){var t=new a.HandlebarsEnvironment;return l.extend(t,a),t.SafeString=r.default,t.Exception=s.default,t.Utils=l,t.escapeExpression=l.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}var d=h();d.create=h,u.default(d),d.default=d,e.default=d,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e},e.__esModule=!0},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.HandlebarsEnvironment=c;var o=i(5),a=n(i(6)),r=i(10),s=i(30),l=n(i(32));e.VERSION="4.5.3";e.COMPILER_REVISION=8;e.LAST_COMPATIBLE_COMPILER_REVISION=7;e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(t,e,i){this.helpers=t||{},this.partials=e||{},this.decorators=i||{},r.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:l.default,log:l.default.log,registerHelper:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===o.toString.call(t))o.extend(this.partials,t);else{if(void 0===e)throw new a.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var u=l.default.log;e.log=u,e.createFrame=o.createFrame,e.logger=l.default},function(t,e){"use strict";e.__esModule=!0,e.extend=r,e.indexOf=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}if(!o.test(t))return t;return t.replace(n,a)},e.isEmpty=function(t){return!t&&0!==t||!(!c(t)||0!==t.length)},e.createFrame=function(t){var e=r({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(t){return i[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var i in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],i)&&(t[i]=arguments[e][i]);return t}var s=Object.prototype.toString;e.toString=s;var l=function(t){return"function"==typeof t};l(/x/)&&(e.isFunction=l=function(t){return"function"==typeof t&&"[object Function]"===s.call(t)}),e.isFunction=l;var c=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===s.call(t)};e.isArray=c},function(t,e,i){"use strict";var n=i(7).default;e.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function a(t,e){var i=e&&e.loc,r=void 0,s=void 0,l=void 0,c=void 0;i&&(r=i.start.line,s=i.end.line,l=i.start.column,c=i.end.column,t+=" - "+r+":"+l);for(var u=Error.prototype.constructor.call(this,t),h=0;h<o.length;h++)this[o[h]]=u[o[h]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{i&&(this.lineNumber=r,this.endLineNumber=s,n?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=l,this.endColumn=c))}catch(t){}}a.prototype=new Error,e.default=a,t.exports=e.default},function(t,e,i){t.exports={default:i(8),__esModule:!0}},function(t,e,i){var n=i(9);t.exports=function(t,e,i){return n.setDesc(t,e,i)}},function(t,e){var i=Object;t.exports={create:i.create,getProto:i.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:i.getOwnPropertyDescriptor,setDesc:i.defineProperty,setDescs:i.defineProperties,getKeys:i.keys,getNames:i.getOwnPropertyNames,getSymbols:i.getOwnPropertySymbols,each:[].forEach}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.registerDefaultHelpers=function(t){o.default(t),a.default(t),r.default(t),s.default(t),l.default(t),c.default(t),u.default(t)},e.moveHelperToHooks=function(t,e,i){t.helpers[e]&&(t.hooks[e]=t.helpers[e],i||delete t.helpers[e])};var o=n(i(11)),a=n(i(12)),r=n(i(25)),s=n(i(26)),l=n(i(27)),c=n(i(28)),u=n(i(29))},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,i){var o=i.inverse,a=i.fn;if(!0===e)return a(this);if(!1===e||null==e)return o(this);if(n.isArray(e))return e.length>0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):o(this);if(i.data&&i.ids){var r=n.createFrame(i.data);r.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:r}}return a(e,i)})},t.exports=e.default},function(t,e,i){(function(n){"use strict";var o=i(13).default,a=i(1).default;e.__esModule=!0;var r=i(5),s=a(i(6));e.default=function(t){t.registerHelper("each",function(t,e){if(!e)throw new s.default("Must pass iterator to #each");var i,a=e.fn,l=e.inverse,c=0,u="",h=void 0,d=void 0;function p(e,i,n){h&&(h.key=e,h.index=i,h.first=0===i,h.last=!!n,d&&(h.contextPath=d+e)),u+=a(t[e],{data:h,blockParams:r.blockParams([t[e],e],[d+e,null])})}if(e.data&&e.ids&&(d=r.appendContextPath(e.data.contextPath,e.ids[0])+"."),r.isFunction(t)&&(t=t.call(this)),e.data&&(h=r.createFrame(e.data)),t&&"object"==typeof t)if(r.isArray(t))for(var m=t.length;c<m;c++)c in t&&p(c,c,c===t.length-1);else if(n.Symbol&&t[n.Symbol.iterator]){for(var f=[],g=t[n.Symbol.iterator](),_=g.next();!_.done;_=g.next())f.push(_.value);for(m=(t=f).length;c<m;c++)p(c,c,c===t.length-1)}else i=void 0,o(t).forEach(function(t){void 0!==i&&p(i,c-1),i=t,c++}),void 0!==i&&p(i,c-1,!0);return 0===c&&(u=l(this)),u})},t.exports=e.default}).call(e,function(){return this}())},function(t,e,i){t.exports={default:i(14),__esModule:!0}},function(t,e,i){i(15),t.exports=i(21).Object.keys},function(t,e,i){var n=i(16);i(18)("keys",function(t){return function(e){return t(n(e))}})},function(t,e,i){var n=i(17);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){var n=i(19),o=i(21),a=i(24);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),n(n.S+n.F*a(function(){i(1)}),"Object",r)}},function(t,e,i){var n=i(20),o=i(21),a=i(22),r=function(t,e,i){var s,l,c,u=t&r.F,h=t&r.G,d=t&r.S,p=t&r.P,m=t&r.B,f=t&r.W,g=h?o:o[e]||(o[e]={}),_=h?n:d?n[e]:(n[e]||{}).prototype;for(s in h&&(i=e),i)(l=!u&&_&&s in _)&&s in g||(c=l?_[s]:i[s],g[s]=h&&"function"!=typeof _[s]?i[s]:m&&l?a(c,n):f&&_[s]==c?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g.prototype||(g.prototype={}))[s]=c))};r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,t.exports=r},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=i)},function(t,e,i){var n=i(23);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(6));e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=i(5),a=n(i(6));e.default=function(t){t.registerHelper("if",function(t,e){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||o.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,i){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:i.inverse,inverse:i.fn,hash:i.hash})})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],i=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var o=1;null!=i.hash.level?o=i.hash.level:i.data&&null!=i.data.level&&(o=i.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var i=/^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;e.dangerousPropertyRegex=i,e.default=function(t){t.registerHelper("lookup",function(t,e){return t?!i.test(String(e))||Object.prototype.propertyIsEnumerable.call(t,e)?t[e]:void 0:t})}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=i(5),a=n(i(6));e.default=function(t){t.registerHelper("with",function(t,e){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");o.isFunction(t)&&(t=t.call(this));var i=e.fn;if(o.isEmpty(t))return e.inverse(this);var n=e.data;return e.data&&e.ids&&((n=o.createFrame(e.data)).contextPath=o.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:n,blockParams:o.blockParams([t],[n&&n.contextPath])})})},t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.registerDefaultDecorators=function(t){o.default(t)};var o=n(i(31))},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerDecorator("inline",function(t,e,i,o){var a=t;return e.partials||(e.partials={},a=function(o,a){var r=i.partials;i.partials=n.extend({},r,e.partials);var s=t(o,a);return i.partials=r,s}),e.partials[o.args[0]]=o.fn,a})},t.exports=e.default},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=n.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var i=arguments.length,n=Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];console[e].apply(console,n)}}};e.default=o,t.exports=e.default},function(t,e){"use strict";function i(t){this.string=t}e.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(35).default,o=i(3).default,a=i(1).default;e.__esModule=!0,e.checkRevision=function(t){var e=t&&t[0]||1,i=l.COMPILER_REVISION;if(e>=l.LAST_COMPATIBLE_COMPILER_REVISION&&e<=l.COMPILER_REVISION)return;if(e<l.LAST_COMPATIBLE_COMPILER_REVISION){var n=l.REVISION_CHANGES[i],o=l.REVISION_CHANGES[e];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")},e.template=function(t,e){if(!e)throw new s.default("No environment passed to template");if(!t||!t.main)throw new s.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var i=t.compiler&&7===t.compiler[0];var o={strict:function(t,e,i){if(!(t&&e in t))throw new s.default('"'+e+'" not defined in '+t,{loc:i});return t[e]},lookup:function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n]&&null!=t[n][e])return t[n][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:r.escapeExpression,invokePartial:function(i,n,o){o.hash&&(n=r.extend({},n,o.hash),o.ids&&(o.ids[0]=!0));i=e.VM.resolvePartial.call(this,i,n,o);var a=r.extend({},o,{hooks:this.hooks}),l=e.VM.invokePartial.call(this,i,n,a);null==l&&e.compile&&(o.partials[o.name]=e.compile(i,t.compilerOptions,e),l=o.partials[o.name](n,a));if(null!=l){if(o.indent){for(var c=l.split("\n"),u=0,h=c.length;u<h&&(c[u]||u+1!==h);u++)c[u]=o.indent+c[u];l=c.join("\n")}return l}throw new s.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(e){var i=t[e];return i.decorator=t[e+"_d"],i},programs:[],program:function(t,e,i,n,o){var a=this.programs[t],r=this.fn(t);return e||o||n||i?a=u(this,t,r,e,i,n,o):a||(a=this.programs[t]=u(this,t,r)),a},data:function(t,e){for(;t&&e--;)t=t._parent;return t},nullContext:n({}),noop:e.VM.noop,compilerInfo:t.compiler};function a(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=i.data;a._setup(i),!i.partial&&t.useData&&(n=function(t,e){e&&"root"in e||((e=e?l.createFrame(e):{}).root=t);return e}(e,n));var r=void 0,s=t.useBlockParams?[]:void 0;function c(e){return""+t.main(o,e,o.helpers,o.partials,n,s,r)}return t.useDepths&&(r=i.depths?e!=i.depths[0]?[e].concat(i.depths):i.depths:[e]),(c=d(t.main,c,o,i.depths||[],n,s))(e,i)}return a.isTop=!0,a._setup=function(n){if(n.partial)o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators,o.hooks=n.hooks;else{o.helpers=r.extend({},e.helpers,n.helpers),t.usePartial&&(o.partials=r.extend({},e.partials,n.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=r.extend({},e.decorators,n.decorators)),o.hooks={};var a=n.allowCallsToHelperMissing||i;c.moveHelperToHooks(o,"helperMissing",a),c.moveHelperToHooks(o,"blockHelperMissing",a)}},a._child=function(e,i,n,a){if(t.useBlockParams&&!n)throw new s.default("must pass block params");if(t.useDepths&&!a)throw new s.default("must pass parent depths");return u(o,e,t[e],i,0,n,a)},a},e.wrapProgram=u,e.resolvePartial=function(t,e,i){t?t.call||i.name||(i.name=t,t=i.partials[t]):t="@partial-block"===i.name?i.data["partial-block"]:i.partials[i.name];return t},e.invokePartial=function(t,e,i){var n=i.data&&i.data["partial-block"];i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var o=void 0;i.fn&&i.fn!==h&&function(){i.data=l.createFrame(i.data);var t=i.fn;o=i.data["partial-block"]=function(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return i.data=l.createFrame(i.data),i.data["partial-block"]=n,t(e,i)},t.partials&&(i.partials=r.extend({},i.partials,t.partials))}();void 0===t&&o&&(t=o);if(void 0===t)throw new s.default("The partial "+i.name+" could not be found");if(t instanceof Function)return t(e,i)},e.noop=h;var r=o(i(5)),s=a(i(6)),l=i(4),c=i(10);function u(t,e,i,n,o,a,r){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=r;return!r||e==r[0]||e===t.nullContext&&null===r[0]||(s=[e].concat(r)),i(t,e,t.helpers,t.partials,o.data||n,a&&[o.blockParams].concat(a),s)}return(s=d(i,s,t,r,n,a)).program=e,s.depth=r?r.length:0,s.blockParams=o||0,s}function h(){return""}function d(t,e,i,n,o,a){if(t.decorator){var s={};e=t.decorator(e,s,i,n&&n[0],o,a,n),r.extend(e,s)}return e}},function(t,e,i){t.exports={default:i(36),__esModule:!0}},function(t,e,i){i(37),t.exports=i(21).Object.seal},function(t,e,i){var n=i(38);i(18)("seal",function(t){return function(e){return t&&n(e)?t(e):e}})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){(function(i){"use strict";e.__esModule=!0,e.default=function(t){var e=void 0!==i?i:window,n=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=n),t}},t.exports=e.default}).call(e,function(){return this}())},function(t,e){"use strict";e.__esModule=!0;var i={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!i.helpers.scopedId(t)&&!t.depth}}};e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default,o=i(3).default;e.__esModule=!0,e.parseWithoutProcessing=u,e.parse=function(t,e){var i=u(t,e);return new r.default(e).accept(i)};var a=n(i(42)),r=n(i(43)),s=o(i(45)),l=i(5);e.parser=a.default;var c={};function u(t,e){return"Program"===t.type?t:(a.default.yy=c,c.locInfo=function(t){return new c.SourceLocation(e&&e.srcName,t)},a.default.parse(t))}l.extend(c,s)},function(t,e){"use strict";e.__esModule=!0;var i=function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,i,n,o,a,r){var s=a.length-1;switch(o){case 1:return a[s-1];case 2:this.$=n.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=a[s];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(a[s]),strip:n.stripFlags(a[s],a[s]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[s],value:a[s],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:n.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var l=n.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),c=n.prepareProgram([l],a[s-1].loc);c.chained=!0,this.$={strip:a[s-2].strip,program:c,chain:!0};break;case 20:this.$=a[s];break;case 21:this.$={path:a[s-1],strip:n.stripFlags(a[s-2],a[s])};break;case 22:case 23:this.$=n.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],n.stripFlags(a[s-4],a[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[s-3],params:a[s-2],hash:a[s-1],indent:"",strip:n.stripFlags(a[s-4],a[s]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 26:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:n.stripFlags(a[s-4],a[s])};break;case 27:case 28:this.$=a[s];break;case 29:this.$={type:"SubExpression",path:a[s-3],params:a[s-2],hash:a[s-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[s],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(a[s-2]),value:a[s],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(a[s-1]);break;case 33:case 34:this.$=a[s];break;case 35:this.$={type:"StringLiteral",value:a[s],original:a[s],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[s]),original:Number(a[s]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[s],original:"true"===a[s],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:case 41:this.$=a[s];break;case 42:this.$=n.preparePath(!0,a[s],this._$);break;case 43:this.$=n.preparePath(!1,a[s],this._$);break;case 44:a[s-2].push({part:n.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 45:this.$=[{part:n.id(a[s]),original:a[s]}];break;case 46:this.$=[];break;case 47:a[s-1].push(a[s]);break;case 48:this.$=[];break;case 49:a[s-1].push(a[s]);break;case 50:this.$=[];break;case 51:a[s-1].push(a[s]);break;case 58:this.$=[];break;case 59:a[s-1].push(a[s]);break;case 64:this.$=[];break;case 65:a[s-1].push(a[s]);break;case 70:this.$=[];break;case 71:a[s-1].push(a[s]);break;case 78:this.$=[];break;case 79:a[s-1].push(a[s]);break;case 82:this.$=[];break;case 83:a[s-1].push(a[s]);break;case 86:this.$=[];break;case 87:a[s-1].push(a[s]);break;case 90:this.$=[];break;case 91:a[s-1].push(a[s]);break;case 94:this.$=[];break;case 95:a[s-1].push(a[s]);break;case 98:this.$=[a[s]];break;case 99:a[s-1].push(a[s]);break;case 100:this.$=[a[s]];break;case 101:a[s-1].push(a[s])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,i=[0],n=[null],o=[],a=this.table,r="",s=0,l=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;o.push(u);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,m,f,g,_,y,v,b,w,A={};;){if(m=i[i.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==d&&(w=void 0,"number"!=typeof(w=e.lexer.lex()||1)&&(w=e.symbols_[w]||w),d=w),f=a[m]&&a[m][d]),void 0===f||!f.length||!f[0]){var k="";if(!c){for(_ in b=[],a[m])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");k=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:b})}}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(f[0]){case 1:i.push(d),n.push(this.lexer.yytext),o.push(this.lexer.yylloc),i.push(f[1]),d=null,p?(d=p,p=null):(l=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[f[1]][1],A.$=n[n.length-y],A._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},h&&(A._$.range=[o[o.length-(y||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(A,r,l,s,this.yy,f[1],n,o)))return g;y&&(i=i.slice(0,-1*y*2),n=n.slice(0,-1*y),o=o.slice(0,-1*y)),i.push(this.productions_[f[1]][0]),n.push(A.$),o.push(A._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,i,n,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),r=0;r<a.length&&(!(i=this._input.match(this.rules[a[r]]))||e&&!(i[0].length>e[0].length)||(e=i,n=r,this.options.flex));r++);return e?((o=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,a[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,i,n){function o(t,i){return e.yytext=e.yytext.substring(t,e.yyleng-i+t)}switch(i){case 0:if("\\\\"===e.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();function i(){this.yy={}}return t.lexer=e,i.prototype=t,t.Parser=i,new i}();e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(44));function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function r(t,e,i){void 0===e&&(e=t.length);var n=t[e-1],o=t[e-2];return n?"ContentStatement"===n.type?(o||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function s(t,e,i){void 0===e&&(e=-1);var n=t[e+1],o=t[e+2];return n?"ContentStatement"===n.type?(o||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function l(t,e,i){var n=t[null==e?0:e+1];if(n&&"ContentStatement"===n.type&&(i||!n.rightStripped)){var o=n.value;n.value=n.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function c(t,e,i){var n=t[null==e?t.length-1:e-1];if(n&&"ContentStatement"===n.type&&(i||!n.leftStripped)){var o=n.value;return n.value=n.value.replace(i?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}a.prototype=new o.default,a.prototype.Program=function(t){var e=!this.options.ignoreStandalone,i=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,o=0,a=n.length;o<a;o++){var u=n[o],h=this.accept(u);if(h){var d=r(n,o,i),p=s(n,o,i),m=h.openStandalone&&d,f=h.closeStandalone&&p,g=h.inlineStandalone&&d&&p;h.close&&l(n,o,!0),h.open&&c(n,o,!0),e&&g&&(l(n,o),c(n,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),e&&m&&(l((u.program||u.inverse).body),c(n,o)),e&&f&&(l(n,o),c((u.inverse||u.program).body))}}return t},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,i=t.program&&t.inverse,n=i,o=i;if(i&&i.chained)for(n=i.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var a={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:s(e.body),closeStandalone:r((n||e).body)};if(t.openStrip.close&&l(e.body,null,!0),i){var u=t.inverseStrip;u.open&&c(e.body,null,!0),u.close&&l(n.body,null,!0),t.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&r(e.body)&&s(n.body)&&(c(e.body),l(n.body))}else t.closeStrip.open&&c(e.body,null,!0);return a},a.prototype.Decorator=a.prototype.MustacheStatement=function(t){return t.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.default=a,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(6));function a(){this.parents=[]}function r(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function s(t){r.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function l(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}a.prototype={constructor:a,mutating:!1,acceptKey:function(t,e){var i=this.accept(t[e]);if(this.mutating){if(i&&!a.prototype[i.type])throw new o.default('Unexpected node type "'+i.type+'" found when accepting '+e+" on "+t.type);t[e]=i}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new o.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,i=t.length;e<i;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,i--)},accept:function(t){if(t){if(!this[t.type])throw new o.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:r,Decorator:r,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(t){l.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.default=a,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,i){i=this.locInfo(i);for(var n=t?"@":"",a=[],r=0,s=0,l=e.length;s<l;s++){var c=e[s].part,u=e[s].original!==c;if(n+=(e[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)a.push(c);else{if(a.length>0)throw new o.default("Invalid path: "+n,{loc:i});".."===c&&r++}}return{type:"PathExpression",data:t,depth:r,parts:a,original:n,loc:i}},e.prepareMustache=function(t,e,i,n,o,a){var r=n.charAt(3)||n.charAt(2),s="{"!==r&&"&"!==r;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:t,params:e,hash:i,escaped:s,strip:o,loc:this.locInfo(a)}},e.prepareRawBlock=function(t,e,i,n){a(t,i),n=this.locInfo(n);var o={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}},e.prepareBlock=function(t,e,i,n,r,s){n&&n.path&&a(t,n);var l=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,u=void 0;if(i){if(l)throw new o.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=n.strip),u=i.strip,c=i.program}r&&(r=c,c=e,e=r);return{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(s)}},e.prepareProgram=function(t,e){if(!e&&t.length){var i=t[0].loc,n=t[t.length-1].loc;i&&n&&(e={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,i,n){return a(t,i),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(n)}};var o=n(i(6));function a(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var i={loc:t.path.loc};throw new o.default(t.path.original+" doesn't match "+e,i)}}},function(t,e,i){"use strict";var n=i(47).default,o=i(1).default;e.__esModule=!0,e.Compiler=c,e.precompile=function(t,e,i){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0);e.compat&&(e.useDepths=!0);var n=i.parse(t,e),o=(new i.Compiler).compile(n,e);return(new i.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,i){void 0===e&&(e={});if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=r.extend({},e))||(e.data=!0);e.compat&&(e.useDepths=!0);var n=void 0;function o(){var n=i.parse(t,e),o=(new i.Compiler).compile(n,e),a=(new i.JavaScriptCompiler).compile(o,e,void 0,!0);return i.template(a)}function s(t,e){return n||(n=o()),n.call(this,t,e)}return s._setup=function(t){return n||(n=o()),n._setup(t)},s._child=function(t,e,i,a){return n||(n=o()),n._child(t,e,i,a)},s};var a=o(i(6)),r=i(5),s=o(i(40)),l=[].slice;function c(){}function u(t,e){if(t===e)return!0;if(r.isArray(t)&&r.isArray(e)&&t.length===e.length){for(var i=0;i<t.length;i++)if(!u(t[i],e[i]))return!1;return!0}}function h(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}c.prototype={compiler:c,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var i=0;i<e;i++){var n=this.opcodes[i],o=t.opcodes[i];if(n.opcode!==o.opcode||!u(n.args,o.args))return!1}e=this.children.length;for(i=0;i<e;i++)if(!this.children[i].equals(t.children[i]))return!1;return!0},guid:0,compile:function(t,e){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[],e.knownHelpers=r.extend(n(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},e.knownHelpers),this.accept(t)},compileProgram:function(t){var e=(new this.compiler).compile(t,this.options),i=this.guid++;return this.usePartial=this.usePartial||e.usePartial,this.children[i]=e,this.useDepths=this.useDepths||e.useDepths,i},accept:function(t){if(!this[t.type])throw new a.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,i=e.length,n=0;n<i;n++)this.accept(e[n]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){h(t);var e=t.program,i=t.inverse;e=e&&this.compileProgram(e),i=i&&this.compileProgram(i);var n=this.classifySexpr(t);"helper"===n?this.helperSexpr(t,e,i):"simple"===n?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,i),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),i=this.setupFullMustacheParams(t,e,void 0),n=t.path;this.useDecorators=!0,this.opcode("registerDecorator",i.length,n.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var i=t.params;if(i.length>1)throw new a.default("Unsupported number of partial arguments: "+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var n=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var r=t.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",o,n,r),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){h(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var n=t.path,o=n.parts[0],a=null!=e||null!=i;this.opcode("getContext",n.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",i),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,i){var n=this.setupFullMustacheParams(t,e,i),o=t.path,r=o.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",n.length,r);else{if(this.options.knownHelpersOnly)throw new a.default("You specified knownHelpersOnly, but used the unknown helper "+r,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",n.length,o.original,s.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],i=s.default.helpers.scopedId(t),n=!t.depth&&!i&&this.blockParamIndex(e);n?this.opcode("lookupBlockParam",n,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,i):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,i=0,n=e.length;for(this.opcode("pushHash");i<n;i++)this.pushParam(e[i].value);for(;i--;)this.opcode("assignToHash",e[i].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=s.default.helpers.simpleId(t.path),i=e&&!!this.blockParamIndex(t.path.parts[0]),n=!i&&s.default.helpers.helperExpression(t),o=!i&&(n||e);if(o&&!n){var a=t.path.parts[0],r=this.options;r.knownHelpers[a]?n=!0:r.knownHelpersOnly&&(o=!1)}return n?"helper":o?"ambiguous":"simple"},pushParams:function(t){for(var e=0,i=t.length;e<i;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var i=void 0;if(!t.parts||s.default.helpers.scopedId(t)||t.depth||(i=this.blockParamIndex(t.parts[0])),i){var n=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",i,n)}else(e=t.original||e).replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,i,n){var o=t.params;return this.pushParams(o),this.opcode("pushProgram",e),this.opcode("pushProgram",i),t.hash?this.accept(t.hash):this.opcode("emptyHash",n),o},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var n=this.options.blockParams[e],o=n&&r.indexOf(n,t);if(n&&o>=0)return[e,o]}}}},function(t,e,i){t.exports={default:i(48),__esModule:!0}},function(t,e,i){var n=i(9);t.exports=function(t,e){return n.create(t,e)}},function(t,e,i){"use strict";var n=i(13).default,o=i(1).default;e.__esModule=!0;var a=i(4),r=o(i(6)),s=i(5),l=o(i(50)),c=i(28);function u(t){this.value=t}function h(){}h.prototype={nameLookup:function(t,e){return c.dangerousPropertyRegex.test(e)?["(",[this.aliasable("container.propertyIsEnumerable"),".call(",t,",",JSON.stringify(e),")"],"?",i()," : undefined)"]:i();function i(){return h.isValidJavaScriptVariableName(e)?[t,".",e]:[t,"[",JSON.stringify(e),"]"]}},depthedLookup:function(t){return[this.aliasable("container.lookup"),'(depths, "',t,'")']},compilerInfo:function(){var t=a.COMPILER_REVISION;return[t,a.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,i){return s.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:i?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},compile:function(t,e,i,n){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var o=t.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)a=o[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new r.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(n);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,p=d.programs,m=d.decorators;for(l=0,c=p.length;l<c;l++)p[l]&&(h[l]=p[l],m[l]&&(h[l+"_d"]=m[l],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),n?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),e.srcName?(h=h.toStringWithSourceMap({file:e.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(t){var e=this,i="",o=this.stackVars.concat(this.registers.list);o.length>0&&(i+=", "+o.join(", "));var a=0;n(this.aliases).forEach(function(t){var n=e.aliases[t];n.children&&n.referenceCount>1&&(i+=", alias"+ ++a+"="+t,n.children[0]="alias"+a)});var r=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths");var s=this.mergeSource(i);return t?(r.push(s),Function.apply(this,r)):this.source.wrap(["function(",r.join(","),") {\n ",s,"}"])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,n=void 0,o=void 0,a=void 0,r=void 0;return this.source.each(function(t){t.appendToBuffer?(a?t.prepend(" + "):a=t,r=t):(a&&(o?a.prepend("buffer += "):n=!0,r.add(";"),a=r=void 0),o=!0,e||(i=!1))}),i?a?(a.prepend("return "),r.add(";")):o||this.source.push('return "";'):(t+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),r.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(n?"":";\n")),this.source.merge()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var n=this.popStack();i.splice(1,0,n),this.push(this.source.functionCall(e,"call",i))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,n){var o=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[o++])),this.resolvePath("context",t,o,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,i)},resolvePath:function(t,e,i,n,o){var a=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,i,n){var o=e.popStack(),a=0,r=i.length;t&&r--;for(;a<r;a++)o=e.nameLookup(o,i[a],n);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(i[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}(this.options.strict&&o,this,e,t));else for(var r=e.length;i<r;i++)this.replaceStack(function(o){var r=a.nameLookup(o,e[i],t);return n?[" && ",r]:[" != null ? ",r," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var i=this.nameLookup("decorators",e,"decorator"),n=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(i,"",["fn","props","container",n])," || fn;"])},invokeHelper:function(t,e,i){var n=this.popStack(),o=this.setupHelper(t,e),a=[];i&&a.push(o.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var r=["(",this.itemsSeparatedBy(a,"||"),")"],s=this.source.functionCall(r,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(t,e){var i=[];i.push(t[0]);for(var n=1;n<t.length;n++)i.push(e,t[n]);return i},invokeKnownHelper:function(t,e){var i=this.setupHelper(t,e);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var i=this.popStack();this.emptyHash();var n=this.setupHelper(0,t,e),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",t,"helper")," || ",i,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function(t,e,i){var n=[],o=this.setupParams(e,1,n);t&&(e=this.popStack(),delete o.name),i&&(o.indent=JSON.stringify(i)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",t?n.unshift(e):n.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),n.push(o),this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function(t){var e=this.popStack(),i=void 0,n=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(n=this.popStack(),i=this.popStack());var a=this.hash;i&&(a.contexts[t]=i),n&&(a.types[t]=n),o&&(a.ids[t]=o),a.values[t]=e},pushId:function(t,e,i){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:h,compileChildren:function(t,e){for(var i=t.children,n=void 0,o=void 0,a=0,r=i.length;a<r;a++){n=i[a],o=new this.compiler;var s=this.matchExistingProgram(n);if(null==s){this.context.programs.push("");var l=this.context.programs.length;n.index=l,n.name="program"+l,this.context.programs[l]=o.compile(n,e,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=n,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,n.useDepths=this.useDepths,n.useBlockParams=this.useBlockParams}else n.index=s.index,n.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(t){for(var e=0,i=this.context.environments.length;e<i;e++){var n=this.context.environments[e];if(n&&n.equals(t))return n}},programExpression:function(t){var e=this.environment.children[t],i=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),"container.program("+i.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof u||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new u(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],i=void 0,n=void 0,o=void 0;if(!this.isInline())throw new r.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof u)e=["(",i=[a.value]],o=!0;else{n=!0;var s=this.incrStack();e=["((",this.push(s)," = ",a,")"],i=this.topStack()}var l=t.call(this,i);o||this.popStack(),n&&this.stackSlot--,this.push(e.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;e<i;e++){var n=t[e];if(n instanceof u)this.compileStack.push(n);else{var o=this.incrStack();this.pushSource([o," = ",n,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),i=(e?this.inlineStack:this.compileStack).pop();if(!t&&i instanceof u)return i.value;if(!e){if(!this.stackSlot)throw new r.default("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof u?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):((e=this.aliases[t]=this.source.wrap(t)).aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,i){var n=[];return{params:n,paramsInit:this.setupHelperArgs(e,t,n,i),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(n)}},setupParams:function(t,e,i){var n={},o=[],a=[],r=[],s=!i,l=void 0;s&&(i=[]),n.name=this.quotedString(t),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(n.fn=u||"container.noop",n.inverse=c||"container.noop");for(var h=e;h--;)l=this.popStack(),i[h]=l,this.trackIds&&(r[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),o[h]=this.popStack());return s&&(n.args=this.source.generateArray(i)),this.trackIds&&(n.ids=this.source.generateArray(r)),this.stringParams&&(n.types=this.source.generateArray(a),n.contexts=this.source.generateArray(o)),this.options.data&&(n.data="data"),this.useBlockParams&&(n.blockParams="blockParams"),n},setupHelperArgs:function(t,e,i,n){var o=this.setupParams(t,e,i);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),n?(this.useRegister("options"),i.push("options"),["options=",o]):i?(i.push(o),""):o}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=h.RESERVED_WORDS={},i=0,n=t.length;i<n;i++)e[t[i]]=!0}(),h.isValidJavaScriptVariableName=function(t){return!h.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=h,t.exports=e.default},function(t,e,i){"use strict";var n=i(13).default;e.__esModule=!0;var o=i(5),a=void 0;try{}catch(t){}function r(t,e,i){if(o.isArray(t)){for(var n=[],a=0,r=t.length;a<r;a++)n.push(e.wrap(t[a],i));return n}return"boolean"==typeof t||"number"==typeof t?t+"":t}function s(t){this.srcFile=t,this.source=[]}a||((a=function(t,e,i,n){this.src="",n&&this.add(n)}).prototype={add:function(t){o.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){o.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add([" ",e,"\n"])}),t},each:function(t){for(var e=0,i=this.source.length;e<i;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new a(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof a?t:(t=r(t,this,e),new a(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,i){return i=this.generateList(i),this.wrap([t,e?"."+e+"(":"(",i,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e=this,i=[];n(t).forEach(function(n){var o=r(t[n],e);"undefined"!==o&&i.push([e.quotedString(n),":",o])});var o=this.generateList(i);return o.prepend("{"),o.add("}"),o},generateList:function(t){for(var e=this.empty(),i=0,n=t.length;i<n;i++)i&&e.add(","),e.add(r(t[i],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend("["),e.add("]"),e}},e.default=s,t.exports=e.default}])}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var t,e;function i(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function r(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var i in e)c(e,i)&&(t[i]=e[i]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,i,n){return Ce(t,e,i,n,!0).utc()}function d(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var i=d(t),n=e.call(i.parsedDateParts,function(t){return null!=t}),o=!isNaN(t._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(t._strict&&(o=o&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function m(t){var e=h(NaN);return null!=t?u(d(e),t):d(e).userInvalidated=!0,e}e=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var f=i.momentProperties=[];function g(t,e){var i,n,o;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=d(e)),a(e._locale)||(t._locale=e._locale),f.length>0)for(i=0;i<f.length;i++)a(o=e[n=f[i]])||(t[n]=o);return t}var _=!1;function y(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,i.updateOffset(this),_=!1)}function v(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=b(e)),i}function A(t,e,i){var n,o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),r=0;for(n=0;n<o;n++)(i&&t[n]!==e[n]||!i&&w(t[n])!==w(e[n]))&&r++;return r+a}function k(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,e){var n=!0;return u(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){for(var o,a=[],r=0;r<arguments.length;r++){if(o="","object"==typeof arguments[r]){for(var s in o+="\n["+r+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[r];a.push(o)}k(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var S,M={};function C(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),M[t]||(k(e),M[t]=!0)}function x(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var i,n=u({},t);for(i in e)c(e,i)&&(o(t[i])&&o(e[i])?(n[i]={},u(n[i],t[i]),u(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)c(t,i)&&!c(e,i)&&o(t[i])&&(n[i]=u({},n[i]));return n}function T(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)c(t,e)&&i.push(e);return i};var E={};function O(t,e){var i=t.toLowerCase();E[i]=E[i+"s"]=E[e]=t}function D(t){return"string"==typeof t?E[t]||E[t.toLowerCase()]:void 0}function z(t){var e,i,n={};for(i in t)c(t,i)&&(e=D(i))&&(n[e]=t[i]);return n}var I={};function B(t,e){I[t]=e}function N(t,e,i){var n=""+Math.abs(t),o=e-n.length;return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},H={};function W(t,e,i,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),t&&(H[t]=o),e&&(H[e[0]]=function(){return N(o.apply(this,arguments),e[1],e[2])}),i&&(H[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function Z(t,e){return t.isValid()?(e=$(e,t.localeData()),F[e]=F[e]||function(t){var e,i,n,o=t.match(R);for(e=0,i=o.length;e<i;e++)H[o[e]]?o[e]=H[o[e]]:o[e]=(n=o[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,a="";for(n=0;n<i;n++)a+=x(o[n])?o[n].call(e,t):o[n];return a}}(e),F[e](t)):t.localeData().invalidDate()}function $(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;i>=0&&j.test(t);)t=t.replace(j,n),j.lastIndex=0,i-=1;return t}var V=/\d/,U=/\d\d/,q=/\d{3}/,G=/\d{4}/,Y=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,X=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,it=/\d+/,nt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,rt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function lt(t,e,i){st[t]=x(e)?e:function(t,n){return t&&i?i:e}}function ct(t,e){return c(st,t)?st[t](e._strict,e._locale):new RegExp(ut(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))}function ut(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function dt(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),r(e)&&(n=function(t,i){i[e]=w(t)}),i=0;i<t.length;i++)ht[t[i]]=n}function pt(t,e){dt(t,function(t,i,n,o){n._w=n._w||{},e(t,n._w,n,o)})}function mt(t,e,i){null!=e&&c(ht,t)&&ht[t](e,i._a,i,t)}var ft=0,gt=1,_t=2,yt=3,vt=4,bt=5,wt=6,At=7,kt=8;function Pt(t){return St(t)?366:365}function St(t){return t%4==0&&t%100!=0||t%400==0}W("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),B("year",1),lt("Y",nt),lt("YY",K,U),lt("YYYY",tt,G),lt("YYYYY",et,Y),lt("YYYYYY",et,Y),dt(["YYYYY","YYYYYY"],ft),dt("YYYY",function(t,e){e[ft]=2===t.length?i.parseTwoDigitYear(t):w(t)}),dt("YY",function(t,e){e[ft]=i.parseTwoDigitYear(t)}),dt("Y",function(t,e){e[ft]=parseInt(t,10)}),i.parseTwoDigitYear=function(t){return w(t)+(w(t)>68?1900:2e3)};var Mt,Ct=xt("FullYear",!0);function xt(t,e){return function(n){return null!=n?(Tt(this,t,n),i.updateOffset(this,e),this):Lt(this,t)}}function Lt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Tt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&St(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Et(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Et(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,n=(e%(i=12)+i)%i;return t+=(e-n)/12,1===n?St(t)?29:28:31-n%7%2}Mt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),W("MMMM",0,0,function(t){return this.localeData().months(this,t)}),O("month","M"),B("month",8),lt("M",K),lt("MM",K,U),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),dt(["M","MM"],function(t,e){e[gt]=w(t)-1}),dt(["MMM","MMMM"],function(t,e,i,n){var o=i._locale.monthsParse(t,n,i._strict);null!=o?e[gt]=o:d(i).invalidMonth=t});var Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Dt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(!r(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Et(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Bt(t){return null!=t?(It(this,t),i.updateOffset(this,!0),this):Lt(this,"Month")}var Nt=rt;var Rt=rt;function jt(){function t(t,e){return e.length-t.length}var e,i,n=[],o=[],a=[];for(e=0;e<12;e++)i=h([2e3,e]),n.push(this.monthsShort(i,"")),o.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(t),o.sort(t),a.sort(t),e=0;e<12;e++)n[e]=ut(n[e]),o[e]=ut(o[e]);for(e=0;e<24;e++)a[e]=ut(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ft(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ht(t,e,i){var n=7+e-i;return-((7+Ft(t,0,n).getUTCDay()-e)%7)+n-1}function Wt(t,e,i,n,o){var a,r,s=1+7*(e-1)+(7+i-n)%7+Ht(t,n,o);return s<=0?r=Pt(a=t-1)+s:s>Pt(t)?(a=t+1,r=s-Pt(t)):(a=t,r=s),{year:a,dayOfYear:r}}function Zt(t,e,i){var n,o,a=Ht(t.year(),e,i),r=Math.floor((t.dayOfYear()-a-1)/7)+1;return r<1?n=r+$t(o=t.year()-1,e,i):r>$t(t.year(),e,i)?(n=r-$t(t.year(),e,i),o=t.year()+1):(o=t.year(),n=r),{week:n,year:o}}function $t(t,e,i){var n=Ht(t,e,i),o=Ht(t+1,e,i);return(Pt(t)-n+o)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),B("week",5),B("isoWeek",5),lt("w",K),lt("ww",K,U),lt("W",K),lt("WW",K,U),pt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=w(t)});W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),lt("d",K),lt("e",K),lt("E",K),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,i,n){var o=i._locale.weekdaysParse(t,n,i._strict);null!=o?e.d=o:d(i).invalidWeekday=t}),pt(["d","e","E"],function(t,e,i,n){e[n]=w(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=rt;var Yt=rt;var Kt=rt;function Qt(){function t(t,e){return e.length-t.length}var e,i,n,o,a,r=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=h([2e3,1]).day(e),n=this.weekdaysMin(i,""),o=this.weekdaysShort(i,""),a=this.weekdays(i,""),r.push(n),s.push(o),l.push(a),c.push(n),c.push(o),c.push(a);for(r.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ut(s[e]),l[e]=ut(l[e]),c[e]=ut(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Xt(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function te(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Jt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Jt.apply(this)+N(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Jt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),Xt("a",!0),Xt("A",!1),O("hour","h"),B("hour",13),lt("a",te),lt("A",te),lt("H",K),lt("h",K),lt("k",K),lt("HH",K,U),lt("hh",K,U),lt("kk",K,U),lt("hmm",Q),lt("hmmss",J),lt("Hmm",Q),lt("Hmmss",J),dt(["H","HH"],yt),dt(["k","kk"],function(t,e,i){var n=w(t);e[yt]=24===n?0:n}),dt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),dt(["h","hh"],function(t,e,i){e[yt]=w(t),d(i).bigHour=!0}),dt("hmm",function(t,e,i){var n=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n)),d(i).bigHour=!0}),dt("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n,2)),e[bt]=w(t.substr(o)),d(i).bigHour=!0}),dt("Hmm",function(t,e,i){var n=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n))}),dt("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n,2)),e[bt]=w(t.substr(o))});var ee,ie=xt("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Dt,monthsShort:zt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:qt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!oe[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=ee._abbr,require("./locale/"+t),le(e)}catch(t){}return oe[t]}function le(t,e){var i;return t&&((i=a(e)?ue(t):ce(t,e))?ee=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function ce(t,e){if(null!==e){var i,n=ne;if(e.abbr=t,null!=oe[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])n=oe[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=i._config}return oe[t]=new T(L(n,e)),ae[t]&&ae[t].forEach(function(t){ce(t.name,t.config)}),le(t),oe[t]}return delete oe[t],null}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ee;if(!n(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,o,a=0;a<t.length;){for(e=(o=re(t[a]).split("-")).length,i=(i=re(t[a+1]))?i.split("-"):null;e>0;){if(n=se(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&A(o,i,!0)>=e-1)break;e--}a++}return ee}(t)}function he(t){var e,i=t._a;return i&&-2===d(t).overflow&&(e=i[gt]<0||i[gt]>11?gt:i[_t]<1||i[_t]>Et(i[ft],i[gt])?_t:i[yt]<0||i[yt]>24||24===i[yt]&&(0!==i[vt]||0!==i[bt]||0!==i[wt])?yt:i[vt]<0||i[vt]>59?vt:i[bt]<0||i[bt]>59?bt:i[wt]<0||i[wt]>999?wt:-1,d(t)._overflowDayOfYear&&(e<ft||e>_t)&&(e=_t),d(t)._overflowWeeks&&-1===e&&(e=At),d(t)._overflowWeekday&&-1===e&&(e=kt),d(t).overflow=e),t}function de(t,e,i){return null!=t?t:null!=e?e:i}function pe(t){var e,n,o,a,r,s=[];if(!t._d){for(o=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var e,i,n,o,a,r,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,r=4,i=de(e.GG,t._a[ft],Zt(xe(),1,4).year),n=de(e.W,1),((o=de(e.E,1))<1||o>7)&&(l=!0);else{a=t._locale._week.dow,r=t._locale._week.doy;var c=Zt(xe(),a,r);i=de(e.gg,t._a[ft],c.year),n=de(e.w,c.week),null!=e.d?((o=e.d)<0||o>6)&&(l=!0):null!=e.e?(o=e.e+a,(e.e<0||e.e>6)&&(l=!0)):o=a}n<1||n>$t(i,a,r)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(s=Wt(i,n,o,a,r),t._a[ft]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(r=de(t._a[ft],o[ft]),(t._dayOfYear>Pt(r)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=Ft(r,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[_t]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=o[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yt]&&0===t._a[vt]&&0===t._a[bt]&&0===t._a[wt]&&(t._nextDay=!0,t._a[yt]=0),t._d=(t._useUTC?Ft:function(t,e,i,n,o,a,r){var s=new Date(t,e,i,n,o,a,r);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(d(t).weekdayMismatch=!0)}}var me=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/Z|[+-]\d\d(?::?\d\d)?/,_e=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((\-?\d+)/i;function be(t){var e,i,n,o,a,r,s=t._i,l=me.exec(s)||fe.exec(s);if(l){for(d(t).iso=!0,e=0,i=_e.length;e<i;e++)if(_e[e][1].exec(l[1])){o=_e[e][0],n=!1!==_e[e][2];break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,i=ye.length;e<i;e++)if(ye[e][1].exec(l[3])){a=(l[2]||" ")+ye[e][0];break}if(null==a)return void(t._isValid=!1)}if(!n&&null!=a)return void(t._isValid=!1);if(l[4]){if(!ge.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=o+(a||"")+(r||""),Se(t)}else t._isValid=!1}var we=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Ae(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pe(t){var e,i,n,o,a,r,s,l=we.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(e=l[4],i=l[3],n=l[2],o=l[5],a=l[6],r=l[7],s=[Ae(e),zt.indexOf(i),parseInt(n,10),parseInt(o,10),parseInt(a,10)],r&&s.push(parseInt(r,10)),s);if(!function(t,e,i){return!t||Ut.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(d(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],c,t))return;t._a=c,t._tzm=function(t,e,i){if(t)return ke[t];if(e)return 0;var n=parseInt(i,10),o=n%100;return(n-o)/100*60+o}(l[8],l[9],l[10]),t._d=Ft.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),d(t).rfc2822=!0}else t._isValid=!1}function Se(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],d(t).empty=!0;var e,n,o,a,r,s=""+t._i,l=s.length,c=0;for(o=$(t._f,t._locale).match(R)||[],e=0;e<o.length;e++)a=o[e],(n=(s.match(ct(a,t))||[])[0])&&((r=s.substr(0,s.indexOf(n))).length>0&&d(t).unusedInput.push(r),s=s.slice(s.indexOf(n)+n.length),c+=n.length),H[a]?(n?d(t).empty=!1:d(t).unusedTokens.push(a),mt(a,n,t)):t._strict&&!n&&d(t).unusedTokens.push(a);d(t).charsLeftOver=l-c,s.length>0&&d(t).unusedInput.push(s),t._a[yt]<=12&&!0===d(t).bigHour&&t._a[yt]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[yt]=function(t,e,i){var n;if(null==i)return e;return null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[yt],t._meridiem),pe(t),he(t)}else Pe(t);else be(t)}function Me(t){var e=t._i,c=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===c&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),v(e)?new y(he(e)):(s(e)?t._d=e:n(c)?function(t){var e,i,n,o,a;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Se(e),p(e)&&(a+=d(e).charsLeftOver,a+=10*d(e).unusedTokens.length,d(e).score=a,(null==n||a<n)&&(n=a,i=e));u(t,i||e)}(t):c?Se(t):function(t){var e=t._i;a(e)?t._d=new Date(i.now()):s(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ve.exec(t._i);null===e?(be(t),!1===t._isValid&&(delete t._isValid,Pe(t),!1===t._isValid&&(delete t._isValid,i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):n(e)?(t._a=l(e.slice(0),function(t){return parseInt(t,10)}),pe(t)):o(e)?function(t){if(!t._d){var e=z(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),pe(t)}}(t):r(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Ce(t,e,i,a,r){var s,l={};return!0!==i&&!1!==i||(a=i,i=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=i,l._i=t,l._f=e,l._strict=a,(s=new y(he(Me(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function xe(t,e,i,n){return Ce(t,e,i,n,!1)}i.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Le=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Te=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()});function Ee(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return xe();for(i=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](i)||(i=e[o]);return i}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function De(t){var e=z(t),i=e.year||0,n=e.quarter||0,o=e.month||0,a=e.week||0,r=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Mt.call(Oe,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Oe.length;++n)if(t[Oe[n]]){if(i)return!1;parseFloat(t[Oe[n]])!==w(t[Oe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+r+7*a,this._months=+o+3*n+12*i,this._data={},this._locale=ue(),this._bubble()}function ze(t){return t instanceof De}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Be(t,e){W(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+N(~~(t/60),2)+e+N(~~t%60,2)})}Be("Z",":"),Be("ZZ",""),lt("Z",at),lt("ZZ",at),dt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Re(at,t)});var Ne=/([\+\-]|\d\d)/gi;function Re(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(Ne)||["-",0,0],o=60*n[1]+w(n[2]);return 0===o?0:"+"===n[0]?o:-o}function je(t,e){var n,o;return e._isUTC?(n=e.clone(),o=(v(t)||s(t)?t.valueOf():xe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),i.updateOffset(n,!1),n):xe(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function He(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var We=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $e(t,e){var i,n,o,a=t,s=null;return ze(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:r(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=We.exec(t))?(i="-"===s[1]?-1:1,a={y:0,d:w(s[_t])*i,h:w(s[yt])*i,m:w(s[vt])*i,s:w(s[bt])*i,ms:w(Ie(1e3*s[wt]))*i}):(s=Ze.exec(t))?(i="-"===s[1]?-1:(s[1],1),a={y:Ve(s[2],i),M:Ve(s[3],i),w:Ve(s[4],i),d:Ve(s[5],i),h:Ve(s[6],i),m:Ve(s[7],i),s:Ve(s[8],i)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=function(t,e){var i;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=je(e,t),t.isBefore(e)?i=Ue(t,e):((i=Ue(e,t)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(xe(a.from),xe(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),n=new De(a),ze(t)&&c(t,"_locale")&&(n._locale=t._locale),n}function Ve(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ue(t,e){var i={milliseconds:0,months:0};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function qe(t,e){return function(i,n){var o;return null===n||isNaN(+n)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=n,n=o),Ge(this,$e(i="string"==typeof i?+i:i,n),t),this}}function Ge(t,e,n,o){var a=e._milliseconds,r=Ie(e._days),s=Ie(e._months);t.isValid()&&(o=null==o||o,s&&It(t,Lt(t,"Month")+s*n),r&&Tt(t,"Date",Lt(t,"Date")+r*n),a&&t._d.setTime(t._d.valueOf()+a*n),o&&i.updateOffset(t,r||s))}$e.fn=De.prototype,$e.invalid=function(){return $e(NaN)};var Ye=qe(1,"add"),Ke=qe(-1,"subtract");function Qe(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ti(){return this._locale}function ei(t,e){W(0,[t,t.length],0,e)}function ii(t,e,i,n,o){var a;return null==t?Zt(this,n,o).year:(e>(a=$t(t,n,o))&&(e=a),function(t,e,i,n,o){var a=Wt(t,e,i,n,o),r=Ft(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,i,n,o))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),lt("G",nt),lt("g",nt),lt("GG",K,U),lt("gg",K,U),lt("GGGG",tt,G),lt("gggg",tt,G),lt("GGGGG",et,Y),lt("ggggg",et,Y),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=w(t)}),pt(["gg","GG"],function(t,e,n,o){e[o]=i.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),B("quarter",7),lt("Q",V),dt("Q",function(t,e){e[gt]=3*(w(t)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),B("date",9),lt("D",K),lt("DD",K,U),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],_t),dt("Do",function(t,e){e[_t]=w(t.match(K)[0])});var ni=xt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),B("dayOfYear",4),lt("DDD",X),lt("DDDD",q),dt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=w(t)}),W("m",["mm",2],0,"minute"),O("minute","m"),B("minute",14),lt("m",K),lt("mm",K,U),dt(["m","mm"],vt);var oi=xt("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),B("second",15),lt("s",K),lt("ss",K,U),dt(["s","ss"],bt);var ai,ri=xt("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),B("millisecond",16),lt("S",X,V),lt("SS",X,U),lt("SSS",X,q),ai="SSSS";ai.length<=9;ai+="S")lt(ai,it);function si(t,e){e[wt]=w(1e3*("0."+t))}for(ai="S";ai.length<=9;ai+="S")dt(ai,si);var li=xt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ci=y.prototype;function ui(t){return t}ci.add=Ye,ci.calendar=function(t,e){var n=t||xe(),o=je(n,this).startOf("day"),a=i.calendarFormat(this,o)||"sameElse",r=e&&(x(e[a])?e[a].call(this,n):e[a]);return this.format(r||this.localeData().calendar(a,this,xe(n)))},ci.clone=function(){return new y(this)},ci.diff=function(t,e,i){var n,o,a;if(!this.isValid())return NaN;if(!(n=je(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=D(e)){case"year":a=Qe(this,n)/12;break;case"month":a=Qe(this,n);break;case"quarter":a=Qe(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-o)/864e5;break;case"week":a=(this-n-o)/6048e5;break;default:a=this-n}return i?a:b(a)},ci.endOf=function(t){return void 0===(t=D(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},ci.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=Z(this,t);return this.localeData().postformat(e)},ci.from=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||xe(t).isValid())?$e({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.fromNow=function(t){return this.from(xe(),t)},ci.to=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||xe(t).isValid())?$e({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.toNow=function(t){return this.to(xe(),t)},ci.get=function(t){return x(this[t=D(t)])?this[t]():this},ci.invalidAt=function(){return d(this).overflow},ci.isAfter=function(t,e){var i=v(t)?t:xe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=D(a(e)?"millisecond":e))?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},ci.isBefore=function(t,e){var i=v(t)?t:xe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=D(a(e)?"millisecond":e))?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},ci.isBetween=function(t,e,i,n){return("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},ci.isSame=function(t,e){var i,n=v(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=D(e||"millisecond"))?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},ci.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ci.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ci.isValid=function(){return p(this)},ci.lang=Xe,ci.locale=Je,ci.localeData=ti,ci.max=Te,ci.min=Le,ci.parsingFlags=function(){return u({},d(this))},ci.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:I[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=z(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(x(this[t=D(t)]))return this[t](e);return this},ci.startOf=function(t){switch(t=D(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ci.subtract=Ke,ci.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ci.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ci.toDate=function(){return new Date(this.valueOf())},ci.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?Z(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Z(i,"Z")):Z(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ci.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+o)},ci.toJSON=function(){return this.isValid()?this.toISOString():null},ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ci.unix=function(){return Math.floor(this.valueOf()/1e3)},ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ci.year=Ct,ci.isLeapYear=function(){return St(this.year())},ci.weekYear=function(t){return ii.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ci.isoWeekYear=function(t){return ii.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ci.quarter=ci.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ci.month=Bt,ci.daysInMonth=function(){return Et(this.year(),this.month())},ci.week=ci.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ci.isoWeek=ci.isoWeeks=function(t){var e=Zt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ci.weeksInYear=function(){var t=this.localeData()._week;return $t(this.year(),t.dow,t.doy)},ci.isoWeeksInYear=function(){return $t(this.year(),1,4)},ci.date=ni,ci.day=ci.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ci.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ci.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ci.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ci.hour=ci.hours=ie,ci.minute=ci.minutes=oi,ci.second=ci.seconds=ri,ci.millisecond=ci.milliseconds=li,ci.utcOffset=function(t,e,n){var o,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(at,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==t&&(!e||this._changeInProgress?Ge(this,$e(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Fe(this)},ci.utc=function(t){return this.utcOffset(0,t)},ci.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},ci.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ci.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?xe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ci.isUtc=He,ci.isUTC=He,ci.zoneAbbr=function(){return this._isUTC?"UTC":""},ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ci.dates=P("dates accessor is deprecated. Use date instead.",ni),ci.months=P("months accessor is deprecated. Use month instead",Bt),ci.years=P("years accessor is deprecated. Use year instead",Ct),ci.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ci.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Me(t))._a){var e=t._isUTC?h(t._a):xe(t._a);this._isDSTShifted=this.isValid()&&A(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hi=T.prototype;function di(t,e,i,n){var o=ue(),a=h().set(n,e);return o[i](a,t)}function pi(t,e,i){if(r(t)&&(e=t,t=void 0),t=t||"",null!=e)return di(t,e,i,"month");var n,o=[];for(n=0;n<12;n++)o[n]=di(t,n,i,"month");return o}function mi(t,e,i,n){"boolean"==typeof t?(r(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,r(e)&&(i=e,e=void 0),e=e||"");var o,a=ue(),s=t?a._week.dow:0;if(null!=i)return di(e,(i+s)%7,n,"day");var l=[];for(o=0;o<7;o++)l[o]=di(e,(o+s)%7,n,"day");return l}hi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return x(n)?n.call(e,i):n},hi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(t){return this._ordinal.replace("%d",t)},hi.preparse=ui,hi.postformat=ui,hi.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return x(o)?o(t,e,i,n):o.replace(/%d/i,t)},hi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return x(i)?i(e):i.replace(/%s/i,e)},hi.set=function(t){var e,i;for(i in t)x(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.months=function(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,i){var n,o,a;if(this._monthsParseExact)return function(t,e,i){var n,o,a,r=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=Mt.call(this._shortMonthsParse,r))?o:null:-1!==(o=Mt.call(this._longMonthsParse,r))?o:null:"MMM"===e?-1!==(o=Mt.call(this._shortMonthsParse,r))?o:-1!==(o=Mt.call(this._longMonthsParse,r))?o:null:-1!==(o=Mt.call(this._longMonthsParse,r))?o:-1!==(o=Mt.call(this._shortMonthsParse,r))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=h([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},hi.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||jt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Rt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||jt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Nt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(t){return Zt(t,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone},hi.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},hi.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},hi.weekdaysParse=function(t,e,i){var n,o,a;if(this._weekdaysParseExact)return function(t,e,i){var n,o,a,r=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=Mt.call(this._weekdaysParse,r))?o:null:"ddd"===e?-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:null:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:"dddd"===e?-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:"ddd"===e?-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=h([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Gt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},le("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",le),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",ue);var fi=Math.abs;function gi(t,e,i,n){var o=$e(e,i);return t._milliseconds+=n*o._milliseconds,t._days+=n*o._days,t._months+=n*o._months,t._bubble()}function _i(t){return t<0?Math.floor(t):Math.ceil(t)}function yi(t){return 4800*t/146097}function vi(t){return 146097*t/4800}function bi(t){return function(){return this.as(t)}}var wi=bi("ms"),Ai=bi("s"),ki=bi("m"),Pi=bi("h"),Si=bi("d"),Mi=bi("w"),Ci=bi("M"),xi=bi("y");function Li(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ti=Li("milliseconds"),Ei=Li("seconds"),Oi=Li("minutes"),Di=Li("hours"),zi=Li("days"),Ii=Li("months"),Bi=Li("years");var Ni=Math.round,Ri={ss:44,s:45,m:45,h:22,d:26,M:11};var ji=Math.abs;function Fi(t){return(t>0)-(t<0)||+t}function Hi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=ji(this._milliseconds)/1e3,n=ji(this._days),o=ji(this._months);t=b(i/60),e=b(t/60),i%=60,t%=60;var a=b(o/12),r=o%=12,s=n,l=e,c=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=Fi(this._months)!==Fi(h)?"-":"",m=Fi(this._days)!==Fi(h)?"-":"",f=Fi(this._milliseconds)!==Fi(h)?"-":"";return d+"P"+(a?p+a+"Y":"")+(r?p+r+"M":"")+(s?m+s+"D":"")+(l||c||u?"T":"")+(l?f+l+"H":"")+(c?f+c+"M":"")+(u?f+u+"S":"")}var Wi=De.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var t=this._data;return this._milliseconds=fi(this._milliseconds),this._days=fi(this._days),this._months=fi(this._months),t.milliseconds=fi(t.milliseconds),t.seconds=fi(t.seconds),t.minutes=fi(t.minutes),t.hours=fi(t.hours),t.months=fi(t.months),t.years=fi(t.years),this},Wi.add=function(t,e){return gi(this,t,e,1)},Wi.subtract=function(t,e){return gi(this,t,e,-1)},Wi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=D(t))||"year"===t)return e=this._days+n/864e5,i=this._months+yi(e),"month"===t?i:i/12;switch(e=this._days+Math.round(vi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Wi.asMilliseconds=wi,Wi.asSeconds=Ai,Wi.asMinutes=ki,Wi.asHours=Pi,Wi.asDays=Si,Wi.asWeeks=Mi,Wi.asMonths=Ci,Wi.asYears=xi,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Wi._bubble=function(){var t,e,i,n,o,a=this._milliseconds,r=this._days,s=this._months,l=this._data;return a>=0&&r>=0&&s>=0||a<=0&&r<=0&&s<=0||(a+=864e5*_i(vi(s)+r),r=0,s=0),l.milliseconds=a%1e3,t=b(a/1e3),l.seconds=t%60,e=b(t/60),l.minutes=e%60,i=b(e/60),l.hours=i%24,r+=b(i/24),s+=o=b(yi(r)),r-=_i(vi(o)),n=b(s/12),s%=12,l.days=r,l.months=s,l.years=n,this},Wi.clone=function(){return $e(this)},Wi.get=function(t){return t=D(t),this.isValid()?this[t+"s"]():NaN},Wi.milliseconds=Ti,Wi.seconds=Ei,Wi.minutes=Oi,Wi.hours=Di,Wi.days=zi,Wi.weeks=function(){return b(this.days()/7)},Wi.months=Ii,Wi.years=Bi,Wi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=$e(t).abs(),o=Ni(n.as("s")),a=Ni(n.as("m")),r=Ni(n.as("h")),s=Ni(n.as("d")),l=Ni(n.as("M")),c=Ni(n.as("y")),u=o<=Ri.ss&&["s",o]||o<Ri.s&&["ss",o]||a<=1&&["m"]||a<Ri.m&&["mm",a]||r<=1&&["h"]||r<Ri.h&&["hh",r]||s<=1&&["d"]||s<Ri.d&&["dd",s]||l<=1&&["M"]||l<Ri.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=e,u[3]=+t>0,u[4]=i,function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,u)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Wi.toISOString=Hi,Wi.toString=Hi,Wi.toJSON=Hi,Wi.locale=Je,Wi.localeData=ti,Wi.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hi),Wi.lang=Xe,W("X",0,0,"unix"),W("x",0,0,"valueOf"),lt("x",nt),lt("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),dt("x",function(t,e,i){i._d=new Date(w(t))}),i.version="2.22.2",t=xe,i.fn=ci,i.min=function(){return Ee("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ee("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(t){return xe(1e3*t)},i.months=function(t,e){return pi(t,e,"months")},i.isDate=s,i.locale=le,i.invalid=m,i.duration=$e,i.isMoment=v,i.weekdays=function(t,e,i){return mi(t,e,i,"weekdays")},i.parseZone=function(){return xe.apply(null,arguments).parseZone()},i.localeData=ue,i.isDuration=ze,i.monthsShort=function(t,e){return pi(t,e,"monthsShort")},i.weekdaysMin=function(t,e,i){return mi(t,e,i,"weekdaysMin")},i.defineLocale=ce,i.updateLocale=function(t,e){if(null!=e){var i,n,o=ne;null!=(n=se(t))&&(o=n._config),(i=new T(e=L(o,e))).parentLocale=oe[t],oe[t]=i,le(t)}else null!=oe[t]&&(null!=oe[t].parentLocale?oe[t]=oe[t].parentLocale:null!=oe[t]&&delete oe[t]);return oe[t]},i.locales=function(){return S(oe)},i.weekdaysShort=function(t,e,i){return mi(t,e,i,"weekdaysShort")},i.normalizeUnits=D,i.relativeTimeRounding=function(t){return void 0===t?Ni:"function"==typeof t&&(Ni=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Ri[t]&&(void 0===e?Ri[t]:(Ri[t]=e,"s"===t&&(Ri.ss=e-1),!0))},i.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=ci,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}),function(t,e){"use strict";"object"==typeof module&&module.exports?module.exports=e(require("moment")):"function"==typeof define&&define.amd?define(["moment"],e):e(t.moment)}(this,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,i={},n={},o={},a={},r={};t&&"string"==typeof t.version||T("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=t.version.split("."),l=+s[0],c=+s[1];function u(t){return t>96?t-87:t>64?t-29:t-48}function h(t){var e=0,i=t.split("."),n=i[0],o=i[1]||"",a=1,r=0,s=1;for(45===t.charCodeAt(0)&&(e=1,s=-1);e<n.length;e++)r=60*r+u(n.charCodeAt(e));for(e=0;e<o.length;e++)a/=60,r+=u(o.charCodeAt(e))*a;return r*s}function d(t){for(var e=0;e<t.length;e++)t[e]=h(t[e])}function p(t,e){var i,n=[];for(i=0;i<e.length;i++)n[i]=t[e[i]];return n}function m(t){var e=t.split("|"),i=e[2].split(" "),n=e[3].split(""),o=e[4].split(" ");return d(i),d(n),d(o),function(t,e){for(var i=0;i<e;i++)t[i]=Math.round((t[i-1]||0)+6e4*t[i]);t[e-1]=1/0}(o,n.length),{name:e[0],abbrs:p(e[1].split(" "),n),offsets:p(i,n),untils:o,population:0|e[5]}}function f(t){t&&this._set(m(t))}function g(t,e){this.name=t,this.zones=e}function _(t){var e=t.toTimeString(),i=e.match(/\([a-z ]+\)/i);"GMT"===(i=i&&i[0]?(i=i[0].match(/[A-Z]/g))?i.join(""):void 0:(i=e.match(/[A-Z]{3,5}/g))?i[0]:void 0)&&(i=void 0),this.at=+t,this.abbr=i,this.offset=t.getTimezoneOffset()}function y(t){this.zone=t,this.offsetScore=0,this.abbrScore=0}function v(t,e){for(var i,n;n=6e4*((e.at-t.at)/12e4|0);)(i=new _(new Date(t.at+n))).offset===t.offset?t=i:e=i;return t}function b(t,e){return t.offsetScore!==e.offsetScore?t.offsetScore-e.offsetScore:t.abbrScore!==e.abbrScore?t.abbrScore-e.abbrScore:t.zone.population!==e.zone.population?e.zone.population-t.zone.population:e.zone.name.localeCompare(t.zone.name)}function w(t,e){var i,n;for(d(e),i=0;i<e.length;i++)n=e[i],r[n]=r[n]||{},r[n][t]=!0}function A(t){var e,i,n,o=t.length,s={},l=[];for(e=0;e<o;e++)for(i in n=r[t[e].offset]||{})n.hasOwnProperty(i)&&(s[i]=!0);for(e in s)s.hasOwnProperty(e)&&l.push(a[e]);return l}function k(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var e=a[P(t)];if(e)return e;T("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var i,n,o,r=function(){var t,e,i,n=(new Date).getFullYear()-2,o=new _(new Date(n,0,1)),a=[o];for(i=1;i<48;i++)(e=new _(new Date(n,i,1))).offset!==o.offset&&(t=v(o,e),a.push(t),a.push(new _(new Date(t.at+6e4)))),o=e;for(i=0;i<4;i++)a.push(new _(new Date(n+i,0,1))),a.push(new _(new Date(n+i,6,1)));return a}(),s=r.length,l=A(r),c=[];for(n=0;n<l.length;n++){for(i=new y(M(l[n]),s),o=0;o<s;o++)i.scoreOffsetAt(r[o]);c.push(i)}return c.sort(b),c.length>0?c[0].zone.name:void 0}function P(t){return(t||"").toLowerCase().replace(/\//g,"_")}function S(t){var e,n,o,r;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)r=P(n=(o=t[e].split("|"))[0]),i[r]=t[e],a[r]=n,w(r,o[2].split(" "))}function M(t,e){t=P(t);var o,r=i[t];return r instanceof f?r:"string"==typeof r?(r=new f(r),i[t]=r,r):n[t]&&e!==M&&(o=M(n[t],M))?((r=i[t]=new f)._set(o),r.name=a[t],r):null}function C(t){var e,i,o,r;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)o=P((i=t[e].split("|"))[0]),r=P(i[1]),n[o]=r,a[o]=i[0],n[r]=o,a[r]=i[1]}function x(t){S(t.zones),C(t.links),function(t){var e,i,n,a;if(t&&t.length)for(e=0;e<t.length;e++)i=(a=t[e].split("|"))[0].toUpperCase(),n=a[1].split(" "),o[i]=new g(i,n)}(t.countries),E.dataVersion=t.version}function L(t){var e="X"===t._f||"x"===t._f;return!(!t._a||void 0!==t._tzm||e)}function T(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}function E(e){var i=Array.prototype.slice.call(arguments,0,-1),n=arguments[arguments.length-1],o=M(n),a=t.utc.apply(null,i);return o&&!t.isMoment(e)&&L(a)&&a.add(o.parse(a),"minutes"),a.tz(n),a}(l<2||2===l&&c<6)&&T("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),f.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,i=+t,n=this.untils;for(e=0;e<n.length;e++)if(i<n[e])return e},countries:function(){var t=this.name;return Object.keys(o).filter(function(e){return-1!==o[e].zones.indexOf(t)})},parse:function(t){var e,i,n,o,a=+t,r=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(e=r[o],i=r[o+1],n=r[o?o-1:o],e<i&&E.moveAmbiguousForward?e=i:e>n&&E.moveInvalidForward&&(e=n),a<s[o]-6e4*e)return r[o];return r[l]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){return T("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}},y.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset),this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr&&this.abbrScore++},E.version="0.5.43",E.dataVersion="",E._zones=i,E._links=n,E._names=a,E._countries=o,E.add=S,E.link=C,E.load=x,E.zone=M,E.zoneExists=function t(e){return t.didShowError||(t.didShowError=!0,T("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!M(e)},E.guess=function(t){return e&&!t||(e=k()),e},E.names=function(){var t,e=[];for(t in a)a.hasOwnProperty(t)&&(i[t]||i[n[t]])&&a[t]&&e.push(a[t]);return e.sort()},E.Zone=f,E.unpack=m,E.unpackBase60=h,E.needsOffset=L,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(o)},E.zonesForCountry=function(t,e){var i;if(i=(i=t).toUpperCase(),!(t=o[i]||null))return null;var n=t.zones.sort();return e?n.map(function(t){return{name:t,offset:M(t).utcOffset(new Date)}}):n};var O,D=t.fn;function z(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function I(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=E,t.defaultZone=null,t.updateOffset=function(e,i){var n,o=t.defaultZone;if(void 0===e._z&&(o&&L(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(o.parse(e),"minutes")),e._z=o),e._z)if(n=e._z.utcOffset(e),Math.abs(n)<16&&(n/=60),void 0!==e.utcOffset){var a=e._z;e.utcOffset(-n,i),e._z=a}else e.zone(n,i)},D.tz=function(e,i){if(e){if("string"!=typeof e)throw new Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=M(e),this._z?t.updateOffset(this,i):T("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},D.zoneName=z(D.zoneName),D.zoneAbbr=z(D.zoneAbbr),D.utc=I(D.utc),D.local=I(D.local),D.utcOffset=(O=D.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),t.tz.setDefault=function(e){return(l<2||2===l&&c<9)&&T("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?M(e):null,t};var B=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(B)?(B.push("_z"),B.push("_a")):B&&(B._z=null),x({version:"2023c",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),t}),CroutonLocalization.prototype.getDayOfTheWeekWord=function(t){return this.words[this.language].days_of_the_week[t]},CroutonLocalization.prototype.getWord=function(t){const e=this.words[this.language][t.toLowerCase()];return void 0===e?"css-direction"===t?"":t:e},CroutonLocalization.prototype.getVenueType=function(t){return this.words[this.language].venue_type_choices[t]},CroutonLocalization.prototype.getServiceBodyType=function(t){return this.words[this.language].service_body_types[t]},this.hbs_Crouton=this.hbs_Crouton||{},this.hbs_Crouton.templates=this.hbs_Crouton.templates||{},this.hbs_Crouton.templates.byday=Handlebars.template({1:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <tbody class="bmlt-data-rows h-'+t.escapeExpression(t.lambda(null!=e?r(e,"day"):e,e))+'">\n'+(null!=(a=r(i,"unless").call(null!=e?e:t.nullContext||{},null!=e?r(e,"hide"):e,{name:"unless",hash:{},fn:t.program(2,o,0),inverse:t.noop,data:o,loc:{start:{line:5,column:3},end:{line:11,column:14}}}))?a:"")+"\n"+(null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </tbody>\n"},2:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=(r(i,"greaterThan")||e&&r(e,"greaterThan")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},null!=(a=null!=e?r(e,"meetings"):e)?r(a,"length"):a,0,{name:"greaterThan",hash:{},fn:t.program(3,o,0),inverse:t.noop,data:o,loc:{start:{line:6,column:4},end:{line:10,column:20}}}))?a:""},3:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t\t<tr class="meeting-header">\n\t\t\t\t\t\t<td colspan="3" '+(null!=(a=(r(i,"getWord")||e&&r(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:22},end:{line:8,column:51}}}))?a:"")+">"+t.escapeExpression(t.lambda(null!=e?r(e,"day"):e,e))+"</td>\n\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-table-div">\n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:100},end:{line:2,column:127}}}))+"'>\n"+(null!=(a=s(i,"each").call(r,e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:3,column:8},end:{line:15,column:17}}}))?a:"")+" </table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.byfield=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t<tr class="meeting-header" '+(null!=(a=(c(i,"getWord")||e&&c(e,"getWord")||l).call(s,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:30},end:{line:5,column:59}}}))?a:"")+'>\n\t\t\t\t<td colspan="3">'+t.escapeExpression("function"==typeof(r=null!=(r=c(i,"key")||o&&c(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:20},end:{line:6,column:28}}}):r)+"</td>\n\t\t\t</tr>\n"+(null!=(a=t.invokePartial(c(n,"meetings"),e,{name:"meetings",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-table-div">\n\t<table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:97},end:{line:2,column:124}}}))+'\'>\n\t\t<tbody class="byfield.hbs">\n'+(null!=(a=s(i,"each").call(r,e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:4,column:2},end:{line:9,column:11}}}))?a:"")+"\t\t</tbody>\n\t</table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.formatPopup=Handlebars.template({1:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" <tr>\n <td class='formats_key'>"+l("function"==typeof(a=null!=(a=c(i,"key")||(null!=e?c(e,"key"):e))?a:s)?a.call(r,{name:"key",hash:{},data:o,loc:{start:{line:4,column:36},end:{line:4,column:43}}}):a)+"</td>\n <td class='formats_name'>"+l("function"==typeof(a=null!=(a=c(i,"name")||(null!=e?c(e,"name"):e))?a:s)?a.call(r,{name:"name",hash:{},data:o,loc:{start:{line:5,column:37},end:{line:5,column:45}}}):a)+"</td>\n <td class='formats_description'>"+l("function"==typeof(a=null!=(a=c(i,"description")||(null!=e?c(e,"description"):e))?a:s)?a.call(r,{name:"description",hash:{},data:o,loc:{start:{line:6,column:44},end:{line:6,column:59}}}):a)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"<table class='bmlt_a_format table-bordered "+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:70}}}))+"'>\n"+(null!=(a=s(i,"each").call(r,null!=e?s(e,"formats_expanded"):e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:2,column:4},end:{line:8,column:13}}}))?a:"")+"</table>"},useData:!0}),this.hbs_Crouton.templates.header=Handlebars.template({1:function(t,e,i,n,o,a,r){var s,l=null!=e?e:t.nullContext||{},c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"include_weekday_button"):s,{name:"if",hash:{},fn:t.program(2,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:3,column:4},end:{line:5,column:11}}}))?s:"")+(null!=(s=c(i,"each").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"button_filters"):s,{name:"each",hash:{},fn:t.program(4,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:6,column:4},end:{line:8,column:13}}}))?s:"")+(null!=(s=c(i,"each").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"button_format_filters"):s,{name:"each",hash:{},fn:t.program(6,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:9,column:4},end:{line:11,column:13}}}))?s:"")+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"map_page"):s,{name:"if",hash:{},fn:t.program(8,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:12,column:4},end:{line:15,column:11}}}))?s:"")+"\n"+(null!=(s=c(i,"each").call(l,null!=e?c(e,"dropdownData"):e,{name:"each",hash:{},fn:t.program(10,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:17,column:4},end:{line:26,column:13}}}))?s:"")+" </div>\n"},2:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="day" class="btn btn-primary btn-sm">'+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"weekday",{name:"getWord",hash:{},data:o,loc:{start:{line:4,column:86},end:{line:4,column:107}}}))+"</a></div>\n"},4:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=e?s(e,"field"):e,e))+'" data-field="'+r(a(null!=e?s(e,"field"):e,e))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},null!=e?s(e,"title"):e,{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:169},end:{line:7,column:191}}}))+"</a></div>\n"},6:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=e?s(e,"field"):e,e))+'" data-field="'+r(a(null!=e?s(e,"field"):e,e))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r(a(null!=e?s(e,"title"):e,e))+"</a></div>\n"},8:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_embeddedMapPage" data-field="embeddedMapPage" class="filterButton displayTypeLogic btn btn-primary btn-sm">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"map",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:170},end:{line:13,column:187}}}))+'</a></div>\n <div class="bmlt-button-container"><a id="displayTypeButton_tablePages" data-field="tablePages" class="filterButton displayTypeLogic btn btn-primary btn-sm hide">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"tabular",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:170},end:{line:14,column:191}}}))+"</a></div>\n"},10:function(t,e,i,n,o,a,r){var s,l,c=t.escapeExpression,u=null!=e?e:t.nullContext||{},h=t.hooks.helperMissing,d=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t<div class="bmlt-dropdown-container">\n\t\t<select class="crouton-select filter-dropdown" style="width:'+c(t.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,e))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:19,column:116},end:{line:19,column:131}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(i,"pointer")||(null!=e?d(e,"pointer"):e))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:19,column:147},end:{line:19,column:158}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(i,"elementId")||(null!=e?d(e,"elementId"):e))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:19,column:163},end:{line:19,column:176}}}):l)+'>\n\t\t <option value="a-">'+c((d(i,"getWord")||e&&d(e,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:20,column:25},end:{line:20,column:42}}}))+" "+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:20,column:43},end:{line:20,column:58}}}):l)+"</option>\n"+(null!=(s=d(i,"each").call(u,(d(i,"call")||e&&d(e,"call")||h).call(u,null!=e?d(e,"uniqueData"):e,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:21,column:14},end:{line:21,column:55}}}),{name:"each",hash:{},fn:t.program(11,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:21,column:6},end:{line:23,column:15}}}))?s:"")+"\t\t</select>\n\t</div>\n"},11:function(t,e,i,n,o,a,r){var s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t <option value="a-'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:22,column:24},end:{line:22,column:54}}}))+'">'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:22,column:56},end:{line:22,column:83}}}))+"</option>\n"},13:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(a=(s(i,"ifEquals")||e&&s(e,"ifEquals")||t.hooks.helperMissing).call(r,null!=(a=null!=e?s(e,"config"):e)?s(a,"view_by"):a,"weekdays",{name:"ifEquals",hash:{},fn:t.program(14,o,0),inverse:t.program(16,o,0),data:o,loc:{start:{line:31,column:4},end:{line:35,column:17}}}))?a:"")+' <ul class="nav nav-tabs">\n'+(null!=(a=s(i,"each").call(r,null!=(a=null!=e?s(e,"config"):e)?s(a,"day_sequence"):a,{name:"each",hash:{},fn:t.program(18,o,0),inverse:t.noop,data:o,loc:{start:{line:37,column:12},end:{line:39,column:21}}}))?a:"")+" </ul>\n </div>\n"},14:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:30},end:{line:32,column:57}}}))+' show" id="nav-days">\n'},16:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:34,column:30},end:{line:34,column:57}}}))+' hide" id="nav-days">\n'},18:function(t,e,i,n,o){var a=t.escapeExpression,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <li><a href="#tab'+a(t.lambda(e,e))+'" data-toggle="tab">'+a((r(i,"getDayOfTheWeek")||e&&r(e,"getDayOfTheWeek")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},e,{name:"getDayOfTheWeek",hash:{},data:o,loc:{start:{line:38,column:61},end:{line:38,column:85}}}))+"</a></li>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o,a,r){var s,l=null!=e?e:t.nullContext||{},c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression((c(i,"startup")||e&&c(e,"startup")||t.hooks.helperMissing).call(l,e,{name:"startup",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:16}}}))+"\n"+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"header"):s,{name:"if",hash:{},fn:t.program(1,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:2,column:0},end:{line:28,column:7}}}))?s:"")+"\n"+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"has_tabs"):s,{name:"if",hash:{},fn:t.program(13,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:30,column:0},end:{line:42,column:7}}}))?s:"")},useData:!0,useDepths:!0}),this.hbs_Crouton.templates.main=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t<div id="byfield_'+c("function"==typeof(r=null!=(r=u(i,"key")||o&&u(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:19},end:{line:6,column:29}}}):r)+'" class="bmlt-page '+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:48},end:{line:6,column:75}}}))+' hide" >\n'+(null!=(a=t.invokePartial(u(n,"byfields"),e,{name:"byfields",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</div>\n"},3:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t<div id="byfield_'+c("function"==typeof(r=null!=(r=u(i,"key")||o&&u(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:11,column:19},end:{line:11,column:29}}}):r)+'" class="bmlt-page '+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:11,column:48},end:{line:11,column:75}}}))+' hide">\n'+(null!=(a=t.invokePartial(u(n,"byfields"),e,{name:"byfields",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</div>\n"},5:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' \t<div id="byfield_embeddedMapPage" class="bmlt-map bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:16,column:65},end:{line:16,column:92}}}))+' hide">\n\t\t</div>\n'},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-tabs-table">\n <div id="bmlt-header" class="bmlt-header '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:45},end:{line:2,column:72}}}))+' hide">\n'+(null!=(a=t.invokePartial(c(n,"header"),e,{name:"header",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </div>\n"+(null!=(a=c(i,"each").call(r,null!=(a=null!=e?c(e,"meetings"):e)?c(a,"buttonFilters"):a,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:5,column:1},end:{line:9,column:10}}}))?a:"")+(null!=(a=c(i,"each").call(r,null!=(a=null!=e?c(e,"meetings"):e)?c(a,"buttonFormatFilters"):a,{name:"each",hash:{},fn:t.program(3,o,0),inverse:t.noop,data:o,loc:{start:{line:10,column:4},end:{line:14,column:10}}}))?a:"")+(null!=(a=c(i,"if").call(r,null!=(a=null!=e?c(e,"config"):e)?c(a,"map_page"):a,{name:"if",hash:{},fn:t.program(5,o,0),inverse:t.noop,data:o,loc:{start:{line:15,column:4},end:{line:18,column:11}}}))?a:"")+' <div id="byday" class="bmlt-page '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:19,column:37},end:{line:19,column:64}}}))+' hide">\n'+(null!=(a=t.invokePartial(c(n,"bydays"),null!=(a=null!=e?c(e,"meetings"):e)?c(a,"bydays"):a,{name:"bydays",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+' </div>\n <div id="tabs-content" class="bmlt-page '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:22,column:44},end:{line:22,column:71}}}))+'">\n'+(null!=(a=t.invokePartial(c(n,"weekdays"),null!=(a=null!=e?c(e,"meetings"):e)?c(a,"weekdays"):a,{name:"weekdays",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </div>\n"+(null!=(a=t.invokePartial(c(n,"meetingCountTemplate"),e,{name:"meetingCountTemplate",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.mapMenu=Handlebars.template({1:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <button id="filterMeetings" style="display: block;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:60},end:{line:9,column:89}}}))+'</button>\n <button id="showAsTable" style="display: block;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:57},end:{line:10,column:91}}}))+"</button>\n"},3:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <button id="filterTable" style="display: block;"><span id="filteringByVisibility"></span>'+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"filter by visibility",{name:"getWord",hash:{},data:o,loc:{start:{line:12,column:97},end:{line:12,column:131}}}))+"</button>\n"},5:function(t,e,i,n,o,a,r){var s,l,c=t.escapeExpression,u=null!=e?e:t.nullContext||{},h=t.hooks.helperMissing,d=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t <div class="bmlt-dropdown-container">\n\t\t <select class="crouton-select filter-dropdown" style="width:'+c(t.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,e))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:21,column:124},end:{line:21,column:139}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(i,"pointer")||(null!=e?d(e,"pointer"):e))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:21,column:155},end:{line:21,column:166}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(i,"elementId")||(null!=e?d(e,"elementId"):e))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:21,column:171},end:{line:21,column:184}}}):l)+'>\n\t\t <option value="a-">'+c((d(i,"getWord")||e&&d(e,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:22,column:33},end:{line:22,column:50}}}))+" "+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:22,column:51},end:{line:22,column:66}}}):l)+"</option>\n"+(null!=(s=d(i,"each").call(u,(d(i,"call")||e&&d(e,"call")||h).call(u,null!=e?d(e,"uniqueData"):e,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:23,column:22},end:{line:23,column:63}}}),{name:"each",hash:{},fn:t.program(6,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:23,column:14},end:{line:25,column:23}}}))?s:"")+"\t\t </select>\n\t </div>\n"},6:function(t,e,i,n,o,a,r){var s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t <option value="a-'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:24,column:32},end:{line:24,column:62}}}))+'">'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:24,column:64},end:{line:24,column:91}}}))+"</option>\n"},8:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:""},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o,a,r){var s,l=t.escapeExpression,c=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing,h=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<button id="map-menu-button" class="menu-button" title="Erweiterte Suche" style="width: 95px;">\n <span class="menu-button-childSmall" style="background-image: url(\''+l(t.lambda(null!=e?h(e,"imageDir"):e,e))+'/menu-32.png\');"></span>\n <span class="menu-button-label">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Menu",{name:"getWord",hash:{},data:o,loc:{start:{line:3,column:36},end:{line:3,column:54}}}))+'</span>\n</button>\n <div id="map-menu-dropdown" class="menu-dropdown">\n <button id="lookupLocation" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:60},end:{line:6,column:95}}}))+'</button>\n <button id="nearbyMeetings" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:60},end:{line:7,column:81}}}))+"</button>\n"+(null!=(s=h(i,"if").call(c,null!=e?h(e,"dropdownData"):e,{name:"if",hash:{},fn:t.program(1,o,0,a,r),inverse:t.program(3,o,0,a,r),data:o,loc:{start:{line:8,column:8},end:{line:13,column:15}}}))?s:"")+' <button id="fullscreenMode" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Toggle fullscreen mode",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:60},end:{line:14,column:96}}}))+'</button>\n </div>\n<div id="filter_modal" class="modal" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:18,column:34},end:{line:18,column:63}}}))+'</span><span id="close_filter" class="modal-close">×</span>\n'+(null!=(s=h(i,"each").call(c,null!=e?h(e,"dropdownData"):e,{name:"each",hash:{},fn:t.program(5,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:19,column:8},end:{line:28,column:17}}}))?s:"")+' </div>\n</div>\n<div id="table_page" class="bmlt-page '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:31,column:38},end:{line:31,column:65}}}))+' hide" >\n <div id="bmlt-maptable-header"><span class="map-list-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:64},end:{line:32,column:98}}}))+'</span><span id="close_table" class="table-close">X</span></div>\n <div id="bmlt-maptable-div" style="position:relative; overflow-y:scroll;">\n\n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:35,column:104},end:{line:35,column:131}}}))+"'>\n"+(null!=(s=h(i,"each").call(c,null!=(s=null!=e?h(e,"meetings"):e)?h(s,"bydays"):s,{name:"each",hash:{},fn:t.program(8,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:36,column:8},end:{line:38,column:17}}}))?s:"")+' </table>\n </div>\n</div>\n<div id="geocoding_modal" class="modal" style="display: none;">\n\t<div id="search_content" class="modal-content">\n\t\t<span class="modal-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:44,column:28},end:{line:44,column:63}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <p></p>\n <div class="modal-search">\n '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:47,column:12},end:{line:47,column:50}}}))+'\n <input id="goto-text" type="text">\n <button id="goto-button" class="filter-button">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"go",{name:"getWord",hash:{},data:o,loc:{start:{line:49,column:59},end:{line:49,column:75}}}))+"</button>\n </div>\n \t</div>\n</div>\n\n"},usePartial:!0,useData:!0,useDepths:!0}),this.hbs_Crouton.templates.mapSearch=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<button id="map-search-button" class="menu-button" title="Erweiterte Suche">\n <span class="menu-button-label" style="position:initial;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:62},end:{line:2,column:95}}}))+'</span>\n</button>\n<div id="bmltsearch_modal" class="modal" style="display: none;">\n\t<div id="bmltsearch_content" class="modal-content">\n\t\t<span id="close_search" class="modal-close">x</span>\n <span class="modal-title">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:34},end:{line:7,column:67}}}))+'</span>\n <table>\n <tr><td><div class="modal-search">\n <input id="bmltsearch-goto-text" type="text" placeholder="'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:70},end:{line:10,column:108}}}))+'" style="margin-bottom:5px;">\n <button id="bmltsearch-text-button" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"text_search",{name:"getWord",hash:{},data:o,loc:{start:{line:11,column:70},end:{line:11,column:95}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <button id="bmltsearch-nearbyMeetings" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:77},end:{line:14,column:98}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <button id="bmltsearch-clicksearch" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"click_search",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:74},end:{line:17,column:100}}}))+"</button>\n </div></td></tr></table>\n \t</div>\t\n</div>"},useData:!0}),this.hbs_Crouton.templates.meetings=Handlebars.template({1:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lambda,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"\t"+l((u(i,"enrich")||e&&u(e,"enrich")||s).call(r,e,{name:"enrich",hash:{},data:o,loc:{start:{line:2,column:1},end:{line:2,column:16}}}))+'\n\t<tr class="bmlt-data-row"\n\t\tid="meeting-data-row-'+l(c(null!=e?u(e,"id_bigint"):e,e))+'"\n\t\tdata-cities="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_municipality"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:5,column:15},end:{line:5,column:63}}}))+'"\n\t\tdata-groups="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"meeting_name"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:6,column:15},end:{line:6,column:54}}}))+'"\n\t\tdata-locations="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_text"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:7,column:18},end:{line:7,column:58}}}))+'"\n\t\tdata-zips="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_postal_code_1"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:8,column:13},end:{line:8,column:62}}}))+'"\n\t\tdata-formats="'+l((u(i,"formatDataPointerFormats")||e&&u(e,"formatDataPointerFormats")||s).call(r,null!=e?u(e,"formats_expanded"):e,{name:"formatDataPointerFormats",hash:{},data:o,loc:{start:{line:9,column:16},end:{line:9,column:66}}}))+'"\n\t\tdata-areas="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"service_body_bigint"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:10,column:14},end:{line:10,column:60}}}))+'"\n\t\tdata-regions="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"parentServiceBodyName"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:11,column:16},end:{line:11,column:64}}}))+'"\n\t\tdata-counties="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_sub_province"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:12,column:17},end:{line:12,column:65}}}))+'"\n\t\tdata-neighborhoods="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_neighborhood"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:13,column:22},end:{line:13,column:70}}}))+'"\n\t\tdata-states="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_province"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:14,column:15},end:{line:14,column:59}}}))+'"\n\t\tdata-venues="'+l((u(i,"formatDataFromArray")||e&&u(e,"formatDataFromArray")||s).call(r,null!=e?u(e,"venue_type_name"):e,{name:"formatDataFromArray",hash:{},data:o,loc:{start:{line:15,column:15},end:{line:15,column:59}}}))+'"\n\t\tdata-weekdays="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"formatted_day"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:16,column:17},end:{line:16,column:57}}}))+'">\n\t\t<td class="bmlt-column1" '+(null!=(a=(u(i,"getWord")||e&&u(e,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:27},end:{line:17,column:56}}}))?a:"")+'>\n\t\t\t<div class="bmlt-day">'+l(c(null!=e?u(e,"formatted_day"):e,e))+"</div>\n"+(null!=(a=(u(i,"ifEquals")||e&&u(e,"ifEquals")||s).call(r,null!=e?u(e,"duration_time"):e,"24:00:00",{name:"ifEquals",hash:{},fn:t.program(2,o,0),inverse:t.program(4,o,0),data:o,loc:{start:{line:19,column:3},end:{line:23,column:16}}}))?a:"")+(null!=(a=u(i,"if").call(r,null!=e?u(e,"formats"):e,{name:"if",hash:{},fn:t.program(6,o,0),inverse:t.noop,data:o,loc:{start:{line:24,column:3},end:{line:42,column:10}}}))?a:"")+'\t\t\t<div class="bmlt-comments">'+l((u(i,"formatLink")||e&&u(e,"formatLink")||s).call(r,null!=e?u(e,"formatted_comments"):e,{name:"formatLink",hash:{},data:o,loc:{start:{line:43,column:30},end:{line:43,column:68}}}))+'</div>\n\t\t\t<div class="bmlt-observer">'+(null!=(a=t.invokePartial((u(i,"selectObserver")||e&&u(e,"selectObserver")||s).call(r,{name:"selectObserver",hash:{},data:o,loc:{start:{line:44,column:34},end:{line:44,column:50}}}),e,{data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column2" '+(null!=(a=(u(i,"getWord")||e&&u(e,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:46,column:27},end:{line:46,column:56}}}))?a:"")+'>\n\t\t\t<div class="meeting-data-template">'+(null!=(a=t.invokePartial(u(n,"meetingDataTemplate"),e,{name:"meetingDataTemplate",data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column3">\n'+(null!=(a=t.invokePartial(u(n,"metaDataTemplate"),e,{name:"metaDataTemplate",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+(null!=(a=(u(i,"canShare")||e&&u(e,"canShare")||s).call(r,e,{name:"canShare",hash:{},fn:t.program(8,o,0),inverse:t.noop,data:o,loc:{start:{line:51,column:3},end:{line:53,column:16}}}))?a:"")+(null!=(a=(u(i,"reportUpdateEnabled")||e&&u(e,"reportUpdateEnabled")||s).call(r,e,{name:"reportUpdateEnabled",hash:{},fn:t.program(18,o,0),inverse:t.noop,data:o,loc:{start:{line:54,column:3},end:{line:56,column:27}}}))?a:"")+(null!=(a=t.invokePartial(u(n,"offerIcsButton"),e,{name:"offerIcsButton",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</td>\n\t</tr>\n"},2:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<div class="bmlt-time-2">'+t.escapeExpression(t.lambda(null!=e?a(e,"start_time_formatted"):e,e))+"</div>\n"},4:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<div class="bmlt-time-2">'+r(a(null!=e?s(e,"start_time_formatted"):e,e))+" - "+r(a(null!=e?s(e,"end_time_formatted"):e,e))+"</div>\n"},6:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a id="bmlt-formats"\n\t\t\t\t class="btn btn-primary btn-xs"\n\t\t\t\t title=""\n\t\t\t\t data-html="true"\n\t\t\t\t tabindex="0"\n\t\t\t\t data-trigger="focus"\n\t\t\t\t role="button"\n\t\t\t\t data-toggle="popover"\n\t\t\t\t data-original-title=""\n\t\t\t\t data-content="'+(null!=(a=t.invokePartial((r(i,"selectFormatPopup")||e&&r(e,"selectFormatPopup")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},{name:"selectFormatPopup",hash:{},data:o,loc:{start:{line:34,column:25},end:{line:34,column:44}}}),e,{data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'">\n <span class="glyphicon glyphicon-search"\n\t\t\t\t\t\t aria-hidden="true"\n\t\t\t\t\t\t data-toggle="popover"\n\t\t\t\t\t\t data-trigger="focus"\n\t\t\t\t\t\t data-html="true"\n\t\t\t\t\t\t role="button"></span>'+t.escapeExpression(t.lambda(null!=e?r(e,"formats"):e,e))+"\n\t\t\t\t</a>\n"},8:function(t,e,i,n,o){var a,r=t.lambda,s=t.escapeExpression,l=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a href="javascript:void(0);" id="share-button" class="btn btn-primary btn-xs" onclick=\'navigator.share({ text: JSON.stringify("'+s(r(null!=e?u(e,"formatted_day"):e,e))+" "+s(r(null!=e?u(e,"start_time_formatted"):e,e))+" - "+s(r(null!=e?u(e,"end_time_formatted"):e,e))+" "+s(r(null!=e?u(e,"meeting_name"):e,e))+" "+s(r(null!=e?u(e,"location_text"):e,e))+" "+s(r(null!=e?u(e,"formatted_address"):e,e))+" "+s(r(null!=e?u(e,"formatted_location_info"):e,e))+(null!=(a=u(i,"if").call(l,null!=e?u(e,"virtual_meeting_additional_info"):e,{name:"if",hash:{},fn:t.program(9,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:319},end:{line:52,column:411}}}))?a:"")+'"), url: "'+(null!=(a=(u(i,"isVirtualOrHybrid")||e&&u(e,"isVirtualOrHybrid")||c).call(l,e,{name:"isVirtualOrHybrid",hash:{},fn:t.program(11,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:421},end:{line:52,column:608}}}))?a:"")+(null!=(a=(u(i,"isInPersonOrHybrid")||e&&u(e,"isInPersonOrHybrid")||c).call(l,e,{name:"isInPersonOrHybrid",hash:{},fn:t.program(16,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:608},end:{line:52,column:791}}}))?a:"")+'"})\'><span class="glyphicon glyphicon-share"></span> '+s(r(null!=e?u(e,"share_word"):e,e))+"</a>\n"},9:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" "+t.escapeExpression(t.lambda(null!=e?a(e,"virtual_meeting_additional_info"):e,e))},11:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(a=s(i,"if").call(r,null!=e?s(e,"virtual_meeting_link"):e,{name:"if",hash:{},fn:t.program(12,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:448},end:{line:52,column:517}}}))?a:"")+(null!=(a=s(i,"if").call(r,null!=e?s(e,"phone_meeting_number"):e,{name:"if",hash:{},fn:t.program(14,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:517},end:{line:52,column:586}}}))?a:"")},12:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression(t.lambda(null!=e?a(e,"virtual_meeting_link"):e,e))},14:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression(t.lambda(null!=e?a(e,"phone_meeting_number"):e,e))},16:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" https://www.google.com/maps/search/?api=1&amp;query="+r(a(null!=e?s(e,"latitude"):e,e))+","+r(a(null!=e?s(e,"longitude"):e,e))+"&amp;q="+r(a(null!=e?s(e,"latitude"):e,e))+","+r(a(null!=e?s(e,"longitude"):e,e))},18:function(t,e,i,n,o){var a,r=t.escapeExpression,s=t.lambda,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a href="'+r("function"==typeof(a=null!=(a=l(i,"reportUpdateUrl")||(null!=e?l(e,"reportUpdateUrl"):e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"reportUpdateUrl",hash:{},data:o,loc:{start:{line:55,column:13},end:{line:55,column:34}}}):a)+"?meeting_id="+r(s(null!=e?l(e,"id_bigint"):e,e))+'" id="share-button" class="btn btn-primary btn-xs" target="_blank"><span class="glyphicon glyphicon-edit"></span> '+r(s(null!=e?l(e,"report_update_word"):e,e))+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a;return null!=(a=(t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]})(i,"each").call(null!=e?e:t.nullContext||{},e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:1,column:0},end:{line:60,column:9}}}))?a:""},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.weekdays=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" <div id='tab"+c("function"==typeof(r=null!=(r=u(i,"day")||(null!=e?u(e,"day"):e))?r:l)?r.call(s,{name:"day",hash:{},data:o,loc:{start:{line:3,column:20},end:{line:3,column:29}}}):r)+"' class='tab-pane'>\n <div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack "+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:112},end:{line:5,column:139}}}))+'\'>\n <tbody class="weekdays.hbs">\n'+(null!=(a=(u(i,"greaterThan")||e&&u(e,"greaterThan")||l).call(s,null!=(a=null!=e?u(e,"meetings"):e)?u(a,"length"):a,0,{name:"greaterThan",hash:{},fn:t.program(2,o,0),inverse:t.noop,data:o,loc:{start:{line:7,column:6},end:{line:9,column:22}}}))?a:"")+(null!=(a=(u(i,"lessThan")||e&&u(e,"lessThan")||l).call(s,null!=(a=null!=e?u(e,"meetings"):e)?u(a,"length"):a,1,{name:"lessThan",hash:{},fn:t.program(4,o,0),inverse:t.noop,data:o,loc:{start:{line:10,column:6},end:{line:16,column:19}}}))?a:"")+" </tbody>\n </table>\n </div>\n </div>\n"},2:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:"\t\t\t\t\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:""},4:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t"+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"no_meetings_for_this_day",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:9},end:{line:13,column:47}}}))+"\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a;return'<div class="tab-content">\n'+(null!=(a=(t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]})(i,"each").call(null!=e?e:t.nullContext||{},e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:2,column:4},end:{line:21,column:13}}}))?a:"")+"</div>\n"},usePartial:!0,useData:!0});var croutonDefaultTemplates={meeting_data_template:["{{#isTemporarilyClosed this}}"," <div class='temporarilyClosed'><span class='glyphicon glyphicon-flag'></span> {{temporarilyClosed this}}</div>","{{/isTemporarilyClosed}}","<div class='meeting-name'>{{> meetingModal this}}</div>","<div class='location-text'>{{this.location_text}}</div>","<div class='meeting-address'>{{this.formatted_address}}</div>","<div class='location-information'>{{this.formatted_location_info}}</div>","{{#if this.virtual_meeting_additional_info}}"," <div class='meeting-additional-info'>{{this.virtual_meeting_additional_info}}</div>","{{/if}}"].join("\n"),metadata_template:["{{#isVirtualOrHybrid this}}"," {{#isHybrid this}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud-upload'></span> {{meetsHybrid this}}</div>"," {{else}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud'></span> {{meetsVirtually this}}</div>"," {{/isHybrid}}"," {{#if this.virtual_meeting_link}}"," <div><span class='glyphicon glyphicon-globe'></span> {{webLinkify this.virtual_meeting_link}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.virtual_meeting_link}}</div>"," {{/if}}"," {{/if}}"," {{#if this.phone_meeting_number}}"," <div><span class='glyphicon glyphicon-earphone'></span> {{phoneLinkify this.phone_meeting_number}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.phone_meeting_number}}</div>"," {{/if}}"," {{/if}}","{{/isVirtualOrHybrid}}","{{#isNotTemporarilyClosed this}}"," {{#unless (hasFormats 'VM' this)}}"," <div>"," <a onclick='crouton.meetingModal({{this.id_bigint}})' tabindex='0' href='#' id='map-button' class='btn btn-primary btn-xs'>","\t\t\t\t<span class='glyphicon glyphicon-search' aria-hidden='true'></span>","\t\t\t\t{{getWord 'meeting details'}}","\t\t\t</a>"," </div>"," <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>"," {{/unless}}","{{/isNotTemporarilyClosed}}"].join("\n"),observer_template:["<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>","<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>","{{#if this.wheelchair}}<div aria-hidden='true' style='font-style:normal; font-size:x-large;'>&#x267F;</div>{{/if}}"].join("\n"),meeting_count_template:["{{#if this.config.has_meeting_count}}","<span class='bmlt_tabs_meeting_count'>{{getWord 'meeting_count'}} <span id='bmlt_tabs_meeting_count-live'>{{this.meetings.meetingCount}}</span></span>","{{/if}}"].join("\n"),meeting_link_template:["{{#if this.meeting_details_url}}","<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>","{{else}}","{{this.meeting_name}}","{{/if}}"].join("\n"),meeting_modal_template:["<a tabindex='0' href='#' onclick='crouton.meetingModal({{this.id_bigint}})'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>"].join("\n"),meetingpage_frame_template:'\n\t<div id="meeting_modal" class="modal bootstrap-bmlt" style="display: none;" tabindex="-1" >\n\t<div class="modal-content">\n <span class="modal-title">{{getWord "Meeting Details"}}</span><span id="close_meeting_details" class="modal-close" style="position: absolute;right: 5px;top:10px;">×</span>\n\t\t<table id="meeting-details-table" class="bmlt-table {{getWord \'css-direction\'}} table table-striped table-hover table-bordered tablesaw tablesaw-stack meeting-details">\n\t\t\t<thead>\n \t\t<th id="meeting-details-title" colspan="2">\n\t\t \t\t{{> meetingpageTitleTemplate this}}\n\t \t\t</th>\n \t\t</thead>\n \t\t<tbody>\n \t\t<tr id="meeting-details-contents">\n \t\t\t{{> meetingpageContentsTemplate this}}\n \t\t</tr>\n \t\t</tbody>\n\t\t</table>\n\t\t<div>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs" href="{{{this.meeting_details_url}}}" tabindex="0" target="_blank" rel="noopener noreferrer" style="float:left">\n\t\t\t\t{{getWord "Meeting Page"}}</a>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs modal-close" tabindex="0" style="float:right">\n\t\t\t\t{{getWord "Close"}}</a>\n\t\t</div>\n\t\t<div class="swipe-buttons">\n\t\t\t<span class="modal-right">&gt;</span>\n\t\t\t<span class="modal-left">&lt;</span>\n\t\t</div>\n\t</div></div>',meetingpage_title_template:["{{this.formatted_day}} {{this.start_time_formatted}} - {{this.end_time_formatted}}: {{this.meeting_name}}"].join("\n"),meetingpage_contents_template:'<td id="meetingpage_map_td">\n\t\t{{#isInPersonOrHybrid this}}\n {{{crouton_map}}}\n </td>\n <td style="vertical-align:top;">\n <h4>Location:</h4>\n {{#isTemporarilyClosed this}}\n <div class="temporarilyClosed">{{temporarilyClosed this}}</div>\n {{/isTemporarilyClosed}}\n <div class="location-text">{{{this.location_text}}}</div>\n <div class="meeting-address">{{this.formatted_address}}</div>\n <div class="location-information">{{{this.formatted_location_info}}}</div>\n <a target="_blank" href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>\n <br/>\n {{/isInPersonOrHybrid}}\n {{#isVirtualOrHybrid this}}\n <h4>Join this meeting online:</h4>\n {{#if virtual_meeting_link}}\n <div>{{webLinkify this.virtual_meeting_link}}</div>\n {{#if show_qrcode}}\n <div class="qrcode">{{qrCode virtual_meeting_link}}</div>\n {{/if}}\n {{/if}}\n {{#if this.phone_meeting_number}}\n <div>{{phoneLinkify this.phone_meeting_number}}</div>\n {{#if this.show_qrcode}}\n <div class="qrcode">{{qrCode this.phone_meeting_number}}</div>\n {{/if}}\n {{/if}}\n {{#if this.virtual_meeting_additional_info}}\n {{this.virtual_meeting_additional_info}}\n {{/if}}\n <br/>\n {{/isVirtualOrHybrid}}\n <br/>\n {{#if formats_expanded}}\n <h4>Meeting Formats</h4>\n <ul>\n {{#each formats_expanded}}\n <li>{{description}}</li>\n {{/each}}\n </ul>\n <br/>\n {{/if}}\n <h4>Contact:</h4>\n This meeting is in <a href="{{serviceBodyUrl}}">{{serviceBodyName}}</a><br/>\n\t\t{{> offerIcsButton}}\n </td>',marker_contents_template:'<h4>{{meeting_name}}</h4>\n\t<div class="active">\n\t\t<div class="marker_div_location_text">{{{this.location_text}}}</div>\n\t\t<div class="marker_div_location_address">{{this.formatted_address}}</div>\n\t\t<div class="marker_div_location_info">{{{this.formatted_location_info}}}</div>\n\t\t<div class="marker_div_location_maplink">\n\t\t{{#if this.meeting_details_url}}\n\t\t\t<a href="{{this.meeting_details_url}}" target="_blank">More info</a>\n\t\t{{/if}}\n\t\t</div>\n\t\t<div class="marker_div_formats">\n\t\t{{#each this.formats_expanded}}{{#if @index}}; {{/if}}{{this.name}}{{/each}}\n\t\t</div>\n\t</div>\n\t'};!function(t){var e="object"==typeof exports&&exports&&!exports.nodeType&&exports,i="object"==typeof module&&module&&!module.nodeType&&module,n="object"==typeof global&&global;n.global!==n&&n.window!==n&&n.self!==n||(t=n);var o,a,r=2147483647,s=36,l=1,c=26,u=38,h=700,d=72,p=128,m="-",f=/^xn--/,g=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,w=String.fromCharCode;function A(t){throw new RangeError(y[t])}function k(t,e){for(var i=t.length,n=[];i--;)n[i]=e(t[i]);return n}function P(t,e){var i=t.split("@"),n="";return i.length>1&&(n=i[0]+"@",t=i[1]),n+k((t=t.replace(_,".")).split("."),e).join(".")}function S(t){for(var e,i,n=[],o=0,a=t.length;o<a;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<a?56320==(64512&(i=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e),o--):n.push(e);return n}function M(t){return k(t,function(t){var e="";return t>65535&&(e+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=w(t)}).join("")}function C(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function x(t,e,i){var n=0;for(t=i?b(t/h):t>>1,t+=b(t/e);t>v*c>>1;n+=s)t=b(t/v);return b(n+(v+1)*t/(t+u))}function L(t){var e,i,n,o,a,u,h,f,g,_,y,v=[],w=t.length,k=0,P=p,S=d;for((i=t.lastIndexOf(m))<0&&(i=0),n=0;n<i;++n)t.charCodeAt(n)>=128&&A("not-basic"),v.push(t.charCodeAt(n));for(o=i>0?i+1:0;o<w;){for(a=k,u=1,h=s;o>=w&&A("invalid-input"),((f=(y=t.charCodeAt(o++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:s)>=s||f>b((r-k)/u))&&A("overflow"),k+=f*u,!(f<(g=h<=S?l:h>=S+c?c:h-S));h+=s)u>b(r/(_=s-g))&&A("overflow"),u*=_;S=x(k-a,e=v.length+1,0==a),b(k/e)>r-P&&A("overflow"),P+=b(k/e),k%=e,v.splice(k++,0,P)}return M(v)}function T(t){var e,i,n,o,a,u,h,f,g,_,y,v,k,P,M,L=[];for(v=(t=S(t)).length,e=p,i=0,a=d,u=0;u<v;++u)(y=t[u])<128&&L.push(w(y));for(n=o=L.length,o&&L.push(m);n<v;){for(h=r,u=0;u<v;++u)(y=t[u])>=e&&y<h&&(h=y);for(h-e>b((r-i)/(k=n+1))&&A("overflow"),i+=(h-e)*k,e=h,u=0;u<v;++u)if((y=t[u])<e&&++i>r&&A("overflow"),y==e){for(f=i,g=s;!(f<(_=g<=a?l:g>=a+c?c:g-a));g+=s)M=f-_,P=s-_,L.push(w(C(_+M%P,0))),f=b(M/P);L.push(w(C(f,0))),a=x(i,k,n==o),i=0,++n}++i,++e}return L.join("")}if(o={version:"1.4.1",ucs2:{decode:S,encode:M},decode:L,encode:T,toASCII:function(t){return P(t,function(t){return g.test(t)?"xn--"+T(t):t})},toUnicode:function(t){return P(t,function(t){return f.test(t)?L(t.slice(4).toLowerCase()):t})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return o});else if(e&&i)if(module.exports==e)i.exports=o;else for(a in o)o.hasOwnProperty(a)&&(e[a]=o[a]);else t.punycode=o}(this);var defaultOptions={timeout:3e5,jsonpCallback:"callback",jsonpCallbackFunction:null};function generateCallbackFunction(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random()).toString()}function clearFunction(t){try{delete window[t]}catch(e){window[t]=void 0}}function removeScript(t){var e=document.getElementById(t);e&&document.getElementsByTagName("head")[0].removeChild(e)}function fetchJsonp(t,e){e||(e={});var i,n=t,o=e.timeout||defaultOptions.timeout,a=e.jsonpCallback||defaultOptions.jsonpCallback;return new Promise(function(r,s){var l=e.jsonpCallbackFunction||generateCallbackFunction(),c=a+"_"+l;window[l]=function(t){r({ok:!0,json:function(){return Promise.resolve(t)}}),i&&clearTimeout(i),removeScript(c),clearFunction(l)},n+=-1===n.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",n+a+"="+l),e.charset&&u.setAttribute("charset",e.charset),e.nonce&&u.setAttribute("nonce",e.nonce),e.referrerPolicy&&u.setAttribute("referrerPolicy",e.referrerPolicy),u.id=c,document.getElementsByTagName("head")[0].appendChild(u),i=setTimeout(function(){s(new Error("JSONP request to "+t+" timed out")),clearFunction(l),removeScript(c),window[l]=function(){clearFunction(l)}},o),u.onerror=function(){s(new Error("JSONP request to "+t+" failed")),clearFunction(l),removeScript(c),i&&clearTimeout(i)}})}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e():"function"==typeof define&&define.amd?define(e):e()}(0,function(){"use strict";function t(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){return e.reject(i)})})}function e(t){return new this(function(e,i){if(!t||void 0===t.length)return i(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var n=Array.prototype.slice.call(t);if(0===n.length)return e([]);var o=n.length;function a(t,i){if(i&&("object"==typeof i||"function"==typeof i)){var r=i.then;if("function"==typeof r)return void r.call(i,function(e){a(t,e)},function(i){n[t]={status:"rejected",reason:i},0==--o&&e(n)})}n[t]={status:"fulfilled",value:i},0==--o&&e(n)}for(var r=0;r<n.length;r++)a(r,n[r])})}var i=setTimeout,n="undefined"!=typeof setImmediate?setImmediate:null;function o(t){return Boolean(t&&void 0!==t.length)}function a(){}function r(t){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function s(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,r._immediateFn(function(){var i=1===t._state?e.onFulfilled:e.onRejected;if(null!==i){var n;try{n=i(t._value)}catch(t){return void c(e.promise,t)}l(e.promise,n)}else(1===t._state?l:c)(e.promise,t._value)})):t._deferreds.push(e)}function l(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var i=e.then;if(e instanceof r)return t._state=3,t._value=e,void u(t);if("function"==typeof i)return void d((n=i,o=e,function(){n.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var n,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&r._immediateFn(function(){t._handled||r._unhandledRejectionFn(t._value)});for(var e=0,i=t._deferreds.length;e<i;e++)s(t,t._deferreds[e]);t._deferreds=null}function h(t,e,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=i}function d(t,e){var i=!1;try{t(function(t){i||(i=!0,l(e,t))},function(t){i||(i=!0,c(e,t))})}catch(t){if(i)return;i=!0,c(e,t)}}r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){var i=new this.constructor(a);return s(this,new h(t,e,i)),i},r.prototype.finally=t,r.all=function(t){return new r(function(e,i){if(!o(t))return i(new TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(t);if(0===n.length)return e([]);var a=n.length;function r(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(e){r(t,e)},i)}n[t]=o,0==--a&&e(n)}catch(t){i(t)}}for(var s=0;s<n.length;s++)r(s,n[s])})},r.allSettled=e,r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(t){return new r(function(e,i){i(t)})},r.race=function(t){return new r(function(e,i){if(!o(t))return i(new TypeError("Promise.race accepts an array"));for(var n=0,a=t.length;n<a;n++)r.resolve(t[n]).then(e,i)})},r._immediateFn="function"==typeof n&&function(t){n(t)}||function(t){i(t,0)},r._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"function"!=typeof p.Promise?p.Promise=r:(p.Promise.prototype.finally||(p.Promise.prototype.finally=t),p.Promise.allSettled||(p.Promise.allSettled=e))});var crouton_Handlebars=Handlebars.noConflict();crouton_Handlebars.registerHelper("startup",()=>""),crouton_Handlebars.registerHelper("enrich",()=>""),crouton_Handlebars.registerHelper("selectFormatPopup",()=>"formatPopup"),crouton_Handlebars.registerHelper("selectObserver",()=>"observerTemplate");const retrieveGeolocation=()=>new Promise((t,e)=>{window.storedGeolocation?t(window.storedGeolocation):navigator.geolocation?navigator.geolocation.getCurrentPosition(e=>{window.storedGeolocation={latitude:e.coords.latitude,longitude:e.coords.longitude},t(window.storedGeolocation)},t=>{e(new Error("Error getting geolocation: "+t.message))}):e(new Error("Geolocation is not supported by this browser."))});function Crouton(t){var e=this;e.mutex=!1,e.filtering=!1,e.masterFormatCodes=[],e.max_filters=10,e.config={on_complete:null,root_server:null,placeholder_id:"bmlt-tabs",map_max_zoom:15,time_format:"h:mm a",language:"en-US",has_tabs:!0,filter_tabs:0,filter_visible:0,header:!0,include_weekday_button:!0,int_include_unpublished:0,button_filters:[{title:"City",field:"location_municipality"}],button_format_filters:[],default_filter_dropdown:"",show_map:"embed",map_search:null,has_days:!1,has_cities:!0,has_formats:!0,has_groups:!1,has_locations:!0,has_zip_codes:!1,has_areas:!1,has_regions:!1,has_states:!1,has_sub_province:!1,has_neighborhoods:!1,has_languages:!1,has_common_needs:!1,has_venues:!0,has_meeting_count:!1,show_distance:!1,distance_search:0,recurse_service_bodies:!1,service_body:[],formats:"",venue_types:"",strict_datafields:!0,meeting_details_href:"",virtual_meeting_details_href:"",bmlt2ics:"",exclude_zip_codes:[],extra_meetings:[],native_lang:"",auto_tz_adjust:!1,base_tz:null,custom_query:null,sort_keys:"start_time",int_start_day_id:1,view_by:"weekday",show_qrcode:!1,force_rootserver_in_querystring:!0,force_timeformat_in_querystring:!0,force_language_in_querystring:!0,theme:"jack",report_update_url:"",meeting_data_template:croutonDefaultTemplates.meeting_data_template,metadata_template:croutonDefaultTemplates.metadata_template,observer_template:croutonDefaultTemplates.observer_template,meeting_count_template:croutonDefaultTemplates.meeting_count_template,meeting_link_template:croutonDefaultTemplates.meeting_link_template,meeting_modal_template:croutonDefaultTemplates.meeting_modal_template,meetingpage_title_template:croutonDefaultTemplates.meetingpage_title_template,meetingpage_contents_template:croutonDefaultTemplates.meetingpage_contents_template,meetingpage_frame_template:croutonDefaultTemplates.meetingpage_frame_template,lat:0,lng:0,zoom:10,clustering:12,nominatimUrl:"https://nominatim.openstreetmap.org/",tileUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tileOptions:{attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',maxZoom:18},minZoom:6,maxZoom:17},e.setConfig(t),Crouton.prototype.searchByCoordinates=function(t,i,n){e.config.custom_query=(null!==e.config.custom_query?e.config.custom_query:"")+"&lat_val="+t+"&long_val="+i+("km"===e.config.distance_units?"&geo_width_km=":"&geo_width=")+n,e.meetingSearch().then(function(){e.config.refresh_map=1,e.config.show_map=1,e.reset(),e.render()})},e.getMeetings=function(t){var i=[fetchJsonp(this.config.root_server+t).then(function(t){return t.json()})];if(e.config.extra_meetings.length>0){for(var n="",o=0;o<e.config.extra_meetings.length;o++)n+="&meeting_ids[]="+e.config.extra_meetings[o];const a=/&services\[\]=\d+/;t=t.replace(a,""),i.push(fetchJsonp(e.config.root_server+t+n).then(function(t){return t.json()}))}return Promise.all(i).then(function(i){var n,o=i[0],a=JSON.stringify(o.meetings);if(2===i.length&&(n=i[1]),"{}"===a||"[]"===a){var r=e.config.root_server+t;return console.log('Could not find any meetings for the criteria specified with the query <a href="'+r+'" target=_blank>'+r+"</a>"),jQuery("#"+e.config.placeholder_id).html("No meetings found."),void(e.mutex=!1)}o.meetings.exclude(e.config.exclude_zip_codes,"location_postal_code_1"),e.meetingData=o.meetings,e.formatsData=o.formats,n&&(e.meetingData=e.meetingData.concat(n.meetings)),e.mutex=!1})},e.addDatafieldsToQuery=function(){if(!e.config.strict_datafields)return e.all_data_keys=[],e.queryable_data_keys=[],"";var t=["location_postal_code_1","duration_time","start_time","time_zone","weekday_tinyint","service_body_bigint","longitude","latitude","location_province","location_municipality","location_street","location_info","location_text","location_neighborhood","formats","format_shared_id_list","comments","meeting_name","location_sub_province","worldid_mixed","root_server_uri","id_bigint","venue_type"],i=["serviceBodyName","serviceBodyUrl","serviceBodyPhone","serviceBodyDescription","serviceBodyType","parentServiceBodyName","parentServiceBodyUrl","parentServiceBodyPhone","parentServiceBodyDescription","parentServiceBodyType","map_word","share_word","report_update_word","show_qrcode","formatted_day","formatted_address","formats_expanded","formatted_location_info","end_time_formatted","start_time_formatted","formatted_comments","start_time_raw","venue_type_name","day_of_the_week"];return e.all_data_keys=t.clone(),e.queryable_data_keys=t.clone(),e.collectDataKeys=function(t){for(var n=/this\.([A-Za-z0-9_]*)}}/gi;arr=n.exec(t);)e.all_data_keys.push(arr[1]),inArray(arr[1],i)||e.queryable_data_keys.push(arr[1])},e.collectDataKeys(e.config.meeting_data_template),e.collectDataKeys(e.config.metadata_template),e.collectDataKeys(e.config.observer_template),"&data_field_key="+arrayUnique(e.queryable_data_keys).join(",")},e.mutex=!0,e.meetingSearch=function(){var t="/client_interface/jsonp/?switcher=GetSearchResults&get_used_formats&lang_enum="+e.config.short_language+e.addDatafieldsToQuery();if(e.config.formats&&(t+=e.config.formats.reduce(function(t,e){return t+"&formats[]="+e},"")),e.config.venue_types&&(t+=e.config.venue_types.reduce(function(t,e){return t+"&venue_types[]="+e},"")),1===e.config.int_include_unpublished?t+="&advanced_published=0":-1===e.config.int_include_unpublished&&(t+="&advanced_published=-1"),0!==e.config.distance_search)return retrieveGeolocation().then(i=>(t+="&lat_val="+i.latitude+"&long_val="+i.longitude+"&sort_results_by_distance=1",t+=("km"===e.config.distance_units?"&geo_width_km=":"&geo_width=")+e.config.distance_search,e.getMeetings(t))).catch(i=>(console.error(i.message),e.getMeetings(t)));if(null!=e.config.custom_query)return t+=e.config.custom_query+"&sort_keys="+e.config.sort_keys,e.getMeetings(t);if(e.config.service_body.length>0){for(var i=0;i<e.config.service_body.length;i++)t+="&services[]="+e.config.service_body[i];return e.config.recurse_service_bodies&&(t+="&recursive=1"),t+="&sort_keys="+e.config.sort_keys,e.getMeetings(t)}return new Promise(function(t,e){t()})},e.lock=function(t){var e=this,i=setInterval(function(){e.mutex||(clearInterval(i),t())},100)},e.dayTab=function(t){e.hideAllPages(),jQuery('.nav-tabs a[href="#tab'+t+'"]').tab("show"),e.showPage("#"+t)},e.dayTabFromId=function(t){day_id=e.meetingData.find(e=>e.id_bigint==t).weekday_tinyint,e.dayTab(day_id)},e.showPage=function(t){jQuery(t).removeClass("hide").addClass("show")},e.showView=function(t,i=!0){i&&e.resetFilter(),"byday"===t?e.byDayView():"day"===t||"weekday"===t?e.dayView():"city"===t?e.filteredView("location_municipality"):e.filteredView(t)},e.byDayView=function(){e.lowlightButton(".filterButton"),e.highlightButton("#day"),jQuery(".bmlt-page").each(function(t){e.hidePage("#"+this.id),e.showPage("#byday"),e.showPage("#nav-days")})},e.dayView=function(){e.lowlightButton(".filterButton"),e.highlightButton("#day"),jQuery(".bmlt-page").each(function(t){e.hidePage("#"+this.id),e.showPage("#days"),e.showPage("#nav-days"),e.showPage("#tabs-content")})},e.filteredView=function(t){e.lowlightButton("#day"),e.lowlightButton(".filterButton"),e.highlightButton("#filterButton_"+t),jQuery(".bmlt-page").each(function(i){e.hidePage("#"+this.id),e.showPage("#byfield_"+t)})},e.lowlightButton=function(t){jQuery(t).removeClass("buttonHighlight").addClass("buttonLowlight")},e.highlightButton=function(t){jQuery(t).removeClass("buttonLowlight").addClass("buttonHighlight")},e.hidePage=function(t){jQuery(t).removeClass("show").addClass("hide")},e.hideAllPages=function(t){jQuery("#tab-pane").removeClass("show").addClass("hide")},e.filteredPage=function(){jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide");var t=!1;jQuery(".filter-dropdown").each(function(e,i){const n=i.value.replace("a-","");if(""===n)return;t=!0;const o=i.getAttribute("data-pointer").toLowerCase();"formats"!==o&&"languages"!==o&&"venues"!==o&&"common_needs"!==o?jQuery(".bmlt-data-row").not("[data-"+o+"='"+n+"']").addClass("hide"):jQuery(".bmlt-data-row").not("[data-"+o+"~='"+n+"']").addClass("hide")}),t||(e.filtering=!1);var i=[];jQuery(".bmlt-data-row").not(".hide").each(function(t,e){jQuery(e).addClass(t%2?"oddRow":"evenRow");const n=e.id.split("-");i.push(n[n.length-1])}),i=[...new Set(i)],e.updateMeetingCount(i),e.updateFilters(),croutonMap&&croutonMap.fillMap(i),e.config.map_page&&(jQuery("#byfield_embeddedMapPage").hasClass("hide")||(jQuery("#displayTypeButton_tablePages").removeClass("hide"),jQuery("#filterButton_embeddedMapPage").addClass("hide"))),e.config.map_page&&!jQuery("#byfield_embeddedMapPage").hasClass("hide")||e.showFilteredMeetingsAsTable(i.length),e.filtering=!0},e.showFilteredMeetingsAsTable=function(t){e.config.filter_tabs&&e.config.filter_tabs<=t?(e.showPage("#nav-days"),e.showPage("#tabs-content")):(e.lowlightButton(".filterButton"),e.lowlightButton("#day"),e.showPage("#byday"),jQuery(".bmlt-data-rows").each(function(t,e){jQuery(e).find(".bmlt-data-row.hide").length===jQuery(e).find(".bmlt-data-row").length&&jQuery(e).find(".meeting-header").addClass("hide")}))},e.resetFilter=function(){croutonMap.filterVisible(!1),e.config.map_page?(e.filtering&&croutonMap.fillMap(),jQuery("#displayTypeButton_tablePages").addClass("hide"),jQuery("#filterButton_embeddedMapPage").removeClass("hide")):e.config.show_map&&croutonMap.fillMap(),e.filtering=!1,e.updateFilters(),e.updateMeetingCount(),jQuery(".filter-dropdown").val(null).trigger("change"),jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide"),jQuery(".evenRow").removeClass("evenRow"),jQuery(".oddRow").removeClass("oddRow")},e.updateFilters=function(){const t=function(t){return t.id.replace("meeting-data-row-","")};e.dropdownData.forEach(function(i,n){let o=[];jQuery(".filter-dropdown").each(function(e,n){if(n.id===i.elementId)return;const a=n.value.replace("a-","");if(""===a)return;filteringDropdown=!0;const r=n.getAttribute("data-pointer").toLowerCase();"formats"!==r&&"languages"!==r&&"venues"!==r&&"common_needs"!==r?jQuery(".bmlt-data-row").not("[data-"+r+"='"+a+"']").each((e,i)=>o.push(t(i))):jQuery(".bmlt-data-row").not("[data-"+r+"~='"+a+"']").each((e,i)=>o.push(t(i)))}),o=[...new Set(o)];let a=e.meetingData.filter(t=>!o.includes(t.id_bigint));i.optionsShowing=i.uniqueData(a).map(t=>i.optionName(t))})},e.renderStandaloneMap=function(t,i,n=null,o=!0){hbs_Crouton.localization=e.localization,e.config.hide_byday_headers=!0,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup),window.crouton=e,croutonMap.initialize(e.createBmltMapElement(),e.meetingData,i,null,o,n)},e.getCurrentLocation=function(t){retrieveGeolocation().then(e=>{t(e)}).catch(t=>{jQuery(".geo").removeClass("hide").addClass("show").html(`<p>${t.message}</p>`)})},e.renderView=function(t,i,n,o){hbs_Crouton.localization=e.localization,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("weekdays",hbs_Crouton.templates.weekdays),crouton_Handlebars.registerPartial("header",hbs_Crouton.templates.header),crouton_Handlebars.registerPartial("byfields",hbs_Crouton.templates.byfield),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup);var a=hbs_Crouton.templates.main;jQuery(t).html(a(i)),n()},e.updateMeetingCount=function(t=null){var e=this;let i=e.meetingData.length;e.meetingCountCallback&&e.meetingCountCallback(i),e.groupCountCallback&&e.groupCountCallback(arrayUnique(e.meetingData.map(t=>""!==t.worldid_mixed?t.worldid_mixed:t.meeting_name)).length),addLive=function(t){return t+", "+t+"-live"},null!==t&&(i=t.length,addLive=function(t){return t+"-live"}),e.showingNowCount=i,jQuery(addLive("#bmlt_tabs_meeting_count")).text(i),jQuery(addLive("#bmlt_tabs_group_count")).each(function(){var i=e.meetingData;null!==t&&(i=e.meetingData.filter(e=>t.includes(e.id_bigint)));var n=i.map(t=>""!==t.worldid_mixed?t.worldid_mixed:t.meeting_name);jQuery(this).text(arrayUnique(n).length)}),jQuery(addLive("#bmlt_tabs_service_body_names")).each(function(){var i=e.meetingData;null!==t&&(i=e.meetingData.filter(e=>t.includes(e.id_bigint)));var n=getUniqueValuesOfKey(i,"service_body_bigint"),o=this;e.getServiceBodies(n).then(function(t){var e=t.length,i=t.map(t=>t.name);i.sort();var n="";if(1===e)n=i[0];else{n=i[0];for(var a=1;a<e-1;a++)n+=", ",n+=i[a];n+=" and "+i[e-1]}jQuery(o).text(n)})})},e.getServiceBodies=function(t){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetServiceBodies&parents=1"+getServiceBodiesQueryString(t)).then(function(t){return t.json()})},e.getMasterFormats=function(){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetFormats&lang_enum=en&key_strings[]=TC&key_strings[]=VM&key_strings[]=HY").then(function(t){return t.json()})},e.showLocation=function(t){var i,n,o=t.latitude,a=t.longitude;"km"===e.config.distance_units?(i="km",n="K"):"nm"===e.config.distance_units?(i="nm",n="N"):(i="mi",n="M"),jQuery(".geo").each(function(){var t=jQuery(this).html().split(","),r=e.distance(o,a,t[0],t[1],n);jQuery(this).removeClass("hide").addClass("show").html(r.toFixed(1)+" "+i)})},e.errorHandler=function(t){jQuery(".geo").removeClass("hide").addClass("show").html("")},e.handlebars=function(t,i){var n=!1;handlebarMapOptions=[],crouton_Handlebars.registerHelper("crouton_map",function(i){return n=!0,e.handlebarMapOptions=i.hash,e.handlebarMapOptions.zoom||(e.handlebarMapOptions.zoom=14),e.handlebarMapOptions.lat=parseFloat(t.latitude),e.handlebarMapOptions.lng=parseFloat(t.longitude),"<div id='bmlt-handlebars-map' class='bmlt-map'></div>"});for(var o=new DOMParser;i.length>0;){var a=i.item(0);if(a.firstChild){var r,s="";if(1===a.firstChild.nodeType){if(!a.firstChild.firstChild||3!==a.firstChild.firstChild.nodeType){console.log("<bmlt-handlebar> tag: cannot find textnode"),a.remove();continue}s=a.firstChild.firstChild.textContent}else 3===a.firstChild.nodeType&&(s=a.firstChild.textContent);try{r=crouton_Handlebars.compile(s)(t)}catch(t){console.log(t),r=t.message}var l=o.parseFromString("<body>"+r+"</body>","text/html");if(l.body&&l.body.firstChild){for(var c=l.body.firstChild,u=[],h=c,d=null;d=h.nextSibling;)h=d,u.push(h);a.replaceWith(c),u&&c.after(...u)}else console.log("<bmlt-handlebar> tag: could not parse the Handlebars result"),a.replaceWith("<bmlt-handlebar> tag: could not parse the Handlebars result")}else console.log("<bmlt-handlebar> tag must have at least one child"),a.remove()}n&&croutonMap.loadPopupMap("bmlt-handlebars-map",t,e.handlebarMapOptions)},e.meetingCountCallback=null,e.grouoCountCallback=null,Crouton.prototype.meetingCount=function(t){e.meetingCountCallback=t},Crouton.prototype.groupCount=function(t){e.groupCountCallback=t},Crouton.prototype.filterNext24=function(t=!0){if(!t)return jQuery("#filter-dropdown-next24").val("a-"),void e.filteredPage();const i=new Date,n=i.getDay(),o=i.getHours(),a=i.getMinutes(),r=e.meetingData.filter(function(t){var e=t.weekday_tinyint-1;if(e==n){var i=t.start_time.toString().split(":"),r=parseInt(i[0]);if(r>o)return!0;if(r==o&&parseInt(i[1])>a)return!0}else if(e==(n+1)%7)return!0;return!1}).map(t=>t.id_bigint);jQuery(".bmlt-data-row").each(function(t,e){e.dataset.next24=r.includes(e.id.split("-").pop())?"1":"0"}),jQuery("#filter-dropdown-next24").val("a-1"),e.filteredPage()},e.distance=function(t,e,i,n,o){if(t===i&&e===n)return 0;var a=Math.PI*t/180,r=Math.PI*i/180,s=e-n,l=Math.PI*s/180,c=Math.sin(a)*Math.sin(r)+Math.cos(a)*Math.cos(r)*Math.cos(l);return c>1&&(c=1),c=60*(c=180*(c=Math.acos(c))/Math.PI)*1.1515,"K"===o?1.609344*c:"N"===o?.8684*c:c},e.toFarsinNumber=function(t){const e=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return t.replace(/\d/g,t=>e[t])},e.enrichMeetings=function(t){var i=[];crouton_Handlebars.registerPartial("meetingDataTemplate",e.config.meeting_data_template),crouton_Handlebars.registerPartial("metaDataTemplate",e.config.metadata_template),crouton_Handlebars.registerPartial("observerTemplate",e.config.observer_template),crouton_Handlebars.registerPartial("meetingpageTitleTemplate",e.config.meetingpage_title_template),crouton_Handlebars.registerPartial("meetingpageContentsTemplate",e.config.meetingpage_contents_template),crouton_Handlebars.registerPartial("meetingCountTemplate",e.config.meeting_count_template),crouton_Handlebars.registerPartial("meetingLink",e.config.meeting_link_template),crouton_Handlebars.registerPartial("meetingModal",e.config.meeting_modal_template);let n="?";e.config.meeting_details_href&&e.config.meeting_details_href.indexOf("?")>=0&&(n="&");for(var o=0;o<t.length;o++){t[o].formatted_comments=t[o].comments;var a=t[o].duration_time.split(":");t[o].start_time_raw=this.getAdjustedDateTime(1===parseInt(t[o].weekday_tinyint)?7:parseInt(t[o].weekday_tinyint)-1,t[o].start_time,t[o].time_zone),t[o].start_time_formatted=t[o].start_time_raw.format(e.config.time_format),t[o].end_time_formatted=t[o].start_time_raw.clone().add(a[0],"hours").add(a[1],"minutes").format(e.config.time_format),"fa-IR"===e.config.language&&(t[o].start_time_formatted=e.toFarsinNumber(t[o].start_time_formatted),t[o].end_time_formatted=e.toFarsinNumber(t[o].end_time_formatted)),t[o].day_of_the_week=7===t[o].start_time_raw.isoWeekday()?1:t[o].start_time_raw.isoWeekday()+1,t[o].formatted_day=e.localization.getDayOfTheWeekWord(t[o].day_of_the_week);var r=t[o].formats.split(","),s=[];let f=e.formatsData.filter(e=>e.root_server_uri==t[o].root_server_uri);t[o].wheelchar=!1;for(var l=0;l<r.length;l++)for(var c=0;c<f.length;c++)r[l]===f[c].key_string&&("WCHR"==f[c].world_id&&(t[o].wheelchair=!0),s.push({id:f[c].id,key:r[l],name:f[c].name_string,description:f[c].description_string,type:f[c].format_type_enum}));t[o].venue_type=parseInt(t[o].venue_type),t[o].venue_type_name=getVenueTypeName(t[o]),t[o].formats_expanded=s;var u=[t[o].location_street,t[o].location_municipality.trim(),t[o].location_province.trim(),t[o].location_postal_code_1.trim()];for(var h in u.clean(),t[o].formatted_address=u.join(", "),t[o].formatted_location_info=null!=t[o].location_info?t[o].location_info.replace("/(http|https)://([A-Za-z0-9._-/?=&;%,]+)/i",'<a style="text-decoration: underline;" href="$1://$2" target="_blank">$1://$2</a>'):"",t[o].map_word=e.localization.getWord("map").toUpperCase(),t[o].share_word=e.localization.getWord("share").toUpperCase(),t[o].report_update_word=e.localization.getWord("report update"),t[o].show_qrcode=e.config.show_qrcode,t[o])if(t[o].hasOwnProperty(h)&&"string"==typeof t[o][h]&&-1!==t[o][h].indexOf("#@-@#")){var d=t[o][h].split("#@-@#");t[o][h]=d[d.length-1]}var p=e.getServiceBodyDetails(t[o].service_body_bigint);t[o].serviceBodyUrl=p.url,t[o].serviceBodyPhone=p.helpline,t[o].serviceBodyName=p.name,t[o].serviceBodyDescription=p.description,t[o].serviceBodyContactEmail=p.contact_email,t[o].serviceBodyType=e.localization.getServiceBodyType(p.type);var m=e.getServiceBodyDetails(p.parent_id);void 0!==m&&(t[o].parentServiceBodyId=p.parent_id,t[o].parentServiceBodyUrl=m.url,t[o].parentServiceBodyPhone=m.helpline,t[o].parentServiceBodyName=m.name,t[o].parentServiceBodyDescription=m.description,t[o].parentServiceBodyType=e.localization.getServiceBodyType(m.type)),t[o].meeting_details_url="",e.config.meeting_details_href&&(t[o].meeting_details_url=e.config.meeting_details_href,2===t[o].venue_type&&e.config.virtual_meeting_details_href&&(t[o].meeting_details_url=e.config.virtual_meeting_details_href),t[o].meeting_details_url+=n+"meeting-id="+t[o].id_bigint+"&language="+e.config.language+"&time_format="+encodeURIComponent(e.config.time_format)+(e.config.force_rootserver_in_querystring?"&root_server="+encodeURIComponent(e.config.root_server):"")),i.push(t[o])}return i},e.showMessage=function(t){jQuery("#"+e.config.placeholder_id).html("crouton: "+t),jQuery("#"+e.config.placeholder_id).removeClass("hide")},e.getUsedVenueType=function(t){let i=getUniqueValuesOfKey(t,"venue_type");return i.includes(3)?Object.values(e.localization.getWord("venue_type_choices")):2===i.length?Object.values(e.localization.getWord("venue_type_choices")):1===i[0]?[e.localization.getWord("venue_type_choices").IN_PERSON]:[e.localization.getWord("venue_type_choices").VIRTUAL]},e.getUsedVisibility=function(t){return[{name:"Visible",value:1}]},e.getUsedNext24=function(t){return[{name:"Next24",value:1}]},e.isEmpty=function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},e.createBmltMapElement=function(){return document.getElementById("bmlt-map")||jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bootstrap-bmlt bmlt-map "+e.localization.getWord("css-direction")+" bmlt_map_container_div'></div>"),"bmlt-map"},void 0===window.croutonMap?(window.croutonMap=new MeetingMap(e.config),e.config.map_search?e.searchMap():e.meetingSearch()):e.config.map_search||e.meetingSearch()}function getTrueResult(t,e){return void 0===t.fn||t.fn(e)}function getFalseResult(t,e){return void 0!==t.inverse&&t.inverse(e)}function getMasterFormatId(t,e){for(var i=0;i<crouton.masterFormatCodes.length;i++){var n=crouton.masterFormatCodes[i];if(n.key_string===t&&n.root_server_uri===e.root_server_uri)return n.id}}Crouton.prototype.setConfig=function(t){for(var e in t)e.indexOf("_template")>0&&""===t[e].trim()||(-1===e.indexOf("int_")?"1"===t[e]||1===t[e]?this.config[e]=!0:"0"===t[e]||0===t[e]?this.config[e]=!1:this.config[e]=t[e]:this.config[e]=parseInt(t[e]||0));"embed"===this.config.show_map&&(this.config.show_map=!1,this.config.map_page=!0),this.config.distance_search=parseInt(this.config.distance_search||0),this.config.day_sequence=[],this.config.day_sequence.push(this.config.int_start_day_id);for(var i=1;i<7;i++){var n=this.config.day_sequence[i-1]+1;n>7?this.config.day_sequence.push(n-7):this.config.day_sequence.push(n)}"weekday"===this.config.view_by&&(this.config.include_weekday_button=!0),this.config.has_tabs||(this.config.view_by="byday"),null==this.config.template_path&&(this.config.template_path="templates"),null==this.config.BMLTPlugin_images&&(this.config.BMLTPlugin_images=this.config.template_path),null==this.config.BMLTPlugin_throbber_img_src&&(this.config.BMLTPlugin_throbber_img_src=this.config.template_path+"/Throbber.gif"),this.config.short_language="da-DK"===this.config.language?"dk":this.config.language.substring(0,2),this.localization=new CroutonLocalization(this.config.language)},Crouton.prototype.reset=function(){jQuery("#custom-css").remove(),jQuery("#"+this.config.placeholder_id).html("")},Crouton.prototype.doFilters=function(){return this.filteredPage()},Crouton.prototype.getServiceBodyDetails=function(t){for(var e=0;e<this.all_service_bodies.length;e++){var i=this.all_service_bodies[e];if(i.id===t)return i}},Crouton.prototype.doHandlebars=function(){var t=document.getElementsByTagName("bmlt-handlebar");if(0!==t.length){var e=this;e.lock(function(){if(e.isEmpty(e.meetingData))for(let e=0;e<t.length;e++){t.item(e).innerHTML="Meeting not found!"}else{var i=[e.getServiceBodies([e.meetingData[0].service_body_bigint])];Promise.all(i).then(function(i){hbs_Crouton.localization=e.localization,e.all_service_bodies=[];for(var n=i[0],o=0;o<n.length;o++)e.all_service_bodies.push(n[o]);var a=e.enrichMeetings(e.meetingData);crouton_Handlebars.compile("{{startup}}")(a),crouton_Handlebars.compile("{{enrich this}}")(a[0]),e.handlebars(a[0],t)})}})}else console.log("No <bmlt-handlebar> tags found")},Crouton.prototype.meetingModal=function(t){let e=this;const i=document.getElementById("bmlt-tabs");let n=document.createElement("bmlt-handlebar");i.appendChild(n);let o=document.createElement("span");n.appendChild(o),o.textContent=e.config.meetingpage_frame_template;let a=e.meetingData.find(e=>e.id_bigint==t);e.handlebars(a,i.getElementsByTagName("bmlt-handlebar")),[...i.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>{croutonMap.closeModalWindow(t.target),document.getElementById("meeting_modal").remove()}));let r=document.getElementById("meeting_modal");document.body.appendChild(r),croutonMap.openModalWindow(r,!0),croutonMap.showMap(!0);let s=jQuery(".bmlt-data-row:visible"),l=-1;for(k=0;k<s.length;k++)if(s[k].id==="meeting-data-row-"+t){l=k;break}let c=function(i){switch(i){case"left":l+=1;break;case"right":l-=1;break;default:l=-1}if(l>=0&&l<s.length){const i=s[l];t=i.id.substring("meeting-data-row-".length),r.getElementsByClassName("modal-close").item(0).dispatchEvent(new MouseEvent("click")),e.meetingModal(t)}};swipedetect(r,c),l<=0?jQuery(".modal-left").addClass("hide"):r.getElementsByClassName("modal-left").item(0).addEventListener("click",t=>c("right")),l>=s.length-1?jQuery(".modal-right").addClass("hide"):r.getElementsByClassName("modal-right").item(0).addEventListener("click",t=>c("left"))},Crouton.prototype.searchMap=function(){this.config.map_search&&"object"==typeof this.config.map_search?(this.config.map_search.width||(this.config.map_search.width=-50),this.config.map_search.location||this.config.map_search.coordinates_search||(this.config.map_search.auto=!0),this.config.map_search.zoom||(this.config.map_search.zoom=14)):this.config.map_search={width:-50,auto:!0,zoom:14},this.config.map_page=!1,this.config.show_map=!1;var t=jQuery("body");""!==this.config.theme&&t.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+this.config.template_path+"/themes/"+this.config.theme+".css'>"),t.append("<div id='custom-css'><style type='text/css'>"+this.config.custom_css+"</style></div>"),this.meetingData=null,this.renderStandaloneMap("#"+this.config.placeholder_id,{config:this.config,meetings:{weekdays:[],buttonFilters:[],buttonFormatFilters:[],bydays:[],meetingCount:0,meetingData:[]},dropdownData:[],location:{latitude:0,longitude:0,zoom:10}})},Crouton.prototype.render=function(t=!1){var e=this;e.lock(function(){var i=jQuery("body");if(""!==e.config.theme&&i.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+e.config.template_path+"/themes/"+e.config.theme+".css'>"),i.append("<div id='custom-css'><style type='text/css'>"+e.config.custom_css+"</style></div>"),e.isEmpty(e.meetingData))e.showMessage("No meetings found for parameters specified.");else{e.unique_service_bodies_ids=getUniqueValuesOfKey(e.meetingData,"service_body_bigint").sort();var n=[e.getMasterFormats(),e.getServiceBodies(e.unique_service_bodies_ids)];Promise.all(n).then(function(i){e.all_service_bodies=[],e.masterFormatCodes=i[0];for(var n=i[1],o=0;o<n.length;o++)e.all_service_bodies.push(n[o]);jQuery.isEmptyObject(e.formatsData)||(e.formatsData=e.formatsData.sortByKey("name_string"));var a=e.enrichMeetings(e.meetingData);a.sort(function(t,e){return t.start_time_raw<e.start_time_raw?-1:t.start_time_raw>e.start_time_raw?1:0});for(var r=0,s=[],l={},c={},u=[];r<7;){var h=e.config.day_sequence[r],d=a.filterByObjectKeyValue("day_of_the_week",h);u.push({day:h,meetings:d}),s.push({hide:e.config.hide_byday_headers,day:e.localization.getDayOfTheWeekWord(h),meetings:d});for(var p=0;p<e.config.button_filters.length;p++){var m=getUniqueValuesOfKey(d,v=e.config.button_filters[p].field).sort();for(o=0;o<m.length;o++){var f=d.filterByObjectKeyValue(v,m[o]);l.hasOwnProperty(v)&&l[v].hasOwnProperty(m[o])?l[v][m[o]]=l[v][m[o]].concat(f):l.hasOwnProperty(v)?l[v][m[o]]=f:(l[v]={},l[v][m[o]]=f)}}for(p=0;p<e.config.button_format_filters.length;p++){m=getUniqueFormatsOfType(d,v=e.config.button_format_filters[p].field);"LANG"==v&&e.config.native_lang&&e.config.native_lang.length>0&&(m=m.filter(t=>t.key!=e.config.native_lang));for(o=0;o<m.length;o++){f=d.filter(t=>t.formats_expanded.map(t=>t.key).indexOf(m[o].key)>=0);c.hasOwnProperty(v)&&c[v].hasOwnProperty(m[o].description)?c[v][m[o].description]=c[v][m[o].description].concat(f):c.hasOwnProperty(v)?c[v][m[o].description]=f:(c[v]={},c[v][m[o].description]=f)}}r++}for(var g={},_=0;_<e.config.button_filters.length;_++){var y=[],v=e.config.button_filters[_].field;for(var b in l[v])y.push(b);y.sort(),g[v]={};for(var w=0;w<y.length;w++)g[v][y[w]]=l[v][y[w]]}e.dayNamesSequenced=e.config.day_sequence.map(t=>e.localization.getDayOfTheWeekWord(t)),e.dropdownData=[],e.config.has_days&&e.dropdownData.push({placeholder:e.localization.getWord("weekday"),pointer:"weekdays",elementId:"filter-dropdown-weekdays",uniqueData:t=>sortListByList(getUniqueValuesOfKey(t,"formatted_day"),e.dayNamesSequenced),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_states&&e.dropdownData.push({placeholder:e.localization.getWord("states"),pointer:"States",elementId:"filter-dropdown-states",uniqueData:t=>getUniqueValuesOfKey(t,"location_province").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_sub_province&&e.dropdownData.push({placeholder:e.localization.getWord("counties"),pointer:"Counties",elementId:"filter-dropdown-sub_province",uniqueData:t=>getUniqueValuesOfKey(t,"location_sub_province").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_cities&&e.dropdownData.push({placeholder:e.localization.getWord("cities"),pointer:"Cities",elementId:"filter-dropdown-cities",uniqueData:t=>getUniqueValuesOfKey(t,"location_municipality").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_neighborhoods&&e.dropdownData.push({placeholder:e.localization.getWord("neighborhood"),pointer:"Neighborhoods",elementId:"filter-dropdown-neighborhoods",uniqueData:t=>getUniqueValuesOfKey(t,"location_neighborhood").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_zip_codes&&e.dropdownData.push({placeholder:e.localization.getWord("postal_codes"),pointer:"Zips",elementId:"filter-dropdown-zipcodes",uniqueData:t=>getUniqueValuesOfKey(t,"location_postal_code_1").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_locations&&e.dropdownData.push({placeholder:e.localization.getWord("locations"),pointer:"Locations",elementId:"filter-dropdown-locations",uniqueData:t=>getUniqueValuesOfKey(t,"location_text").map(t=>t.replace(/(<([^>]+)>)/gi,"")).sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_regions&&e.dropdownData.push({placeholder:e.localization.getWord("regions"),pointer:"Regions",elementId:"filter-dropdown-regions",uniqueData:t=>e.all_service_bodies.filter(e=>getUniqueValuesOfKey(t,"parentServiceBodyId").includes(e.id)).sortByKey("name"),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_areas&&e.dropdownData.push({placeholder:e.localization.getWord("areas"),pointer:"Areas",elementId:"filter-dropdown-areas",uniqueData:t=>e.all_service_bodies.filter(e=>getUniqueValuesOfKey(t,"service_body_bigint").includes(e.id)).sortByKey("name"),objectPointer:t=>t.id,optionName:t=>t.name}),e.config.has_groups&&e.dropdownData.push({placeholder:e.localization.getWord("groups"),pointer:"Groups",elementId:"filter-dropdown-groups",uniqueData:t=>getUniqueValuesOfKey(t,"meeting_name").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_venues&&e.dropdownData.push({placeholder:e.localization.getWord("venue_types"),pointer:"Venues",elementId:"filter-dropdown-venues",uniqueData:t=>e.getUsedVenueType(t),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_formats&&e.dropdownData.push({placeholder:e.localization.getWord("formats"),pointer:"Formats",elementId:"filter-dropdown-formats",uniqueData:t=>getUniqueFormats(t),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_languages&&e.dropdownData.push({placeholder:e.localization.getWord("languages"),pointer:"Formats",elementId:"filter-dropdown-languages",uniqueData:t=>getUniqueFormatsOfType(t,"LANG").filter(t=>t.key!==e.config.native_lang),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_common_needs&&e.dropdownData.push({placeholder:e.localization.getWord("common_needs"),pointer:"Formats",elementId:"filter-dropdown-commonneeds",uniqueData:t=>getUniqueFormatsOfType(t,"FC3"),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),(t||e.config.show_map||e.config.map_page)&&e.dropdownData.push({placeholder:"",pointer:"visible",elementId:"filter-dropdown-visibile",uniqueData:t=>e.getUsedVisibility(t),objectPointer:t=>t.value,optionName:t=>t.name}),t&&e.dropdownData.push({placeholder:"",pointer:"next24",elementId:"filter-dropdown-next24",uniqueData:t=>e.getUsedNext24(t),objectPointer:t=>t.value,optionName:t=>t.name}),(t?e.renderStandaloneMap:e.renderView)("#"+e.config.placeholder_id,{config:e.config,meetings:{weekdays:u,buttonFilters:g,buttonFormatFilters:c,bydays:s,meetingCount:e.meetingData.length,meetingData:e.meetingData},dropdownData:e.dropdownData},function(){if((null!=e.config.map_search||e.config.show_map)&&(jQuery(".bmlt-data-row").css({cursor:"pointer"}),jQuery(".bmlt-data-row").click(function(t){"A"!==t.target.tagName&&croutonMap.rowClick(parseInt(this.id.replace("meeting-data-row-","")))})),jQuery("#"+e.config.placeholder_id).addClass("bootstrap-bmlt"),jQuery("#filter-dropdown-visibile").removeClass("crouton-select").addClass("hide"),jQuery("#filter-dropdown-next24").removeClass("crouton-select").addClass("hide"),jQuery(".crouton-select").select2({dropdownAutoWidth:!0,allowClear:!1,width:"resolve",minimumResultsForSearch:1,dropdownCssClass:"bmlt-drop",matcher:function(t,i){return"a-"===i.id?i:(elementId=i.element.parentElement.id,t.hasOwnProperty("term")&&i.text.toUpperCase().indexOf(t.term.toUpperCase())<0?null:(dropdown=e.dropdownData.find(t=>t.elementId===elementId),"undefined"==typeof dropdown?i:void 0===dropdown.optionsShowing?i:dropdown.optionsShowing.includes(i.text)?i:null))}}),jQuery('[data-toggle="popover"]').popover().click(function(t){t.preventDefault(),t.stopPropagation()}),jQuery("html").on("click",function(t){"popover"!==jQuery(t.target).data("toggle")&&jQuery('[data-toggle="popover"]').popover("hide")}),jQuery(".filter-dropdown").on("select2:select",function(t){jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){e.hidePage(this)}),e.filteredPage(),e.filtering||e.showView("byday"===e.config.view_by?"byday":"day")}),jQuery("#day").on("click",function(){e.showView("byday"===e.config.view_by?"byday":"day")}),jQuery(".filterButtonLogic").on("click",function(t){e.filteredView(t.target.attributes["data-field"].value)}),jQuery(".displayTypeLogic").on("click",function(t){jQuery(".displayTypeLogic").each(function(){t.target==this?jQuery(this).addClass("hide"):jQuery(this).removeClass("hide")})}),jQuery("#displayTypeButton_tablePages").on("click",function(t){e.hidePage("#byfield_embeddedMapPage");const i=e.showingNowCount?e.showingNowCount:e.meetingData.length;e.showFilteredMeetingsAsTable(i)}),jQuery("#filterButton_embeddedMapPage").on("click",function(t){e.filteredView(t.target.attributes["data-field"].value,!1),croutonMap.showMap(!1,!1)}),jQuery(".custom-ul").on("click","a",function(t){jQuery(".bmlt-page").each(function(i){e.hidePage("#"+this.id),e.showPage("#"+t.target.id)})}),e.config.has_tabs){jQuery(".nav-tabs a").on("click",function(t){t.preventDefault(),jQuery(this).tab("show")});var i=(new Date).getDay();i++,jQuery('.nav-tabs a[href="#tab'+i+'"]').tab("show"),jQuery("#tab"+i).show()}if(e.showPage(".bmlt-header"),e.showPage(".bmlt-tabs"),e.showView(e.config.view_by,!1),""!==e.config.default_filter_dropdown){var n=e.config.default_filter_dropdown.toLowerCase().split("=");jQuery("#filter-dropdown-"+n[0]).val("a-"+n[1]).trigger("change").trigger("select2:select")}e.config.show_distance&&e.getCurrentLocation(e.showLocation),!e.config.show_map||e.config.refresh_map||t||(croutonMap.initialize(e.createBmltMapElement(),e.meetingData),jQuery("#bmlt-map").removeClass("hide")),e.config.map_page&&!t&&(0==e.meetingData.filter(t=>2!=t.venue_type).length?jQuery("#filterButton_embeddedMapPage").addClass("hide"):croutonMap.initialize("byfield_embeddedMapPage",e.meetingData)),e.config.refresh_map&&croutonMap.refreshMeetings(e.meetingData,!0,!0),null!=e.config.on_complete&&isFunction(e.config.on_complete)&&e.config.on_complete()},!t)})}}),Crouton.prototype.forceShowMap=function(){e.config.map_page&&jQuery("#byfield_embeddedMapPage").hasClass("hide")&&jQuery("#filterButton_embeddedMapPage").click()}};var masterFormatVenueType={IN_PERSON:"IN_PERSON",VIRTUAL:"VIRTUAL"},venueType={IN_PERSON:1,VIRTUAL:2,HYBRID:3};function getVenueTypeName(t){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL),crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]:t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL)]:[crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]}function getFormats(t){return""!==t.formats?t.format_shared_id_list.split(","):[]}function convertToPunyCode(t){return void 0!==t?punycode.toASCII(t.toLowerCase()).replace(/\W|_/g,"-"):""}function arrayColumn(t,e){for(var i=[],n=0;n<t.length;n++)i.push(t[n][e]);return i}function getUniqueValuesOfKey(t,e){return t.reduce(function(t,i){return i[e]&&!~t.indexOf(i[e])&&t.push(i[e]),t},[])}function getValuesFromObject(t){var e=[];for(key in t)t.hasOwnProperty(key)&&e.push(t[key]);return e}function getUniqueFormats(t){return t.reduce(function(t,e){return e.formats_expanded?t.concat(e.formats_expanded.filter(e=>t.map(t=>t.key).indexOf(e.key)<0)):t},[])}function getUniqueFormatsOfType(t,e){return t.reduce(function(t,i){if(!i.formats_expanded)return t;var n=i.formats_expanded.filter(t=>t.type===e);return n&&(t=t.concat(n.filter(e=>t.map(t=>t.key).indexOf(e.key)<0))),t},[])}function arrayUnique(t,e,i){for(e=t.length;i=--e;)for(;i--;)t[e]!==t[i]||t.splice(i,1);return t}function sortListByList(t,e){for(var i=[],n=0;n<e.length;n++)for(var o=0;o<t.length;o++)e[n]===t[o]&&i.push(t[o]);return i}function inArray(t,e){return-1!==e.indexOf(t)}function isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}function getServiceBodiesQueryString(t){for(var e="",i=0;i<t.length;i++)e+="&services[]="+t[i];return e}function swipedetect(t,e){var i,n,o,a,r=t,s=e||function(t){};r.addEventListener("touchstart",function(t){var e=t.changedTouches[0];"none",i=e.pageX,n=e.pageY},!1),r.addEventListener("touchend",function(t){if(t.cancelable){var e=t.changedTouches[0];o=e.pageX-i,a=e.pageY-n,Math.abs(o)>=150&&Math.abs(a)<=100&&(s(o<0?"left":"right"),t.preventDefault())}},!1)}function MeetingMap(t){var e=new MapDelegate(t),i=null,n=null;const o=t;o.maxZoom||(o.maxZoom=17),o.minZoom||(o.minZoom=6),o.marker_contents_template||(o.marker_contents_template=croutonDefaultTemplates.marker_contents_template);var a,r=null,s=null,l=null,c=[];function u(t,e){l=t,c=e}function h(){return new Promise((t,e)=>{window.storedGeolocation?t(window.storedGeolocation):navigator.geolocation?navigator.geolocation.getCurrentPosition(e=>{window.storedGeolocation={latitude:e.coords.latitude,longitude:e.coords.longitude},t(window.storedGeolocation)},t=>{e(new Error("Error getting geolocation: "+t.message))}):e(new Error("Geolocation is not supported by this browser."))})}function d(t,i,s=null,l=null){if(t){crouton_Handlebars.registerPartial("markerContentsTemplate",o.marker_contents_template),n=t,function(t){if(!t.myThrobber&&(t.myThrobber=document.createElement("div"),t.myThrobber)){t.myThrobber.id=t.id+"Throbber_div",t.myThrobber.className="bmlt_map_throbber_div",t.myThrobber.style.display="none",t.appendChild(t.myThrobber);var e=document.createElement("img");e?(e.src=o.BMLTPlugin_throbber_img_src,e.className="bmlt_mapThrobber_img",e.id=t.id+"Throbber_img",e.alt="AJAX Throbber",t.myThrobber.appendChild(e)):t.myThrobber=null}}(t),o.map_search?(o.map_search.width||(o.map_search.width=-50),o.map_search.location||o.map_search.coordinates_search||(o.map_search.auto=!0),(o.map_search.latitude||o.map_search.longitude)&&(o.lat=o.map_search.latitude,o.lng=o.map_search.longitude),o.map_search.zoom&&(o.zoom=o.map_search.zoom)):y();let h={latitude:o.lat,longitude:o.lng,zoom:o.zoom};s&&(h={latitude:s.lat,longitude:s.lng}),e.createMap(t,h)&&(e.addListener("zoomend",function(t){if(function(){if(void 0===A)return!0;if(A!==N())return A=N(),!0;if(!1===N())return!0;return!1}()&&r)if(H){const t=V(!1);B(),V(t)}else B()},!1),o.map_search?e.addControl((c=hbs_Crouton.templates.mapSearch,(u=document.createElement("div")).innerHTML=c(),u.querySelector("#map-search-button").addEventListener("click",T),u.querySelector("#bmltsearch-nearbyMeetings").addEventListener("click",g),u.querySelector("#bmltsearch-text-button").addEventListener("click",function(){let t=document.getElementById("bmltsearch-goto-text").value.trim();""!==t&&(y(),e.callGeocoder(t,null,v),M(a))}),u.querySelector("#bmltsearch-clicksearch").addEventListener("click",_),[...u.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>M(t.target))),(a=u.querySelector("#bmltsearch_modal")).parentElement.removeChild(a),u),"topleft",l):i?(i.imageDir=o.BMLTPlugin_images,e.addControl(function(){rules=['.onoffswitch-inner:before {\n\t\tcontent: "__text__";\n\t\tpadding-left: 10px;\n\t\tbackground-color: #2d5c88; color: #FFFFFF;\n\t\t}','.onoffswitch-inner:after {\n\t\tcontent: "__text__";\n\t\tpadding-left: 30px;\n\t\tbackground-color: #EEEEEE; color: #2d5c88;\n\t\ttext-align: left;\n\t\t}'],rules[0]=rules[0].replace("__text__",crouton.localization.getWord("Upcoming Meetings")),rules[1]=rules[1].replace("__text__",crouton.localization.getWord("All Meetings"));var t=document.createElement("div");return t.innerHTML='\n\t<div id="next24_toggle" title="Next24_toggle" style="background: rgba(0, 0, 0, 0); cursor: pointer;">\n\t\t <div class="onoffswitch">\n\t\t\t <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="next24onoffswitch"/>\n\t\t\t <label class="onoffswitch-label" for="next24onoffswitch">\n\t\t\t\t <span class="onoffswitch-inner"></span>\n\t\t\t\t <span class="onoffswitch-switch"></span>\n\t\t\t </label>\n\t\t </div>\n\t</div>',t.querySelector(".onoffswitch").addEventListener("click",function(t){t.pointerId<0||(p=!p,f=!1,crouton.filterNext24(p),f=!0)}),document.styleSheets[0].insertRule(rules[0]),document.styleSheets[0].insertRule(rules[1]),t}(),"topleft"),e.addControl(m(i),"topright",l)):(i={imageDir:o.BMLTPlugin_images,config:o,dropdownData:!1},e.addControl(m(i),"topright",l)))}var c,u}var p=!1;function m(t){var i=hbs_Crouton.templates.mapMenu,n=document.createElement("div");return n.innerHTML=i(t),n.querySelector("#nearbyMeetings").addEventListener("click",function(t){h().then(t=>{V(!1),e.setViewToPosition(t,q,V)}).catch(t=>{console.error(t.message),jQuery(".geo").removeClass("hide").addClass("show").html(`<p>${t.message}</p>`)}),dropdownContent=document.getElementById("map-menu-dropdown").style.display="none"}),n.querySelector("#lookupLocation").addEventListener("click",E),t&&t.dropdownData?(n.querySelector("#filterMeetings").addEventListener("click",x),n.querySelector("#showAsTable").addEventListener("click",O)):n.querySelector("#filterTable").addEventListener("click",U),n.querySelector("#fullscreenMode").addEventListener("click",Q),n.querySelector("#map-menu-button").addEventListener("click",function(t){let e=document.getElementById("map-menu-dropdown");"inline-block"==e.style.display?e.style.display="none":(jQuery("#filteringByVisibility").html(H?"&#10004;":""),e.style.display="inline-block")}),[...n.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>M(t.target))),n.querySelector("#close_table").addEventListener("click",D),n.querySelector("#goto-text").addEventListener("keydown",function(t){t&&"Enter"==t.key&&(M(t.target),I(k))}),n.querySelector("#goto-button").addEventListener("click",function(t){M(t.target),I(k)}),n}var f=!0;function g(){h().then(t=>{y(),crouton.searchByCoordinates(t.latitude,t.longitude,o.map_search.width),P==a&&M(a)}).catch(t=>{console.error(t.message),P!=a&&T()})}function _(t){croutonMap.showMap(!1,!1),e.clickSearch(t,function(t,e){y(),crouton.searchByCoordinates(t,e,o.map_search.width)}),M(a)}function y(){n.myThrobber&&(n.myThrobber.style.display="block")}function v(t){let i=e.getGeocodeCenter(t);document.getElementById("bmltsearch-goto-text")&&(document.getElementById("bmltsearch-goto-text").value=""),y(),crouton.searchByCoordinates(i.lat,i.lng,o.map_search.width)}function b(t,i=!0,a=!1){if(null===t&&o.map_search)o.map_search.auto?g():o.map_search.coordinates_search?(y(),o.map_search.coordinates_search=!1,crouton.searchByCoordinates(o.map_search.latitude,o.map_search.longitude,o.map_search.width)):o.map_search.location?e.callGeocoder(o.map_search.location,null,v):T();else{if(r=t.filter(t=>2!=t.venue_type),i){const t=r.reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[]);e.fitBounds(t)}B(),n.myThrobber&&(n.myThrobber.style.display="none"),(o.filter_visible||o.centerMe||o.goto)&&crouton.forceShowMap(),o.centerMe?navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){coords={latitude:t.coords.latitude,longitude:t.coords.longitude},V(!1),e.setViewToPosition(coords,q,V)},E):a&&E():(o.centerMe||o.goto||e.afterInit(()=>V(o.filter_visible)),o.goto&&e.callGeocoder(o.goto,z))}}var w,A,k=!1,P=null,S=!1;function M(t){if(e.modalOff(),P=null,!t.classList.contains("modal"))return M(t.parentNode);if(t.style.display="none",k&&(k=!1,K()||Q()),S){const t=document.body,e=t.style.top;t.style.overflowX=w,t.style.position="",t.style.top="",window.scrollTo(0,-1*parseInt(e||"0"))}}function C(t,i=!1){if(K()&&(k=!0,Q()),t.style.display="block",S=i,t.focus(),P=t,dd=document.getElementById("map-menu-dropdown"),dd&&(dd.style.display="none"),e.modalOn(),S){const t=document.body;w=t.style.overflowX;const e=-window.scrollY+"px";t.style.overflowX="hidden",t.style.position="fixed",t.style.width="100%",t.style.setProperty("top",e,"important")}}function x(t){C(document.getElementById("filter_modal"))}function T(t){document.getElementById("bmltsearch_modal")||n.appendChild(a),C(a)}function E(t=null){C(document.getElementById("geocoding_modal"))}function O(t=null){V(),jQuery("#bmlt-tabs").append(jQuery("#table_page")),jQuery("#table_page").removeClass("hide"),jQuery("#bmlt-map").css("display","none"),jQuery("#table_page").css("max-height",jQuery("#bmlt-map").height()),jQuery("#bmlt-maptable-div").css("height",jQuery("#bmlt-map").height()-jQuery("#bmlt-maptable-header").height()),document.getElementById("map-menu-dropdown").style.display="none"}function D(t=null){V(!1),jQuery("#table_page").addClass("hide"),jQuery("#bmlt-map").css("display","block")}function z(t){V(!1);const e=q(t);return V(!0),e}function I(t){return""!=document.getElementById("goto-text").value?t?e.addListener("idle",function(){e.callGeocoder(document.getElementById("goto-text").value,z)},!0):e.callGeocoder(document.getElementById("goto-text").value,z):alert(""),!0}function B(t=!1){if(r)if(r.length)try{R(t)}catch(i){console.log(i),e.addListener("projection_changed",function(e){R(t)},!0)}else alert(crouton.localization.getWord("no meetings found"))}function N(){return void 0===e.getZoom()||void 0!==o.clustering&&e.getZoom()<o.clustering}function R(t=!1){e.clearAllMarkers(),e.removeClusterLayer();const i=G(r);var n=N()||1==i.length?i.map(t=>[t]):function(t){var i=new Array;for(const[a,r]of Object.entries((o=t,o.reduce(function(t,e){return t.hasOwnProperty(e.location_municipality)?t[e.location_municipality].push(e):t[e.location_municipality]=[e],t},{})))){var n=r.map(t=>(item=new Object,item.matched=!1,item.meeting=t,item.coords=e.fromLatLngToPoint(t.latitude,t.longitude),item));n.reduce(function(t,e,i){if(e.matched)return t;matches=[e.meeting];var o=e.coords;for(c2=i+1;c2<r.length;c2++)if(!n[c2].matched){var a=n[c2].coords,s=o.x-8,l=o.x+8,c=o.y-8,u=o.y+8;a.x>=s&&a.x<=l&&a.y>=c&&a.y<=u&&(matches.push(n[c2].meeting),n[c2].matched=!0)}return matches.sort(j),t.push(matches),t},i)}var o;return i}(i);if(N()&&e.createClusterLayer(),n.forEach(function(t){var i,n,o;n=[(i=t)[0].latitude,i[0].longitude],o=crouton_Handlebars.compile(F)(i),e.createMarker(n,i.length>1,o,null,i.map(t=>parseInt(t.id_bigint)))}),e.addClusterLayer(),t){const t=i.reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[]);e.fitBounds(t)}}function j(t,e){var i=parseInt(t.weekday_tinyint,10),n=parseInt(e.weekday_tinyint,10);if(i<o.start_week&&(i+=7),n<o.start_week&&(n+=7),i<n)return-1;if(i>n)return 1;var a=t.start_time.toString().split(":"),r=e.start_time.toString().split(":");return parseInt(a[0])<parseInt(r[0])?-1:parseInt(a[0])>parseInt(r[0])?1:parseInt(a[1])<parseInt(r[1])?-1:parseInt(a[1])>parseInt(r[1])?1:0}document.addEventListener("keydown",function(t){P&&"Escape"==t.key&&M(P)},!0);const F='\n\t<div class="accordion">\n\t{{#each this}}<div>\n\t\t\t<input type="radio" name="panel" id="panel-{{this.id_bigint}}" {{#unless @index}}checked{{/unless}}/>\n\t\t\t<label for="panel-{{this.id_bigint}}">{{this.formatted_day}} {{this.start_time_formatted}}</label>\n\t\t\t<div class="marker_div_meeting" id="{{this.id_bigint}}">\n\t\t\t\t{{> markerContentsTemplate}}\n\t\t\t</div>\n\t</div>{{/each}}\n\t</div>\n\t';var H=!1,W=null;function Z(t){return r.filter(i=>e.contains(t,i.latitude,i.longitude))}function $(){V(!1),e.addListener("dragend",V,!0)}function V(t=!0){if(t==H)return t;let i=(t?Z(e.getBounds()):r).map(t=>t.id_bigint);return jQuery(".bmlt-data-row").each(function(t,e){e.dataset.visible=i.includes(e.id.split("-").pop())?"1":"0"}),jQuery("#byday").removeClass("hide"),jQuery("#filter-dropdown-visibile").val(t?"a-1":""),f=!1,crouton.simulateFilterDropdown(),f=!0,jQuery("#filteringByVisibility").html(t?"&#10004;":""),H=t,t?W=e.addListener("dragstart",$,!0):W&&(e.removeListener(W),W=null),!t}function U(){V(!H)}function Z(t){return r.filter(i=>e.contains(t,i.latitude,i.longitude))}function q(t){return G(Z(t))}function G(t){var e=t.filter(t=>2!=t.venue_type);return null!=s?e.filter(t=>s.includes(t.id_bigint)):e}var Y=!1;function K(){return(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)===n||Y}function Q(t){var e=n;K()?t&&t.pseudoFullscreen?J(!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():_disablePseudoFullscreen(e):t&&t.pseudoFullscreen?J(!0):e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen?e.msRequestFullscreen():_enablePseudoFullscreen(e)}Y=!1;function J(t){Y=t;var i=n;t?L.DomUtil.addClass(i,"leaflet-pseudo-fullscreen"):L.DomUtil.removeClass(i,"leaflet-pseudo-fullscreen"),e.invalidateSize()}this.initialize=function t(i,n,o=null,a=null,r=!0,s){if(!e.isApiLoaded())return u(t,[i,n,o,a,r,s]),void e.loadApi();d(document.getElementById(i),o,a,s),b(n,r,!0)},this.showMap=function(t=!1,n=!0){t&&i?i.invalidateSize():(e.invalidateSize(),r&&n&&e.fitBounds((s?r.filter(t=>s.includes(t.id_bigint)):r).reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[])))},this.fillMap=function(t){s=t,r&&B(f&&!H)},this.rowClick=function(t){let i=r.find(e=>e.id_bigint==t);i&&(e.getZoom()>=14&&e.contains(e.getBounds(),i.latitude,i.longitude)?e.openMarker(t):e.setViewToPosition({latitude:i.latitude,longitude:i.longitude},q,function(){e.openMarker(t)}))},this.apiLoadedCallback=function(){l(...c)},this.refreshMeetings=b,this.openModalWindow=C,this.closeModalWindow=M,this.loadPopupMap=function t(n,a,r=null){if(!e.isApiLoaded())return u(t,[n,a,r]),void e.loadApi();let s=document.getElementById(n),l=new MapDelegate(o);r&&(loc={latitude:r.lat,longitude:r.lng,zoom:r.zoom}),l.createMap(s,loc)&&(l.createMarker([a.latitude,a.longitude],!1,null,"",[parseInt(a.id_bigint)]),l.addClusterLayer(),i=l)},this.filterVisible=V}function MapDelegate(t){var e,i,n=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarker.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),o=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarkerG.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),a=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarkerSel.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[12,-32]}),r=[],s=null;function l(t,i){if(!e)return 12;for(var n=e.getZoom(),o=e.getCenter(),a=e.getBounds(),r=!1;0==i(a).length&&n>6;){r=!0,n-=1;var s=L.latLng(2*a.getNorthEast().lat-o.lat,2*a.getNorthEast().lng-o.lng),l=L.latLng(2*a.getSouthWest().lat-o.lat,2*a.getSouthWest().lng-o.lng);a=L.latLngBounds(l,s)}if(!t&&!r&&n<12){for(var c=i(a).length;n<12&&c>0;){n+=1;s=L.latLng(.5*(a.getNorthEast().lat+o.lat),.5*(a.getNorthEast().lng+o.lng)),l=L.latLng(.5*(a.getSouthWest().lat+o.lat),.5*(a.getSouthWest().lng+o.lng));c=i(a=L.latLngBounds(l,s)).length}0==c&&(n-=1)}return n}function c(t,e,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState){var t;if(200!==n.status&&304!==n.status)t="";else if("string"==typeof n.response)try{t=JSON.parse(n.response)}catch(e){t=n.response}else t=n.response;i(t)}},n.open("GET",t+function(t,e,i){var n=[];for(var o in t){var a=encodeURIComponent(i?o.toUpperCase():o),r=t[o];if(L.Util.isArray(r))for(var s=0;s<r.length;s++)n.push(a+"="+encodeURIComponent(r[s]));else n.push(a+"="+encodeURIComponent(r))}return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}(e),!0),n.responseType="json",n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Accept","*/*"),n.send(null)}this.createMap=function(n,o){if(!o)return null;myOptions={minZoom:t.minZoom,maxZoom:t.maxZoom,doubleClickZoom:!1,scrollWheelZoom:!1},myOptions=Object.assign(myOptions,{center:new L.latLng(o.latitude,o.longitude),zoom:o.zoom});var a=n.offsetWidth;0==a&&(a=n.parentNode.offsetWidth);var r=n.offsetHeight;return 0==r&&(r=a),r>1.4*a&&(n.style.height=1.6*a+"px",n.parentNode.style.height=n.style.height),e=new L.Map(n,myOptions),i=L.tileLayer(t.tileUrl,t.tileOptions).addTo(e),e.zoomControl.setPosition("bottomright"),e.on("moveend",function(){i.redraw()}),e},this.addListener=function(t,i,n){return"idle"==t&&(t="moveend"),"dragstart"==t&&(t="movestart"),"dragend"==t&&(t="moveend"),n?e.once(t,i):e.on(t,i),{event:t,f:i}},this.removeListener=function(t){e.off(t.event,t.f)},this.addControl=function(t,i,n){var o,a=L.Control.extend({onAdd:function(e){return t},onRemove:function(t){}});if(n){const e=new MutationObserver(function(i){i.forEach(i=>{i.addedNodes.forEach(i=>{i===t&&(e.disconnect(),n())})})});e.observe(document,{childList:!0,subtree:!0})}(o={position:i},new a(o)).addTo(e)},this.setViewToPosition=function(t,i,n=null){var o=L.latLng(t.latitude,t.longitude);e.flyTo(o),e.once("moveend",function(t){newZoom=l(!1,i),e.getZoom()!=newZoom?(e.setZoom(newZoom),e.once("zoomend",function(){e.invalidateSize(),n&&e.once("load moveend",n)})):n&&n()})},this.clearAllMarkers=function(){r&&r.forEach(t=>{t.marker.closePopup(),e.removeLayer(t.marker)}),r=[]},this.fromLatLngToPoint=function(t,i){return e.latLngToLayerPoint(L.latLng(t,i))},this.callGeocoder=function(n,o,a=function(t,n){t&&t[0]&&t[0].bbox?(e.flyToBounds(t[0].bbox),e.on("moveend",function(t){e.off("moveend"),e.setZoom(l(!0,n)),e.once("moveend",function(){i.redraw()})})):alert(crouton.localization.getWord("address_lookup_fail"))}){geoCodeParams={},t.region&&""!==t.region.trim()&&(geoCodeParams.countrycodes=t.region),t.bounds&&t.bounds.north&&""!==t.bounds.north.trim()&&t.bounds.east&&""!==t.bounds.east.trim()&&t.bounds.south&&""!==t.bounds.south.trim()&&t.bounds.west&&""!==t.bounds.west.trim()&&(geoCodeParams.viewbox=t.bounds.south+","+t.bounds.west+","+t.bounds.north+","+t.bounds.east),function(e,i,n,o){var a=t.nominatimUrl;a||(a="https://nominatim.openstreetmap.org/"),c(a+"search",L.extend({q:e,limit:5,format:"json",addressdetails:1},i),L.bind(function(t){var e=[];if(t&&t.length){for(var i=t.length-1;i>=0;i--){for(var a=t[i].boundingbox,r=0;r<4;r++)a[r]=parseFloat(a[r]);e[i]={icon:t[i].icon,name:t[i].display_name,bbox:L.latLngBounds([a[0],a[2]],[a[1],a[3]]),center:L.latLng(t[i].lat,t[i].lon),properties:t[i]}}o?n(e,o):n(e)}else alert(crouton.localization.getWord("address_lookup_fail"))},this))}(n,geoCodeParams,a,o)},this.setZoom=function(t,i=0){i>0?e.setZoom(i):e.setZoom(l(!1,t))},this.getZoom=function(){return e.getZoom()},this.createMarker=function(t,i,l,c,u){var h=i?o:n;let d=function(t){let e=t.id.split("-")[1];jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+e+" > td").addClass("rowHighlight"),"undefined"!=typeof crouton&&crouton.dayTabFromId(e)};var p=L.marker(t,{icon:h,title:c}).bindPopup(l);p.isMulti=i,s?s.addLayer(p):p.addTo(e),p.on("popupopen",function(t){p.setIcon(a),e.on("zoomstart",function(){p.closePopup()}),jQuery("input[type=radio][name=panel]:checked").each(function(t,e){d(e)}),jQuery("input[type=radio][name=panel]").change(function(){d(this)})}),p.on("popupclose",function(t){p.setIcon(p.isMulti?o:n),jQuery(".bmlt-data-row > td").removeClass("rowHighlight")}),r.push({ids:u,marker:p})},this.contains=function(t,e,i){return t.contains(L.latLng(e,i))},this.getBounds=function(){return e.getBounds()},this.invalidateSize=function(){e.invalidateSize()},this.zoomOut=function(t){e.setZoom(l(!0,t))},this.fitBounds=function(t){const i=t.reduce(function(t,e){return t.extend(e),t},L.latLngBounds());e.fitBounds(i)},this.openMarker=function(t){marker=r.find(e=>e.ids.includes(t)),marker&&(marker.marker.openPopup(),jQuery("#panel-"+t).prop("checked",!0),"undefined"!=typeof crouton&&crouton.dayTabFromId(t)),jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+t+" > td").addClass("rowHighlight")},this.isApiLoaded=function(){return!0},this.createClusterLayer=function(){s=L.markerClusterGroup()},this.addClusterLayer=function(){s&&e.addLayer(s)},this.removeClusterLayer=function(){s&&e.removeLayer(s),s=null},this.clickSearch=function(t,i){L.DomUtil.addClass(e._container,"crosshair-cursor-enabled"),e.once("click",function(t){e.once("click",function(t){L.DomUtil.removeClass(e._container,"crosshair-cursor-enabled"),i(t.latlng.lat,t.latlng.lng)})})},this.getGeocodeCenter=function(t){if(t&&t[0])return{lat:t[0].center.lat,lng:t[0].center.lng};alert(crouton.localization.getWord("address_lookup_fail"))},this.modalOn=function(){e&&e.dragging.disable()},this.modalOff=function(){e&&e.dragging.enable()},this.afterInit=function(t){t()}}crouton_Handlebars.registerHelper("getDayOfTheWeek",function(t){return hbs_Crouton.localization.getDayOfTheWeekWord(t)}),crouton_Handlebars.registerHelper("getWord",function(t){var e=hbs_Crouton.localization.getWord(t);return void 0!==e?e:(console.log("no translation for '"+t+"'"),t)}),crouton_Handlebars.registerHelper("formatDataPointer",function(t){return convertToPunyCode(t)}),crouton_Handlebars.registerHelper("call",function(t,e){return t(e)}),crouton_Handlebars.registerHelper("canShare",function(t,e){return navigator.share?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("reportUpdateEnabled",function(t,e){return""!==crouton.config.report_update_url?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("reportUpdateUrl",function(){return crouton.config.report_update_url}),crouton_Handlebars.registerHelper("isVirtual",function(t,e){return(t.venue_type===venueType.HYBRID||t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("HY",t),getFormats(t))&&!inArray(getMasterFormatId("TC",t),getFormats(t))||inArray(getMasterFormatId("VM",t),getFormats(t)))&&(t.virtual_meeting_link||t.phone_meeting_number||t.virtual_meeting_additional_info)?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isVirtualOnly",function(t,e){return t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isHybrid",function(t,e){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isHybridOnly",function(t,e){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isTemporarilyClosed",function(t,e){return inArray(getMasterFormatId("TC",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isNotTemporarilyClosed",function(t,e){return inArray(getMasterFormatId("TC",t),getFormats(t))?getFalseResult(e,this):getTrueResult(e,this)}),crouton_Handlebars.registerHelper("isInPersonOrHybrid",function(t,e){return t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?getFalseResult(e,this):getTrueResult(e,this)}),crouton_Handlebars.registerHelper("isInPersonOnly",function(t,e){return t.venue_type===venueType.IN_PERSON||!inArray(getMasterFormatId("VM",t),getFormats(t))&&!inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isVirtualOrHybrid",function(t,e){return t.venue_type===venueType.VIRTUAL||t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("VM",t),getFormats(t))||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("hasFormats",function(t,e,i){for(var n=!1,o=e.formats.split(","),a=t.split(","),r=0;r<a.length;r++)n=inArray(a[r],o);return n?getTrueResult(i,this):getFalseResult(i,this)}),crouton_Handlebars.registerHelper("temporarilyClosed",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",t)).description:"FACILITY IS TEMPORARILY CLOSED"}),crouton_Handlebars.registerHelper("meetsVirtually",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",t)).description:"MEETS VIRTUALLY"}),crouton_Handlebars.registerHelper("meetsHybrid",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",t)).description:"MEETS VIRTUALLY AND IN PERSON"}),crouton_Handlebars.registerHelper("qrCode",function(t,e){return new crouton_Handlebars.SafeString("<img alt='qrcode' src='https://quickchart.io/qr?size=100&text="+encodeURIComponent(t)+"'>")}),crouton_Handlebars.registerHelper("formatDataFromArray",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i]));return e.join(" ")}),crouton_Handlebars.registerHelper("formatDataPointerFormats",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i].name));return e.join(" ")}),crouton_Handlebars.registerHelper("formatDataKeyFormats",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i].key));return e.join(" ")}),crouton_Handlebars.registerHelper("formatLink",function(t){return 0===t.indexOf("tel:")||0===t.indexOf("http")?new crouton_Handlebars.SafeString("<a href='"+t+"' target='_blank'>"+t+"</a>"):t}),crouton_Handlebars.registerHelper("webLinkify",function(t){return new crouton_Handlebars.SafeString("<a href='"+t+"' target='_blank'>"+t+"</a>")}),crouton_Handlebars.registerHelper("phoneLinkify",function(t){return new crouton_Handlebars.SafeString("<a href='tel:"+t+"' target='_blank'>"+t+"</a>")}),crouton_Handlebars.registerHelper("ifEquals",function(t,e,i){return t===e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("greaterThan",function(t,e,i){return t>e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("lessThan",function(t,e,i){return t<e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("times",function(t,e){for(var i="",n=1;n<=t;++n)i+=e.fn(n);return i}),crouton_Handlebars.registerHelper("hasBMLT2ics",function(){return crouton.config.bmlt2ics.length>0}),crouton_Handlebars.registerHelper("BMLT2ics",function(){return crouton.config.bmlt2ics}),crouton_Handlebars.registerPartial("icsButton",'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>'),crouton_Handlebars.registerPartial("offerIcsButton","{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}"),Crouton.prototype.renderMeetingCount=function(){var t=this;t.lock(function(){t.updateMeetingCount()})},Crouton.prototype.simulateFilterDropdown=function(){self=this,jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){self.hidePage(this)}),self.filteredPage(),self.filtering||self.config.map_page||self.showView("byday"===self.config.view_by?"byday":"day",!1)},Crouton.prototype.getAdjustedDateTime=function(t,e,i){var n,o=!0===this.config.auto_tz_adjust||"true"===this.config.auto_tz_adjust;o?(i||(i="UTC"),n=(n=moment.tz(i).set({hour:e.split(":")[0],minute:e.split(":")[1],second:0}).isoWeekday(t)).clone().tz(moment.tz.guess())):n=moment().set({hour:e.split(":")[0],minute:e.split(":")[1],second:0}).isoWeekday(t);var a=o?moment.tz(moment.tz.guess()):moment();return a>n?n.add(1,"weeks"):a.isoWeekday()==n.isoWeekday()&&0==n.diff(a,"days")&&n.add(1,"weeks"),n},Array.prototype.clone=function(){return this.slice()},Array.prototype.filterByObjectKeyValue=function(t,e){for(var i=[],n=0;n<this.length;n++)this[n][t]===e&&i.push(this[n]);return i},Array.prototype.getArrayItemByObjectKeyValue=function(t,e){for(var i=0;i<this.length;i++)if(this[i][t]===e)return this[i]},Array.prototype.clean=function(){for(var t=0;t<this.length;t++)""===this[t]&&(this.splice(t,1),t--);return this},Array.prototype.exclude=function(t,e){for(var i=this.length;i--;)for(var n=0;n<t.length;n++)t[n]===this[i][e]&&this.splice(i,1);return this},Array.prototype.sortByKey=function(t){return this.sort(function(e,i){return e[t]<i[t]?-1:e[t]>i[t]?1:0}),this},MeetingMap.prototype.initialize=null,MeetingMap.prototype.showMap=null,MeetingMap.prototype.fillMap=null,MeetingMap.prototype.rowClick=null,MeetingMap.prototype.apiLoadedCallback=null,MeetingMap.prototype.refreshMeetings=null,MeetingMap.prototype.openModalWindow=null,MeetingMap.prototype.closeModalWindow=null,MeetingMap.prototype.loadPopupMap=null,MeetingMap.prototype.filterVisible=null,MapDelegate.prototype.createMap=null,MapDelegate.prototype.addListener=null,MapDelegate.prototype.removeListener=null,MapDelegate.prototype.addControl=null,MapDelegate.prototype.setViewToPosition=null,MapDelegate.prototype.clearAllMarkers=null,MapDelegate.prototype.fromLatLngToPoint=null,MapDelegate.prototype.callGeocoder=null,MapDelegate.prototype.setZoom=null,MapDelegate.prototype.getZoom=null,MapDelegate.prototype.createMarker=null,MapDelegate.prototype.contains=null,MapDelegate.prototype.getBounds=null,MapDelegate.prototype.invalidateSize=null,MapDelegate.prototype.zoomOut=null,MapDelegate.prototype.fitBounds=null,MapDelegate.prototype.openMarker=null,MapDelegate.prototype.isApiLoaded=null,MapDelegate.prototype.createClusterLayer=null,MapDelegate.prototype.addClusterLayer=null,MapDelegate.prototype.removeClusterLayer=null,MapDelegate.prototype.clickSearch=null,MapDelegate.prototype.getGeocodeCenter=null,MapDelegate.prototype.modalOn=null,MapDelegate.prototype.modalOff=null,MapDelegate.prototype.afterInit=null,function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})}(this,function(t){"use strict";var e=Object.freeze;function i(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}Object.freeze=function(t){return t};var n=Object.create||function(t){return o.prototype=t,new o};function o(){}function a(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var r=0;function s(t){return t._leaflet_id=t._leaflet_id||++r,t._leaflet_id}function l(t,e,i){var n,o,a,r;return r=function(){n=!1,o&&(a.apply(i,o),o=!1)},a=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function c(t,e,i){var n=e[1],o=e[0],a=n-o;return t===n&&i?t:((t-o)%a+a)%a+o}function u(){return!1}function h(t,e){return e=void 0===e?6:e,+(Math.round(t+"e+"+e)+"e-"+e)}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function p(t){return d(t).split(/\s+/)}function m(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function f(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var g=/\{ *([\w_-]+) *\}/g;function _(t,e){return t.replace(g,function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var A=0;function k(t){var e=+new Date,i=Math.max(0,16-(e-A));return A=e+i,window.setTimeout(t,i)}var P=window.requestAnimationFrame||w("RequestAnimationFrame")||k,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,e,i){if(!i||P!==k)return P.call(window,a(t,e));t.call(e)}function C(t){t&&S.call(window,t)}var x=(Object.freeze||Object)({freeze:e,extend:i,create:n,bind:a,lastId:r,stamp:s,throttle:l,wrapNum:c,falseFn:u,formatNum:h,trim:d,splitWords:p,setOptions:m,getParamString:f,template:_,isArray:y,indexOf:v,emptyImageUrl:b,requestFn:P,cancelFn:S,requestAnimFrame:M,cancelAnimFrame:C});function T(){}T.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o=e.__super__=this.prototype,a=n(o);for(var r in(a.constructor=e).prototype=a,this)this.hasOwnProperty(r)&&"prototype"!==r&&"__super__"!==r&&(e[r]=this[r]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),i.apply(null,[a].concat(t.includes)),delete t.includes),a.options&&(t.options=i(n(a.options),t.options)),i(a,t),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=a._initHooks.length;t<e;t++)a._initHooks[t].call(this)}},e},T.include=function(t){return i(this.prototype,t),this},T.mergeOptions=function(t){return i(this.prototype.options,t),this},T.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var E={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,a=(t=p(t)).length;o<a;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else for(var o=0,a=(t=p(t)).length;o<a;o++)this._off(t[o],e,i);else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),i===this&&(i=void 0);for(var o={fn:e,ctx:i},a=n,r=0,s=a.length;r<s;r++)if(a[r].fn===e&&a[r].ctx===i)return;a.push(o)},_off:function(t,e,i){var n,o,a;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,a=n.length;o<a;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return r.fn=u,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,a=n.length;o<a;o++)n[o].fn=u;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var a=this._events[t];if(a){this._firingCount=this._firingCount+1||1;for(var r=0,s=a.length;r<s;r++){var l=a[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=a(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var O=T.extend(E);function D(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var z=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function I(t,e,i){return t instanceof D?t:y(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,i)}function B(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function N(t,e){return!t||t instanceof B?t:new B(t,e)}function R(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function j(t,e){return t instanceof R?t:new R(t,e)}function F(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function H(t,e,i){return t instanceof F?t:y(t)&&"object"!=typeof t[0]?3===t.length?new F(t[0],t[1],t[2]):2===t.length?new F(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new F(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new F(t,e,i)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new D(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new D(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=z(this.x),this.y=z(this.y),this},distanceTo:function(t){var e=(t=I(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=I(t)).x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},B.prototype={extend:function(t){return t=I(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t="number"==typeof t[0]||t instanceof D?I(t):N(t))instanceof B?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,i=this.max,n=t.min,o=t.max,a=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return a&&r},overlaps:function(t){t=N(t);var e=this.min,i=this.max,n=t.min,o=t.max,a=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return a&&r},isValid:function(){return!(!this.min||!this.max)}},R.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof F)i=e=t;else{if(!(t instanceof R))return t?this.extend(H(t)||j(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new F(e.lat,e.lng),this._northEast=new F(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new R(new F(e.lat-n,e.lng-o),new F(i.lat+n,i.lng+o))},getCenter:function(){return new F((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new F(this.getNorth(),this.getWest())},getSouthEast:function(){return new F(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof F||"lat"in t?H(t):j(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof R?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=j(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),a=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return a&&r},overlaps:function(t){t=j(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),a=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return a&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=j(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var W,Z={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t);return new B(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!(F.prototype={equals:function(t,e){return!!t&&(t=H(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+h(this.lat,t)+", "+h(this.lng,t)+")"},distanceTo:function(t){return $.distance(this,H(t))},wrap:function(){return $.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return j([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new F(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?c(t.lng,this.wrapLng,!0):t.lng;return new F(this.wrapLat?c(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0==n&&0==o)return t;var a=t.getSouthWest(),r=t.getNorthEast();return new R(new F(a.lat-n,a.lng-o),new F(r.lat-n,r.lng-o))}},$=i({},Z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,a=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),s=a*a+Math.cos(n)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),V=6378137,U={R:V,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new D(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new F((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(W=V*Math.PI,new B([-W,-W],[W,W]))};function q(t,e,i,n){if(y(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function G(t,e,i,n){return new q(t,e,i,n)}q.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new D((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var Y,K=i({},$,{code:"EPSG:3857",projection:U,transformation:(Y=.5/(Math.PI*U.R),G(Y,.5,-Y,.5))}),Q=i({},K,{code:"EPSG:900913"});function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){var i,n,o,a,r,s,l="";for(i=0,o=t.length;i<o;i++){for(n=0,a=(r=t[i]).length;n<a;n++)l+=(n?"L":"M")+(s=r[n]).x+" "+s.y;l+=e?Tt?"z":"x":""}return l||"M0 0"}var tt=document.documentElement.style,et="ActiveXObject"in window,it=et&&!document.addEventListener,nt="msLaunchUri"in navigator&&!("documentMode"in document),ot=Ot("webkit"),at=Ot("android"),rt=Ot("android 2")||Ot("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),lt=at&&Ot("Google")&&st<537&&!("AudioNode"in window),ct=!!window.opera,ut=Ot("chrome"),ht=Ot("gecko")&&!ot&&!ct&&!et,dt=!ut&&Ot("safari"),pt=Ot("phantom"),mt="OTransition"in tt,ft=0===navigator.platform.indexOf("Win"),gt=et&&"transition"in tt,_t="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,yt="MozPerspective"in tt,vt=!window.L_DISABLE_3D&&(gt||_t||yt)&&!mt&&!pt,bt="undefined"!=typeof orientation||Ot("mobile"),wt=bt&&ot,At=bt&&_t,kt=!window.PointerEvent&&window.MSPointerEvent,Pt=!(!window.PointerEvent&&!kt),St=!window.L_NO_TOUCH&&(Pt||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Mt=bt&&ct,Ct=bt&&ht,xt=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Lt=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!J("svg").createSVGRect),Et=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Ot(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var Dt=(Object.freeze||Object)({ie:et,ielt9:it,edge:nt,webkit:ot,android:at,android23:rt,androidStock:lt,opera:ct,chrome:ut,gecko:ht,safari:dt,phantom:pt,opera12:mt,win:ft,ie3d:gt,webkit3d:_t,gecko3d:yt,any3d:vt,mobile:bt,mobileWebkit:wt,mobileWebkit3d:At,msPointer:kt,pointer:Pt,touch:St,mobileOpera:Mt,mobileGecko:Ct,retina:xt,canvas:Lt,svg:Tt,vml:Et}),zt=kt?"MSPointerDown":"pointerdown",It=kt?"MSPointerMove":"pointermove",Bt=kt?"MSPointerUp":"pointerup",Nt=kt?"MSPointerCancel":"pointercancel",Rt=["INPUT","SELECT","OPTION"],jt={},Ft=!1,Ht=0;function Wt(t){jt[t.pointerId]=t,Ht++}function Zt(t){jt[t.pointerId]&&(jt[t.pointerId]=t)}function $t(t){delete jt[t.pointerId],Ht--}function Vt(t,e){for(var i in t.touches=[],jt)t.touches.push(jt[i]);t.changedTouches=[t],e(t)}var Ut=kt?"MSPointerDown":Pt?"pointerdown":"touchstart",qt=kt?"MSPointerUp":Pt?"pointerup":"touchend",Gt="_leaflet_";var Yt,Kt,Qt,Jt,Xt,te=ge(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ee=ge(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ie="webkitTransition"===ee||"OTransition"===ee?ee+"End":"transitionend";function ne(t){return"string"==typeof t?document.getElementById(t):t}function oe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function ae(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function re(t){var e=t.parentNode;e&&e.removeChild(t)}function se(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function le(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ce(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ue(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=me(t);return 0<i.length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function he(t,e){if(void 0!==t.classList)for(var i=p(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!ue(t,e)){var a=me(t);pe(t,(a?a+" ":"")+e)}}function de(t,e){void 0!==t.classList?t.classList.remove(e):pe(t,d((" "+me(t)+" ").replace(" "+e+" "," ")))}function pe(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function me(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function fe(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function ge(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function _e(t,e,i){var n=e||new D(0,0);t.style[te]=(gt?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ye(t,e){t._leaflet_pos=e,vt?_e(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ve(t){return t._leaflet_pos||new D(0,0)}if("onselectstart"in document)Yt=function(){xe(window,"selectstart",Be)},Kt=function(){Te(window,"selectstart",Be)};else{var be=ge(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Yt=function(){if(be){var t=document.documentElement.style;Qt=t[be],t[be]="none"}},Kt=function(){be&&(document.documentElement.style[be]=Qt,Qt=void 0)}}function we(){xe(window,"dragstart",Be)}function Ae(){Te(window,"dragstart",Be)}function ke(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Pe(),Xt=(Jt=t).style.outline,t.style.outline="none",xe(window,"keydown",Pe))}function Pe(){Jt&&(Jt.style.outline=Xt,Xt=Jt=void 0,Te(window,"keydown",Pe))}function Se(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Me(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Ce=(Object.freeze||Object)({TRANSFORM:te,TRANSITION:ee,TRANSITION_END:ie,get:ne,getStyle:oe,create:ae,remove:re,empty:se,toFront:le,toBack:ce,hasClass:ue,addClass:he,removeClass:de,setClass:pe,getClass:me,setOpacity:fe,testProp:ge,setTransform:_e,setPosition:ye,getPosition:ve,disableTextSelection:Yt,enableTextSelection:Kt,disableImageDrag:we,enableImageDrag:Ae,preventOutline:ke,restoreOutline:Pe,getSizedParentNode:Se,getScale:Me});function xe(t,e,i,n){if("object"==typeof e)for(var o in e)Ee(t,o,e[o],i);else for(var a=0,r=(e=p(e)).length;a<r;a++)Ee(t,e[a],i,n);return this}var Le="_leaflet_events";function Te(t,e,i,n){if("object"==typeof e)for(var o in e)Oe(t,o,e[o],i);else if(e)for(var a=0,r=(e=p(e)).length;a<r;a++)Oe(t,e[a],i,n);else{for(var s in t[Le])Oe(t,s,t[Le][s]);delete t[Le]}return this}function Ee(t,e,i,n){var o=e+s(i)+(n?"_"+s(n):"");if(t[Le]&&t[Le][o])return this;var r=function(e){return i.call(n||t,e||window.event)},l=r;Pt&&0===e.indexOf("touch")?function(t,e,i,n){"touchstart"===e?function(t,e,i){var n=a(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Rt.indexOf(t.target.tagName)<0))return;Be(t)}Vt(t,e)});t["_leaflet_touchstart"+i]=n,t.addEventListener(zt,n,!1),Ft||(document.documentElement.addEventListener(zt,Wt,!0),document.documentElement.addEventListener(It,Zt,!0),document.documentElement.addEventListener(Bt,$t,!0),document.documentElement.addEventListener(Nt,$t,!0),Ft=!0)}(t,i,n):"touchmove"===e?function(t,e,i){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&Vt(t,e)};t["_leaflet_touchmove"+i]=n,t.addEventListener(It,n,!1)}(t,i,n):"touchend"===e&&function(t,e,i){var n=function(t){Vt(t,e)};t["_leaflet_touchend"+i]=n,t.addEventListener(Bt,n,!1),t.addEventListener(Nt,n,!1)}(t,i,n)}(t,e,r,o):!St||"dblclick"!==e||Pt&&ut?"addEventListener"in t?"mousewheel"===e?t.addEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):"mouseenter"===e||"mouseleave"===e?(r=function(e){e=e||window.event,Ve(t,e)&&l(e)},t.addEventListener("mouseenter"===e?"mouseover":"mouseout",r,!1)):("click"===e&&at&&(r=function(t){!function(t,e){var i=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=He&&i-He;if(n&&100<n&&n<500||t.target._simulatedClick&&!t._simulated)return Ne(t);He=i,e(t)}(t,l)}),t.addEventListener(e,r,!1)):"attachEvent"in t&&t.attachEvent("on"+e,r):function(t,e,i){var n,o,a=!1;function r(t){var e;if(Pt){if(!nt||"mouse"===t.pointerType)return;e=Ht}else e=t.touches.length;if(!(1<e)){var i=Date.now(),r=i-(n||i);o=t.touches?t.touches[0]:t,a=0<r&&r<=250,n=i}}function s(t){if(a&&!o.cancelBubble){if(Pt){if(!nt||"mouse"===t.pointerType)return;var i,r,s={};for(r in o)i=o[r],s[r]=i&&i.bind?i.bind(o):i;o=s}o.type="dblclick",o.button=0,e(o),n=null}}t[Gt+Ut+i]=r,t[Gt+qt+i]=s,t[Gt+"dblclick"+i]=e,t.addEventListener(Ut,r,!1),t.addEventListener(qt,s,!1),t.addEventListener("dblclick",e,!1)}(t,r,o),t[Le]=t[Le]||{},t[Le][o]=r}function Oe(t,e,i,n){var o=e+s(i)+(n?"_"+s(n):""),a=t[Le]&&t[Le][o];if(!a)return this;Pt&&0===e.indexOf("touch")?function(t,e,i){var n=t["_leaflet_"+e+o];"touchstart"===e?t.removeEventListener(zt,n,!1):"touchmove"===e?t.removeEventListener(It,n,!1):"touchend"===e&&(t.removeEventListener(Bt,n,!1),t.removeEventListener(Nt,n,!1))}(t,e):!St||"dblclick"!==e||Pt&&ut?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",a,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a):function(t,e){var i=t[Gt+Ut+e],n=t[Gt+qt+e],o=t[Gt+"dblclick"+e];t.removeEventListener(Ut,i,!1),t.removeEventListener(qt,n,!1),nt||t.removeEventListener("dblclick",o,!1)}(t,o),t[Le][o]=null}function De(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,$e(t),this}function ze(t){return Ee(t,"mousewheel",De),this}function Ie(t){return xe(t,"mousedown touchstart dblclick",De),Ee(t,"click",Ze),this}function Be(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return Be(t),De(t),this}function Re(t,e){if(!e)return new D(t.clientX,t.clientY);var i=Me(e),n=i.boundingClientRect;return new D((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var je=ft&&ut?2*window.devicePixelRatio:ht?window.devicePixelRatio:1;function Fe(t){return nt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var He,We={};function Ze(t){We[t.type]=!0}function $e(t){var e=We[t.type];return We[t.type]=!1,e}function Ve(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var Ue=(Object.freeze||Object)({on:xe,off:Te,stopPropagation:De,disableScrollPropagation:ze,disableClickPropagation:Ie,preventDefault:Be,stop:Ne,getMousePosition:Re,getWheelDelta:Fe,fakeStop:Ze,skipped:$e,isExternalTarget:Ve,addListener:xe,removeListener:Te}),qe=O.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ve(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),ye(this._el,i),this.fire("step")},_complete:function(){C(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ge=O.extend({options:{crs:K,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=m(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(H(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ee&&vt&&!Mt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),xe(this._proxy,ie,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(H(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),a=(t instanceof D?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(a));return this.setView(r,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():j(t);var i=I(e.paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var a=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),s=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(s).divideBy(2).add(a),o),zoom:o}},fitBounds:function(t,e){if(!(t=j(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=I(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new qe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){he(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(!1===(i=i||{}).animate||!vt)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),a=this.getSize(),r=this._zoom;t=H(t),e=void 0===e?r:e;var s=Math.max(a.x,a.y),l=s*this.getZoomScale(r,e),c=o.distanceTo(n)||1,u=1.42,h=u*u;function d(t){var e=(l*l-s*s+(t?-1:1)*h*h*c*c)/(2*(t?l:s)*h*c),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function p(t){return(Math.exp(t)-Math.exp(-t))/2}function m(t){return(Math.exp(t)+Math.exp(-t))/2}var f=d(0);var g=Date.now(),_=(d(1)-f)/u,y=i.duration?1e3*i.duration:1e3*_*.8;return this._moveStart(!0,i.noMoveStart),function i(){var a=(Date.now()-g)/y,l=function(t){return 1-Math.pow(1-t,1.5)}(a)*_;a<=1?(this._flyToFrame=M(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(function(t){return s*(m(f)*function(t){return p(t)/m(t)}(f+u*t)-p(f))/h}(l)/c)),r),this.getScaleZoom(s/function(t){return s*(m(f)/m(f+u*t))}(l),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return(t=j(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,j(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=I((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),a=this.project(o),r=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=N([s.min.add(i),s.max.subtract(n)]);if(!c.contains(r)){this._enforcingBounds=!0;var u=a.subtract(r),h=I(r.x+u.x,r.y+u.y);(r.x<c.min.x||r.x>c.max.x)&&(h.x=a.x-u.x,0<u.x?h.x+=l.x-i.x:h.x-=l.x-n.x),(r.y<c.min.y||r.y>c.max.y)&&(h.y=a.y-u.y,0<u.y?h.y+=l.y-i.y:h.y-=l.y-n.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),o=e.divideBy(2).round(),r=n.divideBy(2).round(),s=o.subtract(r);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=a(this._handleGeolocationResponse,this),n=a(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=new F(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var a={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(a[r]=t.coords[r]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),re(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(C(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)re(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=ae("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new R(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=j(t),i=I(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(i),c=N(this.project(s,n),this.project(r,n)).getSize(),u=vt?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=e?Math.max(h,d):Math.min(h,d);return n=this.getScaleZoom(p,n),u&&(n=Math.round(n/(u/100))*(u/100),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(a,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new B(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(j(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return Re(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ne(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");xe(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,he(t,"leaflet-container"+(St?" leaflet-touch":"")+(xt?" leaflet-retina":"")+(it?" leaflet-oldie":"")+(dt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=oe(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ye(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(he(t.markerPane,"leaflet-zoom-hide"),he(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ye(this._mapPane,new D(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return C(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ye(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?Te:xe;e((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){C(this._resizeRequest),this._resizeRequest=M(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,r=!1;a;){if((i=this._targets[s(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!Ve(a,t))break;if(n.push(i),o)break}if(a===this._container)break;a=a.parentNode}return n.length||r||o||!Ve(a,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!$e(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||ke(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var a=n[0];"contextmenu"===e&&a.listens(e,!0)&&Be(t);var r={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);r.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=s?a.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<n.length;l++)if(n[l].fire(e,r,!0),r.originalEvent._stopped||!1===n[l].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return ve(this._mapPane)||new D(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return N([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),a=new B(n.subtract(o),n.add(o)),r=this._getBoundsOffset(a,i,e);return r.round().equals([0,0])?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new B(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=N(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),a=n.max.subtract(t.max);return new D(this._rebound(o.x,-a.x),this._rebound(o.y,-a.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=vt?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){de(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=ae("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=te,i=this._proxy.style[e];_e(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),e=this.getZoom();_e(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){re(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(M(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,he(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&de(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M(function(){this._moveEnd(!0)},this))}});function Ye(t){return new Ke(t)}var Ke=T.extend({options:{position:"topright"},initialize:function(t){m(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return he(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(re(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}});Ge.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=ae("div",e+"control-container",this._container);function n(n,o){var a=e+n+" "+e+o;t[n+o]=ae("div",a,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)re(this._controlCorners[t]);re(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Qe=Ke.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in m(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ke.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(s(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){he(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(he(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):de(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return de(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ae("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ie(e),ze(e);var n=this._section=ae("section",t+"-list");i&&(this._map.on("click",this.collapse,this),at||xe(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=ae("a",t+"-toggle",e);o.href="#",o.title="Layers",St?(xe(o,"click",Ne),xe(o,"click",this.expand,this)):xe(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=ae("div",t+"-base",n),this._separator=ae("div",t+"-separator",n),this._overlaysList=ae("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(a(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;se(this._baseLayersList),se(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&1<o,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+s(this),n),this._layerControlInputs.push(e),e.layerId=s(t.layer),xe(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var a=document.createElement("div");return i.appendChild(a),a.appendChild(e),a.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var a=i.length-1;0<=a;a--)t=i[a],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<n.length;a++)this._map.hasLayer(n[a])||this._map.addLayer(n[a]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Je=Ke.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=ae("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var a=ae("a",i,n);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Ie(a),xe(a,"click",Ne),xe(a,"click",o,this),xe(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";de(this._zoomInButton,e),de(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||he(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||he(this._zoomInButton,e)}});Ge.mergeOptions({zoomControl:!0}),Ge.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Je,this.addControl(this.zoomControl))});var Xe=Ke.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=ae("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=ae("div",e,i)),t.imperial&&(this._iScale=ae("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;5280<o?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(10<=i?10:5<=i?5:3<=i?3:2<=i?2:1)}}),ti=Ke.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){m(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=ae("div","leaflet-control-attribution"),Ie(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}});Ge.mergeOptions({attributionControl:!0}),Ge.addInitHook(function(){this.options.attributionControl&&(new ti).addTo(this)}),Ke.Layers=Qe,Ke.Zoom=Je,Ke.Scale=Xe,Ke.Attribution=ti,Ye.layers=function(t,e,i){return new Qe(t,e,i)},Ye.zoom=function(t){return new Je(t)},Ye.scale=function(t){return new Xe(t)},Ye.attribution=function(t){return new ti(t)};var ei=T.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});ei.addTo=function(t,e){return t.addHandler(e,this),this};var ii,ni={Events:E},oi=St?"touchstart mousedown":"mousedown",ai={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},ri={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},si=O.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){m(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(xe(this._dragStartTarget,oi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(si._dragging===this&&this.finishDrag(),Te(this._dragStartTarget,oi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!ue(this._element,"leaflet-zoom-anim")&&!(si._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((si._dragging=this)._preventOutline&&ke(this._element),we(),Yt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Se(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=Me(i),xe(document,ri[t.type],this._onMove,this),xe(document,ai[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&1<t.touches.length)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new D(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Be(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ve(this._element).subtract(i),he(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),he(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,C(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ye(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in de(document.body,"leaflet-dragging"),this._lastTarget&&(de(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ri)Te(document,ri[t],this._onMove,this),Te(document,ai[t],this._onUp,this);Ae(),Kt(),this._moved&&this._moving&&(C(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,si._dragging=!1}});function li(t,e){if(!e||!t.length)return t.slice();var i=e*e;return function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)c<(l=pi(e[s],e[o],e[a],!0))&&(r=s,c=l);n<c&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,a))}(t,n,e,0,i-1);var o,a=[];for(o=0;o<i;o++)n[o]&&a.push(t[o]);return a}(t=function(t,e){for(var i=[t[0]],n=1,o=0,a=t.length;n<a;n++)r=t[n],e<(l=(s=t[o]).x-r.x)*l+(c=s.y-r.y)*c&&(i.push(t[n]),o=n);var r,s,l,c;return o<a-1&&i.push(t[a-1]),i}(t,i),i)}function ci(t,e,i){return Math.sqrt(pi(t,e,i,!0))}function ui(t,e,i,n,o){var a,r,s,l=n?ii:di(t,i),c=di(e,i);for(ii=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=di(r=hi(t,e,a=l||c,i,o),i),a===l?(t=r,l=s):(e=r,c=s)}}function hi(t,e,i,n,o){var a,r,s=e.x-t.x,l=e.y-t.y,c=n.min,u=n.max;return 8&i?(a=t.x+s*(u.y-t.y)/l,r=u.y):4&i?(a=t.x+s*(c.y-t.y)/l,r=c.y):2&i?(a=u.x,r=t.y+l*(u.x-t.x)/s):1&i&&(a=c.x,r=t.y+l*(c.x-t.x)/s),new D(a,r,o)}function di(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function pi(t,e,i,n){var o,a=e.x,r=e.y,s=i.x-a,l=i.y-r,c=s*s+l*l;return 0<c&&(1<(o=((t.x-a)*s+(t.y-r)*l)/c)?(a=i.x,r=i.y):0<o&&(a+=s*o,r+=l*o)),s=t.x-a,l=t.y-r,n?s*s+l*l:new D(a,r)}function mi(t){return!y(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function fi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mi(t)}var gi=(Object.freeze||Object)({simplify:li,pointToSegmentDistance:ci,closestPointOnSegment:function(t,e,i){return pi(t,e,i)},clipSegment:ui,_getEdgeIntersection:hi,_getBitCode:di,_sqClosestPointOnSegment:pi,isFlat:mi,_flat:fi});function _i(t,e,i){var n,o,a,r,s,l,c,u,h,d=[1,4,2,8];for(o=0,c=t.length;o<c;o++)t[o]._code=di(t[o],e);for(r=0;r<4;r++){for(u=d[r],n=[],o=0,a=(c=t.length)-1;o<c;a=o++)s=t[o],l=t[a],s._code&u?l._code&u||((h=hi(l,s,u,e,i))._code=di(h,e),n.push(h)):(l._code&u&&((h=hi(l,s,u,e,i))._code=di(h,e),n.push(h)),n.push(s));t=n}return t}var yi,vi=(Object.freeze||Object)({clipPolygon:_i}),bi={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new F(t.y,t.x)},bounds:new B([-180,-90],[180,90])},wi={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,a=Math.sqrt(1-o*o),r=a*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),a/2);return n=-i*Math.log(Math.max(s,1e-10)),new D(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=c=Math.PI/2-2*Math.atan(r*e)-s;return new F(s*i,t.x*i/n)}},Ai=(Object.freeze||Object)({LonLat:bi,Mercator:wi,SphericalMercator:U}),ki=i({},$,{code:"EPSG:3395",projection:wi,transformation:(yi=.5/(Math.PI*wi.R),G(yi,.5,-yi,.5))}),Pi=i({},$,{code:"EPSG:4326",projection:bi,transformation:G(1/180,1,-1/180,.5)}),Si=i({},Z,{projection:bi,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});Z.Earth=$,Z.EPSG3395=ki,Z.EPSG3857=K,Z.EPSG900913=Q,Z.EPSG4326=Pi,Z.Simple=Si;var Mi=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ge.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&s(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?y(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=s(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ci=Mi.extend({initialize:function(t,e){var i,n;if(m(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return s(t)}}),xi=Ci.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ci.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ci.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new R;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Li=T.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){m(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=I(n),a=I("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),a&&(t.style.marginLeft=-a.x+"px",t.style.marginTop=-a.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return xt&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Ti=Li.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Ti.imagePath||(Ti.imagePath=this._detectIconPath()),(this.options.imagePath||Ti.imagePath)+Li.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ae("div","leaflet-default-icon-path",document.body),e=oe(t,"background-image")||oe(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Ei=ei.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new si(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),he(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&de(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=ve(e._icon),r=i.getPixelBounds(),s=i.getPixelOrigin(),l=N(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));if(!l.contains(a)){var c=I((Math.max(l.max.x,a.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,a.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,a.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,a.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(n);i.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),ye(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(C(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=ve(e._icon),o=e._map.layerPointToLatLng(n);i&&ye(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){C(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Oi=Mi.extend({options:{icon:new Ti,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){m(this,e),this._latlng=H(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),he(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),a=!1;o!==this._shadow&&(this._removeShadow(),a=!0),o&&(he(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&a&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),re(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&re(this._shadow),this._shadow=null},_setPos:function(t){ye(this._icon,t),this._shadow&&ye(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(he(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ei)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ei(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&fe(this._icon,t),this._shadow&&fe(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Di=Mi.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return m(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),zi=Di.extend({options:{fill:!0,radius:10},initialize:function(t,e){m(this,e),this._latlng=H(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=H(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Di.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new B(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Ii=zi.extend({initialize:function(t,e,n){if("number"==typeof e&&(e=i({},n,{radius:e})),m(this,e),this._latlng=H(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Di.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===$.distance){var o=Math.PI/180,a=this._mRadius/$.R/o,r=i.project([e+a,t]),s=i.project([e-a,t]),l=r.add(s).divideBy(2),c=i.unproject(l).lat,u=Math.acos((Math.cos(a*o)-Math.sin(e*o)*Math.sin(c*o))/(Math.cos(e*o)*Math.cos(c*o)))/o;!isNaN(u)&&0!==u||(u=a/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-i.project([c,t-u]).x,this._radiusY=l.y-r.y}else{var h=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(h).x}this._updateBounds()}}),Bi=Di.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){m(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,a=pi,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var h=a(t,e=l[c-1],i=l[c],!0);h<n&&(n=h,o=a(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r,s=this._rings[0],l=s.length;if(!l)return null;for(e=t=0;t<l-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(n=t=0;t<l-1;t++)if(o=s[t],a=s[t+1],e<(n+=i=o.distanceTo(a)))return r=(n-e)/i,this._map.layerPointToLatLng([a.x-r*(a.x-o.x),a.y-r*(a.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return mi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=mi(t),n=0,o=t.length;n<o;n++)i?(e[n]=H(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new D(t,t);this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,i){var n,o,a=t[0]instanceof F,r=t.length;if(a){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,a,r,s,l=this._parts;for(n=e=0,o=this._rings.length;e<o;e++)for(i=0,a=(s=this._rings[e]).length;i<a-1;i++)(r=ui(s[i],s[i+1],t,i,!0))&&(l[n]=l[n]||[],l[n].push(r[0]),r[1]===s[i+1]&&i!==a-2||(l[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=li(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,a,r,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,a=this._parts.length;i<a;i++)for(n=0,o=(r=(s=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&ci(t,s[o],s[n])<=l)return!0;return!1}});Bi._flat=fi;var Ni=Bi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(a=r=s=0,t=0,e=u-1;t<u;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,s+=(i.y+n.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var e=Bi.prototype._convertLatLngs.call(this,t),i=e.length;return 2<=i&&e[0]instanceof F&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){Bi.prototype._setLatLngs.call(this,t),mi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new D(e,e);if(t=new B(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,a=this._rings.length;o<a;o++)(n=_i(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,a,r,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(e=this._parts[o]).length)-1;a<l;r=a++)i=e[a],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||Bi.prototype._containsPoint.call(this,t,!0)}}),Ri=xi.extend({initialize:function(t,e){m(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=y(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var a=this.options;if(a.filter&&!a.filter(t))return this;var r=ji(t,a);return r?(r.feature=Vi(t),r.defaultOptions=r.options,this.resetStyle(r),a.onEachFeature&&a.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ji(t,e){var i,n,o,a,r="Feature"===t.type?t.geometry:t,s=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Fi;if(!s&&!r)return null;switch(r.type){case"Point":return i=u(s),c?c(t,i):new Oi(i);case"MultiPoint":for(o=0,a=s.length;o<a;o++)i=u(s[o]),l.push(c?c(t,i):new Oi(i));return new xi(l);case"LineString":case"MultiLineString":return n=Hi(s,"LineString"===r.type?0:1,u),new Bi(n,e);case"Polygon":case"MultiPolygon":return n=Hi(s,"Polygon"===r.type?1:2,u),new Ni(n,e);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var h=ji({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new xi(l);default:throw new Error("Invalid GeoJSON object.")}}function Fi(t){return new F(t[1],t[0],t[2])}function Hi(t,e,i){for(var n,o=[],a=0,r=t.length;a<r;a++)n=e?Hi(t[a],e-1,i):(i||Fi)(t[a]),o.push(n);return o}function Wi(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[h(t.lng,e),h(t.lat,e),h(t.alt,e)]:[h(t.lng,e),h(t.lat,e)]}function Zi(t,e,i,n){for(var o=[],a=0,r=t.length;a<r;a++)o.push(e?Zi(t[a],e-1,i,n):Wi(t[a],n));return!e&&i&&o.push(o[0]),o}function $i(t,e){return t.feature?i({},t.feature,{geometry:e}):Vi(e)}function Vi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ui={toGeoJSON:function(t){return $i(this,{type:"Point",coordinates:Wi(this.getLatLng(),t)})}};function qi(t,e){return new Ri(t,e)}Oi.include(Ui),Ii.include(Ui),zi.include(Ui),Bi.include({toGeoJSON:function(t){var e=!mi(this._latlngs);return $i(this,{type:(e?"Multi":"")+"LineString",coordinates:Zi(this._latlngs,e?1:0,!1,t)})}}),Ni.include({toGeoJSON:function(t){var e=!mi(this._latlngs),i=e&&!mi(this._latlngs[0]),n=Zi(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),$i(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ci.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),$i(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var a=Vi(o);"FeatureCollection"===a.type?n.push.apply(n,a.features):n.push(a)}}}),i?$i(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Gi=qi,Yi=Mi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=j(e),m(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(he(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){re(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&le(this._image),this},bringToBack:function(){return this._map&&ce(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=j(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:ae("img");he(e,"leaflet-image-layer"),this._zoomAnimated&&he(e,"leaflet-zoom-animated"),this.options.className&&he(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onload=a(this.fire,this,"load"),e.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;_e(this._image,i,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ye(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){fe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Ki=Yi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:ae("video");if(he(e,"leaflet-image-layer"),this._zoomAnimated&&he(e,"leaflet-zoom-animated"),e.onselectstart=u,e.onmousemove=u,e.onloadeddata=a(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&e.style.hasOwnProperty("objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var r=0;r<this._url.length;r++){var s=ae("source");s.src=this._url[r],e.appendChild(s)}}}}),Qi=Yi.extend({_initImage:function(){var t=this._image=this._url;he(t,"leaflet-image-layer"),this._zoomAnimated&&he(t,"leaflet-zoom-animated"),t.onselectstart=u,t.onmousemove=u}}),Ji=Mi.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){m(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&fe(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&fe(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(fe(this._container,0),this._removeTimeout=setTimeout(a(re,void 0,this._container),200)):re(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=H(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&le(this._container),this},bringToBack:function(){return this._map&&ce(this._container),this},_prepareOpen:function(t,e,i){if(e instanceof Mi||(i=e,e=t),e instanceof xi)for(var n in t._layers){e=t._layers[n];break}if(!i)if(e.getCenter)i=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");i=e.getLatLng()}return this._source=e,this.update(),i},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=I(this.options.offset),i=this._getAnchor();this._zoomAnimated?ye(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),Xi=Ji.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Ji.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Di||this._source.on("preclick",De))},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Di||this._source.off("preclick",De))},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=ae("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=ae("div",t+"-content-wrapper",e);if(this._contentNode=ae("div",t+"-content",i),Ie(i),ze(this._contentNode),xe(i,"contextmenu",De),this._tipContainer=ae("div",t+"-tip-container",e),this._tip=ae("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=ae("a",t+"-close-button",e);n.href="#close",n.innerHTML="&#215;",xe(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,a="leaflet-popup-scrolled";o&&o<n?(e.height=o+"px",he(t,a)):de(t,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ye(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(oe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new D(this._containerLeft,-i-this._containerBottom);o._add(ve(this._container));var a=t.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),s=I(this.options.autoPanPaddingTopLeft||r),l=I(this.options.autoPanPaddingBottomRight||r),c=t.getSize(),u=0,h=0;a.x+n+l.x>c.x&&(u=a.x+n-c.x+l.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+i+l.y>c.y&&(h=a.y+i-c.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(u||h)&&t.fire("autopanstart").panBy([u,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ge.mergeOptions({closePopupOnClick:!0}),Ge.include({openPopup:function(t,e,i){return t instanceof Xi||(t=new Xi(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Mi.include({bindPopup:function(t,e){return t instanceof Xi?(m(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new Xi(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof Di?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var tn=Ji.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Ji.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return St&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ae("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),o=e.layerPointToContainerPoint(t),a=this.options.direction,r=i.offsetWidth,s=i.offsetHeight,l=I(this.options.offset),c=this._getAnchor();t="top"===a?t.add(I(-r/2+l.x,-s+l.y+c.y,!0)):"bottom"===a?t.subtract(I(r/2-l.x,-l.y,!0)):"center"===a?t.subtract(I(r/2+l.x,s/2-c.y+l.y,!0)):"right"===a||"auto"===a&&o.x<n.x?(a="right",t.add(I(l.x+c.x,c.y-s/2+l.y,!0))):(a="left",t.subtract(I(r+c.x-l.x,s/2-c.y-l.y,!0))),de(i,"leaflet-tooltip-right"),de(i,"leaflet-tooltip-left"),de(i,"leaflet-tooltip-top"),de(i,"leaflet-tooltip-bottom"),he(i,"leaflet-tooltip-"+a),ye(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&fe(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ge.include({openTooltip:function(t,e,i){return t instanceof tn||(t=new tn(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Mi.include({bindTooltip:function(t,e){return t instanceof tn?(m(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new tn(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),St&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(he(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(de(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var en=Li.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(se(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=I(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Li.Default=Ti;var nn=Mi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:bt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){m(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),re(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(le(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ce(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof D?t:new D(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,a=i.length;o<a;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!it){fe(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var a=Math.min(1,(t-o.loaded)/200);fe(o.el,a),a<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:u,_initContainer:function(){this._container||(this._container=ae("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(re(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=ae("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)re(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var o=Math.floor(t/2),a=Math.floor(e/2),r=i-1,s=new D(+o,+a);s.z=+r;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n<r&&this._retainParent(o,a,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var a=2*e;a<2*e+2;a++){var r=new D(o,a);r.z=i+1;var s=this._tileCoordsToKey(r),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,a,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=this._clampZoom(Math.round(e));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var a=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();vt?_e(t.el,o,n):ye(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),a=e.getSize().divideBy(2*n);return new B(o.subtract(a),o.add(a))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),a=o.getCenter(),r=[],s=this.options.keepBuffer,l=new B(o.getBottomLeft().subtract([s,-s]),o.getTopRight().add([s,-s]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new D(u.x,u.y))||(this._tiles[c].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var m=this._tiles[this._tileCoordsToKey(p)];m?m.current=!0:r.push(p)}}if(r.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var f=document.createDocumentFragment();for(d=0;d<r.length;d++)this._addTile(r[d],f);this._level.el.appendChild(f)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return j(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new R(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new D(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(re(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){he(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,it&&this.options.opacity<1&&fe(t,this.options.opacity),at&&!rt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),a(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&M(a(this._tileReady,this,t,null,o)),ye(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(fe(i.el,0),C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(he(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),it||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?c(t.x,this._wrapX):t.x,this._wrapY?c(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),on=nn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=m(this,e)).detectRetina&&xt&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),at||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return xe(i,"load",a(this._tileOnLoad,this,e,i)),xe(i,"error",a(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:xt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,e){it?setTimeout(a(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=u,e.onerror=u,e.complete||(e.src=b,re(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return lt||e.el.setAttribute("src",b),nn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==b))return nn.prototype._tileReady.call(this,t,e,i)}});function an(t,e){return new on(t,e)}var rn=on.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var a=(e=m(this,e)).detectRetina&&xt?2:1,r=this.getTileSize();n.width=r.x*a,n.height=r.y*a,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,on.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=N(i.project(e[0]),i.project(e[1])),o=n.min,a=n.max,r=(1.3<=this._wmsVersion&&this._crs===Pi?[o.y,o.x,a.y,a.x]:[o.x,o.y,a.x,a.y]).join(","),s=on.prototype.getTileUrl.call(this,t);return s+f(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});on.WMS=rn,an.wms=function(t,e){return new rn(t,e)};var sn=Mi.extend({options:{padding:.1,tolerance:0},initialize:function(t){m(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&he(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=ve(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),r=this._map.project(t,e).subtract(a),s=o.multiplyBy(-i).add(n).add(o).subtract(r);vt?_e(this._container,s,i):ye(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ln=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){sn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");xe(t,"mousemove",l(this._onMouseMove,32,this),this),xe(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),xe(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){C(this._redrawRequest),delete this._ctx,re(this._container),Te(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=xt?2:1;ye(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",xt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){sn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);var e=(this._layers[s(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,a,r=t._parts,s=r.length,l=this._ctx;if(s){for(l.beginPath(),i=0;i<s;i++){for(n=0,o=r[i].length;n<o;n++)a=r[i][n],l[n?"lineTo":"moveTo"](a.x,a.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!=o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(Ze(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(de(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(he(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&((i.prev=n)?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,(this._drawLast.next=e).next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&((n.next=i)?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function cn(t){return Lt?new ln(t):null}var un=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),hn={_initContainer:function(){this._container=ae("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(sn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=un("shape");he(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=un("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;re(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=un("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=y(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=un("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){le(t._container)},_bringToBack:function(t){ce(t._container)}},dn=Et?un:J,pn=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=dn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=dn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){re(this._container),Te(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ye(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=dn("path");t.options.className&&he(e,t.options.className),t.options.interactive&&he(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){re(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,X(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){le(t._path)},_bringToBack:function(t){ce(t._path)}});function mn(t){return Tt||Et?new pn(t):null}Et&&pn.include(hn),Ge.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&cn(t)||mn(t)}});var fn=Ni.extend({initialize:function(t,e){Ni.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=j(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});pn.create=dn,pn.pointsToPath=X,Ri.geometryToLayer=ji,Ri.coordsToLatLng=Fi,Ri.coordsToLatLngs=Hi,Ri.latLngToCoords=Wi,Ri.latLngsToCoords=Zi,Ri.getFeature=$i,Ri.asFeature=Vi,Ge.mergeOptions({boxZoom:!0});var gn=ei.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){xe(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Te(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){re(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Yt(),we(),this._startPoint=this._map.mouseEventToContainerPoint(t),xe(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ae("div","leaflet-zoom-box",this._container),he(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),i=e.getSize();ye(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(re(this._box),de(this._container,"leaflet-crosshair")),Kt(),Ae(),Te(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ge.addInitHook("addHandler","boxZoom",gn),Ge.mergeOptions({doubleClickZoom:!0});var _n=ei.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});Ge.addInitHook("addHandler","doubleClickZoom",_n),Ge.mergeOptions({dragging:!0,inertia:!rt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var yn=ei.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new si(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}he(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){de(this._map._container,"leaflet-grab"),de(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=j(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,a=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(a+i)?o:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,s=o.multiplyBy(r/a),l=s.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(i.inertiaDeceleration*r),d=u.multiplyBy(-h/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),M(function(){e.panBy(d,{duration:h,easeLinearity:r,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});Ge.addInitHook("addHandler","dragging",yn),Ge.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vn=ei.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),xe(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Te(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){xe(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Te(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=I(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Ne(t)}}});Ge.addInitHook("addHandler","keyboard",vn),Ge.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bn=ei.extend({addHooks:function(){xe(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Te(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Fe(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),n),Ne(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,a=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(0<this._delta?a:-a))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});Ge.addInitHook("addHandler","scrollWheelZoom",bn),Ge.mergeOptions({tap:!0,tapTolerance:15});var wn=ei.extend({addHooks:function(){xe(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Te(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Be(t),this._fireClick=!0,1<t.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],i=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&he(i,"leaflet-active"),this._holdTimeout=setTimeout(a(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),xe(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Te(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],i=e.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&de(i,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}});St&&!Pt&&Ge.addInitHook("addHandler","tap",wn),Ge.mergeOptions({touchZoom:St&&!rt,bounceAtZoomLimits:!0});var An=ei.extend({addHooks:function(){he(this._map._container,"leaflet-touch-zoom"),xe(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){de(this._map._container,"leaflet-touch-zoom"),Te(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),xe(document,"touchmove",this._onTouchMove,this),xe(document,"touchend",this._onTouchEnd,this),Be(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),C(this._animRequest);var s=a(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(s,this,!0),Be(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,C(this._animRequest),Te(document,"touchmove",this._onTouchMove),Te(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ge.addInitHook("addHandler","touchZoom",An),Ge.BoxZoom=gn,Ge.DoubleClickZoom=_n,Ge.Drag=yn,Ge.Keyboard=vn,Ge.ScrollWheelZoom=bn,Ge.Tap=wn,Ge.TouchZoom=An,Object.freeze=e,t.version="1.5.1+HEAD.2e3e0ff",t.Control=Ke,t.control=Ye,t.Browser=Dt,t.Evented=O,t.Mixin=ni,t.Util=x,t.Class=T,t.Handler=ei,t.extend=i,t.bind=a,t.stamp=s,t.setOptions=m,t.DomEvent=Ue,t.DomUtil=Ce,t.PosAnimation=qe,t.Draggable=si,t.LineUtil=gi,t.PolyUtil=vi,t.Point=D,t.point=I,t.Bounds=B,t.bounds=N,t.Transformation=q,t.transformation=G,t.Projection=Ai,t.LatLng=F,t.latLng=H,t.LatLngBounds=R,t.latLngBounds=j,t.CRS=Z,t.GeoJSON=Ri,t.geoJSON=qi,t.geoJson=Gi,t.Layer=Mi,t.LayerGroup=Ci,t.layerGroup=function(t,e){return new Ci(t,e)},t.FeatureGroup=xi,t.featureGroup=function(t){return new xi(t)},t.ImageOverlay=Yi,t.imageOverlay=function(t,e,i){return new Yi(t,e,i)},t.VideoOverlay=Ki,t.videoOverlay=function(t,e,i){return new Ki(t,e,i)},t.SVGOverlay=Qi,t.svgOverlay=function(t,e,i){return new Qi(t,e,i)},t.DivOverlay=Ji,t.Popup=Xi,t.popup=function(t,e){return new Xi(t,e)},t.Tooltip=tn,t.tooltip=function(t,e){return new tn(t,e)},t.Icon=Li,t.icon=function(t){return new Li(t)},t.DivIcon=en,t.divIcon=function(t){return new en(t)},t.Marker=Oi,t.marker=function(t,e){return new Oi(t,e)},t.TileLayer=on,t.tileLayer=an,t.GridLayer=nn,t.gridLayer=function(t){return new nn(t)},t.SVG=pn,t.svg=mn,t.Renderer=sn,t.Canvas=ln,t.canvas=cn,t.Path=Di,t.CircleMarker=zi,t.circleMarker=function(t,e){return new zi(t,e)},t.Circle=Ii,t.circle=function(t,e,i){return new Ii(t,e,i)},t.Polyline=Bi,t.polyline=function(t,e){return new Bi(t,e)},t.Polygon=Ni,t.polygon=function(t,e){return new Ni(t,e)},t.Rectangle=fn,t.rectangle=function(t,e){return new fn(t,e)},t.Map=Ge,t.map=function(t,e){return new Ge(t,e)};var kn=window.L;t.noConflict=function(){return window.L=kn,this},window.L=t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t.Leaflet=t.Leaflet||{},t.Leaflet.markercluster=t.Leaflet.markercluster||{}))}(this,function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,i=this._zoom;if(t.__parent)for(;e.__parent._zoom>=i;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var i,n=this._featureGroup,o=this._nonPointGroup,a=this.options.chunkedLoading,r=this.options.chunkInterval,s=this.options.chunkProgress,l=t.length,c=0,u=!0;if(this._map){var h=(new Date).getTime(),d=L.bind(function(){for(var p=(new Date).getTime();l>c;c++){if(a&&0==c%200)if((new Date).getTime()-p>r)break;if((i=t[c])instanceof L.LayerGroup)u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),l=t.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),e||this.fire("layeradd",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var m=i.__parent.getAllChildMarkers(),f=m[0]===i?m[1]:m[0];n.removeLayer(f)}}else o.addLayer(i),e||this.fire("layeradd",{layer:i})}s&&s(c,l,(new Date).getTime()-h),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var p=this._needsClustering;l>c;c++)(i=t[c])instanceof L.LayerGroup?(u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),l=t.length):i.getLatLng?this.hasLayer(i)||p.push(i):o.addLayer(i);return this},removeLayers:function(t){var e,i,n=t.length,o=this._featureGroup,a=this._nonPointGroup,r=!0;if(!this._map){for(e=0;n>e;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):(this._arraySplice(this._needsClustering,i),a.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var s=t.slice(),l=n;for(e=0;l>e;e++)(i=s[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(i,s),l=s.length):this._unspiderfyLayer(i)}for(e=0;n>e;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire("layerremove",{layer:i}),o.hasLayer(i)&&(o.removeLayer(i),i.clusterShow&&i.clusterShow())):(a.removeLayer(i),this.fire("layerremove",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;e>=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var i,n,o,a=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(a),n=a.length-1;n>=0;n--){for(i=!0,o=r.length-1;o>=0;o--)if(r[o].layer===a[n]){i=!1;break}i&&t.call(e,a[n])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer(function(e){t.push(e)}),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer(function(i){L.stamp(i)===t&&(e=i)}),e},hasLayer:function(t){if(!t)return!1;var e,i=this._needsClustering;for(e=i.length-1;e>=0;e--)if(i[e]===t)return!0;for(e=(i=this._needsRemoving).length-1;e>=0;e--)if(i[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){"function"!=typeof e&&(e=function(){});var i=function(){!t._icon&&!t.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),t._icon?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,i,n;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,i=this._needsRemoving.length;i>e;e++)(n=this._needsRemoving[e]).newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(e=0,i=this._needsRemoving.length;i>e;e++)n=this._needsRemoving[e],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return t.splice(i,1),!0},_removeFromGridUnclustered:function(t,e){for(var i=this._map,n=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());e>=o&&n[e].removeObject(t,i.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,i){t._latlng=e,this.removeLayer(t),t._latlng=i,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,i){var n=this._gridClusters,o=this._gridUnclustered,a=this._featureGroup,r=this._map,s=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,c=t.__parent,u=c._markers;for(this._arraySplice(u,t);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<s));)e&&c._childCount<=1?(l=c._markers[0]===t?c._markers[1]:c._markers[0],n[c._zoom].removeObject(c,r.project(c._cLatLng,c._zoom)),o[c._zoom].addObject(l,r.project(l.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(l),l.__parent=c.__parent,c._icon&&(a.removeLayer(c),i||a.addLayer(l))):c._iconNeedsUpdate=!0,c=c.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,i){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,i)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),i=" marker-cluster-";return i+=10>e?"small":100>e?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(e||n)&&this.on("clusterclick",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){for(var e=t.layer,i=e;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(t||i)&&this.off("clusterclick",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),n.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;"function"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var o=t;o>=e;o--)this._gridClusters[o]=new L.DistanceGrid(n(o)),this._gridUnclustered[o]=new L.DistanceGrid(n(o));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var i,n,o=this._gridClusters,a=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=r;e--){i=this._map.project(t.getLatLng(),e);var s=o[e].getNearObject(i);if(s)return s._addChild(t),void(t.__parent=s);if(s=a[e].getNearObject(i)){var l=s.__parent;l&&this._removeLayer(s,!1);var c=new this._markerCluster(this,e,s,t);o[e].addObject(c,this._map.project(c._cLatLng,e)),s.__parent=c,t.__parent=c;var u=c;for(n=e-1;n>l._zoom;n--)u=new this._markerCluster(this,n,u),o[n].addObject(u,this._map.project(s.getLatLng(),n));return l._addChild(u),void this._removeFromGridUnclustered(s,e)}a[e].addObject(t,i)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()})},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var i=e.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var i,n=t.getLayers(),o=0;for(e=e||[];o<n.length;o++)(i=n[o])instanceof L.LayerGroup?this._extractNonGroupLayers(i,e):e.push(i);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(t,e){var i,n=this._getExpandedVisibleBounds(),o=this._featureGroup,a=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,t,a,function(a){var r,s=a._latlng,l=a._markers;for(n.contains(s)||(s=null),a._isSingleParent()&&t+1===e?(o.removeLayer(a),a._recursivelyAddChildrenToMap(null,e,n)):(a.clusterHide(),a._recursivelyAddChildrenToMap(s,e,n)),i=l.length-1;i>=0;i--)r=l[i],n.contains(r._latlng)||o.removeLayer(r)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,e),o.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()}),this._topClusterLevel._recursively(n,t,e,function(t){t._recursivelyRestoreChildPositions(e)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,t,a,function(t){o.removeLayer(t),t.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var i=this,n=this._featureGroup;n.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue(function(){n.removeLayer(t),t.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,i){var n=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(n,o,e+1,i);var a=this;this._forceLayout(),t._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===t._childCount){var r=t._markers[0];this._ignoreMove=!0,r.setLatLng(r.getLatLng()),this._ignoreMove=!1,r.clusterShow&&r.clusterShow()}else t._recursively(n,i,o,function(t){t._recursivelyRemoveChildrenFromMap(n,o,e+1)});a._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(t,e){t=t||[];for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i].getAllChildMarkers(t);for(var n=this._markers.length-1;n>=0;n--)e&&this._markers[n].__dragStart||t.push(this._markers[n]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,i=this._childClusters.slice(),n=this._group._map,o=n.getBoundsZoom(this._bounds),a=this._zoom+1,r=n.getZoom();i.length>0&&o>a;){a++;var s=[];for(e=0;e<i.length;e++)s=s.concat(i[e]._childClusters);i=s}o>a?this._group._map.setView(this._latlng,a):r>=o?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,i,n,o=this._markers,a=this._childClusters,r=0,s=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t<o.length;t++)i=o[t]._latlng,this._bounds.extend(i),r+=i.lat,s+=i.lng;for(t=0;t<a.length;t++)(e=a[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),i=e._wLatLng,n=e._childCount,r+=i.lat*n,s+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(r/l,s/l),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,i){this._recursively(t,this._group._map.getMinZoom(),i-1,function(t){var i,n,o=t._markers;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())},function(t){var i,n,o=t._childClusters;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,i,n){this._recursively(t,n,e,function(o){o._recursivelyAnimateChildrenIn(t,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),i),o._isSingleParent()&&i-1===n?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(t,e,i)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,function(t){t.clusterShow()})},_recursivelyAddChildrenToMap:function(t,e,i){this._recursively(i,this._group._map.getMinZoom()-1,e,function(n){if(e!==n._zoom)for(var o=n._markers.length-1;o>=0;o--){var a=n._markers[o];i.contains(a._latlng)&&(t&&(a._backupLatlng=a.getLatLng(),a.setLatLng(t),a.clusterHide&&a.clusterHide()),n._group._featureGroup.addLayer(a))}},function(e){e._addToMap(t)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var i=this._markers[e];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(t-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,i,n){var o,a;this._recursively(t,e-1,i-1,function(t){for(a=t._markers.length-1;a>=0;a--)o=t._markers[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(t){for(a=t._childClusters.length-1;a>=0;a--)o=t._childClusters[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(t,e,i,n,o){var a,r,s=this._childClusters,l=this._zoom;if(l>=e&&(n&&n(this),o&&l===i&&o(this)),e>l||i>l)for(a=s.length-1;a>=0;a--)(r=s[a])._boundsNeedUpdate&&r._recalculateBounds(),t.intersects(r._bounds)&&r._recursively(t,e,i,n,o)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var i=this._getCoord(e.x),n=this._getCoord(e.y),o=this._grid,a=o[n]=o[n]||{},r=a[i]=a[i]||[],s=L.Util.stamp(t);this._objectPoint[s]=e,r.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var i,n,o=this._getCoord(e.x),a=this._getCoord(e.y),r=this._grid,s=r[a]=r[a]||{},l=s[o]=s[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],i=0,n=l.length;n>i;i++)if(l[i]===t)return l.splice(i,1),1===n&&delete s[o],!0},eachObject:function(t,e){var i,n,o,a,r,s,l=this._grid;for(i in l)for(n in r=l[i])for(o=0,a=(s=r[n]).length;a>o;o++)t.call(e,s[o])&&(o--,a--)},getNearObject:function(t){var e,i,n,o,a,r,s,l,c=this._getCoord(t.x),u=this._getCoord(t.y),h=this._objectPoint,d=this._sqCellSize,p=null;for(e=u-1;u+1>=e;e++)if(o=this._grid[e])for(i=c-1;c+1>=i;i++)if(a=o[i])for(n=0,r=a.length;r>n;n++)s=a[n],(d>(l=this._sqDist(h[L.Util.stamp(s)],t))||d>=l&&null===p)&&(d=l,p=s);return p},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}},L.QuickHull={getDistant:function(t,e){var i=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+i*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var i,n,o,a=0,r=null,s=[];for(i=e.length-1;i>=0;i--)n=e[i],(o=this.getDistant(n,t))>0&&(s.push(n),o>a&&(a=o,r=n));return{maxPoint:r,newPoints:s}},buildConvexHull:function(t,e){var i=[],n=this.findMostDistantPointFromBaseLine(t,e);return n.maxPoint?i=(i=i.concat(this.buildConvexHull([t[0],n.maxPoint],n.newPoints))).concat(this.buildConvexHull([n.maxPoint,t[1]],n.newPoints)):[t[0]]},getConvexHull:function(t){var e,i=!1,n=!1,o=!1,a=!1,r=null,s=null,l=null,c=null,u=null,h=null;for(e=t.length-1;e>=0;e--){var d=t[e];(!1===i||d.lat>i)&&(r=d,i=d.lat),(!1===n||d.lat<n)&&(s=d,n=d.lat),(!1===o||d.lng>o)&&(l=d,o=d.lng),(!1===a||d.lng<a)&&(c=d,a=d.lng)}return n!==i?(h=s,u=r):(h=c,u=l),[].concat(this.buildConvexHull([h,u],t),this.buildConvexHull([u,h],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,i=this.getAllChildMarkers(),n=[];for(e=i.length-1;e>=0;e--)t=i[e].getLatLng(),n.push(t);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),i=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,i):(i.y+=10,t=this._generatePointsCircle(e.length,i)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var i,n,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,a=this._2PI/t,r=[];for(o=Math.max(o,35),r.length=t,i=0;t>i;i++)n=this._circleStartAngle+i*a,r[i]=new L.Point(e.x+o*Math.cos(n),e.y+o*Math.sin(n))._round();return r},_generatePointsSpiral:function(t,e){var i,n=this._group.options.spiderfyDistanceMultiplier,o=n*this._spiralLengthStart,a=n*this._spiralFootSeparation,r=n*this._spiralLengthFactor*this._2PI,s=0,l=[];for(l.length=t,i=t;i>=0;i--)t>i&&(l[i]=new L.Point(e.x+o*Math.cos(s),e.y+o*Math.sin(s))._round()),o+=r/(s+=a/o+5e-4*i);return l},_noanimationUnspiderfy:function(){var t,e,i=this._group,n=i._map,o=i._featureGroup,a=this.getAllChildMarkers(null,!0);for(i._ignoreMove=!0,this.setOpacity(1),e=a.length-1;e>=0;e--)t=a[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(n.removeLayer(t._spiderLeg),delete t._spiderLeg);i.fire("unspiderfied",{cluster:this,markers:a}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var i,n,o,a,r=this._group,s=r._map,l=r._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,i=0;i<t.length;i++)a=s.layerPointToLatLng(e[i]),n=t[i],o=new L.Polyline([this._latlng,a],c),s.addLayer(o),n._spiderLeg=o,n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.setZIndexOffset&&n.setZIndexOffset(1e6),l.addLayer(n);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var i,n,o,a,r,s,l=this,c=this._group,u=c._map,h=c._featureGroup,d=this._latlng,p=u.latLngToLayerPoint(d),m=L.Path.SVG,f=L.extend({},this._group.options.spiderLegPolylineOptions),g=f.opacity;for(void 0===g&&(g=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),m?(f.opacity=0,f.className=(f.className||"")+" leaflet-cluster-spider-leg"):f.opacity=g,c._ignoreMove=!0,i=0;i<t.length;i++)n=t[i],s=u.layerPointToLatLng(e[i]),o=new L.Polyline([d,s],f),u.addLayer(o),n._spiderLeg=o,m&&(r=(a=o._path).getTotalLength()+.1,a.style.strokeDasharray=r,a.style.strokeDashoffset=r),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),h.addLayer(n),n._setPos&&n._setPos(p);for(c._forceLayout(),c._animationStart(),i=t.length-1;i>=0;i--)s=u.layerPointToLatLng(e[i]),(n=t[i])._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.clusterShow&&n.clusterShow(),m&&((a=(o=n._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:g}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:t})},200)},_animationUnspiderfy:function(t){var e,i,n,o,a,r,s=this,l=this._group,c=l._map,u=l._featureGroup,h=t?c._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):c.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),p=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)(e=d[i])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,r=!0,e._setPos&&(e._setPos(h),r=!1),e.clusterHide&&(e.clusterHide(),r=!1),r&&u.removeLayer(e),p&&(a=(o=(n=e._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=a,n.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout(function(){var t=0;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&t++;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&u.removeLayer(e),c.removeLayer(e._spiderLeg),delete e._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:s,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,i;for(e in t)for(i=t[e].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,i;for(e in t)i=t[e],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(t,e){var i=this.options.icon;return L.setOptions(i,t),this.setIcon(i),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=i});
1
+ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");var words;function CroutonLocalization(t){this.language=t,this.words={ar:{days_of_the_week:["","الأحد","الاثنين","الثلاثاء","الأربعاء ","الخميس","الجمعة","السبت"],weekday:"يوم عمل",city:"مدينة",cities:"المدن",groups:"مجموعات",areas:"المناطق",regions:"المناطق",locations:"المواقع",counties:"المقاطعات",states:"المقاطعات",postal_codes:"الرموز البريدية",formats:"الأشكال",map:"خريطة",neighborhood:"الحي",near_me:"بالقرب مني",text_search:"البحث عن النص",click_search:"انقر فوق البحث",pan_and_zoom:"عموم + التكبير",languages:"اللغات",common_needs:"الاحتياجات المشتركة",meeting_count:"الاجتماعات الأسبوعية:",venue_types:"أنواع المكان",venue_type_choices:{IN_PERSON:"شخصيا",VIRTUAL:"افتراضي"},service_body_types:{AS:"لجنة خدمات المنطق",RS:"لجنة خدمات الإقلي.م",ZF:"منتدى المنطقة",MA:"لجنة خدمات العاصمة",LS:"خدمة المنتديات المحلية",GS:"Group Support Forum"},"css-direction":"bmlt-rtl",share:"مشاركة",tabular:"جدول",google_directions:"اتجاهات جوجل للاجتماع",no_meetings_for_this_day:"لا توجد اجتماعات لهذا اليوم.",all:"الجميع",menu:"القائمة","search for meetings":"البحث عن الاجتماعات","show meetings near...":"أظهر الاجتماعات بالقرب من...","filter meetings":"سرد الاجتماعات","visible meeting list":"قائمة الاجتماعات المرئية","enter a city or zip code":"أدخل المدينة أو الرمز البريدي","toggle fullscreen mode":"تبديل وضع ملء الشاشة",close:"قريب",bmlt2ics:"Add to your calendar","meeting page":"صفحة الاجتماع","meeting details":"تفاصيل الاجتماع","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"da-DK":{days_of_the_week:["","Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],weekday:"Ugedag",city:"By",cities:"Byer",groups:"Grupper",areas:"Områder",regions:"Regions",locations:"Lokalite",counties:"Amter",states:"Provinser",postal_codes:"Post nummer",formats:"Struktur",map:"Kort",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",tabular:"As table",google_directions:"Google directions to meeting",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"de-DE":{days_of_the_week:["","Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],weekday:"Wochentag",city:"Stadt",cities:"Städte",groups:"Gruppen",areas:"Gebiete",regions:"Regions",locations:"Orte",counties:"Landkreise",states:"Bundesländer",postal_codes:"PLZ",formats:"Formate",map:"Karte",neighborhood:"Nachbarschaft",near_me:"In meiner Nähe",text_search:"Textsuche",click_search:"Klicksuche",pan_and_zoom:"Schwenken + Zoomen",languages:"Sprachen",common_needs:"Common Needs",meeting_count:"Wöchentliche Meetings:",venue_types:"Treffpunktarten",venue_type_choices:{IN_PERSON:"Präsenz-Meetings",VIRTUAL:"Online-Meetings"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Teilen",tabular:"Als Tabelle",google_directions:"Google Routenplaner",no_meetings_for_this_day:"Keine Meetings an diesem Tag.","css-textalign":"","css-floatdirection":"",all:"Alle",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Meetings in andere Städten","filter meetings":"Filter für Sprache, Format usw.","visible meeting list":"Sichtbare Meetings als Tabelle","enter a city or zip code":"Stadt oder PLZ","toggle fullscreen mode":"Umschalten Vollbildmodus",close:"Schliessen",bmlt2ics:"Zu Kalender hinzufügen","meeting page":"Meeting Seite","meeting details":"Genaueres zum Meeting","report update":"Report an Update","filter by visibility":"Zeige nur Meetings, die gerade auf dem Karte stehen",go:"Los!"},"en-AU":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",bmlt2ics:"Add to your calendar",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-CA":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"Provinces",postal_codes:"Postal Codes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-NZ":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-UK":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Postcodes",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"en-US":{days_of_the_week:["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekday:"Weekday",city:"City",cities:"Cities",groups:"Groups",areas:"Areas",regions:"Regions",locations:"Locations",counties:"Counties",states:"States",postal_codes:"Zips",formats:"Formats",map:"Map",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",tabular:"As table",google_directions:"Google directions to meeting",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"es-US":{days_of_the_week:["","Domingo"," Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],weekday:"Día de la semana",city:"Ciudad",cities:"Ciudades",groups:"Grupos",areas:"Areas",regions:"Regions",locations:"Ubicaciones",counties:"Condados",states:"Estados",postal_codes:"Codiagos postales",formats:"Formatos",map:"Mapa",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"",tabular:"As table",google_directions:"Google directions to meeting","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"fa-IR":{days_of_the_week:["","یَکشَنب","دوشَنبه","سه‌شنبه","چهار شنبه","پَنج شَنبه","جُمعه","شَنبه"],weekday:"روز هفته",city:"شهر",cities:"شهرها",groups:"گروه ها",areas:"نواحی",regions:"Regions",locations:"آدرسها",counties:"بخشها",states:"ایالات",postal_codes:"کد پستی",formats:"فورمت ها",map:"نقشه",neighborhood:"Neighborhood",near_me:"Near Me",text_search:"Text Search",click_search:"Click Search",pan_and_zoom:"Pan + Zoom",languages:"Languages",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-direction":"bmlt-rtl",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"fr-CA":{days_of_the_week:["","Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekday:"Journée",city:"Ville",cities:"Villes",groups:"Groupes",areas:"ASL",regions:"Regions",locations:"Emplacements",counties:"Régions",states:"Provinces",postal_codes:"Codes postaux",formats:"Formats",map:"Carte",neighborhood:"Quartier",near_me:"À côté de moi",text_search:"Recherche textuelle",click_search:"Recherche au clic",pan_and_zoom:"Panoramique + Zoom",languages:"Langages",common_needs:"Besoins",meeting_count:"Nombre de réunions par semaine",venue_types:"Types de lieux",venue_type_choices:{IN_PERSON:"Physique",VIRTUAL:"Virtuel"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Partager",tabular:"Liste",google_directions:"Itinéraire sur Google Maps",no_meetings_for_this_day:"Pas de réunion aujourd'hui.","css-textalign":"css-textalign","css-floatdirection":"css-floatdirection",all:"Tout",menu:"Menu","search for meetings":"Rechercher des réunions","show meetings near...":"Afficher les réunions près de...","filter meetings":"Filtrer les réunions","visible meeting list":"Liste des réunions visibles","enter a city or zip code":"Entrer une ville ou un code postal","toggle fullscreen mode":"Basculer en mode plein écran",close:"Fermer",bmlt2ics:"Ajouter au calendrier","meeting page":"Page de la réunion","meeting details":"Détails de la réunion","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"it-IT":{days_of_the_week:["","Domenica"," Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekday:"Giorno",city:"Città",cities:"Città",groups:"Gruppi",areas:"Aree",regions:"Regione",locations:"Località",counties:"Province",states:"Regione",postal_codes:"CAP",formats:"Formati",map:"Mappa",neighborhood:"Quartiere",near_me:"Vicino a me",text_search:"Ricerca testuale",click_search:"Fare click su cerca",pan_and_zoom:"Panoramica e zoom",languages:"Lingue",common_needs:"Bisogni comuni",meeting_count:"Incontri settimanali:",venue_types:"Tipologia di locali",venue_type_choices:{IN_PERSON:"Riunione fisica",VIRTUAL:"Riunione virtuale"},service_body_types:{AS:"Comitato area",RS:"Comitato di regione",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Forum supporto gruppi"},share:"Condividi",tabular:"Tabellare",google_directions:"Mappa",no_meetings_for_this_day:"Nessuna riunione per questo giorno.","css-textalign":"","css-floatdirection":"",all:"Tutti",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Mostra incontri nelle vicinanze..","filter meetings":"Filtrare le riunioni","visible meeting list":"Elenco riunioni visibile","enter a city or zip code":"Inserire una città o un codice postale","toggle fullscreen mode":"Attiva/disattiva la modalità a schermo intero",close:"Close",bmlt2ics:"Aggiungi al tuo calendario","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"nl-NL":{days_of_the_week:["","Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],weekday:"Dag van de week",city:"Stad",cities:"Steden",groups:"Groepen",areas:"Gebieden",regions:"Regions",locations:"Locaties",counties:"Landen",states:"Provincies",postal_codes:"Postcodes",formats:"Formats",map:"Kaart",neighborhood:"Buurt",near_me:"Bij mij in de buurt",text_search:"Zoek op tekst",click_search:"Klik om te zoeken",pan_and_zoom:"Pan + Zoom",languages:"Talen",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Soorten locaties",venue_type_choices:{IN_PERSON:"Fysiek",VIRTUAL:"Online"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"pl-PL":{days_of_the_week:["","Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],weekday:"Dzień tygodnia",city:"Miasto",cities:"Miasta",groups:"Grupy",areas:"Okręgi",regions:"Regions",locations:"Lokalizacje",counties:"Powiaty",states:"Województwa",postal_codes:"Kody pocztowe",formats:"Formaty",map:"Mapa",neighborhood:"Sąsiedztwo",near_me:"Blisko Mnie",text_search:"Wpisz",click_search:"Kliknij na mapie",pan_and_zoom:"Przesuń powiększ",languages:"Języki",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"pt-BR":{days_of_the_week:["","Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],weekday:"Dia da semana",city:"Cidade",cities:"Cidades",groups:"Grupos",areas:"Áreas",regions:"Regions",locations:"Localizações",counties:"Municípios",states:"Estados",postal_codes:"CEPs",formats:"Formatos",map:"Mapa",neighborhood:"Bairro",near_me:"Minha Localização",text_search:"digite um endereço",click_search:"Clique no local",pan_and_zoom:"Panorâmico + Zoom",languages:"Idiomas",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"tipos de reunião",venue_type_choices:{IN_PERSON:"Presencial",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"Compartilhar",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu",bmlt2ics:"Add to your calendar","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"ru-RU":{days_of_the_week:["","Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],weekday:"будний день",city:"Город",cities:"Города",groups:"Группы",areas:"Зоны",regions:"Regions",locations:"Локации",counties:"Страны",states:"Штаты",postal_codes:"Индексы (почтовые)",formats:"Форматы",map:"Карта",neighborhood:"Соседство",near_me:"Около меня",text_search:"Поиск текста",click_search:"Нажмите Поиск",pan_and_zoom:"Pan + Zoom",languages:"Языки",common_needs:"Common Needs",meeting_count:"Еженедельные собрания:",venue_types:"Типы собрания",venue_type_choices:{IN_PERSON:"Офлайн",VIRTUAL:"Онлайн"},share:"поделиться",tabular:"Как таблица",google_directions:"На карте",service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},no_meetings_for_this_day:"В этот день собраний нет","css-textalign":"","css-floatdirection":"",all:"All",menu:"Меню",bmlt2ics:"Добавить в календарь","search for meetings":"Поиск собраний","show meetings near...":"Показывать собрания рядом с...","filter meetings":"Фильтровать собрания","visible meeting list":"Собрания в виде списка","enter a city or zip code":"Введите город или почтовый индек","toggle fullscreen mode":"Включить полноэкранный режим",close:"Закрыть","meeting page":"Страница собрания","meeting details":"Подробности собрания","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"},"sv-SE":{days_of_the_week:["","Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],weekday:"Veckodag",city:"Stad",cities:"Städer",groups:"Grupper",areas:"Distrikt",regions:"Regions",locations:"Plats",counties:"Land",states:"Stater",postal_codes:"Postnummer",formats:"Format",map:"Karta",neighborhood:"Region",near_me:"Nära mig",text_search:"Söktext",click_search:"Sök",pan_and_zoom:"Panorera + Zooma",languages:"Språk",common_needs:"Common Needs",meeting_count:"Weekly Meetings:",venue_types:"Venue Types",venue_type_choices:{IN_PERSON:"In Person",VIRTUAL:"Virtual"},service_body_types:{AS:"Area Service Committee",RS:"Regional Service Committee",ZF:"Zonal Forum",MA:"Metropolitan Service Committee",LS:"Local Service Forum",GS:"Group Support Forum"},share:"share",tabular:"As table",google_directions:"Google directions to meeting",no_meetings_for_this_day:"No meetings for this day.","css-textalign":"","css-floatdirection":"",all:"All",menu:"Menu","search for meetings":"Search for meetings","show meetings near...":"Show meetings near...","filter meetings":"Filter meetings","visible meeting list":"Visible meetings as list","enter a city or zip code":"Enter a city or zip code","toggle fullscreen mode":"Toggle fullscreen mode",close:"Close",bmlt2ics:"Add to your calendar","meeting page":"Meeting Page","meeting details":"Meeting Details","report update":"Report an Update","filter by visibility":"List only these meetings",go:"Go!"}}}!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),a=o.length;a--;){var r=o[a];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var s="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var o=this,a=this.tip(),r=this.getUID(this.type);this.setContent(),a.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&a.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,c=l.test(s);c&&(s=s.replace(l,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?a.appendTo(this.options.container):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var u=this.getPosition(),h=a[0].offsetWidth,d=a[0].offsetHeight;if(c){var p=s,m=this.getPosition(this.$viewport);s="bottom"==s&&u.bottom+d>m.bottom?"top":"top"==s&&u.top-d<m.top?"bottom":"right"==s&&u.right+h>m.width?"left":"left"==s&&u.left-h<m.left?"right":s,a.removeClass(p).addClass(s)}var f=this.getCalculatedOffset(s,u,h,d);this.applyPlacement(f,s);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",g).emulateTransitionEnd(e.TRANSITION_DURATION):g()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),o=n[0].offsetWidth,a=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),s=parseInt(n.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(s)&&(s=0),e.top+=r,e.left+=s,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,c=n[0].offsetHeight;"top"==i&&c!=a&&(e.top=e.top+a-c);var u=this.getViewportAdjustedDelta(i,e,l,c);u.left?e.left+=u.left:e.top+=u.top;var h=/top|bottom/.test(i),d=h?2*u.left-o+l:2*u.top-a+c,p=h?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(d,n[0][p],h)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){function n(){"in"!=o.hoverState&&a.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),i&&i()}var o=this,a=t(this.$tip),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",n).emulateTransitionEnd(e.TRANSITION_DURATION):n(),this.hoverState=null,this)},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],n="BODY"==i.tagName,o=i.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var a=n?{top:0,left:0}:e.offset(),r={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,r,s,a)},e.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,n){var o={top:0,left:0};if(!this.$viewport)return o;var a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-a-r.scroll,l=e.top+a-r.scroll+n;s<r.top?o.top=r.top-s:l>r.top+r.height&&(o.top=r.top+r.height-l)}else{var c=e.left-a,u=e.left+a+i;c<r.left?o.left=r.left-c:u>r.right&&(o.left=r.left+r.width-u)}return o},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var n=t(this),o=n.data("bs.tooltip"),a="object"==typeof i&&i;(o||!/destroy|hide/.test(i))&&(o||n.data("bs.tooltip",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var n=t(this),o=n.data("bs.popover"),a="object"==typeof i&&i;(o||!/destroy|hide/.test(i))&&(o||n.data("bs.popover",o=new e(this,a)),"string"==typeof i&&o[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var n=t(this),o=n.data("bs.tab");o||n.data("bs.tab",o=new i(this)),"string"==typeof e&&o[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var o=i.find(".active:last a"),a=t.Event("hide.bs.tab",{relatedTarget:e[0]}),r=t.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(a),e.trigger(r),!r.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=t(n);this.activate(e.closest("li"),i),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},i.prototype.activate=function(e,n,o){function a(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}var r=n.find("> .active"),s=o&&t.support.transition&&(r.length&&r.hasClass("fade")||!!n.find("> .fade").length);r.length&&s?r.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a(),r.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var o=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(n).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var i;return function(){var t,i,n;e&&e.requirejs||(e?i=e:e={},function(e){function o(t,e){return v.call(t,e)}function a(t,e){var i,n,o,a,r,s,l,c,u,h,d,p=e&&e.split("/"),m=_.map,f=m&&m["*"]||{};if(t&&"."===t.charAt(0))if(e){for(p=p.slice(0,p.length-1),r=(t=t.split("/")).length-1,_.nodeIdCompat&&w.test(t[r])&&(t[r]=t[r].replace(w,"")),t=p.concat(t),u=0;u<t.length;u+=1)if("."===(d=t[u]))t.splice(u,1),u-=1;else if(".."===d){if(1===u&&(".."===t[2]||".."===t[0]))break;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}else 0===t.indexOf("./")&&(t=t.substring(2));if((p||f)&&m){for(u=(i=t.split("/")).length;u>0;u-=1){if(n=i.slice(0,u).join("/"),p)for(h=p.length;h>0;h-=1)if((o=m[p.slice(0,h).join("/")])&&(o=o[n])){a=o,s=u;break}if(a)break;!l&&f&&f[n]&&(l=f[n],c=u)}!a&&l&&(a=l,s=c),a&&(i.splice(0,s,a),t=i.join("/"))}return t}function r(t,i){return function(){return d.apply(e,b.call(arguments,0).concat([t,i]))}}function s(t){return function(e){f[t]=e}}function l(t){if(o(g,t)){var i=g[t];delete g[t],y[t]=!0,h.apply(e,i)}if(!o(f,t)&&!o(y,t))throw new Error("No "+t);return f[t]}function c(t){var e,i=t?t.indexOf("!"):-1;return i>-1&&(e=t.substring(0,i),t=t.substring(i+1,t.length)),[e,t]}function u(t){return function(){return _&&_.config&&_.config[t]||{}}}var h,d,p,m,f={},g={},_={},y={},v=Object.prototype.hasOwnProperty,b=[].slice,w=/\.js$/;p=function(t,e){var i,n=c(t),o=n[0];return t=n[1],o&&(i=l(o=a(o,e))),o?t=i&&i.normalize?i.normalize(t,function(t){return function(e){return a(e,t)}}(e)):a(t,e):(o=(n=c(t=a(t,e)))[0],t=n[1],o&&(i=l(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:i}},m={require:function(t){return r(t)},exports:function(t){var e=f[t];return void 0!==e?e:f[t]={}},module:function(t){return{id:t,uri:"",exports:f[t],config:u(t)}}},h=function(t,i,n,a){var c,u,h,d,_,v,b=[],w=typeof n;if(a=a||t,"undefined"===w||"function"===w){for(i=!i.length&&n.length?["require","exports","module"]:i,_=0;_<i.length;_+=1)if("require"===(u=(d=p(i[_],a)).f))b[_]=m.require(t);else if("exports"===u)b[_]=m.exports(t),v=!0;else if("module"===u)c=b[_]=m.module(t);else if(o(f,u)||o(g,u)||o(y,u))b[_]=l(u);else{if(!d.p)throw new Error(t+" missing "+u);d.p.load(d.n,r(a,!0),s(u),{}),b[_]=f[u]}h=n?n.apply(f[t],b):void 0,t&&(c&&c.exports!==e&&c.exports!==f[t]?f[t]=c.exports:h===e&&v||(f[t]=h))}else t&&(f[t]=n)},t=i=d=function(t,i,n,o,a){if("string"==typeof t)return m[t]?m[t](i):l(p(t,i).f);if(!t.splice){if((_=t).deps&&d(_.deps,_.callback),!i)return;i.splice?(t=i,i=n,n=null):t=e}return i=i||function(){},"function"==typeof n&&(n=o,o=a),o?h(e,t,i,n):setTimeout(function(){h(e,t,i,n)},4),d},d.config=function(t){return d(t)},t._defined=f,(n=function(t,e,i){e.splice||(i=e,e=[]),o(f,t)||o(g,t)||(g[t]=[t,e,i])}).amd={jQuery:!0}}(),e.requirejs=t,e.require=i,e.define=n)}(),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,i=[];for(var n in e){"function"==typeof e[n]&&"constructor"!==n&&i.push(n)}return i}var i={Extend:function(t,e){function i(){this.constructor=t}var n={}.hasOwnProperty;for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},Decorate:function(t,i){function n(){var e=Array.prototype.unshift,n=i.prototype.constructor.length,o=t.prototype.constructor;n>0&&(e.call(arguments,t.prototype.constructor),o=i.prototype.constructor),o.apply(this,arguments)}var o=e(i),a=e(t);i.displayName=t.displayName,n.prototype=new function(){this.constructor=n};for(var r=0;r<a.length;r++){var s=a[r];n.prototype[s]=t.prototype[s]}for(var l=function(t){var e=function(){};t in n.prototype&&(e=n.prototype[t]);var o=i.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),o.apply(this,arguments)}},c=0;c<o.length;c++){var u=o[c];n.prototype[u]=l(u)}return n}},n=function(){this.listeners={}};return n.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},n.prototype.trigger=function(t){var e=Array.prototype.slice;this.listeners=this.listeners||{},t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},n.prototype.invoke=function(t,e){for(var i=0,n=t.length;n>i;i++)t[i].apply(this,e)},i.Observable=n,i.generateChars=function(t){for(var e="",i=0;t>i;i++){e+=Math.floor(36*Math.random()).toString(36)}return e},i.bind=function(t,e){return function(){t.apply(e,arguments)}},i._convertData=function(t){for(var e in t){var i=e.split("-"),n=t;if(1!==i.length){for(var o=0;o<i.length;o++){var a=i[o];(a=a.substring(0,1).toLowerCase()+a.substring(1))in n||(n[a]={}),o==i.length-1&&(n[a]=t[e]),n=n[a]}delete t[e]}}return t},i.hasScroll=function(e,i){var n=t(i),o=i.style.overflowX,a=i.style.overflowY;return(o!==a||"hidden"!==a&&"visible"!==a)&&("scroll"===o||"scroll"===a||(n.innerHeight()<i.scrollHeight||n.innerWidth()<i.scrollWidth))},i.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},i.appendMany=function(e,i){if("1.7"===t.fn.jquery.substr(0,3)){var n=t();t.map(i,function(t){n=n.add(t)}),i=n}e.append(i)},i}),e.define("select2/results",["jquery","./utils"],function(t,e){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(e){var i=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=t('<li role="treeitem" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);n.append(i(o(e.args))),this.$results.append(n)},i.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i<t.results.length;i++){var n=t.results[i],o=this.option(n);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.setClasses=function(){var e=this;this.data.current(function(i){var n=t.map(i,function(t){return t.id.toString()}),o=e.$results.find(".select2-results__option[aria-selected]");o.each(function(){var e=t(this),i=t.data(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,n)>-1?e.attr("aria-selected","true"):e.attr("aria-selected","false")});var a=o.filter("[aria-selected=true]");a.length>0?a.first().trigger("mouseenter"):o.first().trigger("mouseenter")})},i.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},i=this.option(e);i.className+=" loading-results",this.$results.prepend(i)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(e){var i=document.createElement("li");i.className="select2-results__option";var n={role:"treeitem","aria-selected":"false"};for(var o in e.disabled&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(i.id=e._resultId),e.title&&(i.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var a=n[o];i.setAttribute(o,a)}if(e.children){var r=t(i),s=document.createElement("strong");s.className="select2-results__group",t(s),this.template(e,s);for(var l=[],c=0;c<e.children.length;c++){var u=e.children[c],h=this.option(u);l.push(h)}var d=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(l),r.append(s),r.append(d)}else this.template(e,i);return t.data(i,"data",e),i},i.prototype.bind=function(e){var i=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){i.clear(),i.append(t.data),e.isOpen()&&i.setClasses()}),e.on("results:append",function(t){i.append(t.data),e.isOpen()&&i.setClasses()}),e.on("query",function(t){i.showLoading(t)}),e.on("select",function(){e.isOpen()&&i.setClasses()}),e.on("unselect",function(){e.isOpen()&&i.setClasses()}),e.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),e.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var e=t.data("data");"true"==t.attr("aria-selected")?i.trigger("close"):i.trigger("select",{data:e})}}),e.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(0!==n){var o=n-1;0===t.length&&(o=0);var a=e.eq(o);a.trigger("mouseenter");var r=i.$results.offset().top,s=a.offset().top,l=i.$results.scrollTop()+(s-r);0===o?i.$results.scrollTop(0):0>s-r&&i.$results.scrollTop(l)}}),e.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var o=e.eq(n);o.trigger("mouseenter");var a=i.$results.offset().top+i.$results.outerHeight(!1),r=o.offset().top+o.outerHeight(!1),s=i.$results.scrollTop()+r-a;0===n?i.$results.scrollTop(0):r>a&&i.$results.scrollTop(s)}}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-i.$results.scrollTop()+t.deltaY,o=t.deltaY>0&&e-t.deltaY<=0,a=t.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):a&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var n=t(this),o=n.data("data");return"true"===n.attr("aria-selected")?void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:e,data:o}):i.trigger("close")):void i.trigger("select",{originalEvent:e,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var e=t(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:e,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,o=this.$results.scrollTop()+(n-i),a=n-i;o-=2*t.outerHeight(!1),2>=e?this.$results.scrollTop(0):(a>this.$results.outerHeight()||0>a)&&this.$results.scrollTop(o)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),a=n(e);null==a?i.style.display="none":"string"==typeof a?i.innerHTML=o(a):t(i).append(a)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),this.$selection=e,e},n.prototype.bind=function(t){var e=this,n=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){e.trigger("focus",t)}),this.$selection.on("blur",function(t){e.trigger("blur",t)}),this.$selection.on("keydown",function(t){e.trigger("keypress",t),t.which===i.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){e.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){e.update(t.data)}),t.on("open",function(){e.$selection.attr("aria-expanded","true"),e.$selection.attr("aria-owns",n),e._attachCloseHandler(t)}),t.on("close",function(){e.$selection.attr("aria-expanded","false"),e.$selection.removeAttr("aria-activedescendant"),e.$selection.removeAttr("aria-owns"),e.$selection.focus(),e._detachCloseHandler(t)}),t.on("enable",function(){e.$selection.attr("tabindex",e._tabindex)}),t.on("disable",function(){e.$selection.attr("tabindex","-1")})},n.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){var i=t(e.target).closest(".select2");t(".select2.select2-container--open").each(function(){var e=t(this);this!=i[0]&&e.data("element").select2("close")})})},n.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},n.prototype.position=function(t,e){e.find(".selection").append(t)},n.prototype.destroy=function(){this._detachCloseHandler(this.container)},n.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},n}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i){function n(){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},n.prototype.bind=function(t){var e=this;n.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&e.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),t.on("selection:update",function(t){e.update(t.data)})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t){var e=this.options.get("templateSelection");return this.options.get("escapeMarkup")(e(t))},n.prototype.selectionContainer=function(){return t("<span></span>")},n.prototype.update=function(t){if(0!==t.length){var e=t[0],i=this.display(e),n=this.$selection.find(".select2-selection__rendered");n.empty().append(i),n.prop("title",e.title||e.text)}else this.clear()},n}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,i){function n(){n.__super__.constructor.apply(this,arguments)}return i.Extend(n,e),n.prototype.render=function(){var t=n.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},n.prototype.bind=function(){var e=this;n.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){e.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(i){var n=t(this).parent().data("data");e.trigger("unselect",{originalEvent:i,data:n})})},n.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},n.prototype.display=function(t){var e=this.options.get("templateSelection");return this.options.get("escapeMarkup")(e(t))},n.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},n.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var o=t[n],a=this.display(o),r=this.selectionContainer();r.append(a),r.prop("title",o.title||o.text),r.data("data",o),e.push(r)}var s=this.$selection.find(".select2-selection__rendered");i.appendMany(s,e)}},n}),e.define("select2/selection/placeholder",["../utils"],function(){function t(t,e,i){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i)}return t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.createPlaceholder=function(t,e){var i=this.selectionContainer();return i.html(this.display(e)),i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},t.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||i)return t.call(this,e);this.clear();var n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},t}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function i(){}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),o=0;o<n.length;o++){var a={data:n[o]};if(this.trigger("unselect",a),a.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},i.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||(i.which==e.DELETE||i.which==e.BACKSPACE)&&this._handleClear(i)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var n=t('<span class="select2-selection__clear">&times;</span>');n.data("data",i),this.$selection.find(".select2-selection__rendered").prepend(n)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');return this.$searchContainer=i,this.$search=i.find("input"),e.call(this)},n.prototype.bind=function(t,e,n){var o=this;t.call(this,e,n),e.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus()}),e.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val(""),o.$search.focus()}),e.on("enable",function(){o.$search.prop("disabled",!1)}),e.on("disable",function(){o.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o.trigger("blur",t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===i.BACKSPACE&&""===o.$search.val()){var e=o.$searchContainer.prev(".select2-selection__choice");if(e.length>0){var n=e.data("data");o.searchRemoveChoice(n),t.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(t){o.handleSearch(t)})},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.trigger("open"),this.$search.val(e.text+" ")},n.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").innerWidth():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},n}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,i,n){var o=this,a=["open","opening","close","closing","select","selecting","unselect","unselecting"],r=["opening","closing","selecting","unselecting"];e.call(this,i,n),i.on("*",function(e,i){if(-1!==t.inArray(e,a)){i=i||{};var n=t.Event("select2:"+e,{params:i});o.$element.trigger(n),-1!==t.inArray(e,r)&&(i.prevented=n.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},i._cache={},i.loadPath=function(t){if(!(t in i._cache)){var n=e(t);i._cache[t]=n}return new i(i._cache[t])},i}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"}}),e.define("select2/data/base",["../utils"],function(t){function e(){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,i){var n=e.id+"-result-";return(n+=t.generateChars(4))+(null!=i.id?"-"+i.id.toString():"-"+t.generateChars(4))},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=i(this),o=n.item(t);e.push(o)}),t(e)},n.prototype.select=function(t){var e=this;if(t.selected=!0,i(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(n){var o=[];(t=[t]).push.apply(t,n);for(var a=0;a<t.length;a++){var r=t[a].id;-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")});else{var n=t.id;this.$element.val(n),this.$element.trigger("change")}},n.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple"))return t.selected=!1,i(t.element).is("option")?(t.element.selected=!1,void this.$element.trigger("change")):void this.current(function(n){for(var o=[],a=0;a<n.length;a++){var r=n[a].id;r!==t.id&&-1===i.inArray(r,o)&&o.push(r)}e.$element.val(o),e.$element.trigger("change")})},n.prototype.bind=function(t){var e=this;this.container=t,t.on("select",function(t){e.select(t.data)}),t.on("unselect",function(t){e.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){i.removeData(this,"data")})},n.prototype.query=function(t,e){var n=[],o=this;this.$element.children().each(function(){var e=i(this);if(e.is("option")||e.is("optgroup")){var a=o.item(e),r=o.matches(t,a);null!==r&&n.push(r)}}),e({results:n})},n.prototype.addOptions=function(t){e.appendMany(this.$element,t)},n.prototype.option=function(t){var e;t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var n=i(e),o=this._normalizeItem(t);return o.element=e,i.data(e,"data",o),n},n.prototype.item=function(t){var e={};if(null!=(e=i.data(t[0],"data")))return e;if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){e={text:t.prop("label"),children:[],title:t.prop("title")};for(var n=t.children("option"),o=[],a=0;a<n.length;a++){var r=i(n[a]),s=this.item(r);o.push(s)}e.children=o}return(e=this._normalizeItem(e)).element=t[0],i.data(t[0],"data",e),e},n.prototype._normalizeItem=function(t){i.isPlainObject(t)||(t={id:t,text:t});return null!=(t=i.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),i.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,i){function n(t,e){var i=e.get("data")||[];n.__super__.constructor.call(this,t,e),this.addOptions(this.convertToOptions(i))}return e.Extend(n,t),n.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,i){return i.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),n.__super__.select.call(this,t)},n.prototype.convertToOptions=function(t){function n(t){return function(){return i(this).val()==t.id}}for(var o=this,a=this.$element.find("option"),r=a.map(function(){return o.item(i(this)).id}).get(),s=[],l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(i.inArray(c.id,r)>=0){var u=a.filter(n(c)),h=this.item(u),d=(i.extend(!0,{},h,c),this.option(h));u.replaceWith(d)}else{var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(p,m)}s.push(p)}}return s},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,i){function n(e,i){this.ajaxOptions=this._applyDefaults(i.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),t.__super__.constructor.call(this,e,i)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){var e={data:function(t){return{q:t.term}},transport:function(t,e,n){var o=i.ajax(t);return o.then(e),o.fail(n),o}};return i.extend({},e,t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(t,e){function n(){var n=a.transport(a,function(n){var a=o.processResults(n,t);o.options.get("debug")&&window.console&&console.error&&(a&&a.results&&i.isArray(a.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(a)},function(){});o._request=n}var o=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var a=i.extend({type:"GET"},this.ajaxOptions);"function"==typeof a.url&&(a.url=a.url(t)),"function"==typeof a.data&&(a.data=a.data(t)),this.ajaxOptions.delay&&""!==t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(n,this.ajaxOptions.delay)):n()},n}),e.define("select2/data/tags",["jquery"],function(t){function e(e,i,n){var o=n.get("tags"),a=n.get("createTag");if(void 0!==a&&(this.createTag=a),e.call(this,i,n),t.isArray(o))for(var r=0;r<o.length;r++){var s=o[r],l=this._normalizeItem(s),c=this.option(l);this.$element.append(c)}}return e.prototype.query=function(t,e,i){var n=this;return this._removeOldTags(),null==e.term||null!=e.page?void t.call(this,e,i):void t.call(this,e,function t(o,a){for(var r=o.results,s=0;s<r.length;s++){var l=r[s],c=null!=l.children&&!t({results:l.children},!0);if(l.text===e.term||c)return!a&&(o.data=r,void i(o))}if(a)return!0;var u=n.createTag(e);if(null!=u){var h=n.option(u);h.attr("data-select2-tag",!0),n.addOptions([h]),n.insertTag(r,u)}o.results=r,i(o)})},e.prototype.createTag=function(e,i){var n=t.trim(i.term);return""===n?null:{id:n,text:n}},e.prototype.insertTag=function(t,e,i){e.unshift(i)},e.prototype._removeOldTags=function(){(this._lastTag,this.$element.find("option[data-select2-tag]")).each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,i){var n=i.get("tokenizer");void 0!==n&&(this.tokenizer=n),t.call(this,e,i)}return e.prototype.bind=function(t,e,i){t.call(this,e,i),this.$search=e.dropdown.$search||e.selection.$search||i.find(".select2-search__field")},e.prototype.query=function(t,e,i){var n=this;e.term=e.term||"";var o=this.tokenizer(e,this.options,function(t){n.select(t)});o.term!==e.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.focus()),e.term=o.term),t.call(this,e,i)},e.prototype.tokenizer=function(e,i,n,o){for(var a=n.get("tokenSeparators")||[],r=i.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<r.length;){var c=r[s];if(-1!==t.inArray(c,a)){var u=r.substr(0,s);o(l(t.extend({},i,{term:u}))),r=r.substr(s+1)||"",s=0}else s++}return{term:r}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,i){this.minimumInputLength=i.get("minimumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",e.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,i){this.maximumInputLength=i.get("maximumInputLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){return e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):void t.call(this,e,i)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.query=function(t,e,i){var n=this;this.current(function(o){var a=null!=o?o.length:0;return n.maximumSelectionLength>0&&a>=n.maximumSelectionLength?void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):void t.call(n,e,i)})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.position=function(){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t){function e(){}return e.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),this.$search.on("keydown",function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(){t(this).off("keyup")}),this.$search.on("keyup input",function(t){o.handleSearch(t)}),i.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),i.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},e.prototype.handleSearch=function(){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},e.prototype.showSearch=function(){return!0},e}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var o=e[n];this.placeholder.id===o.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,i,n){var o=this;e.call(this,i,n),i.on("query",function(t){o.lastParams=t,o.loading=!0}),i.on("query:append",function(t){o.lastParams=t,o.loading=!0}),this.$results.on("scroll",function(){var e=t.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&e&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="option load-more" role="treeitem"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(t,e,i){this.$dropdownParent=i.get("dropdownParent")||document.body,t.call(this,e,i)}return i.prototype.bind=function(t,e,i){var n=this,o=!1;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),o||(o=!0,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}))}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},i.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},i.prototype.render=function(e){var i=t("<span></span>"),n=e.call(this);return i.append(n),this.$dropdownContainer=i,i},i.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},i.prototype._attachPositioningHandler=function(i){var n=this,o="scroll.select2."+i.id,a="resize.select2."+i.id,r="orientationchange.select2."+i.id,s=this.$container.parents().filter(e.hasScroll);s.each(function(){t(this).data("select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),s.on(o,function(){var e=t(this).data("select2-scroll-position");t(this).scrollTop(e.y)}),t(window).on(o+" "+a+" "+r,function(){n._positionDropdown(),n._resizeDropdown()})},i.prototype._detachPositioningHandler=function(i){var n="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(n),t(window).off(n+" "+o+" "+a)},i.prototype._positionDropdown=function(){var e=t(window),i=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),o=null,a=(this.$container.position(),this.$container.offset());a.bottom=a.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=a.top,r.bottom=a.top+r.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=l<a.top-s,h=c>a.bottom+s,d={left:a.left,top:r.bottom};i||n||(o="below"),h||!u||i?!u&&h&&i&&(o="below"):o="above",("above"==o||i&&"below"!==o)&&(d.top=r.top-s),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},i.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.width="auto"),this.$dropdown.css(t)},i.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},i}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n<e.length;n++){var o=e[n];o.children?i+=t(o.children):i++}return i}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("close",function(){n._handleSelectOnClose()})},t.prototype._handleSelectOnClose=function(){var t=this.getHighlightedResults();t.length<1||this.trigger("select",{data:t.data("data")})},t}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(t){n._selectTriggered(t)}),e.on("unselect",function(t){n._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var i=e.originalEvent;i&&i.ctrlKey||this.trigger("close")},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,i="Please delete "+e+" character";return 1!=e&&(i+="s"),i},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,i,n,o,a,r,s,l,c,u,h,d,p,m,f,g,_,y,v,b,w,A,k,P,S,M,C,x){function L(){this.reset()}return L.prototype.apply=function(h){if(null==(h=t.extend({},this.defaults,h)).dataAdapter){if(h.dataAdapter=null!=h.ajax?m:null!=h.data?p:d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,_)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,f)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null!=h.query){var x=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,x)}if(null!=h.initSelection){var L=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,L)}}if(null==h.resultsAdapter&&(h.resultsAdapter=i,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,A)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,M))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=b;else{var T=c.Decorate(b,w);h.dropdownAdapter=T}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var E=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,E)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,P)}if(null==h.selectionAdapter){if(h.selectionAdapter=h.multiple?o:n,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,r)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var O=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,O)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var D=h.language.split("-")[0];h.language=[h.language,D]}else h.language=[h.language];if(t.isArray(h.language)){var z=new u;h.language.push("en");for(var I=h.language,B=0;B<I.length;B++){var N=I[B],R={};try{R=u.loadPath(N)}catch(t){try{N=this.defaults.amdLanguageBase+N,R=u.loadPath(N)}catch(t){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+N+'" could not be automatically loaded. A fallback will be used instead.');continue}}z.extend(R)}h.translations=z}else{var j=u.loadPath(this.defaults.amdLanguageBase+"en"),F=new u(h.language);F.extend(j),h.translations=F}return h},L.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return h[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:x,matcher:function i(n,o){if(""===t.trim(n.term))return o;if(o.children&&o.children.length>0){for(var a=t.extend(!0,{},o),r=o.children.length-1;r>=0;r--)null==i(n,o.children[r])&&a.children.splice(r,1);return a.children.length>0?a:i(n,a)}var s=e(o.text).toUpperCase(),l=e(n.term).toUpperCase();return s.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},L.prototype.set=function(e,i){var n={};n[t.camelCase(e)]=i;var o=c._convertData(n);t.extend(this.defaults,o)},new L}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),this.options=i.apply(this.options),o&&o.is("input")){var a=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,a)}}return o.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=t.prop("dir")?t.prop("dir"):t.closest("[dir]").prop("dir")?t.closest("[dir]").prop("dir"):"ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var o;o=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var a=e.extend(!0,{},o);for(var r in a=n._convertData(a))e.inArray(r,i)>-1||(e.isPlainObject(this.options[r])?e.extend(this.options[r],a[r]):this.options[r]=a[r]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,i,n){var o=function(t,i){null!=t.data("select2")&&t.data("select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),o.__super__.constructor.call(this);var n=t.attr("tabindex")||0;t.data("old-tabindex",n),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var r=this.render();this._placeContainer(r);var s=this.options.get("selectionAdapter");this.selection=new s(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){u.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),t.data("select2",this)};return i.Extend(o,i.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+i.generateChars(2):i.generateChars(4))},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var i=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var n=this._resolveWidth(t,"style");return null!=n?n:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return 0>=o?"auto":o+"px"}if("style"==e){var a=t.attr("style");if("string"!=typeof a)return null;for(var r=a.split(";"),s=0,l=r.length;l>s;s+=1){var c=r[s].replace(/\s/g,"").match(i);if(null!==c&&c.length>=1)return c[1]}return null}return e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this._sync=i.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var n=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=n?(this._observer=new n(function(i){t.each(i,e._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",e._sync,!1)},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerSelectionEvents=function(){var e=this,i=["toggle"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("*",function(n,o){-1===t.inArray(n,i)&&e.trigger(n,o)})},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,i){t.trigger(e,i)})},o.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("focus",function(){t.$container.addClass("select2-container--focus")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open"),this.dataAdapter.query(e,function(i){t.trigger("results:all",{data:i,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(i){t.trigger("results:append",{data:i,query:e})})}),this.on("keypress",function(e){var i=e.which;t.isOpen()?i===n.ENTER?(t.trigger("results:select"),e.preventDefault()):i===n.SPACE&&e.ctrlKey?(t.trigger("results:toggle"),e.preventDefault()):i===n.UP?(t.trigger("results:previous"),e.preventDefault()):i===n.DOWN?(t.trigger("results:next"),e.preventDefault()):(i===n.ESC||i===n.TAB)&&(t.close(),e.preventDefault()):(i===n.ENTER||i===n.SPACE||(i===n.DOWN||i===n.UP)&&e.altKey)&&(t.open(),e.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},o.prototype.trigger=function(t,e){var i=o.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(t in n){var a=n[t],r={prevented:!1,name:t,args:e};if(i.call(this,a,r),r.prevented)return void(e.prevented=!0)}i.call(this,t,e)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},o.prototype.close=function(){this.isOpen()&&this.trigger("close")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==t||0===t.length)&&(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var i=e[0];t.isArray(i)&&(i=t.map(i,function(t){return t.toString()})),this.$element.val(i).trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),e.data("element",this.$element),e},o}),e.define("select2/compat/utils",["jquery"],function(t){return{syncCssClasses:function(e,i,n){var o,a,r=[];(o=t.trim(e.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(o=t.trim(i.attr("class")))&&t((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(a=n(this))&&r.push(a)}),e.attr("class",r.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(t,e){function i(){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),a=this.options.get("containerCssClass")||"";t.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptContainerCssClass");if(r=r||i,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("containerCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},n}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(t,e){function i(){return null}function n(){}return n.prototype.render=function(n){var o=n.call(this),a=this.options.get("dropdownCssClass")||"";t.isFunction(a)&&(a=a(this.$element));var r=this.options.get("adaptDropdownCssClass");if(r=r||i,-1!==a.indexOf(":all:")){a=a.replace(":all","");var s=r;r=function(t){var e=s(t);return null!=e?e+" "+t:t}}var l=this.options.get("dropdownCss")||{};return t.isFunction(l)&&(l=l(this.$element)),e.syncCssClasses(o,this.$element,r),o.css(l),o.addClass(a),o},n}),e.define("select2/compat/initSelection",["jquery"],function(t){function e(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return e.prototype.current=function(e,i){var n=this;return this._isInitialized?void e.call(this,i):void this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,t.isArray(e)||(e=[e]),i(e)})},e}),e.define("select2/compat/inputData",["jquery"],function(t){function e(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),t.call(this,e,i)}return e.prototype.current=function(e,i){function n(e,i){var o=[];return e.selected||-1!==t.inArray(e.id,i)?(e.selected=!0,o.push(e)):e.selected=!1,e.children&&o.push.apply(o,n(e.children,i)),o}for(var o=[],a=0;a<this._currentData.length;a++){var r=this._currentData[a];o.push.apply(o,n(r,this.$element.val().split(this._valueSeparator)))}i(o)},e.prototype.select=function(e,i){if(this.options.get("multiple")){var n=this.$element.val();n+=this._valueSeparator+i.id,this.$element.val(n),this.$element.trigger("change")}else this.current(function(e){t.map(e,function(t){t.selected=!1})}),this.$element.val(i.id),this.$element.trigger("change")},e.prototype.unselect=function(t,e){var i=this;e.selected=!1,this.current(function(t){for(var n=[],o=0;o<t.length;o++){var a=t[o];e.id!=a.id&&n.push(a.id)}i.$element.val(n.join(i._valueSeparator)),i.$element.trigger("change")})},e.prototype.query=function(t,e,i){for(var n=[],o=0;o<this._currentData.length;o++){var a=this._currentData[o],r=this.matches(e,a);null!==r&&n.push(r)}i({results:n})},e.prototype.addOptions=function(e,i){var n=t.map(i,function(e){return t.data(e[0],"data")});this._currentData.push.apply(this._currentData,n)},e}),e.define("select2/compat/matcher",["jquery"],function(t){return function(e){return function(i,n){var o=t.extend(!0,{},n);if(null==i.term||""===t.trim(i.term))return o;if(n.children){for(var a=n.children.length-1;a>=0;a--){var r=n.children[a];e(i.term,r.text,r)||o.children.splice(a,1)}if(o.children.length>0)return o}return e(i.term,n.text,n)?o:null}}}),e.define("select2/compat/query",[],function(){function t(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),t.call(this,e,i)}return t.prototype.query=function(t,e,i){e.callback=i,this.options.get("query").call(null,e)},t}),e.define("select2/dropdown/attachContainer",[],function(){function t(t,e,i){t.call(this,e,i)}return t.prototype.position=function(t,e,i){i.find(".dropdown-wrapper").append(e),e.addClass("select2-dropdown--below"),i.addClass("select2-container--below")},t}),e.define("select2/dropdown/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),e.define("select2/selection/stopPropagation",[],function(){function t(){}return t.prototype.bind=function(t,e,i){t.call(this,e,i);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(t){t.stopPropagation()})},t}),e.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(t,e,i,n){if(e("jquery.mousewheel"),null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var n=t.extend({},e,!0);new i(t(this),n)}),this;if("string"==typeof e){var n=this.data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2.");var a=Array.prototype.slice.call(arguments,1),r=n[e](a);return t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=n),i}),i=function(t){function e(e){var r=e||window.event,s=l.call(arguments,1),c=0,h=0,d=0,p=0,m=0,f=0;if((e=t.event.fix(r)).type="mousewheel","detail"in r&&(d=-1*r.detail),"wheelDelta"in r&&(d=r.wheelDelta),"wheelDeltaY"in r&&(d=r.wheelDeltaY),"wheelDeltaX"in r&&(h=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(h=-1*d,d=0),c=0===d?h:d,"deltaY"in r&&(c=d=-1*r.deltaY),"deltaX"in r&&(h=r.deltaX,0===d&&(c=-1*h)),0!==d||0!==h){if(1===r.deltaMode){var g=t.data(this,"mousewheel-line-height");c*=g,d*=g,h*=g}else if(2===r.deltaMode){var _=t.data(this,"mousewheel-page-height");c*=_,d*=_,h*=_}if(p=Math.max(Math.abs(d),Math.abs(h)),(!a||a>p)&&(a=p,n(r,p)&&(a/=40)),n(r,p)&&(c/=40,h/=40,d/=40),c=Math[c>=1?"floor":"ceil"](c/a),h=Math[h>=1?"floor":"ceil"](h/a),d=Math[d>=1?"floor":"ceil"](d/a),u.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();m=e.clientX-y.left,f=e.clientY-y.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=a,e.offsetX=m,e.offsetY=f,e.deltaMode=0,s.unshift(e,c,h,d),o&&clearTimeout(o),o=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,s)}}function i(){a=null}function n(t,e){return u.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var o,a,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],s="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var c=r.length;c;)t.event.fixHooks[r[--c]]=t.event.mouseHooks;var u=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=s.length;i;)this.addEventListener(s[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",u.getLineHeight(this)),t.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=s.length;i;)this.removeEventListener(s[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery.mousewheel",["jquery"],i):"object"==typeof exports?module.exports=i:i(t),{define:e.define,require:e.require}}(),i=e.require("jquery.select2");return t.fn.select2.amd=e,i}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(i){return t.Tablesaw=e(i,t)}):"object"==typeof exports?module.exports=e("document"in t?require("jquery"):require("jquery")(t),t):t.Tablesaw=e(jQuery,t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";var i=e.document,n=!1;i.addEventListener("DOMContentLoaded",function(){n=!0});var o,a,r,s,l,c,u,h,d,p={i18n:{modeStack:"Stack",modeSwipe:"Swipe",modeToggle:"Toggle",modeSwitchColumnsAbbreviated:"Cols",modeSwitchColumns:"Columns",columnToggleButton:"Columns",columnToggleError:"No eligible columns.",sort:"Sort",swipePreviousColumn:"Previous column",swipeNextColumn:"Next column"},mustard:"head"in i&&(!e.blackberry||e.WebKitPoint)&&!e.operamini,$:t,_init:function(t){p.$(t||i).trigger("enhance.tablesaw")},init:function(t){n?p._init(t):"addEventListener"in i&&i.addEventListener("DOMContentLoaded",function(){p._init(t)})}};return t(i).on("enhance.tablesaw",function(){"undefined"!=typeof TablesawConfig&&TablesawConfig.i18n&&(p.i18n=t.extend(p.i18n,TablesawConfig.i18n||{})),p.i18n.modes=[p.i18n.modeStack,p.i18n.modeSwipe,p.i18n.modeToggle]}),p.mustard&&t(i.documentElement).addClass("tablesaw-enhanced"),function(){var n="tablesaw-bar",o={create:"tablesawcreate",destroy:"tablesawdestroy",refresh:"tablesawrefresh",resize:"tablesawresize"},a={};p.events=o;var r=function(e){if(!e)throw new Error("Tablesaw requires an element.");this.table=e,this.$table=t(e),this.$thead=this.$table.children().filter("thead").eq(0),this.$tbody=this.$table.children().filter("tbody"),this.mode=this.$table.attr("data-tablesaw-mode")||"stack",this.$toolbar=null,this.attributes={subrow:"data-tablesaw-subrow",ignorerow:"data-tablesaw-ignorerow"},this.init()};r.prototype.init=function(){if(!this.$thead.length)throw new Error("tablesaw: a <thead> is required, but none was found.");if(!this.$thead.find("th").length)throw new Error("tablesaw: no header cells found. Are you using <th> inside of <thead>?");this.$table.attr("id")||this.$table.attr("id","tablesaw-"+Math.round(1e4*Math.random())),this.createToolbar(),this._initCells(),this.$table.data("tablesaw",this),this.$table.trigger(o.create,[this])},r.prototype.getConfig=function(e){var i=t.extend(a,e||{});return t.extend(i,"undefined"!=typeof TablesawConfig?TablesawConfig:{})},r.prototype._getPrimaryHeaderRow=function(){return this._getHeaderRows().eq(0)},r.prototype._getHeaderRows=function(){return this.$thead.children().filter("tr").filter(function(){return!t(this).is("[data-tablesaw-ignorerow]")})},r.prototype._getRowIndex=function(t){return t.prevAll().length},r.prototype._getHeaderRowIndeces=function(){var e=this,i=[];return this._getHeaderRows().each(function(){i.push(e._getRowIndex(t(this)))}),i},r.prototype._getPrimaryHeaderCells=function(t){return(t||this._getPrimaryHeaderRow()).find("th")},r.prototype._$getCells=function(e){var i=this;return t(e).add(e.cells).filter(function(){var e=t(this),n=e.parent(),o=e.is("[colspan]");return!(n.is("["+i.attributes.subrow+"]")||n.is("["+i.attributes.ignorerow+"]")&&o)})},r.prototype._getVisibleColspan=function(){var e=0;return this._getPrimaryHeaderCells().each(function(){var i=t(this);"none"!==i.css("display")&&(e+=parseInt(i.attr("colspan"),10)||1)}),e},r.prototype.getColspanForCell=function(e){var i=this._getVisibleColspan(),n=0;return e.closest("tr").data("tablesaw-rowspanned")&&n++,e.siblings().each(function(){var e=t(this),i=parseInt(e.attr("colspan"),10)||1;"none"!==e.css("display")&&(n+=i)}),i-n},r.prototype.isCellInColumn=function(e,i){return t(e).add(e.cells).filter(function(){return this===i}).length},r.prototype.updateColspanCells=function(e,i,n){var o=this,a=o._getPrimaryHeaderRow();this.$table.find("[rowspan][data-tablesaw-priority]").each(function(){var e=t(this);if("persist"===e.attr("data-tablesaw-priority")){var i=e.closest("tr"),n=parseInt(e.attr("rowspan"),10);n>1&&((i=i.next()).data("tablesaw-rowspanned",!0),n--)}}),this.$table.find("[colspan],[data-tablesaw-maxcolspan]").filter(function(){return t(this).closest("tr")[0]!==a[0]}).each(function(){var a=t(this);if(void 0===n||o.isCellInColumn(i,this)){var r=o.getColspanForCell(a);e&&void 0!==n&&a[0===r?"addClass":"removeClass"](e);var s=parseInt(a.attr("data-tablesaw-maxcolspan"),10);s?r>s&&(r=s):a.attr("data-tablesaw-maxcolspan",a.attr("colspan")),a.attr("colspan",r)}})},r.prototype._findPrimaryHeadersForCell=function(t){for(var e=this._getPrimaryHeaderRow(),i=this._getPrimaryHeaderCells(e),n=this._getRowIndex(e),o=[],a=0;a<this.headerMapping.length;a++)if(a!==n)for(var r=0;r<this.headerMapping[a].length;r++)this.headerMapping[a][r]===t&&o.push(i[r]);return o},r.prototype.getRows=function(){var e=this;return this.$table.find("tr").filter(function(){return t(this).closest("table").is(e.$table)})},r.prototype.getBodyRows=function(e){return(e?t(e):this.$tbody).children().filter("tr")},r.prototype.getHeaderCellIndex=function(t){for(var e=this.headerMapping[0],i=0;i<e.length;i++)if(e[i]===t)return i;return-1},r.prototype._initCells=function(){this.$table.find("[data-tablesaw-maxcolspan]").each(function(){var e=t(this);e.attr("colspan",e.attr("data-tablesaw-maxcolspan"))});var e=this.getRows(),i=[];e.each(function(t){i[t]=[]}),e.each(function(e){var n=0;t(this).children().each(function(){for(var t=parseInt(this.getAttribute("data-tablesaw-maxcolspan")||this.getAttribute("colspan"),10),o=parseInt(this.getAttribute("rowspan"),10);i[e][n];)n++;if(i[e][n]=this,t)for(var a=0;a<t-1;a++)n++,i[e][n]=this;if(o)for(var r=1;r<o;r++)i[e+r][n]=this;n++})});for(var n=this._getHeaderRowIndeces(),o=0;o<i[0].length;o++)for(var a=0,r=n.length;a<r;a++){var s,l=i[n[a]][o],c=n[a];for(l.cells||(l.cells=[]);c<i.length;)l!==(s=i[c][o])&&l.cells.push(s),c++}this.headerMapping=i},r.prototype.refresh=function(){this._initCells(),this.$table.trigger(o.refresh,[this])},r.prototype._getToolbarAnchor=function(){var t=this.$table.parent();return t.is(".tablesaw-overflow")?t:this.$table},r.prototype._getToolbar=function(t){return t||(t=this._getToolbarAnchor()),t.prev().filter("."+n)},r.prototype.createToolbar=function(){var e=this._getToolbarAnchor(),i=this._getToolbar(e);i.length||(i=t("<div>").addClass(n).insertBefore(e)),this.$toolbar=i,this.mode&&this.$toolbar.addClass("tablesaw-mode-"+this.mode)},r.prototype.destroy=function(){this._getToolbar().each(function(){this.className=this.className.replace(/\btablesaw-mode\-\w*\b/gi,"")});var n=this.$table.attr("id");t(i).off("."+n),t(e).off("."+n),this.$table.trigger(o.destroy,[this]),this.$table.removeData("tablesaw")},t.fn.tablesaw=function(){return this.each(function(){t(this).data("tablesaw")||new r(this)})};var s=t(i);s.on("enhance.tablesaw",function(e){p.mustard&&t(e.target).find("table").filter("[data-tablesaw],[data-tablesaw-mode],[data-tablesaw-sortable]").tablesaw()});var l,c,u=!1;s.on("scroll.tablesaw",function(){u=!0,e.clearTimeout(l),l=e.setTimeout(function(){u=!1},300)}),t(e).on("resize",function(){u||(e.clearTimeout(c),c=e.setTimeout(function(){s.trigger(o.resize)},150))}),p.Table=r}(),o="tablesaw-stack",a="tablesaw-cell-label",r="tablesaw-cell-content",s="tablesaw-stack",l="data-tablesaw-no-labels",c="data-tablesaw-hide-empty",(u=function(e,i){this.tablesaw=i,this.$table=t(e),this.labelless=this.$table.is("["+l+"]"),this.hideempty=this.$table.is("["+c+"]"),this.$table.data(s,this)}).prototype.init=function(){if(this.$table.addClass(o),!this.labelless){var e=this;this.$table.find("th, td").filter(function(){return!t(this).closest("thead").length}).filter(function(){return!(t(this).closest("tr").is("["+l+"]")||e.hideempty&&!t(this).html())}).each(function(){var n=t(i.createElement("b")).addClass(a),o=t(this);t(e.tablesaw._findPrimaryHeadersForCell(this)).each(function(e){var o=t(this.cloneNode(!0)),a=o.find(".tablesaw-sortable-btn");o.find(".tablesaw-sortable-arrow").remove();var r=o.find("[data-tablesaw-checkall]");if(r.closest("label").remove(),r.length)n=t([]);else{e>0&&n.append(i.createTextNode(", "));for(var s,l=a.length?a[0]:o[0];s=l.firstChild;)n[0].appendChild(s)}}),n.length&&!o.find("."+r).length&&o.wrapInner("<span class='"+r+"'></span>");var s=o.find("."+a);s.length?s.replaceWith(n):o.prepend(n)})}},u.prototype.destroy=function(){this.$table.removeClass(o),this.$table.find("."+a).remove(),this.$table.find("."+r).each(function(){t(this).replaceWith(this.childNodes)})},t(i).on(p.events.create,function(t,e){"stack"===e.mode&&new u(e.table,e).init()}).on(p.events.refresh,function(e,i){"stack"===i.mode&&t(i.table).data(s).init()}).on(p.events.destroy,function(e,i){"stack"===i.mode&&t(i.table).data(s).destroy()}),p.Stack=u,h={_create:function(){return t(this).each(function(){t(this).trigger("beforecreate.tablesawbtn").tablesawbtn("_init").trigger("create.tablesawbtn")})},_init:function(){var e=t(this),i=this.getElementsByTagName("select")[0];return i&&t(this).addClass("btn-select tablesaw-btn-select").tablesawbtn("_select",i),e},_select:function(e){var n=function(e,n){var o,a,r=t(n).find("option"),s=i.createElement("span"),l=!1;if(s.setAttribute("aria-hidden","true"),s.innerHTML="&#160;",r.each(function(){this.selected&&(s.innerHTML=this.text)}),a=e.childNodes,r.length>0){for(var c=0,u=a.length;c<u;c++)(o=a[c])&&"SPAN"===o.nodeName.toUpperCase()&&(e.replaceChild(s,o),l=!0);l||e.insertBefore(s,e.firstChild)}};n(this,e),t(this).on("change refresh",function(){n(this,e)})}},t.fn.tablesawbtn=function(e,i,n,o){return this.each(function(){return e&&"string"==typeof e?t.fn.tablesawbtn.prototype[e].call(this,i,n,o):t(this).data("tablesawbtnactive")?t(this):(t(this).data("tablesawbtnactive",!0),void t.fn.tablesawbtn.prototype._create.call(this))})},t.extend(t.fn.tablesawbtn.prototype,h),function(){var n="tablesaw-coltoggle",o=function(e){this.$table=t(e),this.$table.length&&(this.tablesaw=this.$table.data("tablesaw"),this.attributes={btnTarget:"data-tablesaw-columntoggle-btn-target",set:"data-tablesaw-columntoggle-set"},this.classes={columnToggleTable:"tablesaw-columntoggle",columnBtnContain:"tablesaw-columntoggle-btnwrap tablesaw-advance",columnBtn:"tablesaw-columntoggle-btn tablesaw-nav-btn down",popup:"tablesaw-columntoggle-popup",priorityPrefix:"tablesaw-priority-"},this.set=[],this.$headers=this.tablesaw._getPrimaryHeaderCells(),this.$table.data(n,this))};o.prototype.initSet=function(){var e=this.$table.attr(this.attributes.set);if(e){var i=this.$table[0];this.set=t("table["+this.attributes.set+"='"+e+"']").filter(function(){return this!==i}).get()}},o.prototype.init=function(){if(this.$table.length){var o,a,r,s,l,c,u=this,h=this.tablesaw.getConfig({getColumnToggleLabelTemplate:function(t){return"<label><input type='checkbox' checked>"+t+"</label>"}});this.$table.addClass(this.classes.columnToggleTable),a=(o=this.$table.attr("id"))+"-popup",c=t("<div class='"+this.classes.columnBtnContain+"'></div>"),r=t("<a href='#"+a+"' class='btn tablesaw-btn btn-micro "+this.classes.columnBtn+"' data-popup-link><span>"+p.i18n.columnToggleButton+"</span></a>"),s=t("<div class='"+this.classes.popup+"' id='"+a+"'></div>"),l=t("<div class='btn-group'></div>"),this.$popup=s;var d=!1;this.$headers.each(function(){var e=t(this),i=e.attr("data-tablesaw-priority"),n=u.tablesaw._$getCells(this);i&&"persist"!==i&&(n.addClass(u.classes.priorityPrefix+i),t(h.getColumnToggleLabelTemplate(e.text())).appendTo(l).find('input[type="checkbox"]').data("tablesaw-header",this),d=!0)}),d||l.append("<label>"+p.i18n.columnToggleError+"</label>"),l.appendTo(s),l.find('input[type="checkbox"]').on("change",function(e){var i;(y(e.target),u.set.length)&&(t(u.$popup).find("input[type='checkbox']").each(function(t){if(this===e.target)return i=t,!1}),t(u.set).each(function(){var o=t(this).data(n).$popup.find("input[type='checkbox']").get(i);o&&(o.checked=e.target.checked,y(o))}))}),r.appendTo(c);var m,f=t(this.$table.attr(this.attributes.btnTarget));c.appendTo(f.length?f:this.tablesaw.$toolbar),r.on("click.tablesaw",function(n){n.preventDefault(),c.is(".visible")?v():(c.addClass("visible"),r.removeClass("down").addClass("up"),t(i).off("click."+o,v),e.clearTimeout(m),m=e.setTimeout(function(){t(i).on("click."+o,v)},15))}),s.appendTo(c),this.$menu=l;var g,_=this.$table.closest(".tablesaw-overflow");if(_.css("-webkit-overflow-scrolling"))_.on("scroll",function(){var i=t(this);e.clearTimeout(g),g=e.setTimeout(function(){i.css("-webkit-overflow-scrolling","auto"),e.setTimeout(function(){i.css("-webkit-overflow-scrolling","touch")},0)},100)});t(e).on(p.events.resize+"."+o,function(){u.refreshToggle()}),this.initSet(),this.refreshToggle()}function y(t){var e=t.checked,i=u.getHeaderFromCheckbox(t),n=u.tablesaw._$getCells(i);n[e?"removeClass":"addClass"]("tablesaw-toggle-cellhidden"),n[e?"addClass":"removeClass"]("tablesaw-toggle-cellvisible"),u.updateColspanCells(i,e),u.$table.trigger("tablesawcolumns")}function v(e){e&&t(e.target).closest("."+u.classes.popup).length||(t(i).off("click."+o),r.removeClass("up").addClass("down"),c.removeClass("visible"))}},o.prototype.getHeaderFromCheckbox=function(e){return t(e).data("tablesaw-header")},o.prototype.refreshToggle=function(){var t=this;this.$menu.find("input").each(function(){var e=t.getHeaderFromCheckbox(this);this.checked="table-cell"===t.tablesaw._$getCells(e).eq(0).css("display")}),this.updateColspanCells()},o.prototype.updateColspanCells=function(t,e){this.tablesaw.updateColspanCells("tablesaw-toggle-cellhidden",t,e)},o.prototype.destroy=function(){this.$table.removeClass(this.classes.columnToggleTable),this.$table.find("th, td").each(function(){t(this).removeClass("tablesaw-toggle-cellhidden").removeClass("tablesaw-toggle-cellvisible"),this.className=this.className.replace(/\bui\-table\-priority\-\d\b/g,"")})},t(i).on(p.events.create,function(t,e){"columntoggle"===e.mode&&new o(e.table).init()}),t(i).on(p.events.destroy,function(e,i){"columntoggle"===i.mode&&t(i.table).data(n).destroy()}),t(i).on(p.events.refresh,function(e,i){"columntoggle"===i.mode&&t(i.table).data(n).refreshPriority()}),p.ColumnToggle=o}(),function(){function e(e){var i=[];return t(e.childNodes).each(function(){var e=t(this);e.is("input, select")?i.push(e.val()):e.is(".tablesaw-cell-label")||i.push((e.text()||"").replace(/^\s+|\s+$/g,""))}),i.join("")}var n="tablesaw-sortable",o="table[data-"+n+"]",a="[data-"+n+"-switch]",r={sortCol:"data-tablesaw-sortable-col",defaultCol:"data-tablesaw-sortable-default-col",numericCol:"data-tablesaw-sortable-numeric",subRow:"data-tablesaw-subrow",ignoreRow:"data-tablesaw-ignorerow"},s={head:n+"-head",ascend:n+"-ascending",descend:n+"-descending",switcher:n+"-switch",tableToolbar:"tablesaw-bar-section",sortButton:n+"-btn"},l={_create:function(e){return t(this).each(function(){if(t(this).data(n+"-init"))return!1;t(this).data(n+"-init",!0).trigger("beforecreate."+n)[n]("_init",e).trigger("create."+n)})},_init:function(){var i,o,l,c=t(this),u=c.data("tablesaw");function h(e){t.each(e,function(e,i){var n=t(i);n.removeAttr(r.defaultCol),n.removeClass(s.ascend),n.removeClass(s.descend)})}c.addClass(n),i=c.children().filter("thead").find("th["+r.sortCol+"]"),l=i,t.each(l,function(e,i){t(i).addClass(s.head)}),function(e,i){t.each(e,function(e,n){var o=t("<button class='"+s.sortButton+"'/>");o.on("click",{col:n},i),t(n).wrapInner(o).find("button").append("<span class='tablesaw-sortable-arrow'>")})}(i,function(e){if(!t(e.target).is("a[href]")){e.stopPropagation();var a=t(e.target).closest("["+r.sortCol+"]"),l=e.data.col,u=i.index(a[0]);h(a.closest("thead").find("th").filter(function(){return this!==a[0]})),a.is("."+s.descend)||!a.is("."+s.ascend)?(c[n]("sortBy",l,!0),u+="_asc"):(c[n]("sortBy",l),u+="_desc"),o&&o.find("select").val(u).trigger("refresh"),e.preventDefault()}}),function(e){t.each(e,function(e,i){var n=t(i);n.is("["+r.defaultCol+"]")&&(n.is("."+s.descend)||n.addClass(s.ascend))})}(i),c.is(a)&&function(i){o=t("<div>").addClass(s.switcher).addClass(s.tableToolbar);var a=["<label>"+p.i18n.sort+":"];a.push('<span class="btn tablesaw-btn"><select>'),i.each(function(i){var n=t(this),o=n.is("["+r.defaultCol+"]"),l=n.is("."+s.descend),c=n.is("["+r.numericCol+"]"),u=0;t(this.cells.slice(0,5)).each(function(){isNaN(parseInt(e(this),10))||u++});var h=5===u;c||n.attr(r.numericCol,h?"":"false"),a.push("<option"+(o&&!l?" selected":"")+' value="'+i+'_asc">'+n.text()+" "+(h?"&#x2191;":"(A-Z)")+"</option>"),a.push("<option"+(o&&l?" selected":"")+' value="'+i+'_desc">'+n.text()+" "+(h?"&#x2193;":"(Z-A)")+"</option>")}),a.push("</select></span></label>"),o.html(a.join(""));var l=u.$toolbar.children().eq(0);l.length?o.insertBefore(l):o.appendTo(u.$toolbar),o.find(".tablesaw-btn").tablesawbtn(),o.find("select").on("change",function(){var e=t(this).val().split("_"),o=i.eq(e[0]);h(o.siblings()),c[n]("sortBy",o.get(0),"asc"===e[1])})}(i)},sortRows:function(i,n,o,a,s){var l,c=function(i,n){var o=[];return t.each(i,function(i,a){for(var s=a.parentNode,l=t(s),c=[],u=l.next();u.is("["+r.subRow+"]");)c.push(u[0]),u=u.next();var h=s.parentNode;l.is("["+r.subRow+"]")||h===n&&o.push({element:a,cell:e(a),row:s,subrows:c.length?c:null,ignored:l.is("["+r.ignoreRow+"]")})}),o}(a.cells,s),u=t(a).data("tablesaw-sort");return l=!(!u||"function"!=typeof u)&&u(o)||function(t,e){var i=/[^\-\+\d\.]/g;return t?function(t,n){return t.ignored||n.ignored?0:e?parseFloat(t.cell.replace(i,""))-parseFloat(n.cell.replace(i,"")):t.cell.toLowerCase()>n.cell.toLowerCase()?1:-1}:function(t,n){return t.ignored||n.ignored?0:e?parseFloat(n.cell.replace(i,""))-parseFloat(t.cell.replace(i,"")):t.cell.toLowerCase()<n.cell.toLowerCase()?1:-1}}(o,t(a).is("["+r.numericCol+"]")&&!t(a).is("["+r.numericCol+'="false"]')),function(t){var e,i,n=[];for(e=0,i=t.length;e<i;e++)n.push(t[e].row),t[e].subrows&&n.push(t[e].subrows);return n}(c.sort(l))},makeColDefault:function(e,i){var n=t(e);n.attr(r.defaultCol,"true"),i?(n.removeClass(s.descend),n.addClass(s.ascend)):(n.removeClass(s.ascend),n.addClass(s.descend))},sortBy:function(e,i){var o,a=t(this),r=a.data("tablesaw");r.$tbody.each(function(){var s,l,c,u=t(this),h=r.getBodyRows(this),d=r.headerMapping[0];for(l=0,c=d.length;l<c;l++)if(d[l]===e){o=l;break}for(l=0,c=(s=a[n]("sortRows",h,o,i,e,this)).length;l<c;l++)u.append(s[l])}),a[n]("makeColDefault",e,i),a.trigger("tablesaw-sorted")}};t.fn[n]=function(e){var i,o=Array.prototype.slice.call(arguments,1);return e&&"string"==typeof e?void 0!==(i=t.fn[n].prototype[e].apply(this[0],o))?i:t(this):(t(this).data(n+"-active")||(t(this).data(n+"-active",!0),t.fn[n].prototype._create.call(this,e)),t(this))},t.extend(t.fn[n].prototype,l),t(i).on(p.events.create,function(t,e){e.$table.is(o)&&e.$table[n]()})}(),function(){var n={hideBtn:"disabled",persistWidths:"tablesaw-fix-persist",hiddenCol:"tablesaw-swipe-cellhidden",persistCol:"tablesaw-swipe-cellpersist",allColumnsVisible:"tablesaw-all-cols-visible"},o={disableTouchEvents:"data-tablesaw-no-touch",ignorerow:"data-tablesaw-ignorerow",subrow:"data-tablesaw-subrow"};function a(a,r){var s=r.data("tablesaw"),l=t("<div class='tablesaw-advance'></div>"),c=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro left'>"+p.i18n.swipePreviousColumn+"</a>").appendTo(l),u=t("<a href='#' class='btn tablesaw-nav-btn tablesaw-btn btn-micro right'>"+p.i18n.swipeNextColumn+"</a>").appendTo(l),h=a._getPrimaryHeaderCells(),d=h.not('[data-tablesaw-priority="persist"]'),m=[],f=t(i.head||"head"),g=r.attr("id");if(!h.length)throw new Error("tablesaw swipe: no header cells found.");function _(){r.css({width:"1px"}),r.find("."+n.hiddenCol).removeClass(n.hiddenCol),m=[],h.each(function(){m.push(this.offsetWidth)}),r.css({width:""})}function y(t){s._$getCells(t).removeClass(n.hiddenCol)}function v(t){s._$getCells(t).addClass(n.hiddenCol)}function b(){r.removeClass(n.persistWidths),t("#"+g+"-persist").remove()}function w(){var e,i="#"+g+".tablesaw-swipe ",o=[],a=r.width(),s=[];if(h.each(function(e){var r;t(this).is('[data-tablesaw-priority="persist"]')&&(r=this.offsetWidth)<.75*a&&(s.push(e+"-"+r),o.push(i+" ."+n.persistCol+":nth-child("+(e+1)+") { width: "+r+"px; }"))}),e=s.join("_"),o.length){r.addClass(n.persistWidths);var l=t("#"+g+"-persist");l.length&&l.data("tablesaw-hash")===e||(l.remove(),t("<style>"+o.join("\n")+"</style>").attr("id",g+"-persist").data("tablesaw-hash",e).appendTo(f))}}function A(){var e,i=[];return d.each(function(o){var a=t(this),r="none"===a.css("display")||a.is("."+n.hiddenCol);if(r||e){if(r&&e)return i[1]=o,!1}else e=!0,i[0]=o}),i}function k(){var t=A();return[t[1]-1,t[0]-1]}function P(t){return t[1]>-1&&t[1]<d.length}function S(){if(!(i=r.attr("data-tablesaw-swipe-media"))||"matchMedia"in e&&e.matchMedia(i).matches){var i,o=r.parent().width(),a=[],l=0,c=[],u=h.length;h.each(function(e){var i=t(this).is('[data-tablesaw-priority="persist"]');a.push(i),l+=m[e],c.push(l),(i||l>o)&&u--});var d=0===u;h.each(function(t){c[t]>o&&v(this)}),h.each(function(t){if(a[t])return e=this,void s._$getCells(e).addClass(n.persistCol);var e;(c[t]<=o||d)&&(d=!1,y(this),s.updateColspanCells(n.hiddenCol,this,!0))}),b(),r.trigger("tablesawcolumns")}}function M(t){var e=function(t){return t?A():k()}(t);P(e)&&(isNaN(e[0])&&(e[0]=t?0:d.length-1),w(),v(d.get(e[0])),s.updateColspanCells(n.hiddenCol,d.get(e[0]),!1),y(d.get(e[1])),s.updateColspanCells(n.hiddenCol,d.get(e[1]),!0),r.trigger("tablesawcolumns"))}function C(t,e){return(t.touches||t.originalEvent.touches)[0][e]}r.addClass("tablesaw-swipe"),_(),l.appendTo(s.$toolbar),g||(g="tableswipe-"+Math.round(1e4*Math.random()),r.attr("id",g)),c.add(u).on("click",function(e){M(!!t(e.target).closest(u).length),e.preventDefault()}),r.is("["+o.disableTouchEvents+"]")||r.on("touchstart.swipetoggle",function(i){var n,o,r=C(i,"pageX"),s=C(i,"pageY"),l=e.pageYOffset;t(e).off(p.events.resize,S),t(this).on("touchmove.swipetoggle",function(t){n=C(t,"pageX"),o=C(t,"pageY")}).on("touchend.swipetoggle",function(){var i=a.getConfig({swipeHorizontalThreshold:30,swipeVerticalThreshold:30}),c=i.swipe?i.swipe.verticalThreshold:i.swipeVerticalThreshold,u=i.swipe?i.swipe.horizontalThreshold:i.swipeHorizontalThreshold,h=Math.abs(e.pageYOffset-l)>=c;Math.abs(o-s)>=c||h||(n-r<-1*u&&M(!0),n-r>u&&M(!1)),e.setTimeout(function(){t(e).on(p.events.resize,S)},300),t(this).off("touchmove.swipetoggle touchend.swipetoggle")})}),r.on("tablesawcolumns.swipetoggle",function(){var t=P(k()),e=P(A());c[t?"removeClass":"addClass"](n.hideBtn),u[e?"removeClass":"addClass"](n.hideBtn),s.$toolbar[t||e?"removeClass":"addClass"](n.allColumnsVisible)}).on("tablesawnext.swipetoggle",function(){M(!0)}).on("tablesawprev.swipetoggle",function(){M(!1)}).on(p.events.destroy+".swipetoggle",function(){var i=t(this);i.removeClass("tablesaw-swipe"),s.$toolbar.find(".tablesaw-advance").remove(),t(e).off(p.events.resize,S),i.off(".swipetoggle")}).on(p.events.refresh,function(){b(),_(),S()}),S(),t(e).on(p.events.resize,S)}t(i).on(p.events.create,function(t,e){"swipe"===e.mode&&a(e,e.$table)})}(),function(){var n={attr:{init:"data-tablesaw-minimap"},show:function(t){var i=t.getAttribute(n.attr.init);return""===i||!!(i&&"matchMedia"in e)&&e.matchMedia(i).matches}};t(i).on(p.events.create,function(i,o){"swipe"!==o.mode&&"columntoggle"!==o.mode||!o.$table.is("[ "+n.attr.init+"]")||function(i){var o=i.data("tablesaw"),a=t('<div class="tablesaw-advance minimap">'),r=t('<ul class="tablesaw-advance-dots">').appendTo(a),s="tablesaw-advance-dots-hide";function l(){if(n.show(i[0])){a.css("display","block");var e=r.find("li").removeClass(s);i.find("thead th").each(function(i){"none"===t(this).css("display")&&e.eq(i).addClass(s)})}else a.css("display","none")}i.data("tablesaw")._getPrimaryHeaderCells().each(function(){r.append("<li><i></i></li>")}),a.appendTo(o.$toolbar),l(),t(e).on(p.events.resize,l),i.on("tablesawcolumns.minimap",function(){l()}).on(p.events.destroy+".minimap",function(){var i=t(this);o.$toolbar.find(".tablesaw-advance").remove(),t(e).off(p.events.resize,l),i.off(".minimap")})}(o.$table)}),p.MiniMap=n}(),d={selectors:{init:"table[data-tablesaw-mode-switch]"},attributes:{excludeMode:"data-tablesaw-mode-exclude"},classes:{main:"tablesaw-modeswitch",toolbar:"tablesaw-bar-section"},modes:["stack","swipe","columntoggle"],init:function(e){var i,n=t(e),o=n.data("tablesaw"),a=n.attr(d.attributes.excludeMode),r=o.$toolbar,s=t("<div>").addClass(d.classes.main+" "+d.classes.toolbar),l=['<label><span class="abbreviated">'+p.i18n.modeSwitchColumnsAbbreviated+'</span><span class="longform">'+p.i18n.modeSwitchColumns+"</span>:"],c=n.attr("data-tablesaw-mode");l.push('<span class="btn tablesaw-btn"><select>');for(var u=0,h=d.modes.length;u<h;u++)a&&a.toLowerCase()===d.modes[u]||(i=c===d.modes[u],l.push("<option"+(i?" selected":"")+' value="'+d.modes[u]+'">'+p.i18n.modes[u]+"</option>"));l.push("</select></span></label>"),s.html(l.join(""));var m=r.find(".tablesaw-advance").eq(0);m.length?s.insertBefore(m):s.appendTo(r),s.find(".tablesaw-btn").tablesawbtn(),s.find("select").on("change",function(i){return d.onModeChange.call(e,i,t(this).val())})},onModeChange:function(e,i){var n=t(this),o=n.data("tablesaw");o.$toolbar.find("."+d.classes.main).remove(),o.destroy(),n.attr("data-tablesaw-mode",i),n.tablesaw()}},t(i).on(p.events.create,function(t,e){e.$table.is(d.selectors.init)&&d.init(e.table)}),function(){var e="tablesawCheckAll";function n(t){this.tablesaw=t,this.$table=t.$table,this.attr="data-tablesaw-checkall",this.checkAllSelector="["+this.attr+"]",this.forceCheckedSelector="["+this.attr+"-checked]",this.forceUncheckedSelector="["+this.attr+"-unchecked]",this.checkboxSelector='input[type="checkbox"]',this.$triggers=null,this.$checkboxes=null,this.$table.data(e)||(this.$table.data(e,this),this.init())}n.prototype._filterCells=function(e){return e.filter(function(){return!t(this).closest("tr").is("[data-tablesaw-subrow],[data-tablesaw-ignorerow]")}).find(this.checkboxSelector).not(this.checkAllSelector)},n.prototype.getCheckboxesForButton=function(e){return this._filterCells(t(t(e).attr(this.attr)))},n.prototype.getCheckboxesForCheckbox=function(e){return this._filterCells(t(t(e).closest("th")[0].cells))},n.prototype.init=function(){var e=this;this.$table.find(this.checkAllSelector).each(function(){t(this).is(e.checkboxSelector)?e.addCheckboxEvents(this):e.addButtonEvents(this)})},n.prototype.addButtonEvents=function(i){var n=this;t(i).on("click",function(i){i.preventDefault();var o,a=n.getCheckboxesForButton(this),r=!0;a.each(function(){this.checked||(r=!1)}),o=!!t(this).is(n.forceCheckedSelector)||!t(this).is(n.forceUncheckedSelector)&&!r,a.each(function(){this.checked=o,t(this).trigger("change."+e)})})},n.prototype.addCheckboxEvents=function(i){var n=this;t(i).on("change",function(){var t=this.checked;n.getCheckboxesForCheckbox(this).each(function(){this.checked=t})});var o=n.getCheckboxesForCheckbox(i);o.on("change."+e,function(){var t=0;o.each(function(){this.checked&&t++});var e=t===o.length;i.checked=e,i.indeterminate=0!==t&&!e})},t(i).on(p.events.create,function(t,e){new n(e)}),p.CheckAll=n}(),p}),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,i),o.loaded=!0,o.exports}return i.m=t,i.c=e,i.p="",i(0)}([function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(2)),a=n(i(40)),r=i(41),s=i(46),l=n(i(49)),c=n(i(44)),u=n(i(39)),h=o.default.create;function d(){var t=h();return t.compile=function(e,i){return s.compile(e,i,t)},t.precompile=function(e,i){return s.precompile(e,i,t)},t.AST=a.default,t.Compiler=s.Compiler,t.JavaScriptCompiler=l.default,t.Parser=r.parser,t.parse=r.parse,t.parseWithoutProcessing=r.parseWithoutProcessing,t}var p=d();p.create=d,u.default(p),p.Visitor=c.default,p.default=p,e.default=p,t.exports=e.default},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,i){"use strict";var n=i(3).default,o=i(1).default;e.__esModule=!0;var a=n(i(4)),r=o(i(33)),s=o(i(6)),l=n(i(5)),c=n(i(34)),u=o(i(39));function h(){var t=new a.HandlebarsEnvironment;return l.extend(t,a),t.SafeString=r.default,t.Exception=s.default,t.Utils=l,t.escapeExpression=l.escapeExpression,t.VM=c,t.template=function(e){return c.template(e,t)},t}var d=h();d.create=h,u.default(d),d.default=d,e.default=d,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e},e.__esModule=!0},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.HandlebarsEnvironment=c;var o=i(5),a=n(i(6)),r=i(10),s=i(30),l=n(i(32));e.VERSION="4.5.3";e.COMPILER_REVISION=8;e.LAST_COMPATIBLE_COMPILER_REVISION=7;e.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};function c(t,e,i){this.helpers=t||{},this.partials=e||{},this.decorators=i||{},r.registerDefaultHelpers(this),s.registerDefaultDecorators(this)}c.prototype={constructor:c,logger:l.default,log:l.default.log,registerHelper:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple helpers");o.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===o.toString.call(t))o.extend(this.partials,t);else{if(void 0===e)throw new a.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new a.default("Arg not supported with multiple decorators");o.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var u=l.default.log;e.log=u,e.createFrame=o.createFrame,e.logger=l.default},function(t,e){"use strict";e.__esModule=!0,e.extend=r,e.indexOf=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},e.escapeExpression=function(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}if(!o.test(t))return t;return t.replace(n,a)},e.isEmpty=function(t){return!t&&0!==t||!(!c(t)||0!==t.length)},e.createFrame=function(t){var e=r({},t);return e._parent=t,e},e.blockParams=function(t,e){return t.path=e,t},e.appendContextPath=function(t,e){return(t?t+".":"")+e};var i={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(t){return i[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var i in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],i)&&(t[i]=arguments[e][i]);return t}var s=Object.prototype.toString;e.toString=s;var l=function(t){return"function"==typeof t};l(/x/)&&(e.isFunction=l=function(t){return"function"==typeof t&&"[object Function]"===s.call(t)}),e.isFunction=l;var c=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===s.call(t)};e.isArray=c},function(t,e,i){"use strict";var n=i(7).default;e.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function a(t,e){var i=e&&e.loc,r=void 0,s=void 0,l=void 0,c=void 0;i&&(r=i.start.line,s=i.end.line,l=i.start.column,c=i.end.column,t+=" - "+r+":"+l);for(var u=Error.prototype.constructor.call(this,t),h=0;h<o.length;h++)this[o[h]]=u[o[h]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{i&&(this.lineNumber=r,this.endLineNumber=s,n?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=l,this.endColumn=c))}catch(t){}}a.prototype=new Error,e.default=a,t.exports=e.default},function(t,e,i){t.exports={default:i(8),__esModule:!0}},function(t,e,i){var n=i(9);t.exports=function(t,e,i){return n.setDesc(t,e,i)}},function(t,e){var i=Object;t.exports={create:i.create,getProto:i.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:i.getOwnPropertyDescriptor,setDesc:i.defineProperty,setDescs:i.defineProperties,getKeys:i.keys,getNames:i.getOwnPropertyNames,getSymbols:i.getOwnPropertySymbols,each:[].forEach}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.registerDefaultHelpers=function(t){o.default(t),a.default(t),r.default(t),s.default(t),l.default(t),c.default(t),u.default(t)},e.moveHelperToHooks=function(t,e,i){t.helpers[e]&&(t.hooks[e]=t.helpers[e],i||delete t.helpers[e])};var o=n(i(11)),a=n(i(12)),r=n(i(25)),s=n(i(26)),l=n(i(27)),c=n(i(28)),u=n(i(29))},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,i){var o=i.inverse,a=i.fn;if(!0===e)return a(this);if(!1===e||null==e)return o(this);if(n.isArray(e))return e.length>0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):o(this);if(i.data&&i.ids){var r=n.createFrame(i.data);r.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:r}}return a(e,i)})},t.exports=e.default},function(t,e,i){(function(n){"use strict";var o=i(13).default,a=i(1).default;e.__esModule=!0;var r=i(5),s=a(i(6));e.default=function(t){t.registerHelper("each",function(t,e){if(!e)throw new s.default("Must pass iterator to #each");var i,a=e.fn,l=e.inverse,c=0,u="",h=void 0,d=void 0;function p(e,i,n){h&&(h.key=e,h.index=i,h.first=0===i,h.last=!!n,d&&(h.contextPath=d+e)),u+=a(t[e],{data:h,blockParams:r.blockParams([t[e],e],[d+e,null])})}if(e.data&&e.ids&&(d=r.appendContextPath(e.data.contextPath,e.ids[0])+"."),r.isFunction(t)&&(t=t.call(this)),e.data&&(h=r.createFrame(e.data)),t&&"object"==typeof t)if(r.isArray(t))for(var m=t.length;c<m;c++)c in t&&p(c,c,c===t.length-1);else if(n.Symbol&&t[n.Symbol.iterator]){for(var f=[],g=t[n.Symbol.iterator](),_=g.next();!_.done;_=g.next())f.push(_.value);for(m=(t=f).length;c<m;c++)p(c,c,c===t.length-1)}else i=void 0,o(t).forEach(function(t){void 0!==i&&p(i,c-1),i=t,c++}),void 0!==i&&p(i,c-1,!0);return 0===c&&(u=l(this)),u})},t.exports=e.default}).call(e,function(){return this}())},function(t,e,i){t.exports={default:i(14),__esModule:!0}},function(t,e,i){i(15),t.exports=i(21).Object.keys},function(t,e,i){var n=i(16);i(18)("keys",function(t){return function(e){return t(n(e))}})},function(t,e,i){var n=i(17);t.exports=function(t){return Object(n(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,i){var n=i(19),o=i(21),a=i(24);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),n(n.S+n.F*a(function(){i(1)}),"Object",r)}},function(t,e,i){var n=i(20),o=i(21),a=i(22),r=function(t,e,i){var s,l,c,u=t&r.F,h=t&r.G,d=t&r.S,p=t&r.P,m=t&r.B,f=t&r.W,g=h?o:o[e]||(o[e]={}),_=h?n:d?n[e]:(n[e]||{}).prototype;for(s in h&&(i=e),i)(l=!u&&_&&s in _)&&s in g||(c=l?_[s]:i[s],g[s]=h&&"function"!=typeof _[s]?i[s]:m&&l?a(c,n):f&&_[s]==c?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g.prototype||(g.prototype={}))[s]=c))};r.F=1,r.G=2,r.S=4,r.P=8,r.B=16,r.W=32,t.exports=r},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e){var i=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=i)},function(t,e,i){var n=i(23);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(6));e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=i(5),a=n(i(6));e.default=function(t){t.registerHelper("if",function(t,e){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return o.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||o.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,i){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:i.inverse,inverse:i.fn,hash:i.hash})})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],i=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var o=1;null!=i.hash.level?o=i.hash.level:i.data&&null!=i.data.level&&(o=i.data.level),e[0]=o,t.log.apply(t,e)})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0;var i=/^(constructor|__defineGetter__|__defineSetter__|__lookupGetter__|__proto__)$/;e.dangerousPropertyRegex=i,e.default=function(t){t.registerHelper("lookup",function(t,e){return t?!i.test(String(e))||Object.prototype.propertyIsEnumerable.call(t,e)?t[e]:void 0:t})}},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=i(5),a=n(i(6));e.default=function(t){t.registerHelper("with",function(t,e){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");o.isFunction(t)&&(t=t.call(this));var i=e.fn;if(o.isEmpty(t))return e.inverse(this);var n=e.data;return e.data&&e.ids&&((n=o.createFrame(e.data)).contextPath=o.appendContextPath(e.data.contextPath,e.ids[0])),i(t,{data:n,blockParams:o.blockParams([t],[n&&n.contextPath])})})},t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.registerDefaultDecorators=function(t){o.default(t)};var o=n(i(31))},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5);e.default=function(t){t.registerDecorator("inline",function(t,e,i,o){var a=t;return e.partials||(e.partials={},a=function(o,a){var r=i.partials;i.partials=n.extend({},r,e.partials);var s=t(o,a);return i.partials=r,s}),e.partials[o.args[0]]=o.fn,a})},t.exports=e.default},function(t,e,i){"use strict";e.__esModule=!0;var n=i(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=n.indexOf(o.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=o.lookupLevel(t),"undefined"!=typeof console&&o.lookupLevel(o.level)<=t){var e=o.methodMap[t];console[e]||(e="log");for(var i=arguments.length,n=Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];console[e].apply(console,n)}}};e.default=o,t.exports=e.default},function(t,e){"use strict";function i(t){this.string=t}e.__esModule=!0,i.prototype.toString=i.prototype.toHTML=function(){return""+this.string},e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(35).default,o=i(3).default,a=i(1).default;e.__esModule=!0,e.checkRevision=function(t){var e=t&&t[0]||1,i=l.COMPILER_REVISION;if(e>=l.LAST_COMPATIBLE_COMPILER_REVISION&&e<=l.COMPILER_REVISION)return;if(e<l.LAST_COMPATIBLE_COMPILER_REVISION){var n=l.REVISION_CHANGES[i],o=l.REVISION_CHANGES[e];throw new s.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}throw new s.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")},e.template=function(t,e){if(!e)throw new s.default("No environment passed to template");if(!t||!t.main)throw new s.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var i=t.compiler&&7===t.compiler[0];var o={strict:function(t,e,i){if(!(t&&e in t))throw new s.default('"'+e+'" not defined in '+t,{loc:i});return t[e]},lookup:function(t,e){for(var i=t.length,n=0;n<i;n++)if(t[n]&&null!=t[n][e])return t[n][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:r.escapeExpression,invokePartial:function(i,n,o){o.hash&&(n=r.extend({},n,o.hash),o.ids&&(o.ids[0]=!0));i=e.VM.resolvePartial.call(this,i,n,o);var a=r.extend({},o,{hooks:this.hooks}),l=e.VM.invokePartial.call(this,i,n,a);null==l&&e.compile&&(o.partials[o.name]=e.compile(i,t.compilerOptions,e),l=o.partials[o.name](n,a));if(null!=l){if(o.indent){for(var c=l.split("\n"),u=0,h=c.length;u<h&&(c[u]||u+1!==h);u++)c[u]=o.indent+c[u];l=c.join("\n")}return l}throw new s.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(e){var i=t[e];return i.decorator=t[e+"_d"],i},programs:[],program:function(t,e,i,n,o){var a=this.programs[t],r=this.fn(t);return e||o||n||i?a=u(this,t,r,e,i,n,o):a||(a=this.programs[t]=u(this,t,r)),a},data:function(t,e){for(;t&&e--;)t=t._parent;return t},nullContext:n({}),noop:e.VM.noop,compilerInfo:t.compiler};function a(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=i.data;a._setup(i),!i.partial&&t.useData&&(n=function(t,e){e&&"root"in e||((e=e?l.createFrame(e):{}).root=t);return e}(e,n));var r=void 0,s=t.useBlockParams?[]:void 0;function c(e){return""+t.main(o,e,o.helpers,o.partials,n,s,r)}return t.useDepths&&(r=i.depths?e!=i.depths[0]?[e].concat(i.depths):i.depths:[e]),(c=d(t.main,c,o,i.depths||[],n,s))(e,i)}return a.isTop=!0,a._setup=function(n){if(n.partial)o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators,o.hooks=n.hooks;else{o.helpers=r.extend({},e.helpers,n.helpers),t.usePartial&&(o.partials=r.extend({},e.partials,n.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=r.extend({},e.decorators,n.decorators)),o.hooks={};var a=n.allowCallsToHelperMissing||i;c.moveHelperToHooks(o,"helperMissing",a),c.moveHelperToHooks(o,"blockHelperMissing",a)}},a._child=function(e,i,n,a){if(t.useBlockParams&&!n)throw new s.default("must pass block params");if(t.useDepths&&!a)throw new s.default("must pass parent depths");return u(o,e,t[e],i,0,n,a)},a},e.wrapProgram=u,e.resolvePartial=function(t,e,i){t?t.call||i.name||(i.name=t,t=i.partials[t]):t="@partial-block"===i.name?i.data["partial-block"]:i.partials[i.name];return t},e.invokePartial=function(t,e,i){var n=i.data&&i.data["partial-block"];i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath);var o=void 0;i.fn&&i.fn!==h&&function(){i.data=l.createFrame(i.data);var t=i.fn;o=i.data["partial-block"]=function(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return i.data=l.createFrame(i.data),i.data["partial-block"]=n,t(e,i)},t.partials&&(i.partials=r.extend({},i.partials,t.partials))}();void 0===t&&o&&(t=o);if(void 0===t)throw new s.default("The partial "+i.name+" could not be found");if(t instanceof Function)return t(e,i)},e.noop=h;var r=o(i(5)),s=a(i(6)),l=i(4),c=i(10);function u(t,e,i,n,o,a,r){function s(e){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=r;return!r||e==r[0]||e===t.nullContext&&null===r[0]||(s=[e].concat(r)),i(t,e,t.helpers,t.partials,o.data||n,a&&[o.blockParams].concat(a),s)}return(s=d(i,s,t,r,n,a)).program=e,s.depth=r?r.length:0,s.blockParams=o||0,s}function h(){return""}function d(t,e,i,n,o,a){if(t.decorator){var s={};e=t.decorator(e,s,i,n&&n[0],o,a,n),r.extend(e,s)}return e}},function(t,e,i){t.exports={default:i(36),__esModule:!0}},function(t,e,i){i(37),t.exports=i(21).Object.seal},function(t,e,i){var n=i(38);i(18)("seal",function(t){return function(e){return t&&n(e)?t(e):e}})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){(function(i){"use strict";e.__esModule=!0,e.default=function(t){var e=void 0!==i?i:window,n=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=n),t}},t.exports=e.default}).call(e,function(){return this}())},function(t,e){"use strict";e.__esModule=!0;var i={helpers:{helperExpression:function(t){return"SubExpression"===t.type||("MustacheStatement"===t.type||"BlockStatement"===t.type)&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return 1===t.parts.length&&!i.helpers.scopedId(t)&&!t.depth}}};e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default,o=i(3).default;e.__esModule=!0,e.parseWithoutProcessing=u,e.parse=function(t,e){var i=u(t,e);return new r.default(e).accept(i)};var a=n(i(42)),r=n(i(43)),s=o(i(45)),l=i(5);e.parser=a.default;var c={};function u(t,e){return"Program"===t.type?t:(a.default.yy=c,c.locInfo=function(t){return new c.SourceLocation(e&&e.srcName,t)},a.default.parse(t))}l.extend(c,s)},function(t,e){"use strict";e.__esModule=!0;var i=function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(t,e,i,n,o,a,r){var s=a.length-1;switch(o){case 1:return a[s-1];case 2:this.$=n.prepareProgram(a[s]);break;case 3:case 4:case 5:case 6:case 7:case 8:this.$=a[s];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(a[s]),strip:n.stripFlags(a[s],a[s]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:a[s],value:a[s],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(a[s-2],a[s-1],a[s],this._$);break;case 12:this.$={path:a[s-3],params:a[s-2],hash:a[s-1]};break;case 13:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!1,this._$);break;case 14:this.$=n.prepareBlock(a[s-3],a[s-2],a[s-1],a[s],!0,this._$);break;case 15:this.$={open:a[s-5],path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 16:case 17:this.$={path:a[s-4],params:a[s-3],hash:a[s-2],blockParams:a[s-1],strip:n.stripFlags(a[s-5],a[s])};break;case 18:this.$={strip:n.stripFlags(a[s-1],a[s-1]),program:a[s]};break;case 19:var l=n.prepareBlock(a[s-2],a[s-1],a[s],a[s],!1,this._$),c=n.prepareProgram([l],a[s-1].loc);c.chained=!0,this.$={strip:a[s-2].strip,program:c,chain:!0};break;case 20:this.$=a[s];break;case 21:this.$={path:a[s-1],strip:n.stripFlags(a[s-2],a[s])};break;case 22:case 23:this.$=n.prepareMustache(a[s-3],a[s-2],a[s-1],a[s-4],n.stripFlags(a[s-4],a[s]),this._$);break;case 24:this.$={type:"PartialStatement",name:a[s-3],params:a[s-2],hash:a[s-1],indent:"",strip:n.stripFlags(a[s-4],a[s]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(a[s-2],a[s-1],a[s],this._$);break;case 26:this.$={path:a[s-3],params:a[s-2],hash:a[s-1],strip:n.stripFlags(a[s-4],a[s])};break;case 27:case 28:this.$=a[s];break;case 29:this.$={type:"SubExpression",path:a[s-3],params:a[s-2],hash:a[s-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:a[s],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(a[s-2]),value:a[s],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(a[s-1]);break;case 33:case 34:this.$=a[s];break;case 35:this.$={type:"StringLiteral",value:a[s],original:a[s],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(a[s]),original:Number(a[s]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===a[s],original:"true"===a[s],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:case 41:this.$=a[s];break;case 42:this.$=n.preparePath(!0,a[s],this._$);break;case 43:this.$=n.preparePath(!1,a[s],this._$);break;case 44:a[s-2].push({part:n.id(a[s]),original:a[s],separator:a[s-1]}),this.$=a[s-2];break;case 45:this.$=[{part:n.id(a[s]),original:a[s]}];break;case 46:this.$=[];break;case 47:a[s-1].push(a[s]);break;case 48:this.$=[];break;case 49:a[s-1].push(a[s]);break;case 50:this.$=[];break;case 51:a[s-1].push(a[s]);break;case 58:this.$=[];break;case 59:a[s-1].push(a[s]);break;case 64:this.$=[];break;case 65:a[s-1].push(a[s]);break;case 70:this.$=[];break;case 71:a[s-1].push(a[s]);break;case 78:this.$=[];break;case 79:a[s-1].push(a[s]);break;case 82:this.$=[];break;case 83:a[s-1].push(a[s]);break;case 86:this.$=[];break;case 87:a[s-1].push(a[s]);break;case 90:this.$=[];break;case 91:a[s-1].push(a[s]);break;case 94:this.$=[];break;case 95:a[s-1].push(a[s]);break;case 98:this.$=[a[s]];break;case 99:a[s-1].push(a[s]);break;case 100:this.$=[a[s]];break;case 101:a[s-1].push(a[s])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(t,e){throw new Error(t)},parse:function(t){var e=this,i=[0],n=[null],o=[],a=this.table,r="",s=0,l=0,c=0;this.lexer.setInput(t),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;o.push(u);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var d,p,m,f,g,_,y,v,b,w,A={};;){if(m=i[i.length-1],this.defaultActions[m]?f=this.defaultActions[m]:(null==d&&(w=void 0,"number"!=typeof(w=e.lexer.lex()||1)&&(w=e.symbols_[w]||w),d=w),f=a[m]&&a[m][d]),void 0===f||!f.length||!f[0]){var k="";if(!c){for(_ in b=[],a[m])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");k=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[d]||d)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==d?"end of input":"'"+(this.terminals_[d]||d)+"'"),this.parseError(k,{text:this.lexer.match,token:this.terminals_[d]||d,line:this.lexer.yylineno,loc:u,expected:b})}}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+d);switch(f[0]){case 1:i.push(d),n.push(this.lexer.yytext),o.push(this.lexer.yylloc),i.push(f[1]),d=null,p?(d=p,p=null):(l=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[f[1]][1],A.$=n[n.length-y],A._$={first_line:o[o.length-(y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(y||1)].first_column,last_column:o[o.length-1].last_column},h&&(A._$.range=[o[o.length-(y||1)].range[0],o[o.length-1].range[1]]),void 0!==(g=this.performAction.call(A,r,l,s,this.yy,f[1],n,o)))return g;y&&(i=i.slice(0,-1*y*2),n=n.slice(0,-1*y),o=o.slice(0,-1*y)),i.push(this.productions_[f[1]][0]),n.push(A.$),o.push(A._$),v=a[i[i.length-2]][i[i.length-1]],i.push(v);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,i,n,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),r=0;r<a.length&&(!(i=this._input.match(this.rules[a[r]]))||e&&!(i[0].length>e[0].length)||(e=i,n=r,this.options.flex));r++);return e?((o=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,a[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,i,n){function o(t,i){return e.yytext=e.yytext.substring(t,e.yyleng-i+t)}switch(i){case 0:if("\\\\"===e.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();function i(){this.yy={}}return t.lexer=e,i.prototype=t,t.Parser=i,new i}();e.default=i,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(44));function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function r(t,e,i){void 0===e&&(e=t.length);var n=t[e-1],o=t[e-2];return n?"ContentStatement"===n.type?(o||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function s(t,e,i){void 0===e&&(e=-1);var n=t[e+1],o=t[e+2];return n?"ContentStatement"===n.type?(o||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function l(t,e,i){var n=t[null==e?0:e+1];if(n&&"ContentStatement"===n.type&&(i||!n.rightStripped)){var o=n.value;n.value=n.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function c(t,e,i){var n=t[null==e?t.length-1:e-1];if(n&&"ContentStatement"===n.type&&(i||!n.leftStripped)){var o=n.value;return n.value=n.value.replace(i?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}a.prototype=new o.default,a.prototype.Program=function(t){var e=!this.options.ignoreStandalone,i=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,o=0,a=n.length;o<a;o++){var u=n[o],h=this.accept(u);if(h){var d=r(n,o,i),p=s(n,o,i),m=h.openStandalone&&d,f=h.closeStandalone&&p,g=h.inlineStandalone&&d&&p;h.close&&l(n,o,!0),h.open&&c(n,o,!0),e&&g&&(l(n,o),c(n,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),e&&m&&(l((u.program||u.inverse).body),c(n,o)),e&&f&&(l(n,o),c((u.inverse||u.program).body))}}return t},a.prototype.BlockStatement=a.prototype.DecoratorBlock=a.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,i=t.program&&t.inverse,n=i,o=i;if(i&&i.chained)for(n=i.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var a={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:s(e.body),closeStandalone:r((n||e).body)};if(t.openStrip.close&&l(e.body,null,!0),i){var u=t.inverseStrip;u.open&&c(e.body,null,!0),u.close&&l(n.body,null,!0),t.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&r(e.body)&&s(n.body)&&(c(e.body),l(n.body))}else t.closeStrip.open&&c(e.body,null,!0);return a},a.prototype.Decorator=a.prototype.MustacheStatement=function(t){return t.strip},a.prototype.PartialStatement=a.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}},e.default=a,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0;var o=n(i(6));function a(){this.parents=[]}function r(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function s(t){r.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function l(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}a.prototype={constructor:a,mutating:!1,acceptKey:function(t,e){var i=this.accept(t[e]);if(this.mutating){if(i&&!a.prototype[i.type])throw new o.default('Unexpected node type "'+i.type+'" found when accepting '+e+" on "+t.type);t[e]=i}},acceptRequired:function(t,e){if(this.acceptKey(t,e),!t[e])throw new o.default(t.type+" requires "+e)},acceptArray:function(t){for(var e=0,i=t.length;e<i;e++)this.acceptKey(t,e),t[e]||(t.splice(e,1),e--,i--)},accept:function(t){if(t){if(!this[t.type])throw new o.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var e=this[t.type](t);return this.current=this.parents.shift(),!this.mutating||e?e:!1!==e?t:void 0}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:r,Decorator:r,BlockStatement:s,DecoratorBlock:s,PartialStatement:l,PartialBlockStatement:function(t){l.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:r,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}},e.default=a,t.exports=e.default},function(t,e,i){"use strict";var n=i(1).default;e.__esModule=!0,e.SourceLocation=function(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}},e.id=function(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t},e.stripFlags=function(t,e){return{open:"~"===t.charAt(2),close:"~"===e.charAt(e.length-3)}},e.stripComment=function(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},e.preparePath=function(t,e,i){i=this.locInfo(i);for(var n=t?"@":"",a=[],r=0,s=0,l=e.length;s<l;s++){var c=e[s].part,u=e[s].original!==c;if(n+=(e[s].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)a.push(c);else{if(a.length>0)throw new o.default("Invalid path: "+n,{loc:i});".."===c&&r++}}return{type:"PathExpression",data:t,depth:r,parts:a,original:n,loc:i}},e.prepareMustache=function(t,e,i,n,o,a){var r=n.charAt(3)||n.charAt(2),s="{"!==r&&"&"!==r;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:t,params:e,hash:i,escaped:s,strip:o,loc:this.locInfo(a)}},e.prepareRawBlock=function(t,e,i,n){a(t,i),n=this.locInfo(n);var o={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}},e.prepareBlock=function(t,e,i,n,r,s){n&&n.path&&a(t,n);var l=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,u=void 0;if(i){if(l)throw new o.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=n.strip),u=i.strip,c=i.program}r&&(r=c,c=e,e=r);return{type:l?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(s)}},e.prepareProgram=function(t,e){if(!e&&t.length){var i=t[0].loc,n=t[t.length-1].loc;i&&n&&(e={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,i,n){return a(t,i),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(n)}};var o=n(i(6));function a(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var i={loc:t.path.loc};throw new o.default(t.path.original+" doesn't match "+e,i)}}},function(t,e,i){"use strict";var n=i(47).default,o=i(1).default;e.__esModule=!0,e.Compiler=c,e.precompile=function(t,e,i){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0);e.compat&&(e.useDepths=!0);var n=i.parse(t,e),o=(new i.Compiler).compile(n,e);return(new i.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,i){void 0===e&&(e={});if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new a.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=r.extend({},e))||(e.data=!0);e.compat&&(e.useDepths=!0);var n=void 0;function o(){var n=i.parse(t,e),o=(new i.Compiler).compile(n,e),a=(new i.JavaScriptCompiler).compile(o,e,void 0,!0);return i.template(a)}function s(t,e){return n||(n=o()),n.call(this,t,e)}return s._setup=function(t){return n||(n=o()),n._setup(t)},s._child=function(t,e,i,a){return n||(n=o()),n._child(t,e,i,a)},s};var a=o(i(6)),r=i(5),s=o(i(40)),l=[].slice;function c(){}function u(t,e){if(t===e)return!0;if(r.isArray(t)&&r.isArray(e)&&t.length===e.length){for(var i=0;i<t.length;i++)if(!u(t[i],e[i]))return!1;return!0}}function h(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}c.prototype={compiler:c,equals:function(t){var e=this.opcodes.length;if(t.opcodes.length!==e)return!1;for(var i=0;i<e;i++){var n=this.opcodes[i],o=t.opcodes[i];if(n.opcode!==o.opcode||!u(n.args,o.args))return!1}e=this.children.length;for(i=0;i<e;i++)if(!this.children[i].equals(t.children[i]))return!1;return!0},guid:0,compile:function(t,e){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=e,this.stringParams=e.stringParams,this.trackIds=e.trackIds,e.blockParams=e.blockParams||[],e.knownHelpers=r.extend(n(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},e.knownHelpers),this.accept(t)},compileProgram:function(t){var e=(new this.compiler).compile(t,this.options),i=this.guid++;return this.usePartial=this.usePartial||e.usePartial,this.children[i]=e,this.useDepths=this.useDepths||e.useDepths,i},accept:function(t){if(!this[t.type])throw new a.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var e=this[t.type](t);return this.sourceNode.shift(),e},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var e=t.body,i=e.length,n=0;n<i;n++)this.accept(e[n]);return this.options.blockParams.shift(),this.isSimple=1===i,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){h(t);var e=t.program,i=t.inverse;e=e&&this.compileProgram(e),i=i&&this.compileProgram(i);var n=this.classifySexpr(t);"helper"===n?this.helperSexpr(t,e,i):"simple"===n?(this.simpleSexpr(t),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,e,i),this.opcode("pushProgram",e),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var e=t.program&&this.compileProgram(t.program),i=this.setupFullMustacheParams(t,e,void 0),n=t.path;this.useDecorators=!0,this.opcode("registerDecorator",i.length,n.original)},PartialStatement:function(t){this.usePartial=!0;var e=t.program;e&&(e=this.compileProgram(t.program));var i=t.params;if(i.length>1)throw new a.default("Unsupported number of partial arguments: "+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var n=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var r=t.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",o,n,r),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){h(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var n=t.path,o=n.parts[0],a=null!=e||null!=i;this.opcode("getContext",n.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",i),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,i){var n=this.setupFullMustacheParams(t,e,i),o=t.path,r=o.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",n.length,r);else{if(this.options.knownHelpersOnly)throw new a.default("You specified knownHelpersOnly, but used the unknown helper "+r,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",n.length,o.original,s.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],i=s.default.helpers.scopedId(t),n=!t.depth&&!i&&this.blockParamIndex(e);n?this.opcode("lookupBlockParam",n,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,i):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,i=0,n=e.length;for(this.opcode("pushHash");i<n;i++)this.pushParam(e[i].value);for(;i--;)this.opcode("assignToHash",e[i].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var e=s.default.helpers.simpleId(t.path),i=e&&!!this.blockParamIndex(t.path.parts[0]),n=!i&&s.default.helpers.helperExpression(t),o=!i&&(n||e);if(o&&!n){var a=t.path.parts[0],r=this.options;r.knownHelpers[a]?n=!0:r.knownHelpersOnly&&(o=!1)}return n?"helper":o?"ambiguous":"simple"},pushParams:function(t){for(var e=0,i=t.length;e<i;e++)this.pushParam(t[e])},pushParam:function(t){var e=null!=t.value?t.value:t.original||"";if(this.stringParams)e.replace&&(e=e.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",e,t.type),"SubExpression"===t.type&&this.accept(t);else{if(this.trackIds){var i=void 0;if(!t.parts||s.default.helpers.scopedId(t)||t.depth||(i=this.blockParamIndex(t.parts[0])),i){var n=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",i,n)}else(e=t.original||e).replace&&(e=e.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,e)}this.accept(t)}},setupFullMustacheParams:function(t,e,i,n){var o=t.params;return this.pushParams(o),this.opcode("pushProgram",e),this.opcode("pushProgram",i),t.hash?this.accept(t.hash):this.opcode("emptyHash",n),o},blockParamIndex:function(t){for(var e=0,i=this.options.blockParams.length;e<i;e++){var n=this.options.blockParams[e],o=n&&r.indexOf(n,t);if(n&&o>=0)return[e,o]}}}},function(t,e,i){t.exports={default:i(48),__esModule:!0}},function(t,e,i){var n=i(9);t.exports=function(t,e){return n.create(t,e)}},function(t,e,i){"use strict";var n=i(13).default,o=i(1).default;e.__esModule=!0;var a=i(4),r=o(i(6)),s=i(5),l=o(i(50)),c=i(28);function u(t){this.value=t}function h(){}h.prototype={nameLookup:function(t,e){return c.dangerousPropertyRegex.test(e)?["(",[this.aliasable("container.propertyIsEnumerable"),".call(",t,",",JSON.stringify(e),")"],"?",i()," : undefined)"]:i();function i(){return h.isValidJavaScriptVariableName(e)?[t,".",e]:[t,"[",JSON.stringify(e),"]"]}},depthedLookup:function(t){return[this.aliasable("container.lookup"),'(depths, "',t,'")']},compilerInfo:function(){var t=a.COMPILER_REVISION;return[t,a.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,i){return s.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:i?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},compile:function(t,e,i,n){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var o=t.opcodes,a=void 0,s=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)a=o[l],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new r.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend("var decorators = container.decorators;\n"),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(n);if(this.isChild)return u;var h={compiler:this.compilerInfo(),main:u};this.decorators&&(h.main_d=this.decorators,h.useDecorators=!0);var d=this.context,p=d.programs,m=d.decorators;for(l=0,c=p.length;l<c;l++)p[l]&&(h[l]=p[l],m[l]&&(h[l+"_d"]=m[l],h.useDecorators=!0));return this.environment.usePartial&&(h.usePartial=!0),this.options.data&&(h.useData=!0),this.useDepths&&(h.useDepths=!0),this.useBlockParams&&(h.useBlockParams=!0),this.options.compat&&(h.compat=!0),n?h.compilerOptions=this.options:(h.compiler=JSON.stringify(h.compiler),this.source.currentLocation={start:{line:1,column:0}},h=this.objectLiteral(h),e.srcName?(h=h.toStringWithSourceMap({file:e.destName})).map=h.map&&h.map.toString():h=h.toString()),h},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(t){var e=this,i="",o=this.stackVars.concat(this.registers.list);o.length>0&&(i+=", "+o.join(", "));var a=0;n(this.aliases).forEach(function(t){var n=e.aliases[t];n.children&&n.referenceCount>1&&(i+=", alias"+ ++a+"="+t,n.children[0]="alias"+a)});var r=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths");var s=this.mergeSource(i);return t?(r.push(s),Function.apply(this,r)):this.source.wrap(["function(",r.join(","),") {\n ",s,"}"])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,n=void 0,o=void 0,a=void 0,r=void 0;return this.source.each(function(t){t.appendToBuffer?(a?t.prepend(" + "):a=t,r=t):(a&&(o?a.prepend("buffer += "):n=!0,r.add(";"),a=r=void 0),o=!0,e||(i=!1))}),i?a?(a.prepend("return "),r.add(";")):o||this.source.push('return "";'):(t+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),r.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(n?"":";\n")),this.source.merge()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var n=this.popStack();i.splice(1,0,n),this.push(this.source.functionCall(e,"call",i))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,n){var o=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[o++])),this.resolvePath("context",t,o,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,i)},resolvePath:function(t,e,i,n,o){var a=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,i,n){var o=e.popStack(),a=0,r=i.length;t&&r--;for(;a<r;a++)o=e.nameLookup(o,i[a],n);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(i[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}(this.options.strict&&o,this,e,t));else for(var r=e.length;i<r;i++)this.replaceStack(function(o){var r=a.nameLookup(o,e[i],t);return n?[" && ",r]:[" != null ? ",r," : ",o]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,e){this.pushContext(),this.pushString(e),"SubExpression"!==e&&("string"==typeof t?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){null!=t?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,e){var i=this.nameLookup("decorators",e,"decorator"),n=this.setupHelperArgs(e,t);this.decorators.push(["fn = ",this.decorators.functionCall(i,"",["fn","props","container",n])," || fn;"])},invokeHelper:function(t,e,i){var n=this.popStack(),o=this.setupHelper(t,e),a=[];i&&a.push(o.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var r=["(",this.itemsSeparatedBy(a,"||"),")"],s=this.source.functionCall(r,"call",o.callParams);this.push(s)},itemsSeparatedBy:function(t,e){var i=[];i.push(t[0]);for(var n=1;n<t.length;n++)i.push(e,t[n]);return i},invokeKnownHelper:function(t,e){var i=this.setupHelper(t,e);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(t,e){this.useRegister("helper");var i=this.popStack();this.emptyHash();var n=this.setupHelper(0,t,e),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",t,"helper")," || ",i,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function(t,e,i){var n=[],o=this.setupParams(e,1,n);t&&(e=this.popStack(),delete o.name),i&&(o.indent=JSON.stringify(i)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",t?n.unshift(e):n.unshift(this.nameLookup("partials",e,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),n.push(o),this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function(t){var e=this.popStack(),i=void 0,n=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(n=this.popStack(),i=this.popStack());var a=this.hash;i&&(a.contexts[t]=i),n&&(a.types[t]=n),o&&(a.ids[t]=o),a.values[t]=e},pushId:function(t,e,i){"BlockParam"===t?this.pushStackLiteral("blockParams["+e[0]+"].path["+e[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===t?this.pushString(e):"SubExpression"===t?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:h,compileChildren:function(t,e){for(var i=t.children,n=void 0,o=void 0,a=0,r=i.length;a<r;a++){n=i[a],o=new this.compiler;var s=this.matchExistingProgram(n);if(null==s){this.context.programs.push("");var l=this.context.programs.length;n.index=l,n.name="program"+l,this.context.programs[l]=o.compile(n,e,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=n,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,n.useDepths=this.useDepths,n.useBlockParams=this.useBlockParams}else n.index=s.index,n.name="program"+s.index,this.useDepths=this.useDepths||s.useDepths,this.useBlockParams=this.useBlockParams||s.useBlockParams}},matchExistingProgram:function(t){for(var e=0,i=this.context.environments.length;e<i;e++){var n=this.context.environments[e];if(n&&n.equals(t))return n}},programExpression:function(t){var e=this.environment.children[t],i=[e.index,"data",e.blockParams];return(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths"),"container.program("+i.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof u||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new u(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var e=["("],i=void 0,n=void 0,o=void 0;if(!this.isInline())throw new r.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof u)e=["(",i=[a.value]],o=!0;else{n=!0;var s=this.incrStack();e=["((",this.push(s)," = ",a,")"],i=this.topStack()}var l=t.call(this,i);o||this.popStack(),n&&this.stackSlot--,this.push(e.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;e<i;e++){var n=t[e];if(n instanceof u)this.compileStack.push(n);else{var o=this.incrStack();this.pushSource([o," = ",n,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var e=this.isInline(),i=(e?this.inlineStack:this.compileStack).pop();if(!t&&i instanceof u)return i.value;if(!e){if(!this.stackSlot)throw new r.default("Invalid stack pop");this.stackSlot--}return i},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,e=t[t.length-1];return e instanceof u?e.value:e},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var e=this.aliases[t];return e?(e.referenceCount++,e):((e=this.aliases[t]=this.source.wrap(t)).aliasable=!0,e.referenceCount=1,e)},setupHelper:function(t,e,i){var n=[];return{params:n,paramsInit:this.setupHelperArgs(e,t,n,i),name:this.nameLookup("helpers",e,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(n)}},setupParams:function(t,e,i){var n={},o=[],a=[],r=[],s=!i,l=void 0;s&&(i=[]),n.name=this.quotedString(t),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(n.fn=u||"container.noop",n.inverse=c||"container.noop");for(var h=e;h--;)l=this.popStack(),i[h]=l,this.trackIds&&(r[h]=this.popStack()),this.stringParams&&(a[h]=this.popStack(),o[h]=this.popStack());return s&&(n.args=this.source.generateArray(i)),this.trackIds&&(n.ids=this.source.generateArray(r)),this.stringParams&&(n.types=this.source.generateArray(a),n.contexts=this.source.generateArray(o)),this.options.data&&(n.data="data"),this.useBlockParams&&(n.blockParams="blockParams"),n},setupHelperArgs:function(t,e,i,n){var o=this.setupParams(t,e,i);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),n?(this.useRegister("options"),i.push("options"),["options=",o]):i?(i.push(o),""):o}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=h.RESERVED_WORDS={},i=0,n=t.length;i<n;i++)e[t[i]]=!0}(),h.isValidJavaScriptVariableName=function(t){return!h.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)},e.default=h,t.exports=e.default},function(t,e,i){"use strict";var n=i(13).default;e.__esModule=!0;var o=i(5),a=void 0;try{}catch(t){}function r(t,e,i){if(o.isArray(t)){for(var n=[],a=0,r=t.length;a<r;a++)n.push(e.wrap(t[a],i));return n}return"boolean"==typeof t||"number"==typeof t?t+"":t}function s(t){this.srcFile=t,this.source=[]}a||((a=function(t,e,i,n){this.src="",n&&this.add(n)}).prototype={add:function(t){o.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){o.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),s.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,e){this.source.unshift(this.wrap(t,e))},push:function(t,e){this.source.push(this.wrap(t,e))},merge:function(){var t=this.empty();return this.each(function(e){t.add([" ",e,"\n"])}),t},each:function(t){for(var e=0,i=this.source.length;e<i;e++)t(this.source[e])},empty:function(){var t=this.currentLocation||{start:{}};return new a(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var e=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return t instanceof a?t:(t=r(t,this,e),new a(e.start.line,e.start.column,this.srcFile,t))},functionCall:function(t,e,i){return i=this.generateList(i),this.wrap([t,e?"."+e+"(":"(",i,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var e=this,i=[];n(t).forEach(function(n){var o=r(t[n],e);"undefined"!==o&&i.push([e.quotedString(n),":",o])});var o=this.generateList(i);return o.prepend("{"),o.add("}"),o},generateList:function(t){for(var e=this.empty(),i=0,n=t.length;i<n;i++)i&&e.add(","),e.add(r(t[i],this));return e},generateArray:function(t){var e=this.generateList(t);return e.prepend("["),e.add("]"),e}},e.default=s,t.exports=e.default}])}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var t,e;function i(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return void 0===t}function r(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function s(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function l(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function u(t,e){for(var i in e)c(e,i)&&(t[i]=e[i]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function h(t,e,i,n){return Ce(t,e,i,n,!0).utc()}function d(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function p(t){if(null==t._isValid){var i=d(t),n=e.call(i.parsedDateParts,function(t){return null!=t}),o=!isNaN(t._d.getTime())&&i.overflow<0&&!i.empty&&!i.invalidMonth&&!i.invalidWeekday&&!i.weekdayMismatch&&!i.nullInput&&!i.invalidFormat&&!i.userInvalidated&&(!i.meridiem||i.meridiem&&n);if(t._strict&&(o=o&&0===i.charsLeftOver&&0===i.unusedTokens.length&&void 0===i.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return o;t._isValid=o}return t._isValid}function m(t){var e=h(NaN);return null!=t?u(d(e),t):d(e).userInvalidated=!0,e}e=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),i=e.length>>>0,n=0;n<i;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};var f=i.momentProperties=[];function g(t,e){var i,n,o;if(a(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),a(e._i)||(t._i=e._i),a(e._f)||(t._f=e._f),a(e._l)||(t._l=e._l),a(e._strict)||(t._strict=e._strict),a(e._tzm)||(t._tzm=e._tzm),a(e._isUTC)||(t._isUTC=e._isUTC),a(e._offset)||(t._offset=e._offset),a(e._pf)||(t._pf=d(e)),a(e._locale)||(t._locale=e._locale),f.length>0)for(i=0;i<f.length;i++)a(o=e[n=f[i]])||(t[n]=o);return t}var _=!1;function y(t){g(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,i.updateOffset(this),_=!1)}function v(t){return t instanceof y||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=b(e)),i}function A(t,e,i){var n,o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),r=0;for(n=0;n<o;n++)(i&&t[n]!==e[n]||!i&&w(t[n])!==w(e[n]))&&r++;return r+a}function k(t){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,e){var n=!0;return u(function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,t),n){for(var o,a=[],r=0;r<arguments.length;r++){if(o="","object"==typeof arguments[r]){for(var s in o+="\n["+r+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[r];a.push(o)}k(t+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return e.apply(this,arguments)},e)}var S,M={};function C(t,e){null!=i.deprecationHandler&&i.deprecationHandler(t,e),M[t]||(k(e),M[t]=!0)}function x(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function L(t,e){var i,n=u({},t);for(i in e)c(e,i)&&(o(t[i])&&o(e[i])?(n[i]={},u(n[i],t[i]),u(n[i],e[i])):null!=e[i]?n[i]=e[i]:delete n[i]);for(i in t)c(t,i)&&!c(e,i)&&o(t[i])&&(n[i]=u({},n[i]));return n}function T(t){null!=t&&this.set(t)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var e,i=[];for(e in t)c(t,e)&&i.push(e);return i};var E={};function O(t,e){var i=t.toLowerCase();E[i]=E[i+"s"]=E[e]=t}function D(t){return"string"==typeof t?E[t]||E[t.toLowerCase()]:void 0}function z(t){var e,i,n={};for(i in t)c(t,i)&&(e=D(i))&&(n[e]=t[i]);return n}var I={};function B(t,e){I[t]=e}function N(t,e,i){var n=""+Math.abs(t),o=e-n.length;return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,j=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},H={};function W(t,e,i,n){var o=n;"string"==typeof n&&(o=function(){return this[n]()}),t&&(H[t]=o),e&&(H[e[0]]=function(){return N(o.apply(this,arguments),e[1],e[2])}),i&&(H[i]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function Z(t,e){return t.isValid()?(e=$(e,t.localeData()),F[e]=F[e]||function(t){var e,i,n,o=t.match(R);for(e=0,i=o.length;e<i;e++)H[o[e]]?o[e]=H[o[e]]:o[e]=(n=o[e]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(e){var n,a="";for(n=0;n<i;n++)a+=x(o[n])?o[n].call(e,t):o[n];return a}}(e),F[e](t)):t.localeData().invalidDate()}function $(t,e){var i=5;function n(t){return e.longDateFormat(t)||t}for(j.lastIndex=0;i>=0&&j.test(t);)t=t.replace(j,n),j.lastIndex=0,i-=1;return t}var V=/\d/,U=/\d\d/,q=/\d{3}/,G=/\d{4}/,Y=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,X=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,it=/\d+/,nt=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,at=/Z|[+-]\d\d(?::?\d\d)?/gi,rt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,st={};function lt(t,e,i){st[t]=x(e)?e:function(t,n){return t&&i?i:e}}function ct(t,e){return c(st,t)?st[t](e._strict,e._locale):new RegExp(ut(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})))}function ut(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ht={};function dt(t,e){var i,n=e;for("string"==typeof t&&(t=[t]),r(e)&&(n=function(t,i){i[e]=w(t)}),i=0;i<t.length;i++)ht[t[i]]=n}function pt(t,e){dt(t,function(t,i,n,o){n._w=n._w||{},e(t,n._w,n,o)})}function mt(t,e,i){null!=e&&c(ht,t)&&ht[t](e,i._a,i,t)}var ft=0,gt=1,_t=2,yt=3,vt=4,bt=5,wt=6,At=7,kt=8;function Pt(t){return St(t)?366:365}function St(t){return t%4==0&&t%100!=0||t%400==0}W("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),O("year","y"),B("year",1),lt("Y",nt),lt("YY",K,U),lt("YYYY",tt,G),lt("YYYYY",et,Y),lt("YYYYYY",et,Y),dt(["YYYYY","YYYYYY"],ft),dt("YYYY",function(t,e){e[ft]=2===t.length?i.parseTwoDigitYear(t):w(t)}),dt("YY",function(t,e){e[ft]=i.parseTwoDigitYear(t)}),dt("Y",function(t,e){e[ft]=parseInt(t,10)}),i.parseTwoDigitYear=function(t){return w(t)+(w(t)>68?1900:2e3)};var Mt,Ct=xt("FullYear",!0);function xt(t,e){return function(n){return null!=n?(Tt(this,t,n),i.updateOffset(this,e),this):Lt(this,t)}}function Lt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Tt(t,e,i){t.isValid()&&!isNaN(i)&&("FullYear"===e&&St(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](i,t.month(),Et(i,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](i))}function Et(t,e){if(isNaN(t)||isNaN(e))return NaN;var i,n=(e%(i=12)+i)%i;return t+=(e-n)/12,1===n?St(t)?29:28:31-n%7%2}Mt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),W("MMMM",0,0,function(t){return this.localeData().months(this,t)}),O("month","M"),B("month",8),lt("M",K),lt("MM",K,U),lt("MMM",function(t,e){return e.monthsShortRegex(t)}),lt("MMMM",function(t,e){return e.monthsRegex(t)}),dt(["M","MM"],function(t,e){e[gt]=w(t)-1}),dt(["MMM","MMMM"],function(t,e,i,n){var o=i._locale.monthsParse(t,n,i._strict);null!=o?e[gt]=o:d(i).invalidMonth=t});var Ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Dt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var zt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function It(t,e){var i;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(!r(e=t.localeData().monthsParse(e)))return t;return i=Math.min(t.date(),Et(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t}function Bt(t){return null!=t?(It(this,t),i.updateOffset(this,!0),this):Lt(this,"Month")}var Nt=rt;var Rt=rt;function jt(){function t(t,e){return e.length-t.length}var e,i,n=[],o=[],a=[];for(e=0;e<12;e++)i=h([2e3,e]),n.push(this.monthsShort(i,"")),o.push(this.months(i,"")),a.push(this.months(i,"")),a.push(this.monthsShort(i,""));for(n.sort(t),o.sort(t),a.sort(t),e=0;e<12;e++)n[e]=ut(n[e]),o[e]=ut(o[e]);for(e=0;e<24;e++)a[e]=ut(a[e]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ft(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ht(t,e,i){var n=7+e-i;return-((7+Ft(t,0,n).getUTCDay()-e)%7)+n-1}function Wt(t,e,i,n,o){var a,r,s=1+7*(e-1)+(7+i-n)%7+Ht(t,n,o);return s<=0?r=Pt(a=t-1)+s:s>Pt(t)?(a=t+1,r=s-Pt(t)):(a=t,r=s),{year:a,dayOfYear:r}}function Zt(t,e,i){var n,o,a=Ht(t.year(),e,i),r=Math.floor((t.dayOfYear()-a-1)/7)+1;return r<1?n=r+$t(o=t.year()-1,e,i):r>$t(t.year(),e,i)?(n=r-$t(t.year(),e,i),o=t.year()+1):(o=t.year(),n=r),{week:n,year:o}}function $t(t,e,i){var n=Ht(t,e,i),o=Ht(t+1,e,i);return(Pt(t)-n+o)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),O("week","w"),O("isoWeek","W"),B("week",5),B("isoWeek",5),lt("w",K),lt("ww",K,U),lt("W",K),lt("WW",K,U),pt(["w","ww","W","WW"],function(t,e,i,n){e[n.substr(0,1)]=w(t)});W("d",0,"do","day"),W("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),W("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),W("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),O("day","d"),O("weekday","e"),O("isoWeekday","E"),B("day",11),B("weekday",11),B("isoWeekday",11),lt("d",K),lt("e",K),lt("E",K),lt("dd",function(t,e){return e.weekdaysMinRegex(t)}),lt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),lt("dddd",function(t,e){return e.weekdaysRegex(t)}),pt(["dd","ddd","dddd"],function(t,e,i,n){var o=i._locale.weekdaysParse(t,n,i._strict);null!=o?e.d=o:d(i).invalidWeekday=t}),pt(["d","e","E"],function(t,e,i,n){e[n]=w(t)});var Vt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=rt;var Yt=rt;var Kt=rt;function Qt(){function t(t,e){return e.length-t.length}var e,i,n,o,a,r=[],s=[],l=[],c=[];for(e=0;e<7;e++)i=h([2e3,1]).day(e),n=this.weekdaysMin(i,""),o=this.weekdaysShort(i,""),a=this.weekdays(i,""),r.push(n),s.push(o),l.push(a),c.push(n),c.push(o),c.push(a);for(r.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=ut(s[e]),l[e]=ut(l[e]),c[e]=ut(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Jt(){return this.hours()%12||12}function Xt(t,e){W(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function te(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Jt),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Jt.apply(this)+N(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Jt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+N(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)}),Xt("a",!0),Xt("A",!1),O("hour","h"),B("hour",13),lt("a",te),lt("A",te),lt("H",K),lt("h",K),lt("k",K),lt("HH",K,U),lt("hh",K,U),lt("kk",K,U),lt("hmm",Q),lt("hmmss",J),lt("Hmm",Q),lt("Hmmss",J),dt(["H","HH"],yt),dt(["k","kk"],function(t,e,i){var n=w(t);e[yt]=24===n?0:n}),dt(["a","A"],function(t,e,i){i._isPm=i._locale.isPM(t),i._meridiem=t}),dt(["h","hh"],function(t,e,i){e[yt]=w(t),d(i).bigHour=!0}),dt("hmm",function(t,e,i){var n=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n)),d(i).bigHour=!0}),dt("hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n,2)),e[bt]=w(t.substr(o)),d(i).bigHour=!0}),dt("Hmm",function(t,e,i){var n=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n))}),dt("Hmmss",function(t,e,i){var n=t.length-4,o=t.length-2;e[yt]=w(t.substr(0,n)),e[vt]=w(t.substr(n,2)),e[bt]=w(t.substr(o))});var ee,ie=xt("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Dt,monthsShort:zt,week:{dow:0,doy:6},weekdays:Vt,weekdaysMin:qt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},oe={},ae={};function re(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!oe[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=ee._abbr,require("./locale/"+t),le(e)}catch(t){}return oe[t]}function le(t,e){var i;return t&&((i=a(e)?ue(t):ce(t,e))?ee=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ee._abbr}function ce(t,e){if(null!==e){var i,n=ne;if(e.abbr=t,null!=oe[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=oe[t]._config;else if(null!=e.parentLocale)if(null!=oe[e.parentLocale])n=oe[e.parentLocale]._config;else{if(null==(i=se(e.parentLocale)))return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=i._config}return oe[t]=new T(L(n,e)),ae[t]&&ae[t].forEach(function(t){ce(t.name,t.config)}),le(t),oe[t]}return delete oe[t],null}function ue(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return ee;if(!n(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,i,n,o,a=0;a<t.length;){for(e=(o=re(t[a]).split("-")).length,i=(i=re(t[a+1]))?i.split("-"):null;e>0;){if(n=se(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&A(o,i,!0)>=e-1)break;e--}a++}return ee}(t)}function he(t){var e,i=t._a;return i&&-2===d(t).overflow&&(e=i[gt]<0||i[gt]>11?gt:i[_t]<1||i[_t]>Et(i[ft],i[gt])?_t:i[yt]<0||i[yt]>24||24===i[yt]&&(0!==i[vt]||0!==i[bt]||0!==i[wt])?yt:i[vt]<0||i[vt]>59?vt:i[bt]<0||i[bt]>59?bt:i[wt]<0||i[wt]>999?wt:-1,d(t)._overflowDayOfYear&&(e<ft||e>_t)&&(e=_t),d(t)._overflowWeeks&&-1===e&&(e=At),d(t)._overflowWeekday&&-1===e&&(e=kt),d(t).overflow=e),t}function de(t,e,i){return null!=t?t:null!=e?e:i}function pe(t){var e,n,o,a,r,s=[];if(!t._d){for(o=function(t){var e=new Date(i.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[_t]&&null==t._a[gt]&&function(t){var e,i,n,o,a,r,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,r=4,i=de(e.GG,t._a[ft],Zt(xe(),1,4).year),n=de(e.W,1),((o=de(e.E,1))<1||o>7)&&(l=!0);else{a=t._locale._week.dow,r=t._locale._week.doy;var c=Zt(xe(),a,r);i=de(e.gg,t._a[ft],c.year),n=de(e.w,c.week),null!=e.d?((o=e.d)<0||o>6)&&(l=!0):null!=e.e?(o=e.e+a,(e.e<0||e.e>6)&&(l=!0)):o=a}n<1||n>$t(i,a,r)?d(t)._overflowWeeks=!0:null!=l?d(t)._overflowWeekday=!0:(s=Wt(i,n,o,a,r),t._a[ft]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(r=de(t._a[ft],o[ft]),(t._dayOfYear>Pt(r)||0===t._dayOfYear)&&(d(t)._overflowDayOfYear=!0),n=Ft(r,0,t._dayOfYear),t._a[gt]=n.getUTCMonth(),t._a[_t]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=o[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yt]&&0===t._a[vt]&&0===t._a[bt]&&0===t._a[wt]&&(t._nextDay=!0,t._a[yt]=0),t._d=(t._useUTC?Ft:function(t,e,i,n,o,a,r){var s=new Date(t,e,i,n,o,a,r);return t<100&&t>=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(d(t).weekdayMismatch=!0)}}var me=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,fe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ge=/Z|[+-]\d\d(?::?\d\d)?/,_e=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((\-?\d+)/i;function be(t){var e,i,n,o,a,r,s=t._i,l=me.exec(s)||fe.exec(s);if(l){for(d(t).iso=!0,e=0,i=_e.length;e<i;e++)if(_e[e][1].exec(l[1])){o=_e[e][0],n=!1!==_e[e][2];break}if(null==o)return void(t._isValid=!1);if(l[3]){for(e=0,i=ye.length;e<i;e++)if(ye[e][1].exec(l[3])){a=(l[2]||" ")+ye[e][0];break}if(null==a)return void(t._isValid=!1)}if(!n&&null!=a)return void(t._isValid=!1);if(l[4]){if(!ge.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=o+(a||"")+(r||""),Se(t)}else t._isValid=!1}var we=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Ae(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}var ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pe(t){var e,i,n,o,a,r,s,l=we.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(e=l[4],i=l[3],n=l[2],o=l[5],a=l[6],r=l[7],s=[Ae(e),zt.indexOf(i),parseInt(n,10),parseInt(o,10),parseInt(a,10)],r&&s.push(parseInt(r,10)),s);if(!function(t,e,i){return!t||Ut.indexOf(t)===new Date(e[0],e[1],e[2]).getDay()||(d(i).weekdayMismatch=!0,i._isValid=!1,!1)}(l[1],c,t))return;t._a=c,t._tzm=function(t,e,i){if(t)return ke[t];if(e)return 0;var n=parseInt(i,10),o=n%100;return(n-o)/100*60+o}(l[8],l[9],l[10]),t._d=Ft.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),d(t).rfc2822=!0}else t._isValid=!1}function Se(t){if(t._f!==i.ISO_8601)if(t._f!==i.RFC_2822){t._a=[],d(t).empty=!0;var e,n,o,a,r,s=""+t._i,l=s.length,c=0;for(o=$(t._f,t._locale).match(R)||[],e=0;e<o.length;e++)a=o[e],(n=(s.match(ct(a,t))||[])[0])&&((r=s.substr(0,s.indexOf(n))).length>0&&d(t).unusedInput.push(r),s=s.slice(s.indexOf(n)+n.length),c+=n.length),H[a]?(n?d(t).empty=!1:d(t).unusedTokens.push(a),mt(a,n,t)):t._strict&&!n&&d(t).unusedTokens.push(a);d(t).charsLeftOver=l-c,s.length>0&&d(t).unusedInput.push(s),t._a[yt]<=12&&!0===d(t).bigHour&&t._a[yt]>0&&(d(t).bigHour=void 0),d(t).parsedDateParts=t._a.slice(0),d(t).meridiem=t._meridiem,t._a[yt]=function(t,e,i){var n;if(null==i)return e;return null!=t.meridiemHour?t.meridiemHour(e,i):null!=t.isPM?((n=t.isPM(i))&&e<12&&(e+=12),n||12!==e||(e=0),e):e}(t._locale,t._a[yt],t._meridiem),pe(t),he(t)}else Pe(t);else be(t)}function Me(t){var e=t._i,c=t._f;return t._locale=t._locale||ue(t._l),null===e||void 0===c&&""===e?m({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),v(e)?new y(he(e)):(s(e)?t._d=e:n(c)?function(t){var e,i,n,o,a;if(0===t._f.length)return d(t).invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)a=0,e=g({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Se(e),p(e)&&(a+=d(e).charsLeftOver,a+=10*d(e).unusedTokens.length,d(e).score=a,(null==n||a<n)&&(n=a,i=e));u(t,i||e)}(t):c?Se(t):function(t){var e=t._i;a(e)?t._d=new Date(i.now()):s(e)?t._d=new Date(e.valueOf()):"string"==typeof e?function(t){var e=ve.exec(t._i);null===e?(be(t),!1===t._isValid&&(delete t._isValid,Pe(t),!1===t._isValid&&(delete t._isValid,i.createFromInputFallback(t)))):t._d=new Date(+e[1])}(t):n(e)?(t._a=l(e.slice(0),function(t){return parseInt(t,10)}),pe(t)):o(e)?function(t){if(!t._d){var e=z(t._i);t._a=l([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),pe(t)}}(t):r(e)?t._d=new Date(e):i.createFromInputFallback(t)}(t),p(t)||(t._d=null),t))}function Ce(t,e,i,a,r){var s,l={};return!0!==i&&!1!==i||(a=i,i=void 0),(o(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=r,l._l=i,l._i=t,l._f=e,l._strict=a,(s=new y(he(Me(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function xe(t,e,i,n){return Ce(t,e,i,n,!1)}i.createFromInputFallback=P("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),i.ISO_8601=function(){},i.RFC_2822=function(){};var Le=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:m()}),Te=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=xe.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:m()});function Ee(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return xe();for(i=e[0],o=1;o<e.length;++o)e[o].isValid()&&!e[o][t](i)||(i=e[o]);return i}var Oe=["year","quarter","month","week","day","hour","minute","second","millisecond"];function De(t){var e=z(t),i=e.year||0,n=e.quarter||0,o=e.month||0,a=e.week||0,r=e.day||0,s=e.hour||0,l=e.minute||0,c=e.second||0,u=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===Mt.call(Oe,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var i=!1,n=0;n<Oe.length;++n)if(t[Oe[n]]){if(i)return!1;parseFloat(t[Oe[n]])!==w(t[Oe[n]])&&(i=!0)}return!0}(e),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+r+7*a,this._months=+o+3*n+12*i,this._data={},this._locale=ue(),this._bubble()}function ze(t){return t instanceof De}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Be(t,e){W(t,0,0,function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+N(~~(t/60),2)+e+N(~~t%60,2)})}Be("Z",":"),Be("ZZ",""),lt("Z",at),lt("ZZ",at),dt(["Z","ZZ"],function(t,e,i){i._useUTC=!0,i._tzm=Re(at,t)});var Ne=/([\+\-]|\d\d)/gi;function Re(t,e){var i=(e||"").match(t);if(null===i)return null;var n=((i[i.length-1]||[])+"").match(Ne)||["-",0,0],o=60*n[1]+w(n[2]);return 0===o?0:"+"===n[0]?o:-o}function je(t,e){var n,o;return e._isUTC?(n=e.clone(),o=(v(t)||s(t)?t.valueOf():xe(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+o),i.updateOffset(n,!1),n):xe(t).local()}function Fe(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function He(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}i.updateOffset=function(){};var We=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $e(t,e){var i,n,o,a=t,s=null;return ze(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:r(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=We.exec(t))?(i="-"===s[1]?-1:1,a={y:0,d:w(s[_t])*i,h:w(s[yt])*i,m:w(s[vt])*i,s:w(s[bt])*i,ms:w(Ie(1e3*s[wt]))*i}):(s=Ze.exec(t))?(i="-"===s[1]?-1:(s[1],1),a={y:Ve(s[2],i),M:Ve(s[3],i),w:Ve(s[4],i),d:Ve(s[5],i),h:Ve(s[6],i),m:Ve(s[7],i),s:Ve(s[8],i)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=function(t,e){var i;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=je(e,t),t.isBefore(e)?i=Ue(t,e):((i=Ue(e,t)).milliseconds=-i.milliseconds,i.months=-i.months);return i}(xe(a.from),xe(a.to)),(a={}).ms=o.milliseconds,a.M=o.months),n=new De(a),ze(t)&&c(t,"_locale")&&(n._locale=t._locale),n}function Ve(t,e){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*e}function Ue(t,e){var i={milliseconds:0,months:0};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function qe(t,e){return function(i,n){var o;return null===n||isNaN(+n)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=i,i=n,n=o),Ge(this,$e(i="string"==typeof i?+i:i,n),t),this}}function Ge(t,e,n,o){var a=e._milliseconds,r=Ie(e._days),s=Ie(e._months);t.isValid()&&(o=null==o||o,s&&It(t,Lt(t,"Month")+s*n),r&&Tt(t,"Date",Lt(t,"Date")+r*n),a&&t._d.setTime(t._d.valueOf()+a*n),o&&i.updateOffset(t,r||s))}$e.fn=De.prototype,$e.invalid=function(){return $e(NaN)};var Ye=qe(1,"add"),Ke=qe(-1,"subtract");function Qe(t,e){var i=12*(e.year()-t.year())+(e.month()-t.month()),n=t.clone().add(i,"months");return-(i+(e-n<0?(e-n)/(n-t.clone().add(i-1,"months")):(e-n)/(t.clone().add(i+1,"months")-n)))||0}function Je(t){var e;return void 0===t?this._locale._abbr:(null!=(e=ue(t))&&(this._locale=e),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function ti(){return this._locale}function ei(t,e){W(0,[t,t.length],0,e)}function ii(t,e,i,n,o){var a;return null==t?Zt(this,n,o).year:(e>(a=$t(t,n,o))&&(e=a),function(t,e,i,n,o){var a=Wt(t,e,i,n,o),r=Ft(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}.call(this,t,e,i,n,o))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ei("gggg","weekYear"),ei("ggggg","weekYear"),ei("GGGG","isoWeekYear"),ei("GGGGG","isoWeekYear"),O("weekYear","gg"),O("isoWeekYear","GG"),B("weekYear",1),B("isoWeekYear",1),lt("G",nt),lt("g",nt),lt("GG",K,U),lt("gg",K,U),lt("GGGG",tt,G),lt("gggg",tt,G),lt("GGGGG",et,Y),lt("ggggg",et,Y),pt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,i,n){e[n.substr(0,2)]=w(t)}),pt(["gg","GG"],function(t,e,n,o){e[o]=i.parseTwoDigitYear(t)}),W("Q",0,"Qo","quarter"),O("quarter","Q"),B("quarter",7),lt("Q",V),dt("Q",function(t,e){e[gt]=3*(w(t)-1)}),W("D",["DD",2],"Do","date"),O("date","D"),B("date",9),lt("D",K),lt("DD",K,U),lt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),dt(["D","DD"],_t),dt("Do",function(t,e){e[_t]=w(t.match(K)[0])});var ni=xt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),O("dayOfYear","DDD"),B("dayOfYear",4),lt("DDD",X),lt("DDDD",q),dt(["DDD","DDDD"],function(t,e,i){i._dayOfYear=w(t)}),W("m",["mm",2],0,"minute"),O("minute","m"),B("minute",14),lt("m",K),lt("mm",K,U),dt(["m","mm"],vt);var oi=xt("Minutes",!1);W("s",["ss",2],0,"second"),O("second","s"),B("second",15),lt("s",K),lt("ss",K,U),dt(["s","ss"],bt);var ai,ri=xt("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),O("millisecond","ms"),B("millisecond",16),lt("S",X,V),lt("SS",X,U),lt("SSS",X,q),ai="SSSS";ai.length<=9;ai+="S")lt(ai,it);function si(t,e){e[wt]=w(1e3*("0."+t))}for(ai="S";ai.length<=9;ai+="S")dt(ai,si);var li=xt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var ci=y.prototype;function ui(t){return t}ci.add=Ye,ci.calendar=function(t,e){var n=t||xe(),o=je(n,this).startOf("day"),a=i.calendarFormat(this,o)||"sameElse",r=e&&(x(e[a])?e[a].call(this,n):e[a]);return this.format(r||this.localeData().calendar(a,this,xe(n)))},ci.clone=function(){return new y(this)},ci.diff=function(t,e,i){var n,o,a;if(!this.isValid())return NaN;if(!(n=je(t,this)).isValid())return NaN;switch(o=6e4*(n.utcOffset()-this.utcOffset()),e=D(e)){case"year":a=Qe(this,n)/12;break;case"month":a=Qe(this,n);break;case"quarter":a=Qe(this,n)/3;break;case"second":a=(this-n)/1e3;break;case"minute":a=(this-n)/6e4;break;case"hour":a=(this-n)/36e5;break;case"day":a=(this-n-o)/864e5;break;case"week":a=(this-n-o)/6048e5;break;default:a=this-n}return i?a:b(a)},ci.endOf=function(t){return void 0===(t=D(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},ci.format=function(t){t||(t=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var e=Z(this,t);return this.localeData().postformat(e)},ci.from=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||xe(t).isValid())?$e({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.fromNow=function(t){return this.from(xe(),t)},ci.to=function(t,e){return this.isValid()&&(v(t)&&t.isValid()||xe(t).isValid())?$e({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ci.toNow=function(t){return this.to(xe(),t)},ci.get=function(t){return x(this[t=D(t)])?this[t]():this},ci.invalidAt=function(){return d(this).overflow},ci.isAfter=function(t,e){var i=v(t)?t:xe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=D(a(e)?"millisecond":e))?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(e).valueOf())},ci.isBefore=function(t,e){var i=v(t)?t:xe(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(e=D(a(e)?"millisecond":e))?this.valueOf()<i.valueOf():this.clone().endOf(e).valueOf()<i.valueOf())},ci.isBetween=function(t,e,i,n){return("("===(n=n||"()")[0]?this.isAfter(t,i):!this.isBefore(t,i))&&(")"===n[1]?this.isBefore(e,i):!this.isAfter(e,i))},ci.isSame=function(t,e){var i,n=v(t)?t:xe(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=D(e||"millisecond"))?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(e).valueOf()<=i&&i<=this.clone().endOf(e).valueOf()))},ci.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ci.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ci.isValid=function(){return p(this)},ci.lang=Xe,ci.locale=Je,ci.localeData=ti,ci.max=Te,ci.min=Le,ci.parsingFlags=function(){return u({},d(this))},ci.set=function(t,e){if("object"==typeof t)for(var i=function(t){var e=[];for(var i in t)e.push({unit:i,priority:I[i]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=z(t)),n=0;n<i.length;n++)this[i[n].unit](t[i[n].unit]);else if(x(this[t=D(t)]))return this[t](e);return this},ci.startOf=function(t){switch(t=D(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ci.subtract=Ke,ci.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ci.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ci.toDate=function(){return new Date(this.valueOf())},ci.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,i=e?this.clone().utc():this;return i.year()<0||i.year()>9999?Z(i,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Z(i,"Z")):Z(i,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ci.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var i="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=e+'[")]';return this.format(i+n+"-MM-DD[T]HH:mm:ss.SSS"+o)},ci.toJSON=function(){return this.isValid()?this.toISOString():null},ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ci.unix=function(){return Math.floor(this.valueOf()/1e3)},ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ci.year=Ct,ci.isLeapYear=function(){return St(this.year())},ci.weekYear=function(t){return ii.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ci.isoWeekYear=function(t){return ii.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ci.quarter=ci.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ci.month=Bt,ci.daysInMonth=function(){return Et(this.year(),this.month())},ci.week=ci.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ci.isoWeek=ci.isoWeeks=function(t){var e=Zt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ci.weeksInYear=function(){var t=this.localeData()._week;return $t(this.year(),t.dow,t.doy)},ci.isoWeeksInYear=function(){return $t(this.year(),1,4)},ci.date=ni,ci.day=ci.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},ci.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ci.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},ci.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ci.hour=ci.hours=ie,ci.minute=ci.minutes=oi,ci.second=ci.seconds=ri,ci.millisecond=ci.milliseconds=li,ci.utcOffset=function(t,e,n){var o,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Re(at,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(o=Fe(this)),this._offset=t,this._isUTC=!0,null!=o&&this.add(o,"m"),a!==t&&(!e||this._changeInProgress?Ge(this,$e(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Fe(this)},ci.utc=function(t){return this.utcOffset(0,t)},ci.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Fe(this),"m")),this},ci.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Re(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ci.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?xe(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ci.isUtc=He,ci.isUTC=He,ci.zoneAbbr=function(){return this._isUTC?"UTC":""},ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ci.dates=P("dates accessor is deprecated. Use date instead.",ni),ci.months=P("months accessor is deprecated. Use month instead",Bt),ci.years=P("years accessor is deprecated. Use year instead",Ct),ci.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ci.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var t={};if(g(t,this),(t=Me(t))._a){var e=t._isUTC?h(t._a):xe(t._a);this._isDSTShifted=this.isValid()&&A(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var hi=T.prototype;function di(t,e,i,n){var o=ue(),a=h().set(n,e);return o[i](a,t)}function pi(t,e,i){if(r(t)&&(e=t,t=void 0),t=t||"",null!=e)return di(t,e,i,"month");var n,o=[];for(n=0;n<12;n++)o[n]=di(t,n,i,"month");return o}function mi(t,e,i,n){"boolean"==typeof t?(r(e)&&(i=e,e=void 0),e=e||""):(i=e=t,t=!1,r(e)&&(i=e,e=void 0),e=e||"");var o,a=ue(),s=t?a._week.dow:0;if(null!=i)return di(e,(i+s)%7,n,"day");var l=[];for(o=0;o<7;o++)l[o]=di(e,(o+s)%7,n,"day");return l}hi.calendar=function(t,e,i){var n=this._calendar[t]||this._calendar.sameElse;return x(n)?n.call(e,i):n},hi.longDateFormat=function(t){var e=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return e||!i?e:(this._longDateFormat[t]=i.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},hi.invalidDate=function(){return this._invalidDate},hi.ordinal=function(t){return this._ordinal.replace("%d",t)},hi.preparse=ui,hi.postformat=ui,hi.relativeTime=function(t,e,i,n){var o=this._relativeTime[i];return x(o)?o(t,e,i,n):o.replace(/%d/i,t)},hi.pastFuture=function(t,e){var i=this._relativeTime[t>0?"future":"past"];return x(i)?i(e):i.replace(/%s/i,e)},hi.set=function(t){var e,i;for(i in t)x(e=t[i])?this[i]=e:this["_"+i]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},hi.months=function(t,e){return t?n(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ot).test(e)?"format":"standalone"][t.month()]:n(this._months)?this._months:this._months.standalone},hi.monthsShort=function(t,e){return t?n(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ot.test(e)?"format":"standalone"][t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hi.monthsParse=function(t,e,i){var n,o,a;if(this._monthsParseExact)return function(t,e,i){var n,o,a,r=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===e?-1!==(o=Mt.call(this._shortMonthsParse,r))?o:null:-1!==(o=Mt.call(this._longMonthsParse,r))?o:null:"MMM"===e?-1!==(o=Mt.call(this._shortMonthsParse,r))?o:-1!==(o=Mt.call(this._longMonthsParse,r))?o:null:-1!==(o=Mt.call(this._longMonthsParse,r))?o:-1!==(o=Mt.call(this._shortMonthsParse,r))?o:null}.call(this,t,e,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(o=h([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[n]=new RegExp(a.replace(".",""),"i")),i&&"MMMM"===e&&this._longMonthsParse[n].test(t))return n;if(i&&"MMM"===e&&this._shortMonthsParse[n].test(t))return n;if(!i&&this._monthsParse[n].test(t))return n}},hi.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||jt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Rt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},hi.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||jt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Nt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},hi.week=function(t){return Zt(t,this._week.dow,this._week.doy).week},hi.firstDayOfYear=function(){return this._week.doy},hi.firstDayOfWeek=function(){return this._week.dow},hi.weekdays=function(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone},hi.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},hi.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},hi.weekdaysParse=function(t,e,i){var n,o,a;if(this._weekdaysParseExact)return function(t,e,i){var n,o,a,r=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===e?-1!==(o=Mt.call(this._weekdaysParse,r))?o:null:"ddd"===e?-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:null:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:"dddd"===e?-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:"ddd"===e?-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:null:-1!==(o=Mt.call(this._minWeekdaysParse,r))?o:-1!==(o=Mt.call(this._weekdaysParse,r))?o:-1!==(o=Mt.call(this._shortWeekdaysParse,r))?o:null}.call(this,t,e,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(o=h([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),i&&"dddd"===e&&this._fullWeekdaysParse[n].test(t))return n;if(i&&"ddd"===e&&this._shortWeekdaysParse[n].test(t))return n;if(i&&"dd"===e&&this._minWeekdaysParse[n].test(t))return n;if(!i&&this._weekdaysParse[n].test(t))return n}},hi.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Gt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},hi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Qt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},hi.meridiem=function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},le("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),i.lang=P("moment.lang is deprecated. Use moment.locale instead.",le),i.langData=P("moment.langData is deprecated. Use moment.localeData instead.",ue);var fi=Math.abs;function gi(t,e,i,n){var o=$e(e,i);return t._milliseconds+=n*o._milliseconds,t._days+=n*o._days,t._months+=n*o._months,t._bubble()}function _i(t){return t<0?Math.floor(t):Math.ceil(t)}function yi(t){return 4800*t/146097}function vi(t){return 146097*t/4800}function bi(t){return function(){return this.as(t)}}var wi=bi("ms"),Ai=bi("s"),ki=bi("m"),Pi=bi("h"),Si=bi("d"),Mi=bi("w"),Ci=bi("M"),xi=bi("y");function Li(t){return function(){return this.isValid()?this._data[t]:NaN}}var Ti=Li("milliseconds"),Ei=Li("seconds"),Oi=Li("minutes"),Di=Li("hours"),zi=Li("days"),Ii=Li("months"),Bi=Li("years");var Ni=Math.round,Ri={ss:44,s:45,m:45,h:22,d:26,M:11};var ji=Math.abs;function Fi(t){return(t>0)-(t<0)||+t}function Hi(){if(!this.isValid())return this.localeData().invalidDate();var t,e,i=ji(this._milliseconds)/1e3,n=ji(this._days),o=ji(this._months);t=b(i/60),e=b(t/60),i%=60,t%=60;var a=b(o/12),r=o%=12,s=n,l=e,c=t,u=i?i.toFixed(3).replace(/\.?0+$/,""):"",h=this.asSeconds();if(!h)return"P0D";var d=h<0?"-":"",p=Fi(this._months)!==Fi(h)?"-":"",m=Fi(this._days)!==Fi(h)?"-":"",f=Fi(this._milliseconds)!==Fi(h)?"-":"";return d+"P"+(a?p+a+"Y":"")+(r?p+r+"M":"")+(s?m+s+"D":"")+(l||c||u?"T":"")+(l?f+l+"H":"")+(c?f+c+"M":"")+(u?f+u+"S":"")}var Wi=De.prototype;return Wi.isValid=function(){return this._isValid},Wi.abs=function(){var t=this._data;return this._milliseconds=fi(this._milliseconds),this._days=fi(this._days),this._months=fi(this._months),t.milliseconds=fi(t.milliseconds),t.seconds=fi(t.seconds),t.minutes=fi(t.minutes),t.hours=fi(t.hours),t.months=fi(t.months),t.years=fi(t.years),this},Wi.add=function(t,e){return gi(this,t,e,1)},Wi.subtract=function(t,e){return gi(this,t,e,-1)},Wi.as=function(t){if(!this.isValid())return NaN;var e,i,n=this._milliseconds;if("month"===(t=D(t))||"year"===t)return e=this._days+n/864e5,i=this._months+yi(e),"month"===t?i:i/12;switch(e=this._days+Math.round(vi(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return 24*e+n/36e5;case"minute":return 1440*e+n/6e4;case"second":return 86400*e+n/1e3;case"millisecond":return Math.floor(864e5*e)+n;default:throw new Error("Unknown unit "+t)}},Wi.asMilliseconds=wi,Wi.asSeconds=Ai,Wi.asMinutes=ki,Wi.asHours=Pi,Wi.asDays=Si,Wi.asWeeks=Mi,Wi.asMonths=Ci,Wi.asYears=xi,Wi.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Wi._bubble=function(){var t,e,i,n,o,a=this._milliseconds,r=this._days,s=this._months,l=this._data;return a>=0&&r>=0&&s>=0||a<=0&&r<=0&&s<=0||(a+=864e5*_i(vi(s)+r),r=0,s=0),l.milliseconds=a%1e3,t=b(a/1e3),l.seconds=t%60,e=b(t/60),l.minutes=e%60,i=b(e/60),l.hours=i%24,r+=b(i/24),s+=o=b(yi(r)),r-=_i(vi(o)),n=b(s/12),s%=12,l.days=r,l.months=s,l.years=n,this},Wi.clone=function(){return $e(this)},Wi.get=function(t){return t=D(t),this.isValid()?this[t+"s"]():NaN},Wi.milliseconds=Ti,Wi.seconds=Ei,Wi.minutes=Oi,Wi.hours=Di,Wi.days=zi,Wi.weeks=function(){return b(this.days()/7)},Wi.months=Ii,Wi.years=Bi,Wi.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),i=function(t,e,i){var n=$e(t).abs(),o=Ni(n.as("s")),a=Ni(n.as("m")),r=Ni(n.as("h")),s=Ni(n.as("d")),l=Ni(n.as("M")),c=Ni(n.as("y")),u=o<=Ri.ss&&["s",o]||o<Ri.s&&["ss",o]||a<=1&&["m"]||a<Ri.m&&["mm",a]||r<=1&&["h"]||r<Ri.h&&["hh",r]||s<=1&&["d"]||s<Ri.d&&["dd",s]||l<=1&&["M"]||l<Ri.M&&["MM",l]||c<=1&&["y"]||["yy",c];return u[2]=e,u[3]=+t>0,u[4]=i,function(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}.apply(null,u)}(this,!t,e);return t&&(i=e.pastFuture(+this,i)),e.postformat(i)},Wi.toISOString=Hi,Wi.toString=Hi,Wi.toJSON=Hi,Wi.locale=Je,Wi.localeData=ti,Wi.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hi),Wi.lang=Xe,W("X",0,0,"unix"),W("x",0,0,"valueOf"),lt("x",nt),lt("X",/[+-]?\d+(\.\d{1,3})?/),dt("X",function(t,e,i){i._d=new Date(1e3*parseFloat(t,10))}),dt("x",function(t,e,i){i._d=new Date(w(t))}),i.version="2.22.2",t=xe,i.fn=ci,i.min=function(){return Ee("isBefore",[].slice.call(arguments,0))},i.max=function(){return Ee("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=h,i.unix=function(t){return xe(1e3*t)},i.months=function(t,e){return pi(t,e,"months")},i.isDate=s,i.locale=le,i.invalid=m,i.duration=$e,i.isMoment=v,i.weekdays=function(t,e,i){return mi(t,e,i,"weekdays")},i.parseZone=function(){return xe.apply(null,arguments).parseZone()},i.localeData=ue,i.isDuration=ze,i.monthsShort=function(t,e){return pi(t,e,"monthsShort")},i.weekdaysMin=function(t,e,i){return mi(t,e,i,"weekdaysMin")},i.defineLocale=ce,i.updateLocale=function(t,e){if(null!=e){var i,n,o=ne;null!=(n=se(t))&&(o=n._config),(i=new T(e=L(o,e))).parentLocale=oe[t],oe[t]=i,le(t)}else null!=oe[t]&&(null!=oe[t].parentLocale?oe[t]=oe[t].parentLocale:null!=oe[t]&&delete oe[t]);return oe[t]},i.locales=function(){return S(oe)},i.weekdaysShort=function(t,e,i){return mi(t,e,i,"weekdaysShort")},i.normalizeUnits=D,i.relativeTimeRounding=function(t){return void 0===t?Ni:"function"==typeof t&&(Ni=t,!0)},i.relativeTimeThreshold=function(t,e){return void 0!==Ri[t]&&(void 0===e?Ri[t]:(Ri[t]=e,"s"===t&&(Ri.ss=e-1),!0))},i.calendarFormat=function(t,e){var i=t.diff(e,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},i.prototype=ci,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}),function(t,e){"use strict";"object"==typeof module&&module.exports?module.exports=e(require("moment")):"function"==typeof define&&define.amd?define(["moment"],e):e(t.moment)}(this,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,i={},n={},o={},a={},r={};t&&"string"==typeof t.version||T("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var s=t.version.split("."),l=+s[0],c=+s[1];function u(t){return t>96?t-87:t>64?t-29:t-48}function h(t){var e=0,i=t.split("."),n=i[0],o=i[1]||"",a=1,r=0,s=1;for(45===t.charCodeAt(0)&&(e=1,s=-1);e<n.length;e++)r=60*r+u(n.charCodeAt(e));for(e=0;e<o.length;e++)a/=60,r+=u(o.charCodeAt(e))*a;return r*s}function d(t){for(var e=0;e<t.length;e++)t[e]=h(t[e])}function p(t,e){var i,n=[];for(i=0;i<e.length;i++)n[i]=t[e[i]];return n}function m(t){var e=t.split("|"),i=e[2].split(" "),n=e[3].split(""),o=e[4].split(" ");return d(i),d(n),d(o),function(t,e){for(var i=0;i<e;i++)t[i]=Math.round((t[i-1]||0)+6e4*t[i]);t[e-1]=1/0}(o,n.length),{name:e[0],abbrs:p(e[1].split(" "),n),offsets:p(i,n),untils:o,population:0|e[5]}}function f(t){t&&this._set(m(t))}function g(t,e){this.name=t,this.zones=e}function _(t){var e=t.toTimeString(),i=e.match(/\([a-z ]+\)/i);"GMT"===(i=i&&i[0]?(i=i[0].match(/[A-Z]/g))?i.join(""):void 0:(i=e.match(/[A-Z]{3,5}/g))?i[0]:void 0)&&(i=void 0),this.at=+t,this.abbr=i,this.offset=t.getTimezoneOffset()}function y(t){this.zone=t,this.offsetScore=0,this.abbrScore=0}function v(t,e){for(var i,n;n=6e4*((e.at-t.at)/12e4|0);)(i=new _(new Date(t.at+n))).offset===t.offset?t=i:e=i;return t}function b(t,e){return t.offsetScore!==e.offsetScore?t.offsetScore-e.offsetScore:t.abbrScore!==e.abbrScore?t.abbrScore-e.abbrScore:t.zone.population!==e.zone.population?e.zone.population-t.zone.population:e.zone.name.localeCompare(t.zone.name)}function w(t,e){var i,n;for(d(e),i=0;i<e.length;i++)n=e[i],r[n]=r[n]||{},r[n][t]=!0}function A(t){var e,i,n,o=t.length,s={},l=[];for(e=0;e<o;e++)for(i in n=r[t[e].offset]||{})n.hasOwnProperty(i)&&(s[i]=!0);for(e in s)s.hasOwnProperty(e)&&l.push(a[e]);return l}function k(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var e=a[P(t)];if(e)return e;T("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var i,n,o,r=function(){var t,e,i,n=(new Date).getFullYear()-2,o=new _(new Date(n,0,1)),a=[o];for(i=1;i<48;i++)(e=new _(new Date(n,i,1))).offset!==o.offset&&(t=v(o,e),a.push(t),a.push(new _(new Date(t.at+6e4)))),o=e;for(i=0;i<4;i++)a.push(new _(new Date(n+i,0,1))),a.push(new _(new Date(n+i,6,1)));return a}(),s=r.length,l=A(r),c=[];for(n=0;n<l.length;n++){for(i=new y(M(l[n]),s),o=0;o<s;o++)i.scoreOffsetAt(r[o]);c.push(i)}return c.sort(b),c.length>0?c[0].zone.name:void 0}function P(t){return(t||"").toLowerCase().replace(/\//g,"_")}function S(t){var e,n,o,r;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)r=P(n=(o=t[e].split("|"))[0]),i[r]=t[e],a[r]=n,w(r,o[2].split(" "))}function M(t,e){t=P(t);var o,r=i[t];return r instanceof f?r:"string"==typeof r?(r=new f(r),i[t]=r,r):n[t]&&e!==M&&(o=M(n[t],M))?((r=i[t]=new f)._set(o),r.name=a[t],r):null}function C(t){var e,i,o,r;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)o=P((i=t[e].split("|"))[0]),r=P(i[1]),n[o]=r,a[o]=i[0],n[r]=o,a[r]=i[1]}function x(t){S(t.zones),C(t.links),function(t){var e,i,n,a;if(t&&t.length)for(e=0;e<t.length;e++)i=(a=t[e].split("|"))[0].toUpperCase(),n=a[1].split(" "),o[i]=new g(i,n)}(t.countries),E.dataVersion=t.version}function L(t){var e="X"===t._f||"x"===t._f;return!(!t._a||void 0!==t._tzm||e)}function T(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}function E(e){var i=Array.prototype.slice.call(arguments,0,-1),n=arguments[arguments.length-1],o=M(n),a=t.utc.apply(null,i);return o&&!t.isMoment(e)&&L(a)&&a.add(o.parse(a),"minutes"),a.tz(n),a}(l<2||2===l&&c<6)&&T("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),f.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e,i=+t,n=this.untils;for(e=0;e<n.length;e++)if(i<n[e])return e},countries:function(){var t=this.name;return Object.keys(o).filter(function(e){return-1!==o[e].zones.indexOf(t)})},parse:function(t){var e,i,n,o,a=+t,r=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(e=r[o],i=r[o+1],n=r[o?o-1:o],e<i&&E.moveAmbiguousForward?e=i:e>n&&E.moveInvalidForward&&(e=n),a<s[o]-6e4*e)return r[o];return r[l]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){return T("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}},y.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset),this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr&&this.abbrScore++},E.version="0.5.43",E.dataVersion="",E._zones=i,E._links=n,E._names=a,E._countries=o,E.add=S,E.link=C,E.load=x,E.zone=M,E.zoneExists=function t(e){return t.didShowError||(t.didShowError=!0,T("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!M(e)},E.guess=function(t){return e&&!t||(e=k()),e},E.names=function(){var t,e=[];for(t in a)a.hasOwnProperty(t)&&(i[t]||i[n[t]])&&a[t]&&e.push(a[t]);return e.sort()},E.Zone=f,E.unpack=m,E.unpackBase60=h,E.needsOffset=L,E.moveInvalidForward=!0,E.moveAmbiguousForward=!1,E.countries=function(){return Object.keys(o)},E.zonesForCountry=function(t,e){var i;if(i=(i=t).toUpperCase(),!(t=o[i]||null))return null;var n=t.zones.sort();return e?n.map(function(t){return{name:t,offset:M(t).utcOffset(new Date)}}):n};var O,D=t.fn;function z(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function I(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=E,t.defaultZone=null,t.updateOffset=function(e,i){var n,o=t.defaultZone;if(void 0===e._z&&(o&&L(e)&&!e._isUTC&&(e._d=t.utc(e._a)._d,e.utc().add(o.parse(e),"minutes")),e._z=o),e._z)if(n=e._z.utcOffset(e),Math.abs(n)<16&&(n/=60),void 0!==e.utcOffset){var a=e._z;e.utcOffset(-n,i),e._z=a}else e.zone(n,i)},D.tz=function(e,i){if(e){if("string"!=typeof e)throw new Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=M(e),this._z?t.updateOffset(this,i):T("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},D.zoneName=z(D.zoneName),D.zoneAbbr=z(D.zoneAbbr),D.utc=I(D.utc),D.local=I(D.local),D.utcOffset=(O=D.utcOffset,function(){return arguments.length>0&&(this._z=null),O.apply(this,arguments)}),t.tz.setDefault=function(e){return(l<2||2===l&&c<9)&&T("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?M(e):null,t};var B=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(B)?(B.push("_z"),B.push("_a")):B&&(B._z=null),x({version:"2023c",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Khartoum|CAT|-20|0||51e5","Africa/Cairo|EET EEST|-20 -30|0101010101010|29NW0 1cL0 1cN0 1fz0 1a10 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0|15e6","Africa/Casablanca|+00 +01|0 -10|010101010101010101010101|1Vq20 jA0 e00 28M0 e00 2600 gM0 2600 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0 2600 e00 28M0 e00 2600 gM0|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Juba|EAT CAT|-30 -20|01|24nx0|","Africa/Sao_Tome|GMT WAT|0 -10|010|1UQN0 2q00|","Africa/Tripoli|EET|-20|0||11e5","America/Adak|HST HDT|a0 90|01010101010101010101010|1VkA0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1Vkz0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1Vq30 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010|1VsU0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|20e6","America/Managua|CST|60|0||22e5","America/Caracas|-04|40|0||29e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|0101|1Vc30 1HB0 FX0|77e4","America/Chicago|CST CDT|60 50|01010101010101010101010|1Vkw0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT CST|70 60 60|01010101012|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|81e4","America/Ciudad_Juarez|MST MDT CST|70 60 60|010101010120101010101010|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 cm0 EP0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|","America/Phoenix|MST|70|0||42e5","America/Whitehorse|PST PDT MST|80 70 70|0101012|1Vky0 1zb0 Op0 1zb0 Op0 1z90|23e3","America/New_York|EST EDT|50 40|01010101010101010101010|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|21e6","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1Vky0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|15e6","America/Halifax|AST ADT|40 30|01010101010101010101010|1Vku0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02 -01|30 20 10|0101010101012121212121|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 2so0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|17e3","America/Grand_Turk|AST EDT EST|40 40 50|01212121212121212121212|1Vkv0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1Vkt0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0|21e5","America/Mazatlan|MST MDT|70 60|01010101010|1VsV0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0|44e4","America/Metlakatla|AKST AKDT PST|90 80 80|012010101010101010101010|1Vkz0 1zb0 uM0 jB0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1Vkt0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|61e2","America/Noronha|-02|20|0||30e2","America/Ojinaga|MST MDT CST CDT|70 60 60 50|01010101012323232323232|1Vkx0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1wn0 Rc0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|23e3","America/Santiago|-03 -04|30 40|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|0101|1Vc20 1HB0 FX0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1Vktu 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+11 +08|-b0 -80|0101010|1Vkh0 1o30 14k0 1kr0 12l0 1o01|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1VsE0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|40e5","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|14e5","Europe/Istanbul|+03|-30|0||13e6","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 LA0 1C00|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Dubai|+04|-40|0||39e5","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1VpW0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+09|-90|0||33e4","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST +03|-20 -30 -30|01010101012|1VrW0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0|26e5","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|35e5","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1Vpz0 1qL0 11c0 1on0 11B0 1o00 11A0 1qo0 XA0 1qp0 1cN0 1cL0 17d0 1in0 14p0 1lb0 11B0 1nX0 11B0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1Vpc0 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Sakhalin|+11|-b0|0||58e4","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Asia/Pyongyang|KST KST|-8u -90|01|1VGf0|29e5","Asia/Qyzylorda|+06 +05|-60 -50|01|1Xei0|73e4","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010|1VoIu 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1VsEu 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1VsD0 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|01010101010101010101010|1VJD0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Tongatapu|+13|-d0|0||75e3","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UTC|UTC|0|0||","Europe/London|GMT BST|0 -10|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1Vq00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Volgograd|MSK +04|-30 -40|010|1WQL0 5gn0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1Vq10 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101|1VsC0 1cM0 1fA0 1a00 1fA0 1a00 1fA0|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101|1UVO0 1VA0 s00 20o0 pc0 2hc0 bc0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+11 +12|-b0 -c0|01010101010101010101|219P0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0|25e4"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Egypt","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Blantyre","Africa/Khartoum|Africa/Bujumbura","Africa/Khartoum|Africa/Gaborone","Africa/Khartoum|Africa/Harare","Africa/Khartoum|Africa/Kigali","Africa/Khartoum|Africa/Lubumbashi","Africa/Khartoum|Africa/Lusaka","Africa/Khartoum|Africa/Maputo","Africa/Khartoum|Africa/Windhoek","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Europe/Kaliningrad","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Caracas|America/Boa_Vista","America/Caracas|America/Guyana","America/Caracas|America/La_Paz","America/Caracas|America/Manaus","America/Caracas|America/Porto_Velho","America/Caracas|Brazil/West","America/Caracas|Etc/GMT+4","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Montevideo","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Punta_Arenas","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Palmer","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Godthab|America/Nuuk","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Port-au-Prince","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cancun","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Fort_Nelson","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Whitehorse|America/Dawson","America/Whitehorse|Canada/Yukon","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Barnaul","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Hovd","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Novosibirsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Tomsk","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Chita|Asia/Dili","Asia/Chita|Asia/Khandyga","Asia/Chita|Asia/Yakutsk","Asia/Chita|Etc/GMT-9","Asia/Chita|Pacific/Palau","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qostanay","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Baku","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Astrakhan","Asia/Dubai|Europe/Samara","Asia/Dubai|Europe/Saratov","Asia/Dubai|Europe/Ulyanovsk","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Choibalsan","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Asia/Ulaanbaatar","Asia/Kuala_Lumpur|Asia/Ulan_Bator","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Sakhalin|Asia/Magadan","Asia/Sakhalin|Asia/Srednekolymsk","Asia/Sakhalin|Etc/GMT-11","Asia/Sakhalin|Pacific/Bougainville","Asia/Sakhalin|Pacific/Efate","Asia/Sakhalin|Pacific/Guadalcanal","Asia/Sakhalin|Pacific/Kosrae","Asia/Sakhalin|Pacific/Noumea","Asia/Sakhalin|Pacific/Pohnpei","Asia/Sakhalin|Pacific/Ponape","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Antarctica/Macquarie","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UTC|Etc/UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UCT","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Famagusta","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Kyiv","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Antarctica/Syowa","Europe/Istanbul|Asia/Aden","Europe/Istanbul|Asia/Baghdad","Europe/Istanbul|Asia/Bahrain","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Asia/Kuwait","Europe/Istanbul|Asia/Qatar","Europe/Istanbul|Asia/Riyadh","Europe/Istanbul|Etc/GMT-3","Europe/Istanbul|Europe/Minsk","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Kirov","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga","Pacific/Tongatapu|Etc/GMT-13","Pacific/Tongatapu|Pacific/Enderbury","Pacific/Tongatapu|Pacific/Fakaofo","Pacific/Tongatapu|Pacific/Kanton"],countries:["AD|Europe/Andorra","AE|Asia/Dubai","AF|Asia/Kabul","AG|America/Puerto_Rico America/Antigua","AI|America/Puerto_Rico America/Anguilla","AL|Europe/Tirane","AM|Asia/Yerevan","AO|Africa/Lagos Africa/Luanda","AQ|Antarctica/Casey Antarctica/Davis Antarctica/Mawson Antarctica/Palmer Antarctica/Rothera Antarctica/Troll Asia/Urumqi Pacific/Auckland Pacific/Port_Moresby Asia/Riyadh Antarctica/McMurdo Antarctica/DumontDUrville Antarctica/Syowa Antarctica/Vostok","AR|America/Argentina/Buenos_Aires America/Argentina/Cordoba America/Argentina/Salta America/Argentina/Jujuy America/Argentina/Tucuman America/Argentina/Catamarca America/Argentina/La_Rioja America/Argentina/San_Juan America/Argentina/Mendoza America/Argentina/San_Luis America/Argentina/Rio_Gallegos America/Argentina/Ushuaia","AS|Pacific/Pago_Pago","AT|Europe/Vienna","AU|Australia/Lord_Howe Antarctica/Macquarie Australia/Hobart Australia/Melbourne Australia/Sydney Australia/Broken_Hill Australia/Brisbane Australia/Lindeman Australia/Adelaide Australia/Darwin Australia/Perth Australia/Eucla","AW|America/Puerto_Rico America/Aruba","AX|Europe/Helsinki Europe/Mariehamn","AZ|Asia/Baku","BA|Europe/Belgrade Europe/Sarajevo","BB|America/Barbados","BD|Asia/Dhaka","BE|Europe/Brussels","BF|Africa/Abidjan Africa/Ouagadougou","BG|Europe/Sofia","BH|Asia/Qatar Asia/Bahrain","BI|Africa/Maputo Africa/Bujumbura","BJ|Africa/Lagos Africa/Porto-Novo","BL|America/Puerto_Rico America/St_Barthelemy","BM|Atlantic/Bermuda","BN|Asia/Kuching Asia/Brunei","BO|America/La_Paz","BQ|America/Puerto_Rico America/Kralendijk","BR|America/Noronha America/Belem America/Fortaleza America/Recife America/Araguaina America/Maceio America/Bahia America/Sao_Paulo America/Campo_Grande America/Cuiaba America/Santarem America/Porto_Velho America/Boa_Vista America/Manaus America/Eirunepe America/Rio_Branco","BS|America/Toronto America/Nassau","BT|Asia/Thimphu","BW|Africa/Maputo Africa/Gaborone","BY|Europe/Minsk","BZ|America/Belize","CA|America/St_Johns America/Halifax America/Glace_Bay America/Moncton America/Goose_Bay America/Toronto America/Iqaluit America/Winnipeg America/Resolute America/Rankin_Inlet America/Regina America/Swift_Current America/Edmonton America/Cambridge_Bay America/Inuvik America/Dawson_Creek America/Fort_Nelson America/Whitehorse America/Dawson America/Vancouver America/Panama America/Puerto_Rico America/Phoenix America/Blanc-Sablon America/Atikokan America/Creston","CC|Asia/Yangon Indian/Cocos","CD|Africa/Maputo Africa/Lagos Africa/Kinshasa Africa/Lubumbashi","CF|Africa/Lagos Africa/Bangui","CG|Africa/Lagos Africa/Brazzaville","CH|Europe/Zurich","CI|Africa/Abidjan","CK|Pacific/Rarotonga","CL|America/Santiago America/Punta_Arenas Pacific/Easter","CM|Africa/Lagos Africa/Douala","CN|Asia/Shanghai Asia/Urumqi","CO|America/Bogota","CR|America/Costa_Rica","CU|America/Havana","CV|Atlantic/Cape_Verde","CW|America/Puerto_Rico America/Curacao","CX|Asia/Bangkok Indian/Christmas","CY|Asia/Nicosia Asia/Famagusta","CZ|Europe/Prague","DE|Europe/Zurich Europe/Berlin Europe/Busingen","DJ|Africa/Nairobi Africa/Djibouti","DK|Europe/Berlin Europe/Copenhagen","DM|America/Puerto_Rico America/Dominica","DO|America/Santo_Domingo","DZ|Africa/Algiers","EC|America/Guayaquil Pacific/Galapagos","EE|Europe/Tallinn","EG|Africa/Cairo","EH|Africa/El_Aaiun","ER|Africa/Nairobi Africa/Asmara","ES|Europe/Madrid Africa/Ceuta Atlantic/Canary","ET|Africa/Nairobi Africa/Addis_Ababa","FI|Europe/Helsinki","FJ|Pacific/Fiji","FK|Atlantic/Stanley","FM|Pacific/Kosrae Pacific/Port_Moresby Pacific/Guadalcanal Pacific/Chuuk Pacific/Pohnpei","FO|Atlantic/Faroe","FR|Europe/Paris","GA|Africa/Lagos Africa/Libreville","GB|Europe/London","GD|America/Puerto_Rico America/Grenada","GE|Asia/Tbilisi","GF|America/Cayenne","GG|Europe/London Europe/Guernsey","GH|Africa/Abidjan Africa/Accra","GI|Europe/Gibraltar","GL|America/Nuuk America/Danmarkshavn America/Scoresbysund America/Thule","GM|Africa/Abidjan Africa/Banjul","GN|Africa/Abidjan Africa/Conakry","GP|America/Puerto_Rico America/Guadeloupe","GQ|Africa/Lagos Africa/Malabo","GR|Europe/Athens","GS|Atlantic/South_Georgia","GT|America/Guatemala","GU|Pacific/Guam","GW|Africa/Bissau","GY|America/Guyana","HK|Asia/Hong_Kong","HN|America/Tegucigalpa","HR|Europe/Belgrade Europe/Zagreb","HT|America/Port-au-Prince","HU|Europe/Budapest","ID|Asia/Jakarta Asia/Pontianak Asia/Makassar Asia/Jayapura","IE|Europe/Dublin","IL|Asia/Jerusalem","IM|Europe/London Europe/Isle_of_Man","IN|Asia/Kolkata","IO|Indian/Chagos","IQ|Asia/Baghdad","IR|Asia/Tehran","IS|Africa/Abidjan Atlantic/Reykjavik","IT|Europe/Rome","JE|Europe/London Europe/Jersey","JM|America/Jamaica","JO|Asia/Amman","JP|Asia/Tokyo","KE|Africa/Nairobi","KG|Asia/Bishkek","KH|Asia/Bangkok Asia/Phnom_Penh","KI|Pacific/Tarawa Pacific/Kanton Pacific/Kiritimati","KM|Africa/Nairobi Indian/Comoro","KN|America/Puerto_Rico America/St_Kitts","KP|Asia/Pyongyang","KR|Asia/Seoul","KW|Asia/Riyadh Asia/Kuwait","KY|America/Panama America/Cayman","KZ|Asia/Almaty Asia/Qyzylorda Asia/Qostanay Asia/Aqtobe Asia/Aqtau Asia/Atyrau Asia/Oral","LA|Asia/Bangkok Asia/Vientiane","LB|Asia/Beirut","LC|America/Puerto_Rico America/St_Lucia","LI|Europe/Zurich Europe/Vaduz","LK|Asia/Colombo","LR|Africa/Monrovia","LS|Africa/Johannesburg Africa/Maseru","LT|Europe/Vilnius","LU|Europe/Brussels Europe/Luxembourg","LV|Europe/Riga","LY|Africa/Tripoli","MA|Africa/Casablanca","MC|Europe/Paris Europe/Monaco","MD|Europe/Chisinau","ME|Europe/Belgrade Europe/Podgorica","MF|America/Puerto_Rico America/Marigot","MG|Africa/Nairobi Indian/Antananarivo","MH|Pacific/Tarawa Pacific/Kwajalein Pacific/Majuro","MK|Europe/Belgrade Europe/Skopje","ML|Africa/Abidjan Africa/Bamako","MM|Asia/Yangon","MN|Asia/Ulaanbaatar Asia/Hovd Asia/Choibalsan","MO|Asia/Macau","MP|Pacific/Guam Pacific/Saipan","MQ|America/Martinique","MR|Africa/Abidjan Africa/Nouakchott","MS|America/Puerto_Rico America/Montserrat","MT|Europe/Malta","MU|Indian/Mauritius","MV|Indian/Maldives","MW|Africa/Maputo Africa/Blantyre","MX|America/Mexico_City America/Cancun America/Merida America/Monterrey America/Matamoros America/Chihuahua America/Ciudad_Juarez America/Ojinaga America/Mazatlan America/Bahia_Banderas America/Hermosillo America/Tijuana","MY|Asia/Kuching Asia/Singapore Asia/Kuala_Lumpur","MZ|Africa/Maputo","NA|Africa/Windhoek","NC|Pacific/Noumea","NE|Africa/Lagos Africa/Niamey","NF|Pacific/Norfolk","NG|Africa/Lagos","NI|America/Managua","NL|Europe/Brussels Europe/Amsterdam","NO|Europe/Berlin Europe/Oslo","NP|Asia/Kathmandu","NR|Pacific/Nauru","NU|Pacific/Niue","NZ|Pacific/Auckland Pacific/Chatham","OM|Asia/Dubai Asia/Muscat","PA|America/Panama","PE|America/Lima","PF|Pacific/Tahiti Pacific/Marquesas Pacific/Gambier","PG|Pacific/Port_Moresby Pacific/Bougainville","PH|Asia/Manila","PK|Asia/Karachi","PL|Europe/Warsaw","PM|America/Miquelon","PN|Pacific/Pitcairn","PR|America/Puerto_Rico","PS|Asia/Gaza Asia/Hebron","PT|Europe/Lisbon Atlantic/Madeira Atlantic/Azores","PW|Pacific/Palau","PY|America/Asuncion","QA|Asia/Qatar","RE|Asia/Dubai Indian/Reunion","RO|Europe/Bucharest","RS|Europe/Belgrade","RU|Europe/Kaliningrad Europe/Moscow Europe/Simferopol Europe/Kirov Europe/Volgograd Europe/Astrakhan Europe/Saratov Europe/Ulyanovsk Europe/Samara Asia/Yekaterinburg Asia/Omsk Asia/Novosibirsk Asia/Barnaul Asia/Tomsk Asia/Novokuznetsk Asia/Krasnoyarsk Asia/Irkutsk Asia/Chita Asia/Yakutsk Asia/Khandyga Asia/Vladivostok Asia/Ust-Nera Asia/Magadan Asia/Sakhalin Asia/Srednekolymsk Asia/Kamchatka Asia/Anadyr","RW|Africa/Maputo Africa/Kigali","SA|Asia/Riyadh","SB|Pacific/Guadalcanal","SC|Asia/Dubai Indian/Mahe","SD|Africa/Khartoum","SE|Europe/Berlin Europe/Stockholm","SG|Asia/Singapore","SH|Africa/Abidjan Atlantic/St_Helena","SI|Europe/Belgrade Europe/Ljubljana","SJ|Europe/Berlin Arctic/Longyearbyen","SK|Europe/Prague Europe/Bratislava","SL|Africa/Abidjan Africa/Freetown","SM|Europe/Rome Europe/San_Marino","SN|Africa/Abidjan Africa/Dakar","SO|Africa/Nairobi Africa/Mogadishu","SR|America/Paramaribo","SS|Africa/Juba","ST|Africa/Sao_Tome","SV|America/El_Salvador","SX|America/Puerto_Rico America/Lower_Princes","SY|Asia/Damascus","SZ|Africa/Johannesburg Africa/Mbabane","TC|America/Grand_Turk","TD|Africa/Ndjamena","TF|Asia/Dubai Indian/Maldives Indian/Kerguelen","TG|Africa/Abidjan Africa/Lome","TH|Asia/Bangkok","TJ|Asia/Dushanbe","TK|Pacific/Fakaofo","TL|Asia/Dili","TM|Asia/Ashgabat","TN|Africa/Tunis","TO|Pacific/Tongatapu","TR|Europe/Istanbul","TT|America/Puerto_Rico America/Port_of_Spain","TV|Pacific/Tarawa Pacific/Funafuti","TW|Asia/Taipei","TZ|Africa/Nairobi Africa/Dar_es_Salaam","UA|Europe/Simferopol Europe/Kyiv","UG|Africa/Nairobi Africa/Kampala","UM|Pacific/Pago_Pago Pacific/Tarawa Pacific/Midway Pacific/Wake","US|America/New_York America/Detroit America/Kentucky/Louisville America/Kentucky/Monticello America/Indiana/Indianapolis America/Indiana/Vincennes America/Indiana/Winamac America/Indiana/Marengo America/Indiana/Petersburg America/Indiana/Vevay America/Chicago America/Indiana/Tell_City America/Indiana/Knox America/Menominee America/North_Dakota/Center America/North_Dakota/New_Salem America/North_Dakota/Beulah America/Denver America/Boise America/Phoenix America/Los_Angeles America/Anchorage America/Juneau America/Sitka America/Metlakatla America/Yakutat America/Nome America/Adak Pacific/Honolulu","UY|America/Montevideo","UZ|Asia/Samarkand Asia/Tashkent","VA|Europe/Rome Europe/Vatican","VC|America/Puerto_Rico America/St_Vincent","VE|America/Caracas","VG|America/Puerto_Rico America/Tortola","VI|America/Puerto_Rico America/St_Thomas","VN|Asia/Bangkok Asia/Ho_Chi_Minh","VU|Pacific/Efate","WF|Pacific/Tarawa Pacific/Wallis","WS|Pacific/Apia","YE|Asia/Riyadh Asia/Aden","YT|Africa/Nairobi Indian/Mayotte","ZA|Africa/Johannesburg","ZM|Africa/Maputo Africa/Lusaka","ZW|Africa/Maputo Africa/Harare"]}),t}),CroutonLocalization.prototype.getDayOfTheWeekWord=function(t){return this.words[this.language].days_of_the_week[t]},CroutonLocalization.prototype.getWord=function(t){const e=this.words[this.language][t.toLowerCase()];return void 0===e?"css-direction"===t?"":t:e},CroutonLocalization.prototype.getVenueType=function(t){return this.words[this.language].venue_type_choices[t]},CroutonLocalization.prototype.getServiceBodyType=function(t){return this.words[this.language].service_body_types[t]},this.hbs_Crouton=this.hbs_Crouton||{},this.hbs_Crouton.templates=this.hbs_Crouton.templates||{},this.hbs_Crouton.templates.byday=Handlebars.template({1:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <tbody class="bmlt-data-rows h-'+t.escapeExpression(t.lambda(null!=e?r(e,"day"):e,e))+'">\n'+(null!=(a=r(i,"unless").call(null!=e?e:t.nullContext||{},null!=e?r(e,"hide"):e,{name:"unless",hash:{},fn:t.program(2,o,0),inverse:t.noop,data:o,loc:{start:{line:5,column:3},end:{line:11,column:14}}}))?a:"")+"\n"+(null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </tbody>\n"},2:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=(r(i,"greaterThan")||e&&r(e,"greaterThan")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},null!=(a=null!=e?r(e,"meetings"):e)?r(a,"length"):a,0,{name:"greaterThan",hash:{},fn:t.program(3,o,0),inverse:t.noop,data:o,loc:{start:{line:6,column:4},end:{line:10,column:20}}}))?a:""},3:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t\t<tr class="meeting-header">\n\t\t\t\t\t\t<td colspan="3" '+(null!=(a=(r(i,"getWord")||e&&r(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:8,column:22},end:{line:8,column:51}}}))?a:"")+">"+t.escapeExpression(t.lambda(null!=e?r(e,"day"):e,e))+"</td>\n\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-table-div">\n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:100},end:{line:2,column:127}}}))+"'>\n"+(null!=(a=s(i,"each").call(r,e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:3,column:8},end:{line:15,column:17}}}))?a:"")+" </table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.byfield=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t<tr class="meeting-header" '+(null!=(a=(c(i,"getWord")||e&&c(e,"getWord")||l).call(s,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:30},end:{line:5,column:59}}}))?a:"")+'>\n\t\t\t\t<td colspan="3">'+t.escapeExpression("function"==typeof(r=null!=(r=c(i,"key")||o&&c(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:20},end:{line:6,column:28}}}):r)+"</td>\n\t\t\t</tr>\n"+(null!=(a=t.invokePartial(c(n,"meetings"),e,{name:"meetings",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-table-div">\n\t<table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:97},end:{line:2,column:124}}}))+'\'>\n\t\t<tbody class="byfield.hbs">\n'+(null!=(a=s(i,"each").call(r,e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:4,column:2},end:{line:9,column:11}}}))?a:"")+"\t\t</tbody>\n\t</table>\n</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.formatPopup=Handlebars.template({1:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" <tr>\n <td class='formats_key'>"+l("function"==typeof(a=null!=(a=c(i,"key")||(null!=e?c(e,"key"):e))?a:s)?a.call(r,{name:"key",hash:{},data:o,loc:{start:{line:4,column:36},end:{line:4,column:43}}}):a)+"</td>\n <td class='formats_name'>"+l("function"==typeof(a=null!=(a=c(i,"name")||(null!=e?c(e,"name"):e))?a:s)?a.call(r,{name:"name",hash:{},data:o,loc:{start:{line:5,column:37},end:{line:5,column:45}}}):a)+"</td>\n <td class='formats_description'>"+l("function"==typeof(a=null!=(a=c(i,"description")||(null!=e?c(e,"description"):e))?a:s)?a.call(r,{name:"description",hash:{},data:o,loc:{start:{line:6,column:44},end:{line:6,column:59}}}):a)+"</td>\n </tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"<table class='bmlt_a_format table-bordered "+t.escapeExpression((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:70}}}))+"'>\n"+(null!=(a=s(i,"each").call(r,null!=e?s(e,"formats_expanded"):e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:2,column:4},end:{line:8,column:13}}}))?a:"")+"</table>"},useData:!0}),this.hbs_Crouton.templates.header=Handlebars.template({1:function(t,e,i,n,o,a,r){var s,l=null!=e?e:t.nullContext||{},c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"include_weekday_button"):s,{name:"if",hash:{},fn:t.program(2,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:3,column:4},end:{line:5,column:11}}}))?s:"")+(null!=(s=c(i,"each").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"button_filters"):s,{name:"each",hash:{},fn:t.program(4,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:6,column:4},end:{line:8,column:13}}}))?s:"")+(null!=(s=c(i,"each").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"button_format_filters"):s,{name:"each",hash:{},fn:t.program(6,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:9,column:4},end:{line:11,column:13}}}))?s:"")+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"map_page"):s,{name:"if",hash:{},fn:t.program(8,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:12,column:4},end:{line:15,column:11}}}))?s:"")+"\n"+(null!=(s=c(i,"each").call(l,null!=e?c(e,"dropdownData"):e,{name:"each",hash:{},fn:t.program(10,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:17,column:4},end:{line:26,column:13}}}))?s:"")+" </div>\n"},2:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="day" class="btn btn-primary btn-sm">'+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"weekday",{name:"getWord",hash:{},data:o,loc:{start:{line:4,column:86},end:{line:4,column:107}}}))+"</a></div>\n"},4:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=e?s(e,"field"):e,e))+'" data-field="'+r(a(null!=e?s(e,"field"):e,e))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r((s(i,"getWord")||e&&s(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},null!=e?s(e,"title"):e,{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:169},end:{line:7,column:191}}}))+"</a></div>\n"},6:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_'+r(a(null!=e?s(e,"field"):e,e))+'" data-field="'+r(a(null!=e?s(e,"field"):e,e))+'" class="filterButton filterButtonLogic btn btn-primary btn-sm">'+r(a(null!=e?s(e,"title"):e,e))+"</a></div>\n"},8:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-button-container"><a id="filterButton_embeddedMapPage" data-field="embeddedMapPage" class="filterButton displayTypeLogic btn btn-primary btn-sm">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"map",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:170},end:{line:13,column:187}}}))+'</a></div>\n <div class="bmlt-button-container"><a id="displayTypeButton_tablePages" data-field="tablePages" class="filterButton displayTypeLogic btn btn-primary btn-sm hide">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"tabular",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:170},end:{line:14,column:191}}}))+"</a></div>\n"},10:function(t,e,i,n,o,a,r){var s,l,c=t.escapeExpression,u=null!=e?e:t.nullContext||{},h=t.hooks.helperMissing,d=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t<div class="bmlt-dropdown-container">\n\t\t<select class="crouton-select filter-dropdown" style="width:'+c(t.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,e))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:19,column:116},end:{line:19,column:131}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(i,"pointer")||(null!=e?d(e,"pointer"):e))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:19,column:147},end:{line:19,column:158}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(i,"elementId")||(null!=e?d(e,"elementId"):e))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:19,column:163},end:{line:19,column:176}}}):l)+'>\n\t\t <option value="a-">'+c((d(i,"getWord")||e&&d(e,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:20,column:25},end:{line:20,column:42}}}))+" "+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:20,column:43},end:{line:20,column:58}}}):l)+"</option>\n"+(null!=(s=d(i,"each").call(u,(d(i,"call")||e&&d(e,"call")||h).call(u,null!=e?d(e,"uniqueData"):e,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:21,column:14},end:{line:21,column:55}}}),{name:"each",hash:{},fn:t.program(11,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:21,column:6},end:{line:23,column:15}}}))?s:"")+"\t\t</select>\n\t</div>\n"},11:function(t,e,i,n,o,a,r){var s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t <option value="a-'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:22,column:24},end:{line:22,column:54}}}))+'">'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:22,column:56},end:{line:22,column:83}}}))+"</option>\n"},13:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(a=(s(i,"ifEquals")||e&&s(e,"ifEquals")||t.hooks.helperMissing).call(r,null!=(a=null!=e?s(e,"config"):e)?s(a,"view_by"):a,"weekdays",{name:"ifEquals",hash:{},fn:t.program(14,o,0),inverse:t.program(16,o,0),data:o,loc:{start:{line:31,column:4},end:{line:35,column:17}}}))?a:"")+' <ul class="nav nav-tabs">\n'+(null!=(a=s(i,"each").call(r,null!=(a=null!=e?s(e,"config"):e)?s(a,"day_sequence"):a,{name:"each",hash:{},fn:t.program(18,o,0),inverse:t.noop,data:o,loc:{start:{line:37,column:12},end:{line:39,column:21}}}))?a:"")+" </ul>\n </div>\n"},14:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:30},end:{line:32,column:57}}}))+' show" id="nav-days">\n'},16:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <div class="bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:34,column:30},end:{line:34,column:57}}}))+' hide" id="nav-days">\n'},18:function(t,e,i,n,o){var a=t.escapeExpression,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <li><a href="#tab'+a(t.lambda(e,e))+'" data-toggle="tab">'+a((r(i,"getDayOfTheWeek")||e&&r(e,"getDayOfTheWeek")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},e,{name:"getDayOfTheWeek",hash:{},data:o,loc:{start:{line:38,column:61},end:{line:38,column:85}}}))+"</a></li>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o,a,r){var s,l=null!=e?e:t.nullContext||{},c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression((c(i,"startup")||e&&c(e,"startup")||t.hooks.helperMissing).call(l,e,{name:"startup",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:16}}}))+"\n"+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"header"):s,{name:"if",hash:{},fn:t.program(1,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:2,column:0},end:{line:28,column:7}}}))?s:"")+"\n"+(null!=(s=c(i,"if").call(l,null!=(s=null!=e?c(e,"config"):e)?c(s,"has_tabs"):s,{name:"if",hash:{},fn:t.program(13,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:30,column:0},end:{line:42,column:7}}}))?s:"")},useData:!0,useDepths:!0}),this.hbs_Crouton.templates.main=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t<div id="byfield_'+c("function"==typeof(r=null!=(r=u(i,"key")||o&&u(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:6,column:19},end:{line:6,column:29}}}):r)+'" class="bmlt-page '+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:48},end:{line:6,column:75}}}))+' hide" >\n'+(null!=(a=t.invokePartial(u(n,"byfields"),e,{name:"byfields",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</div>\n"},3:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t<div id="byfield_'+c("function"==typeof(r=null!=(r=u(i,"key")||o&&u(o,"key"))?r:l)?r.call(s,{name:"key",hash:{},data:o,loc:{start:{line:11,column:19},end:{line:11,column:29}}}):r)+'" class="bmlt-page '+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:11,column:48},end:{line:11,column:75}}}))+' hide">\n'+(null!=(a=t.invokePartial(u(n,"byfields"),e,{name:"byfields",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</div>\n"},5:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' \t<div id="byfield_embeddedMapPage" class="bmlt-map bmlt-page '+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:16,column:65},end:{line:16,column:92}}}))+' hide">\n\t\t</div>\n'},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<div id="bmlt-tabs-table">\n <div id="bmlt-header" class="bmlt-header '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:45},end:{line:2,column:72}}}))+' hide">\n'+(null!=(a=t.invokePartial(c(n,"header"),e,{name:"header",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </div>\n"+(null!=(a=c(i,"each").call(r,null!=(a=null!=e?c(e,"meetings"):e)?c(a,"buttonFilters"):a,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:5,column:1},end:{line:9,column:10}}}))?a:"")+(null!=(a=c(i,"each").call(r,null!=(a=null!=e?c(e,"meetings"):e)?c(a,"buttonFormatFilters"):a,{name:"each",hash:{},fn:t.program(3,o,0),inverse:t.noop,data:o,loc:{start:{line:10,column:4},end:{line:14,column:10}}}))?a:"")+(null!=(a=c(i,"if").call(r,null!=(a=null!=e?c(e,"config"):e)?c(a,"map_page"):a,{name:"if",hash:{},fn:t.program(5,o,0),inverse:t.noop,data:o,loc:{start:{line:15,column:4},end:{line:18,column:11}}}))?a:"")+' <div id="byday" class="bmlt-page '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:19,column:37},end:{line:19,column:64}}}))+' hide">\n'+(null!=(a=t.invokePartial(c(n,"bydays"),null!=(a=null!=e?c(e,"meetings"):e)?c(a,"bydays"):a,{name:"bydays",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+' </div>\n <div id="tabs-content" class="bmlt-page '+l((c(i,"getWord")||e&&c(e,"getWord")||s).call(r,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:22,column:44},end:{line:22,column:71}}}))+'">\n'+(null!=(a=t.invokePartial(c(n,"weekdays"),null!=(a=null!=e?c(e,"meetings"):e)?c(a,"weekdays"):a,{name:"weekdays",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+" </div>\n"+(null!=(a=t.invokePartial(c(n,"meetingCountTemplate"),e,{name:"meetingCountTemplate",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"</div>\n"},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.mapMenu=Handlebars.template({1:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <button id="filterMeetings" style="display: block;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:9,column:60},end:{line:9,column:89}}}))+'</button>\n <button id="showAsTable" style="display: block;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:57},end:{line:10,column:91}}}))+"</button>\n"},3:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return' <button id="filterTable" style="display: block;"><span id="filteringByVisibility"></span>'+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"filter by visibility",{name:"getWord",hash:{},data:o,loc:{start:{line:12,column:97},end:{line:12,column:131}}}))+"</button>\n"},5:function(t,e,i,n,o,a,r){var s,l,c=t.escapeExpression,u=null!=e?e:t.nullContext||{},h=t.hooks.helperMissing,d=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t <div class="bmlt-dropdown-container">\n\t\t <select class="crouton-select filter-dropdown" style="width:'+c(t.lambda(null!=(s=null!=r[1]?d(r[1],"config"):r[1])?d(s,"dropdown_width"):s,e))+';" data-placeholder="'+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:21,column:124},end:{line:21,column:139}}}):l)+'" data-pointer="'+c("function"==typeof(l=null!=(l=d(i,"pointer")||(null!=e?d(e,"pointer"):e))?l:h)?l.call(u,{name:"pointer",hash:{},data:o,loc:{start:{line:21,column:155},end:{line:21,column:166}}}):l)+'" id='+c("function"==typeof(l=null!=(l=d(i,"elementId")||(null!=e?d(e,"elementId"):e))?l:h)?l.call(u,{name:"elementId",hash:{},data:o,loc:{start:{line:21,column:171},end:{line:21,column:184}}}):l)+'>\n\t\t <option value="a-">'+c((d(i,"getWord")||e&&d(e,"getWord")||h).call(u,"all",{name:"getWord",hash:{},data:o,loc:{start:{line:22,column:33},end:{line:22,column:50}}}))+" "+c("function"==typeof(l=null!=(l=d(i,"placeholder")||(null!=e?d(e,"placeholder"):e))?l:h)?l.call(u,{name:"placeholder",hash:{},data:o,loc:{start:{line:22,column:51},end:{line:22,column:66}}}):l)+"</option>\n"+(null!=(s=d(i,"each").call(u,(d(i,"call")||e&&d(e,"call")||h).call(u,null!=e?d(e,"uniqueData"):e,null!=(s=null!=r[1]?d(r[1],"meetings"):r[1])?d(s,"meetingData"):s,{name:"call",hash:{},data:o,loc:{start:{line:23,column:22},end:{line:23,column:63}}}),{name:"each",hash:{},fn:t.program(6,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:23,column:14},end:{line:25,column:23}}}))?s:"")+"\t\t </select>\n\t </div>\n"},6:function(t,e,i,n,o,a,r){var s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t <option value="a-'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"objectPointer"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:24,column:32},end:{line:24,column:62}}}))+'">'+c((u(i,"call")||e&&u(e,"call")||l).call(s,null!=r[1]?u(r[1],"optionName"):r[1],e,{name:"call",hash:{},data:o,loc:{start:{line:24,column:64},end:{line:24,column:91}}}))+"</option>\n"},8:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:" ",helpers:i,partials:n,decorators:t.decorators}))?a:""},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o,a,r){var s,l=t.escapeExpression,c=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing,h=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<button id="map-menu-button" class="menu-button" title="Erweiterte Suche" style="width: 95px;">\n <span class="menu-button-childSmall" style="background-image: url(\''+l(t.lambda(null!=e?h(e,"imageDir"):e,e))+'/menu-32.png\');"></span>\n <span class="menu-button-label">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Menu",{name:"getWord",hash:{},data:o,loc:{start:{line:3,column:36},end:{line:3,column:54}}}))+'</span>\n</button>\n <div id="map-menu-dropdown" class="menu-dropdown">\n <button id="lookupLocation" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:6,column:60},end:{line:6,column:95}}}))+'</button>\n <button id="nearbyMeetings" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:60},end:{line:7,column:81}}}))+"</button>\n"+(null!=(s=h(i,"if").call(c,null!=e?h(e,"dropdownData"):e,{name:"if",hash:{},fn:t.program(1,o,0,a,r),inverse:t.program(3,o,0,a,r),data:o,loc:{start:{line:8,column:8},end:{line:13,column:15}}}))?s:"")+' <button id="fullscreenMode" style="display: block;">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Toggle fullscreen mode",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:60},end:{line:14,column:96}}}))+'</button>\n </div>\n<div id="filter_modal" class="modal" style="display: none;">\n\t<div class="modal-content">\n <span class="modal-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Filter meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:18,column:34},end:{line:18,column:63}}}))+'</span><span id="close_filter" class="modal-close">×</span>\n'+(null!=(s=h(i,"each").call(c,null!=e?h(e,"dropdownData"):e,{name:"each",hash:{},fn:t.program(5,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:19,column:8},end:{line:28,column:17}}}))?s:"")+' </div>\n</div>\n<div id="table_page" class="bmlt-page '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:31,column:38},end:{line:31,column:65}}}))+' hide" >\n <div id="bmlt-maptable-header"><span class="map-list-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Visible meeting list",{name:"getWord",hash:{},data:o,loc:{start:{line:32,column:64},end:{line:32,column:98}}}))+'</span><span id="close_table" class="table-close">X</span></div>\n <div id="bmlt-maptable-div" style="position:relative; overflow-y:scroll;">\n\n <table class=\'bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:35,column:104},end:{line:35,column:131}}}))+"'>\n"+(null!=(s=h(i,"each").call(c,null!=(s=null!=e?h(e,"meetings"):e)?h(s,"bydays"):s,{name:"each",hash:{},fn:t.program(8,o,0,a,r),inverse:t.noop,data:o,loc:{start:{line:36,column:8},end:{line:38,column:17}}}))?s:"")+' </table>\n </div>\n</div>\n<div id="geocoding_modal" class="modal" style="display: none;">\n\t<div id="search_content" class="modal-content">\n\t\t<span class="modal-title">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Show meetings near...",{name:"getWord",hash:{},data:o,loc:{start:{line:44,column:28},end:{line:44,column:63}}}))+'</span><span id="close_search" class="modal-close">x</span>\n <p></p>\n <div class="modal-search">\n '+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:47,column:12},end:{line:47,column:50}}}))+'\n <input id="goto-text" type="text">\n <button id="goto-button" class="filter-button">'+l((h(i,"getWord")||e&&h(e,"getWord")||u).call(c,"go",{name:"getWord",hash:{},data:o,loc:{start:{line:49,column:59},end:{line:49,column:75}}}))+"</button>\n </div>\n \t</div>\n</div>\n\n"},usePartial:!0,useData:!0,useDepths:!0}),this.hbs_Crouton.templates.mapSearch=Handlebars.template({compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a=null!=e?e:t.nullContext||{},r=t.hooks.helperMissing,s=t.escapeExpression,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'<button id="map-search-button" class="menu-button" title="Erweiterte Suche">\n <span class="menu-button-label" style="position:initial;">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:2,column:62},end:{line:2,column:95}}}))+'</span>\n</button>\n<div id="bmltsearch_modal" class="modal" style="display: none;">\n\t<div id="bmltsearch_content" class="modal-content">\n\t\t<span id="close_search" class="modal-close">x</span>\n <span class="modal-title">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Search for meetings",{name:"getWord",hash:{},data:o,loc:{start:{line:7,column:34},end:{line:7,column:67}}}))+'</span>\n <table>\n <tr><td><div class="modal-search">\n <input id="bmltsearch-goto-text" type="text" placeholder="'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"Enter a city or zip code",{name:"getWord",hash:{},data:o,loc:{start:{line:10,column:70},end:{line:10,column:108}}}))+'" style="margin-bottom:5px;">\n <button id="bmltsearch-text-button" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"text_search",{name:"getWord",hash:{},data:o,loc:{start:{line:11,column:70},end:{line:11,column:95}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <button id="bmltsearch-nearbyMeetings" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"near_me",{name:"getWord",hash:{},data:o,loc:{start:{line:14,column:77},end:{line:14,column:98}}}))+'</button>\n </div></td></tr>\n <tr><td><div class="modal-search">\n <button id="bmltsearch-clicksearch" class="filter-button">'+s((l(i,"getWord")||e&&l(e,"getWord")||r).call(a,"click_search",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:74},end:{line:17,column:100}}}))+"</button>\n </div></td></tr></table>\n \t</div>\t\n</div>"},useData:!0}),this.hbs_Crouton.templates.meetings=Handlebars.template({1:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,l=t.escapeExpression,c=t.lambda,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"\t"+l((u(i,"enrich")||e&&u(e,"enrich")||s).call(r,e,{name:"enrich",hash:{},data:o,loc:{start:{line:2,column:1},end:{line:2,column:16}}}))+'\n\t<tr class="bmlt-data-row"\n\t\tid="meeting-data-row-'+l(c(null!=e?u(e,"id_bigint"):e,e))+'"\n\t\tdata-cities="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_municipality"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:5,column:15},end:{line:5,column:63}}}))+'"\n\t\tdata-groups="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"meeting_name"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:6,column:15},end:{line:6,column:54}}}))+'"\n\t\tdata-locations="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_text"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:7,column:18},end:{line:7,column:58}}}))+'"\n\t\tdata-zips="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_postal_code_1"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:8,column:13},end:{line:8,column:62}}}))+'"\n\t\tdata-formats="'+l((u(i,"formatDataPointerFormats")||e&&u(e,"formatDataPointerFormats")||s).call(r,null!=e?u(e,"formats_expanded"):e,{name:"formatDataPointerFormats",hash:{},data:o,loc:{start:{line:9,column:16},end:{line:9,column:66}}}))+'"\n\t\tdata-areas="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"service_body_bigint"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:10,column:14},end:{line:10,column:60}}}))+'"\n\t\tdata-regions="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"parentServiceBodyName"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:11,column:16},end:{line:11,column:64}}}))+'"\n\t\tdata-counties="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_sub_province"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:12,column:17},end:{line:12,column:65}}}))+'"\n\t\tdata-neighborhoods="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_neighborhood"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:13,column:22},end:{line:13,column:70}}}))+'"\n\t\tdata-states="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"location_province"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:14,column:15},end:{line:14,column:59}}}))+'"\n\t\tdata-venues="'+l((u(i,"formatDataFromArray")||e&&u(e,"formatDataFromArray")||s).call(r,null!=e?u(e,"venue_type_name"):e,{name:"formatDataFromArray",hash:{},data:o,loc:{start:{line:15,column:15},end:{line:15,column:59}}}))+'"\n\t\tdata-weekdays="'+l((u(i,"formatDataPointer")||e&&u(e,"formatDataPointer")||s).call(r,null!=e?u(e,"formatted_day"):e,{name:"formatDataPointer",hash:{},data:o,loc:{start:{line:16,column:17},end:{line:16,column:57}}}))+'">\n\t\t<td class="bmlt-column1" '+(null!=(a=(u(i,"getWord")||e&&u(e,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:17,column:27},end:{line:17,column:56}}}))?a:"")+'>\n\t\t\t<div class="bmlt-day">'+l(c(null!=e?u(e,"formatted_day"):e,e))+"</div>\n"+(null!=(a=(u(i,"ifEquals")||e&&u(e,"ifEquals")||s).call(r,null!=e?u(e,"duration_time"):e,"24:00:00",{name:"ifEquals",hash:{},fn:t.program(2,o,0),inverse:t.program(4,o,0),data:o,loc:{start:{line:19,column:3},end:{line:23,column:16}}}))?a:"")+(null!=(a=u(i,"if").call(r,null!=e?u(e,"formats"):e,{name:"if",hash:{},fn:t.program(6,o,0),inverse:t.noop,data:o,loc:{start:{line:24,column:3},end:{line:42,column:10}}}))?a:"")+'\t\t\t<div class="bmlt-comments">'+l((u(i,"formatLink")||e&&u(e,"formatLink")||s).call(r,null!=e?u(e,"formatted_comments"):e,{name:"formatLink",hash:{},data:o,loc:{start:{line:43,column:30},end:{line:43,column:68}}}))+'</div>\n\t\t\t<div class="bmlt-observer">'+(null!=(a=t.invokePartial((u(i,"selectObserver")||e&&u(e,"selectObserver")||s).call(r,{name:"selectObserver",hash:{},data:o,loc:{start:{line:44,column:34},end:{line:44,column:50}}}),e,{data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column2" '+(null!=(a=(u(i,"getWord")||e&&u(e,"getWord")||s).call(r,"css-textAlign",{name:"getWord",hash:{},data:o,loc:{start:{line:46,column:27},end:{line:46,column:56}}}))?a:"")+'>\n\t\t\t<div class="meeting-data-template">'+(null!=(a=t.invokePartial(u(n,"meetingDataTemplate"),e,{name:"meetingDataTemplate",data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'</div>\n\t\t</td>\n\t\t<td class="bmlt-column3">\n'+(null!=(a=t.invokePartial(u(n,"metaDataTemplate"),e,{name:"metaDataTemplate",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+(null!=(a=(u(i,"canShare")||e&&u(e,"canShare")||s).call(r,e,{name:"canShare",hash:{},fn:t.program(8,o,0),inverse:t.noop,data:o,loc:{start:{line:51,column:3},end:{line:53,column:16}}}))?a:"")+(null!=(a=(u(i,"reportUpdateEnabled")||e&&u(e,"reportUpdateEnabled")||s).call(r,e,{name:"reportUpdateEnabled",hash:{},fn:t.program(18,o,0),inverse:t.noop,data:o,loc:{start:{line:54,column:3},end:{line:56,column:27}}}))?a:"")+(null!=(a=t.invokePartial(u(n,"offerIcsButton"),e,{name:"offerIcsButton",data:o,indent:"\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:"")+"\t\t</td>\n\t</tr>\n"},2:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<div class="bmlt-time-2">'+t.escapeExpression(t.lambda(null!=e?a(e,"start_time_formatted"):e,e))+"</div>\n"},4:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<div class="bmlt-time-2">'+r(a(null!=e?s(e,"start_time_formatted"):e,e))+" - "+r(a(null!=e?s(e,"end_time_formatted"):e,e))+"</div>\n"},6:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a id="bmlt-formats"\n\t\t\t\t class="btn btn-primary btn-xs"\n\t\t\t\t title=""\n\t\t\t\t data-html="true"\n\t\t\t\t tabindex="0"\n\t\t\t\t data-trigger="focus"\n\t\t\t\t role="button"\n\t\t\t\t data-toggle="popover"\n\t\t\t\t data-original-title=""\n\t\t\t\t data-content="'+(null!=(a=t.invokePartial((r(i,"selectFormatPopup")||e&&r(e,"selectFormatPopup")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},{name:"selectFormatPopup",hash:{},data:o,loc:{start:{line:34,column:25},end:{line:34,column:44}}}),e,{data:o,helpers:i,partials:n,decorators:t.decorators}))?a:"")+'">\n <span class="glyphicon glyphicon-search"\n\t\t\t\t\t\t aria-hidden="true"\n\t\t\t\t\t\t data-toggle="popover"\n\t\t\t\t\t\t data-trigger="focus"\n\t\t\t\t\t\t data-html="true"\n\t\t\t\t\t\t role="button"></span>'+t.escapeExpression(t.lambda(null!=e?r(e,"formats"):e,e))+"\n\t\t\t\t</a>\n"},8:function(t,e,i,n,o){var a,r=t.lambda,s=t.escapeExpression,l=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a href="javascript:void(0);" id="share-button" class="btn btn-primary btn-xs" onclick=\'navigator.share({ text: JSON.stringify("'+s(r(null!=e?u(e,"formatted_day"):e,e))+" "+s(r(null!=e?u(e,"start_time_formatted"):e,e))+" - "+s(r(null!=e?u(e,"end_time_formatted"):e,e))+" "+s(r(null!=e?u(e,"meeting_name"):e,e))+" "+s(r(null!=e?u(e,"location_text"):e,e))+" "+s(r(null!=e?u(e,"formatted_address"):e,e))+" "+s(r(null!=e?u(e,"formatted_location_info"):e,e))+(null!=(a=u(i,"if").call(l,null!=e?u(e,"virtual_meeting_additional_info"):e,{name:"if",hash:{},fn:t.program(9,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:319},end:{line:52,column:411}}}))?a:"")+'"), url: "'+(null!=(a=(u(i,"isVirtualOrHybrid")||e&&u(e,"isVirtualOrHybrid")||c).call(l,e,{name:"isVirtualOrHybrid",hash:{},fn:t.program(11,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:421},end:{line:52,column:608}}}))?a:"")+(null!=(a=(u(i,"isInPersonOrHybrid")||e&&u(e,"isInPersonOrHybrid")||c).call(l,e,{name:"isInPersonOrHybrid",hash:{},fn:t.program(16,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:608},end:{line:52,column:791}}}))?a:"")+'"})\'><span class="glyphicon glyphicon-share"></span> '+s(r(null!=e?u(e,"share_word"):e,e))+"</a>\n"},9:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" "+t.escapeExpression(t.lambda(null!=e?a(e,"virtual_meeting_additional_info"):e,e))},11:function(t,e,i,n,o){var a,r=null!=e?e:t.nullContext||{},s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return(null!=(a=s(i,"if").call(r,null!=e?s(e,"virtual_meeting_link"):e,{name:"if",hash:{},fn:t.program(12,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:448},end:{line:52,column:517}}}))?a:"")+(null!=(a=s(i,"if").call(r,null!=e?s(e,"phone_meeting_number"):e,{name:"if",hash:{},fn:t.program(14,o,0),inverse:t.noop,data:o,loc:{start:{line:52,column:517},end:{line:52,column:586}}}))?a:"")},12:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression(t.lambda(null!=e?a(e,"virtual_meeting_link"):e,e))},14:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return t.escapeExpression(t.lambda(null!=e?a(e,"phone_meeting_number"):e,e))},16:function(t,e,i,n,o){var a=t.lambda,r=t.escapeExpression,s=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" https://www.google.com/maps/search/?api=1&amp;query="+r(a(null!=e?s(e,"latitude"):e,e))+","+r(a(null!=e?s(e,"longitude"):e,e))+"&amp;q="+r(a(null!=e?s(e,"latitude"):e,e))+","+r(a(null!=e?s(e,"longitude"):e,e))},18:function(t,e,i,n,o){var a,r=t.escapeExpression,s=t.lambda,l=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return'\t\t\t\t<a href="'+r("function"==typeof(a=null!=(a=l(i,"reportUpdateUrl")||(null!=e?l(e,"reportUpdateUrl"):e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"reportUpdateUrl",hash:{},data:o,loc:{start:{line:55,column:13},end:{line:55,column:34}}}):a)+"?meeting_id="+r(s(null!=e?l(e,"id_bigint"):e,e))+'" id="share-button" class="btn btn-primary btn-xs" target="_blank"><span class="glyphicon glyphicon-edit"></span> '+r(s(null!=e?l(e,"report_update_word"):e,e))+"</a>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a;return null!=(a=(t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]})(i,"each").call(null!=e?e:t.nullContext||{},e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:1,column:0},end:{line:60,column:9}}}))?a:""},usePartial:!0,useData:!0}),this.hbs_Crouton.templates.weekdays=Handlebars.template({1:function(t,e,i,n,o){var a,r,s=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression,u=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return" <div id='tab"+c("function"==typeof(r=null!=(r=u(i,"day")||(null!=e?u(e,"day"):e))?r:l)?r.call(s,{name:"day",hash:{},data:o,loc:{start:{line:3,column:20},end:{line:3,column:29}}}):r)+"' class='tab-pane'>\n <div id=\"bmlt-table-div\">\n <table class='bmlt-table table table-striped table-hover table-bordered tablesaw tablesaw-stack "+c((u(i,"getWord")||e&&u(e,"getWord")||l).call(s,"css-direction",{name:"getWord",hash:{},data:o,loc:{start:{line:5,column:112},end:{line:5,column:139}}}))+'\'>\n <tbody class="weekdays.hbs">\n'+(null!=(a=(u(i,"greaterThan")||e&&u(e,"greaterThan")||l).call(s,null!=(a=null!=e?u(e,"meetings"):e)?u(a,"length"):a,0,{name:"greaterThan",hash:{},fn:t.program(2,o,0),inverse:t.noop,data:o,loc:{start:{line:7,column:6},end:{line:9,column:22}}}))?a:"")+(null!=(a=(u(i,"lessThan")||e&&u(e,"lessThan")||l).call(s,null!=(a=null!=e?u(e,"meetings"):e)?u(a,"length"):a,1,{name:"lessThan",hash:{},fn:t.program(4,o,0),inverse:t.noop,data:o,loc:{start:{line:10,column:6},end:{line:16,column:19}}}))?a:"")+" </tbody>\n </table>\n </div>\n </div>\n"},2:function(t,e,i,n,o){var a,r=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return null!=(a=t.invokePartial(r(n,"meetings"),null!=e?r(e,"meetings"):e,{name:"meetings",data:o,indent:"\t\t\t\t\t\t\t",helpers:i,partials:n,decorators:t.decorators}))?a:""},4:function(t,e,i,n,o){var a=t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]};return"\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t"+t.escapeExpression((a(i,"getWord")||e&&a(e,"getWord")||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"no_meetings_for_this_day",{name:"getWord",hash:{},data:o,loc:{start:{line:13,column:9},end:{line:13,column:47}}}))+"\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,i,n,o){var a;return'<div class="tab-content">\n'+(null!=(a=(t.lookupProperty||function(t,e){if(Object.prototype.hasOwnProperty.call(t,e))return t[e]})(i,"each").call(null!=e?e:t.nullContext||{},e,{name:"each",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o,loc:{start:{line:2,column:4},end:{line:21,column:13}}}))?a:"")+"</div>\n"},usePartial:!0,useData:!0});var croutonDefaultTemplates={meeting_data_template:["{{#isTemporarilyClosed this}}"," <div class='temporarilyClosed'><span class='glyphicon glyphicon-flag'></span> {{temporarilyClosed this}}</div>","{{/isTemporarilyClosed}}","<div class='meeting-name'>{{> meetingModal this}}</div>","<div class='location-text'>{{this.location_text}}</div>","<div class='meeting-address'>{{this.formatted_address}}</div>","<div class='location-information'>{{this.formatted_location_info}}</div>","{{#if this.virtual_meeting_additional_info}}"," <div class='meeting-additional-info'>{{this.virtual_meeting_additional_info}}</div>","{{/if}}"].join("\n"),metadata_template:["{{#isVirtualOrHybrid this}}"," {{#isHybrid this}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud-upload'></span> {{meetsHybrid this}}</div>"," {{else}}"," <div class='meetsVirtually'><span class='glyphicon glyphicon-cloud'></span> {{meetsVirtually this}}</div>"," {{/isHybrid}}"," {{#if this.virtual_meeting_link}}"," <div><span class='glyphicon glyphicon-globe'></span> {{webLinkify this.virtual_meeting_link}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.virtual_meeting_link}}</div>"," {{/if}}"," {{/if}}"," {{#if this.phone_meeting_number}}"," <div><span class='glyphicon glyphicon-earphone'></span> {{phoneLinkify this.phone_meeting_number}}</div>"," {{#if this.show_qrcode}}"," <div class='qrcode'>{{qrCode this.phone_meeting_number}}</div>"," {{/if}}"," {{/if}}","{{/isVirtualOrHybrid}}","{{#isNotTemporarilyClosed this}}"," {{#unless (hasFormats 'VM' this)}}"," <div>"," <a onclick='crouton.meetingModal({{this.id_bigint}})' tabindex='0' href='#' id='map-button' class='btn btn-primary btn-xs'>","\t\t\t\t<span class='glyphicon glyphicon-search' aria-hidden='true'></span>","\t\t\t\t{{getWord 'meeting details'}}","\t\t\t</a>"," </div>"," <div class='geo hide'>{{this.latitude}},{{this.longitude}}</div>"," {{/unless}}","{{/isNotTemporarilyClosed}}"].join("\n"),observer_template:["<div class='observerLine'>{{this.contact_name_1}} {{this.contact_phone_1}} {{this.contact_email_1}}</div>","<div class='observerLine'>{{this.contact_name_2}} {{this.contact_phone_2}} {{this.contact_email_2}}</div>","{{#if this.wheelchair}}<div aria-hidden='true' style='font-style:normal; font-size:x-large;'>&#x267F;</div>{{/if}}"].join("\n"),meeting_count_template:["{{#if this.config.has_meeting_count}}","<span class='bmlt_tabs_meeting_count'>{{getWord 'meeting_count'}} <span id='bmlt_tabs_meeting_count-live'>{{this.meetings.meetingCount}}</span></span>","{{/if}}"].join("\n"),meeting_link_template:["{{#if this.meeting_details_url}}","<a href='{{{this.meeting_details_url}}}'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>","{{else}}","{{this.meeting_name}}","{{/if}}"].join("\n"),meeting_modal_template:["<a tabindex='0' href='#' onclick='crouton.meetingModal({{this.id_bigint}})'><span class='glyphicon glyphicon-search' aria-hidden='true'></span>{{this.meeting_name}}</a>"].join("\n"),meetingpage_frame_template:'\n\t<div id="meeting_modal" class="modal bootstrap-bmlt" style="display: none;" tabindex="-1" >\n\t<div class="modal-content">\n <span class="modal-title">{{getWord "Meeting Details"}}</span><span id="close_meeting_details" class="modal-close" style="position: absolute;right: 5px;top:10px;">×</span>\n\t\t<table id="meeting-details-table" class="bmlt-table {{getWord \'css-direction\'}} table table-striped table-hover table-bordered tablesaw tablesaw-stack meeting-details">\n\t\t\t<thead>\n \t\t<th id="meeting-details-title" colspan="2">\n\t\t \t\t{{> meetingpageTitleTemplate this}}\n\t \t\t</th>\n \t\t</thead>\n \t\t<tbody>\n \t\t<tr id="meeting-details-contents">\n \t\t\t{{> meetingpageContentsTemplate this}}\n \t\t</tr>\n \t\t</tbody>\n\t\t</table>\n\t\t<div>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs" href="{{{this.meeting_details_url}}}" tabindex="0" target="_blank" rel="noopener noreferrer" style="float:left">\n\t\t\t\t{{getWord "Meeting Page"}}</a>\n\t\t\t<a id="map-button" class="btn btn-primary btn-xs modal-close" tabindex="0" style="float:right">\n\t\t\t\t{{getWord "Close"}}</a>\n\t\t</div>\n\t\t<div class="swipe-buttons">\n\t\t\t<span class="modal-right">&gt;</span>\n\t\t\t<span class="modal-left">&lt;</span>\n\t\t</div>\n\t</div></div>',meetingpage_title_template:["{{this.formatted_day}} {{this.start_time_formatted}} - {{this.end_time_formatted}}: {{this.meeting_name}}"].join("\n"),meetingpage_contents_template:'<td id="meetingpage_map_td">\n\t\t{{#isInPersonOrHybrid this}}\n {{{crouton_map}}}\n </td>\n <td style="vertical-align:top;">\n <h4>Location:</h4>\n {{#isTemporarilyClosed this}}\n <div class="temporarilyClosed">{{temporarilyClosed this}}</div>\n {{/isTemporarilyClosed}}\n <div class="location-text">{{{this.location_text}}}</div>\n <div class="meeting-address">{{this.formatted_address}}</div>\n <div class="location-information">{{{this.formatted_location_info}}}</div>\n <a target="_blank" href="https://www.google.com/maps/dir/?api=1&destination={{this.latitude}}%2C{{this.longitude}}" class="bootstrap-bmlt" ><div class="btn btn-primary bmlt-xs get-directions"><span class="glyphicon glyphicon-road"></span> {{getWord "google_directions"}}</div></a>\n <br/>\n {{/isInPersonOrHybrid}}\n {{#isVirtualOrHybrid this}}\n <h4>Join this meeting online:</h4>\n {{#if virtual_meeting_link}}\n <div>{{webLinkify this.virtual_meeting_link}}</div>\n {{#if show_qrcode}}\n <div class="qrcode">{{qrCode virtual_meeting_link}}</div>\n {{/if}}\n {{/if}}\n {{#if this.phone_meeting_number}}\n <div>{{phoneLinkify this.phone_meeting_number}}</div>\n {{#if this.show_qrcode}}\n <div class="qrcode">{{qrCode this.phone_meeting_number}}</div>\n {{/if}}\n {{/if}}\n {{#if this.virtual_meeting_additional_info}}\n {{this.virtual_meeting_additional_info}}\n {{/if}}\n <br/>\n {{/isVirtualOrHybrid}}\n <br/>\n {{#if formats_expanded}}\n <h4>Meeting Formats</h4>\n <ul>\n {{#each formats_expanded}}\n <li>{{description}}</li>\n {{/each}}\n </ul>\n <br/>\n {{/if}}\n <h4>Contact:</h4>\n This meeting is in <a href="{{serviceBodyUrl}}">{{serviceBodyName}}</a><br/>\n\t\t{{> offerIcsButton}}\n </td>',marker_contents_template:'<h4>{{meeting_name}}</h4>\n\t<div class="active">\n\t\t<div class="marker_div_location_text">{{{this.location_text}}}</div>\n\t\t<div class="marker_div_location_address">{{this.formatted_address}}</div>\n\t\t<div class="marker_div_location_info">{{{this.formatted_location_info}}}</div>\n\t\t<div class="marker_div_location_maplink">\n\t\t{{#if this.meeting_details_url}}\n\t\t\t<a href="{{this.meeting_details_url}}" target="_blank">More info</a>\n\t\t{{/if}}\n\t\t</div>\n\t\t<div class="marker_div_formats">\n\t\t{{#each this.formats_expanded}}{{#if @index}}; {{/if}}{{this.name}}{{/each}}\n\t\t</div>\n\t</div>\n\t'};!function(t){var e="object"==typeof exports&&exports&&!exports.nodeType&&exports,i="object"==typeof module&&module&&!module.nodeType&&module,n="object"==typeof global&&global;n.global!==n&&n.window!==n&&n.self!==n||(t=n);var o,a,r=2147483647,s=36,l=1,c=26,u=38,h=700,d=72,p=128,m="-",f=/^xn--/,g=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=s-l,b=Math.floor,w=String.fromCharCode;function A(t){throw new RangeError(y[t])}function k(t,e){for(var i=t.length,n=[];i--;)n[i]=e(t[i]);return n}function P(t,e){var i=t.split("@"),n="";return i.length>1&&(n=i[0]+"@",t=i[1]),n+k((t=t.replace(_,".")).split("."),e).join(".")}function S(t){for(var e,i,n=[],o=0,a=t.length;o<a;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<a?56320==(64512&(i=t.charCodeAt(o++)))?n.push(((1023&e)<<10)+(1023&i)+65536):(n.push(e),o--):n.push(e);return n}function M(t){return k(t,function(t){var e="";return t>65535&&(e+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=w(t)}).join("")}function C(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function x(t,e,i){var n=0;for(t=i?b(t/h):t>>1,t+=b(t/e);t>v*c>>1;n+=s)t=b(t/v);return b(n+(v+1)*t/(t+u))}function L(t){var e,i,n,o,a,u,h,f,g,_,y,v=[],w=t.length,k=0,P=p,S=d;for((i=t.lastIndexOf(m))<0&&(i=0),n=0;n<i;++n)t.charCodeAt(n)>=128&&A("not-basic"),v.push(t.charCodeAt(n));for(o=i>0?i+1:0;o<w;){for(a=k,u=1,h=s;o>=w&&A("invalid-input"),((f=(y=t.charCodeAt(o++))-48<10?y-22:y-65<26?y-65:y-97<26?y-97:s)>=s||f>b((r-k)/u))&&A("overflow"),k+=f*u,!(f<(g=h<=S?l:h>=S+c?c:h-S));h+=s)u>b(r/(_=s-g))&&A("overflow"),u*=_;S=x(k-a,e=v.length+1,0==a),b(k/e)>r-P&&A("overflow"),P+=b(k/e),k%=e,v.splice(k++,0,P)}return M(v)}function T(t){var e,i,n,o,a,u,h,f,g,_,y,v,k,P,M,L=[];for(v=(t=S(t)).length,e=p,i=0,a=d,u=0;u<v;++u)(y=t[u])<128&&L.push(w(y));for(n=o=L.length,o&&L.push(m);n<v;){for(h=r,u=0;u<v;++u)(y=t[u])>=e&&y<h&&(h=y);for(h-e>b((r-i)/(k=n+1))&&A("overflow"),i+=(h-e)*k,e=h,u=0;u<v;++u)if((y=t[u])<e&&++i>r&&A("overflow"),y==e){for(f=i,g=s;!(f<(_=g<=a?l:g>=a+c?c:g-a));g+=s)M=f-_,P=s-_,L.push(w(C(_+M%P,0))),f=b(M/P);L.push(w(C(f,0))),a=x(i,k,n==o),i=0,++n}++i,++e}return L.join("")}if(o={version:"1.4.1",ucs2:{decode:S,encode:M},decode:L,encode:T,toASCII:function(t){return P(t,function(t){return g.test(t)?"xn--"+T(t):t})},toUnicode:function(t){return P(t,function(t){return f.test(t)?L(t.slice(4).toLowerCase()):t})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return o});else if(e&&i)if(module.exports==e)i.exports=o;else for(a in o)o.hasOwnProperty(a)&&(e[a]=o[a]);else t.punycode=o}(this);var defaultOptions={timeout:3e5,jsonpCallback:"callback",jsonpCallbackFunction:null};function generateCallbackFunction(){return"jsonp_"+Date.now().toString()+"_"+Math.ceil(1e5*Math.random()).toString()}function clearFunction(t){try{delete window[t]}catch(e){window[t]=void 0}}function removeScript(t){var e=document.getElementById(t);e&&document.getElementsByTagName("head")[0].removeChild(e)}function fetchJsonp(t,e){e||(e={});var i,n=t,o=e.timeout||defaultOptions.timeout,a=e.jsonpCallback||defaultOptions.jsonpCallback;return new Promise(function(r,s){var l=e.jsonpCallbackFunction||generateCallbackFunction(),c=a+"_"+l;window[l]=function(t){r({ok:!0,json:function(){return Promise.resolve(t)}}),i&&clearTimeout(i),removeScript(c),clearFunction(l)},n+=-1===n.indexOf("?")?"?":"&";var u=document.createElement("script");u.setAttribute("src",n+a+"="+l),e.charset&&u.setAttribute("charset",e.charset),e.nonce&&u.setAttribute("nonce",e.nonce),e.referrerPolicy&&u.setAttribute("referrerPolicy",e.referrerPolicy),u.id=c,document.getElementsByTagName("head")[0].appendChild(u),i=setTimeout(function(){s(new Error("JSONP request to "+t+" timed out")),clearFunction(l),removeScript(c),window[l]=function(){clearFunction(l)}},o),u.onerror=function(){s(new Error("JSONP request to "+t+" failed")),clearFunction(l),removeScript(c),i&&clearTimeout(i)}})}!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e():"function"==typeof define&&define.amd?define(e):e()}(0,function(){"use strict";function t(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){return e.reject(i)})})}function e(t){return new this(function(e,i){if(!t||void 0===t.length)return i(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var n=Array.prototype.slice.call(t);if(0===n.length)return e([]);var o=n.length;function a(t,i){if(i&&("object"==typeof i||"function"==typeof i)){var r=i.then;if("function"==typeof r)return void r.call(i,function(e){a(t,e)},function(i){n[t]={status:"rejected",reason:i},0==--o&&e(n)})}n[t]={status:"fulfilled",value:i},0==--o&&e(n)}for(var r=0;r<n.length;r++)a(r,n[r])})}var i=setTimeout,n="undefined"!=typeof setImmediate?setImmediate:null;function o(t){return Boolean(t&&void 0!==t.length)}function a(){}function r(t){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function s(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,r._immediateFn(function(){var i=1===t._state?e.onFulfilled:e.onRejected;if(null!==i){var n;try{n=i(t._value)}catch(t){return void c(e.promise,t)}l(e.promise,n)}else(1===t._state?l:c)(e.promise,t._value)})):t._deferreds.push(e)}function l(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var i=e.then;if(e instanceof r)return t._state=3,t._value=e,void u(t);if("function"==typeof i)return void d((n=i,o=e,function(){n.apply(o,arguments)}),t)}t._state=1,t._value=e,u(t)}catch(e){c(t,e)}var n,o}function c(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&r._immediateFn(function(){t._handled||r._unhandledRejectionFn(t._value)});for(var e=0,i=t._deferreds.length;e<i;e++)s(t,t._deferreds[e]);t._deferreds=null}function h(t,e,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=i}function d(t,e){var i=!1;try{t(function(t){i||(i=!0,l(e,t))},function(t){i||(i=!0,c(e,t))})}catch(t){if(i)return;i=!0,c(e,t)}}r.prototype.catch=function(t){return this.then(null,t)},r.prototype.then=function(t,e){var i=new this.constructor(a);return s(this,new h(t,e,i)),i},r.prototype.finally=t,r.all=function(t){return new r(function(e,i){if(!o(t))return i(new TypeError("Promise.all accepts an array"));var n=Array.prototype.slice.call(t);if(0===n.length)return e([]);var a=n.length;function r(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(e){r(t,e)},i)}n[t]=o,0==--a&&e(n)}catch(t){i(t)}}for(var s=0;s<n.length;s++)r(s,n[s])})},r.allSettled=e,r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(t){return new r(function(e,i){i(t)})},r.race=function(t){return new r(function(e,i){if(!o(t))return i(new TypeError("Promise.race accepts an array"));for(var n=0,a=t.length;n<a;n++)r.resolve(t[n]).then(e,i)})},r._immediateFn="function"==typeof n&&function(t){n(t)}||function(t){i(t,0)},r._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var p=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();"function"!=typeof p.Promise?p.Promise=r:(p.Promise.prototype.finally||(p.Promise.prototype.finally=t),p.Promise.allSettled||(p.Promise.allSettled=e))});var crouton_Handlebars=Handlebars.noConflict();crouton_Handlebars.registerHelper("startup",()=>""),crouton_Handlebars.registerHelper("enrich",()=>""),crouton_Handlebars.registerHelper("selectFormatPopup",()=>"formatPopup"),crouton_Handlebars.registerHelper("selectObserver",()=>"observerTemplate");const retrieveGeolocation=()=>new Promise((t,e)=>{window.storedGeolocation?t(window.storedGeolocation):navigator.geolocation?navigator.geolocation.getCurrentPosition(e=>{window.storedGeolocation={latitude:e.coords.latitude,longitude:e.coords.longitude},t(window.storedGeolocation)},t=>{e(new Error("Error getting geolocation: "+t.message))}):e(new Error("Geolocation is not supported by this browser."))});function Crouton(t){var e=this;e.mutex=!1,e.filtering=!1,e.masterFormatCodes=[],e.max_filters=10,e.config={on_complete:null,root_server:null,placeholder_id:"bmlt-tabs",map_max_zoom:15,time_format:"h:mm a",language:"en-US",has_tabs:!0,filter_tabs:0,filter_visible:0,header:!0,include_weekday_button:!0,int_include_unpublished:0,button_filters:[{title:"City",field:"location_municipality"}],button_format_filters:[],default_filter_dropdown:"",show_map:"embed",map_search:null,has_days:!1,has_cities:!0,has_formats:!0,has_groups:!1,has_locations:!0,has_zip_codes:!1,has_areas:!1,has_regions:!1,has_states:!1,has_sub_province:!1,has_neighborhoods:!1,has_languages:!1,has_common_needs:!1,has_venues:!0,has_meeting_count:!1,show_distance:!1,distance_search:0,recurse_service_bodies:!1,service_body:[],formats:"",venue_types:"",strict_datafields:!0,meeting_details_href:"",virtual_meeting_details_href:"",bmlt2ics:"",exclude_zip_codes:[],extra_meetings:[],native_lang:"",auto_tz_adjust:!1,base_tz:null,custom_query:null,sort_keys:"start_time",int_start_day_id:1,view_by:"weekday",show_qrcode:!1,force_rootserver_in_querystring:!0,force_timeformat_in_querystring:!0,force_language_in_querystring:!0,theme:"jack",report_update_url:"",meeting_data_template:croutonDefaultTemplates.meeting_data_template,metadata_template:croutonDefaultTemplates.metadata_template,observer_template:croutonDefaultTemplates.observer_template,meeting_count_template:croutonDefaultTemplates.meeting_count_template,meeting_link_template:croutonDefaultTemplates.meeting_link_template,meeting_modal_template:croutonDefaultTemplates.meeting_modal_template,meetingpage_title_template:croutonDefaultTemplates.meetingpage_title_template,meetingpage_contents_template:croutonDefaultTemplates.meetingpage_contents_template,meetingpage_frame_template:croutonDefaultTemplates.meetingpage_frame_template,lat:0,lng:0,zoom:10,clustering:12,nominatimUrl:"https://nominatim.openstreetmap.org/",tileUrl:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",tileOptions:{attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>',maxZoom:18},minZoom:6,maxZoom:17},e.setConfig(t),Crouton.prototype.searchByCoordinates=function(t,i,n){e.config.custom_query=(null!==e.config.custom_query?e.config.custom_query:"")+"&lat_val="+t+"&long_val="+i+("km"===e.config.distance_units?"&geo_width_km=":"&geo_width=")+n,e.meetingSearch().then(function(){e.config.refresh_map=1,e.config.show_map=1,e.reset(),e.render()})},e.getMeetings=function(t){var i=[fetchJsonp(this.config.root_server+t).then(function(t){return t.json()})];if(e.config.extra_meetings.length>0){for(var n="",o=0;o<e.config.extra_meetings.length;o++)n+="&meeting_ids[]="+e.config.extra_meetings[o];const a=/&services\[\]=\d+/;t=t.replace(a,""),i.push(fetchJsonp(e.config.root_server+t+n).then(function(t){return t.json()}))}return Promise.all(i).then(function(i){var n,o=i[0],a=JSON.stringify(o.meetings);if(2===i.length&&(n=i[1]),"{}"===a||"[]"===a){var r=e.config.root_server+t;return console.log('Could not find any meetings for the criteria specified with the query <a href="'+r+'" target=_blank>'+r+"</a>"),jQuery("#"+e.config.placeholder_id).html("No meetings found."),void(e.mutex=!1)}o.meetings.exclude(e.config.exclude_zip_codes,"location_postal_code_1"),e.meetingData=o.meetings,e.formatsData=o.formats,n&&(e.meetingData=e.meetingData.concat(n.meetings)),e.mutex=!1})},e.addDatafieldsToQuery=function(){if(!e.config.strict_datafields)return e.all_data_keys=[],e.queryable_data_keys=[],"";var t=["location_postal_code_1","duration_time","start_time","time_zone","weekday_tinyint","service_body_bigint","longitude","latitude","location_province","location_municipality","location_street","location_info","location_text","location_neighborhood","formats","format_shared_id_list","comments","meeting_name","location_sub_province","worldid_mixed","root_server_uri","id_bigint","venue_type"],i=["serviceBodyName","serviceBodyUrl","serviceBodyPhone","serviceBodyDescription","serviceBodyType","parentServiceBodyName","parentServiceBodyUrl","parentServiceBodyPhone","parentServiceBodyDescription","parentServiceBodyType","map_word","share_word","report_update_word","show_qrcode","formatted_day","formatted_address","formats_expanded","formatted_location_info","end_time_formatted","start_time_formatted","formatted_comments","start_time_raw","venue_type_name","day_of_the_week"];return e.all_data_keys=t.clone(),e.queryable_data_keys=t.clone(),e.collectDataKeys=function(t){for(var n=/this\.([A-Za-z0-9_]*)}}/gi;arr=n.exec(t);)e.all_data_keys.push(arr[1]),inArray(arr[1],i)||e.queryable_data_keys.push(arr[1])},e.collectDataKeys(e.config.meeting_data_template),e.collectDataKeys(e.config.metadata_template),e.collectDataKeys(e.config.observer_template),"&data_field_key="+arrayUnique(e.queryable_data_keys).join(",")},e.mutex=!0,e.meetingSearch=function(){var t="/client_interface/jsonp/?switcher=GetSearchResults&get_used_formats&lang_enum="+e.config.short_language+e.addDatafieldsToQuery();if(e.config.formats&&(t+=e.config.formats.reduce(function(t,e){return t+"&formats[]="+e},"")),e.config.venue_types&&(t+=e.config.venue_types.reduce(function(t,e){return t+"&venue_types[]="+e},"")),1===e.config.int_include_unpublished?t+="&advanced_published=0":-1===e.config.int_include_unpublished&&(t+="&advanced_published=-1"),0!==e.config.distance_search)return retrieveGeolocation().then(i=>(t+="&lat_val="+i.latitude+"&long_val="+i.longitude+"&sort_results_by_distance=1",t+=("km"===e.config.distance_units?"&geo_width_km=":"&geo_width=")+e.config.distance_search,e.getMeetings(t))).catch(i=>(console.error(i.message),e.getMeetings(t)));if(null!=e.config.custom_query)return t+=e.config.custom_query+"&sort_keys="+e.config.sort_keys,e.getMeetings(t);if(e.config.service_body.length>0){for(var i=0;i<e.config.service_body.length;i++)t+="&services[]="+e.config.service_body[i];return e.config.recurse_service_bodies&&(t+="&recursive=1"),t+="&sort_keys="+e.config.sort_keys,e.getMeetings(t)}return new Promise(function(t,e){t()})},e.lock=function(t){var e=this,i=setInterval(function(){e.mutex||(clearInterval(i),t())},100)},e.dayTab=function(t){e.hideAllPages(),jQuery('.nav-tabs a[href="#tab'+t+'"]').tab("show"),e.showPage("#"+t)},e.dayTabFromId=function(t){day_id=e.meetingData.find(e=>e.id_bigint==t).weekday_tinyint,e.dayTab(day_id)},e.showPage=function(t){jQuery(t).removeClass("hide").addClass("show")},e.showView=function(t,i=!0){i&&e.resetFilter(),"byday"===t?e.byDayView():"day"===t||"weekday"===t?e.dayView():"city"===t?e.filteredView("location_municipality"):e.filteredView(t)},e.byDayView=function(){e.lowlightButton(".filterButton"),e.highlightButton("#day"),jQuery(".bmlt-page").each(function(t){e.hidePage("#"+this.id),e.showPage("#byday"),e.showPage("#nav-days")})},e.dayView=function(){e.lowlightButton(".filterButton"),e.highlightButton("#day"),jQuery(".bmlt-page").each(function(t){e.hidePage("#"+this.id),e.showPage("#days"),e.showPage("#nav-days"),e.showPage("#tabs-content")})},e.filteredView=function(t){e.lowlightButton("#day"),e.lowlightButton(".filterButton"),e.highlightButton("#filterButton_"+t),jQuery(".bmlt-page").each(function(i){e.hidePage("#"+this.id),e.showPage("#byfield_"+t)})},e.lowlightButton=function(t){jQuery(t).removeClass("buttonHighlight").addClass("buttonLowlight")},e.highlightButton=function(t){jQuery(t).removeClass("buttonLowlight").addClass("buttonHighlight")},e.hidePage=function(t){jQuery(t).removeClass("show").addClass("hide")},e.hideAllPages=function(t){jQuery("#tab-pane").removeClass("show").addClass("hide")},e.filteredPage=function(){jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide");var t=!1;jQuery(".filter-dropdown").each(function(e,i){const n=i.value.replace("a-","");if(""===n)return;t=!0;const o=i.getAttribute("data-pointer").toLowerCase();"formats"!==o&&"languages"!==o&&"venues"!==o&&"common_needs"!==o?jQuery(".bmlt-data-row").not("[data-"+o+"='"+n+"']").addClass("hide"):jQuery(".bmlt-data-row").not("[data-"+o+"~='"+n+"']").addClass("hide")}),t||(e.filtering=!1);var i=[];jQuery(".bmlt-data-row").not(".hide").each(function(t,e){jQuery(e).addClass(t%2?"oddRow":"evenRow");const n=e.id.split("-");i.push(n[n.length-1])}),i=[...new Set(i)],e.updateMeetingCount(i),e.updateFilters(),croutonMap&&croutonMap.fillMap(i),e.config.map_page&&(jQuery("#byfield_embeddedMapPage").hasClass("hide")||(jQuery("#displayTypeButton_tablePages").removeClass("hide"),jQuery("#filterButton_embeddedMapPage").addClass("hide"))),e.config.map_page&&!jQuery("#byfield_embeddedMapPage").hasClass("hide")||e.showFilteredMeetingsAsTable(i.length),e.filtering=!0},e.showFilteredMeetingsAsTable=function(t){e.config.filter_tabs&&e.config.filter_tabs<=t?(e.showPage("#nav-days"),e.showPage("#tabs-content")):(e.lowlightButton(".filterButton"),e.lowlightButton("#day"),e.showPage("#byday"),jQuery(".bmlt-data-rows").each(function(t,e){jQuery(e).find(".bmlt-data-row.hide").length===jQuery(e).find(".bmlt-data-row").length&&jQuery(e).find(".meeting-header").addClass("hide")}))},e.resetFilter=function(){croutonMap.filterVisible(!1),e.config.map_page?(e.filtering&&croutonMap.fillMap(),jQuery("#displayTypeButton_tablePages").addClass("hide"),jQuery("#filterButton_embeddedMapPage").removeClass("hide")):e.config.show_map&&croutonMap.fillMap(),e.filtering=!1,e.updateFilters(),e.updateMeetingCount(),jQuery(".filter-dropdown").val(null).trigger("change"),jQuery(".meeting-header").removeClass("hide"),jQuery(".bmlt-data-row").removeClass("hide"),jQuery(".evenRow").removeClass("evenRow"),jQuery(".oddRow").removeClass("oddRow")},e.updateFilters=function(){const t=function(t){return t.id.replace("meeting-data-row-","")};e.dropdownData.forEach(function(i,n){let o=[];jQuery(".filter-dropdown").each(function(e,n){if(n.id===i.elementId)return;const a=n.value.replace("a-","");if(""===a)return;filteringDropdown=!0;const r=n.getAttribute("data-pointer").toLowerCase();"formats"!==r&&"languages"!==r&&"venues"!==r&&"common_needs"!==r?jQuery(".bmlt-data-row").not("[data-"+r+"='"+a+"']").each((e,i)=>o.push(t(i))):jQuery(".bmlt-data-row").not("[data-"+r+"~='"+a+"']").each((e,i)=>o.push(t(i)))}),o=[...new Set(o)];let a=e.meetingData.filter(t=>!o.includes(t.id_bigint));i.optionsShowing=i.uniqueData(a).map(t=>i.optionName(t))})},e.renderStandaloneMap=function(t,i,n=null,o=!0){hbs_Crouton.localization=e.localization,e.config.hide_byday_headers=!0,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup),window.crouton=e,croutonMap.initialize(e.createBmltMapElement(),e.meetingData,i,null,o,n)},e.getCurrentLocation=function(t){retrieveGeolocation().then(e=>{t(e)}).catch(t=>{jQuery(".geo").removeClass("hide").addClass("show").html(`<p>${t.message}</p>`)})},e.renderView=function(t,i,n,o){hbs_Crouton.localization=e.localization,crouton_Handlebars.registerPartial("meetings",hbs_Crouton.templates.meetings),crouton_Handlebars.registerPartial("bydays",hbs_Crouton.templates.byday),crouton_Handlebars.registerPartial("weekdays",hbs_Crouton.templates.weekdays),crouton_Handlebars.registerPartial("header",hbs_Crouton.templates.header),crouton_Handlebars.registerPartial("byfields",hbs_Crouton.templates.byfield),crouton_Handlebars.registerPartial("formatPopup",hbs_Crouton.templates.formatPopup);var a=hbs_Crouton.templates.main;jQuery(t).html(a(i)),n()},e.updateMeetingCount=function(t=null){var e=this;let i=e.meetingData.length;e.meetingCountCallback&&e.meetingCountCallback(i),e.groupCountCallback&&e.groupCountCallback(arrayUnique(e.meetingData.map(t=>""!==t.worldid_mixed?t.worldid_mixed:t.meeting_name)).length),addLive=function(t){return t+", "+t+"-live"},null!==t&&(i=t.length,addLive=function(t){return t+"-live"}),e.showingNowCount=i,jQuery(addLive("#bmlt_tabs_meeting_count")).text(i),jQuery(addLive("#bmlt_tabs_group_count")).each(function(){var i=e.meetingData;null!==t&&(i=e.meetingData.filter(e=>t.includes(e.id_bigint)));var n=i.map(t=>""!==t.worldid_mixed?t.worldid_mixed:t.meeting_name);jQuery(this).text(arrayUnique(n).length)}),jQuery(addLive("#bmlt_tabs_service_body_names")).each(function(){var i=e.meetingData;null!==t&&(i=e.meetingData.filter(e=>t.includes(e.id_bigint)));var n=getUniqueValuesOfKey(i,"service_body_bigint"),o=this;e.getServiceBodies(n).then(function(t){var e=t.length,i=t.map(t=>t.name);i.sort();var n="";if(1===e)n=i[0];else{n=i[0];for(var a=1;a<e-1;a++)n+=", ",n+=i[a];n+=" and "+i[e-1]}jQuery(o).text(n)})})},e.getServiceBodies=function(t){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetServiceBodies&parents=1"+getServiceBodiesQueryString(t)).then(function(t){return t.json()})},e.getMasterFormats=function(){return fetchJsonp(this.config.root_server+"/client_interface/jsonp/?switcher=GetFormats&lang_enum=en&key_strings[]=TC&key_strings[]=VM&key_strings[]=HY").then(function(t){return t.json()})},e.showLocation=function(t){var i,n,o=t.latitude,a=t.longitude;"km"===e.config.distance_units?(i="km",n="K"):"nm"===e.config.distance_units?(i="nm",n="N"):(i="mi",n="M"),jQuery(".geo").each(function(){var t=jQuery(this).html().split(","),r=e.distance(o,a,t[0],t[1],n);jQuery(this).removeClass("hide").addClass("show").html(r.toFixed(1)+" "+i)})},e.errorHandler=function(t){jQuery(".geo").removeClass("hide").addClass("show").html("")},e.handlebars=function(t,i){var n=!1;handlebarMapOptions=[],crouton_Handlebars.registerHelper("crouton_map",function(i){return n=!0,e.handlebarMapOptions=i.hash,e.handlebarMapOptions.zoom||(e.handlebarMapOptions.zoom=14),e.handlebarMapOptions.lat=parseFloat(t.latitude),e.handlebarMapOptions.lng=parseFloat(t.longitude),"<div id='bmlt-handlebars-map' class='bmlt-map'></div>"});for(var o=new DOMParser;i.length>0;){var a=i.item(0);if(a.firstChild){var r,s="";if(1===a.firstChild.nodeType){if(!a.firstChild.firstChild||3!==a.firstChild.firstChild.nodeType){console.log("<bmlt-handlebar> tag: cannot find textnode"),a.remove();continue}s=a.firstChild.firstChild.textContent}else 3===a.firstChild.nodeType&&(s=a.firstChild.textContent);try{r=crouton_Handlebars.compile(s)(t)}catch(t){console.log(t),r=t.message}var l=o.parseFromString("<body>"+r+"</body>","text/html");if(l.body&&l.body.firstChild){for(var c=l.body.firstChild,u=[],h=c,d=null;d=h.nextSibling;)h=d,u.push(h);a.replaceWith(c),u&&c.after(...u)}else console.log("<bmlt-handlebar> tag: could not parse the Handlebars result"),a.replaceWith("<bmlt-handlebar> tag: could not parse the Handlebars result")}else console.log("<bmlt-handlebar> tag must have at least one child"),a.remove()}n&&croutonMap.loadPopupMap("bmlt-handlebars-map",t,e.handlebarMapOptions)},e.meetingCountCallback=null,e.grouoCountCallback=null,Crouton.prototype.meetingCount=function(t){e.meetingCountCallback=t},Crouton.prototype.groupCount=function(t){e.groupCountCallback=t},Crouton.prototype.filterNext24=function(t=!0){if(!t)return jQuery("#filter-dropdown-next24").val("a-"),void e.filteredPage();const i=new Date,n=i.getDay(),o=i.getHours(),a=i.getMinutes(),r=e.meetingData.filter(function(t){var e=t.weekday_tinyint-1;if(e==n){var i=t.start_time.toString().split(":"),r=parseInt(i[0]);if(r>o)return!0;if(r==o&&parseInt(i[1])>a)return!0}else if(e==(n+1)%7)return!0;return!1}).map(t=>t.id_bigint);jQuery(".bmlt-data-row").each(function(t,e){e.dataset.next24=r.includes(e.id.split("-").pop())?"1":"0"}),jQuery("#filter-dropdown-next24").val("a-1"),e.filteredPage()},e.distance=function(t,e,i,n,o){if(t===i&&e===n)return 0;var a=Math.PI*t/180,r=Math.PI*i/180,s=e-n,l=Math.PI*s/180,c=Math.sin(a)*Math.sin(r)+Math.cos(a)*Math.cos(r)*Math.cos(l);return c>1&&(c=1),c=60*(c=180*(c=Math.acos(c))/Math.PI)*1.1515,"K"===o?1.609344*c:"N"===o?.8684*c:c},e.toFarsinNumber=function(t){const e=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];return t.replace(/\d/g,t=>e[t])},e.enrichMeetings=function(t){var i=[];crouton_Handlebars.registerPartial("meetingDataTemplate",e.config.meeting_data_template),crouton_Handlebars.registerPartial("metaDataTemplate",e.config.metadata_template),crouton_Handlebars.registerPartial("observerTemplate",e.config.observer_template),crouton_Handlebars.registerPartial("meetingpageTitleTemplate",e.config.meetingpage_title_template),crouton_Handlebars.registerPartial("meetingpageContentsTemplate",e.config.meetingpage_contents_template),crouton_Handlebars.registerPartial("meetingCountTemplate",e.config.meeting_count_template),crouton_Handlebars.registerPartial("meetingLink",e.config.meeting_link_template),crouton_Handlebars.registerPartial("meetingModal",e.config.meeting_modal_template);let n="?";e.config.meeting_details_href&&e.config.meeting_details_href.indexOf("?")>=0&&(n="&");for(var o=0;o<t.length;o++){t[o].formatted_comments=t[o].comments;var a=t[o].duration_time.split(":");t[o].start_time_raw=this.getAdjustedDateTime(1===parseInt(t[o].weekday_tinyint)?7:parseInt(t[o].weekday_tinyint)-1,t[o].start_time,t[o].time_zone),t[o].start_time_formatted=t[o].start_time_raw.format(e.config.time_format),t[o].end_time_formatted=t[o].start_time_raw.clone().add(a[0],"hours").add(a[1],"minutes").format(e.config.time_format),"fa-IR"===e.config.language&&(t[o].start_time_formatted=e.toFarsinNumber(t[o].start_time_formatted),t[o].end_time_formatted=e.toFarsinNumber(t[o].end_time_formatted)),t[o].day_of_the_week=7===t[o].start_time_raw.isoWeekday()?1:t[o].start_time_raw.isoWeekday()+1,t[o].formatted_day=e.localization.getDayOfTheWeekWord(t[o].day_of_the_week);var r=t[o].formats.split(","),s=[];let f=e.formatsData.filter(e=>e.root_server_uri==t[o].root_server_uri);t[o].wheelchar=!1;for(var l=0;l<r.length;l++)for(var c=0;c<f.length;c++)r[l]===f[c].key_string&&("WCHR"==f[c].world_id&&(t[o].wheelchair=!0),s.push({id:f[c].id,key:r[l],name:f[c].name_string,description:f[c].description_string,type:f[c].format_type_enum}));t[o].venue_type=parseInt(t[o].venue_type),t[o].venue_type_name=getVenueTypeName(t[o]),t[o].formats_expanded=s;var u=[t[o].location_street,t[o].location_municipality.trim(),t[o].location_province.trim(),t[o].location_postal_code_1.trim()];for(var h in u.clean(),t[o].formatted_address=u.join(", "),t[o].formatted_location_info=null!=t[o].location_info?t[o].location_info.replace("/(http|https)://([A-Za-z0-9._-/?=&;%,]+)/i",'<a style="text-decoration: underline;" href="$1://$2" target="_blank">$1://$2</a>'):"",t[o].map_word=e.localization.getWord("map").toUpperCase(),t[o].share_word=e.localization.getWord("share").toUpperCase(),t[o].report_update_word=e.localization.getWord("report update"),t[o].show_qrcode=e.config.show_qrcode,t[o])if(t[o].hasOwnProperty(h)&&"string"==typeof t[o][h]&&-1!==t[o][h].indexOf("#@-@#")){var d=t[o][h].split("#@-@#");t[o][h]=d[d.length-1]}var p=e.getServiceBodyDetails(t[o].service_body_bigint);t[o].serviceBodyUrl=p.url,t[o].serviceBodyPhone=p.helpline,t[o].serviceBodyName=p.name,t[o].serviceBodyDescription=p.description,t[o].serviceBodyContactEmail=p.contact_email,t[o].serviceBodyType=e.localization.getServiceBodyType(p.type);var m=e.getServiceBodyDetails(p.parent_id);void 0!==m&&(t[o].parentServiceBodyId=p.parent_id,t[o].parentServiceBodyUrl=m.url,t[o].parentServiceBodyPhone=m.helpline,t[o].parentServiceBodyName=m.name,t[o].parentServiceBodyDescription=m.description,t[o].parentServiceBodyType=e.localization.getServiceBodyType(m.type)),t[o].meeting_details_url="",e.config.meeting_details_href&&(t[o].meeting_details_url=e.config.meeting_details_href,2===t[o].venue_type&&e.config.virtual_meeting_details_href&&(t[o].meeting_details_url=e.config.virtual_meeting_details_href),t[o].meeting_details_url+=n+"meeting-id="+t[o].id_bigint+"&language="+e.config.language+"&time_format="+encodeURIComponent(e.config.time_format)+(e.config.force_rootserver_in_querystring?"&root_server="+encodeURIComponent(e.config.root_server):"")),i.push(t[o])}return i},e.showMessage=function(t){jQuery("#"+e.config.placeholder_id).html("crouton: "+t),jQuery("#"+e.config.placeholder_id).removeClass("hide")},e.getUsedVenueType=function(t){let i=getUniqueValuesOfKey(t,"venue_type");return i.includes(3)?Object.values(e.localization.getWord("venue_type_choices")):2===i.length?Object.values(e.localization.getWord("venue_type_choices")):1===i[0]?[e.localization.getWord("venue_type_choices").IN_PERSON]:[e.localization.getWord("venue_type_choices").VIRTUAL]},e.getUsedVisibility=function(t){return[{name:"Visible",value:1}]},e.getUsedNext24=function(t){return[{name:"Next24",value:1}]},e.isEmpty=function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},e.createBmltMapElement=function(){return document.getElementById("bmlt-map")||jQuery("#bmlt-tabs").before("<div id='bmlt-map' class='bootstrap-bmlt bmlt-map "+e.localization.getWord("css-direction")+" bmlt_map_container_div'></div>"),"bmlt-map"},void 0===window.croutonMap?(window.croutonMap=new MeetingMap(e.config),e.config.map_search?e.searchMap():e.meetingSearch()):e.config.map_search||e.meetingSearch()}function getTrueResult(t,e){return void 0===t.fn||t.fn(e)}function getFalseResult(t,e){return void 0!==t.inverse&&t.inverse(e)}function getMasterFormatId(t,e){for(var i=0;i<crouton.masterFormatCodes.length;i++){var n=crouton.masterFormatCodes[i];if(n.key_string===t&&n.root_server_uri===e.root_server_uri)return n.id}}Crouton.prototype.setConfig=function(t){for(var e in t)e.indexOf("_template")>0&&""===t[e].trim()||(-1===e.indexOf("int_")?"1"===t[e]||1===t[e]?this.config[e]=!0:"0"===t[e]||0===t[e]?this.config[e]=!1:this.config[e]=t[e]:this.config[e]=parseInt(t[e]||0));"embed"===this.config.show_map&&(this.config.show_map=!1,this.config.map_page=!0),this.config.distance_search=parseInt(this.config.distance_search||0),this.config.day_sequence=[],this.config.day_sequence.push(this.config.int_start_day_id);for(var i=1;i<7;i++){var n=this.config.day_sequence[i-1]+1;n>7?this.config.day_sequence.push(n-7):this.config.day_sequence.push(n)}"weekday"===this.config.view_by&&(this.config.include_weekday_button=!0),this.config.has_tabs||(this.config.view_by="byday"),null==this.config.template_path&&(this.config.template_path="templates"),null==this.config.BMLTPlugin_images&&(this.config.BMLTPlugin_images=this.config.template_path),null==this.config.BMLTPlugin_throbber_img_src&&(this.config.BMLTPlugin_throbber_img_src=this.config.template_path+"/Throbber.gif"),this.config.short_language="da-DK"===this.config.language?"dk":this.config.language.substring(0,2),this.localization=new CroutonLocalization(this.config.language)},Crouton.prototype.reset=function(){jQuery("#custom-css").remove(),jQuery("#"+this.config.placeholder_id).html("")},Crouton.prototype.doFilters=function(){return this.filteredPage()},Crouton.prototype.getServiceBodyDetails=function(t){for(var e=0;e<this.all_service_bodies.length;e++){var i=this.all_service_bodies[e];if(i.id===t)return i}},Crouton.prototype.doHandlebars=function(){var t=document.getElementsByTagName("bmlt-handlebar");if(0!==t.length){var e=this;e.lock(function(){if(e.isEmpty(e.meetingData))for(let e=0;e<t.length;e++){t.item(e).innerHTML="Meeting not found!"}else{var i=[e.getServiceBodies([e.meetingData[0].service_body_bigint])];Promise.all(i).then(function(i){hbs_Crouton.localization=e.localization,e.all_service_bodies=[];for(var n=i[0],o=0;o<n.length;o++)e.all_service_bodies.push(n[o]);var a=e.enrichMeetings(e.meetingData);crouton_Handlebars.compile("{{startup}}")(a),crouton_Handlebars.compile("{{enrich this}}")(a[0]),e.handlebars(a[0],t)})}})}else console.log("No <bmlt-handlebar> tags found")},Crouton.prototype.meetingModal=function(t){let e=this;const i=document.getElementById("bmlt-tabs");let n=document.createElement("bmlt-handlebar");i.appendChild(n);let o=document.createElement("span");n.appendChild(o),o.textContent=e.config.meetingpage_frame_template;let a=e.meetingData.find(e=>e.id_bigint==t);e.handlebars(a,i.getElementsByTagName("bmlt-handlebar")),[...i.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>{croutonMap.closeModalWindow(t.target),document.getElementById("meeting_modal").remove()}));let r=document.getElementById("meeting_modal");document.body.appendChild(r),croutonMap.openModalWindow(r,!0),croutonMap.showMap(!0);let s=jQuery(".bmlt-data-row:visible"),l=-1;for(k=0;k<s.length;k++)if(s[k].id==="meeting-data-row-"+t){l=k;break}let c=function(i){switch(i){case"left":l+=1;break;case"right":l-=1;break;default:l=-1}if(l>=0&&l<s.length){const i=s[l];t=i.id.substring("meeting-data-row-".length),r.getElementsByClassName("modal-close").item(0).dispatchEvent(new MouseEvent("click")),e.meetingModal(t)}};swipedetect(r,c),l<=0?jQuery(".modal-left").addClass("hide"):r.getElementsByClassName("modal-left").item(0).addEventListener("click",t=>c("right")),l>=s.length-1?jQuery(".modal-right").addClass("hide"):r.getElementsByClassName("modal-right").item(0).addEventListener("click",t=>c("left"))},Crouton.prototype.searchMap=function(){this.config.map_search&&"object"==typeof this.config.map_search?(this.config.map_search.width||(this.config.map_search.width=-50),this.config.map_search.location||this.config.map_search.coordinates_search||(this.config.map_search.auto=!0),this.config.map_search.zoom||(this.config.map_search.zoom=14)):this.config.map_search={width:-50,auto:!0,zoom:14},this.config.map_page=!1,this.config.show_map=!1;var t=jQuery("body");""!==this.config.theme&&t.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+this.config.template_path+"/themes/"+this.config.theme+".css'>"),t.append("<div id='custom-css'><style type='text/css'>"+this.config.custom_css+"</style></div>"),this.meetingData=null,this.renderStandaloneMap("#"+this.config.placeholder_id,{config:this.config,meetings:{weekdays:[],buttonFilters:[],buttonFormatFilters:[],bydays:[],meetingCount:0,meetingData:[]},dropdownData:[],location:{latitude:0,longitude:0,zoom:10}})},Crouton.prototype.render=function(t=!1){var e=this;e.lock(function(){var i=jQuery("body");if(""!==e.config.theme&&i.append("<div id='custom-css'><link rel='stylesheet' type='text/css' href='"+e.config.template_path+"/themes/"+e.config.theme+".css'>"),i.append("<div id='custom-css'><style type='text/css'>"+e.config.custom_css+"</style></div>"),e.isEmpty(e.meetingData))e.showMessage("No meetings found for parameters specified.");else{e.unique_service_bodies_ids=getUniqueValuesOfKey(e.meetingData,"service_body_bigint").sort();var n=[e.getMasterFormats(),e.getServiceBodies(e.unique_service_bodies_ids)];Promise.all(n).then(function(i){e.all_service_bodies=[],e.masterFormatCodes=i[0];for(var n=i[1],o=0;o<n.length;o++)e.all_service_bodies.push(n[o]);jQuery.isEmptyObject(e.formatsData)||(e.formatsData=e.formatsData.sortByKey("name_string"));var a=e.enrichMeetings(e.meetingData);a.sort(function(t,e){return t.start_time_raw<e.start_time_raw?-1:t.start_time_raw>e.start_time_raw?1:0});for(var r=0,s=[],l={},c={},u=[];r<7;){var h=e.config.day_sequence[r],d=a.filterByObjectKeyValue("day_of_the_week",h);u.push({day:h,meetings:d}),s.push({hide:e.config.hide_byday_headers,day:e.localization.getDayOfTheWeekWord(h),meetings:d});for(var p=0;p<e.config.button_filters.length;p++){var m=getUniqueValuesOfKey(d,v=e.config.button_filters[p].field).sort();for(o=0;o<m.length;o++){var f=d.filterByObjectKeyValue(v,m[o]);l.hasOwnProperty(v)&&l[v].hasOwnProperty(m[o])?l[v][m[o]]=l[v][m[o]].concat(f):l.hasOwnProperty(v)?l[v][m[o]]=f:(l[v]={},l[v][m[o]]=f)}}for(p=0;p<e.config.button_format_filters.length;p++){m=getUniqueFormatsOfType(d,v=e.config.button_format_filters[p].field);"LANG"==v&&e.config.native_lang&&e.config.native_lang.length>0&&(m=m.filter(t=>t.key!=e.config.native_lang));for(o=0;o<m.length;o++){f=d.filter(t=>t.formats_expanded.map(t=>t.key).indexOf(m[o].key)>=0);c.hasOwnProperty(v)&&c[v].hasOwnProperty(m[o].description)?c[v][m[o].description]=c[v][m[o].description].concat(f):c.hasOwnProperty(v)?c[v][m[o].description]=f:(c[v]={},c[v][m[o].description]=f)}}r++}for(var g={},_=0;_<e.config.button_filters.length;_++){var y=[],v=e.config.button_filters[_].field;for(var b in l[v])y.push(b);y.sort(),g[v]={};for(var w=0;w<y.length;w++)g[v][y[w]]=l[v][y[w]]}e.dayNamesSequenced=e.config.day_sequence.map(t=>e.localization.getDayOfTheWeekWord(t)),e.dropdownData=[],e.config.has_days&&e.dropdownData.push({placeholder:e.localization.getWord("weekday"),pointer:"weekdays",elementId:"filter-dropdown-weekdays",uniqueData:t=>sortListByList(getUniqueValuesOfKey(t,"formatted_day"),e.dayNamesSequenced),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_states&&e.dropdownData.push({placeholder:e.localization.getWord("states"),pointer:"States",elementId:"filter-dropdown-states",uniqueData:t=>getUniqueValuesOfKey(t,"location_province").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_sub_province&&e.dropdownData.push({placeholder:e.localization.getWord("counties"),pointer:"Counties",elementId:"filter-dropdown-sub_province",uniqueData:t=>getUniqueValuesOfKey(t,"location_sub_province").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_cities&&e.dropdownData.push({placeholder:e.localization.getWord("cities"),pointer:"Cities",elementId:"filter-dropdown-cities",uniqueData:t=>getUniqueValuesOfKey(t,"location_municipality").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_neighborhoods&&e.dropdownData.push({placeholder:e.localization.getWord("neighborhood"),pointer:"Neighborhoods",elementId:"filter-dropdown-neighborhoods",uniqueData:t=>getUniqueValuesOfKey(t,"location_neighborhood").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_zip_codes&&e.dropdownData.push({placeholder:e.localization.getWord("postal_codes"),pointer:"Zips",elementId:"filter-dropdown-zipcodes",uniqueData:t=>getUniqueValuesOfKey(t,"location_postal_code_1").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_locations&&e.dropdownData.push({placeholder:e.localization.getWord("locations"),pointer:"Locations",elementId:"filter-dropdown-locations",uniqueData:t=>getUniqueValuesOfKey(t,"location_text").map(t=>t.replace(/(<([^>]+)>)/gi,"")).sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_regions&&e.dropdownData.push({placeholder:e.localization.getWord("regions"),pointer:"Regions",elementId:"filter-dropdown-regions",uniqueData:t=>e.all_service_bodies.filter(e=>getUniqueValuesOfKey(t,"parentServiceBodyId").includes(e.id)).sortByKey("name"),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_areas&&e.dropdownData.push({placeholder:e.localization.getWord("areas"),pointer:"Areas",elementId:"filter-dropdown-areas",uniqueData:t=>e.all_service_bodies.filter(e=>getUniqueValuesOfKey(t,"service_body_bigint").includes(e.id)).sortByKey("name"),objectPointer:t=>t.id,optionName:t=>t.name}),e.config.has_groups&&e.dropdownData.push({placeholder:e.localization.getWord("groups"),pointer:"Groups",elementId:"filter-dropdown-groups",uniqueData:t=>getUniqueValuesOfKey(t,"meeting_name").sort(),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_venues&&e.dropdownData.push({placeholder:e.localization.getWord("venue_types"),pointer:"Venues",elementId:"filter-dropdown-venues",uniqueData:t=>e.getUsedVenueType(t),objectPointer:convertToPunyCode,optionName:t=>t}),e.config.has_formats&&e.dropdownData.push({placeholder:e.localization.getWord("formats"),pointer:"Formats",elementId:"filter-dropdown-formats",uniqueData:t=>getUniqueFormats(t),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_languages&&e.dropdownData.push({placeholder:e.localization.getWord("languages"),pointer:"Formats",elementId:"filter-dropdown-languages",uniqueData:t=>getUniqueFormatsOfType(t,"LANG").filter(t=>t.key!==e.config.native_lang),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),e.config.has_common_needs&&e.dropdownData.push({placeholder:e.localization.getWord("common_needs"),pointer:"Formats",elementId:"filter-dropdown-commonneeds",uniqueData:t=>getUniqueFormatsOfType(t,"FC3"),objectPointer:t=>convertToPunyCode(t.name),optionName:t=>t.name}),(t||e.config.show_map||e.config.map_page)&&e.dropdownData.push({placeholder:"",pointer:"visible",elementId:"filter-dropdown-visibile",uniqueData:t=>e.getUsedVisibility(t),objectPointer:t=>t.value,optionName:t=>t.name}),t&&e.dropdownData.push({placeholder:"",pointer:"next24",elementId:"filter-dropdown-next24",uniqueData:t=>e.getUsedNext24(t),objectPointer:t=>t.value,optionName:t=>t.name}),(t?e.renderStandaloneMap:e.renderView)("#"+e.config.placeholder_id,{config:e.config,meetings:{weekdays:u,buttonFilters:g,buttonFormatFilters:c,bydays:s,meetingCount:e.meetingData.length,meetingData:e.meetingData},dropdownData:e.dropdownData},function(){if(e.updateMeetingCount(),(null!=e.config.map_search||e.config.show_map)&&(jQuery(".bmlt-data-row").css({cursor:"pointer"}),jQuery(".bmlt-data-row").click(function(t){"A"!==t.target.tagName&&croutonMap.rowClick(parseInt(this.id.replace("meeting-data-row-","")))})),jQuery("#"+e.config.placeholder_id).addClass("bootstrap-bmlt"),jQuery("#filter-dropdown-visibile").removeClass("crouton-select").addClass("hide"),jQuery("#filter-dropdown-next24").removeClass("crouton-select").addClass("hide"),jQuery(".crouton-select").select2({dropdownAutoWidth:!0,allowClear:!1,width:"resolve",minimumResultsForSearch:1,dropdownCssClass:"bmlt-drop",matcher:function(t,i){return"a-"===i.id?i:(elementId=i.element.parentElement.id,t.hasOwnProperty("term")&&i.text.toUpperCase().indexOf(t.term.toUpperCase())<0?null:(dropdown=e.dropdownData.find(t=>t.elementId===elementId),"undefined"==typeof dropdown?i:void 0===dropdown.optionsShowing?i:dropdown.optionsShowing.includes(i.text)?i:null))}}),jQuery('[data-toggle="popover"]').popover().click(function(t){t.preventDefault(),t.stopPropagation()}),jQuery("html").on("click",function(t){"popover"!==jQuery(t.target).data("toggle")&&jQuery('[data-toggle="popover"]').popover("hide")}),jQuery(".filter-dropdown").on("select2:select",function(t){jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){e.hidePage(this)}),e.filteredPage(),e.filtering||e.showView("byday"===e.config.view_by?"byday":"day")}),jQuery("#day").on("click",function(){e.showView("byday"===e.config.view_by?"byday":"day")}),jQuery(".filterButtonLogic").on("click",function(t){e.filteredView(t.target.attributes["data-field"].value)}),jQuery(".displayTypeLogic").on("click",function(t){jQuery(".displayTypeLogic").each(function(){t.target==this?jQuery(this).addClass("hide"):jQuery(this).removeClass("hide")})}),jQuery("#displayTypeButton_tablePages").on("click",function(t){e.hidePage("#byfield_embeddedMapPage");const i=e.showingNowCount?e.showingNowCount:e.meetingData.length;e.showFilteredMeetingsAsTable(i)}),jQuery("#filterButton_embeddedMapPage").on("click",function(t){e.filteredView(t.target.attributes["data-field"].value,!1),croutonMap.showMap(!1,!1)}),jQuery(".custom-ul").on("click","a",function(t){jQuery(".bmlt-page").each(function(i){e.hidePage("#"+this.id),e.showPage("#"+t.target.id)})}),e.config.has_tabs){jQuery(".nav-tabs a").on("click",function(t){t.preventDefault(),jQuery(this).tab("show")});var i=(new Date).getDay();i++,jQuery('.nav-tabs a[href="#tab'+i+'"]').tab("show"),jQuery("#tab"+i).show()}if(e.showPage(".bmlt-header"),e.showPage(".bmlt-tabs"),e.showView(e.config.view_by,!1),""!==e.config.default_filter_dropdown){var n=e.config.default_filter_dropdown.toLowerCase().split("=");jQuery("#filter-dropdown-"+n[0]).val("a-"+n[1]).trigger("change").trigger("select2:select")}e.config.show_distance&&e.getCurrentLocation(e.showLocation),!e.config.show_map||e.config.refresh_map||t||(croutonMap.initialize(e.createBmltMapElement(),e.meetingData),jQuery("#bmlt-map").removeClass("hide")),e.config.map_page&&!t&&(0==e.meetingData.filter(t=>2!=t.venue_type).length?jQuery("#filterButton_embeddedMapPage").addClass("hide"):croutonMap.initialize("byfield_embeddedMapPage",e.meetingData)),e.config.refresh_map&&croutonMap.refreshMeetings(e.meetingData,!0,!0),null!=e.config.on_complete&&isFunction(e.config.on_complete)&&e.config.on_complete()},!t)})}}),Crouton.prototype.forceShowMap=function(){e.config.map_page&&jQuery("#byfield_embeddedMapPage").hasClass("hide")&&jQuery("#filterButton_embeddedMapPage").click()}};var masterFormatVenueType={IN_PERSON:"IN_PERSON",VIRTUAL:"VIRTUAL"},venueType={IN_PERSON:1,VIRTUAL:2,HYBRID:3};function getVenueTypeName(t){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL),crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]:t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?[crouton.localization.getVenueType(masterFormatVenueType.VIRTUAL)]:[crouton.localization.getVenueType(masterFormatVenueType.IN_PERSON)]}function getFormats(t){return""!==t.formats?t.format_shared_id_list.split(","):[]}function convertToPunyCode(t){return void 0!==t?punycode.toASCII(t.toLowerCase()).replace(/\W|_/g,"-"):""}function arrayColumn(t,e){for(var i=[],n=0;n<t.length;n++)i.push(t[n][e]);return i}function getUniqueValuesOfKey(t,e){return t.reduce(function(t,i){return i[e]&&!~t.indexOf(i[e])&&t.push(i[e]),t},[])}function getValuesFromObject(t){var e=[];for(key in t)t.hasOwnProperty(key)&&e.push(t[key]);return e}function getUniqueFormats(t){return t.reduce(function(t,e){return e.formats_expanded?t.concat(e.formats_expanded.filter(e=>t.map(t=>t.key).indexOf(e.key)<0)):t},[])}function getUniqueFormatsOfType(t,e){return t.reduce(function(t,i){if(!i.formats_expanded)return t;var n=i.formats_expanded.filter(t=>t.type===e);return n&&(t=t.concat(n.filter(e=>t.map(t=>t.key).indexOf(e.key)<0))),t},[])}function arrayUnique(t,e,i){for(e=t.length;i=--e;)for(;i--;)t[e]!==t[i]||t.splice(i,1);return t}function sortListByList(t,e){for(var i=[],n=0;n<e.length;n++)for(var o=0;o<t.length;o++)e[n]===t[o]&&i.push(t[o]);return i}function inArray(t,e){return-1!==e.indexOf(t)}function isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}function getServiceBodiesQueryString(t){for(var e="",i=0;i<t.length;i++)e+="&services[]="+t[i];return e}function swipedetect(t,e){var i,n,o,a,r=t,s=e||function(t){};r.addEventListener("touchstart",function(t){var e=t.changedTouches[0];"none",i=e.pageX,n=e.pageY},!1),r.addEventListener("touchend",function(t){if(t.cancelable){var e=t.changedTouches[0];o=e.pageX-i,a=e.pageY-n,Math.abs(o)>=150&&Math.abs(a)<=100&&(s(o<0?"left":"right"),t.preventDefault())}},!1)}function MeetingMap(t){var e=new MapDelegate(t),i=null,n=null;const o=t;o.maxZoom||(o.maxZoom=17),o.minZoom||(o.minZoom=6),o.marker_contents_template||(o.marker_contents_template=croutonDefaultTemplates.marker_contents_template);var a,r=null,s=null,l=null,c=[];function u(t,e){l=t,c=e}function h(){return new Promise((t,e)=>{window.storedGeolocation?t(window.storedGeolocation):navigator.geolocation?navigator.geolocation.getCurrentPosition(e=>{window.storedGeolocation={latitude:e.coords.latitude,longitude:e.coords.longitude},t(window.storedGeolocation)},t=>{e(new Error("Error getting geolocation: "+t.message))}):e(new Error("Geolocation is not supported by this browser."))})}function d(t,i,s=null,l=null){if(t){crouton_Handlebars.registerPartial("markerContentsTemplate",o.marker_contents_template),n=t,function(t){if(!t.myThrobber&&(t.myThrobber=document.createElement("div"),t.myThrobber)){t.myThrobber.id=t.id+"Throbber_div",t.myThrobber.className="bmlt_map_throbber_div",t.myThrobber.style.display="none",t.appendChild(t.myThrobber);var e=document.createElement("img");e?(e.src=o.BMLTPlugin_throbber_img_src,e.className="bmlt_mapThrobber_img",e.id=t.id+"Throbber_img",e.alt="AJAX Throbber",t.myThrobber.appendChild(e)):t.myThrobber=null}}(t),o.map_search?(o.map_search.width||(o.map_search.width=-50),o.map_search.location||o.map_search.coordinates_search||(o.map_search.auto=!0),(o.map_search.latitude||o.map_search.longitude)&&(o.lat=o.map_search.latitude,o.lng=o.map_search.longitude),o.map_search.zoom&&(o.zoom=o.map_search.zoom)):y();let h={latitude:o.lat,longitude:o.lng,zoom:o.zoom};s&&(h={latitude:s.lat,longitude:s.lng}),e.createMap(t,h)&&(e.addListener("zoomend",function(t){if(function(){if(void 0===A)return!0;if(A!==N())return A=N(),!0;if(!1===N())return!0;return!1}()&&r)if(H){const t=V(!1);B(),V(t)}else B()},!1),o.map_search?e.addControl((c=hbs_Crouton.templates.mapSearch,(u=document.createElement("div")).innerHTML=c(),u.querySelector("#map-search-button").addEventListener("click",T),u.querySelector("#bmltsearch-nearbyMeetings").addEventListener("click",g),u.querySelector("#bmltsearch-text-button").addEventListener("click",function(){let t=document.getElementById("bmltsearch-goto-text").value.trim();""!==t&&(y(),e.callGeocoder(t,null,v),M(a))}),u.querySelector("#bmltsearch-clicksearch").addEventListener("click",_),[...u.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>M(t.target))),(a=u.querySelector("#bmltsearch_modal")).parentElement.removeChild(a),u),"topleft",l):i?(i.imageDir=o.BMLTPlugin_images,e.addControl(function(){rules=['.onoffswitch-inner:before {\n\t\tcontent: "__text__";\n\t\tpadding-left: 10px;\n\t\tbackground-color: #2d5c88; color: #FFFFFF;\n\t\t}','.onoffswitch-inner:after {\n\t\tcontent: "__text__";\n\t\tpadding-left: 30px;\n\t\tbackground-color: #EEEEEE; color: #2d5c88;\n\t\ttext-align: left;\n\t\t}'],rules[0]=rules[0].replace("__text__",crouton.localization.getWord("Upcoming Meetings")),rules[1]=rules[1].replace("__text__",crouton.localization.getWord("All Meetings"));var t=document.createElement("div");return t.innerHTML='\n\t<div id="next24_toggle" title="Next24_toggle" style="background: rgba(0, 0, 0, 0); cursor: pointer;">\n\t\t <div class="onoffswitch">\n\t\t\t <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="next24onoffswitch"/>\n\t\t\t <label class="onoffswitch-label" for="next24onoffswitch">\n\t\t\t\t <span class="onoffswitch-inner"></span>\n\t\t\t\t <span class="onoffswitch-switch"></span>\n\t\t\t </label>\n\t\t </div>\n\t</div>',t.querySelector(".onoffswitch").addEventListener("click",function(t){t.pointerId<0||(p=!p,f=!1,crouton.filterNext24(p),f=!0)}),document.styleSheets[0].insertRule(rules[0]),document.styleSheets[0].insertRule(rules[1]),t}(),"topleft"),e.addControl(m(i),"topright",l)):(i={imageDir:o.BMLTPlugin_images,config:o,dropdownData:!1},e.addControl(m(i),"topright",l)))}var c,u}var p=!1;function m(t){var i=hbs_Crouton.templates.mapMenu,n=document.createElement("div");return n.innerHTML=i(t),n.querySelector("#nearbyMeetings").addEventListener("click",function(t){h().then(t=>{V(!1),e.setViewToPosition(t,q,V)}).catch(t=>{console.error(t.message),jQuery(".geo").removeClass("hide").addClass("show").html(`<p>${t.message}</p>`)}),dropdownContent=document.getElementById("map-menu-dropdown").style.display="none"}),n.querySelector("#lookupLocation").addEventListener("click",E),t&&t.dropdownData?(n.querySelector("#filterMeetings").addEventListener("click",x),n.querySelector("#showAsTable").addEventListener("click",O)):n.querySelector("#filterTable").addEventListener("click",U),n.querySelector("#fullscreenMode").addEventListener("click",Q),n.querySelector("#map-menu-button").addEventListener("click",function(t){let e=document.getElementById("map-menu-dropdown");"inline-block"==e.style.display?e.style.display="none":(jQuery("#filteringByVisibility").html(H?"&#10004;":""),e.style.display="inline-block")}),[...n.getElementsByClassName("modal-close")].forEach(t=>t.addEventListener("click",t=>M(t.target))),n.querySelector("#close_table").addEventListener("click",D),n.querySelector("#goto-text").addEventListener("keydown",function(t){t&&"Enter"==t.key&&(M(t.target),I(k))}),n.querySelector("#goto-button").addEventListener("click",function(t){M(t.target),I(k)}),n}var f=!0;function g(){h().then(t=>{y(),crouton.searchByCoordinates(t.latitude,t.longitude,o.map_search.width),P==a&&M(a)}).catch(t=>{console.error(t.message),P!=a&&T()})}function _(t){croutonMap.showMap(!1,!1),e.clickSearch(t,function(t,e){y(),crouton.searchByCoordinates(t,e,o.map_search.width)}),M(a)}function y(){n.myThrobber&&(n.myThrobber.style.display="block")}function v(t){let i=e.getGeocodeCenter(t);document.getElementById("bmltsearch-goto-text")&&(document.getElementById("bmltsearch-goto-text").value=""),y(),crouton.searchByCoordinates(i.lat,i.lng,o.map_search.width)}function b(t,i=!0,a=!1){if(null===t&&o.map_search)o.map_search.auto?g():o.map_search.coordinates_search?(y(),o.map_search.coordinates_search=!1,crouton.searchByCoordinates(o.map_search.latitude,o.map_search.longitude,o.map_search.width)):o.map_search.location?e.callGeocoder(o.map_search.location,null,v):T();else{if(r=t.filter(t=>2!=t.venue_type),i){const t=r.reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[]);e.fitBounds(t)}B(),n.myThrobber&&(n.myThrobber.style.display="none"),(o.filter_visible||o.centerMe||o.goto)&&crouton.forceShowMap(),o.centerMe?navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){coords={latitude:t.coords.latitude,longitude:t.coords.longitude},V(!1),e.setViewToPosition(coords,q,V)},E):a&&E():(o.centerMe||o.goto||e.afterInit(()=>V(o.filter_visible)),o.goto&&e.callGeocoder(o.goto,z))}}var w,A,k=!1,P=null,S=!1;function M(t){if(e.modalOff(),P=null,!t.classList.contains("modal"))return M(t.parentNode);if(t.style.display="none",k&&(k=!1,K()||Q()),S){const t=document.body,e=t.style.top;t.style.overflowX=w,t.style.position="",t.style.top="",window.scrollTo(0,-1*parseInt(e||"0"))}}function C(t,i=!1){if(K()&&(k=!0,Q()),t.style.display="block",S=i,t.focus(),P=t,dd=document.getElementById("map-menu-dropdown"),dd&&(dd.style.display="none"),e.modalOn(),S){const t=document.body;w=t.style.overflowX;const e=-window.scrollY+"px";t.style.overflowX="hidden",t.style.position="fixed",t.style.width="100%",t.style.setProperty("top",e,"important")}}function x(t){C(document.getElementById("filter_modal"))}function T(t){document.getElementById("bmltsearch_modal")||n.appendChild(a),C(a)}function E(t=null){C(document.getElementById("geocoding_modal"))}function O(t=null){V(),jQuery("#bmlt-tabs").append(jQuery("#table_page")),jQuery("#table_page").removeClass("hide"),jQuery("#bmlt-map").css("display","none"),jQuery("#table_page").css("max-height",jQuery("#bmlt-map").height()),jQuery("#bmlt-maptable-div").css("height",jQuery("#bmlt-map").height()-jQuery("#bmlt-maptable-header").height()),document.getElementById("map-menu-dropdown").style.display="none"}function D(t=null){V(!1),jQuery("#table_page").addClass("hide"),jQuery("#bmlt-map").css("display","block")}function z(t){V(!1);const e=q(t);return V(!0),e}function I(t){return""!=document.getElementById("goto-text").value?t?e.addListener("idle",function(){e.callGeocoder(document.getElementById("goto-text").value,z)},!0):e.callGeocoder(document.getElementById("goto-text").value,z):alert(""),!0}function B(t=!1){if(r)if(r.length)try{R(t)}catch(i){console.log(i),e.addListener("projection_changed",function(e){R(t)},!0)}else alert(crouton.localization.getWord("no meetings found"))}function N(){return void 0===e.getZoom()||void 0!==o.clustering&&e.getZoom()<o.clustering}function R(t=!1){e.clearAllMarkers(),e.removeClusterLayer();const i=G(r);var n=N()||1==i.length?i.map(t=>[t]):function(t){var i=new Array;for(const[a,r]of Object.entries((o=t,o.reduce(function(t,e){return t.hasOwnProperty(e.location_municipality)?t[e.location_municipality].push(e):t[e.location_municipality]=[e],t},{})))){var n=r.map(t=>(item=new Object,item.matched=!1,item.meeting=t,item.coords=e.fromLatLngToPoint(t.latitude,t.longitude),item));n.reduce(function(t,e,i){if(e.matched)return t;matches=[e.meeting];var o=e.coords;for(c2=i+1;c2<r.length;c2++)if(!n[c2].matched){var a=n[c2].coords,s=o.x-8,l=o.x+8,c=o.y-8,u=o.y+8;a.x>=s&&a.x<=l&&a.y>=c&&a.y<=u&&(matches.push(n[c2].meeting),n[c2].matched=!0)}return matches.sort(j),t.push(matches),t},i)}var o;return i}(i);if(N()&&e.createClusterLayer(),n.forEach(function(t){var i,n,o;n=[(i=t)[0].latitude,i[0].longitude],o=crouton_Handlebars.compile(F)(i),e.createMarker(n,i.length>1,o,null,i.map(t=>parseInt(t.id_bigint)))}),e.addClusterLayer(),t){const t=i.reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[]);e.fitBounds(t)}}function j(t,e){var i=parseInt(t.weekday_tinyint,10),n=parseInt(e.weekday_tinyint,10);if(i<o.start_week&&(i+=7),n<o.start_week&&(n+=7),i<n)return-1;if(i>n)return 1;var a=t.start_time.toString().split(":"),r=e.start_time.toString().split(":");return parseInt(a[0])<parseInt(r[0])?-1:parseInt(a[0])>parseInt(r[0])?1:parseInt(a[1])<parseInt(r[1])?-1:parseInt(a[1])>parseInt(r[1])?1:0}document.addEventListener("keydown",function(t){P&&"Escape"==t.key&&M(P)},!0);const F='\n\t<div class="accordion">\n\t{{#each this}}<div>\n\t\t\t<input type="radio" name="panel" id="panel-{{this.id_bigint}}" {{#unless @index}}checked{{/unless}}/>\n\t\t\t<label for="panel-{{this.id_bigint}}">{{this.formatted_day}} {{this.start_time_formatted}}</label>\n\t\t\t<div class="marker_div_meeting" id="{{this.id_bigint}}">\n\t\t\t\t{{> markerContentsTemplate}}\n\t\t\t</div>\n\t</div>{{/each}}\n\t</div>\n\t';var H=!1,W=null;function Z(t){return r.filter(i=>e.contains(t,i.latitude,i.longitude))}function $(){V(!1),e.addListener("dragend",V,!0)}function V(t=!0){if(t==H)return t;let i=(t?Z(e.getBounds()):r).map(t=>t.id_bigint);return jQuery(".bmlt-data-row").each(function(t,e){e.dataset.visible=i.includes(e.id.split("-").pop())?"1":"0"}),jQuery("#byday").removeClass("hide"),jQuery("#filter-dropdown-visibile").val(t?"a-1":""),f=!1,crouton.simulateFilterDropdown(),f=!0,jQuery("#filteringByVisibility").html(t?"&#10004;":""),H=t,t?W=e.addListener("dragstart",$,!0):W&&(e.removeListener(W),W=null),!t}function U(){V(!H)}function Z(t){return r.filter(i=>e.contains(t,i.latitude,i.longitude))}function q(t){return G(Z(t))}function G(t){var e=t.filter(t=>2!=t.venue_type);return null!=s?e.filter(t=>s.includes(t.id_bigint)):e}var Y=!1;function K(){return(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)===n||Y}function Q(t){var e=n;K()?t&&t.pseudoFullscreen?J(!1):document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():_disablePseudoFullscreen(e):t&&t.pseudoFullscreen?J(!0):e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen?e.msRequestFullscreen():_enablePseudoFullscreen(e)}Y=!1;function J(t){Y=t;var i=n;t?L.DomUtil.addClass(i,"leaflet-pseudo-fullscreen"):L.DomUtil.removeClass(i,"leaflet-pseudo-fullscreen"),e.invalidateSize()}this.initialize=function t(i,n,o=null,a=null,r=!0,s){if(!e.isApiLoaded())return u(t,[i,n,o,a,r,s]),void e.loadApi();d(document.getElementById(i),o,a,s),b(n,r,!0)},this.showMap=function(t=!1,n=!0){t&&i?i.invalidateSize():(e.invalidateSize(),r&&n&&e.fitBounds((s?r.filter(t=>s.includes(t.id_bigint)):r).reduce(function(t,e){return t.push([e.latitude,e.longitude]),t},[])))},this.fillMap=function(t){s=t,r&&B(f&&!H)},this.rowClick=function(t){let i=r.find(e=>e.id_bigint==t);i&&(e.getZoom()>=14&&e.contains(e.getBounds(),i.latitude,i.longitude)?e.openMarker(t):e.setViewToPosition({latitude:i.latitude,longitude:i.longitude},q,function(){e.openMarker(t)}))},this.apiLoadedCallback=function(){l(...c)},this.refreshMeetings=b,this.openModalWindow=C,this.closeModalWindow=M,this.loadPopupMap=function t(n,a,r=null){if(!e.isApiLoaded())return u(t,[n,a,r]),void e.loadApi();let s=document.getElementById(n),l=new MapDelegate(o);r&&(loc={latitude:r.lat,longitude:r.lng,zoom:r.zoom}),l.createMap(s,loc)&&(l.createMarker([a.latitude,a.longitude],!1,null,"",[parseInt(a.id_bigint)]),l.addClusterLayer(),i=l)},this.filterVisible=V}function MapDelegate(t){var e,i,n=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarker.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),o=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarkerG.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[0,-32]}),a=L.icon({iconUrl:t.BMLTPlugin_images+"/NAMarkerSel.png",shadowUrl:t.BMLTPlugin_images+"/NAMarkerS.png",iconSize:[23,32],shadowSize:[43,32],iconAnchor:[12,32],shadowAnchor:[12,32],popupAnchor:[12,-32]}),r=[],s=null;function l(t,i){if(!e)return 12;for(var n=e.getZoom(),o=e.getCenter(),a=e.getBounds(),r=!1;0==i(a).length&&n>6;){r=!0,n-=1;var s=L.latLng(2*a.getNorthEast().lat-o.lat,2*a.getNorthEast().lng-o.lng),l=L.latLng(2*a.getSouthWest().lat-o.lat,2*a.getSouthWest().lng-o.lng);a=L.latLngBounds(l,s)}if(!t&&!r&&n<12){for(var c=i(a).length;n<12&&c>0;){n+=1;s=L.latLng(.5*(a.getNorthEast().lat+o.lat),.5*(a.getNorthEast().lng+o.lng)),l=L.latLng(.5*(a.getSouthWest().lat+o.lat),.5*(a.getSouthWest().lng+o.lng));c=i(a=L.latLngBounds(l,s)).length}0==c&&(n-=1)}return n}function c(t,e,i){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState){var t;if(200!==n.status&&304!==n.status)t="";else if("string"==typeof n.response)try{t=JSON.parse(n.response)}catch(e){t=n.response}else t=n.response;i(t)}},n.open("GET",t+function(t,e,i){var n=[];for(var o in t){var a=encodeURIComponent(i?o.toUpperCase():o),r=t[o];if(L.Util.isArray(r))for(var s=0;s<r.length;s++)n.push(a+"="+encodeURIComponent(r[s]));else n.push(a+"="+encodeURIComponent(r))}return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}(e),!0),n.responseType="json",n.setRequestHeader("Accept","application/json"),n.setRequestHeader("Accept","*/*"),n.send(null)}this.createMap=function(n,o){if(!o)return null;myOptions={minZoom:t.minZoom,maxZoom:t.maxZoom,doubleClickZoom:!1,scrollWheelZoom:!1},myOptions=Object.assign(myOptions,{center:new L.latLng(o.latitude,o.longitude),zoom:o.zoom});var a=n.offsetWidth;0==a&&(a=n.parentNode.offsetWidth);var r=n.offsetHeight;return 0==r&&(r=a),r>1.4*a&&(n.style.height=1.6*a+"px",n.parentNode.style.height=n.style.height),e=new L.Map(n,myOptions),i=L.tileLayer(t.tileUrl,t.tileOptions).addTo(e),e.zoomControl.setPosition("bottomright"),e.on("moveend",function(){i.redraw()}),e},this.addListener=function(t,i,n){return"idle"==t&&(t="moveend"),"dragstart"==t&&(t="movestart"),"dragend"==t&&(t="moveend"),n?e.once(t,i):e.on(t,i),{event:t,f:i}},this.removeListener=function(t){e.off(t.event,t.f)},this.addControl=function(t,i,n){var o,a=L.Control.extend({onAdd:function(e){return t},onRemove:function(t){}});if(n){const e=new MutationObserver(function(i){i.forEach(i=>{i.addedNodes.forEach(i=>{i===t&&(e.disconnect(),n())})})});e.observe(document,{childList:!0,subtree:!0})}(o={position:i},new a(o)).addTo(e)},this.setViewToPosition=function(t,i,n=null){var o=L.latLng(t.latitude,t.longitude);e.flyTo(o),e.once("moveend",function(t){newZoom=l(!1,i),e.getZoom()!=newZoom?(e.setZoom(newZoom),e.once("zoomend",function(){e.invalidateSize(),n&&e.once("load moveend",n)})):n&&n()})},this.clearAllMarkers=function(){r&&r.forEach(t=>{t.marker.closePopup(),e.removeLayer(t.marker)}),r=[]},this.fromLatLngToPoint=function(t,i){return e.latLngToLayerPoint(L.latLng(t,i))},this.callGeocoder=function(n,o,a=function(t,n){t&&t[0]&&t[0].bbox?(e.flyToBounds(t[0].bbox),e.on("moveend",function(t){e.off("moveend"),e.setZoom(l(!0,n)),e.once("moveend",function(){i.redraw()})})):alert(crouton.localization.getWord("address_lookup_fail"))}){geoCodeParams={},t.region&&""!==t.region.trim()&&(geoCodeParams.countrycodes=t.region),t.bounds&&t.bounds.north&&""!==t.bounds.north.trim()&&t.bounds.east&&""!==t.bounds.east.trim()&&t.bounds.south&&""!==t.bounds.south.trim()&&t.bounds.west&&""!==t.bounds.west.trim()&&(geoCodeParams.viewbox=t.bounds.south+","+t.bounds.west+","+t.bounds.north+","+t.bounds.east),function(e,i,n,o){var a=t.nominatimUrl;a||(a="https://nominatim.openstreetmap.org/"),c(a+"search",L.extend({q:e,limit:5,format:"json",addressdetails:1},i),L.bind(function(t){var e=[];if(t&&t.length){for(var i=t.length-1;i>=0;i--){for(var a=t[i].boundingbox,r=0;r<4;r++)a[r]=parseFloat(a[r]);e[i]={icon:t[i].icon,name:t[i].display_name,bbox:L.latLngBounds([a[0],a[2]],[a[1],a[3]]),center:L.latLng(t[i].lat,t[i].lon),properties:t[i]}}o?n(e,o):n(e)}else alert(crouton.localization.getWord("address_lookup_fail"))},this))}(n,geoCodeParams,a,o)},this.setZoom=function(t,i=0){i>0?e.setZoom(i):e.setZoom(l(!1,t))},this.getZoom=function(){return e.getZoom()},this.createMarker=function(t,i,l,c,u){var h=i?o:n;let d=function(t){let e=t.id.split("-")[1];jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+e+" > td").addClass("rowHighlight"),"undefined"!=typeof crouton&&crouton.dayTabFromId(e)};var p=L.marker(t,{icon:h,title:c}).bindPopup(l);p.isMulti=i,s?s.addLayer(p):p.addTo(e),p.on("popupopen",function(t){p.setIcon(a),e.on("zoomstart",function(){p.closePopup()}),jQuery("input[type=radio][name=panel]:checked").each(function(t,e){d(e)}),jQuery("input[type=radio][name=panel]").change(function(){d(this)})}),p.on("popupclose",function(t){p.setIcon(p.isMulti?o:n),jQuery(".bmlt-data-row > td").removeClass("rowHighlight")}),r.push({ids:u,marker:p})},this.contains=function(t,e,i){return t.contains(L.latLng(e,i))},this.getBounds=function(){return e.getBounds()},this.invalidateSize=function(){e.invalidateSize()},this.zoomOut=function(t){e.setZoom(l(!0,t))},this.fitBounds=function(t){const i=t.reduce(function(t,e){return t.extend(e),t},L.latLngBounds());e.fitBounds(i)},this.openMarker=function(t){marker=r.find(e=>e.ids.includes(t)),marker&&(marker.marker.openPopup(),jQuery("#panel-"+t).prop("checked",!0),"undefined"!=typeof crouton&&crouton.dayTabFromId(t)),jQuery(".bmlt-data-row > td").removeClass("rowHighlight"),jQuery("#meeting-data-row-"+t+" > td").addClass("rowHighlight")},this.isApiLoaded=function(){return!0},this.createClusterLayer=function(){s=L.markerClusterGroup()},this.addClusterLayer=function(){s&&e.addLayer(s)},this.removeClusterLayer=function(){s&&e.removeLayer(s),s=null},this.clickSearch=function(t,i){L.DomUtil.addClass(e._container,"crosshair-cursor-enabled"),e.once("click",function(t){e.once("click",function(t){L.DomUtil.removeClass(e._container,"crosshair-cursor-enabled"),i(t.latlng.lat,t.latlng.lng)})})},this.getGeocodeCenter=function(t){if(t&&t[0])return{lat:t[0].center.lat,lng:t[0].center.lng};alert(crouton.localization.getWord("address_lookup_fail"))},this.modalOn=function(){e&&e.dragging.disable()},this.modalOff=function(){e&&e.dragging.enable()},this.afterInit=function(t){t()}}crouton_Handlebars.registerHelper("getDayOfTheWeek",function(t){return hbs_Crouton.localization.getDayOfTheWeekWord(t)}),crouton_Handlebars.registerHelper("getWord",function(t){var e=hbs_Crouton.localization.getWord(t);return void 0!==e?e:(console.log("no translation for '"+t+"'"),t)}),crouton_Handlebars.registerHelper("formatDataPointer",function(t){return convertToPunyCode(t)}),crouton_Handlebars.registerHelper("call",function(t,e){return t(e)}),crouton_Handlebars.registerHelper("canShare",function(t,e){return navigator.share?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("reportUpdateEnabled",function(t,e){return""!==crouton.config.report_update_url?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("reportUpdateUrl",function(){return crouton.config.report_update_url}),crouton_Handlebars.registerHelper("isVirtual",function(t,e){return(t.venue_type===venueType.HYBRID||t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("HY",t),getFormats(t))&&!inArray(getMasterFormatId("TC",t),getFormats(t))||inArray(getMasterFormatId("VM",t),getFormats(t)))&&(t.virtual_meeting_link||t.phone_meeting_number||t.virtual_meeting_additional_info)?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isVirtualOnly",function(t,e){return t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isHybrid",function(t,e){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isHybridOnly",function(t,e){return t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isTemporarilyClosed",function(t,e){return inArray(getMasterFormatId("TC",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isNotTemporarilyClosed",function(t,e){return inArray(getMasterFormatId("TC",t),getFormats(t))?getFalseResult(e,this):getTrueResult(e,this)}),crouton_Handlebars.registerHelper("isInPersonOrHybrid",function(t,e){return t.venue_type===venueType.VIRTUAL||inArray(getMasterFormatId("VM",t),getFormats(t))?getFalseResult(e,this):getTrueResult(e,this)}),crouton_Handlebars.registerHelper("isInPersonOnly",function(t,e){return t.venue_type===venueType.IN_PERSON||!inArray(getMasterFormatId("VM",t),getFormats(t))&&!inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("isVirtualOrHybrid",function(t,e){return t.venue_type===venueType.VIRTUAL||t.venue_type===venueType.HYBRID||inArray(getMasterFormatId("VM",t),getFormats(t))||inArray(getMasterFormatId("HY",t),getFormats(t))?getTrueResult(e,this):getFalseResult(e,this)}),crouton_Handlebars.registerHelper("hasFormats",function(t,e,i){for(var n=!1,o=e.formats.split(","),a=t.split(","),r=0;r<a.length;r++)n=inArray(a[r],o);return n?getTrueResult(i,this):getFalseResult(i,this)}),crouton_Handlebars.registerHelper("temporarilyClosed",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("TC",t)).description:"FACILITY IS TEMPORARILY CLOSED"}),crouton_Handlebars.registerHelper("meetsVirtually",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("VM",t)).description:"MEETS VIRTUALLY"}),crouton_Handlebars.registerHelper("meetsHybrid",function(t,e){return void 0!==t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",t))?t.formats_expanded.getArrayItemByObjectKeyValue("id",getMasterFormatId("HY",t)).description:"MEETS VIRTUALLY AND IN PERSON"}),crouton_Handlebars.registerHelper("qrCode",function(t,e){return new crouton_Handlebars.SafeString("<img alt='qrcode' src='https://quickchart.io/qr?size=100&text="+encodeURIComponent(t)+"'>")}),crouton_Handlebars.registerHelper("formatDataFromArray",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i]));return e.join(" ")}),crouton_Handlebars.registerHelper("formatDataPointerFormats",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i].name));return e.join(" ")}),crouton_Handlebars.registerHelper("formatDataKeyFormats",function(t){for(var e=[],i=0;i<t.length;i++)e.push(convertToPunyCode(t[i].key));return e.join(" ")}),crouton_Handlebars.registerHelper("formatLink",function(t){return 0===t.indexOf("tel:")||0===t.indexOf("http")?new crouton_Handlebars.SafeString("<a href='"+t+"' target='_blank'>"+t+"</a>"):t}),crouton_Handlebars.registerHelper("webLinkify",function(t){return new crouton_Handlebars.SafeString("<a href='"+t+"' target='_blank'>"+t+"</a>")}),crouton_Handlebars.registerHelper("phoneLinkify",function(t){return new crouton_Handlebars.SafeString("<a href='tel:"+t+"' target='_blank'>"+t+"</a>")}),crouton_Handlebars.registerHelper("ifEquals",function(t,e,i){return t===e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("greaterThan",function(t,e,i){return t>e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("lessThan",function(t,e,i){return t<e?i.fn(this):i.inverse(this)}),crouton_Handlebars.registerHelper("times",function(t,e){for(var i="",n=1;n<=t;++n)i+=e.fn(n);return i}),crouton_Handlebars.registerHelper("hasBMLT2ics",function(){return crouton.config.bmlt2ics.length>0}),crouton_Handlebars.registerHelper("BMLT2ics",function(){return crouton.config.bmlt2ics}),crouton_Handlebars.registerPartial("icsButton",'<a href="{{BMLT2ics}}?meeting-id={{id_bigint}}" download="{{meeting_name}}.ics" id="share-button" class="btn btn-primary btn-xs" ><span class="glyphicon glyphicon-download-alt"></span> {{getWord "bmlt2ics"}}</a>'),crouton_Handlebars.registerPartial("offerIcsButton","{{#if (hasBMLT2ics)}}{{> icsButton}}<br/>{{/if}}"),Crouton.prototype.renderMeetingCount=function(){var t=this;t.lock(function(){t.updateMeetingCount()})},Crouton.prototype.simulateFilterDropdown=function(){self=this,jQuery(".bmlt-page:not(#byfield_embeddedMapPage)").each(function(){self.hidePage(this)}),self.filteredPage(),self.filtering||self.config.map_page||self.showView("byday"===self.config.view_by?"byday":"day",!1)},Crouton.prototype.getAdjustedDateTime=function(t,e,i){var n,o=!0===this.config.auto_tz_adjust||"true"===this.config.auto_tz_adjust;o?(i||(i="UTC"),n=(n=moment.tz(i).set({hour:e.split(":")[0],minute:e.split(":")[1],second:0}).isoWeekday(t)).clone().tz(moment.tz.guess())):n=moment().set({hour:e.split(":")[0],minute:e.split(":")[1],second:0}).isoWeekday(t);var a=o?moment.tz(moment.tz.guess()):moment();return a>n?n.add(1,"weeks"):a.isoWeekday()==n.isoWeekday()&&0==n.diff(a,"days")&&n.add(1,"weeks"),n},Array.prototype.clone=function(){return this.slice()},Array.prototype.filterByObjectKeyValue=function(t,e){for(var i=[],n=0;n<this.length;n++)this[n][t]===e&&i.push(this[n]);return i},Array.prototype.getArrayItemByObjectKeyValue=function(t,e){for(var i=0;i<this.length;i++)if(this[i][t]===e)return this[i]},Array.prototype.clean=function(){for(var t=0;t<this.length;t++)""===this[t]&&(this.splice(t,1),t--);return this},Array.prototype.exclude=function(t,e){for(var i=this.length;i--;)for(var n=0;n<t.length;n++)t[n]===this[i][e]&&this.splice(i,1);return this},Array.prototype.sortByKey=function(t){return this.sort(function(e,i){return e[t]<i[t]?-1:e[t]>i[t]?1:0}),this},MeetingMap.prototype.initialize=null,MeetingMap.prototype.showMap=null,MeetingMap.prototype.fillMap=null,MeetingMap.prototype.rowClick=null,MeetingMap.prototype.apiLoadedCallback=null,MeetingMap.prototype.refreshMeetings=null,MeetingMap.prototype.openModalWindow=null,MeetingMap.prototype.closeModalWindow=null,MeetingMap.prototype.loadPopupMap=null,MeetingMap.prototype.filterVisible=null,MapDelegate.prototype.createMap=null,MapDelegate.prototype.addListener=null,MapDelegate.prototype.removeListener=null,MapDelegate.prototype.addControl=null,MapDelegate.prototype.setViewToPosition=null,MapDelegate.prototype.clearAllMarkers=null,MapDelegate.prototype.fromLatLngToPoint=null,MapDelegate.prototype.callGeocoder=null,MapDelegate.prototype.setZoom=null,MapDelegate.prototype.getZoom=null,MapDelegate.prototype.createMarker=null,MapDelegate.prototype.contains=null,MapDelegate.prototype.getBounds=null,MapDelegate.prototype.invalidateSize=null,MapDelegate.prototype.zoomOut=null,MapDelegate.prototype.fitBounds=null,MapDelegate.prototype.openMarker=null,MapDelegate.prototype.isApiLoaded=null,MapDelegate.prototype.createClusterLayer=null,MapDelegate.prototype.addClusterLayer=null,MapDelegate.prototype.removeClusterLayer=null,MapDelegate.prototype.clickSearch=null,MapDelegate.prototype.getGeocodeCenter=null,MapDelegate.prototype.modalOn=null,MapDelegate.prototype.modalOff=null,MapDelegate.prototype.afterInit=null,function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.L={})}(this,function(t){"use strict";var e=Object.freeze;function i(t){var e,i,n,o;for(i=1,n=arguments.length;i<n;i++)for(e in o=arguments[i])t[e]=o[e];return t}Object.freeze=function(t){return t};var n=Object.create||function(t){return o.prototype=t,new o};function o(){}function a(t,e){var i=Array.prototype.slice;if(t.bind)return t.bind.apply(t,i.call(arguments,1));var n=i.call(arguments,2);return function(){return t.apply(e,n.length?n.concat(i.call(arguments)):arguments)}}var r=0;function s(t){return t._leaflet_id=t._leaflet_id||++r,t._leaflet_id}function l(t,e,i){var n,o,a,r;return r=function(){n=!1,o&&(a.apply(i,o),o=!1)},a=function(){n?o=arguments:(t.apply(i,arguments),setTimeout(r,e),n=!0)}}function c(t,e,i){var n=e[1],o=e[0],a=n-o;return t===n&&i?t:((t-o)%a+a)%a+o}function u(){return!1}function h(t,e){return e=void 0===e?6:e,+(Math.round(t+"e+"+e)+"e-"+e)}function d(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function p(t){return d(t).split(/\s+/)}function m(t,e){for(var i in t.hasOwnProperty("options")||(t.options=t.options?n(t.options):{}),e)t.options[i]=e[i];return t.options}function f(t,e,i){var n=[];for(var o in t)n.push(encodeURIComponent(i?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+n.join("&")}var g=/\{ *([\w_-]+) *\}/g;function _(t,e){return t.replace(g,function(t,i){var n=e[i];if(void 0===n)throw new Error("No value provided for variable "+t);return"function"==typeof n&&(n=n(e)),n})}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function v(t,e){for(var i=0;i<t.length;i++)if(t[i]===e)return i;return-1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function w(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var A=0;function k(t){var e=+new Date,i=Math.max(0,16-(e-A));return A=e+i,window.setTimeout(t,i)}var P=window.requestAnimationFrame||w("RequestAnimationFrame")||k,S=window.cancelAnimationFrame||w("CancelAnimationFrame")||w("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function M(t,e,i){if(!i||P!==k)return P.call(window,a(t,e));t.call(e)}function C(t){t&&S.call(window,t)}var x=(Object.freeze||Object)({freeze:e,extend:i,create:n,bind:a,lastId:r,stamp:s,throttle:l,wrapNum:c,falseFn:u,formatNum:h,trim:d,splitWords:p,setOptions:m,getParamString:f,template:_,isArray:y,indexOf:v,emptyImageUrl:b,requestFn:P,cancelFn:S,requestAnimFrame:M,cancelAnimFrame:C});function T(){}T.extend=function(t){function e(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var o=e.__super__=this.prototype,a=n(o);for(var r in(a.constructor=e).prototype=a,this)this.hasOwnProperty(r)&&"prototype"!==r&&"__super__"!==r&&(e[r]=this[r]);return t.statics&&(i(e,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),i.apply(null,[a].concat(t.includes)),delete t.includes),a.options&&(t.options=i(n(a.options),t.options)),i(a,t),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){o.callInitHooks&&o.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=a._initHooks.length;t<e;t++)a._initHooks[t].call(this)}},e},T.include=function(t){return i(this.prototype,t),this},T.mergeOptions=function(t){return i(this.prototype.options,t),this},T.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),i="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(i),this};var E={on:function(t,e,i){if("object"==typeof t)for(var n in t)this._on(n,t[n],e);else for(var o=0,a=(t=p(t)).length;o<a;o++)this._on(t[o],e,i);return this},off:function(t,e,i){if(t)if("object"==typeof t)for(var n in t)this._off(n,t[n],e);else for(var o=0,a=(t=p(t)).length;o<a;o++)this._off(t[o],e,i);else delete this._events;return this},_on:function(t,e,i){this._events=this._events||{};var n=this._events[t];n||(n=[],this._events[t]=n),i===this&&(i=void 0);for(var o={fn:e,ctx:i},a=n,r=0,s=a.length;r<s;r++)if(a[r].fn===e&&a[r].ctx===i)return;a.push(o)},_off:function(t,e,i){var n,o,a;if(this._events&&(n=this._events[t]))if(e){if(i===this&&(i=void 0),n)for(o=0,a=n.length;o<a;o++){var r=n[o];if(r.ctx===i&&r.fn===e)return r.fn=u,this._firingCount&&(this._events[t]=n=n.slice()),void n.splice(o,1)}}else{for(o=0,a=n.length;o<a;o++)n[o].fn=u;delete this._events[t]}},fire:function(t,e,n){if(!this.listens(t,n))return this;var o=i({},e,{type:t,target:this,sourceTarget:e&&e.sourceTarget||this});if(this._events){var a=this._events[t];if(a){this._firingCount=this._firingCount+1||1;for(var r=0,s=a.length;r<s;r++){var l=a[r];l.fn.call(l.ctx||this,o)}this._firingCount--}}return n&&this._propagateEvent(o),this},listens:function(t,e){var i=this._events&&this._events[t];if(i&&i.length)return!0;if(e)for(var n in this._eventParents)if(this._eventParents[n].listens(t,e))return!0;return!1},once:function(t,e,i){if("object"==typeof t){for(var n in t)this.once(n,t[n],e);return this}var o=a(function(){this.off(t,e,i).off(t,o,i)},this);return this.on(t,e,i).on(t,o,i)},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[s(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[s(t)],this},_propagateEvent:function(t){for(var e in this._eventParents)this._eventParents[e].fire(t.type,i({layer:t.target,propagatedFrom:t.target},t),!0)}};E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens;var O=T.extend(E);function D(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e}var z=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function I(t,e,i){return t instanceof D?t:y(t)?new D(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new D(t.x,t.y):new D(t,e,i)}function B(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function N(t,e){return!t||t instanceof B?t:new B(t,e)}function R(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n<o;n++)this.extend(i[n])}function j(t,e){return t instanceof R?t:new R(t,e)}function F(t,e,i){if(isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==i&&(this.alt=+i)}function H(t,e,i){return t instanceof F?t:y(t)&&"object"!=typeof t[0]?3===t.length?new F(t[0],t[1],t[2]):2===t.length?new F(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new F(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new F(t,e,i)}D.prototype={clone:function(){return new D(this.x,this.y)},add:function(t){return this.clone()._add(I(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(I(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new D(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new D(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=z(this.x),this.y=z(this.y),this},distanceTo:function(t){var e=(t=I(t)).x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return(t=I(t)).x===this.x&&t.y===this.y},contains:function(t){return t=I(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}},B.prototype={extend:function(t){return t=I(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new D((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new D(this.min.x,this.max.y)},getTopRight:function(){return new D(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,i;return(t="number"==typeof t[0]||t instanceof D?I(t):N(t))instanceof B?(e=t.min,i=t.max):e=i=t,e.x>=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,i=this.max,n=t.min,o=t.max,a=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return a&&r},overlaps:function(t){t=N(t);var e=this.min,i=this.max,n=t.min,o=t.max,a=o.x>e.x&&n.x<i.x,r=o.y>e.y&&n.y<i.y;return a&&r},isValid:function(){return!(!this.min||!this.max)}},R.prototype={extend:function(t){var e,i,n=this._southWest,o=this._northEast;if(t instanceof F)i=e=t;else{if(!(t instanceof R))return t?this.extend(H(t)||j(t)):this;if(e=t._southWest,i=t._northEast,!e||!i)return this}return n||o?(n.lat=Math.min(e.lat,n.lat),n.lng=Math.min(e.lng,n.lng),o.lat=Math.max(i.lat,o.lat),o.lng=Math.max(i.lng,o.lng)):(this._southWest=new F(e.lat,e.lng),this._northEast=new F(i.lat,i.lng)),this},pad:function(t){var e=this._southWest,i=this._northEast,n=Math.abs(e.lat-i.lat)*t,o=Math.abs(e.lng-i.lng)*t;return new R(new F(e.lat-n,e.lng-o),new F(i.lat+n,i.lng+o))},getCenter:function(){return new F((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new F(this.getNorth(),this.getWest())},getSouthEast:function(){return new F(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof F||"lat"in t?H(t):j(t);var e,i,n=this._southWest,o=this._northEast;return t instanceof R?(e=t.getSouthWest(),i=t.getNorthEast()):e=i=t,e.lat>=n.lat&&i.lat<=o.lat&&e.lng>=n.lng&&i.lng<=o.lng},intersects:function(t){t=j(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),a=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return a&&r},overlaps:function(t){t=j(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),a=o.lat>e.lat&&n.lat<i.lat,r=o.lng>e.lng&&n.lng<i.lng;return a&&r},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=j(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var W,Z={latLngToPoint:function(t,e){var i=this.projection.project(t),n=this.scale(e);return this.transformation._transform(i,n)},pointToLatLng:function(t,e){var i=this.scale(e),n=this.transformation.untransform(t,i);return this.projection.unproject(n)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){if(this.infinite)return null;var e=this.projection.bounds,i=this.scale(t);return new B(this.transformation.transform(e.min,i),this.transformation.transform(e.max,i))},infinite:!(F.prototype={equals:function(t,e){return!!t&&(t=H(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+h(this.lat,t)+", "+h(this.lng,t)+")"},distanceTo:function(t){return $.distance(this,H(t))},wrap:function(){return $.wrapLatLng(this)},toBounds:function(t){var e=180*t/40075017,i=e/Math.cos(Math.PI/180*this.lat);return j([this.lat-e,this.lng-i],[this.lat+e,this.lng+i])},clone:function(){return new F(this.lat,this.lng,this.alt)}}),wrapLatLng:function(t){var e=this.wrapLng?c(t.lng,this.wrapLng,!0):t.lng;return new F(this.wrapLat?c(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),i=this.wrapLatLng(e),n=e.lat-i.lat,o=e.lng-i.lng;if(0==n&&0==o)return t;var a=t.getSouthWest(),r=t.getNorthEast();return new R(new F(a.lat-n,a.lng-o),new F(r.lat-n,r.lng-o))}},$=i({},Z,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var i=Math.PI/180,n=t.lat*i,o=e.lat*i,a=Math.sin((e.lat-t.lat)*i/2),r=Math.sin((e.lng-t.lng)*i/2),s=a*a+Math.cos(n)*Math.cos(o)*r*r,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),V=6378137,U={R:V,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,i=this.MAX_LATITUDE,n=Math.max(Math.min(i,t.lat),-i),o=Math.sin(n*e);return new D(this.R*t.lng*e,this.R*Math.log((1+o)/(1-o))/2)},unproject:function(t){var e=180/Math.PI;return new F((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:(W=V*Math.PI,new B([-W,-W],[W,W]))};function q(t,e,i,n){if(y(t))return this._a=t[0],this._b=t[1],this._c=t[2],void(this._d=t[3]);this._a=t,this._b=e,this._c=i,this._d=n}function G(t,e,i,n){return new q(t,e,i,n)}q.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new D((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}};var Y,K=i({},$,{code:"EPSG:3857",projection:U,transformation:(Y=.5/(Math.PI*U.R),G(Y,.5,-Y,.5))}),Q=i({},K,{code:"EPSG:900913"});function J(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function X(t,e){var i,n,o,a,r,s,l="";for(i=0,o=t.length;i<o;i++){for(n=0,a=(r=t[i]).length;n<a;n++)l+=(n?"L":"M")+(s=r[n]).x+" "+s.y;l+=e?Tt?"z":"x":""}return l||"M0 0"}var tt=document.documentElement.style,et="ActiveXObject"in window,it=et&&!document.addEventListener,nt="msLaunchUri"in navigator&&!("documentMode"in document),ot=Ot("webkit"),at=Ot("android"),rt=Ot("android 2")||Ot("android 3"),st=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),lt=at&&Ot("Google")&&st<537&&!("AudioNode"in window),ct=!!window.opera,ut=Ot("chrome"),ht=Ot("gecko")&&!ot&&!ct&&!et,dt=!ut&&Ot("safari"),pt=Ot("phantom"),mt="OTransition"in tt,ft=0===navigator.platform.indexOf("Win"),gt=et&&"transition"in tt,_t="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!rt,yt="MozPerspective"in tt,vt=!window.L_DISABLE_3D&&(gt||_t||yt)&&!mt&&!pt,bt="undefined"!=typeof orientation||Ot("mobile"),wt=bt&&ot,At=bt&&_t,kt=!window.PointerEvent&&window.MSPointerEvent,Pt=!(!window.PointerEvent&&!kt),St=!window.L_NO_TOUCH&&(Pt||"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),Mt=bt&&ct,Ct=bt&&ht,xt=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),Lt=!!document.createElement("canvas").getContext,Tt=!(!document.createElementNS||!J("svg").createSVGRect),Et=!Tt&&function(){try{var t=document.createElement("div");t.innerHTML='<v:shape adj="1"/>';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Ot(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var Dt=(Object.freeze||Object)({ie:et,ielt9:it,edge:nt,webkit:ot,android:at,android23:rt,androidStock:lt,opera:ct,chrome:ut,gecko:ht,safari:dt,phantom:pt,opera12:mt,win:ft,ie3d:gt,webkit3d:_t,gecko3d:yt,any3d:vt,mobile:bt,mobileWebkit:wt,mobileWebkit3d:At,msPointer:kt,pointer:Pt,touch:St,mobileOpera:Mt,mobileGecko:Ct,retina:xt,canvas:Lt,svg:Tt,vml:Et}),zt=kt?"MSPointerDown":"pointerdown",It=kt?"MSPointerMove":"pointermove",Bt=kt?"MSPointerUp":"pointerup",Nt=kt?"MSPointerCancel":"pointercancel",Rt=["INPUT","SELECT","OPTION"],jt={},Ft=!1,Ht=0;function Wt(t){jt[t.pointerId]=t,Ht++}function Zt(t){jt[t.pointerId]&&(jt[t.pointerId]=t)}function $t(t){delete jt[t.pointerId],Ht--}function Vt(t,e){for(var i in t.touches=[],jt)t.touches.push(jt[i]);t.changedTouches=[t],e(t)}var Ut=kt?"MSPointerDown":Pt?"pointerdown":"touchstart",qt=kt?"MSPointerUp":Pt?"pointerup":"touchend",Gt="_leaflet_";var Yt,Kt,Qt,Jt,Xt,te=ge(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ee=ge(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),ie="webkitTransition"===ee||"OTransition"===ee?ee+"End":"transitionend";function ne(t){return"string"==typeof t?document.getElementById(t):t}function oe(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||"auto"===i)&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return"auto"===i?null:i}function ae(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function re(t){var e=t.parentNode;e&&e.removeChild(t)}function se(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function le(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function ce(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ue(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=me(t);return 0<i.length&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function he(t,e){if(void 0!==t.classList)for(var i=p(e),n=0,o=i.length;n<o;n++)t.classList.add(i[n]);else if(!ue(t,e)){var a=me(t);pe(t,(a?a+" ":"")+e)}}function de(t,e){void 0!==t.classList?t.classList.remove(e):pe(t,d((" "+me(t)+" ").replace(" "+e+" "," ")))}function pe(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function me(t){return t.correspondingElement&&(t=t.correspondingElement),void 0===t.className.baseVal?t.className:t.className.baseVal}function fe(t,e){"opacity"in t.style?t.style.opacity=e:"filter"in t.style&&function(t,e){var i=!1,n="DXImageTransform.Microsoft.Alpha";try{i=t.filters.item(n)}catch(t){if(1===e)return}e=Math.round(100*e),i?(i.Enabled=100!==e,i.Opacity=e):t.style.filter+=" progid:"+n+"(opacity="+e+")"}(t,e)}function ge(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}function _e(t,e,i){var n=e||new D(0,0);t.style[te]=(gt?"translate("+n.x+"px,"+n.y+"px)":"translate3d("+n.x+"px,"+n.y+"px,0)")+(i?" scale("+i+")":"")}function ye(t,e){t._leaflet_pos=e,vt?_e(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function ve(t){return t._leaflet_pos||new D(0,0)}if("onselectstart"in document)Yt=function(){xe(window,"selectstart",Be)},Kt=function(){Te(window,"selectstart",Be)};else{var be=ge(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);Yt=function(){if(be){var t=document.documentElement.style;Qt=t[be],t[be]="none"}},Kt=function(){be&&(document.documentElement.style[be]=Qt,Qt=void 0)}}function we(){xe(window,"dragstart",Be)}function Ae(){Te(window,"dragstart",Be)}function ke(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(Pe(),Xt=(Jt=t).style.outline,t.style.outline="none",xe(window,"keydown",Pe))}function Pe(){Jt&&(Jt.style.outline=Xt,Xt=Jt=void 0,Te(window,"keydown",Pe))}function Se(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function Me(t){var e=t.getBoundingClientRect();return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}var Ce=(Object.freeze||Object)({TRANSFORM:te,TRANSITION:ee,TRANSITION_END:ie,get:ne,getStyle:oe,create:ae,remove:re,empty:se,toFront:le,toBack:ce,hasClass:ue,addClass:he,removeClass:de,setClass:pe,getClass:me,setOpacity:fe,testProp:ge,setTransform:_e,setPosition:ye,getPosition:ve,disableTextSelection:Yt,enableTextSelection:Kt,disableImageDrag:we,enableImageDrag:Ae,preventOutline:ke,restoreOutline:Pe,getSizedParentNode:Se,getScale:Me});function xe(t,e,i,n){if("object"==typeof e)for(var o in e)Ee(t,o,e[o],i);else for(var a=0,r=(e=p(e)).length;a<r;a++)Ee(t,e[a],i,n);return this}var Le="_leaflet_events";function Te(t,e,i,n){if("object"==typeof e)for(var o in e)Oe(t,o,e[o],i);else if(e)for(var a=0,r=(e=p(e)).length;a<r;a++)Oe(t,e[a],i,n);else{for(var s in t[Le])Oe(t,s,t[Le][s]);delete t[Le]}return this}function Ee(t,e,i,n){var o=e+s(i)+(n?"_"+s(n):"");if(t[Le]&&t[Le][o])return this;var r=function(e){return i.call(n||t,e||window.event)},l=r;Pt&&0===e.indexOf("touch")?function(t,e,i,n){"touchstart"===e?function(t,e,i){var n=a(function(t){if("mouse"!==t.pointerType&&t.MSPOINTER_TYPE_MOUSE&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE){if(!(Rt.indexOf(t.target.tagName)<0))return;Be(t)}Vt(t,e)});t["_leaflet_touchstart"+i]=n,t.addEventListener(zt,n,!1),Ft||(document.documentElement.addEventListener(zt,Wt,!0),document.documentElement.addEventListener(It,Zt,!0),document.documentElement.addEventListener(Bt,$t,!0),document.documentElement.addEventListener(Nt,$t,!0),Ft=!0)}(t,i,n):"touchmove"===e?function(t,e,i){var n=function(t){(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons)&&Vt(t,e)};t["_leaflet_touchmove"+i]=n,t.addEventListener(It,n,!1)}(t,i,n):"touchend"===e&&function(t,e,i){var n=function(t){Vt(t,e)};t["_leaflet_touchend"+i]=n,t.addEventListener(Bt,n,!1),t.addEventListener(Nt,n,!1)}(t,i,n)}(t,e,r,o):!St||"dblclick"!==e||Pt&&ut?"addEventListener"in t?"mousewheel"===e?t.addEventListener("onwheel"in t?"wheel":"mousewheel",r,!1):"mouseenter"===e||"mouseleave"===e?(r=function(e){e=e||window.event,Ve(t,e)&&l(e)},t.addEventListener("mouseenter"===e?"mouseover":"mouseout",r,!1)):("click"===e&&at&&(r=function(t){!function(t,e){var i=t.timeStamp||t.originalEvent&&t.originalEvent.timeStamp,n=He&&i-He;if(n&&100<n&&n<500||t.target._simulatedClick&&!t._simulated)return Ne(t);He=i,e(t)}(t,l)}),t.addEventListener(e,r,!1)):"attachEvent"in t&&t.attachEvent("on"+e,r):function(t,e,i){var n,o,a=!1;function r(t){var e;if(Pt){if(!nt||"mouse"===t.pointerType)return;e=Ht}else e=t.touches.length;if(!(1<e)){var i=Date.now(),r=i-(n||i);o=t.touches?t.touches[0]:t,a=0<r&&r<=250,n=i}}function s(t){if(a&&!o.cancelBubble){if(Pt){if(!nt||"mouse"===t.pointerType)return;var i,r,s={};for(r in o)i=o[r],s[r]=i&&i.bind?i.bind(o):i;o=s}o.type="dblclick",o.button=0,e(o),n=null}}t[Gt+Ut+i]=r,t[Gt+qt+i]=s,t[Gt+"dblclick"+i]=e,t.addEventListener(Ut,r,!1),t.addEventListener(qt,s,!1),t.addEventListener("dblclick",e,!1)}(t,r,o),t[Le]=t[Le]||{},t[Le][o]=r}function Oe(t,e,i,n){var o=e+s(i)+(n?"_"+s(n):""),a=t[Le]&&t[Le][o];if(!a)return this;Pt&&0===e.indexOf("touch")?function(t,e,i){var n=t["_leaflet_"+e+o];"touchstart"===e?t.removeEventListener(zt,n,!1):"touchmove"===e?t.removeEventListener(It,n,!1):"touchend"===e&&(t.removeEventListener(Bt,n,!1),t.removeEventListener(Nt,n,!1))}(t,e):!St||"dblclick"!==e||Pt&&ut?"removeEventListener"in t?"mousewheel"===e?t.removeEventListener("onwheel"in t?"wheel":"mousewheel",a,!1):t.removeEventListener("mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a):function(t,e){var i=t[Gt+Ut+e],n=t[Gt+qt+e],o=t[Gt+"dblclick"+e];t.removeEventListener(Ut,i,!1),t.removeEventListener(qt,n,!1),nt||t.removeEventListener("dblclick",o,!1)}(t,o),t[Le][o]=null}function De(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,$e(t),this}function ze(t){return Ee(t,"mousewheel",De),this}function Ie(t){return xe(t,"mousedown touchstart dblclick",De),Ee(t,"click",Ze),this}function Be(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return Be(t),De(t),this}function Re(t,e){if(!e)return new D(t.clientX,t.clientY);var i=Me(e),n=i.boundingClientRect;return new D((t.clientX-n.left)/i.x-e.clientLeft,(t.clientY-n.top)/i.y-e.clientTop)}var je=ft&&ut?2*window.devicePixelRatio:ht?window.devicePixelRatio:1;function Fe(t){return nt?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var He,We={};function Ze(t){We[t.type]=!0}function $e(t){var e=We[t.type];return We[t.type]=!1,e}function Ve(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t}var Ue=(Object.freeze||Object)({on:xe,off:Te,stopPropagation:De,disableScrollPropagation:ze,disableClickPropagation:Ie,preventDefault:Be,stop:Ne,getMousePosition:Re,getWheelDelta:Fe,fakeStop:Ze,skipped:$e,isExternalTarget:Ve,addListener:xe,removeListener:Te}),qe=O.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=ve(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=M(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=1e3*this._duration;e<i?this._runFrame(this._easeOut(e/i),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){var i=this._startPos.add(this._offset.multiplyBy(t));e&&i._round(),ye(this._el,i),this.fire("step")},_complete:function(){C(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),Ge=O.extend({options:{crs:K,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=m(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=a(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(H(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=ee&&vt&&!Mt&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),xe(this._proxy,ie,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(t,e,n){return e=void 0===e?this._zoom:this._limitZoom(e),t=this._limitCenter(H(t),e,this.options.maxBounds),n=n||{},this._stop(),this._loaded&&!n.reset&&!0!==n&&(void 0!==n.animate&&(n.zoom=i({animate:n.animate},n.zoom),n.pan=i({animate:n.animate,duration:n.duration},n.pan)),this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,n.zoom):this._tryAnimatedPan(t,n.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,e),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(vt?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,i){var n=this.getZoomScale(e),o=this.getSize().divideBy(2),a=(t instanceof D?t:this.latLngToContainerPoint(t)).subtract(o).multiplyBy(1-1/n),r=this.containerPointToLatLng(o.add(a));return this.setView(r,e,{zoom:i})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():j(t);var i=I(e.paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getBoundsZoom(t,!1,i.add(n));if((o="number"==typeof e.maxZoom?Math.min(e.maxZoom,o):o)===1/0)return{center:t.getCenter(),zoom:o};var a=n.subtract(i).divideBy(2),r=this.project(t.getSouthWest(),o),s=this.project(t.getNorthEast(),o);return{center:this.unproject(r.add(s).divideBy(2).add(a),o),zoom:o}},fitBounds:function(t,e){if(!(t=j(t)).isValid())throw new Error("Bounds are not valid.");var i=this._getBoundsCenterZoom(t,e);return this.setView(i.center,i.zoom,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){if(e=e||{},!(t=I(t).round()).x&&!t.y)return this.fire("moveend");if(!0!==e.animate&&!this.getSize().contains(t))return this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new qe,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate){he(this._mapPane,"leaflet-pan-anim");var i=this._getMapPanePos().subtract(t).round();this._panAnim.run(this._mapPane,i,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},flyTo:function(t,e,i){if(!1===(i=i||{}).animate||!vt)return this.setView(t,e,i);this._stop();var n=this.project(this.getCenter()),o=this.project(t),a=this.getSize(),r=this._zoom;t=H(t),e=void 0===e?r:e;var s=Math.max(a.x,a.y),l=s*this.getZoomScale(r,e),c=o.distanceTo(n)||1,u=1.42,h=u*u;function d(t){var e=(l*l-s*s+(t?-1:1)*h*h*c*c)/(2*(t?l:s)*h*c),i=Math.sqrt(e*e+1)-e;return i<1e-9?-18:Math.log(i)}function p(t){return(Math.exp(t)-Math.exp(-t))/2}function m(t){return(Math.exp(t)+Math.exp(-t))/2}var f=d(0);var g=Date.now(),_=(d(1)-f)/u,y=i.duration?1e3*i.duration:1e3*_*.8;return this._moveStart(!0,i.noMoveStart),function i(){var a=(Date.now()-g)/y,l=function(t){return 1-Math.pow(1-t,1.5)}(a)*_;a<=1?(this._flyToFrame=M(i,this),this._move(this.unproject(n.add(o.subtract(n).multiplyBy(function(t){return s*(m(f)*function(t){return p(t)/m(t)}(f+u*t)-p(f))/h}(l)/c)),r),this.getScaleZoom(s/function(t){return s*(m(f)/m(f+u*t))}(l),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}.call(this),this},flyToBounds:function(t,e){var i=this._getBoundsCenterZoom(t,e);return this.flyTo(i.center,i.zoom,e)},setMaxBounds:function(t){return(t=j(t)).isValid()?(this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this.off("moveend",this._panInsideMaxBounds))},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,j(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){var i=I((e=e||{}).paddingTopLeft||e.padding||[0,0]),n=I(e.paddingBottomRight||e.padding||[0,0]),o=this.getCenter(),a=this.project(o),r=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),c=N([s.min.add(i),s.max.subtract(n)]);if(!c.contains(r)){this._enforcingBounds=!0;var u=a.subtract(r),h=I(r.x+u.x,r.y+u.y);(r.x<c.min.x||r.x>c.max.x)&&(h.x=a.x-u.x,0<u.x?h.x+=l.x-i.x:h.x-=l.x-n.x),(r.y<c.min.y||r.y>c.max.y)&&(h.y=a.y-u.y,0<u.y?h.y+=l.y-i.y:h.y-=l.y-n.y),this.panTo(this.unproject(h),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=i({animate:!1,pan:!0},!0===t?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),o=e.divideBy(2).round(),r=n.divideBy(2).round(),s=o.subtract(r);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(a(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=i({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=a(this._handleGeolocationResponse,this),n=a(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,i=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})},_handleGeolocationResponse:function(t){var e=new F(t.coords.latitude,t.coords.longitude),i=e.toBounds(2*t.coords.accuracy),n=this._locateOptions;if(n.setView){var o=this.getBoundsZoom(i);this.setView(e,n.maxZoom?Math.min(o,n.maxZoom):o)}var a={latlng:e,bounds:i,timestamp:t.timestamp};for(var r in t.coords)"number"==typeof t.coords[r]&&(a[r]=t.coords[r]);this.fire("locationfound",a)},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),re(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(C(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)re(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i=ae("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=i),i},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new R(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=j(t),i=I(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),r=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(i),c=N(this.project(s,n),this.project(r,n)).getSize(),u=vt?this.options.zoomSnap:1,h=l.x/c.x,d=l.y/c.y,p=e?Math.max(h,d):Math.min(h,d);return n=this.getScaleZoom(p,n),u&&(n=Math.round(n/(u/100))*(u/100),n=e?Math.ceil(n/u)*u:Math.floor(n/u)*u),Math.max(o,Math.min(a,n))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new D(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new B(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=void 0===e?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=void 0===e?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(I(t),e)},layerPointToLatLng:function(t){var e=I(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(j(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return I(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return I(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(I(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return Re(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=ne(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");xe(e,"scroll",this._onScroll,this),this._containerId=s(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&vt,he(t,"leaflet-container"+(St?" leaflet-touch":"")+(xt?" leaflet-retina":"")+(it?" leaflet-oldie":"")+(dt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=oe(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ye(this._mapPane,new D(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(he(t.markerPane,"leaflet-zoom-hide"),he(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){ye(this._mapPane,new D(0,0));var i=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var n=this._zoom!==e;this._moveStart(n,!1)._move(t,e)._moveEnd(n),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i){void 0===e&&(e=this._zoom);var n=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(n||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return C(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){ye(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?Te:xe;e((this._targets[s(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),vt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){C(this._resizeRequest),this._resizeRequest=M(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i,n=[],o="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,r=!1;a;){if((i=this._targets[s(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(i)){r=!0;break}if(i&&i.listens(e,!0)){if(o&&!Ve(a,t))break;if(n.push(i),o)break}if(a===this._container)break;a=a.parentNode}return n.length||r||o||!Ve(a,t)||(n=[this]),n},_handleDOMEvent:function(t){if(this._loaded&&!$e(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||ke(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,n){if("click"===t.type){var o=i({},t);o.type="preclick",this._fireDOMEvent(o,o.type,n)}if(!t._stopped&&(n=(n||[]).concat(this._findEventTargets(t,e))).length){var a=n[0];"contextmenu"===e&&a.listens(e,!0)&&Be(t);var r={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=a.getLatLng&&(!a._radius||a._radius<=10);r.containerPoint=s?this.latLngToContainerPoint(a.getLatLng()):this.mouseEventToContainerPoint(t),r.layerPoint=this.containerPointToLayerPoint(r.containerPoint),r.latlng=s?a.getLatLng():this.layerPointToLatLng(r.layerPoint)}for(var l=0;l<n.length;l++)if(n[l].fire(e,r,!0),r.originalEvent._stopped||!1===n[l].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,e))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return ve(this._mapPane)||new D(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var i=this.getSize()._divideBy(2);return this.project(t,e)._subtract(i)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,i){var n=this._getNewPixelOrigin(i,e);return N([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,i){if(!i)return t;var n=this.project(t,e),o=this.getSize().divideBy(2),a=new B(n.subtract(o),n.add(o)),r=this._getBoundsOffset(a,i,e);return r.round().equals([0,0])?t:this.unproject(n.add(r),e)},_limitOffset:function(t,e){if(!e)return t;var i=this.getPixelBounds(),n=new B(i.min.add(t),i.max.add(t));return t.add(this._getBoundsOffset(n,e))},_getBoundsOffset:function(t,e,i){var n=N(this.project(e.getNorthEast(),i),this.project(e.getSouthWest(),i)),o=n.min.subtract(t.min),a=n.max.subtract(t.max);return new D(this._rebound(o.x,-a.x),this._rebound(o.y,-a.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=vt?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){de(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(i)||(this.panBy(i,e),0))},_createAnimProxy:function(){var t=this._proxy=ae("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=te,i=this._proxy.style[e];_e(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),i===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),e=this.getZoom();_e(this._proxy,this.project(t,e),this.getZoomScale(e,1))},this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){re(this._proxy),delete this._proxy},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||!1===i.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return!(!0!==i.animate&&!this.getSize().contains(o)||(M(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),0))},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,he(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),setTimeout(a(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&de(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),M(function(){this._moveEnd(!0)},this))}});function Ye(t){return new Ke(t)}var Ke=T.extend({options:{position:"topright"},initialize:function(t){m(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return he(e,"leaflet-control"),-1!==i.indexOf("bottom")?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(re(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}});Ge.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=ae("div",e+"control-container",this._container);function n(n,o){var a=e+n+" "+e+o;t[n+o]=ae("div",a,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)re(this._controlCorners[t]);re(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Qe=Ke.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i<n?-1:n<i?1:0}},initialize:function(t,e,i){for(var n in m(this,i),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,t)this._addLayer(t[n],n);for(n in e)this._addLayer(e[n],n,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return Ke.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){t.off("add remove",this._onLayerChange,this);var e=this._getLayer(s(t));return e&&this._layers.splice(this._layers.indexOf(e),1),this._map?this._update():this},expand:function(){he(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(he(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):de(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return de(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=ae("div",t),i=this.options.collapsed;e.setAttribute("aria-haspopup",!0),Ie(e),ze(e);var n=this._section=ae("section",t+"-list");i&&(this._map.on("click",this.collapse,this),at||xe(e,{mouseenter:this.expand,mouseleave:this.collapse},this));var o=this._layersLink=ae("a",t+"-toggle",e);o.href="#",o.title="Layers",St?(xe(o,"click",Ne),xe(o,"click",this.expand,this)):xe(o,"focus",this.expand,this),i||this.expand(),this._baseLayersList=ae("div",t+"-base",n),this._separator=ae("div",t+"-separator",n),this._overlaysList=ae("div",t+"-overlays",n),e.appendChild(n)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&s(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,i){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:i}),this.options.sortLayers&&this._layers.sort(a(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;se(this._baseLayersList),se(this._overlaysList),this._layerControlInputs=[];var t,e,i,n,o=0;for(i=0;i<this._layers.length;i++)n=this._layers[i],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;return this.options.hideSingleBase&&(t=t&&1<o,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(s(t.target)),i=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e,i=document.createElement("label"),n=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=n):e=this._createRadioElement("leaflet-base-layers_"+s(this),n),this._layerControlInputs.push(e),e.layerId=s(t.layer),xe(e,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var a=document.createElement("div");return i.appendChild(a),a.appendChild(e),a.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(i),this._checkDisabledLayers(),i},_onInputClick:function(){var t,e,i=this._layerControlInputs,n=[],o=[];this._handlingClick=!0;for(var a=i.length-1;0<=a;a--)t=i[a],e=this._getLayer(t.layerId).layer,t.checked?n.push(e):t.checked||o.push(e);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])&&this._map.removeLayer(o[a]);for(a=0;a<n.length;a++)this._map.hasLayer(n[a])||this._map.addLayer(n[a]);this._handlingClick=!1,this._refocusOnMap()},_checkDisabledLayers:function(){for(var t,e,i=this._layerControlInputs,n=this._map.getZoom(),o=i.length-1;0<=o;o--)t=i[o],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&n<e.options.minZoom||void 0!==e.options.maxZoom&&n>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Je=Ke.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"&#x2212;",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=ae("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var a=ae("a",i,n);return a.innerHTML=t,a.href="#",a.title=e,a.setAttribute("role","button"),a.setAttribute("aria-label",e),Ie(a),xe(a,"click",Ne),xe(a,"click",o,this),xe(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";de(this._zoomInButton,e),de(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMinZoom()||he(this._zoomOutButton,e),!this._disabled&&t._zoom!==t.getMaxZoom()||he(this._zoomInButton,e)}});Ge.mergeOptions({zoomControl:!0}),Ge.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Je,this.addControl(this.zoomControl))});var Xe=Ke.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=ae("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=ae("div",e,i)),t.imperial&&(this._iScale=ae("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e,i,n,o=3.2808399*t;5280<o?(e=o/5280,i=this._getRoundNum(e),this._updateScale(this._iScale,i+" mi",i/e)):(n=this._getRoundNum(o),this._updateScale(this._iScale,n+" ft",n/o))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return e*(10<=i?10:5<=i?5:3<=i?3:2<=i?2:1)}}),ti=Ke.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){m(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=ae("div","leaflet-control-attribution"),Ie(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(" | ")}}});Ge.mergeOptions({attributionControl:!0}),Ge.addInitHook(function(){this.options.attributionControl&&(new ti).addTo(this)}),Ke.Layers=Qe,Ke.Zoom=Je,Ke.Scale=Xe,Ke.Attribution=ti,Ye.layers=function(t,e,i){return new Qe(t,e,i)},Ye.zoom=function(t){return new Je(t)},Ye.scale=function(t){return new Xe(t)},Ye.attribution=function(t){return new ti(t)};var ei=T.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}});ei.addTo=function(t,e){return t.addHandler(e,this),this};var ii,ni={Events:E},oi=St?"touchstart mousedown":"mousedown",ai={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},ri={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},si=O.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){m(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(xe(this._dragStartTarget,oi,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(si._dragging===this&&this.finishDrag(),Te(this._dragStartTarget,oi,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!ue(this._element,"leaflet-zoom-anim")&&!(si._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((si._dragging=this)._preventOutline&&ke(this._element),we(),Yt(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,i=Se(this._element);this._startPoint=new D(e.clientX,e.clientY),this._parentScale=Me(i),xe(document,ri[t.type],this._onMove,this),xe(document,ai[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&1<t.touches.length)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,i=new D(e.clientX,e.clientY)._subtract(this._startPoint);(i.x||i.y)&&(Math.abs(i.x)+Math.abs(i.y)<this.options.clickTolerance||(i.x/=this._parentScale.x,i.y/=this._parentScale.y,Be(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=ve(this._element).subtract(i),he(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),he(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(i),this._moving=!0,C(this._animRequest),this._lastEvent=t,this._animRequest=M(this._updatePosition,this,!0)))}},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),ye(this._element,this._newPos),this.fire("drag",t)},_onUp:function(t){!t._simulated&&this._enabled&&this.finishDrag()},finishDrag:function(){for(var t in de(document.body,"leaflet-dragging"),this._lastTarget&&(de(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ri)Te(document,ri[t],this._onMove,this),Te(document,ai[t],this._onUp,this);Ae(),Kt(),this._moved&&this._moving&&(C(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1,si._dragging=!1}});function li(t,e){if(!e||!t.length)return t.slice();var i=e*e;return function(t,e){var i=t.length,n=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(i);n[0]=n[i-1]=1,function t(e,i,n,o,a){var r,s,l,c=0;for(s=o+1;s<=a-1;s++)c<(l=pi(e[s],e[o],e[a],!0))&&(r=s,c=l);n<c&&(i[r]=1,t(e,i,n,o,r),t(e,i,n,r,a))}(t,n,e,0,i-1);var o,a=[];for(o=0;o<i;o++)n[o]&&a.push(t[o]);return a}(t=function(t,e){for(var i=[t[0]],n=1,o=0,a=t.length;n<a;n++)r=t[n],e<(l=(s=t[o]).x-r.x)*l+(c=s.y-r.y)*c&&(i.push(t[n]),o=n);var r,s,l,c;return o<a-1&&i.push(t[a-1]),i}(t,i),i)}function ci(t,e,i){return Math.sqrt(pi(t,e,i,!0))}function ui(t,e,i,n,o){var a,r,s,l=n?ii:di(t,i),c=di(e,i);for(ii=c;;){if(!(l|c))return[t,e];if(l&c)return!1;s=di(r=hi(t,e,a=l||c,i,o),i),a===l?(t=r,l=s):(e=r,c=s)}}function hi(t,e,i,n,o){var a,r,s=e.x-t.x,l=e.y-t.y,c=n.min,u=n.max;return 8&i?(a=t.x+s*(u.y-t.y)/l,r=u.y):4&i?(a=t.x+s*(c.y-t.y)/l,r=c.y):2&i?(a=u.x,r=t.y+l*(u.x-t.x)/s):1&i&&(a=c.x,r=t.y+l*(c.x-t.x)/s),new D(a,r,o)}function di(t,e){var i=0;return t.x<e.min.x?i|=1:t.x>e.max.x&&(i|=2),t.y<e.min.y?i|=4:t.y>e.max.y&&(i|=8),i}function pi(t,e,i,n){var o,a=e.x,r=e.y,s=i.x-a,l=i.y-r,c=s*s+l*l;return 0<c&&(1<(o=((t.x-a)*s+(t.y-r)*l)/c)?(a=i.x,r=i.y):0<o&&(a+=s*o,r+=l*o)),s=t.x-a,l=t.y-r,n?s*s+l*l:new D(a,r)}function mi(t){return!y(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function fi(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),mi(t)}var gi=(Object.freeze||Object)({simplify:li,pointToSegmentDistance:ci,closestPointOnSegment:function(t,e,i){return pi(t,e,i)},clipSegment:ui,_getEdgeIntersection:hi,_getBitCode:di,_sqClosestPointOnSegment:pi,isFlat:mi,_flat:fi});function _i(t,e,i){var n,o,a,r,s,l,c,u,h,d=[1,4,2,8];for(o=0,c=t.length;o<c;o++)t[o]._code=di(t[o],e);for(r=0;r<4;r++){for(u=d[r],n=[],o=0,a=(c=t.length)-1;o<c;a=o++)s=t[o],l=t[a],s._code&u?l._code&u||((h=hi(l,s,u,e,i))._code=di(h,e),n.push(h)):(l._code&u&&((h=hi(l,s,u,e,i))._code=di(h,e),n.push(h)),n.push(s));t=n}return t}var yi,vi=(Object.freeze||Object)({clipPolygon:_i}),bi={project:function(t){return new D(t.lng,t.lat)},unproject:function(t){return new F(t.y,t.x)},bounds:new B([-180,-90],[180,90])},wi={R:6378137,R_MINOR:6356752.314245179,bounds:new B([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,i=this.R,n=t.lat*e,o=this.R_MINOR/i,a=Math.sqrt(1-o*o),r=a*Math.sin(n),s=Math.tan(Math.PI/4-n/2)/Math.pow((1-r)/(1+r),a/2);return n=-i*Math.log(Math.max(s,1e-10)),new D(t.lng*e*i,n)},unproject:function(t){for(var e,i=180/Math.PI,n=this.R,o=this.R_MINOR/n,a=Math.sqrt(1-o*o),r=Math.exp(-t.y/n),s=Math.PI/2-2*Math.atan(r),l=0,c=.1;l<15&&1e-7<Math.abs(c);l++)e=a*Math.sin(s),e=Math.pow((1-e)/(1+e),a/2),s+=c=Math.PI/2-2*Math.atan(r*e)-s;return new F(s*i,t.x*i/n)}},Ai=(Object.freeze||Object)({LonLat:bi,Mercator:wi,SphericalMercator:U}),ki=i({},$,{code:"EPSG:3395",projection:wi,transformation:(yi=.5/(Math.PI*wi.R),G(yi,.5,-yi,.5))}),Pi=i({},$,{code:"EPSG:4326",projection:bi,transformation:G(1/180,1,-1/180,.5)}),Si=i({},Z,{projection:bi,transformation:G(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});Z.Earth=$,Z.EPSG3395=ki,Z.EPSG3857=K,Z.EPSG900913=Q,Z.EPSG4326=Pi,Z.Simple=Si;var Mi=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[s(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[s(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ge.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=s(t);return this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=s(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return!!t&&s(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){for(var e=0,i=(t=t?y(t)?t:[t]:[]).length;e<i;e++)this.addLayer(t[e])},_addZoomLimit:function(t){!isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[s(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){var e=s(t);this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels())},_updateZoomLevels:function(){var t=1/0,e=-1/0,i=this._getZoomSpan();for(var n in this._zoomBoundLayers){var o=this._zoomBoundLayers[n].options;t=void 0===o.minZoom?t:Math.min(t,o.minZoom),e=void 0===o.maxZoom?e:Math.max(e,o.maxZoom)}this._layersMaxZoom=e===-1/0?void 0:e,this._layersMinZoom=t===1/0?void 0:t,i!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Ci=Mi.extend({initialize:function(t,e){var i,n;if(m(this,e),this._layers={},t)for(i=0,n=t.length;i<n;i++)this.addLayer(t[i])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return!!t&&(t in this._layers||this.getLayerId(t)in this._layers)},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,i,n=Array.prototype.slice.call(arguments,1);for(e in this._layers)(i=this._layers[e])[t]&&i[t].apply(i,n);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return s(t)}}),xi=Ci.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),Ci.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.removeEventParent(this),Ci.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new R;for(var e in this._layers){var i=this._layers[e];t.extend(i.getBounds?i.getBounds():i.getLatLng())}return t}}),Li=T.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0]},initialize:function(t){m(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var i=this._getIconUrl(t);if(!i){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var n=this._createImg(i,e&&"IMG"===e.tagName?e:null);return this._setIconStyles(n,t),n},_setIconStyles:function(t,e){var i=this.options,n=i[e+"Size"];"number"==typeof n&&(n=[n,n]);var o=I(n),a=I("shadow"===e&&i.shadowAnchor||i.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(i.className||""),a&&(t.style.marginLeft=-a.x+"px",t.style.marginTop=-a.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return xt&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),Ti=Li.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return Ti.imagePath||(Ti.imagePath=this._detectIconPath()),(this.options.imagePath||Ti.imagePath)+Li.prototype._getIconUrl.call(this,t)},_detectIconPath:function(){var t=ae("div","leaflet-default-icon-path",document.body),e=oe(t,"background-image")||oe(t,"backgroundImage");return document.body.removeChild(t),null===e||0!==e.indexOf("url")?"":e.replace(/^url\(["']?/,"").replace(/marker-icon\.png["']?\)$/,"")}}),Ei=ei.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new si(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),he(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&de(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,i=e._map,n=this._marker.options.autoPanSpeed,o=this._marker.options.autoPanPadding,a=ve(e._icon),r=i.getPixelBounds(),s=i.getPixelOrigin(),l=N(r.min._subtract(s).add(o),r.max._subtract(s).subtract(o));if(!l.contains(a)){var c=I((Math.max(l.max.x,a.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,a.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,a.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,a.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(n);i.panBy(c,{animate:!1}),this._draggable._newPos._add(c),this._draggable._startPos._add(c),ye(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=M(this._adjustPan.bind(this,t))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup().fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(C(this._panRequest),this._panRequest=M(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,i=e._shadow,n=ve(e._icon),o=e._map.layerPointToLatLng(n);i&&ye(i,n),e._latlng=o,t.latlng=o,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){C(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),Oi=Mi.extend({options:{icon:new Ti,interactive:!0,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){m(this,e),this._latlng=H(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),i=t.icon.createIcon(this._icon),n=!1;i!==this._icon&&(this._icon&&this._removeIcon(),n=!0,t.title&&(i.title=t.title),"IMG"===i.tagName&&(i.alt=t.alt||"")),he(i,e),t.keyboard&&(i.tabIndex="0"),this._icon=i,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=t.icon.createShadow(this._shadow),a=!1;o!==this._shadow&&(this._removeShadow(),a=!0),o&&(he(o,e),o.alt=""),this._shadow=o,t.opacity<1&&this._updateOpacity(),n&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&a&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),re(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&re(this._shadow),this._shadow=null},_setPos:function(t){ye(this._icon,t),this._shadow&&ye(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.interactive&&(he(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ei)){var t=this.options.draggable;this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ei(this),t&&this.dragging.enable()}},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&fe(this._icon,t),this._shadow&&fe(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),Di=Mi.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return m(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t.hasOwnProperty("weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+this._renderer.options.tolerance}}),zi=Di.extend({options:{fill:!0,radius:10},initialize:function(t,e){m(this,e),this._latlng=H(t),this._radius=this.options.radius},setLatLng:function(t){return this._latlng=H(t),this.redraw(),this.fire("move",{latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return Di.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,i=this._clickTolerance(),n=[t+i,e+i];this._pxBounds=new B(this._point.subtract(n),this._point.add(n))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),Ii=zi.extend({initialize:function(t,e,n){if("number"==typeof e&&(e=i({},n,{radius:e})),m(this,e),this._latlng=H(t),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:Di.prototype.setStyle,_project:function(){var t=this._latlng.lng,e=this._latlng.lat,i=this._map,n=i.options.crs;if(n.distance===$.distance){var o=Math.PI/180,a=this._mRadius/$.R/o,r=i.project([e+a,t]),s=i.project([e-a,t]),l=r.add(s).divideBy(2),c=i.unproject(l).lat,u=Math.acos((Math.cos(a*o)-Math.sin(e*o)*Math.sin(c*o))/(Math.cos(e*o)*Math.cos(c*o)))/o;!isNaN(u)&&0!==u||(u=a/Math.cos(Math.PI/180*e)),this._point=l.subtract(i.getPixelOrigin()),this._radius=isNaN(u)?0:l.x-i.project([c,t-u]).x,this._radiusY=l.y-r.y}else{var h=n.unproject(n.project(this._latlng).subtract([this._mRadius,0]));this._point=i.latLngToLayerPoint(this._latlng),this._radius=this._point.x-i.latLngToLayerPoint(h).x}this._updateBounds()}}),Bi=Di.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){m(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e,i,n=1/0,o=null,a=pi,r=0,s=this._parts.length;r<s;r++)for(var l=this._parts[r],c=1,u=l.length;c<u;c++){var h=a(t,e=l[c-1],i=l[c],!0);h<n&&(n=h,o=a(t,e,i))}return o&&(o.distance=Math.sqrt(n)),o},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r,s=this._rings[0],l=s.length;if(!l)return null;for(e=t=0;t<l-1;t++)e+=s[t].distanceTo(s[t+1])/2;if(0===e)return this._map.layerPointToLatLng(s[0]);for(n=t=0;t<l-1;t++)if(o=s[t],a=s[t+1],e<(n+=i=o.distanceTo(a)))return r=(n-e)/i,this._map.layerPointToLatLng([a.x-r*(a.x-o.x),a.y-r*(a.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return mi(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],i=mi(t),n=0,o=t.length;n<o;n++)i?(e[n]=H(t[n]),this._bounds.extend(e[n])):e[n]=this._convertLatLngs(t[n]);return e},_project:function(){var t=new B;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),e=new D(t,t);this._pxBounds=new B([this._rawPxBounds.min.subtract(e),this._rawPxBounds.max.add(e)])},_projectLatlngs:function(t,e,i){var n,o,a=t[0]instanceof F,r=t.length;if(a){for(o=[],n=0;n<r;n++)o[n]=this._map.latLngToLayerPoint(t[n]),i.extend(o[n]);e.push(o)}else for(n=0;n<r;n++)this._projectLatlngs(t[n],e,i)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else{var e,i,n,o,a,r,s,l=this._parts;for(n=e=0,o=this._rings.length;e<o;e++)for(i=0,a=(s=this._rings[e]).length;i<a-1;i++)(r=ui(s[i],s[i+1],t,i,!0))&&(l[n]=l[n]||[],l[n].push(r[0]),r[1]===s[i+1]&&i!==a-2||(l[n].push(r[1]),n++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,i=0,n=t.length;i<n;i++)t[i]=li(t[i],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var i,n,o,a,r,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(i=0,a=this._parts.length;i<a;i++)for(n=0,o=(r=(s=this._parts[i]).length)-1;n<r;o=n++)if((e||0!==n)&&ci(t,s[o],s[n])<=l)return!0;return!1}});Bi._flat=fi;var Ni=Bi.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");var t,e,i,n,o,a,r,s,l,c=this._rings[0],u=c.length;if(!u)return null;for(a=r=s=0,t=0,e=u-1;t<u;e=t++)i=c[t],n=c[e],o=i.y*n.x-n.y*i.x,r+=(i.x+n.x)*o,s+=(i.y+n.y)*o,a+=3*o;return l=0===a?c[0]:[r/a,s/a],this._map.layerPointToLatLng(l)},_convertLatLngs:function(t){var e=Bi.prototype._convertLatLngs.call(this,t),i=e.length;return 2<=i&&e[0]instanceof F&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){Bi.prototype._setLatLngs.call(this,t),mi(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return mi(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new D(e,e);if(t=new B(t.min.subtract(i),t.max.add(i)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,a=this._rings.length;o<a;o++)(n=_i(this._rings[o],t,!0)).length&&this._parts.push(n)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,i,n,o,a,r,s,l,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(o=0,s=this._parts.length;o<s;o++)for(a=0,r=(l=(e=this._parts[o]).length)-1;a<l;r=a++)i=e[a],n=e[r],i.y>t.y!=n.y>t.y&&t.x<(n.x-i.x)*(t.y-i.y)/(n.y-i.y)+i.x&&(c=!c);return c||Bi.prototype._containsPoint.call(this,t,!0)}}),Ri=xi.extend({initialize:function(t,e){m(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,i,n,o=y(t)?t:t.features;if(o){for(e=0,i=o.length;e<i;e++)((n=o[e]).geometries||n.geometry||n.features||n.coordinates)&&this.addData(n);return this}var a=this.options;if(a.filter&&!a.filter(t))return this;var r=ji(t,a);return r?(r.feature=Vi(t),r.defaultOptions=r.options,this.resetStyle(r),a.onEachFeature&&a.onEachFeature(t,r),this.addLayer(r)):this},resetStyle:function(t){return t.options=i({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ji(t,e){var i,n,o,a,r="Feature"===t.type?t.geometry:t,s=r?r.coordinates:null,l=[],c=e&&e.pointToLayer,u=e&&e.coordsToLatLng||Fi;if(!s&&!r)return null;switch(r.type){case"Point":return i=u(s),c?c(t,i):new Oi(i);case"MultiPoint":for(o=0,a=s.length;o<a;o++)i=u(s[o]),l.push(c?c(t,i):new Oi(i));return new xi(l);case"LineString":case"MultiLineString":return n=Hi(s,"LineString"===r.type?0:1,u),new Bi(n,e);case"Polygon":case"MultiPolygon":return n=Hi(s,"Polygon"===r.type?1:2,u),new Ni(n,e);case"GeometryCollection":for(o=0,a=r.geometries.length;o<a;o++){var h=ji({geometry:r.geometries[o],type:"Feature",properties:t.properties},e);h&&l.push(h)}return new xi(l);default:throw new Error("Invalid GeoJSON object.")}}function Fi(t){return new F(t[1],t[0],t[2])}function Hi(t,e,i){for(var n,o=[],a=0,r=t.length;a<r;a++)n=e?Hi(t[a],e-1,i):(i||Fi)(t[a]),o.push(n);return o}function Wi(t,e){return e="number"==typeof e?e:6,void 0!==t.alt?[h(t.lng,e),h(t.lat,e),h(t.alt,e)]:[h(t.lng,e),h(t.lat,e)]}function Zi(t,e,i,n){for(var o=[],a=0,r=t.length;a<r;a++)o.push(e?Zi(t[a],e-1,i,n):Wi(t[a],n));return!e&&i&&o.push(o[0]),o}function $i(t,e){return t.feature?i({},t.feature,{geometry:e}):Vi(e)}function Vi(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}var Ui={toGeoJSON:function(t){return $i(this,{type:"Point",coordinates:Wi(this.getLatLng(),t)})}};function qi(t,e){return new Ri(t,e)}Oi.include(Ui),Ii.include(Ui),zi.include(Ui),Bi.include({toGeoJSON:function(t){var e=!mi(this._latlngs);return $i(this,{type:(e?"Multi":"")+"LineString",coordinates:Zi(this._latlngs,e?1:0,!1,t)})}}),Ni.include({toGeoJSON:function(t){var e=!mi(this._latlngs),i=e&&!mi(this._latlngs[0]),n=Zi(this._latlngs,i?2:e?1:0,!0,t);return e||(n=[n]),$i(this,{type:(i?"Multi":"")+"Polygon",coordinates:n})}}),Ci.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(i){e.push(i.toGeoJSON(t).geometry.coordinates)}),$i(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===e)return this.toMultiPoint(t);var i="GeometryCollection"===e,n=[];return this.eachLayer(function(e){if(e.toGeoJSON){var o=e.toGeoJSON(t);if(i)n.push(o.geometry);else{var a=Vi(o);"FeatureCollection"===a.type?n.push.apply(n,a.features):n.push(a)}}}),i?$i(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n}}});var Gi=qi,Yi=Mi.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,i){this._url=t,this._bounds=j(e),m(this,i)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(he(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){re(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&le(this._image),this},bringToBack:function(){return this._map&&ce(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=j(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:ae("img");he(e,"leaflet-image-layer"),this._zoomAnimated&&he(e,"leaflet-zoom-animated"),this.options.className&&he(e,this.options.className),e.onselectstart=u,e.onmousemove=u,e.onload=a(this.fire,this,"load"),e.onerror=a(this._overlayOnError,this,"error"),!this.options.crossOrigin&&""!==this.options.crossOrigin||(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),i=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;_e(this._image,i,e)},_reset:function(){var t=this._image,e=new B(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),i=e.getSize();ye(t,e.min),t.style.width=i.x+"px",t.style.height=i.y+"px"},_updateOpacity:function(){fe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)}}),Ki=Yi.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:ae("video");if(he(e,"leaflet-image-layer"),this._zoomAnimated&&he(e,"leaflet-zoom-animated"),e.onselectstart=u,e.onmousemove=u,e.onloadeddata=a(this.fire,this,"load"),t){for(var i=e.getElementsByTagName("source"),n=[],o=0;o<i.length;o++)n.push(i[o].src);this._url=0<i.length?n:[e.src]}else{y(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&e.style.hasOwnProperty("objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop;for(var r=0;r<this._url.length;r++){var s=ae("source");s.src=this._url[r],e.appendChild(s)}}}}),Qi=Yi.extend({_initImage:function(){var t=this._image=this._url;he(t,"leaflet-image-layer"),this._zoomAnimated&&he(t,"leaflet-zoom-animated"),t.onselectstart=u,t.onmousemove=u}}),Ji=Mi.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(t,e){m(this,t),this._source=e},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&fe(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&fe(this._container,1),this.bringToFront()},onRemove:function(t){t._fadeAnimated?(fe(this._container,0),this._removeTimeout=setTimeout(a(re,void 0,this._container),200)):re(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=H(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&le(this._container),this},bringToBack:function(){return this._map&&ce(this._container),this},_prepareOpen:function(t,e,i){if(e instanceof Mi||(i=e,e=t),e instanceof xi)for(var n in t._layers){e=t._layers[n];break}if(!i)if(e.getCenter)i=e.getCenter();else{if(!e.getLatLng)throw new Error("Unable to get source layer LatLng.");i=e.getLatLng()}return this._source=e,this.update(),i},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=I(this.options.offset),i=this._getAnchor();this._zoomAnimated?ye(this._container,t.add(i)):e=e.add(t).add(i);var n=this._containerBottom=-e.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+e.x;this._container.style.bottom=n+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),Xi=Ji.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return t.openPopup(this),this},onAdd:function(t){Ji.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Di||this._source.on("preclick",De))},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Di||this._source.off("preclick",De))},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t="leaflet-popup",e=this._container=ae("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),i=this._wrapper=ae("div",t+"-content-wrapper",e);if(this._contentNode=ae("div",t+"-content",i),Ie(i),ze(this._contentNode),xe(i,"contextmenu",De),this._tipContainer=ae("div",t+"-tip-container",e),this._tip=ae("div",t+"-tip",this._tipContainer),this.options.closeButton){var n=this._closeButton=ae("a",t+"-close-button",e);n.href="#close",n.innerHTML="&#215;",xe(n,"click",this._onCloseButtonClick,this)}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var i=t.offsetWidth;i=Math.min(i,this.options.maxWidth),i=Math.max(i,this.options.minWidth),e.width=i+1+"px",e.whiteSpace="",e.height="";var n=t.offsetHeight,o=this.options.maxHeight,a="leaflet-popup-scrolled";o&&o<n?(e.height=o+"px",he(t,a)):de(t,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();ye(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(oe(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new D(this._containerLeft,-i-this._containerBottom);o._add(ve(this._container));var a=t.layerPointToContainerPoint(o),r=I(this.options.autoPanPadding),s=I(this.options.autoPanPaddingTopLeft||r),l=I(this.options.autoPanPaddingBottomRight||r),c=t.getSize(),u=0,h=0;a.x+n+l.x>c.x&&(u=a.x+n-c.x+l.x),a.x-u-s.x<0&&(u=a.x-s.x),a.y+i+l.y>c.y&&(h=a.y+i-c.y+l.y),a.y-h-s.y<0&&(h=a.y-s.y),(u||h)&&t.fire("autopanstart").panBy([u,h])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return I(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ge.mergeOptions({closePopupOnClick:!0}),Ge.include({openPopup:function(t,e,i){return t instanceof Xi||(t=new Xi(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),Mi.include({bindPopup:function(t,e){return t instanceof Xi?(m(t,e),(this._popup=t)._source=this):(this._popup&&!e||(this._popup=new Xi(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof Di?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var tn=Ji.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Ji.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Ji.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Ji.prototype.getEvents.call(this);return St&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ae("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e=this._map,i=this._container,n=e.latLngToContainerPoint(e.getCenter()),o=e.layerPointToContainerPoint(t),a=this.options.direction,r=i.offsetWidth,s=i.offsetHeight,l=I(this.options.offset),c=this._getAnchor();t="top"===a?t.add(I(-r/2+l.x,-s+l.y+c.y,!0)):"bottom"===a?t.subtract(I(r/2-l.x,-l.y,!0)):"center"===a?t.subtract(I(r/2+l.x,s/2-c.y+l.y,!0)):"right"===a||"auto"===a&&o.x<n.x?(a="right",t.add(I(l.x+c.x,c.y-s/2+l.y,!0))):(a="left",t.subtract(I(r+c.x-l.x,s/2-c.y-l.y,!0))),de(i,"leaflet-tooltip-right"),de(i,"leaflet-tooltip-left"),de(i,"leaflet-tooltip-top"),de(i,"leaflet-tooltip-bottom"),he(i,"leaflet-tooltip-"+a),ye(i,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&fe(this._container,t)},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);this._setPosition(e)},_getAnchor:function(){return I(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Ge.include({openTooltip:function(t,e,i){return t instanceof tn||(t=new tn(i).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:this.addLayer(t)},closeTooltip:function(t){return t&&this.removeLayer(t),this}}),Mi.include({bindTooltip:function(t,e){return t instanceof tn?(m(t,e),(this._tooltip=t)._source=this):(this._tooltip&&!e||(this._tooltip=new tn(e,this)),this._tooltip.setContent(t)),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){if(t||!this._tooltipHandlersAdded){var e=t?"off":"on",i={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?i.add=this._openTooltip:(i.mouseover=this._openTooltip,i.mouseout=this.closeTooltip,this._tooltip.options.sticky&&(i.mousemove=this._moveTooltip),St&&(i.click=this._openTooltip)),this[e](i),this._tooltipHandlersAdded=!t}},openTooltip:function(t,e){return this._tooltip&&this._map&&(e=this._tooltip._prepareOpen(this,t,e),this._map.openTooltip(this._tooltip,e),this._tooltip.options.interactive&&this._tooltip._container&&(he(this._tooltip._container,"leaflet-clickable"),this.addInteractiveTarget(this._tooltip._container))),this},closeTooltip:function(){return this._tooltip&&(this._tooltip._close(),this._tooltip.options.interactive&&this._tooltip._container&&(de(this._tooltip._container,"leaflet-clickable"),this.removeInteractiveTarget(this._tooltip._container))),this},toggleTooltip:function(t){return this._tooltip&&(this._tooltip._map?this.closeTooltip():this.openTooltip(t)),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_openTooltip:function(t){var e=t.layer||t.target;this._tooltip&&this._map&&this.openTooltip(e,this._tooltip.options.sticky?t.latlng:void 0)},_moveTooltip:function(t){var e,i,n=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(e=this._map.mouseEventToContainerPoint(t.originalEvent),i=this._map.containerPointToLayerPoint(e),n=this._map.layerPointToLatLng(i)),this._tooltip.setLatLng(n)}});var en=Li.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var e=t&&"DIV"===t.tagName?t:document.createElement("div"),i=this.options;if(i.html instanceof Element?(se(e),e.appendChild(i.html)):e.innerHTML=!1!==i.html?i.html:"",i.bgPos){var n=I(i.bgPos);e.style.backgroundPosition=-n.x+"px "+-n.y+"px"}return this._setIconStyles(e,"icon"),e},createShadow:function(){return null}});Li.Default=Ti;var nn=Mi.extend({options:{tileSize:256,opacity:1,updateWhenIdle:bt,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){m(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),re(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(le(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ce(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof D?t:new D(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,i=this.getPane().children,n=-t(-1/0,1/0),o=0,a=i.length;o<a;o++)e=i[o].style.zIndex,i[o]!==this._container&&e&&(n=t(n,+e));isFinite(n)&&(this.options.zIndex=n+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!it){fe(this._container,this.options.opacity);var t=+new Date,e=!1,i=!1;for(var n in this._tiles){var o=this._tiles[n];if(o.current&&o.loaded){var a=Math.min(1,(t-o.loaded)/200);fe(o.el,a),a<1?e=!0:(o.active?i=!0:this._onOpaqueTile(o),o.active=!0)}}i&&!this._noPrune&&this._pruneTiles(),e&&(C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this))}},_onOpaqueTile:u,_initContainer:function(){this._container||(this._container=ae("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var i in this._levels)this._levels[i].el.children.length||i===t?(this._levels[i].el.style.zIndex=e-Math.abs(t-i),this._onUpdateLevel(i)):(re(this._levels[i].el),this._removeTilesAtZoom(i),this._onRemoveLevel(i),delete this._levels[i]);var n=this._levels[t],o=this._map;return n||((n=this._levels[t]={}).el=ae("div","leaflet-tile-container leaflet-zoom-animated",this._container),n.el.style.zIndex=e,n.origin=o.project(o.unproject(o.getPixelOrigin()),t).round(),n.zoom=t,this._setZoomTransform(n,o.getCenter(),o.getZoom()),n.el.offsetWidth,this._onCreateLevel(n)),this._level=n}},_onUpdateLevel:u,_onRemoveLevel:u,_onCreateLevel:u,_pruneTiles:function(){if(this._map){var t,e,i=this._map.getZoom();if(i>this.options.maxZoom||i<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(e=this._tiles[t]).retain=e.current;for(t in this._tiles)if((e=this._tiles[t]).current&&!e.active){var n=e.coords;this._retainParent(n.x,n.y,n.z,n.z-5)||this._retainChildren(n.x,n.y,n.z,n.z+2)}for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)re(this._levels[t].el),this._onRemoveLevel(t),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,i,n){var o=Math.floor(t/2),a=Math.floor(e/2),r=i-1,s=new D(+o,+a);s.z=+r;var l=this._tileCoordsToKey(s),c=this._tiles[l];return c&&c.active?c.retain=!0:(c&&c.loaded&&(c.retain=!0),n<r&&this._retainParent(o,a,r,n))},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var a=2*e;a<2*e+2;a++){var r=new D(o,a);r.z=i+1;var s=this._tileCoordsToKey(r),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),i+1<n&&this._retainChildren(o,a,i+1,n))}},_resetView:function(t){var e=t&&(t.pinch||t.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),e,e)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,i,n){var o=this._clampZoom(Math.round(e));(void 0!==this.options.maxZoom&&o>this.options.maxZoom||void 0!==this.options.minZoom&&o<this.options.minZoom)&&(o=void 0);var a=this.options.updateWhenZooming&&o!==this._tileZoom;n&&!a||(this._tileZoom=o,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==o&&this._update(t),i||this._pruneTiles(),this._noPrune=!!i),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var i in this._levels)this._setZoomTransform(this._levels[i],t,e)},_setZoomTransform:function(t,e,i){var n=this._map.getZoomScale(i,t.zoom),o=t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e,i)).round();vt?_e(t.el,o,n):ye(t.el,o)},_resetGrid:function(){var t=this._map,e=t.options.crs,i=this._tileSize=this.getTileSize(),n=this._tileZoom,o=this._map.getPixelWorldBounds(this._tileZoom);o&&(this._globalTileRange=this._pxBoundsToTileRange(o)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],n).x/i.x),Math.ceil(t.project([0,e.wrapLng[1]],n).x/i.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],n).y/i.x),Math.ceil(t.project([e.wrapLat[1],0],n).y/i.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,i=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(i,this._tileZoom),o=e.project(t,this._tileZoom).floor(),a=e.getSize().divideBy(2*n);return new B(o.subtract(a),o.add(a))},_update:function(t){var e=this._map;if(e){var i=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var n=this._getTiledPixelBounds(t),o=this._pxBoundsToTileRange(n),a=o.getCenter(),r=[],s=this.options.keepBuffer,l=new B(o.getBottomLeft().subtract([s,-s]),o.getTopRight().add([s,-s]));if(!(isFinite(o.min.x)&&isFinite(o.min.y)&&isFinite(o.max.x)&&isFinite(o.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var c in this._tiles){var u=this._tiles[c].coords;u.z===this._tileZoom&&l.contains(new D(u.x,u.y))||(this._tiles[c].current=!1)}if(1<Math.abs(i-this._tileZoom))this._setView(t,i);else{for(var h=o.min.y;h<=o.max.y;h++)for(var d=o.min.x;d<=o.max.x;d++){var p=new D(d,h);if(p.z=this._tileZoom,this._isValidTile(p)){var m=this._tiles[this._tileCoordsToKey(p)];m?m.current=!0:r.push(p)}}if(r.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));var f=document.createDocumentFragment();for(d=0;d<r.length;d++)this._addTile(r[d],f);this._level.el.appendChild(f)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var i=this._globalTileRange;if(!e.wrapLng&&(t.x<i.min.x||t.x>i.max.x)||!e.wrapLat&&(t.y<i.min.y||t.y>i.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return j(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i);return[e.unproject(n,t.z),e.unproject(o,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new R(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new D(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(re(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){he(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=u,t.onmousemove=u,it&&this.options.opacity<1&&fe(t,this.options.opacity),at&&!rt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),a(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&M(a(this._tileReady,this,t,null,o)),ye(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);(i=this._tiles[n])&&(i.loaded=+new Date,this._map._fadeAnimated?(fe(i.el,0),C(this._fadeFrame),this._fadeFrame=M(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(he(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),it||!this._map._fadeAnimated?M(this._pruneTiles,this):setTimeout(a(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new D(this._wrapX?c(t.x,this._wrapX):t.x,this._wrapY?c(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new B(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),on=nn.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=m(this,e)).detectRetina&&xt&&0<e.maxZoom&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),at||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return xe(i,"load",a(this._tileOnLoad,this,e,i)),xe(i,"error",a(this._tileOnError,this,e,i)),!this.options.crossOrigin&&""!==this.options.crossOrigin||(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i.alt="",i.setAttribute("role","presentation"),i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:xt?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=n),e["-y"]=n}return _(this._url,i(e,this.options))},_tileOnLoad:function(t,e){it?setTimeout(a(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=u,e.onerror=u,e.complete||(e.src=b,re(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return lt||e.el.setAttribute("src",b),nn.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(this._map&&(!i||i.getAttribute("src")!==b))return nn.prototype._tileReady.call(this,t,e,i)}});function an(t,e){return new on(t,e)}var rn=on.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var n=i({},this.defaultWmsParams);for(var o in e)o in this.options||(n[o]=e[o]);var a=(e=m(this,e)).detectRetina&&xt?2:1,r=this.getTileSize();n.width=r.x*a,n.height=r.y*a,this.wmsParams=n},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,on.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=N(i.project(e[0]),i.project(e[1])),o=n.min,a=n.max,r=(1.3<=this._wmsVersion&&this._crs===Pi?[o.y,o.x,a.y,a.x]:[o.x,o.y,a.x,a.y]).join(","),s=on.prototype.getTileUrl.call(this,t);return s+f(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return i(this.wmsParams,t),e||this.redraw(),this}});on.WMS=rn,an.wms=function(t,e){return new rn(t,e)};var sn=Mi.extend({options:{padding:.1,tolerance:0},initialize:function(t){m(this,t),s(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&he(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=ve(this._container),o=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,e),r=this._map.project(t,e).subtract(a),s=o.multiplyBy(-i).add(n).add(o).subtract(r);vt?_e(this._container,s,i):ye(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new B(i,i.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ln=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){sn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");xe(t,"mousemove",l(this._onMouseMove,32,this),this),xe(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),xe(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){C(this._redrawRequest),delete this._ctx,re(this._container),Te(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=xt?2:1;ye(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",xt&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){sn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t);var e=(this._layers[s(t)]=t)._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[s(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,i,n=t.options.dashArray.split(/[, ]+/),o=[];for(i=0;i<n.length;i++){if(e=Number(n[i]),isNaN(e))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||M(this._redraw,this))},_extendRedrawBounds:function(t){if(t._pxBounds){var e=(t.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new B,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t=this._redrawBounds;if(t){var e=t.getSize();this._ctx.clearRect(t.min.x,t.min.y,e.x,e.y)}else this._ctx.clearRect(0,0,this._container.width,this._container.height)},_draw:function(){var t,e=this._redrawBounds;if(this._ctx.save(),e){var i=e.getSize();this._ctx.beginPath(),this._ctx.rect(e.min.x,e.min.y,i.x,i.y),this._ctx.clip()}this._drawing=!0;for(var n=this._drawFirst;n;n=n.next)t=n.layer,(!e||t._pxBounds&&t._pxBounds.intersects(e))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var i,n,o,a,r=t._parts,s=r.length,l=this._ctx;if(s){for(l.beginPath(),i=0;i<s;i++){for(n=0,o=r[i].length;n<o;n++)a=r[i][n],l[n?"lineTo":"moveTo"](a.x,a.y);e&&l.closePath()}this._fillStroke(l,t)}}},_updateCircle:function(t){if(this._drawing&&!t._empty()){var e=t._point,i=this._ctx,n=Math.max(Math.round(t._radius),1),o=(Math.max(Math.round(t._radiusY),1)||n)/n;1!=o&&(i.save(),i.scale(1,o)),i.beginPath(),i.arc(e.x,e.y/o,n,0,2*Math.PI,!1),1!=o&&i.restore(),this._fillStroke(i,t)}},_fillStroke:function(t,e){var i=e.options;i.fill&&(t.globalAlpha=i.fillOpacity,t.fillStyle=i.fillColor||i.color,t.fill(i.fillRule||"evenodd")),i.stroke&&0!==i.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=i.opacity,t.lineWidth=i.weight,t.strokeStyle=i.color,t.lineCap=i.lineCap,t.lineJoin=i.lineJoin,t.stroke())},_onClick:function(t){for(var e,i,n=this._map.mouseEventToLayerPoint(t),o=this._drawFirst;o;o=o.next)(e=o.layer).options.interactive&&e._containsPoint(n)&&!this._map._draggableMoved(e)&&(i=e);i&&(Ze(t),this._fireEvent([i],t))},_onMouseMove:function(t){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var e=this._map.mouseEventToLayerPoint(t);this._handleMouseHover(t,e)}},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(de(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null)},_handleMouseHover:function(t,e){for(var i,n,o=this._drawFirst;o;o=o.next)(i=o.layer).options.interactive&&i._containsPoint(e)&&(n=i);n!==this._hoveredLayer&&(this._handleMouseOut(t),n&&(he(this._container,"leaflet-interactive"),this._fireEvent([n],t,"mouseover"),this._hoveredLayer=n)),this._hoveredLayer&&this._fireEvent([this._hoveredLayer],t)},_fireEvent:function(t,e,i){this._map._fireDOMEvent(e,i||e.type,t)},_bringToFront:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;i&&((i.prev=n)?n.next=i:i&&(this._drawFirst=i),e.prev=this._drawLast,(this._drawLast.next=e).next=null,this._drawLast=e,this._requestRedraw(t))}},_bringToBack:function(t){var e=t._order;if(e){var i=e.next,n=e.prev;n&&((n.next=i)?i.prev=n:n&&(this._drawLast=n),e.prev=null,e.next=this._drawFirst,this._drawFirst.prev=e,this._drawFirst=e,this._requestRedraw(t))}}});function cn(t){return Lt?new ln(t):null}var un=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),hn={_initContainer:function(){this._container=ae("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(sn.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=un("shape");he(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=un("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;re(e),t.removeInteractiveTarget(e),delete this._layers[s(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=un("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=y(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=un("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){le(t._container)},_bringToBack:function(t){ce(t._container)}},dn=Et?un:J,pn=sn.extend({getEvents:function(){var t=sn.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=dn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=dn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){re(this._container),Te(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){sn.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),ye(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=dn("path");t.options.className&&he(e,t.options.className),t.options.interactive&&he(e,"leaflet-interactive"),this._updateStyle(t),this._layers[s(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){re(t._path),t.removeInteractiveTarget(t._path),delete this._layers[s(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,X(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n="a"+i+","+(Math.max(Math.round(t._radiusY),1)||i)+" 0 1,0 ",o=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+n+2*i+",0 "+n+2*-i+",0 ";this._setPath(t,o)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){le(t._path)},_bringToBack:function(t){ce(t._path)}});function mn(t){return Tt||Et?new pn(t):null}Et&&pn.include(hn),Ge.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&cn(t)||mn(t)}});var fn=Ni.extend({initialize:function(t,e){Ni.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=j(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});pn.create=dn,pn.pointsToPath=X,Ri.geometryToLayer=ji,Ri.coordsToLatLng=Fi,Ri.coordsToLatLngs=Hi,Ri.latLngToCoords=Wi,Ri.latLngsToCoords=Zi,Ri.getFeature=$i,Ri.asFeature=Vi,Ge.mergeOptions({boxZoom:!0});var gn=ei.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){xe(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Te(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){re(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),Yt(),we(),this._startPoint=this._map.mouseEventToContainerPoint(t),xe(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ae("div","leaflet-zoom-box",this._container),he(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new B(this._point,this._startPoint),i=e.getSize();ye(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(re(this._box),de(this._container,"leaflet-crosshair")),Kt(),Ae(),Te(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(a(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ge.addInitHook("addHandler","boxZoom",gn),Ge.mergeOptions({doubleClickZoom:!0});var _n=ei.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;"center"===e.options.doubleClickZoom?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});Ge.addInitHook("addHandler","doubleClickZoom",_n),Ge.mergeOptions({dragging:!0,inertia:!rt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var yn=ei.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new si(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}he(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){de(this._map._container,"leaflet-grab"),de(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=j(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,a=(n+e+i)%t-e-i,r=Math.abs(o+i)<Math.abs(a+i)?o:a;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=r},_onDragEnd:function(t){var e=this._map,i=e.options,n=!i.inertia||this._times.length<2;if(e.fire("dragend",t),n)e.fire("moveend");else{this._prunePositions(+new Date);var o=this._lastPos.subtract(this._positions[0]),a=(this._lastTime-this._times[0])/1e3,r=i.easeLinearity,s=o.multiplyBy(r/a),l=s.distanceTo([0,0]),c=Math.min(i.inertiaMaxSpeed,l),u=s.multiplyBy(c/l),h=c/(i.inertiaDeceleration*r),d=u.multiplyBy(-h/2).round();d.x||d.y?(d=e._limitOffset(d,e.options.maxBounds),M(function(){e.panBy(d,{duration:h,easeLinearity:r,noMoveStart:!0,animate:!0})})):e.fire("moveend")}}});Ge.addInitHook("addHandler","dragging",yn),Ge.mergeOptions({keyboard:!0,keyboardPanDelta:80});var vn=ei.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),xe(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Te(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var t=document.body,e=document.documentElement,i=t.scrollTop||e.scrollTop,n=t.scrollLeft||e.scrollLeft;this._map._container.focus(),window.scrollTo(n,i)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){var e,i,n=this._panKeys={},o=this.keyCodes;for(e=0,i=o.left.length;e<i;e++)n[o.left[e]]=[-1*t,0];for(e=0,i=o.right.length;e<i;e++)n[o.right[e]]=[t,0];for(e=0,i=o.down.length;e<i;e++)n[o.down[e]]=[0,t];for(e=0,i=o.up.length;e<i;e++)n[o.up[e]]=[0,-1*t]},_setZoomDelta:function(t){var e,i,n=this._zoomKeys={},o=this.keyCodes;for(e=0,i=o.zoomIn.length;e<i;e++)n[o.zoomIn[e]]=t;for(e=0,i=o.zoomOut.length;e<i;e++)n[o.zoomOut[e]]=-t},_addHooks:function(){xe(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Te(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,i=t.keyCode,n=this._map;if(i in this._panKeys)n._panAnim&&n._panAnim._inProgress||(e=this._panKeys[i],t.shiftKey&&(e=I(e).multiplyBy(3)),n.panBy(e),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds));else if(i in this._zoomKeys)n.setZoom(n.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[i]);else{if(27!==i||!n._popup||!n._popup.options.closeOnEscapeKey)return;n.closePopup()}Ne(t)}}});Ge.addInitHook("addHandler","keyboard",vn),Ge.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var bn=ei.extend({addHooks:function(){xe(this._map._container,"mousewheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Te(this._map._container,"mousewheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=Fe(t),i=this._map.options.wheelDebounceTime;this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(i-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(a(this._performZoom,this),n),Ne(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),i=this._map.options.zoomSnap||0;t._stop();var n=this._delta/(4*this._map.options.wheelPxPerZoomLevel),o=4*Math.log(2/(1+Math.exp(-Math.abs(n))))/Math.LN2,a=i?Math.ceil(o/i)*i:o,r=t._limitZoom(e+(0<this._delta?a:-a))-e;this._delta=0,this._startTime=null,r&&("center"===t.options.scrollWheelZoom?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});Ge.addInitHook("addHandler","scrollWheelZoom",bn),Ge.mergeOptions({tap:!0,tapTolerance:15});var wn=ei.extend({addHooks:function(){xe(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Te(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Be(t),this._fireClick=!0,1<t.touches.length)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],i=e.target;this._startPos=this._newPos=new D(e.clientX,e.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&he(i,"leaflet-active"),this._holdTimeout=setTimeout(a(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))},this),1e3),this._simulateEvent("mousedown",e),xe(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Te(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],i=e.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&de(i,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new D(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var i=document.createEvent("MouseEvents");i._simulated=!0,e.target._simulatedClick=!0,i.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(i)}});St&&!Pt&&Ge.addInitHook("addHandler","tap",wn),Ge.mergeOptions({touchZoom:St&&!rt,bounceAtZoomLimits:!0});var An=ei.extend({addHooks:function(){he(this._map._container,"leaflet-touch-zoom"),xe(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){de(this._map._container,"leaflet-touch-zoom"),Te(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),xe(document,"touchmove",this._onTouchMove,this),xe(document,"touchend",this._onTouchEnd,this),Be(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMinZoom()&&o<1||this._zoom>e.getMaxZoom()&&1<o)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==o)return}else{var r=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(1==o&&0===r.x&&0===r.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(r),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),C(this._animRequest);var s=a(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=M(s,this,!0),Be(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,C(this._animRequest),Te(document,"touchmove",this._onTouchMove),Te(document,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ge.addInitHook("addHandler","touchZoom",An),Ge.BoxZoom=gn,Ge.DoubleClickZoom=_n,Ge.Drag=yn,Ge.Keyboard=vn,Ge.ScrollWheelZoom=bn,Ge.Tap=wn,Ge.TouchZoom=An,Object.freeze=e,t.version="1.5.1+HEAD.2e3e0ff",t.Control=Ke,t.control=Ye,t.Browser=Dt,t.Evented=O,t.Mixin=ni,t.Util=x,t.Class=T,t.Handler=ei,t.extend=i,t.bind=a,t.stamp=s,t.setOptions=m,t.DomEvent=Ue,t.DomUtil=Ce,t.PosAnimation=qe,t.Draggable=si,t.LineUtil=gi,t.PolyUtil=vi,t.Point=D,t.point=I,t.Bounds=B,t.bounds=N,t.Transformation=q,t.transformation=G,t.Projection=Ai,t.LatLng=F,t.latLng=H,t.LatLngBounds=R,t.latLngBounds=j,t.CRS=Z,t.GeoJSON=Ri,t.geoJSON=qi,t.geoJson=Gi,t.Layer=Mi,t.LayerGroup=Ci,t.layerGroup=function(t,e){return new Ci(t,e)},t.FeatureGroup=xi,t.featureGroup=function(t){return new xi(t)},t.ImageOverlay=Yi,t.imageOverlay=function(t,e,i){return new Yi(t,e,i)},t.VideoOverlay=Ki,t.videoOverlay=function(t,e,i){return new Ki(t,e,i)},t.SVGOverlay=Qi,t.svgOverlay=function(t,e,i){return new Qi(t,e,i)},t.DivOverlay=Ji,t.Popup=Xi,t.popup=function(t,e){return new Xi(t,e)},t.Tooltip=tn,t.tooltip=function(t,e){return new tn(t,e)},t.Icon=Li,t.icon=function(t){return new Li(t)},t.DivIcon=en,t.divIcon=function(t){return new en(t)},t.Marker=Oi,t.marker=function(t,e){return new Oi(t,e)},t.TileLayer=on,t.tileLayer=an,t.GridLayer=nn,t.gridLayer=function(t){return new nn(t)},t.SVG=pn,t.svg=mn,t.Renderer=sn,t.Canvas=ln,t.canvas=cn,t.Path=Di,t.CircleMarker=zi,t.circleMarker=function(t,e){return new zi(t,e)},t.Circle=Ii,t.circle=function(t,e,i){return new Ii(t,e,i)},t.Polyline=Bi,t.polyline=function(t,e){return new Bi(t,e)},t.Polygon=Ni,t.polygon=function(t,e){return new Ni(t,e)},t.Rectangle=fn,t.rectangle=function(t,e){return new fn(t,e)},t.Map=Ge,t.map=function(t,e){return new Ge(t,e)};var kn=window.L;t.noConflict=function(){return window.L=kn,this},window.L=t}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t.Leaflet=t.Leaflet||{},t.Leaflet.markercluster=t.Leaflet.markercluster||{}))}(this,function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,i=this._zoom;if(t.__parent)for(;e.__parent._zoom>=i;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var i,n=this._featureGroup,o=this._nonPointGroup,a=this.options.chunkedLoading,r=this.options.chunkInterval,s=this.options.chunkProgress,l=t.length,c=0,u=!0;if(this._map){var h=(new Date).getTime(),d=L.bind(function(){for(var p=(new Date).getTime();l>c;c++){if(a&&0==c%200)if((new Date).getTime()-p>r)break;if((i=t[c])instanceof L.LayerGroup)u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),l=t.length;else if(i.getLatLng){if(!this.hasLayer(i)&&(this._addLayer(i,this._maxZoom),e||this.fire("layeradd",{layer:i}),i.__parent&&2===i.__parent.getChildCount())){var m=i.__parent.getAllChildMarkers(),f=m[0]===i?m[1]:m[0];n.removeLayer(f)}}else o.addLayer(i),e||this.fire("layeradd",{layer:i})}s&&s(c,l,(new Date).getTime()-h),c===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(d,this.options.chunkDelay)},this);d()}else for(var p=this._needsClustering;l>c;c++)(i=t[c])instanceof L.LayerGroup?(u&&(t=t.slice(),u=!1),this._extractNonGroupLayers(i,t),l=t.length):i.getLatLng?this.hasLayer(i)||p.push(i):o.addLayer(i);return this},removeLayers:function(t){var e,i,n=t.length,o=this._featureGroup,a=this._nonPointGroup,r=!0;if(!this._map){for(e=0;n>e;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):(this._arraySplice(this._needsClustering,i),a.removeLayer(i),this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i}));return this}if(this._unspiderfy){this._unspiderfy();var s=t.slice(),l=n;for(e=0;l>e;e++)(i=s[e])instanceof L.LayerGroup?(this._extractNonGroupLayers(i,s),l=s.length):this._unspiderfyLayer(i)}for(e=0;n>e;e++)(i=t[e])instanceof L.LayerGroup?(r&&(t=t.slice(),r=!1),this._extractNonGroupLayers(i,t),n=t.length):i.__parent?(this._removeLayer(i,!0,!0),this.fire("layerremove",{layer:i}),o.hasLayer(i)&&(o.removeLayer(i),i.clusterShow&&i.clusterShow())):(a.removeLayer(i),this.fire("layerremove",{layer:i}));return this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),this},clearLayers:function(){return this._map||(this._needsClustering=[],this._needsRemoving=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){t.off(this._childMarkerEventHandlers,this),delete t.__parent},this),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;this._topClusterLevel&&t.extend(this._topClusterLevel._bounds);for(var e=this._needsClustering.length-1;e>=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var i,n,o,a=this._needsClustering.slice(),r=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(a),n=a.length-1;n>=0;n--){for(i=!0,o=r.length-1;o>=0;o--)if(r[o].layer===a[n]){i=!1;break}i&&t.call(e,a[n])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer(function(e){t.push(e)}),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer(function(i){L.stamp(i)===t&&(e=i)}),e},hasLayer:function(t){if(!t)return!1;var e,i=this._needsClustering;for(e=i.length-1;e>=0;e--)if(i[e]===t)return!0;for(e=(i=this._needsRemoving).length-1;e>=0;e--)if(i[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){"function"!=typeof e&&(e=function(){});var i=function(){!t._icon&&!t.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",i,this),this.off("animationend",i,this),t._icon?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<Math.round(this._map._zoom)?(this._map.on("moveend",i,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",i,this),this.on("animationend",i,this),t.__parent.zoomToBounds())},onAdd:function(t){var e,i,n;if(this._map=t,!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.addTo(t),this._nonPointGroup.addTo(t),this._gridClusters||this._generateInitialClusters(),this._maxLat=t.options.crs.projection.MAX_LATITUDE,e=0,i=this._needsRemoving.length;i>e;e++)(n=this._needsRemoving[e]).newlatlng=n.layer._latlng,n.layer._latlng=n.latlng;for(e=0,i=this._needsRemoving.length;i>e;e++)n=this._needsRemoving[e],this._removeLayer(n.layer,!0),n.layer._latlng=n.newlatlng;this._needsRemoving=[],this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds(),this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),i=this._needsClustering,this._needsClustering=[],this.addLayers(i,!0)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),delete this._maxLat,this._hideCoverage(),this._featureGroup.remove(),this._nonPointGroup.remove(),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var i=t.length-1;i>=0;i--)if(t[i]===e)return t.splice(i,1),!0},_removeFromGridUnclustered:function(t,e){for(var i=this._map,n=this._gridUnclustered,o=Math.floor(this._map.getMinZoom());e>=o&&n[e].removeObject(t,i.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,i){t._latlng=e,this.removeLayer(t),t._latlng=i,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,i){var n=this._gridClusters,o=this._gridUnclustered,a=this._featureGroup,r=this._map,s=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,c=t.__parent,u=c._markers;for(this._arraySplice(u,t);c&&(c._childCount--,c._boundsNeedUpdate=!0,!(c._zoom<s));)e&&c._childCount<=1?(l=c._markers[0]===t?c._markers[1]:c._markers[0],n[c._zoom].removeObject(c,r.project(c._cLatLng,c._zoom)),o[c._zoom].addObject(l,r.project(l.getLatLng(),c._zoom)),this._arraySplice(c.__parent._childClusters,c),c.__parent._markers.push(l),l.__parent=c.__parent,c._icon&&(a.removeLayer(c),i||a.addLayer(l))):c._iconNeedsUpdate=!0,c=c.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},fire:function(t,e,i){if(e&&e.layer instanceof L.MarkerCluster){if(e.originalEvent&&this._isOrIsParent(e.layer._icon,e.originalEvent.relatedTarget))return;t="cluster"+t}L.FeatureGroup.prototype.fire.call(this,t,e,i)},listens:function(t,e){return L.FeatureGroup.prototype.listens.call(this,t,e)||L.FeatureGroup.prototype.listens.call(this,"cluster"+t,e)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),i=" marker-cluster-";return i+=10>e?"small":100>e?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+i,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,i=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick;(e||n)&&this.on("clusterclick",this._zoomOrSpiderfy,this),i&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){for(var e=t.layer,i=e;1===i._childClusters.length;)i=i._childClusters[0];i._zoom===this._maxZoom&&i._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick,n=this._map;(t||i)&&this.off("clusterclick",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),n.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),i=this.options.maxClusterRadius,n=i;"function"!=typeof i&&(n=function(){return i}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var o=t;o>=e;o--)this._gridClusters[o]=new L.DistanceGrid(n(o)),this._gridUnclustered[o]=new L.DistanceGrid(n(o));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var i,n,o=this._gridClusters,a=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=r;e--){i=this._map.project(t.getLatLng(),e);var s=o[e].getNearObject(i);if(s)return s._addChild(t),void(t.__parent=s);if(s=a[e].getNearObject(i)){var l=s.__parent;l&&this._removeLayer(s,!1);var c=new this._markerCluster(this,e,s,t);o[e].addObject(c,this._map.project(c._cLatLng,e)),s.__parent=c,t.__parent=c;var u=c;for(n=e-1;n>l._zoom;n--)u=new this._markerCluster(this,n,u),o[n].addObject(u,this._map.project(s.getLatLng(),n));return l._addChild(u),void this._removeFromGridUnclustered(s,e)}a[e].addObject(t,i)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()})},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){var t=Math.round(this._map._zoom);this._processQueue(),this._zoom<t&&this._currentShownBounds.intersects(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,t)):this._zoom>t?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var i=e.getAllChildMarkers();this._featureGroup.removeLayer(i[0]),this._featureGroup.removeLayer(i[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var i,n=t.getLayers(),o=0;for(e=e||[];o<n.length;o++)(i=n[o])instanceof L.LayerGroup?this._extractNonGroupLayers(i,e):e.push(i);return e},_overrideMarkerIcon:function(t){return t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(t,e){var i,n=this._getExpandedVisibleBounds(),o=this._featureGroup,a=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(n,t,a,function(a){var r,s=a._latlng,l=a._markers;for(n.contains(s)||(s=null),a._isSingleParent()&&t+1===e?(o.removeLayer(a),a._recursivelyAddChildrenToMap(null,e,n)):(a.clusterHide(),a._recursivelyAddChildrenToMap(s,e,n)),i=l.length-1;i>=0;i--)r=l[i],n.contains(r._latlng)||o.removeLayer(r)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(n,e),o.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()}),this._topClusterLevel._recursively(n,t,e,function(t){t._recursivelyRestoreChildPositions(e)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(n,t,a,function(t){o.removeLayer(t),t.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var i=this,n=this._featureGroup;n.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue(function(){n.removeLayer(t),t.clusterShow(),i._animationEnd()})):(this._forceLayout(),i._animationStart(),i._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,i){var n=this._getExpandedVisibleBounds(),o=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(n,o,e+1,i);var a=this;this._forceLayout(),t._recursivelyBecomeVisible(n,i),this._enqueue(function(){if(1===t._childCount){var r=t._markers[0];this._ignoreMove=!0,r.setLatLng(r.getLatLng()),this._ignoreMove=!1,r.clusterShow&&r.clusterShow()}else t._recursively(n,i,o,function(t){t._recursivelyRemoveChildrenFromMap(n,o,e+1)});a._animationEnd()})},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var i=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,i,n){L.Marker.prototype.initialize.call(this,i?i._cLatLng||i.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,i&&this._addChild(i),n&&this._addChild(n)},getAllChildMarkers:function(t,e){t=t||[];for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i].getAllChildMarkers(t);for(var n=this._markers.length-1;n>=0;n--)e&&this._markers[n].__dragStart||t.push(this._markers[n]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,i=this._childClusters.slice(),n=this._group._map,o=n.getBoundsZoom(this._bounds),a=this._zoom+1,r=n.getZoom();i.length>0&&o>a;){a++;var s=[];for(e=0;e<i.length;e++)s=s.concat(i[e]._childClusters);i=s}o>a?this._group._map.setView(this._latlng,a):r>=o?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,i,n,o=this._markers,a=this._childClusters,r=0,s=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t<o.length;t++)i=o[t]._latlng,this._bounds.extend(i),r+=i.lat,s+=i.lng;for(t=0;t<a.length;t++)(e=a[t])._boundsNeedUpdate&&e._recalculateBounds(),this._bounds.extend(e._bounds),i=e._wLatLng,n=e._childCount,r+=i.lat*n,s+=i.lng*n;this._latlng=this._wLatLng=new L.LatLng(r/l,s/l),this._boundsNeedUpdate=!1}},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,i){this._recursively(t,this._group._map.getMinZoom(),i-1,function(t){var i,n,o=t._markers;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())},function(t){var i,n,o=t._childClusters;for(i=o.length-1;i>=0;i--)(n=o[i])._icon&&(n._setPos(e),n.clusterHide())})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,i,n){this._recursively(t,n,e,function(o){o._recursivelyAnimateChildrenIn(t,o._group._map.latLngToLayerPoint(o.getLatLng()).round(),i),o._isSingleParent()&&i-1===n?(o.clusterShow(),o._recursivelyRemoveChildrenFromMap(t,e,i)):o.clusterHide(),o._addToMap()})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,function(t){t.clusterShow()})},_recursivelyAddChildrenToMap:function(t,e,i){this._recursively(i,this._group._map.getMinZoom()-1,e,function(n){if(e!==n._zoom)for(var o=n._markers.length-1;o>=0;o--){var a=n._markers[o];i.contains(a._latlng)&&(t&&(a._backupLatlng=a.getLatLng(),a.setLatLng(t),a.clusterHide&&a.clusterHide()),n._group._featureGroup.addLayer(a))}},function(e){e._addToMap(t)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var i=this._markers[e];i._backupLatlng&&(i.setLatLng(i._backupLatlng),delete i._backupLatlng)}if(t-1===this._zoom)for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,i,n){var o,a;this._recursively(t,e-1,i-1,function(t){for(a=t._markers.length-1;a>=0;a--)o=t._markers[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())},function(t){for(a=t._childClusters.length-1;a>=0;a--)o=t._childClusters[a],n&&n.contains(o._latlng)||(t._group._featureGroup.removeLayer(o),o.clusterShow&&o.clusterShow())})},_recursively:function(t,e,i,n,o){var a,r,s=this._childClusters,l=this._zoom;if(l>=e&&(n&&n(this),o&&l===i&&o(this)),e>l||i>l)for(a=s.length-1;a>=0;a--)(r=s[a])._boundsNeedUpdate&&r._recalculateBounds(),t.intersects(r._bounds)&&r._recursively(t,e,i,n,o)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var i=this._getCoord(e.x),n=this._getCoord(e.y),o=this._grid,a=o[n]=o[n]||{},r=a[i]=a[i]||[],s=L.Util.stamp(t);this._objectPoint[s]=e,r.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var i,n,o=this._getCoord(e.x),a=this._getCoord(e.y),r=this._grid,s=r[a]=r[a]||{},l=s[o]=s[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],i=0,n=l.length;n>i;i++)if(l[i]===t)return l.splice(i,1),1===n&&delete s[o],!0},eachObject:function(t,e){var i,n,o,a,r,s,l=this._grid;for(i in l)for(n in r=l[i])for(o=0,a=(s=r[n]).length;a>o;o++)t.call(e,s[o])&&(o--,a--)},getNearObject:function(t){var e,i,n,o,a,r,s,l,c=this._getCoord(t.x),u=this._getCoord(t.y),h=this._objectPoint,d=this._sqCellSize,p=null;for(e=u-1;u+1>=e;e++)if(o=this._grid[e])for(i=c-1;c+1>=i;i++)if(a=o[i])for(n=0,r=a.length;r>n;n++)s=a[n],(d>(l=this._sqDist(h[L.Util.stamp(s)],t))||d>=l&&null===p)&&(d=l,p=s);return p},_getCoord:function(t){var e=Math.floor(t/this._cellSize);return isFinite(e)?e:t},_sqDist:function(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}},L.QuickHull={getDistant:function(t,e){var i=e[1].lat-e[0].lat;return(e[0].lng-e[1].lng)*(t.lat-e[0].lat)+i*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var i,n,o,a=0,r=null,s=[];for(i=e.length-1;i>=0;i--)n=e[i],(o=this.getDistant(n,t))>0&&(s.push(n),o>a&&(a=o,r=n));return{maxPoint:r,newPoints:s}},buildConvexHull:function(t,e){var i=[],n=this.findMostDistantPointFromBaseLine(t,e);return n.maxPoint?i=(i=i.concat(this.buildConvexHull([t[0],n.maxPoint],n.newPoints))).concat(this.buildConvexHull([n.maxPoint,t[1]],n.newPoints)):[t[0]]},getConvexHull:function(t){var e,i=!1,n=!1,o=!1,a=!1,r=null,s=null,l=null,c=null,u=null,h=null;for(e=t.length-1;e>=0;e--){var d=t[e];(!1===i||d.lat>i)&&(r=d,i=d.lat),(!1===n||d.lat<n)&&(s=d,n=d.lat),(!1===o||d.lng>o)&&(l=d,o=d.lng),(!1===a||d.lng<a)&&(c=d,a=d.lng)}return n!==i?(h=s,u=r):(h=c,u=l),[].concat(this.buildConvexHull([h,u],t),this.buildConvexHull([u,h],t))}},L.MarkerCluster.include({getConvexHull:function(){var t,e,i=this.getAllChildMarkers(),n=[];for(e=i.length-1;e>=0;e--)t=i[e].getLatLng(),n.push(t);return L.QuickHull.getConvexHull(n)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),i=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,i):(i.y+=10,t=this._generatePointsCircle(e.length,i)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var i,n,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,a=this._2PI/t,r=[];for(o=Math.max(o,35),r.length=t,i=0;t>i;i++)n=this._circleStartAngle+i*a,r[i]=new L.Point(e.x+o*Math.cos(n),e.y+o*Math.sin(n))._round();return r},_generatePointsSpiral:function(t,e){var i,n=this._group.options.spiderfyDistanceMultiplier,o=n*this._spiralLengthStart,a=n*this._spiralFootSeparation,r=n*this._spiralLengthFactor*this._2PI,s=0,l=[];for(l.length=t,i=t;i>=0;i--)t>i&&(l[i]=new L.Point(e.x+o*Math.cos(s),e.y+o*Math.sin(s))._round()),o+=r/(s+=a/o+5e-4*i);return l},_noanimationUnspiderfy:function(){var t,e,i=this._group,n=i._map,o=i._featureGroup,a=this.getAllChildMarkers(null,!0);for(i._ignoreMove=!0,this.setOpacity(1),e=a.length-1;e>=0;e--)t=a[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(n.removeLayer(t._spiderLeg),delete t._spiderLeg);i.fire("unspiderfied",{cluster:this,markers:a}),i._ignoreMove=!1,i._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var i,n,o,a,r=this._group,s=r._map,l=r._featureGroup,c=this._group.options.spiderLegPolylineOptions;for(r._ignoreMove=!0,i=0;i<t.length;i++)a=s.layerPointToLatLng(e[i]),n=t[i],o=new L.Polyline([this._latlng,a],c),s.addLayer(o),n._spiderLeg=o,n._preSpiderfyLatlng=n._latlng,n.setLatLng(a),n.setZIndexOffset&&n.setZIndexOffset(1e6),l.addLayer(n);this.setOpacity(.3),r._ignoreMove=!1,r.fire("spiderfied",{cluster:this,markers:t})},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerCluster.include({_animationSpiderfy:function(t,e){var i,n,o,a,r,s,l=this,c=this._group,u=c._map,h=c._featureGroup,d=this._latlng,p=u.latLngToLayerPoint(d),m=L.Path.SVG,f=L.extend({},this._group.options.spiderLegPolylineOptions),g=f.opacity;for(void 0===g&&(g=L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity),m?(f.opacity=0,f.className=(f.className||"")+" leaflet-cluster-spider-leg"):f.opacity=g,c._ignoreMove=!0,i=0;i<t.length;i++)n=t[i],s=u.layerPointToLatLng(e[i]),o=new L.Polyline([d,s],f),u.addLayer(o),n._spiderLeg=o,m&&(r=(a=o._path).getTotalLength()+.1,a.style.strokeDasharray=r,a.style.strokeDashoffset=r),n.setZIndexOffset&&n.setZIndexOffset(1e6),n.clusterHide&&n.clusterHide(),h.addLayer(n),n._setPos&&n._setPos(p);for(c._forceLayout(),c._animationStart(),i=t.length-1;i>=0;i--)s=u.layerPointToLatLng(e[i]),(n=t[i])._preSpiderfyLatlng=n._latlng,n.setLatLng(s),n.clusterShow&&n.clusterShow(),m&&((a=(o=n._spiderLeg)._path).style.strokeDashoffset=0,o.setStyle({opacity:g}));this.setOpacity(.3),c._ignoreMove=!1,setTimeout(function(){c._animationEnd(),c.fire("spiderfied",{cluster:l,markers:t})},200)},_animationUnspiderfy:function(t){var e,i,n,o,a,r,s=this,l=this._group,c=l._map,u=l._featureGroup,h=t?c._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):c.latLngToLayerPoint(this._latlng),d=this.getAllChildMarkers(null,!0),p=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),i=d.length-1;i>=0;i--)(e=d[i])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,r=!0,e._setPos&&(e._setPos(h),r=!1),e.clusterHide&&(e.clusterHide(),r=!1),r&&u.removeLayer(e),p&&(a=(o=(n=e._spiderLeg)._path).getTotalLength()+.1,o.style.strokeDashoffset=a,n.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout(function(){var t=0;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&t++;for(i=d.length-1;i>=0;i--)(e=d[i])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&u.removeLayer(e),c.removeLayer(e._spiderLeg),delete e._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:s,markers:d})},200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,i;for(e in t)for(i=t[e].__parent;i;)i._iconNeedsUpdate=!0,i=i.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,i;for(e in t)i=t[e],this.hasLayer(i)&&i.setIcon(this._overrideMarkerIcon(i))}}),L.Marker.include({refreshIconOptions:function(t,e){var i=this.options.icon;return L.setOptions(i,t),this.setIcon(i),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=i});