1/*! For license information please see javascript.js.LICENSE.txt */ 2!function(){var e={242:function(e,t,n){window.$=window.jQuery=n(260),n(338),window.Headroom=n(781),n(847),n(188),n(978),window.crs=n(693),n(135),n(462),n(361),n(583),n(974),n(534)},583:function(){!function(){const e=document.getElementById("ipstack_request");if(e&&e){const e=new XMLHttpRequest;e.addEventListener("load",function(){try{const t=JSON.parse(e.response);if(!t||!t.ip)return;const n=t.ip,i="67ca1e1ad4f856a694c56d2109b303a6",o=new XMLHttpRequest;o.addEventListener("load",function(e){try{const e=JSON.parse(o.response);if(e.error||!e.city)return;const t=document.getElementById("location_country")?document.getElementById("location_country"):document.getElementById("signup_mailing_country"),n=document.getElementById("location_city")?document.getElementById("location_city"):document.getElementById("signup_mailing_city"),i=document.getElementById("location_state")?document.getElementById("location_state"):document.getElementById("signup_mailing_state"),r=document.getElementById("location_zip")?document.getElementById("location_zip"):document.getElementById("signup_mailing_zip"),a=document.getElementById("data[is_eu]");n.setAttribute("value",e.city),r.setAttribute("value",e.zip),t.value=e.country_code,t.dispatchEvent(new Event("change")),i&&$(i).val(e.region_code).change(),a&&(a.value=(e.location&&e.location.is_eu?"Yes":"No")||"Unknown")}catch(e){console.log(e)}}),o.open("GET","https://api.ipstack.com/"+n+"?access_key="+i),o.send()}catch(e){}}),e.open("GET","https://api.ipify.org/?format=json"),e.send()}}()},462:function(e,t,n){var i,o,r;o=[n(260)],i=function(e){var t=/\+/g;function n(e){return s.raw?e:encodeURIComponent(e)}function i(e){return s.raw?e:decodeURIComponent(e)}function o(e){return n(s.json?JSON.stringify(e):String(e))}function r(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),s.json?JSON.parse(e):e}catch(e){}}function a(t,n){var i=s.raw?t:r(t);return e.isFunction(n)?n(i):i}var s=e.cookie=function(t,r,l){if(arguments.length>1&&!e.isFunction(r)){if("number"==typeof(l=e.extend({},s.defaults,l)).expires){var u=l.expires,c=l.expires=new Date;c.setMilliseconds(c.getMilliseconds()+864e5*u)}return document.cookie=[n(t),"=",o(r),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=t?void 0:{},f=document.cookie?document.cookie.split("; "):[],h=0,p=f.length;h<p;h++){var g=f[h].split("="),m=i(g.shift()),v=g.join("=");if(t===m){d=a(v,r);break}t||void 0===(v=a(v))||(d[m]=v)}return d};s.defaults={},e.removeCookie=function(t,n){return e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t)}},void 0===(r="function"==typeof i?i.apply(t,o):i)||(e.exports=r)},693:function(e,t){var n,i,o;i=[],void 0===(o="function"==typeof(n=function(){"use strict";var e=!0,t=!0,n=[],i=
vendor: 65,440 bytes, line 2
2[["Afghanistan","AF","Badakhshan~BDS|Badghis~BDG|Baghlan~BGL|Balkh~BAL|Bamyan~BAM|Daykundi~DAY|Farah~FRA|Faryab~FYB|Ghazni~GHA|Ghor~GHO|Helmand~HEL|Herat~HER|Jowzjan~JOW|Kabul~KAB|Kandahar~KAN|Kapisa~KAP|Khost~KHO|Kunar~KNR|Kunduz~KDZ|Laghman~LAG|Logar~LOW|Maidan Wardak~WAR|Nangarhar~NAN|Nimruz~NIM|Nuristan~NUR|Paktia~PIA|Paktika~PKA|Panjshir~PAN|Parwan~PAR|Samangan~SAM|Sar-e Pol~SAR|Takhar~TAK|Urozgan~ORU|Zabul~ZAB"],["Ã
land Islands","AX","Brändö~BR|Eckerö~EC|Finström~FN|Föglö~FG|Geta~GT|Hammarland~HM|Jomala~JM|Kumlinge~KM|Kökar~KK|Lemland~LE|Lumparland~LU|Mariehamn~MH|Saltvik~SV|Sottunga~ST|Sund~SD|VÃ¥rdö~VR"],["Albania","AL","Berat~01|Dibër~09|Durrës~02|Elbasan~03|Fier~04|Gjirokastër~05|Korçë~06|Kukës~07|Lezhë~08|Shkodër~10|Tirana~11|Vlorë~12"],["Algeria","DZ","Adrar~01|Aïn Defla~44|Aïn Témouchent~46|Algiers~16|Annaba~23|Batna~05|Béchar~08|Béjaïa~06|Biskra~07|Blida~09|Bordj Bou Arréridj~34|Bouïra~10|Boumerdès~35|Chlef~02|Constantine~25|Djelfa~17|El Bayadh~32|El Oued~39|El Tarf~36|Ghardaïa~47|Guelma~24|Illizi~33|Jijel~18|Khenchela~40|Laghouat~03|Mascara~29|Médéa~26|Mila~43|Mostaganem~27|Msila~28|Naâma~45|Oran~31|Ouargla~30|Oum el Bouaghi~04|Relizane~48|Saïda~20|Sétif~19|Sidi Bel Abbès~22|Skikda~21|Souk Ahras~41|Tamanghasset~11|Tébessa~12|Tiaret~14|Tindouf~37|Tipaza~42|Tissemsilt~38|Tizi Ouzou~15|Tlemcen~13"],["American Samoa","AS","Tutuila~01|Aunu'u~02|Ta'Å«~03|OfuâOlosega~04|Rose Atoll~21|Swains Island~22"],["Andorra","AD","Andorra la Vella~07|Canillo~02|Encamp~03|Escaldes-Engordany~08|La Massana~04|Ordino~05|Sant Julià de Lòria~06"],["Angola","AO","Bengo~BGO|Benguela~BGU|Bié~BIE|Cabinda~CAB|Cuando Cubango~CCU|Cuanza Norte~CNO|Cuanza Sul~CUS|Cunene~CNN|Huambo~HUA|HuÃla~HUI|Luanda~LUA|Lunda Norte~LNO|Lunda Sul~LSU|Malanje~MAL|Moxico~MOX|Namibe~NAM|UÃge~UIG|Zaire~ZAI"],["Anguilla","AI","Anguilla~01|Anguillita Island~02|Blowing Rock~03|Cove Cay~04|Crocus Cay~05|Deadman's Cay~06|Dog Island~07|East Cay~08|Little Island~09|Little Scrub Island~10|Mid Cay~11|North Cay~12|Prickly Pear Cays~13|Rabbit Island~14|Sandy Island/Sand Island~15|Scilly Cay~16|Scrub Island~17|Seal Island~18|Sombrero/Hat Island~19|South Cay~20|South Wager Island~21|West Cay~22"],["Antarctica","AQ","Antarctica~AQ"],["Antigua and Barbuda","AG","Antigua Island~01|Barbuda Island~02|Bird Island~04|Bishop Island~05|Blake Island~06|Crump Island~09|Dulcina Island~10|Exchange Island~11|Five Islands~12|Great Bird Island~13|Green Island~14|Guiana Island~15|Hawes Island~17|Hells Gate Island~16|Henry Island~18|Johnson Island~19|Kid Island~20|Lobster Island~22|Maiden Island~24|Moor Island~25|Nanny Island~26|Pelican Island~27|Prickly Pear Island~28|Rabbit Island~29|Red Head Island~31|Redonda Island~03|Sandy Island~32|Smith Island~33|The Sisters~34|Vernon Island~35|Wicked Will Island~36|York Island~37"],["Argentina","AR","Buenos Aires~B|Capital Federal~C|Catamarca~K|Chaco~H|Chubut~U|Córdoba~X|Corrientes~W|Entre RÃos~E|Formosa~P|Jujuy~Y|La Pampa~L|La Rioja~F|Mendoza~M|Misiones~N|Neuquén~Q|RÃo Negro~R|Salta~A|San Juan~J|San Luis~D|Santa Cruz~Z|Santa Fe~S|Santiago del Estero~G|Tierra del Fuego~V|Tucumán~T"],["Armenia","AM","Aragatsotn~AG|Ararat~AR|Armavir~AV|Gegharkunik~GR|Kotayk~KT|Lori~LO|Shirak~SH|Syunik~SU|Tavush~TV|Vayots Dzor~VD|Yerevan~ER"],["Aruba","AW","Aruba~AW"],["Australia","AU","Australian Capital Territory~ACT|New South Wales~NSW|Northern Territory~NT|Queensland~QLD|South Australia~SA|Tasmania~TAS|Victoria~VIC|Western Australia~WA"],["Austria","AT","Burgenland~1|Kärnten~2|Niederösterreich~3|Oberösterreich~4|Salzburg~5|Steiermark~6|Tirol~7|Vorarlberg~8|Wien~9"],["Azerbaijan","AZ","AbÅeron~ABS|AÄcabÉdi~AGC|AÄdam~AGM|AÄdaÅ~AGS|AÄstafa~AGA|AÄsu~AGU|Astara~AST|BabÉk~BAB|BalakÉn~BAL|BÉrdÉ~BAR|BeylÉqan~BEY|BilÉsuvar~BIL|CÉbrayıl~CAB|CÉlilabad~CAL|Culfa~CUL|DaÅkÉsÉn~DAS|Füzuli~FUZ|GÉdÉbÉy~GAD|Goranboy~GOR|Göyçay~GOY|Göygöl~GYG|Hacıqabul~HAC|İmiÅli~IMI|İsmayıllı~ISM|KÉlbÉcÉr~KAL|KÇngÇrli~KAN|KürdÉmir~KUR|Laçın~LAC|LÉnkÉran~LAN|Lerik~LER|Masallı~MAS|Neftçala~NEF|OÄuz~OGU|Ordubad~ORD|QÉbÉlÉ~QAB|Qax~QAX|Qazax~QAZ|Qobustan~QOB|Quba~QBA|Qubadli~QBI|Qusar~QUS|Saatlı~SAT|Sabirabad~SAB|Åabran~SBN|SÉdÉrÉk~SAD|Åahbuz~SAH|ÅÉki~SAK|Salyan~SAL|Åamaxı~SMI|ÅÉmkir~SKR|Samux~SMX|ÅÉrur~SAR|SiyÉzÉn~SIY|ÅuÅa~SUS|TÉrtÉr~TAR|Tovuz~TOV|Ucar~UCA|Xaçmaz~XAC|Xızı~XIZ|Xocalı~XCI|XocavÉnd~XVD|Yardımlı~YAR|Yevlax~YEV|ZÉngilan~ZAN|Zaqatala~ZAQ|ZÉrdab~ZAR"],["Bahamas","BS","Acklins Island~01|Berry Islands~22|Bimini~02|Black Point~23|Cat Island~03|Central Abaco~24|Crooked Island and Long Cay~28|East Grand Bahama~29|Exuma~04|Freeport~05|Fresh Creek~06|Governor's Harbour~07|Green Turtle Cay~08|Harbour Island~09|High Rock~10|Inagua~11|Kemps Bay~12|Long Island~13|Marsh Harbour~14|Mayaguana~15|Mooreâs Island~40|New Providence~16|Nichollstown and Berry Islands~17|North Abaco~42|North Andros~41|North Eleuthera~33|Ragged Island~18|Rock Sound~19|San Salvador and Rum Cay~20|Sandy Point~21|South Abaco~35|South Andros~36|South Eleuthera~37|West Grand Bahama~39"],["Bahrain","BH","Al JanÅ«bÄ«yah~14|Al ManÄmah~13|Al Muḩarraq~15|Al Wusţá~16|Ash ShamÄlÄ«yah~17"],["Bangladesh","BD","Barisal~A|Chittagong~B|Dhaka~C|Khulna~D|Mymensingh~M|Rajshahi~E|Rangpur~F|Sylhet~G"],["Barbados","BB","Christ Church~01|Saint Andrew~02|Saint George~03|Saint James~04|Saint John~05|Saint Joseph~06|Saint Lucy~07|Saint Michael~08|Saint Peter~09|Saint Philip~10|Saint Thomas~11"],["Belarus","BY","Brest voblast~BR|Gorod Minsk~HO|Homiel voblast~HO|Hrodna voblast~HR|Mahilyow voblast~MA|Minsk voblast~MI|Vitsebsk voblast~VI"],["Belgium","BE","Bruxelles-Capitale~BRU|Région Flamande~VLG|Région Wallonië~WAL"],["Belize","BZ","Belize District~BZ|Cayo District~CY|Corozal District~CZL|Orange Walk District~OW|Stann Creek District~SC|Toledo District~TOL"],["Benin","BJ","Alibori~AL|Atakora~AK|Atlantique~AQ|Borgou~BO|Collines Department~CO|Donga~DO|Kouffo~KO|Littoral Department~LI|Mono Department~MO|Ouémé~OU|Plateau~PL|Zou~ZO"],["Bermuda","BM","City of Hamilton~03|Devonshire Parish~01|Hamilton Parish~02|Paget Parish~04|Pembroke Parish~05|Sandys Parish~08|Smith's Parish~09|Southampton Parish~10|St. George's Parish~07|Town of St. George~06|Warwick Parish~11"],["Bhutan","BT","Bumthang~33|Chhukha~12|Dagana~22|Gasa~GA|Haa~13|Lhuntse~44|Mongar~42|Paro~11|Pemagatshel~43|Punakha~23|Samdrup Jongkhar~45|Samtse~14|Sarpang~31|Thimphu~15|Trashigang~41|Trashiyangtse~TY|Trongsa~32|Tsirang~21|Wangdue Phodrang~24|Zhemgang~34"],["Bolivia","BO","Beni~B|Chuquisaca~H|Cochabamba~C|La Paz~L|Oruro~O|Pando~N|PotosÃ~P|Santa Cruz~S|Tarija~T"],["Bonaire, Sint Eustatius and Saba","BQ","Bonaire~BO|Saba Isand~SA|Sint Eustatius~SE"],["Bosnia and Herzegovina","BA","BrÄko Distrikt~BRC|Federacija Bosne i Hercegovine~BIH|Republika Srpska~SRP"],["Botswana","BW","Central~CE|Ghanzi~GH|Kgalagadi~KG|Kgatleng~KL|Kweneng~KW|North West~NW|North-East~NE|South East~SE|Southern~SO"],["Bouvet Island","BV","Bouvet Island~BV"],["Brazil","BR","Acre~AC|Alagoas~AL|Amapá~AP|Amazonas~AM|Bahia~BA|Ceará~CE|Distrito Federal~DF|EspÃrito Santo~ES|Goiás~GO|Maranhão~MA|Mato Grosso~MT|Mato Grosso do Sul~MS|Minas Gerais~MG|Pará~PA|ParaÃba~PB|Paraná~PR|Pernambuco~PE|PiauÃ~PI|Rio de Janeiro~RJ|Rio Grande do Norte~RN|Rio Grande do Sul~RS|Rondônia~RO|Roraima~RR|Santa Catarina~SC|São Paulo~SP|Sergipe~SE|Tocantins~TO"],["British Indian Ocean Territory","IO","British Indian Ocean Territory~IO"],["Brunei Darussalam","BN","Belait~BE|Brunei Muara~BM|Temburong~TE|Tutong~TU"],["Bulgaria","BG","Blagoevgrad~01|Burgas~02|Dobrich~08|Gabrovo~07|Jambol~28|Khaskovo~26|Kjustendil~10|Kurdzhali~09|Lovech~11|Montana~12|Pazardzhik~13|Pernik~14|Pleven~15|Plovdiv~16|Razgrad~17|Ruse~18|Shumen~27|Silistra~19|Sliven~20|Smoljan~21|Sofija~23|Sofija-Grad~22|Stara Zagora~24|Turgovishhe~25|Varna~03|Veliko Turnovo~04|Vidin~05|Vraca~06"],["Burkina Faso","BF","Balé~BAL|Bam/Lake Bam~BAM|Banwa Province~BAN|Bazèga~BAZ|Bougouriba~BGR|Boulgou Province~BLG|Boulkiemdé~BLK|Comoé/Komoe~COM|Ganzourgou Province~GAN|Gnagna~GNA|Gourma Province~GOU|Houet~HOU|Ioba~IOB|Kadiogo~KAD|Kénédougou~KEN|Komondjari~KMD|Kompienga~KMP|Kossi Province~KOS|Koulpélogo~KOP|Kouritenga~KOT|Kourwéogo~KOW|Léraba~LER|Loroum~LOR|Mouhoun~MOU|Namentenga~NAM|Naouri/Nahouri~NAO|Nayala~NAY|Noumbiel~NOU|Oubritenga~OUB|Oudalan~OUD|Passoré~PAS|Poni~PON|Sanguié~SNG|Sanmatenga~SMT|Séno~SEN|Sissili~SIS|Soum~SOM|Sourou~SOR|Tapoa~TAP|Tui/Tuy~TUI|Yagha~YAG|Yatenga~YAT|Ziro~ZIR|Zondoma~ZON|Zoundwéogo~ZOU"],["Burundi","BI","Bubanza~BB|Bujumbura Mairie~BM|Bujumbura Rural~BL|Bururi~BR|Cankuzo~CA|Cibitoke~CI|Gitega~GI|Karuzi~KR|Kayanza~KY|Kirundo~KI|Makamba~MA|Muramvya~MU|Muyinga~MY|Mwaro~MW|Ngozi~NG|Rutana~RT|Ruyigi~RY"],["Cambodia","KH","Baat Dambang~2|Banteay Mean Chey~1|Kampong Chaam~3|Kampong Chhnang~4|Kampong Spueu~5|Kampong Thum~6|Kampot~7|Kandaal~8|Kaoh Kong~9|Kracheh~10|Krong Kaeb~23|Krong Pailin~24|Krong Preah Sihanouk~18|Mondol Kiri~11|Otdar Mean Chey~22|Phnom Penh~12|Pousaat~15|Preah Vihear~13|Prey Veaeng~14|Rotanah Kiri~16|Siem Reab~17|Stueng Treng~19|Svaay Rieng~20|Taakaev~21|Tbong Khmum~25"],["Cameroon","CM","Adamaoua~AD|Centre~CE|Est~ES|Extrême-Nord~EN|Littoral~LT|Nord~NO|Nord-Ouest~NW|Ouest~OU|Sud~SU|Sud-Ouest~SW"],["Canada","CA","Alberta~AB|British Columbia~BC|Manitoba~MB|New Brunswick~NB|Newfoundland and Labrador~NL|Northwest Territories~NT|Nova Scotia~NS|Nunavut~NU|Ontario~ON|Prince Edward Island~PE|Quebec~QC|Saskatchewan~SK|Yukon~YT"],["Cape Verde","CV","Boa Vista~BV|Brava~BR|Calheta de São Miguel~CS|Maio~MA|Mosteiros~MO|Paúl~PA|Porto Novo~PN|Praia~PR|Ribeira Brava~RB|Ribeira Grande~RG|Sal~SL|Santa Catarina~CA|Santa Cruz~CR|São Domingos~SD|São Filipe~SF|São Nicolau~SN|São Vicente~SV|Tarrafal~TA|Tarrafal de São Nicolau~TS"],["Cayman Islands","KY","Creek|Eastern|Midland|South Town|Spot Bay|Stake Bay|West End|Western"],["Central African Republic","CF","Bamingui-Bangoran~BB|Bangui~BGF|Basse-Kotto~BK|Haute-Kotto~HK|Haut-Mbomou~HM|Kémo~KG|Lobaye~LB|Mambéré-Kadéï~HS|Mbomou~MB|Nana-Grebizi~10|Nana-Mambéré~NM|Ombella-M'Poko~MP|Ouaka~UK|Ouham~AC|Ouham Péndé~OP|Sangha-Mbaéré~SE|Vakaga~VK"],["Chad","TD","Bahr el Ghazal~BG|Batha~BA|Borkou~BO|Chari-Baguirmi~CB|Ennedi-Est~EE|Ennedi-Ouest~EO|Guéra~GR|Hadjer Lamis~HL|Kanem~KA|Lac~LC|Logone Occidental~LO|Logone Oriental~LR|Mondoul~MA|Mayo-Kébbi-Est~ME|Moyen-Chari~MC|Ouaddai~OD|Salamat~SA|Sila~SI|Tandjilé~TA|Tibesti~TI|Ville de Ndjamena~ND|Wadi Fira~WF"],["Chile","CL","Aisén del General Carlos Ibáñez del Campo~AI|Antofagasta~AN|AraucanÃa~AR|Arica y Parinacota~AP|Atacama~AT|BÃo-BÃo~BI|Coquimbo~CO|Libertador General Bernardo O'Higgins~LI|Los Lagos~LL|Los RÃos~LR|Magallanes y Antartica Chilena~MA|Marga-Marga~|Maule~ML|Región Metropolitana de Santiago~RM|Tarapacá~TA|ValparaÃso~VS"],["China","CN","Anhui~34|Beijing~11|Chongqing~50|Fujian~35|Gansu~62|Guangdong~44|Guangxi~45|Guizhou~52|Hainan~46|Hebei~13|Heilongjiang~23|Henan~41|Hong Kong~91|Hubei~42|Hunan~43|Inner Mongolia~15|Jiangsu~32|Jiangxi~36|Jilin~22|Liaoning~21|Macau~92|Ningxia~64|Qinghai~63|Shaanxi~61|Shandong~37|Shanghai~31|Shanxi~14|Sichuan~51|Tianjin~12|Tibet~54|Xinjiang~65|Yunnan~53|Zhejiang~33"],["Christmas Island","CX","Christmas Island~CX"],["Cocos (Keeling) Islands","CC","Direction Island~DI|Home Island~HM|Horsburgh Island~HR|North Keeling Island~NK|South Island~SI|West Island~WI"],["Colombia","CO","Amazonas~AMA|Antioquia~ANT|Arauca~ARA|Archipiélago de San Andrés~SAP|Atlántico~ATL|Bogotá D.C.~DC|BolÃvar~BOL|Boyacá~BOY|Caldas~CAL|Caquetá~CAQ|Casanare~CAS|Cauca~CAU|Cesar~CES|Chocó~CHO|Córdoba~COR|Cundinamarca~CUN|GuainÃa~GUA|Guaviare~GUV|Huila~HUI|La Guajira~LAG|Magdalena~MAG|Meta~MET|Nariño~NAR|Norte de Santander~NSA|Putumayo~PUT|QuindÃo~QUI|Risaralda~RIS|Santander~SAN|Sucre~SUC|Tolima~TOL|Valle del Cauca~VAC|Vaupés~VAU|Vichada~VID"],["Comoros","KM","Andjazîdja~G|Andjouân~A|Moûhîlî~M"],["Congo, Republic of the (Brazzaville)","CG","Bouenza~11|Brazzaville~BZV|Cuvette~8|Cuvette-Ouest~15|Kouilou~5|Lékoumou~2|Likouala~7|Niari~9|Plateaux~14|Pointe-Noire~16|Pool~12|Sangha~13"],["Congo, the Democratic Republic of the (Kinshasa)","CD","Bandundu~BN|Bas-Congo~BC|Ãquateur~EQ|Kasaï-Occidental~KE|Kasaï-Oriental~KW|Katanga~KA|Kinshasa~KN|Maniema~MA|Nord-Kivu~NK|Orientale~OR|Sud-Kivu~SK"],["Cook Islands","CK","Aitutaki|Atiu|Avarua|Mangaia|Manihiki|Ma'uke|Mitiaro|Nassau|Palmerston|Penrhyn|Pukapuka|Rakahanga"],["Costa Rica","CR","Alajuela~2|Cartago~3|Guanacaste~5|Heredia~4|Limón~7|Puntarenas~6|San José~1"],["Côte d'Ivoire, Republic of","CI","Agnéby~16|Bafing~17|Bas-Sassandra~09|Denguélé~10|Dix-Huit Montagnes~06|Fromager~18|Haut-Sassandra~02|Lacs~07|Lagunes~01|Marahoué~12|Moyen-Cavally~19|Moyen-Comoé~05|N'zi-Comoé~11|Savanes~03|Sud-Bandama~15|Sud-Comoé~13|Vallée du Bandama~04|Worodougou~14|Zanzan~08"],["Croatia","HR","Bjelovarsko-Bilogorska Županija~07|Brodsko-Posavska Županija~12|DubrovaÄko-Neretvanska Županija~19|Grad Zagreb~21|Istarska Županija~18|KarlovaÄka Županija~04|KoprivniÄko-KrizevaÄka Županija~06|Krapinsko-Zagorska Županija~02|LiÄko-Senjska Županija~09|MeÄimurska Županija~20|OsjeÄko-Baranjska Županija~14|PožeÅ¡ko-Slavonska Županija~11|Primorsko-Goranska Županija~08|SisaÄko-MoslavaÄka Županija~03|Splitsko-Dalmatinska Županija~17|Sibensko-Kninska Županija~15|Varaždinska Županija~05|VirovitiÄko-Podravska Županija~10|Vukovarsko-Srijemska Županija~16|Zadarska Županija~13|Zagrebacka Zupanija~01"],["Cuba","CU","Artemisa~15|Camagüey~09|Ciego de Ãvila~08|Cienfuegos~06|Granma~12|Guantánamo~14|HolguÃn~11|Isla de la Juventud~99|La Habana~03|Las Tunas~10|Matanzas~04|Mayabeque~16|Pinar del RÃo~01|Sancti SpÃritus~07|Santiago de Cuba~13|Villa Clara~05"],["Curaçao","CW","Curaçao~CW"],["Cyprus","CY","Ammochostos~04|Keryneia~05|Larnaka~03|Lefkosia~01|Lemesos~02|Pafos~05"],["Czech Republic","CZ","Hlavnà mÄsto Praha~PR|JihoÄeský kraj~JC|Jihomoravský kraj~JM|Karlovarský kraj~KA|Královéhradecký kraj~KR|Liberecký kraj~LI|Moravskoslezský kraj~MO|Olomoucký kraj~OL|Pardubický kraj~PA|PlzeÅský kraj~PL|StÅedoÄeský kraj~ST|Ãstecký kraj~US|VysoÄina~VY|ZlÃnský kraj~ZL"],["Denmark","DK","Hovedstaden~84|Kujalleq~GL-KU|Midtjylland~82|Norderøerne~FO-01|Nordjylland~81|Ãsterø~FO-06|Qaasuitsup~GL-QA|Qeqqata~GL-QE|Sandø~FO-02|Sermersooq~GL-SM|Sjælland~85|Strømø~FO-03|Suderø~FO-04|Syddanmark~83|VÃ¥gø~FO-05"],["Djibouti","DJ","Ali Sabieh~AS|Arta~AR|Dikhil~DI|Obock~OB|Tadjourah~TA"],["Dominica","DM","Saint Andrew Parish~02|Saint David Parish~03|Saint George Parish~04|Saint John Parish~05|Saint Joseph Parish~06|Saint Luke Parish~07|Saint Mark Parish~08|Saint Patrick Parish~09|Saint Paul Parish~10|Saint Peter Parish~11"],["Dominican Republic","DO","Cibao Central~02|Del Valle~37|Distrito Nacional~01|Enriquillo~38|Norcentral~04|Nordeste~34|Noroeste~34|Norte~35|Valdesia~42"],["Ecuador","EC","Azuay~A|BolÃvar~B|Cañar~F|Carchi~C|Chimborazo~H|Cotopaxi~X|El Oro~O|Esmeraldas~E|Galápagos~W|Guayas~G|Imbabura~I|Loja~L|Los RÃos~R|ManabÃ~M|Morona-Santiago~S|Napo~N|Orellana~D|Pastaza~Y|Pichincha~P|Santa Elena~SE|Santo Domingo de los Tsáchilas~SD|SucumbÃos~U|Tungurahua~T|Zamora-Chinchipe~Z"],["Egypt","EG","Alexandria~ALX|Aswan~ASN|Asyout~AST|Bani Sueif~BNS|Beheira~BH|Cairo~C|Daqahlia~DK|Dumiat~DT|El Bahr El Ahmar~BA|El Ismailia~IS|El Suez~SUZ|El Wadi El Gedeed~WAD|Fayoum~FYM|Gharbia~GH|Giza~SUZ|Helwan~HU|Kafr El Sheikh~KFS|Luxor~LX|Matrouh~MT|Menia~MN|Menofia~MNF|North Sinai~SIN|Port Said~PTS|Qalubia~KB|Qena~KN|Sharqia~SHR|Sixth of October~SU|Sohag~SHG|South Sinai~JS"],["El Salvador","SV","Ahuachapán~AH|Cabañas~CA|Cuscatlán~CU|Chalatenango~CH|La Libertad~LI|La Paz~PA|La Unión~UN|Morazán~MO|San Miguel~SM|San Salvador~SS|Santa Ana~SA|San Vicente~SV|Sonsonate~SO|Usulután~US"],["Equatorial Guinea","GQ","Annobón~AN|Bioko Norte~BN|Bioko Sur~BS|Centro Sur~CS|Kié-Ntem~KN|Litoral~LI|Wele-Nzas~WN"],["Eritrea","ER","Anseba~AN|Debub~DU|Debub-Keih-Bahri~DK|Gash-Barka~GB|Maekel~MA|Semien-Keih-Bahri~SK"],["Estonia","EE","Harjumaa (Tallinn)~37|Hiiumaa (Kardla)~39|Ida-Virumaa (Johvi)~44|Järvamaa (Paide)~41|Jõgevamaa (Jogeva)~49|Läänemaa~57|Lääne-Virumaa (Rakvere)~59|Pärnumaa (Parnu)~67|Põlvamaa (Polva)~65|Raplamaa (Rapla)~70|Saaremaa (Kuessaare)~74|Tartumaa (Tartu)~78|Valgamaa (Valga)~82|Viljandimaa (Viljandi)~84|Võrumaa (Voru)~86"],["Ethiopia","ET","Addis Ababa~AA|Afar~AF|Amhara~AM|Benshangul-Gumaz~BE|Dire Dawa~DD|Gambela~GA|Harari~HA|Oromia~OR|Somali~SO|Southern Nations Nationalities and People's Region~SN|Tigray~TI"],["Falkland Islands (Islas Malvinas)","FK","Falkland Islands (Islas Malvinas)"],["Faroe Islands","FO","Bordoy|Eysturoy|Mykines|Sandoy|Skuvoy|Streymoy|Suduroy|Tvoroyri|Vagar"],["Fiji","FJ","Ba~01|Bua~01|Cakaudrove~03|Kadavu~04|Lau~05|Lomaiviti~06|Macuata~07|Nadroga and Navosa~08|Naitasiri~09|Namosi~10|Ra~011|Rewa~12|Rotuma~R|Serua~12|Tailevu~14"],["Finland","FI","Ahvenanmaan lääni~AL|Etelä-Suomen lääni~ES|Itä-Suomen lääni~IS|Länsi-Suomen lääni~LS|Lapin lääni~LL|Oulun lääni~OL"],["France","FR","Auvergne-Rhône-Alpes~ARA|Bourgogne-Franche-Comté~BFC|Bretagne~BRE|Centre-Val de Loire~CVL|Corse~COR|Grand Est~GES|Hauts-de-France~HDF|Ãle-de-France~IDF|Normandie~NOR|Nouvelle-Aquitaine~NAQ|Occitanie~OCC|Pays de la Loire~PDL|Provence-Alpes-Cote d'Azur~PAC|Clipperton~CP|Guadeloupe~GP|Guyane~GF|Martinique~MQ|Mayotte~YT|Novelle-Calédonie~NC|Polynésie~PF|Saint-Pierre-et-Miquelon~PM|Saint Barthélemy~BL|Saint Martin~MF|Réunion~RE|Terres Australes Françaises~TF|Wallis-et-Futuna~WF"],["French Guiana","GF","French Guiana"],["French Polynesia","PF","Archipel des Marquises|Archipel des Tuamotu|Archipel des Tubuai|Iles du Vent|Iles Sous-le-Vent"],["French Southern and Antarctic Lands","TF","Adelie Land|Ile Crozet|Iles Kerguelen|Iles Saint-Paul et Amsterdam"],["Gabon","GA","Estuaire~1|Haut-Ogooué~2|Moyen-Ogooué~3|Ngounié~4|Nyanga~5|Ogooué-Ivindo~6|Ogooué-Lolo~7|Ogooué-Maritime~8|Woleu-Ntem~9"],["Gambia, The","GM","Banjul~B|Central River~M|Lower River~L|North Bank~N|Upper River~U|Western~W"],["Georgia","GE","Abkhazia (Sokhumi)~AB|Ajaria (Bat'umi)~AJ|Guria~GU|Imereti~IM|K'akheti~KA|Kvemo Kartli~KK|Mtshkheta-Mtianeti~MM|Rach'a-Lexhkumi-KvemoSvaneti~RL|Samegrelo-Zemo Svaneti~SZ|Samtskhe-Javakheti~SJ|Shida Kartli~SK|Tbilisi~TB"],["Germany","DE","Baden-Württemberg~BW|Bayern~BY|Berlin~BE|Brandenburg~BB|Bremen~HB|Hamburg~HH|Hessen~HE|Mecklenburg-Vorpommern~MV|Niedersachsen~NI|Nordrhein-Westfalen~NW|Rheinland-Pfalz~RP|Saarland~SL|Sachsen~SN|Sachsen-Anhalt~ST|Schleswig-Holstein~SH|Thüringen~TH"],["Ghana","GH","Ashanti~AH|Brong-Ahafo~BA|Central~CP|Eastern~EP|Greater Accra~AA|Northern~NP|Upper East~UE|Upper West~UW|Volta~TV|Western~WP"],["Gibraltar","GI","Gibraltar"],["Greece","GR","Anatolikà MakedonÃa kai Thráki~A|Attikḯ~I|Dytikà Elláda~G|Dytikà MakedonÃa~C|IonÃa NÃsia~F|Kentrikà MakedonÃa~B|KrÃtÃ~M|NotÃo AigaÃo~L|PeloponnÃsos~J|Stereá Elláda~H|ThessalÃa~E|VoreÃo AigaÃo~K|Ãpeiros~D|Ãgion Ãros~69"],["Greenland","GL","Kommune Kujalleq~KU|Kommuneqarfik Sermersooq~SM|Qaasuitsup Kommunia~QA|Qeqqata Kommunia~QE"],["Grenada","GD","Saint Andrew~01|Saint David~02|Saint George~03|Saint John~04|Saint Mark~05|Saint Patrick~06|Southern Grenadine Islands~10"],["Guadeloupe","GP","Guadeloupe"],["Guam","GU","Guam"],["Guatemala","GT","Alta Verapaz~AV|Baja Verapaz~BV|Chimaltenango~CM|Chiquimula~CQ|El Progreso~PR|Escuintla~ES|Guatemala~GU|Huehuetenango~HU|Izabal~IZ|Jalapa~JA|Jutiapa~JU|Petén~PE|Quetzaltenango~QZ|Quiché~QC|Retalhuleu~Re|Sacatepéquez~SA|San Marcos~SM|Santa Rosa~SR|Sololá~SO|Suchitepéquez~SU|Totonicapán~TO|Zacapa~ZA"],["Guernsey","GG","Castel|Forest|St. Andrew|St. Martin|St. Peter Port|St. Pierre du Bois|St. Sampson|St. Saviour|Torteval|Vale"],["Guinea","GN","Boké~B|Conakry~C|Faranah~F|Kankan~K|Kindia~D|Labé~L|Mamou~M|Nzérékoré~N"],["Guinea-Bissau","GW","Bafatá~BA|Biombo~BM|Bissau~BS|Bolama-Bijagos~BL|Cacheu~CA|Gabú~GA|Oio~OI|Quinara~QU|Tombali~TO"],["Guyana","GY","Barima-Waini~BA|Cuyuni-Mazaruni~CU|Demerara-Mahaica~DE|East Berbice-Corentyne~EB|Essequibo Islands-West Demerara~ES|Mahaica-Berbice~MA|Pomeroon-Supenaam~PM|Potaro-Siparuni~PT|Upper Demerara-Berbice~UD|Upper Takutu-Upper Essequibo~UT"],["Haiti","HT","Artibonite~AR|Centre~CE|Grand'Anse~GA|Nippes~NI|Nord~ND|Nord-Est~NE|Nord-Ouest~NO|Ouest~OU|Sud~SD|Sud-Est~SE"],["Heard Island and McDonald Islands","HM","Heard Island and McDonald Islands"],["Holy See (Vatican City)","VA","Holy See (Vatican City)~01"],["Honduras","HN","Atlántida~AT|Choluteca~CH|Colón~CL|Comayagua~CM|Copán~CP|Cortés~CR|El ParaÃso~EP|Francisco Morazan~FM|Gracias a Dios~GD|Intibucá~IN|Islas de la BahÃa~IB|La Paz~LP|Lempira~LE|Ocotepeque~OC|Olancho~OL|Santa Bárbara~SB|Valle~VA|Yoro~YO"],["Hong Kong","HK","Hong Kong"],["Hungary","HU","Bács-Kiskun~BK|Baranya~BA|Békés~BE|Békéscsaba~BC|Borsod-Abauj-Zemplen~BZ|Budapest~BU|Csongrád~CS|Debrecen~DE|Dunaújváros~DU|Eger~EG|Ãrd~ER|Fejér~FE|GyÅr~GY|GyÅr-Moson-Sopron~GS|Hajdú-Bihar~HB|Heves~HE|HódmezÅvásárhely~HV|Jász-Nagykun-Szolnok~N|Kaposvár~KV|Kecskemét~KM|Komárom-Esztergom~KE|Miskolc~MI|Nagykanizsa~NK|Nógrád~NO|NyÃregyháza~NY|Pécs~PS|Pest~PE|Salgótarján~ST|Somogy~SO|Sopron~SN|Szabolcs-á-Bereg~SZ|Szeged~SD|Székesfehérvár~SF|Szekszárd~SS|Szolnok~SK|Szombathely~SH|Tatabánya~TB|Tolna~TO|Vas~VA|Veszprém~VE|Veszprém (City)~VM|Zala~ZA|Zalaegerszeg~ZE"],["Iceland","IS","Austurland~7|Höfuðborgarsvæði utan ReykjavÃkur~1|Norðurland eystra~6|Norðurland vestra~5|Suðurland~8|Suðurnes~2|Vestfirðir~4|Vesturland~3"],["India","IN","Andaman and Nicobar Islands~AN|Andhra Pradesh~AP|Arunachal Pradesh~AR|Assam~AS|Bihar~BR|Chandigarh~CH|Chhattisgarh~CT|Dadra and Nagar Haveli~DN|Daman and Diu~DD|Delhi~DL|Goa~GA|Gujarat~GJ|Haryana~HR|Himachal Pradesh~HP|Jammu and Kashmir~JK|Jharkhand~JH|Karnataka~KA|Kerala~KL|Lakshadweep~LD|Madhya Pradesh~MP|Maharashtra~MH|Manipur~MN|Meghalaya~ML|Mizoram~MZ|Nagaland~NL|Odisha~OR|Puducherry~PY|Punjab~PB|Rajasthan~RJ|Sikkim~WK|Tamil Nadu~TN|Telangana~TG|Tripura~TR|Uttarakhand~UT|Uttar Pradesh~UP|West Bengal~WB"],["Indonesia","ID","Aceh~AC|Bali~BA|Bangka Belitung~BB|Banten~BT|Bengkulu~BE|Gorontalo~GO|Jakarta Raya~JK|Jambi~JA|Jawa Barat~JB|Jawa Tengah~JT|Jawa Timur~JI|Kalimantan Barat~KB|Kalimantan Selatan~KS|Kalimantan Tengah~KT|Kalimantan Timur~KI|Kalimantan Utara~KU|Kepulauan Riau~KR|Lampung~LA|Maluku~MA|Maluku Utara~MU|Nusa Tenggara Barat~NB|Nusa Tenggara Timur~NT|Papua~PA|Papua Barat~PB|Riau~RI|Sulawesi Selatan~SR|Sulawesi Tengah~ST|Sulawesi Tenggara~SG|Sulawesi Utara~SA|Sumatera Barat~SB|Sumatera Selatan~SS|Sumatera Utara~SU|Yogyakarta~YO"],["Iran, Islamic Republic of","IR","Alborz~32|ArdabÄ«l~03|ÄzÌarbÄyjÄn-e GharbÄ«~02|ÄzÌarbÄyjÄn-e SharqÄ«~01|BÅ«shehr~06|ChahÄr MaḩÄl va BakhtÄ«ÄrÄ«~08|EÅfahÄn~04|FÄrs~14|GÄ«lÄn~19|GolestÄn~27|HamadÄn~24|HormozgÄn~23|ĪlÄm~05|KermÄn~15|KermÄnshÄh~17|KhorÄsÄn-e JonÅ«bÄ«~29|KhorÄsÄn-e RaáºavÄ«~30|KhorÄsÄn-e ShomÄlÄ«~61|KhÅ«zestÄn~10|KohgÄ«lÅ«yeh va Bowyer Aḩmad~18|KordestÄn~16|LorestÄn~20|Markazi~22|MÄzandarÄn~21|QazvÄ«n~28|Qom~26|SemnÄn~12|SÄ«stÄn va BalÅ«chestÄn~13|TehrÄn~07|Yazd~25|ZanjÄn~11"],["Iraq","IQ","Al AnbÄr~AN|Al BaÅrah~BA|Al Muthanná~MU|Al QÄdisÄ«yah~QA|An Najaf~NA|ArbÄ«l~AR|As SulaymÄnÄ«yah~SU|BÄbil~BB|BaghdÄd~BG|Dohuk~DA|DhÄ« QÄr~DQ|DiyÄlá~DI|KarbalÄ'~KA|Kirkuk~KI|MaysÄn~MA|NÄ«nawá~NI|ÅalÄḩ ad DÄ«n~SD|WÄsiÅ£~WA"],["Ireland","IE","Carlow~CW|Cavan~CN|Clare~CE|Cork~CO|Donegal~DL|Dublin~D|Galway~G|Kerry~KY|Kildare~KE|Kilkenny~KK|Laois~LS|Leitrim~LM|Limerick~LK|Longford~LD|Louth~LH|Mayo~MO|Meath~MH|Monaghan~MN|Offaly~OY|Roscommon~RN|Sligo~SO|Tipperary~TA|Waterford~WD|Westmeath~WH|Wexford~WX|Wicklow~WW"],["Isle of Man","IM","Isle of Man"],["Israel","IL","HaDarom~D|HaMerkaz~M|HaTsafon~Z|H̱efa~HA|Tel-Aviv~TA|Yerushalayim~JM"],["Italy","IT","Abruzzo~65|Basilicata~77|Calabria~78|Campania~72|Emilia-Romagna~45|Friuli-Venezia Giulia~36|Lazio~62|Liguria~42|Lombardia~25|Marche~57|Molise~67|Piemonte~21|Puglia~75|Sardegna~88|Sicilia~82|Toscana~52|Trentino-Alto Adige~32|Umbria~55|Valle d'Aosta~23|Veneto~34"],["Jamaica","JM","Clarendon~13|Hanover~09|Kingston~01|Manchester~12|Portland~04|Saint Andrew~02|Saint Ann~06|Saint Catherine~14|Saint Elizabeth~11|Saint James~08|Saint Mary~05|Saint Thomas~03|Trelawny~07|Westmoreland~10"],["Japan","JP","Aichi~23|Akita~05|Aomori~02|Chiba~12|Ehime~38|Fukui~18|Fukuoka~40|Fukushima~07|Gifu~21|Gunma~10|Hiroshima~34|Hokkaido~01|Hyogo~28|Ibaraki~08|Ishikawa~17|Iwate~03|Kagawa~37|Kagoshima~46|Kanagawa~14|Kochi~39|Kumamoto~43|Kyoto~26|Mie~24|Miyagi~04|Miyazaki~45|Nagano~20|Nagasaki~42|Nara~29|Niigata~15|Oita~44|Okayama~33|Okinawa~47|Osaka~27|Saga~41|Saitama~11|Shiga~25|Shimane~32|Shizuoka~22|Tochigi~09|Tokushima~36|Tokyo~13|Tottori~31|Toyama~16|Wakayama~30|Yamagata~06|Yamaguchi~35|Yamanashi~19"],["Jersey","JE","Jersey"],["Jordan","JO","âAjlÅ«n~AJ|Al 'Aqabah~AQ|Al BalqÄâ~BA|Al Karak~KA|Al Mafraq~MA|Al âAÌ
Åimah~AM|AÅ£ Å¢afÄ«lah~AT|Az ZarqÄâ~AZ|Irbid~IR|Jarash~JA|MaâÄn~MN|MÄdabÄ~MD"],["Kazakhstan","KZ","Almaty~ALA|Aqmola~AKM|Aqtobe~AKT|Astana~AST|Atyrau~ATY|Batys Qazaqstan~ZAP|Bayqongyr|Mangghystau~MAN|Ongtustik Qazaqstan~YUZ|Pavlodar~PAV|Qaraghandy~KAR|Qostanay~KUS|Qyzylorda~KZY|Shyghys Qazaqstan~VOS|Soltustik Qazaqstan~SEV|Zhambyl~ZHA"],["Kenya","KE","Baringo~01|Bomet~02|Bungoma~03|Busia~04|Eleyo/Marakwet~05|Embu~06|Garissa~07|Homa Bay~08|Isiolo~09|Kajiado~10|Kakamega~11|Kericho~12|Kiambu~13|Kilifi~14|Kirinyaga~15|Kisii~16|Kisumu~17|Kitui~18|Kwale~19|Laikipia~20|Lamu~21|Machakos~22|Makueni~23|Mandera~24|Marsabit~25|Meru~26|Migori~27|Mombasa~28|Murang'a~29|Nairobi City~30|Nakuru~31|Nandi~32|Narok~33|Nyamira~34|Nyandarua~35|Nyeri~36|Samburu~37|Siaya~38|Taita/Taveta~39|Tana River~40|Tharaka-Nithi~41|Trans Nzoia~42|Turkana~43|Uasin Gishu~44|Vihiga~45|Wajir~46|West Pokot~47"],["Kiribati","KI","Abaiang|Abemama|Aranuka|Arorae|Banaba|Beru|Butaritari|Central Gilberts|Gilbert Islands~G|Kanton|Kiritimati|Kuria|Line Islands~L|Maiana|Makin|Marakei|Nikunau|Nonouti|Northern Gilberts|Onotoa|Phoenix Islands~P|Southern Gilberts|Tabiteuea|Tabuaeran|Tamana|Tarawa|Teraina"],["Korea, Democratic People's Republic of","KP","Chagang-do (Chagang Province)~04|Hamgyong-bukto (North Hamgyong Province)~09|Hamgyong-namdo (South Hamgyong Province)~08|Hwanghae-bukto (North Hwanghae Province)~06|Hwanghae-namdo (South Hwanghae Province)~05|Kangwon-do (Kangwon Province)~07|NasÅn (Najin-SÅnbong)~13|P'yongan-bukto (North P'yongan Province)~03|P'yongan-namdo (South P'yongan Province)~02|P'yongyang-si (P'yongyang City)~01|Yanggang-do (Yanggang Province)~10"],["Korea, Republic of","KR","Ch'ungch'ongbuk-do~43|Ch'ungch'ongnam-do~44|Cheju-do~49|Chollabuk-do~45|Chollanam-do~46|Inch'on-Kwangyokhi~28|Kang-won-do~42|Kwangju-Kwangyokshi~28|Kyonggi-do~41|Kyongsangbuk-do~47|Kyongsangnam-do~48|Pusan-Kwangyokshi~26|Seoul-T'ukpyolshi~11|Sejong~50|Taegu-Kwangyokshi~27|Taejon-Kwangyokshi~30|Ulsan-Kwangyokshi~31"],["Kuwait","KW","Al Aḩmadi~AH|Al FarwÄnÄ«yah~FA|Al JahrÄâ~JA|Al âÄÅimah~KU|ḨawallÄ«~HA|MubÄrak al Kabir~MU"],["Kyrgyzstan","KG","Batken Oblasty~B|Bishkek Shaary~GB|Chuy Oblasty (Bishkek)~C|Jalal-Abad Oblasty~J|Naryn Oblasty~N|Osh Oblasty~O|Talas Oblasty~T|Ysyk-Kol Oblasty (Karakol)~Y"],["Laos","LA","Attapu~AT|Bokèo~BK|Bolikhamxai~BL|Champasak~CH|Houaphan~HO|Khammouan~KH|Louang Namtha~LM|Louangphabang~LP|Oudômxai~OU|Phôngsali~PH|Salavan~SL|Savannakhét~SV|Vientiane~VI|Xaignabouli~XA|Xékong~XE|Xaisomboun~XS|Xiangkhouang~XI"],["Latvia","LV","Aglona~001|Aizkraukle~002|Aizpute~003|AknÄ«ste~004|Aloja~005|Alsunga~06|AlÅ«ksne~007|Amata~008|Ape~009|Auce~010|Ädaži~011|BabÄ«te~012|Baldone~013|Baltinava~014|Balvi~015|Bauska~016|BeverÄ«na~017|BrocÄni~018|Burtnieki~019|Carnikava~020|Cesvaine~021|CÄsis~022|Cibla~023|Dagda~024|Daugavpils~025|Daugavpils (City)~DGV|Dobele~026|Dundaga~027|Durbe~028|Engure~029|Ärgļi~030|Garkalne~031|GrobiÅa~032|Gulbene~033|Iecava~034|Ikšķile~035|IlÅ«kste~036|InÄukalns~037|Jaunjelgava~038|Jaunpiebalga~039|Jaunpils~040|Jelgava~041|Jelgava (City)~JEL|JÄkabpils~042|JÄkabpils (City)~JKB|JÅ«rmala (City)~JUR|Kandava~043|KÄrsava~044|KocÄni~045|Koknese~046|KrÄslava~047|Krimulda~048|Krustpils~049|KuldÄ«ga~050|Ķegums~051|Ķekava~052|LielvÄrde~053|LiepÄja~LPX|Limbaži~054|LÄ«gatne~055|LÄ«vÄni~056|LubÄna~057|Ludza~058|Madona~059|Mazsalaca~060|MÄlpils~061|MÄrupe~062|MÄrsrags~063|NaukÅ¡Äni~064|Nereta~065|NÄ«ca~066|Ogre~067|Olaine~068|Ozolnieki~069|PÄrgauja~070|PÄvilosta~071|PļaviÅas~072|Preiļi~073|Priekule~074|Priekuļi~075|Rauna~076|RÄzekne~077|RÄzekne (City)~REZ|RiebiÅi~078|RÄ«ga~RIX|Roja~079|Ropaži~080|Rucava~081|RugÄji~082|RundÄle~083|RÅ«jiena~084|Sala~085|SalacgrÄ«va~086|Salaspils~087|Saldus~088|Saulkrasti~089|SÄja~090|Sigulda~091|SkrÄ«veri~092|Skrunda~093|Smiltene~094|StopiÅi~095|StrenÄi~096|Talsi~097|TÄrvete~098|Tukums~099|VaiÅode~100|Valka~101|Valmiera~VMR|VarakļÄni~102|VÄrkava~103|Vecpiebalga~104|Vecumnieki~105|Ventspils~106|Ventspils (City)~VEN|ViesÄ«te~107|Viļaka~108|ViļÄni~109|Zilupe~110"],["Lebanon","LB","Aakkâr~AK|Baalbelk-Hermel~BH|Béqaa~BI|Beyrouth~BA|Liban-Nord~AS|Liban-Sud~JA|Mont-Liban~JL|Nabatîyé~NA"],["Lesotho","LS","Berea~D|Butha-Buthe~B|Leribe~C|Mafeteng~E|Maseru~A|Mohales Hoek~F|Mokhotlong~J|Qacha's Nek~H|Quthing~G|Thaba-Tseka~K"],["Liberia","LR","Bomi~BM|Bong~BG|Gbarpolu~GP|Grand Bassa~GB|Grand Cape Mount~CM|Grand Gedeh~GG|Grand Kru~GK|Lofa~LO|Margibi~MG|Maryland~MY|Montserrado~MO|Nimba~NI|River Cess~RI|River Geee~RG|Sinoe~SI"],["Libya","LY","Al BuÅ£nÄn~BU|Al Jabal al Akhá¸ar~JA|Al Jabal al GharbÄ«~JG|Al JafÄrah~JA|Al Jufrah~JU|Al Kufrah~FK|Al Marj~MJ|Al Marquab~MB|Al WÄḩÄt~WA|An NuqaÅ£ al Khams~NQ|Az ZÄwiyah~ZA|BanghÄzÄ«~BA|Darnah~DR|GhÄt~GH|MiÅrÄtah~MI|Murzuq~MQ|NÄlÅ«t~NL|SabhÄ~SB|Surt~SR|Å¢arÄbulus~TB|Yafran~WD|WÄdÄ« ash ShÄÅ£iʾ~WS"],["Liechtenstein","LI","Balzers~01|Eschen~02|Gamprin~03|Mauren~04|Planken~05|Ruggell~06|Schaan~07|Schellenberg~08|Triesen~09|Triesenberg~10|Vaduz~11"],["Lithuania","LT","Alytaus~AL|Kauno~KU|KlaipÄdos~KL|MarijampolÄs~MR|PanevÄžio~PN|Å iaulių~SA|TauragÄs~TA|TelÅ¡ių~TE|Utenos~UT|Vilniaus~VL"],["Luxembourg","LU","Capellen~CA|Clevaux~CL|Diekirch~DI|Echternach~EC|Esch-sur-Alzette~ES|Grevenmacher~GR|Luxembourg~LU|Mersch~ME|Redange~RD|Remich~RM|Vianden~VD|Wiltz~WI"],["Macao","MO","Macao"],["Macedonia, Republic of","MK","AraÄinovo~02|Berovo~03|Bitola~04|Bogdanci~05|Bogovinje~06|Bosilovo~07|Brvenica~08|Centar Župa~78|ÄaÅ¡ka~08|ÄeÅ¡inovo-ObleÅ¡evo~81|ÄuÄer Sandevo~82|Debar~21|Debarca~22|DelÄevo~23|Demir Hisar~25|Demir Kapija~24|Doran~26|Dolneni~27|Gevgelija~18|Gostivar~19|Gradsko~20|Ilinden~34|Jegunovce~35|Karbinci~37|Kavadarci~36|KiÄevo~40|KoÄani~42|KonÄe~41|Kratovo~43|Kriva Palanka~44|KrivogaÅ¡tani~45|KruÅ¡evo~46|Kumanovo~47|Lipkovo~48|Lozovo~49|Makedonska Kamenica~51|Makedonski Brod~52|Mavrovo i RostuÅ¡a~50|Mogila~53|Negotino~54|Novaci~55|Novo Selo~56|Ohrid~58|PehÄevo~60|Petrovec~59|Plasnica~61|Prilep~62|ProbiÅ¡tip~63|RadoviÅ¡~|Rankovce~65|Resen~66|Rosoman~67|Skopje~85|SopiÅ¡te~70|Staro NagoriÄane~71|Struga~72|Strumica~73|StudeniÄani~74|Sveti Nikole~69|Å tip~83|Tearce~75|Tetovo~76|Valandovo~10|Vasilevo~11|Veles~13|VevÄani~12|Vinica~14|VrapÄiÅ¡te~16|Zelenikovo~32|Zrnovci~33|Želino~30"],["Madagascar","MG","Antananarivo~T|Antsiranana~D|Fianarantsoa~F|Mahajanga~M|Toamasina~A|Toliara~U"],["Malawi","MW","Balaka~BA|Blantyre~BL|Chikwawa~CK|Chiradzulu~CR|Chitipa~CT|Dedza~DE|Dowa~DO|Karonga~KR|Kasungu~KS|Likoma~LK|Lilongwe~LI|Machinga~MH|Mangochi~MG|Mchinji~MC|Mulanje~MU|Mwanza~MW|Mzimba~MZ|Nkhata Bay~NE|Nkhotakota~NB|Nsanje~NS|Ntcheu~NU|Ntchisi~NI|Phalombe~PH|Rumphi~RU|Salima~SA|Thyolo~TH|Zomba~ZO"],["Malaysia","MY","Johor~01|Kedah~02|Kelantan~03|Melaka~04|Negeri Sembilan~05|Pahang~06|Perak~08|Perlis~09|Pulau Pinang~07|Sabah~12|Sarawak~13|Selangor~10|Terengganu~11|Wilayah Persekutuan (Kuala Lumpur)~14|Wilayah Persekutuan (Labuan)~15|Wilayah Persekutuan (Putrajaya)~16"],["Maldives","MV","Alifu Alifu~02|Alifu Dhaalu~00|Baa~20|Dhaalu~17|Faafu~14|Gaafu Alifu~27|Gaafu Dhaalu~28|Gnaviyani~29|Haa Alifu~07|Haa Dhaalu~23|Kaafu~29|Laamu~05|Lhaviyani~03|Malé~MLE|Meemu~12|Noonu~25|Raa~13|Seenu~01|Shaviyani~24|Thaa~08|Vaavu~04"],["Mali","ML","Bamako~BKO|Gao~7|Kayes~1|Kidal~8|Koulikoro~2|Mopti~5|Segou~4|Sikasso~3|Tombouctou~6"],["Malta","MT","Attard~01|Balzan~02|Birgu~03|Birkirkara~04|BirżebbuÄ¡a~05|Bormla~06|Dingli~07|Fgura~08|Floriana~09|Fontana~10|Guda~11|Gżira~12|Għajnsielem~13|Għarb~14|Għargħur~15|Għasri~16|Għaxaq~17|Ħamrun~18|Iklin~19|Isla~20|Kalkara~21|KerÄem~22|Kirkop~23|Lija~24|Luqa~25|Marsa~26|Marsaskala~27|Marsaxlokk~28|Mdina~29|Mellieħa~30|MÄ¡arr~31|Mosta~32|Mqabba~33|Msida~34|Mtarfa~35|Munxar~36|Nadur~37|Naxxar~38|Paola~39|Pembroke~40|Pietà ~41|Qala~42|Qormi~43|Qrendi~44|Rabat Għawdex~45|Rabat Malta~46|Safi~47|San Ä iljan~48|San Ä wann~49|San Lawrenz~50|San Pawl il-Baħar~51|Sannat~52|Santa LuÄija~53|Santa Venera~54|Siġġiewi~55|Sliema~56|Swieqi~57|Tai Xbiex~58|Tarzien~59|Valletta~60|Xagħra~61|Xewkija~62|Xgħajra~63|Å»abbar~64|Å»ebbuÄ¡ Għawde~65|Å»ebbuÄ¡ Malta~66|Å»ejtun~67|Å»urrieq~68"],["Marshall Islands","MH","Ailinglaplap~ALL|Ailuk~ALK|Arno~ARN|Aur~AUR|Bikini and Kili~KIL|Ebon~EBO|Jabat~JAB|Jaluit~JAL|Kwajalein~KWA|Lae~LAE|Lib~LIB|Likiep~LIK|Majuro~MAJ|Maloelap~MAL|Mejit~MEJ|Namdrik~NMK|Namu~NMU|Rongelap~RON|Ujae~UJA|Utrik~UTI|Wotho~WTH|Wotje~WTJ"],["Martinique","MQ","Martinique"],["Mauritania","MR","Adrar~07|Assaba~03|Brakna~05|Dakhlet Nouadhibou~08|Gorgol~04|Guidimaka~10|Hodh Ech Chargui~01|Hodh El Gharbi~02|Inchiri~12|Nouakchott Nord~14|Nouakchott Ouest~13|Nouakchott Sud~15|Tagant~09|Tiris Zemmour~11|Trarza~06"],["Mauritius","MU","Agalega Islands~AG|Beau Bassin-Rose Hill~BR|Black River~BL|Cargados Carajos Shoals~CC|Curepipe~CU|Flacq~FL|Grand Port~GP|Moka~MO|Pamplemousses~PA|Plaines Wilhems~PW|Port Louis (City)~PU|Port Louis~PL|Riviere du Rempart~RR|Rodrigues Island~RO|Savanne~SA|Vacoas-Phoenix~CP"],["Mayotte","YT","Dzaoudzi~01|Pamandzi~02|Mamoudzou~03|Dembeni~04|Bandrélé~05|Kani-Kéli~06|Bouéni~07|Chirongui~08|Sada~09|Ouangani~10|Chiconi~11|Tsingoni~12|M'Tsangamouji~13|Acoua~14|Mtsamboro~15|Bandraboua~16|Koungou~17"],["Mexico","MX","Aguascalientes~AGU|Baja California~BCN|Baja California Sur~BCS|Campeche~CAM|Ciudad de México~DIF|Chiapas~CHP|Chihuahua~CHH|Coahuila de Zaragoza~COA|Colima~COL|Durango~DUR|Estado de México~MEX|Guanajuato~GUA|Guerrero~GRO|Hidalgo~HID|Jalisco~JAL|Michoacán de Ocampo~MIC|Morelos~MOR|Nayarit~NAY|Nuevo León~NLE|Oaxaca~OAX|Puebla~PUE|Querétaro de Arteaga~QUE|Quintana Roo~ROO|San Luis PotosÃ~SLP|Sinaloa~SIN|Sonora~SON|Tabasco~TAB|Tamaulipas~TAM|Tlaxcala~TLA|Veracruz~VER|Yucatán~YUC|Zacatecas~ZAC"],["Micronesia, Federated States of","FM","Chuuk (Truk)~TRK|Kosrae~KSA|Pohnpei~PNI|Yap~YAP"],["Moldova","MD","Aenii Noi~AN|Basarabeasca~BS|BÄlÈi~BA|Bender~BD|Briceni~BR|Cahul~CA|Cantemir~CT|CÄlÄraÈi~CL|CÄuÈeni~CS|ChiÈinÄu~CU|CimiÈlia~CM|Criuleni~CR|DonduÈeni~DO|Drochia~DR|DubÄsari~DU|EdineÈ~ED|FÄleÈti~FA|FloreÈti~FL|GÄgÄuzia~GA|Glodeni~GL|HînceÈti~HI|Ialoveni~IA|Leova~LE|Nisporeni~NI|OcniÈa~OC|Orhei~OR|Rezina~RE|RîÈcani~RI|Sîngerei~SI|Soroca~SO|Stînga Nistrului~SN|StrÄÈeni~ST|ÈoldÄneÈti~SD|Ètefan VodÄ~SV|Taraclia~TA|TeleneÈti~TE|Ungheni~UN"],["Monaco","MC","Colle~CL|Condamine~CO|Fontvieille~FO|Gare~GA|Jardin Exotique~JE|Larvotto~LA|Malbousquet~MA|Monaco-Ville~MO|Moneghetti~MG|Monte-Carlo~MC|Moulins~MU|Port-Hercule~PH|Saint-Roman~SR|Sainte-Dévote~SD|Source~SO|Spélugues~SP|Vallon de la Rousse~VR"],["Mongolia","MN","Arhangay~073|Bayan-Olgiy~071|Bayanhongor~069|Bulgan~067|Darhan~037|Dornod~061|Dornogovi~063|Dundgovi~059|Dzavhan~065|Govi-Altay~065|Govi-Sumber~064|Hovd~043|Hovsgol~041|Omnogovi~053|Ovorhangay~055|Selenge~049|Suhbaatar~051|Tov~047|Ulaanbaatar~1|Uvs~046"],["Montenegro","ME","Andrijevica~01|Bar~02|Berane~03|Bijelo Polje~04|Budva~05|Cetinje~06|Danilovgrad~07|Gusinje~22|Herceg Novi~08|KolaÅ¡in~09|Kotor~10|Mojkovac~11|NikÅ¡iÄ~12|Petnica~23|Plav~13|Plužine~14|Pljevlja~15|Podgorica~16|Rožaje~17|Å avnik~18|Tivat~19|Ulcinj~20|Žabljak~21"],["Montserrat","MS","Saint Anthony|Saint Georges|Saint Peter's"],["Morocco","MA","Chaouia-Ouardigha~09|Doukhala-Abda~10|Fès-Boulemane~05|Gharb-Chrarda-Beni Hssen~02|Grand Casablanca~08|Guelmim-Es Semara~14|Laâyoune-Boujdour-Sakia el Hamra~15|Marrakech-Tensift-Al Haouz~11|Meknès-Tafilalet~06|Oriental~04|Oued ed Dahab-Lagouira~16|Souss-Massa-Drâa~13|Tadla-Azilal~12|Tanger-Tétouan~01|Taza-Al Hoceima-Taounate~03"],["Mozambique","MZ","Cabo Delgado~P|Gaza~G|Inhambane~I|Manica~B|Maputo~L|Maputo (City)~MPM|Nampula~N|Niassa~A|Sofala~S|Tete~T|Zambezia~Q"],["Myanmar","MM","Ayeyarwady~07|Bago~02|Chin~14|Kachin~11|Kayah~12|Kayin~13|Magway~03|Mandalay~04|Mon~15|Nay Pyi Taw~18|Rakhine~16|Sagaing~01|Shan~17|Tanintharyi~05|Yangon~06"],["Namibia","NA","Erongo~ER|Hardap~HA|Kavango East~KE|Kavango West~KW|Karas~KA|Khomas~KH|Kunene~KU|Ohangwena~OW|Omaheke~OH|Omusati~OS|Oshana~ON|Oshikoto~OT|Otjozondjupa~OD|Zambezi~CA"],["Nauru","NR","Aiwo~01|Anabar~02|Anetan~03|Anibare~04|Baiti~05|Boe~06|Buada~07|Denigomodu~08|Ewa~09|Ijuw~10|Meneng~11|Nibok~12|Uaboe~13|Yaren~14"],["Nepal","NP","Bagmati~BA|Bheri~BH|Dhawalagiri~DH|Gandaki~GA|Janakpur~JA|Karnali~KA|Kosi~KO|Lumbini~LU|Mahakali~MA|Mechi~ME|Narayani~NA|Rapti~RA|Sagarmatha~SA|Seti~SE"],["Netherlands","NL","Drenthe~DR|Flevoland~FL|Friesland~FR|Gelderland~GE|Groningen~GR|Limburg~LI|Noord-Brabant~NB|Noord-Holland~NH|Overijssel~OV|Utrecht~UT|Zeeland~ZE|Zuid-Holland~ZH"],["New Caledonia","NC","Iles Loyaute|Nord|Sud"],["New Zealand","NZ","Auckland~AUK|Bay of Plenty~BOP|Canterbury~CAN|Gisborne~GIS|Hawke's Bay~HKB|Marlborough~MBH|Manawatu-Wanganui~MWT|Northland~NTL|Nelson~NSN|Otago~OTA|Southland~STL|Taranaki~TKI|Tasman~TAS|Waikato~WKO|Wellington~WGN|West Coast~WTC|Chatham Islands Territory~CIT"],["Nicaragua","NI","Boaco~BO|Carazo~CA|Chinandega~CI|Chontales~CO|EstelÃ~ES|Granada~GR|Jinotega~JI|León~LE|Madriz~MD|Managua~MN|Masaya~MS|Matagalpa~MT|Nueva Segovia~NS|RÃo San Juan~SJ|Rivas~RI|Atlántico Norte~AN|Atlántico Sur~AS"],["Niger","NE","Agadez~1|Diffa~2|Dosso~3|Maradi~4|Niamey~8|Tahoua~5|Tillabéri~6|Zinder~7"],["Nigeria","NG","Abia~AB|Abuja Federal Capital Territory~FC|Adamawa~AD|Akwa Ibom~AK|Anambra~AN|Bauchi~BA|Bayelsa~BY|Benue~BE|Borno~BO|Cross River~CR|Delta~DE|Ebonyi~EB|Edo~ED|Ekiti~EK|Enugu~EN|Gombe~GO|Imo~IM|Jigawa~JI|Kaduna~KD|Kano~KN|Katsina~KT|Kebbi~KE|Kogi~KO|Kwara~KW|Lagos~LA|Nassarawa~NA|Niger~NI|Ogun~OG|Ondo~ON|Osun~OS|Oyo~OY|Plateau~PL|Rivers~RI|Sokoto~SO|Taraba~TA|Yobe~YO|Zamfara~ZA"],["Niue","NU","Niue"],["Norfolk Island","NF","Norfolk Island"],["Northern Mariana Islands","MP","Northern Islands|Rota|Saipan|Tinian"],["Norway","NO","Akershus~02|Aust-Agder~09|Buskerud~06|Finnmark~20|Hedmark~04|Hordaland~12|Møre og Romsdal~15|Nordland~18|Nord-Trøndelag~17|Oppland~05|Oslo~03|Rogaland~11|Sogn og Fjordane~14|Sør-Trøndelag~16|Telemark~08|Troms~19|Vest-Agder~10|Vestfold~07|Ãstfold~01|Jan Mayen~22|Svalbard~21"],["Oman","OM","Ad Dakhiliyah~DA|Al Buraymi~BU|Al Wusta~WU|Az Zahirah~ZA|Janub al Batinah~BS|Janub ash Sharqiyah~SS|Masqat~MA|Musandam~MU|Shamal al Batinah~BJ|Shamal ash Sharqiyah~SJ|Zufar~ZU"],["Pakistan","PK","ÄzÄd KashmÄ«r~JK|BalÅchistÄn~BA|Gilgit-BaltistÄn~GB|IslÄmÄbÄd~IS|KhaÄ«bar PakhtÅ«nkhwÄs~KP|PunjÄb~PB|Sindh~SD|Federally Administered Tribal Areas~TA"],["Palau","PW","Aimeliik~002|Airai~004|Angaur~010|Hatobohei~050|Kayangel~100|Koror~150|Melekeok~212|Ngaraard~214|Ngarchelong~218|Ngardmau~222|Ngatpang~224|Ngchesar~226|Ngeremlengui~227|Ngiwal~228|Peleliu~350|Sonsoral~350"],["Palestine, State of","PS","Ak KhalÄ«l~HBN|Al Quds~JEM|ArÄ«á¸©Ä wal AghwÄr~JRH|Bayt Laḩm~BTH|Dayr al Balaḩ~DEB|Ghazzah~GZA|JanÄ«n~JEN|KhÄn YÅ«nis~KYS|NÄblus~NBS|QalqÄ«yah~QQA|Rafaḩ~RFH|RÄm AllÄh wal BÄ«rah~RBH|SalfÄ«t~SLT|ShamÄl Ghazzah~NGZ|ŢūbÄs~TBS|Ţūlkarm~TKM"],["Panama","PA","Bocas del Toro~1|ChiriquÃ~4|Coclé~2|Colón~3|Darién~5|Emberá~EM|Herrera~6|Kuna Yala~KY|Los Santos~7|Ngäbe-Buglé~NB|Panamá~8|Panamá Oeste~10|Veraguas~9"],["Papua New Guinea","PG","Bougainville~NSB|Central~CPM|Chimbu~CPK|East New Britain~EBR|East Sepik~ESW|Eastern Highlands~EHG|Enga~EPW|Gulf~GPK|Hela~HLA|Jiwaka~JWK|Madang~MOM|Manus~MRL|Milne Bay~MBA|Morobe~MPL|Port Moresby~NCD|New Ireland~NIK|Northern~NPP|Southern Highlands~SHM|West New Britain~WBK|West Sepik~SAN|Western~WPD|Western Highlands~WHM"],["Paraguay","PY","Alto Paraguay~16|Alto Parana~10|Amambay~13|Asuncion~ASU|Caaguazu~5|Caazapa~6|Canindeyu~14|Central~11|Concepcion~1|Cordillera~3|Guaira~4|Itapua~7|Misiones~8|Neembucu~12|Paraguari~9|Presidente Hayes~15|San Pedro~2"],["Peru","PE","Amazonas~AMA|Ancash~ANC|Apurimac~APU|Arequipa~ARE|Ayacucho~AYA|Cajamarca~CAJ|Callao~CAL|Cusco~CUS|Huancavelica~HUV|Huanuco~HUC|Ica~ICA|Junin~JUN|La Libertad~LAL|Lambayeque~LAM|Lima~LIM|Loreto~LOR|Madre de Dios~MDD|Moquegua~MOQ|Municipalidad Metropolitana de Lima~LMA|Pasco~PAS|Piura~PIU|Puno~PUN|San Martin~SAM|Tacna~TAC|Tumbes~TUM|Ucayali~UCA"],["Philippines","PH","Abra~ABR|Agusan del Norte~AGN|Agusan del Sur~AGS|Aklan~AKL|Albay~ALB|Antique~ANT|Apayao~APA|Aurora~AUR|Basilan~BAS|Bataan~BAN|Batanes~BTN|Batangas~BTG|Benguet~BEN|Biliran~BIL|Bohol~BOH|Bukidnon~BUK|Bulacan~BUL|Cagayan~CAG|Camarines Norte~CAN|Camarines Sur~CAS|Camiguin~CAM|Capiz~CAP|Catanduanes~CAT|Cavite~CAV|Cebu~CEB|Compostela~COM|Cotabato~NCO|Davao del Norte~DAV|Davao del Sur~DAS|Davao Occidental~DVO|Davao Oriental~DAO|Dinagat Islands~DIN|Eastern Samar~EAS|Guimaras~GUI|Ifugao~IFU|Ilocos Norte~ILN|Ilocos Sur~ILS|Iloilo~ILI|Isabela~ISA|Kalinga~KAL|La Union~LUN|Laguna~LAG|Lanao del Norte~LAN|Lanao del Sur~LAS|Leyte~LEY|Maguindanao~MAG|Masbate~MAS|Metro Manila~00|Mindoro Occidental~MDC|Mindoro Oriental~MDR|Misamis Occidental~MSC|Misamis Oriental~MSR|Mountain Province~MOU|Negros Occidental~NEC|Negros Oriental~NER|Northern Samar~NSA|Nueva Ecija~NUE|Nueva Vizcaya~NUV|Palawan~PLW|Pampanga~PAM|Pangasinan~PAN|Quezon~QUE|Quirino~QUI|Rizal~RIZ|Romblon~ROM|Samar~WSA|Sarangani~SAR|Siquijor~SIG|Sorsogon~SOR|Southern Leyte~SLE|Sultan Kudarat~AUK|Sulu~SLU|Surigao del Norte~SUN|Surigao del Sur~SUR|Tarlac~TAR|Tawi-Tawi~TAW|Zambales~ZMB|Zamboanga del Norte~ZAN|Zamboanga del Sur~ZAS|Zamboanga Sibugay~ZSI"],["Pitcairn","PN","Pitcairn Islands"],["Poland","PL","DolnoÅlÄ
skie~DS|Kujawsko-pomorskie~KP|Åódzkie~LD|Lubelskie~LU|Lubuskie~LB|Malopolskie~MA|Mazowieckie~MZ|Opolskie~OP|Podkarpackie~PK|Podlaskie~PD|Pomorskie~PM|ÅlÄ
skie~SL|ÅwiÄtokrzyskie~SK|WarmiÅsko-mazurskie~WN|Wielkopolskie~WP|Zachodniopomorskie~ZP"],["Portugal","PT","Acores~20|Aveiro~01|Beja~02|Braga~03|Braganca~04|Castelo Branco~05|Coimbra~06|Evora~07|Faro~08|Guarda~09|Leiria~10|Lisboa~11|Madeira~30|Portalegre~12|Porto~13|Santarem~14|Setubal~15|Viana do Castelo~16|Vila Real~17|Viseu~18"],["Puerto Rico","PR","Adjuntas|Aguada|Aguadilla|Aguas Buenas|Aibonito|Anasco|Arecibo|Arroyo|Barceloneta|Barranquitas|Bayamon|Cabo Rojo|Caguas|Camuy|Canovanas|Carolina|Cat|Ceiba|Ciales|Cidra|Coamo|Comerio|Corozal|Culebra|Dorado|Fajardo|Florida|Guanica|Guayama|Guayanilla|Guaynabo|Gurabo|Hatillo|Hormigueros|Humacao|Isabe|Juana Diaz|Juncos|Lajas|Lares|Las Marias|Las oiza|Luquillo|Manati|Maricao|Maunabo|Mayaguez|Moca|Morovis|Naguabo|Naranjito|Orocovis|Patillas|Penuelas|Ponce|Quebradillas|Rincon|Rio Grande|Sabana linas|San German|San Juan|San Lorenzo|San Sebastian|Santa Isabel|Toa Alta|Toa Baja|Trujillo Alto|Utuado|Vega Alta|Vega ues|Villalba|Yabucoa|Yauco"],["Qatar","QA","Ad Dawḩah~DA|Al Khawr wa adh DhakhÄ«rah~KH|Al Wakrah~WA|Ar RayyÄn~RA|Ash ShamÄl~MS|Az̧ Za̧`Äyin~ZA|Umm ÅalÄl~US"],["Réunion","RE","Réunion"],["Romania","RO","Alba~AB|Arad~AR|Arges~AG|Bacau~BC|Bihor~BH|Bistrita-Nasaud~BN|Botosani~BT|Braila~BR|Brasov~BV|Bucuresti~B|Buzau~BZ|Calarasi~CL|Caras-Severin~CS|Cluj~CJ|Constanta~CT|Covasna~CV|Dambovita~DB|Dolj~DJ|Galati~GL|Giurgiu~GR|Gorj~GJ|Harghita~HR|Hunedoara~HD|Ialomita~IL|Iasi~IS|Maramures~MM|Mehedinti~MH|Mures~MS|Neamt~NT|Olt~OT|Prahova~PH|Salaj~SJ|Satu Mare~SM|Sibiu~SB|Suceava~SV|Teleorman~TR|Timis~TM|Tulcea~TL|Valcea~VL|Vaslui~VS|Vrancea~VN"],["Russian Federation","RU","Republic of Adygea~AD|Republic of Altai (Gorno-Altaysk)~AL|Altai Krai~ALT|Amur Oblast~AMU|Arkhangelsk Oblast~ARK|Astrakhan Oblast~AST|Republic of Bashkortostan~BA|Belgorod Oblast~BEL|Bryansk Oblast~BRY|Republic of Buryatia~BU|Chechen Republic~CE|Chelyabinsk Oblast~CHE|Chukotka Autonomous Okrug~CHU|Chuvash Republic~CU|Republic of Dagestan~DA|Republic of Ingushetia~IN|Irkutsk Oblast~IRK|Ivanovo Oblast~IVA|Jewish Autonomous Oblast~JEW|Kabardino-Balkar Republic~KB|Kaliningrad Oblast~KLN|Republic of Kalmykia~KL|Kaluga Oblast~KLU|Kamchatka Krai~KAM|Karachay-Cherkess Republic~KC|Republic of Karelia~KR|Khabarovsk Krai~KHA|Republic of Khakassia~KK|Khanty-Mansi Autonomous Okrug - Yugra~KHM|Kemerovo Oblast~KEM|Kirov Oblast~KIR|Komi Republic~KO|Kostroma Oblast~KOS|Krasnodar Krai~KDA|Krasnoyarsk Krai~KYA|Kurgan Oblast~KGN|Kursk Oblast~KRS|Leningrad Oblast~LEN|Lipetsk Oblast~LIP|Magadan Oblast~MAG|Mari El Republic~ME|Republic of Mordovia~MO|Moscow Oblast~MOS|Moscow~MOW|Murmansk Oblast~MU|Nenets Autonomous Okrug~NEN|Nizhny Novgorod Oblast~NIZ|Novgorod Oblast~NGR|Novosibirsk Oblast~NVS|Omsk Oblast~OMS|Orenburg Oblast~ORE|Oryol Oblast~ORL|Penza Oblast~PNZ|Perm Krai~PER|Primorsky Krai~PRI|Pskov Oblast~PSK|Rostov Oblast~ROS|Ryazan Oblast~RYA|Saint Petersburg~SPE|Sakha (Yakutia) Republic~SA|Sakhalin Oblast~SAK|Samara Oblast~SAM|Saratov Oblast~SAR|Republic of North Ossetia-Alania~NOA|Smolensk Oblast~SMO|Stavropol Krai~STA|Sverdlovsk Oblast~SVE|Tambov Oblast~TAM|Republic of Tatarstan~TA|Tomsk Oblast~TOM|Tuva Republic~TU|Tula Oblast~TUL|Tver Oblast~TVE|Tyumen Oblast~TYU|Udmurt Republic~UD|Ulyanovsk Oblast~ULY|Vladimir Oblast~VLA|Volgograd Oblast~VGG|Vologda Oblast~VLG|Voronezh Oblast~VOR|Yamalo-Nenets Autonomous Okrug~YAN|Yaroslavl Oblast~YAR|Zabaykalsky Krai~ZAB"],["Rwanda","RW","Kigali~01|Eastern~02|Northern~03|Western~04|Southern~05"],["Saint Barthélemy","BL","Au Vent~02|Sous le Vent~01"],["Saint Helena, Ascension and Tristan da Cunha","SH","Ascension~AC|Saint Helena~HL|Tristan da Cunha~TA"],["Saint Kitts and Nevis","KN","Saint Kitts~K|Nevis~N"],["Saint Lucia","LC","Anse-la-Raye~01|Canaries~12|Castries~02|Choiseul~03|Dennery~05|Gros Islet~06|Laborie~07|Micoud~08|Soufriere~10|Vieux Fort~11"],["Saint Martin","MF","Saint Martin"],["Saint Pierre and Miquelon","PM","Miquelon|Saint Pierre"],["Saint Vincent and the Grenadines","VC","Charlotte~01|Grenadines~06|Saint Andrew~02|Saint David~03|Saint George~04|Saint Patrick~05"],["Samoa","WS","A'ana~AA|Aiga-i-le-Tai~AL|Atua~AT|Fa'asaleleaga~FA|Gaga'emauga~GE|Gagaifomauga~GI|Palauli~PA|Satupa'itea~SA|Tuamasaga~TU|Va'a-o-Fonoti~VF|Vaisigano~VS"],["San Marino","SM","Acquaviva~01|Borgo Maggiore~06|Chiesanuova~02|Domagnano~03|Faetano~04|Fiorentino~05|Montegiardino~08|San Marino~07|Serravalle~09"],["Sao Tome and Principe","ST","Principe~P|Sao Tome~S"],["Saudi Arabia","SA","'Asir~14|Al Bahah~11|Al Hudud ash Shamaliyah~08|Al Jawf~12|Al Madinah al Munawwarah~03|Al Qasim~05|Ar Riyad~01|Ash Sharqiyah~04|Ha'il~06|Jazan~09|Makkah al Mukarramah~02|Najran~10|Tabuk~07"],["Senegal","SN","Dakar~DK|Diourbel~DB|Fatick~FK|Kaffrine~KA|Kaolack~KL|Kedougou~KE|Kolda~KD|Louga~LG|Matam~MT|Saint-Louis~SL|Sedhiou~SE|Tambacounda~TC|Thies~TH|Ziguinchor~ZG"],["Serbia","RS","Beograd (Belgrade)~00|Borski~14|BraniÄevski~11|JablaniÄki~23|JužnobaÄki~06|Južnobanatski~04|Kolubarski~09|Kosovski~25|Kosovsko-MitrovaÄki~28|Kosovsko-Pomoravski~29|MaÄvanski~08|MoraviÄki~17|NiÅ¡avski~20|PÄinjski~24|PeÄki~26|Pirotski~22|Podunavski~10|Pomoravski~13|Prizrenski~27|Rasinski~19|RaÅ¡ki~18|SevernobaÄki~01|Severnobanatski~03|Srednjebanatski~02|Sremski~07|Å umadijski~12|TopliÄki~21|ZajeÄarski~15|ZapadnobaÄki~05|Zlatiborski~16"],["Seychelles","SC","Anse aux Pins~01|Anse Boileau~02|Anse Etoile~03|Anse Royale~05|Anu Cap~04|Baie Lazare~06|Baie Sainte Anne~07|Beau Vallon~08|Bel Air~09|Bel Ombre~10|Cascade~11|Glacis~12|Grand'Anse Mahe~13|Grand'Anse Praslin~14|La Digue~15|La Riviere Anglaise~16|Les Mamelles~24|Mont Buxton~17|Mont Fleuri~18|Plaisance~19|Pointe La Rue~20|Port Glaud~21|Roche Caiman~25|Saint Louis~22|Takamaka~23"],["Sierra Leone","SL","Eastern~E|Northern~N|Southern~S|Western~W"],["Singapore","SG","Central Singapore~01|North East~02|North West~03|South East~04|South West~05"],["Sint Maarten (Dutch part)","SX","Sint Maarten"],["Slovakia","SK","Banskobystricky~BC|Bratislavsky~BL|Kosicky~KI|Nitriansky~NI|Presovsky~PV|Trenciansky~TC|Trnavsky~TA|Zilinsky~ZI"],["Slovenia","SI","Ajdovscina~001|Apace~195|Beltinci~002|Benedikt~148|Bistrica ob Sotli~149|Bled~003|Bloke~150|Bohinj~004|Borovnica~005|Bovec~006|Braslovce~151|Brda~007|Brezice~009|Brezovica~008|Cankova~152|Celje~011|Cerklje na Gorenjskem~012|Cerknica~013|Cerkno~014|Cerkvenjak~153|Cirkulane~196|Crensovci~015|Crna na Koroskem~016|Crnomelj~017|Destrnik~018|Divaca~019|Dobje~154|Dobrepolje~020|Dobrna~155|Dobrova-Polhov Gradec~021|Dobrovnik~156|Dol pri Ljubljani~022|Dolenjske Toplice~157|Domzale~023|Dornava~024|Dravograd~025|Duplek~026|Gorenja Vas-Poljane~027|Gorisnica~028|Gorje~207|Gornja Radgona~029|Gornji Grad~030|Gornji Petrovci~031|Grad~158|Grosuplje~032|Hajdina~159|Hoce-Slivnica~160|Hodos~161|Horjul~162|Hrastnik~034|Hrpelje-Kozina~035|Idrija~036|Ig~037|Ilirska Bistrica~038|Ivancna Gorica~039|Izola~040s|Jesenice~041|Jursinci~042|Kamnik~043|Kanal~044|Kidricevo~045|Kobarid~046|Kobilje~047|Kocevje~048|Komen~049|Komenda~164|Koper~050|Kodanjevica na Krki~197|Kostel~165|Kozje~051|Kranj~052|Kranjska Gora~053|Krizevci~166|Krsko~054|Kungota~055|Kuzma~056|Lasko~057|Lenart~058|Lendava~059|Litija~068|Ljubljana~061|Ljubno~062|Ljutomer~063|Log-Dragomer~208|Logatec~064|Loska Dolina~065|Loski Potok~066|Lovrenc na Pohorju~167|Lukovica~068|Luce~067|Majsperk~069|Makole~198|Maribor~070|Markovci~168|Medvode~071|Menges~072|Metlika~073|Mezica~074|Miklavz na Dravskem Polju~169|Miren-Kostanjevica~075|Mirna~212|Mirna Pec~170|Mislinja~076|Mokronog-Trebelno~199|Moravce~077|Moravske Toplice~078|Mozirje~079|Murska Sobota~080|Naklo~082|Nazarje~083|Nova Gorica~084|Novo Mesto~085|Odranci~086|Ormoz~087|Osilnica~088|Pesnica~089|Piran~090|Pivka~091|Podcetrtek~092|Podlehnik~172|Podvelka~093|Poljcane~200|Postojna~094|Prebold~174|Preddvor~095|Prevalje~175|Ptuj~096|Race-Fram~098|Radece~099|Radenci~100|Radlje ob Dravi~101|Radovljica~102|Ravne na Koroskem~103|Razkrizje~176|Recica ob Savinji~209|Rence-Vogrsko~201|Ribnica~104|Ribnica na Poboriu~177|Rogaska Slatina~106|Rogasovci~105|Rogatec~107|Ruse~108|Salovci~033|Selnica ob Dravi~178|Semic~109|Sempeter-Vrtojba~183|Sencur~117|Sentilj~118|Sentjernej~119|Sentjur~120|Sentrupert~211|Sevnica~110|Sezana~111|Skocjan~121|Skofja Loka~122|Skofljica~123|Slovenj Gradec~112|Slovenska Bistrica~113|Slovenske Konjice~114|Smarje pri elsah~124|Smarjeske Toplice~206|Smartno ob Paki~125|Smartno pri Litiji~194|Sodrazica~179|Solcava~180|Sostanj~126|Sredisce ob Dravi~202|Starse~115|Store~127|Straza~203|Sveta Ana~181|Sveta Trojica v Slovenskih Goricah~204|Sveta Andraz v Slovenskih Goricah~182|Sveti Jurij~116|Sveti Jurij v Slovenskih Goricah~210|Sveti Tomaz~205|Tabor~184|Tisina~128|Tolmin~128|Trbovlje~129|Trebnje~130|Trnovska Vas~185|Trzin~186|Trzic~131|Turnisce~132|Velenje~133|Velika Polana~187|Velike Lasce~134|Verzej~188|Videm~135|Vipava~136|Vitanje~137|Vodice~138|Vojnik~139|Vransko~189|Vrhnika~140|Vuzenica~141|Zagorje ob Savi~142|Zavrc~143|Zrece~144|Zalec~190|Zelezniki~146|Zetale~191|Ziri~147|Zirovnica~192|Zuzemberk~193"],["Solomon Islands","SB","Central~CE|Choiseul~CH|Guadalcanal~GU|Honiara~CT|Isabel~IS|Makira-Ulawa~MK|Malaita~ML|Rennell and Bellona~RB|Temotu~TE|Western~WE"],["Somalia","SO","Awdal~AW|Bakool~BK|Banaadir~BN|Bari~BR|Bay~BY|Galguduud~GA|Gedo~GE|Hiiraan~HI|Jubbada Dhexe~JD|Jubbada Hoose~JH|Mudug~MU|Nugaal~NU|Sanaag~SA|Shabeellaha Dhexe~SD|Shabeellaha Hoose~SH|Sool~SO|Togdheer~TO|Woqooyi Galbeed~WO"],["South Africa","ZA","Eastern Cape~EC|Free State~FS|Gauteng~GT|KwaZulu-Natal~NL|Limpopo~LP|Mpumalanga~MP|Northern Cape~NC|North West~NW|Western Cape~WC"],["South Georgia and South Sandwich Islands","GS","Bird Island|Bristol Island|Clerke Rocks|Montagu Island|Saunders Island|South Georgia|Southern Thule|Traversay Islands"],["South Sudan","SS","Central Equatoria~CE|Eastern Equatoria~EE|Jonglei~JG|Lakes~LK|Northern Bahr el Ghazal~BN|Unity~UY|Upper Nile~NU|Warrap~WR|Western Bahr el Ghazal~BW|Western Equatoria~EW"],["Spain","ES","Albacete~CM|Alicante~VC|AlmerÃa~AN|Araba/Ãlava~VI|Asturias~O|Ãvila~AV|Badajoz~BA|Barcelona~B|Bizkaia~BI|Burgos~BU|Cáceres~CC|Cádiz~CA|Cantabria~S|Castellón~CS|Cueta~CU|Ciudad Real~CR|Córdoba~CO|A Coruña~C|Cuenca~CU|Gipuzkoa~SS|Girona~GI|Granada~GR|Guadalajara~GU|Huelva~H|Huesca~HU|Illes Balears~PM|Jaén~J|León~LE|Lleida~L|Lugo~LU|Madrid~M|Málaga~MA|Melilla~ML|Murcia~MU|Navarre~NA|Ourense~OR|Palencia~P|Las Palmas~GC|Pontevedra~PO|La Rioja~LO|Salamanca~SA|Santa Cruz de Tenerife~TF|Segovia~SG|Sevilla~SE|Soria~SO|Tarragona~T|Teruel~TE|Toledo~TO|Valencia~V|Valladolid~VA|Zamora~ZA|Zaragoza~Z"],["Sri Lanka","LK","Basnahira~1|Dakunu~3|Madhyama~2|Naegenahira~5|Sabaragamuwa~9|Uturu~4|Uturumaeda~7|Vayamba~6|Uva~8"],["Sudan","SD","Al Bahr al Ahmar~RS|Al Jazirah~GZ|Al Khartum~KH|Al Qadarif~GD|An Nil al Abyad~NW|An Nil al Azraq~NB|Ash Shamaliyah~NO|Gharb Darfur~DW|Gharb Kurdufan~GK|Janub Darfur~DS|Janub Kurdufan~KS|Kassala~KA|Nahr an Nil~NR|Shamal Darfur~DN|Sharq Darfur~DE|Shiamal Kurdufan~KN|Sinnar~SI|Wasat Darfur Zalinjay~DC"],["Suriname","SR","Brokopondo~BR|Commewijne~CM|Coronie~CR|Marowijne~MA|Nickerie~NI|Para~PR|Paramaribo~PM|Saramacca~SA|Sipaliwini~SI|Wanica~WA"],["Swaziland","SZ","Hhohho~HH|Lubombo~LU|Manzini~MA|Shiselweni~SH"],["Sweden","SE","Blekinge~K|Dalarnas~W|Gotlands~X|Gavleborgs~I|Hallands~N|Jamtlands~Z|Jonkopings~F|Kalmar~H|Kronobergs~G|Norrbottens~BD|Orebro~T|Ostergotlands~E|Skane~M|Sodermanlands~D|Stockholm~AB|Varmlands~S|Vasterbottens~AC|Vasternorrlands~Y|Vastmanlands~U|Vastra Gotalands~O"],["Switzerland","CH","Aargau~AG|Appenzell Ausserrhoden~AR|Appenzell Innerhoden~AI|Basel-Landschaft~BL|Basel-Stadt~BS|Bern~BE|Fribourg~FR|Genève~GE|Glarus~GL|Graubünden~GR|Jura~JU|Luzern~LU|Neuchâtel~NE|Nidwalden~NW|Obwalden~OW|Sankt Gallen~SG|Schaffhausen~SH|Schwyz~SZ|Solothurn~SO|Thurgau~TG|Ticino~TI|Uri~UR|Valais~VS|Vaud~VD|Zug~ZG|Zürich~ZH"],["Syrian Arab Republic","SY","Al Hasakah~HA|Al Ladhiqiyah~LA|Al Qunaytirah~QU|Ar Raqqah~RA|As Suwayda'~SU|Dar'a~DR|Dayr az Zawr~DY|Dimashq~DI|Halab~HL|Hamah~HM|Hims~HI|Idlib~ID|Rif Dimashq~RD|Tartus~TA"],["Taiwan","TW","Chang-hua~CHA|Chia-i~CYQ|Hsin-chu~HSQ|Hua-lien~HUA|Kao-hsiung~KHH|Keelung~KEE|Kinmen~KIN|Lienchiang~LIE|Miao-li~MIA|Nan-t'ou~NAN|P'eng-hu~PEN|New Taipei~NWT|P'ing-chung~PIF|T'ai-chung~TXG|T'ai-nan~TNN|T'ai-pei~TPE|T'ai-tung~TTT|T'ao-yuan~TAO|Yi-lan~ILA|Yun-lin~YUN"],["Tajikistan","TJ","Dushanbe~DU|KÅhistoni Badakhshon~GB|Khatlon~KT|Sughd~SU"],["Tanzania, United Republic of","TZ","Arusha~01|Coast~19|Dar es Salaam~02|Dodoma~03|Iringa~04|Kagera~05|Kigoma~08|Kilimanjaro~09|Lindi~12|Manyara~26|Mara~13|Mbeya~14|Morogoro~16|Mtwara~17|Mwanza~18|Pemba North~06|Pemba South~10|Rukwa~20|Ruvuma~21|Shinyanga~22|Singida~23|Tabora~24|Tanga~25|Zanzibar North~07|Zanzibar Central/South~11|Zanzibar Urban/West~15"],["Thailand","TH","Amnat Charoen~37|Ang Thong~15|Bueng Kan~38|Buri Ram~31|Chachoengsao~24|Chai Nat~18|Chaiyaphum~36|Chanthaburi~22|Chiang Mai~50|Chiang Rai~57|Chon Buri~20|Chumphon~86|Kalasin~46|Kamphaeng Phet~62|Kanchanaburi~71|Khon Kaen~40|Krabi~81|Krung Thep Mahanakhon (Bangkok)~10|Lampang~52|Lamphun~51|Loei~42|Lop Buri~16|Mae Hong Son~58|Maha Sarakham~44|Mukdahan~49|Nakhon Nayok~26|Nakhon Phathom~73|Nakhon Phanom~48|Nakhon Ratchasima~30|Nakhon Sawan~60|Nakhon Si Thammarat~80|Nan~55|Narathiwat~96|Nong Bua Lam Phu~39|Nong Khai~43|Nonthaburi~12|Pathum Thani~13|Pattani~94|Phangnga~82|Phatthalung~93|Phayao~56|Phetchabun~76|Phetchaburi~76|Phichit~66|Phitsanulok~65|Phra Nakhon Si Ayutthaya~14|Phrae~54|Phuket~83|Prachin Buri~25|Prachuap Khiri Khan~77|Ranong~85|Ratchaburi~70|Rayong~21|Roi Et~45|Sa Kaeo~27|Sakon Nakhon~47|Samut Prakan~11|Samut Sakhon~74|Samut Songkhram~75|Saraburi~19|Satun~91|Sing Buri~17|Si Sa ket~33|Songkhla~90|Sukhothai~64|Suphan Buri~72|Surat Thani~84|Surin~32|Tak~63|Trang~92|Trat~23|Ubon Ratchathani~34|Udon Thani~41|Uthai Thani~61|Uttaradit~53|Yala~95|Yasothon~35"],["Timor-Leste","TL","Aileu~AL|Ainaro~AN|Baucau~BA|Bobonaro~BO|Cova Lima~CO|Dili~DI|Ermera~ER|Lautem~LA|Liquica~LI|Manatuto~MT|Manufahi~MF|Oecussi~OE|Viqueque~VI"],["Togo","TG","Centre~C|Kara~K|Maritime~M|Plateaux~P|Savannes~S"],["Tokelau","TK","Atafu|Fakaofo|Nukunonu"],["Tonga","TO","'Eua~01|Ha'apai~02|Niuas~03|Tongatapu~04|Vava'u~05"],["Trinidad and Tobago","TT","Arima~ARI|Chaguanas~CHA|Couva-Tabaquite-Talparo~CTT|Diefo Martin~DMN|Mayaro-Rio Claro~MRC|Penal-Debe~PED|Point Fortin~PTF|Port-of-Spain~POS|Princes Town~PRT|San Fernando~SFO|San Juan-Laventille~SJL|Sangre Grande~SGE|Siparia~SIP|Tobago~TOB|Tunapuna-Piarco~TUP"],["Tunisia","TN","Ariana~12|Beja~31|Ben Arous~13|Bizerte~23|Gabes~81|Gafsa~71|Jendouba~32|Kairouan~41|Kasserine~42|Kebili~73|Kef~33|Mahdia~53|Medenine~82|Monastir~52|Nabeul~21|Sfax~61|Sidi Bouzid~43|Siliana~34|Sousse~51|Tataouine~83|Tozeur~72|Tunis~11|Zaghouan~22"],["Turkey","TR","Adana~01|Adiyaman~02|Afyonkarahisar~03|Agri~04|Aksaray~68|Amasya~05|Ankara~06|Antalya~07|Ardahan~75|Artvin~08|Aydin~09|Balikesir~10|Bartin~74|Batman~72|Bayburt~69|Bilecik~11|Bingol~12|Bitlis~13|Bolu~14|Burdur~15|Bursa~16|Canakkale~17|Cankiri~18|Corum~19|Denizli~20|Diyarbakir~21|Duzce~81|Edirne~22|Elazig~23|Erzincan~24|Erzurum~25|Eskisehir~26|Gaziantep~27|Giresun~28|Gumushane~29|Hakkari~30|Hatay~31|Igdir~76|Isparta~32|Istanbul~34|Izmir~35|Kahramanmaras~46|Karabuk~78|Karaman~70|Kars~36|Kastamonu~37|Kayseri~38|Kilis~79|Kirikkale~71|Kirklareli~39|Kirsehir~40|Kocaeli~41|Konya~42|Kutahya~43|Malatya~44|Manisa~45|Mardin~47|Mersin~33|Mugla~48|Mus~49|Nevsehir~50|Nigde~51|Ordu~52|Osmaniye~80|Rize~53|Sakarya~54|Samsun~55|Sanliurfa~63|Siirt~56|Sinop~57|Sirnak~73|Sivas~58|Tekirdag~59|Tokat~60|Trabzon~61|Tunceli~62|Usak~64|Van~65|Yalova~77|Yozgat~66|Zonguldak~67"],["Turkmenistan","TM","Ahal~A|Asgabat~S|Balkan~B|Dashoguz~D|Lebap~L|Mary~M"],["Turks and Caicos Islands","TC","Turks and Caicos Islands"],["Tuvalu","TV","Funafuti~FUN|Nanumanga~NMG|Nanumea~NMA|Niutao~NIT|Nui~NUI|Nukufetau~NKF|Nukulaelae~NKL|Vaitupu~VAU"],["Uganda","UG","Abim~317|Adjumani~301|Amolatar~314|Amuria~216|Amuru~319|Apac~302|Arua~303|Budaka~217|Bududa~223|Bugiri~201|Bukedea~224|Bukwa~218|Buliisa~419|Bundibugyo~401|Bushenyi~402|Busia~202|Butaleja~219|Dokolo~318|Gulu~304|Hoima~403|Ibanda~416|Iganga~203|Isingiro~417|Jinja~204|Kaabong~315|Kabale~404|Kabarole~405|Kaberamaido~213|Kalangala~101|Kaliro~220|Kampala~102|Kamuli~205|Kamwenge~413|Kanungu~414|Kapchorwa~206|Kasese~406|Katakwi~207|Kayunga~112|Kibaale~407|Kiboga~103|Kiruhura~418|Kisoro~408|Kitgum~305|Koboko~316|Kotido~306|Kumi~208|Kyenjojo~415|Lira~307|Luwero~104|Lyantonde~116|Manafwa~221|Maracha~320|Masaka~105|Masindi~409|Mayuge~214|Mbale~209|Mbarara~410|Mityana~114|Moroto~308|Moyo~309|Mpigi~106|Mubende~107|Mukono~108|Nakapiripirit~311|Nakaseke~115|Nakasongola~109|Namutumba~222|Nebbi~310|Ntungamo~411|Oyam~321|Pader~312|Pallisa~210|Rakai~110|Rukungiri~412|Sembabule~111|Sironko~215|Soroti~211|Tororo~212|Wakiso~113|Yumbe~313"],["Ukraine","UA","Cherkasy~71|Chernihiv~74|Chernivtsi~77|Dnipropetrovsk~12|Donetsk~14|Ivano-Frankivsk~26|Kharkiv~63|Kherson~65|Khmelnytskyi~68|Kiev~32|Kirovohrad~35|Luhansk~09|Lviv~46|Mykolaiv~48|Odessa~51|Poltava~53|Rivne~56|Sumy~59|Ternopil~61|Vinnytsia~05|Volyn~07|Zakarpattia~21|Zaporizhia~23|Zhytomyr~18|Avtonomna Respublika Krym~43|Kyïv~30|Sevastopol~40"],["United Arab Emirates","AE","Abu Dhabi~AZ|Ajman~AJ|Dubai~DU|Fujairah~FU|Ras al Khaimah~RK|Sharjah~SH|Umm Al Quwain~UQ"],["United Kingdom","GB","Avon~AVN|Bedfordshire~BDF|Berkshire~BRK|Bristol, City of~COB|Buckinghamshire~BKM|Cambridgeshire~CAM|Cheshire~CHS|Cleveland~CLV|Cornwall~CON|Cumbria~CMA|Derbyshire~DBY|Devon~DEV|Dorset~DOR|Durham~DUR|East Sussex~SXE|Essex~ESS|Gloucestershire~GLS|Greater London~LND|Greater Manchester~GTM|Hampshire (County of Southampton)~HAM|Hereford and Worcester~HWR|Herefordshire~HEF|Hertfordshire~HRT|Isle of Wight~IOW|Kent~KEN|Lancashire~LAN|Leicestershire~LEI|Lincolnshire~LIN|London~LDN|Merseyside~MSY|Middlesex~MDX|Norfolk~NFK|Northamptonshire~NTH|Northumberland~NBL|North Humberside~NHM|North Yorkshire~NYK|Nottinghamshire~NTT|Oxfordshire~OXF|Rutland~RUT|Shropshire~SAL|Somerset~SOM|South Humberside~SHM|South Yorkshire~SYK|Staffordshire~STS|Suffolk~SFK|Surrey~SRY|Tyne and Wear~TWR|Warwickshire~WAR|West Midlands~WMD|West Sussex~SXW|West Yorkshire~WYK|Wiltshire~WIL|Worcestershire~WOR|Antrim~ANT|Armagh~ARM|Belfast, City of~BLF|Down~DOW|Fermanagh~FER|Londonderry~LDY|Derry, City of~DRY|Tyrone~TYR|Aberdeen, City of~AN|Aberdeenshire~ABD|Angus (Forfarshire)~ANS|Argyll~AGB|Ayrshire~ARG|Banffshire~BAN|Berwickshire~BEW|Bute~BUT|Caithness~CAI|Clackmannanshire~CLK|Cromartyshire~COC|Dumfriesshire~DFS|Dunbartonshire (Dumbarton)~DNB|Dundee, City of~DD|East Lothian (Haddingtonshire)~ELN|Edinburgh, City of~EB|Fife~FIF|Glasgow, City of~GLA|Inverness-shire~INV|Kincardineshire~KCD|Kinross-shire~KRS|Kirkcudbrightshire~KKD|Lanarkshire~LKS|Midlothian (County of Edinburgh)~MLN|Moray (Elginshire)~MOR|Nairnshire~NAI|Orkney~OKI|Peeblesshire~PEE|Perthshire~PER|Renfrewshire~RFW|Ross and Cromarty~ROC|Ross-shire~ROS|Roxburghshire~ROX|Selkirkshire~SEL|Shetland (Zetland)~SHI|Stirlingshire~STI|Sutherland~SUT|West Lothian (Linlithgowshire)~WLN|Wigtownshire~WIG|Clwyd~CWD|Dyfed~DFD|Gwent~GNT|Gwynedd~GWN|Mid Glamorgan~MGM|Powys~POW|South Glamorgan~SGM|West Glamorgan~WGM"],["United States","US","Alabama~AL|Alaska~AK|American Samoa~AS|Arizona~AZ|Arkansas~AR|California~CA|Colorado~CO|Connecticut~CT|Delaware~DE|District of Columbia~DC|Micronesia~FM|Florida~FL|Georgia~GA|Guam~GU|Hawaii~HI|Idaho~ID|Illinois~IL|Indiana~IN|Iowa~IA|Kansas~KS|Kentucky~KY|Louisiana~LA|Maine~ME|Marshall Islands~MH|Maryland~MD|Massachusetts~MA|Michigan~MI|Minnesota~MN|Mississippi~MS|Missouri~MO|Montana~MT|Nebraska~NE|Nevada~NV|New Hampshire~NH|New Jersey~NJ|New Mexico~NM|New York~NY|North Carolina~NC|North Dakota~ND|Northern Mariana Islands~MP|Ohio~OH|Oklahoma~OK|Oregon~OR|Palau~PW|Pennsylvania~PA|Puerto Rico~PR|Rhode Island~RI|South Carolina~SC|South Dakota~SD|Tennessee~TN|Texas~TX|Utah~UT|Vermont~VT|Virgin Islands~VI|Virginia~VA|Washington~WA|West Virginia~WV|Wisconsin~WI|Wyoming~WY|Armed Forces Americas~AA|Armed Forces Europe, Canada, Africa and Middle East~AE|Armed Forces Pacific~AP"],["United States Minor Outlying Islands","UM","Baker Island~81|Howland Island~84|Jarvis Island~86|Johnston Atoll~67|Kingman Reef~89|Midway Islands~71|Navassa Island~76|Palmyra Atoll~95|Wake Island~79|Bajo Nuevo Bank~BN|Serranilla Bank~SB"],["Uruguay","UY","Artigas~AR|Canelones~CA|Cerro Largo~CL|Colonia~CO|Durazno~DU|Flores~FS|Florida~FD|Lavalleja~LA|Maldonado~MA|Montevideo~MO|Paysandú~PA|RÃo Negro~RN|Rivera~RV|Rocha~RO|Salto~SA|San José~SJ|Soriano~SO|Tacuarembó~TA|Treinta y Tres~TT"],["Uzbekistan","UZ","Toshkent shahri~TK|Andijon~AN|Buxoro~BU|Fargâona~FA|Jizzax~JI|Namangan~NG|Navoiy~NW|Qashqadaryo (Qarshi)~QA|Samarqand~SA|Sirdaryo (Guliston)~SI|Surxondaryo (Termiz)~SU|Toshkent wiloyati~TO|Xorazm (Urganch)~XO|Qoraqalpogâiston Respublikasi (Nukus)~QR"],["Vanuatu","VU","Malampa~MAP|Pénama~PAM|Sanma~SAM|Shéfa~SEE|Taféa~TAE|Torba~TOB"],["Venezuela, Bolivarian Republic of","VE","Dependencias Federales~W|Distrito Federal~A|Amazonas~Z|Anzoátegui~B|Apure~C|Aragua~D|Barinas~E|BolÃvar~F|Carabobo~G|Cojedes~H|Delta Amacuro~Y|Falcón~I|Guárico~J|Lara~K|Mérida~L|Miranda~M|Monagas~N|Nueva Esparta~O|Portuguesa~P|Sucre~R|Táchira~S|Trujillo~T|Vargas~X|Yaracuy~U|Zulia~V"],["Vietnam","VN","Äá»ng Nai~39|Äá»ng Tháp~45|Gia Lai~30|Hà Giang~03|Hà Nam~63|Hà Tây~15|Hà TÄ©nh~23|Hải Dương~61|Háºu Giang~73|Hòa Bình~14|Hưng Yên~66|Khánh Hòa~34|Kiên Giang~47|Kon Tum~28|Lai Châu~01|Lâm Äá»ng~35|Lạng SÆ¡n~09|Là o Cai~02|Long An~41|Nam Äá»nh~67|Nghá» An~22|Ninh Bình~18|Ninh Thuáºn~36|Phú Thá»~68|Phú Yên~32|Quảng Bình~24|Quảng Nam~27|Quảng Ngãi~29|Quảng Ninh~13|Quảng Trá»~25|Sóc TrÄng~52|SÆ¡n La~05|Tây Ninh~37|Thái Bình~20|Thái Nguyên~69|Thanh Hóa~21|Thừa ThiênâHuế~26|Tiá»n Giang~46|Trà Vinh~51|Tuyên Quang~07|VÄ©nh Long~49|VÄ©nh Phúc~70|Yên Bái~06|Cần ThÆ¡~CT|Äà Nẵng~DN|Hà Ná»i~HN|Hải Phòng~HP|Há» Chà Minh (Sà i Gòn)~SG"],["Virgin Islands, British","VG","Anegada~ANG|Jost Van Dyke~JVD|Tortola~TTA|Virgin Gorda~VGD"],["Virgin Islands, U.S.","VI","St. Thomas~STH|St. John~SJO|St. Croix~SCR"],["Wallis and Futuna","WF","Alo~ALO|Sigave~SIG|Wallis~WAL"],["Western Sahara","EH","Es Smara~ESM|Boujdour~BOD|Laâyoune~LAA|Aousserd~AOU|Oued ed Dahab~OUD"],["Yemen","YE","AbyÄn~AB|'Adan~AD|AḠá¸Äli'~DA|Al Bayá¸Ä'~BA|Al Ḩudaydah~HU|Al Jawf~JA|Al Mahrah~MR|Al MaḩwÄ«t~MW|'AmrÄn~AM|DhamÄr~DH|Ḩaá¸ramawt~HD|Ḩajjah~HJ|Ibb~IB|Laḩij~LA|Ma'rib~MA|Raymah~RA|ÅÄâdah~SD|ÅanâÄ'~SN|Shabwah~SH|TÄâizz~TA"],["Zambia","ZM","Central~02|Copperbelt~08|Eastern~03|Luapula~04|Lusaka~09|Northern~05|North-Western~06|Southern~07|Western~01"],["Zimbabwe","ZW","Bulawayo~BU|Harare~HA|Manicaland~MA|Mashonaland Central~MC|Mashonaland East~ME|Mashonaland West~MW|Masvingo~MV|Matabeleland North~MN|Matabeleland South~MS|Midlands~MI"]]
2,o=function(){$(".crs-country").each(r)},r=function(){var t=this;if("true"!==t.getAttribute("data-crs-loaded")){t.length=0;var i=$(t).attr("data-default-option")||"Select country",o=t.getAttribute("data-show-default-option");e=null===o||"true"===o;var r=$(t).attr("data-default-value"),l=$(t).attr("data-value"),d=0;e&&(this.options[0]=new Option(i,"")),s({whitelist:t.getAttribute("data-whitelist"),blacklist:t.getAttribute("data-blacklist"),preferred:t.getAttribute("data-preferred"),preferredDelim:t.getAttribute("data-preferred-delim")});for(var f=0;f<n.length;f++){var h="shortcode"==l||"2-char"===l?n[f][1]:n[f][0];n[f][4]&&(h=""),t.options[t.length]=new Option(n[f][0],h),null!=r&&r===h&&(d=f,e&&d++)}this.selectedIndex=d;var p=$(t).attr("data-region-id");if(p){var g=$("#"+p)[0];if(g)if(a(g),$(this).on("change",function(){c(t,g)}),r&&0<t.selectedIndex){c(t,g);var m=$(g).attr("data-default-value"),v="shortcode"===g.getAttribute("data-value");if(null!==m){var y=e?t.selectedIndex-1:t.selectedIndex,b=n[y][3];u(g,b,m,v)}}else!1===e&&c(t,g);else console.error("Region dropdown DOM node with ID "+p+" not found.");t.setAttribute("data-crs-loaded","true")}else console.error("Missing data-region-id on country-region-selector country field.")}},a=function(e){var n=$(e).attr("data-blank-option")||"-",i=e.getAttribute("data-show-default-option");t=null===i||"true"===i,e.length=0,t&&(e.options[0]=new Option(n,""),e.selectedIndex=0)},s=function(e){var t=i,o=[],r=0;if(e.whitelist){var a=e.whitelist.split(",");for(r=0;r<i.length;r++)-1!==a.indexOf(i[r][1])&&o.push(i[r]);t=o}else if(e.blacklist){var s=e.blacklist.split(",");for(r=0;r<i.length;r++)-1===s.indexOf(i[r][1])&&o.push(i[r]);t=o}e.preferred&&(t=d(t,e.preferred,e.preferredDelim)),n=t,l()},l=function(){for(var e=0;e<n.length;e++){for(var t={hasShortcodes:/~/.test(n[e][2]),regions:[]},i=n[e][2].split("|"),o=0;o<i.length;o++){var r=i[o].split("~");t.regions.push([r[0],r[1]])}n[e][3]=t}},u=function(e,n,i,o){for(var r=0;r<n.regions.length;r++)if((o&&n.hasShortcodes&&n.regions[r][1]?n.regions[r][1]:n.regions[r][0])===i){e.selectedIndex=t?r+1:r;break}},c=function(i,o){var r=e?i.selectedIndex-1:i.selectedIndex,s=$(o).attr("data-default-option"),l=o.getAttribute("data-value"),u=s||"Select region";if(""===i.value)a(o);else{o.length=0,t&&(o.options[0]=new Option(u,""));var c=n[r][3],d="shortcode"===l&&c.hasShortcodes,f=d?1:0;c.regions.sort(function(e,t){var n=e[f].toLowerCase(),i=t[f].toLowerCase();return n<i?-1:i<n?1:0});for(var h=0;h<c.regions.length;h++){var p=d?c.regions[h][1]:c.regions[h][0];o.options[o.length]=new Option(c.regions[h][0],p)}o.selectedIndex=0}},d=function(e,t,n){var i=t.split(",").reverse(),o={},r=!1,a=e.filter(function(e){return-1===i.indexOf(e[1])||(o[e[1]]=e,!(r=!0))});r&&n&&a.unshift([n,"","",{},!0]);for(var s=0;s<i.length;s++){var l=i[s];a.unshift(o[l])}return a};return $(o),{init:o}})?n.apply(t,i):n)||(e.exports=o)},361:function(){(function(){!function(e){e.fn.stuck=function(t){return new(function(){function t(t,n){var i;this.window=t,this.body=e("body"),this.loadElements(),this.calculateTopOffset(),this.isIOS()&&this.body.on({touchmove:(i=this,function(){return i.update()})}),this.window.scroll(function(e){return function(){return e.update(
2)}}(this)),this.window.resize(function(e){return function(){return e.resize()}}(this)),this.update()}return t.prototype.elements=[],t.prototype.resizing=!1,t.prototype.isIOS=function(){return this._isIOS||(this._isIOS=/(iPad|iPhone|iPod)/g.test(navigator.userAgent))},t.prototype.resize=function(){this.resizing=!0,this.calculateTopOffset(),this.update()},t.prototype.loadElements=function(){var t,n,i,o,r,a,s,l,u,c,d;for(o=(i=e(".stuck")).length,d=0;o--;){for(a=i.eq(d),d++,s=!1,n="",t=a.attr("class").split(/\s+/),l=e("<div/>"),c=t.length;c--;)"release"===(r=t[c])&&(s=!0,n=a.closest(".release-container")),"stuck"!==r&&"release"!==r&&l.addClass(r);l.height(a.outerHeight()).hide().css("background-color","transparent").insertBefore(a),u=a.offset().top-parseInt(a.css("margin-top")),this.elements.push({node:a,spacer:l,top:u,top_offset:0,fixed:!1,release:s,container:n,contained:!1})}},t.prototype.calculateTopOffset=function(){var e,t,n,i,o,r,a,s,l,u,c,d;for(r=[],o=this.elements.length,u=0;o--;)if(n=this.elements[u],u++,0===(c=r.length))n.release||r.push([n]);else{for(e=!1;c--&&!e;)for(a=0,d=(i=r[c]).length;d--;)s=i[d],this.collide(s.node,n.node)?((l=s.top_offset+s.node.outerHeight(!0))>a&&(a=l),e=!0,t=null!=r[c+1]?c+1:-1):0===c&&(t=0);e?(n.top_offset=a,n.release||(t>=0?r[t].push(n):r.push([n]))):(n.top_offset=0,n.release||r[0].push(n))}},t.prototype.collide=function(e,t){var n,i;return(n=e.offset().left)===(i=t.offset().left)||(n<i?Math.floor(n)+e.width()>Math.ceil(i):Math.floor(i)+t.width()>Math.ceil(n))},t.prototype.update=function(){var e,t,n;for(n=this.window.scrollTop(),t=this.elements.length;t--;)e=this.elements[t],this.resizing&&(e.fixed?e.top=e.spacer.offset().top-parseInt(e.spacer.css("margin-top")):e.top=e.node.offset().top-parseInt(e.node.css("margin-top")),e.fixed&&e.node.css({top:e.top_offset,left:e.spacer.offset().left,width:e.spacer.outerWidth()}),e.contained&&n>e.container.offset().top+e.container.height()-e.node.height()-e.top_offset&&e.node.css({position:"absolute",top:e.container.height()-e.node.height(),left:"",width:"","z-index":""})),e.fixed&&e.release&&!e.contained&&n>e.container.offset().top+e.container.height()-e.node.height()-e.top_offset&&(e.contained=!0,e.container.css("position","relative"),e.node.css({position:"absolute",top:e.container.height()-e.node.height(),left:"",width:"","z-index":""})),e.contained&&n<e.container.offset().top+e.container.height()-e.node.height()-e.top_offset&&(e.contained=!1,e.container.css("position",""),e.node.css({position:"fixed",top:e.top_offset,left:e.spacer.offset().left,width:e.spacer.outerWidth(),"z-index":99})),!e.fixed&&n>e.top-e.top_offset&&(e.fixed=!0,e.spacer.show(),e.node.css({position:"fixed",top:e.top_offset,left:e.spacer.offset().left,width:e.spacer.outerWidth(),"z-index":99})),e.fixed&&n<e.top-e.top_offset&&(e.fixed=!1,e.spacer.hide(),e.node.css({position:"relative",top:"",left:"",width:"","z-index":""}));this.resizing=!1},t.prototype.destroy=function(){var e;for(e=this.elements.length;e--;)this.elements[e].spacer.remove();this.window.unbind("scroll"),this.window.unbind("resize"),this.window=this.elements=null},t}())(this,t)}}(jQuery)}).call(this)},188:function(){window.OFFSET=window.OFFSET||{},window.OFFSET.offsetLocalCantina={config:"/cantina/config"}},978:function(){const e=window.location.pathname.split("/")[1];function t(e){const t=$(this);t.hasClass("add-to-added")&&t.text().includes("Add")&&!t.text().includes("Added")&&t.text("Added");let n=t.attr("href").split("/add/");n=n[1].split("/");const i=n[0];let o=1;n[1].length||parseInt(n[1])?o=parseInt(n[1]):$(this).closest("form").find("select").val().length&&(o=$(this).closest("form").find("select").val());const r=$("#cartModal");return r.modal(),r.find(".modal-load-area").html("").removeClass("loaded"),$.getJSON(`/cart/add_modal/${i}/${o}.json`,async function(e){const t=e.total.quantity?e.total.quantity:e.quantity,n=$("#cartcount"),i=$(".cart-link"),o=$(".face");r.find(".modal-load-area").html(e.html).addClass("loaded"),t>0?(n.html(` <span class="badge badge-pill badge-primary">${t}</span>`),i.removeClass("hide-cart").attr("href","/cart/"),o.addClass("happy"),window._learnq&&a(e)):(n.html(""),o.removeClass("happy")),o.addClass("show")}),e.preventDefault(),!1}function n(){!function(e){const{id:t="",sku:n="",url:i="",name:o="",image:r=""}=e;window._learnq.push(["track","Added to Cart (Club)",{$value:1,AddedItemProductName:o,AddedItemProductID:t,AddedItemSKU:t,AddedItemCategories:["Club"],AddedItemImageURL:i,AddedItemURL:i,AddedItemPrice:1,AddedItemQuantity:1,ItemNames:[o],CheckoutURL:i,Items:[{ProductID:t,SKU:t,ProductName:o,Quantity:1,ItemPrice:1,RowTotal:1,ProductURL:`${i}${n}`,ImageURL:r,ProductCategories:["Club"]}]}])}($(this).data())}function i(e){const t=$(this);let n=t.attr("href").split("/add/");n=n[1].split("/");const i=n[0],o=t.closest("form").find("select").val()||1,r=$("#cartModal");
2return r.modal(),r.find(".modal-load-area").html("").removeClass("loaded"),$.getJSON(`/purchase/add_modal/${i}/${o}.json`,function(e){const t=$("#cartcount"),n=$(".cart-link"),i=$(".face");r.find(".modal-load-area").html(e.html).addClass("loaded"),e.quantity>0?(t.html(` <span class="badge badge-pill badge-primary">${e.quantity}</span>`),n.removeClass("hide-cart"),i.addClass("happy"),window._learnq&&a(e)):(t.html(""),i.removeClass("happy")),i.addClass("show")}),e.preventDefault(),!1}function o(e){return`${e.name} ${e.subtitle}`}function r(){"Int"===$(this).val()&&$("#state_select_field").html("<input type='text' size='10' name='data[state]' value='' placeholder='International...'/>")}function a(e){const{url:t,cart:n,total:i,product:r,quantity:a}=e;if(!Array.isArray(n)||"string"!=typeof t||"object"!=typeof i||"object"!=typeof r)return;const{subtotal:s}=i,l=[];"object"==typeof r.categories&&Object.keys(r.categories).forEach(e=>{const t=r.categories[e];l.push(t.name)});const u=`${t}/product/detail/${r.sku}/`,c=`${t}/cart/`;window._learnq.push(["track","Added to Cart",{$value:s,AddedItemProductName:o(r),AddedItemProductID:r.id,AddedItemSKU:r.sku,AddedItemCategories:l,AddedItemImageURL:r.image,AddedItemURL:u,AddedItemPrice:r.price,AddedItemQuantity:a,ItemNames:n.map(e=>o(e)),CheckoutURL:c,Items:n.map(e=>({ProductID:e.id,SKU:e.sku,ProductName:o(e),Quantity:a,ItemPrice:e.price,RowTotal:e.price*a,ProductURL:u,ImageURL:e.image||"",ProductCategories:"object"==typeof e.categories&&Object.keys(e.categories).map(t=>e.categories[t].name)||[]}))}])}function s(e){const t=$(this).attr("href").split("#"),n=t[0],i=t[1],o=$(`#${i}`);e.preventDefault(),n.length>0?$.get(n,function(e){o.html(e),o.modal({backdrop:"static"})}):o.modal({backdrop:"static"})}function l(e){const t=$(this).val().split("#"),n=t[0],i=t[1];if(e.preventDefault(),void 0===i||0===i.length)return void(n.length>0&&(window.location=n));const o=$(`#${i}`);0===n.length?o.modal({backdrop:"static"}):$.get(n,function(e){o.html(e),o.modal({backdrop:"static"})})}function u(e){const t=$(`input[type=radio][name='${e}']`);t.length>0&&(t.filter(":checked").length||(t[0].checked=!0))}function c(){const t=$("#shipping_insurance").is(":checked")?1:0;$.getJSON(`/${e}/update_insurance/${t}/`,function(e){const{shipping:t,shipping_insurance:n,tax:i,total:o}=e;f(".js-shipping_display, #shipping_display, #shipping_display_alt",parseFloat(t).toFixed(2)),f(".js-shipping_insurance_display, #shipping_insurance_display",n.toFixed(2),!0),f(".js-tax_display, #tax_display",parseFloat(i).toFixed(2)),f(".js-total_display, #total_display, #total_display_alt, #total_display_top",parseFloat(o).toFixed(2))})}function d(){const e=$("#js-instructions").val()||"",t=$("#js-gift_message").val()||"",n=getPage();$.getJSON(`/${n}/update_comments/`,{instructions:e,gift_message:t},function(e){})}function f(e,t,n=!1){const i=$(e);i.length&&(t>0?(t=t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),i.html(t),n&&i.closest("tr").show()):(i.html("0.00"===t?"0.00":"0"),n&&i.closest("tr").hide()))}function h(){const t=$(this).val();$.getJSON(`/${e}/select-requested-ship-date/${t}/`,function(e){})}function p(e,t){t<0&&(t=0),$.getJSON(`/offering/update_wishlist/${e}/${t}/`,function(e){})}$(document).ready(function(){$("#shipping_insurance").bind("change",c),$("a.add-cart-modal").bind("click",t),$("#credit-card-form").bind("submit",tokenizeCard),$(".btn-add-cart").bind("click",t),$(".btn-add-on-cart").bind("click",i),$(".btn-add-club").on("click",n),$("input[type=radio][name='data[requested_ship_date]']").bind("change",h),u("data[requested_ship_date]"),$("input[type=radio][name=requested_ship_date]").bind("change",h),u("requested_ship_date"),$("#js-instructions, #js-gift_message").on("blur",d),$("#credit-card-form #state").bind("change",r),$(".qty").on("change",function(){const t=$(this),n=t.attr("id").split("qty-")[1],i=t.val();!function(t,n){n<=0&&(n="0");$.getJSON(`/${e}/update_quantity/${t}/${n}/`,function(e){const{quantity:t,subtotal:n,shipping:i,discount:o,tax:r,total:a,crv:s,ca_redemption_value:l,co_retail_delivery_fee:u,me_bottle_deposit:c,credits:d,adjusted_subtotal:h,shipping_insurance:p,tip:g,allocation_remaining:m,expires:v}=e;f(".js-item_count_display, #item_count_display",t),f(".js-subtotal_display, #subtotal_display, #subtotal_display_2",n.toFixed(2)),f(".js-shipping_display, #shipping_display, #shipping_display_alt",i.toFixed(2));f(".js-ca_redemption_value_display, #ca_redemption_value_display, #crv_display",(l||s).toFixed(2),!0),f(".js-co_retail_delivery_fee_display, #co_retail_delivery_fee_display",u.toFixed(2),!0),f(".js-me_bottle_deposit_display, #me_bottle_deposit_display",c.toFixed(2),!0),f(".js-discount_display, #discount_display",o.toFixed(2)),f(".js-credits_display, #credits_display",d.toFixed(2),!0);const y=$(".js-adjusted_subtotal_display, #adjusted_subtotal_display");void 0!==h&&h!==n?(f(y,h.toFixed(2)),y.closest("tr").show()):y.closest("tr").hide(),f(".js-tax_display, #tax_display",r.toFixed(2)),f(".js-shipping_insurance_display, #shipping_insurance_display",p.toFixed(2),!0),f(".js-tip_display, #tip_display",g.toFixed(2),!0),f(".js-total_display, #total_display, #total_display_alt, #total_display_top",a.toFixed(2));const b=$(".add-your-full-allocation");b.length&&(!0===m?b.show():b.hide());const _=$("#cartcount"),S=$("#cartcountnav"),w=$(".cart-link");if(t>0){const t=` <span class="badge badge-pill badge-primary">${e.quantity}</span>`;_.html(t),S.html(t),w.removeClass("hide-cart")}else _.html(""),S.html(""),w.addClass("hide-cart");if(v>0){const e=1e3*v;e>0&&window.setTimeout(function(){location.href="/offering/expired/"},e)}const k=$("#shipping-offer-min");k.length&&swapAddBottleText(parseInt(k.val()),parseInt($quantity));
2const T=$(".cart-shipping-message"),A=$(".more-bottles"),C=$(".qualified");if(T.removeClass("blank"),t<6){A.removeClass("no-more"),$("#moar").html(6-t),C.removeClass("success");const e=$("#plural");5===t?e.hide():e.show()}else A.addClass("no-more"),C.addClass("success");$("#secure-checkout-update-cart").hide()}).done(function(){"TRUE"===$("#enable_product_volume_discounts").val()&&$.getJSON("/cart/get_items",function(e){$.each(e,function(e,t){const n=`#Price_${t.sku}`,i=`#Vol_${t.sku}`;$(n).html(t.price),1===Number(t.has_volume_discount)?$(i).fadeIn():$(i).fadeOut()})})})}(n,i),function(e,t){const n=$(`#qty-${e}`),i=n.find("option:last-child").val(),o=$(`.wishwrapper-${e}`),r=$(`#wishqty-${e}`);t===i&&o.show();parseInt(t)<parseInt(i)&&(o.hide(),r.val(r.find("option:first").val()),p(e,0))}(n,i)}),$(".wish-qty").bind("change",function(){const e=$(this);p(e.attr("id").split("qty-")[1],e.val())}),$("a.launch-modal").bind("click",s),$("input:radio.launch-modal").bind("change",l),$("select.launch-modal").bind("change",l),$("#button-place-order").on("mousedown",function(e){e.stopPropagation(),$(this).attr("disabled",!0);const t=$('<div id="checkoutSpinnerModal"></div>');t.addClass("fade"),t.addClass("modal"),t.attr("keyboard",!1),t.attr("data-backdrop","static");const n=$('<div class="modal-dialog modal-dialog-centered"></div>'),i=$('<div class="modal-content d-flex"></div>');i.addClass("align-items-center");const o=$('<div class="modal-body d-flex"></div>'),r=$('<div class="spinner-border text-primary"></div>');o.append(r),i.append(o),n.append(i),t.append(n),i.css({border:"none",backgroundColor:"transparent"}),r.css({zIndex:9999}),$("body").append(t),t.modal("show"),$("#cartForm").submit()}),$("form").bind("submit",function(e){const t=$(this);!0===t.data("submitted")?e.preventDefault():t.data("submitted",!0)})})},974:function(){const e={};e.init=function(){const e=$("body");return/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)&&e.addClass("mobile-device"),e.headroom({offset:100}),$(".system-messages").slideDown(),$('[data-toggle="tooltip"]').tooltip(),$('[data-toggle="popover"]').popover().addClass("pointer"),!0}(),e.loginReminder=function(){if("reminded"!==$.cookie("loginReminder"))return setTimeout(function(){$(".login-reminder").fadeIn()},3e3),setTimeout(function(){$(".login-reminder").addClass("loaded")},3500),setTimeout(function(){$(".login-reminder").fadeOut()},11e3),$.cookie("loginReminder","reminded",{expires:1,path:"/"}),!0}(),e.adaCollapse=($('.btn[data-toggle="collapse"]').keyup(function(){const e=$(this).attr("href");$(e).addClass("show")}),!0),e.modaler=($(document).on("show.bs.modal",".ajaxmodal",function(t){const n=$(t.relatedTarget),i=n.attr("href"),o=n.attr("data-target");$(`${o} .modal-load-area`).load(`${i}?pagetype=modal`,function(){$(this).find(".needs-validation").length&&e.validateForm(`${o} .modal-load-area`)})}),$(document).on("shown.bs.modal",".ajaxmodal",function(e){const t=$(e.relatedTarget).attr("data-redirect");""!==t&&$("#redirectField").val(t)}),$(document).on("hide.bs.modal",".ajaxmodal",function(){$(".modal-load-area").html(""),setTimeout(()=>{const e=$(".modal-backdrop.fade");e.length&&e.remove()},500)}),!0),e.openModal=($(document).on("click",".modal-trigger",function(){const e=$(this),t=e.attr("href"),n=e.attr("data-modal-size"),i=$(".site-modal"),o=$(".site-modal-content");if(i.attr("class",`site-modal ${n}`),i.focus(),i.removeAttr("aria-hidden").removeAttr("tabindex"),e.hasClass("inline-modal")){const e=$(t).html();o.html(""),o.html(e),setTimeout(function(){i.scrollTop(0)},20)}else o.load(`${t}?pagetype=modal`);return $("body").addClass("modal-open").addClass("modal-on-page"),$(".site-mask").fadeIn(),!1}),$(document).on("click",".modal-close, .modal-close-generic, .page-mask, .modal-mask",function(){const e=$(".site-modal"),t=$(".site-modal-content");return $("body").removeClass("modal-open"),$(".site-mask").fadeOut(),e.attr("aria-hidden","true").attr("tabindex","-1"),setTimeout(function(){$("body").removeClass("modal-on-page"),e.attr("class","site-modal"),t.html("")},500),!1}
2),!0),e.noDoubleClick=($(".btn-no-double").click(function(){setTimeout(function(){$(".btn-no-double").attr("disabled","disabled").val("processing").text("processing")},100)}),!0),e.openNav=function(){const e=$("body"),t=$(".nav-mask"),n=$(".site-nav"),i=$(".open-nav"),o="#maincontent a, #maincontent button, .site-footer a, .site-footer button, .site-logo, .account-links a, .skip-link";return $(document).on("click",".open-nav",function(){if(!$(this).hasClass("disabled"))return e.hasClass("nav-open")?(e.removeClass("nav-open"),t.fadeOut(),setTimeout(function(){e.removeClass("nav-on-page")},500),n.attr("aria-hidden","true").attr("tabindex","-1"),$(o).removeAttr("aria-hidden").removeAttr("tabindex"),i.attr("aria-expanded","false")):(e.addClass("nav-on-page"),setTimeout(function(){e.addClass("nav-open")},50),t.fadeIn(),n.removeAttr("aria-hidden").removeAttr("tabindex"),$(o).attr("aria-hidden","true").attr("tabindex","-1"),i.attr("aria-expanded","true")),!1}),$(document).on("click",".nav-mask",function(){e.removeClass("nav-open"),t.fadeOut(),setTimeout(function(){e.removeClass("nav-on-page")},500),n.attr("aria-hidden","true").attr("tabindex","-1"),$(o).removeAttr("aria-hidden").removeAttr("tabindex"),i.attr("aria-expanded","false")}),!0}(),e.singlepageBehavior=($(document).on("click",".single-page .site-nav a",function(){const e=$("body");if(e.removeClass("nav-open"),$(".nav-mask").fadeOut(),setTimeout(function(){e.removeClass("nav-on-page")},500),location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){let e=$(this.hash);e=e.length?e:$(`[name=${this.hash.slice(1)}]`),e.length&&$("html,body").animate({scrollTop:e.offset().top},1e3)}}),!0),e.openNavID=function(){const e=$("body");return $(document).on("click","#opennav",function(){if(!$(this).hasClass("disabled"))return e.hasClass("nav-open")?(e.removeClass("nav-open"),setTimeout(function(){e.removeClass("nav-on-page")},500)):e.addClass("nav-open").addClass("nav-on-page"),!1}),$(document).on("click",".nav-open #opennav",function(){e.removeClass("nav-open"),setTimeout(function(){e.removeClass("nav-on-page")},500)}),!0}(),e.closeEverything=($(document).keyup(function(e){if(27===e.keyCode){const e=$("body"),t=$(".site-modal"),n=$(".site-modal-content"),i=$(".site-nav"),o="#maincontent a, #maincontent button, .site-footer a, .site-footer button, .site-logo, .account-links a, .skip-link";e.removeClass("nav-open"),$(".site-mask").fadeOut(),$(".nevermiss-modal").fadeOut(),$(".nav-mask").fadeOut(),i.attr("aria-hidden","true").attr("tabindex","-1"),t.attr("aria-hidden","true").attr("tabindex","-1"),$(o).removeAttr("aria-hidden").removeAttr("tabindex"),$(".open-nav").attr("aria-expanded","false"),setTimeout(function(){e.removeClass("nav-on-page")},500),e.removeClass("modal-open"),setTimeout(function(){e.removeClass("modal-on-page"),t.attr("class","site-modal"),n.html("")},500)}}),!0),e.banners=($(document).on("click",".show-top-promo",function(){return $("body").toggleClass("promo-open"),!1}),!0),e.textSwap=($(document).on("click",".btn-swap-text",function(){const e=$(this),t=e.attr("data-new-text"),n=e.attr("data-original-text");e.hasClass("activated")?(e.text(n),e.removeClass("activated").addClass("killscroll")):(e.text(t),e.addClass("activated").removeClass("killscroll"))}),!0),e.validateForm=function(){"use strict";function e(e){const t=e?document.querySelector(e):document;if(!t)return;const n=t.getElementsByClassName("needs-validation");Array.prototype.filter.call(n,function(e){"true"!==e.dataset.validationEventAdded&&(e.dataset.validationEventAdded="true",e.addEventListener("submit",function(t){!1===e.checkValidity()?(t.preventDefault(),t.stopPropagation(),$(".needs-validation").addClass("not-yet-sparky")):$(".needs-validation").removeClass("not-yet-sparky"),e.classList.add("was-validated")},!1))})}return window.addEventListener("load",function(){e()},!1),e}(),e.trimText=($(document).on("blur",".trim-text",function(){const e=$(this),t=e.val().trim();e.val(t)}),!0),e.validateEmail=($(document).on("blur",".validate-email",function(){const e=$(this),t=e.val(),n=e.parents(".form-group"),i=e.parents("form");!function(e){return/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e)}(t)?(n.addClass("form-error"),i.find("button[type=submit]").attr("disabled","disabled"),n.find("#validEmail").remove()):(n.removeClass("form-error"),i.find("button[type=submit]").removeAttr("disabled"),$("#validEmail").length||n.append('<div class="positive-feedback" id="validEmail">Email is valid</div>'))}),!0),e.stuck=($(window).stuck(),$(document).ready(function(){$(window).stuck(),$(window).scroll(function(){$(".super-stuck").each(function(){const e=$(this);"fixed"===e.css("position")?e.addClass("show-more"):e.removeClass("show-more")})})}),!0),e.cartCount=($(".cart-link").hasClass("check-cart")&&$.getJSON("/cart/item-count.json",function(e){const t=$(".cart-link"),n=$(".face");e>0?($("#cartcount").html(` <span class="badge badge-pill badge-primary">${e}</span>`),$("#cartcountnav").html(` <span class="badge badge-pill badge-primary">${e}</span>`),t.removeClass("hide-cart"),n.addClass("happy"),t.attr("href","/cart/")):($("#cartcount").html(""),$("#cartcountnav").html(""),t.addClass("hide-cart"),n.removeClass("happy")),n.addClass("show")}),!0),e.refer=($(".refer-radio").change(function(){const e=$(this),t=e.attr("data-the-text");e.is(":checked")&&($(".referrer-text").removeClass("current").addClass("d-none").val("").attr("disabled","disabled"),$(t).addClass("current").removeClass("d-none").focus().removeAttr("disabled"))}),!0),e.scrollTo=void $(document).on("click",".scrollto",function(e){e.preventDefault();const t=$(this),n=$(e.target).closest(".scrollto"),i=n.data("delay")||0;if(!n.hasClass("killscroll"))return setTimeout(()=>{const e=t.attr("href"),i=parseInt(t.attr("data-offset"))||0;if(location.pathname.replace(/^\//,"")==t[0].pathname.replace(/^\//,"")&&location.hostname==t[0].hostname){const t=$(e);
2if(t.length){const e=t.offset().top-i;$("html, body").animate({scrollTop:e},1e3)}}const o=$("body");if(n.closest(".mobile-nav-links").length){const e=$(".site-header");e.find(".open-nav").attr("aria-expanded","false");const t=e.find(".site-nav");t.attr("aria-hidden","true"),t.attr("tabindex","-1"),o.removeClass("nav-on-page nav-open"),$(".nav-mask").css("display","")}n.closest(".site-header").length&&setTimeout(()=>{o.removeClass("headroom--unpinned"),o.addClass("headroom--pinned")},1050)},i),!1}),e.scrollToTrade=($(document).on("click",".scrolltotrade",function(){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){let e=$(this.hash);const t=$(this).attr("data-offset");let n;e=e.length?e:$(`[name=${this.hash.slice(1)}]`),n=t>0?e.offset().top-t:e.offset().top,e.length&&$("html,body").animate({scrollTop:n},1e3)}}),$(window).scroll(function(){$(".trade-section").each(function(){const e=$(this);if(e.is(":in-viewport(500)")){const t=e.attr("data-nav");$(".trade-nav a").removeClass("active"),$(t).addClass("active")}})}),!0),e.formMonkey=function(){const e={AO:!0,AG:!0,AW:!0,BS:!0,BZ:!0,BJ:!0,BO:!0,BQ:!0,BW:!0,BF:!0,BI:!0,CM:!0,CF:!0,KM:!0,CG:!0,CD:!0,CK:!0,CI:!0,CW:!0,DJ:!0,DM:!0,TL:!0,GQ:!0,ER:!0,FJ:!0,TF:!0,GA:!0,GM:!0,GD:!0,GY:!0,HK:!0,JM:!0,KI:!0,LY:!0,MO:!0,ML:!0,MR:!0,NR:!0,NU:!0,KP:!0,QA:!0,RW:!0,KN:!0,ST:!0,SC:!0,SL:!0,SX:!0,SB:!0,SR:!0,SY:!0,TG:!0,TK:!0,TO:!0,TV:!0,UG:!0,AE:!0,VU:!0,YE:!0,ZW:!0};function t(t,n){const i=n&&n.length?n:$(document),o=i.find(".state-text"),r=i.find(".state-select"),a=i.find(".zip-col"),s=i.find('input[id^="zip"]');"US"===t?(i.find(".murca").show(),i.find(".not-murca").hide(),o.hide().removeAttr("required").attr("name","nothing"),r.show().attr("required","true").attr("name","data[state]")):(i.find(".murca").hide(),i.find(".not-murca").show(),r.hide().removeAttr("required").attr("name","nothing"),o.show().attr("required","true").attr("name","data[state]")),e[t]?(a.hide(),s.removeAttr("required")):(a.show(),s.attr("required","true"))}$(document).on("change",'[id*="country"]',function(){const e=$(this).val(),n=$(this).closest("form");try{t(e,n),n.find('[id*="company"]').val(""),n.find('[id*="address"]').val(""),n.find('[id*="city"]').val(""),n.find('[id*="state"]').val(""),n.find('[id*="zip"]').val("")}catch(e){}}),$('a[href="#newaddress"]').on("click",function(){const e=$("#newaddress");t(e.find('[id^="country"]').val(),e)}),$(document).ready(function(){const e=$('[id*="country"]').first(),n=e.val();n&&"US"!==n&&t(n,e.closest("form")),$('[id*="figureModal"]').on("shown.bs.modal",function(e){$(document).ajaxComplete(function(){try{const n=$(`#${e.target.id}`),i=n.find('[id^="country"]').val();if(!i)return;t(i,n)}catch(e){}})})});const n=$(".layout-account #newaddress form");return n.on("submit",()=>{n.find(".form-actions input").prop("disabled",!0)}),!0}(),e.modularForm=($(".modular-form-fields .interest-radio").change(function(){const e=$(".require-me"),t=$(".modular-form-fields .extended-form"),n=$(".modular-form-fields .default-form");$(".modular-form-fields .interest-radio.show-everything").is(":checked")&&($(".swap-text .alt-text").hide(),$(".swap-text .default-text").show(),e.removeAttr("required"),t.hide().show(),n.hide().show(),e.attr("required","required")),$(".modular-form-fields .interest-radio.show-default").is(":checked")&&($(".swap-text .default-text").hide(),$(".swap-text .alt-text").show(),e.removeAttr("required"),t.hide(),n.hide().show(),$(".default-form .require-me").attr("required","required"),$(".first-name-copy").val(""),$(".last-name-copy").val(""),$(".email-copy").val(""),$("#copyinfo").prop("checked",!1))}),$("#copyinfo").change(function(){if($(this).is(":checked")){const e=$(".first-name-base").val();$(".first-name-copy").val(e);const t=$(".last-name-base").val();$(".last-name-copy").val(t);const n=$(".email-base").val();$(".email-copy").val(n)}else $(".first-name-copy").val(""),$(".last-name-copy").val(""),$(".email-copy").val("")}),!0),e.refer=function(){if(window.location.hash){const e=window.location.hash.substr(1);$("#referral_note").val(e)}return!0}(),e.owlHack=(setTimeout(function(){$(".owl-dot").each(function(){$(this).attr("aria-label","advance to next pane")})},3e3),!0),e.styleGuideColor=($(".style-color").each((e,t)=>{const n={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},i=$(t).css("background-color").split("(")[1].split(")")[0].split(",").map(e=>e.trim());let o="#";for(let e=0;e<3;e++){const t=parseFloat(i[e])/16,r=Math.floor(t);let a=0;t!==r&&(a=16*parseFloat(`.${(t+"").split(".")[1]}`)),o+=n[r],o+=n[a]}$(t).siblings(".style-color-hex").text(o)}),!0),e.specialMessageModal=function(){const e=$("#figureMessageModal");if(e.length){if("read"===$.cookie("specialmessage"))return;setTimeout(function(){e.modal("show")},2e3),$(document).on("hide.bs.modal","#figureMessageModal",function(){$.cookie("specialmessage","read",{expires:30,path:"/"})}),$(document).on("click","#figureMessageModal a",function(){$.cookie("specialmessage","read",{expires:30,path:"/"})}),$(document).on("click","#figureMessageModal button",function(){$.cookie("specialmessage","read",{expires:30,path:"/"})})}return!0},e.ageGateModal=($(window).on("load",function(){const t=$("#offsetAgeGate");if(t.length){const i=(new Date).getFullYear(),o=[];for(let u=i;u>=i-150;u--)(u%4==0&&u%100!=0||u%400==0)&&o.push(u);const r=$("#verify-month"),a=$("#verify-day"),s=$("#verify-year"),l={month:r.val(),day:a.val(),year:s.val()};function n(){"none"===l.month||"none"===l.day||"none"===l.year?($("#modal
2-error").css("visibility","visible").hide().fadeIn("slow"),"none"===l.month&&(r.css("background","rgba(223,32,44,0.5)"),r.on("change",function(){"none"===r.val()?r.css("background","rgba(223,32,44,0.5)"):r.css("background","white")})),"none"===l.day&&(a.css("background","rgba(223,32,44,0.5)"),a.on("change",function(){"none"===a.val()?a.css("background","rgba(223,32,44,0.5)"):a.css("background","white")})),"none"===l.year&&(s.css("background","rgba(223,32,44,0.5)"),s.on("change",function(){"none"===s.val()?s.css("background","rgba(223,32,44,0.5)"):s.css("background","white")}))):function(){const n=new Date(`${l.year}-${l.month}-${l.day}`),i=(new Date).getTime()-n.getTime();parseFloat(i/315576e5)>=21?($("#age-error-message").addClass("d-none"),$.cookie("ageGateCookie","oldEnough",{expires:365,path:"/"}),$.cookie("offsetBirthDay",parseInt(l.day),{expires:14,path:"/"}),$.cookie("offsetBirthMonth",l.month,{expires:14,path:"/"}),$.cookie("offsetBirthYear",l.year,{expires:14,path:"/"}),t.modal("hide"),e.signUpAgeCookieFill(),e.specialMessageModal()):$("#age-error-message").removeClass("d-none")}
2(),[r,a,s].forEach(e=>{e.on("keydown",function(e){13!==e.which&&13!==e.keyCode||(e.preventDefault(),n())})})}"oldEnough"!==$.cookie("ageGateCookie")?(0===$(".page-pages-styleguide").length&&t.modal("show"),r.on("change",function(e){const t=$(e.target);["4","6","9","11"].includes(t.val())?a.find('option[value="31"]').remove():"2"===t.val()?(o.includes(parseFloat(s.val()))||a.find('option[value="29"]').remove(),a.find('option[value="30"]').remove(),a.find('option[value="31"]').remove()):(a.find('option[value="29"]').length||a.append('<option value="29">29</option>'),a.find('option[value="30"]').length||a.append('<option value="30">30</option>'),a.find('option[value="31"]').length||a.append('<option value="31">31</option>')),l.month=t.val()}),s.on("change",function(e){const t=$(e.target);o.includes(parseFloat(t.val()))&&"2"===r.val()&&(a.find('option[value="29"]').length||a.append('<option value="29">29</option>')),l.year=t.val()}),a.on("change",function(e){l.day=$(e.target).val()}),$("#js-age-submit").on("click",function(){l.month=r.val(),l.day=a.val(),l.year=s.val(),n()})):e.specialMessageModal()}else e.specialMessageModal()}),!0),e.signUpAgeCookieFill=function(){if($("#signUp").length&&$.cookie("offsetBirthDay")&&$.cookie("offsetBirthMonth")&&$.cookie("offsetBirthYear")){const e=$.cookie("offsetBirthMonth").toString(),t=$('select[id="data\\[birth_month\\]"]'),n=$('select[id="data\\[birth_day\\]"]'),i=$('select[id="data\\[birth_year\\]"]');t.val(e),n.val(parseInt($.cookie("offsetBirthDay"))),i.val($.cookie("offsetBirthYear"))}},e.signUpAgeCookieFill(),e.SignUpPopulate=function(){if($(".page-signup-dynamic").length||$(".page-signup-index").length){const e={};window.location.search.substring(1).split("&").forEach(t=>{const[n,i]=t.split("=");n&&(e[decodeURIComponent(n)]=decodeURIComponent(i||""))}),$.each(e,function(e,t){let n={[e]:t};if(["name","fullname","full_name"].includes(e)){const e=t.split(/ (.+)/);n={first_name:e[0],last_name:e[1]||""}}else["email","email_address","emailaddress"].includes(e)&&(n={username:t});Object.keys(n).forEach(e=>{const t=$(`[name="data[${e}]"]`);t.length&&t.val(n[e])})})}return!0}(),e.mobileHorizontalWarningModal=function(){let e=$(document).find("#mobileHorizontalWarning");return $(window).on("load resize",function(){e=$(document).find("#mobileHorizontalWarning");const t=window.innerWidth<=767&&window.innerHeight<=1200||window.innerHeight<=767&&window.innerWidth<=1200,n=window.innerWidth>window.innerHeight,i="ontouchstart"in window||navigator.maxTouchPoints>0,o=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);e.length&&(t&&n&&i&&o?"read"!==$.cookie("mobileHorizontalWarning")&&(e.modal("show"),$.cookie("mobileHorizontalWarning","read",{expires:1,path:"/"}),setTimeout(()=>{e.modal("hide")},1e4)):e.modal("hide"))}),!0}(),e.referralSelect=function(){const e=$("#referralSourceSelect"),t=$("#referraltext");return e.length&&t.length&&e.change(function(){const e=$(this).find(":selected").attr("data-message");e?t.removeClass("d-none").attr("placeholder",e).removeAttr("disabled"):t.addClass("d-none").attr("placeholder","").attr("disabled","disabled")}),!0}(),e.giftCardValue=function(e){const t=e;$(".gift-card-value-input").val(t),$(".gift-card-value").text(t)},e.formatNumber=function(e){return e.replace(/\D/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,",")},e.formatCurrency=function(t){let n=t.val();if(""===n)return;const i=n.length;let o=t.prop("selectionStart"),r=n.replace(".","");r=r.replace(/[^0-9]/g,""),r=r.replace(/^0+/,""),n=e.formatNumber(r),t.val(n),e.giftCardValue(n);o=n.length-i+o,t[0].setSelectionRange(o,o)},e.giftCards=function(){if($(".page-giftcard-index").length){const t=$(".gift-card-value-input").val(),n=$(".gift-card-value-options"),i=n.data("option-1"),o=n.data("option-2"),r=n.data("option-3"),a=[i,o,r],s=e=>parseFloat(e.replace("$","").replace(",","")),l=$(".gift-card-value-btn-select");if(l.removeClass("active"),i&&o&&r){let n=!1;if(a.forEach(e=>{s(t)===s(e)?l.each((t,i)=>{const o=$(i);s(o.val())===s(e)&&(o.addClass("active"),$(".gift-card-value-btn-custom").removeClass("active"),n=!0)}):l.each((t,n)=>{const i=$(n);s(i.val())===s(e)&&i.removeClass("active")})}),!n){l.removeClass("active");const e=$(".gift-card-value-btn-custom");e.addClass("active"),e.text(t)}$(document).on("click",".gift-card-value-btn-select",function(){$(".gift-card-value-custom-input").removeClass("active"),$(".gift-card-value-btn-custom").removeClass("active"),l.removeClass("active"),$(this).addClass("active");const t=$(this).val();e.giftCardValue(t),$("#collapseCustom").collapse("hide")}),$(document).on("click",".gift-card-value-btn-custom",function(){l.removeClass("active");$(".gift-card-value-btn-custom").addClass("active");const t=$("#custom_amount"),n=t.val();parseFloat(n.replace("$","").replace(",",""))>0&&e.giftCardValue(`$${n}
2`),t.focus()})}$('input[data-type="currency"]').on({keydown:function(e){"Enter"===e.key&&e.preventDefault()},keyup:function(t){e.formatCurrency($(this)),"Enter"===t.key&&$(this).trigger("blur")},blur:function(){const t=$(this);if(t.hasClass("gift-card-value-custom-input")){const n=parseFloat(t.val().replace("$","").replace(",","").replace(/^0+/,""));if(e.formatCurrency(t),0===n||isNaN(n)){const e=$(".gift-card-value-btn-custom");e.removeClass("active"),e.text("Custom"),$(l[0]).trigger("click")}else if(t.val()){l.removeClass("active"),$(".gift-card-value-custom-input").addClass("active"),n>2500?(t.val("$2,500"),e.giftCardValue("$2,500")):n<25?(t.val("$25"),e.giftCardValue("$25")):e.giftCardValue(`$${t.val()}`);const i=`$${t.val()}`,o=$(".gift-card-value-btn-custom");o.text(i),o.addClass("active")}$("#collapseCustom").collapse("hide")}}});const u=async function(){const e=$("#giftCardSetUp"),t=e.attr("action"),n=new FormData(e[0]);try{const e=await fetch(t,{method:"POST",body:n});200===e.status?window.location.href=e.url:console.error("Something went wrong")}catch(e){console.error(e)}};$(document).on("submit","#giftCardSetUp",function(e){e.preventDefault()}),$(document).on("click","#submitGiftCard",function(e){const t=parseFloat($(".gift-card-value-input").val().replace("$","").replace(",",""));t<25||t>2500?(e.preventDefault(),$(".less-than-five").show()):($(".less-than-five").hide(),$("#giftCardSetUp").hasClass("not-yet-sparky")||($(document).find("#submitGiftCard").html('<div class="spinner-border" style="width: 1.5rem; height: 1.5rem;" role="status"><span class="sr-only">Loading...</span></div>'),u()))}),$(window).on("load resize",function(){const e=$(".gift-card-value-btn-custom").outerHeight();$(".gift-card-value-custom-input").css({height:e})}),$("#giftCardBalanceModal").on("hide.bs.modal",function(){$("#giftCardCode").val(""),grecaptcha.reset(),$("#giftCardBalance").text("")})}return!0}(),e.giftCardsBalance=($(document).on("click",".js-gift-card-check-balance",function(){const t=$(document).find("#giftCardCode").val();if(t){if($("#giftCardBalanceTitle").removeClass("d-none"),$(document).find("#giftCardBalance").html('<div class="loading"><div class="spinner-grow" role="status"><span class="sr-only">Loading...</span></div></div>'),setTimeout(()=>{$(document).find("#giftCardBalance .loading").append('<div class="spinner-grow" role="status"><span class="sr-only">Loading...</span></div>')},100),setTimeout(()=>{$(document).find("#giftCardBalance .loading").append('<div class="spinner-grow" role="status"><span class="sr-only">Loading...</span></div>')},200),"123-test"===t)return;!async function(t){try{const n=`/giftcard/balance/${t}/`,i=await fetch(n),o=await i.json();if(o){let t=o.value,n=!0;[null,!1,0].includes(t)&&(n=!1);let i="";if(n){const n=t.split(".");i=`$${e.formatNumber(n[0])}.${n[1]}`}n||(i="Card Number Not Valid"),$(document).find("#giftCardBalance").html(i)}}catch(e){console.error(e)}}(t)}}),!0),e.applyCode=($(document).on("click","#jsApplyCodeAjax",function(){const e=$(this),t=$(".ajax-promo-code").val(),n=e.data("url-base")&&e.data("url-base").trim().length?e.data("url-base").trim():"cart";return $.getJSON(`/${n}/use-coupon-json/${t}/`,function(e){if(!0===e.success)location.reload();else if(e.gift_card_balance<=0)$(".promo-code-not-found").addClass("d-none"),$(".promo-code-no-value").removeClass("d-none");else{$(".promo-code-no-value").addClass("d-none");const e=$(".promo-code-not-found");e.removeClass("d-none"),e.find(".bad-promo-code").text(`${t} `)}}),!1}),!0)},135:function(){!function(e,t){String.prototype.hasOwnProperty("trim")||(String.prototype.trim=function(){return this.replace(/^\s*(.*?)\s*$/,"$1")});var n=function(t){if(1===arguments.length&&"function"==typeof t&&(t=[t]),!(t instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");for(var n=0;n<t.length;n++)if("function"==typeof t[n])for(var i=0;i<this.length;i++)t[n].call(e(this[i]));else console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on");return this};function i(n,o){var r=n.getBoundingClientRect(),a=r.top,s=r.bottom,l=r.left,u=r.right,c=e.extend({tolerance:0,viewport:t},o),d=!1,f=c.viewport.jquery?c.viewport:e(c.viewport);f.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),f=e(t));var h,p,g,m=f.height(),v=f.width(),y=f[0].toString();if(f[0]!==t&&"[object Window]"!==y&&"[object DOMWindow]"!==y){var b=f[0].getBoundingClientRect();a-=b.top,s-=b.top,l-=b.left,u-=b.left,i.scrollBarWidth=i.scrollBarWidth||(h=f,g=e("<div></div>").css({width:"100%"}),h.append(g),p=h.width()-g.width(),g.remove(),p),v-=i.scrollBarWidth}return c.tolerance=~~Math.round(parseFloat(c.tolerance)),c.tolerance<0&&(c.tolerance=m+c.tolerance),u<=0||l>=v?d:d=c.tolerance?!!(a<=c.tolerance&&s>=c.tolerance):!!(s>0&&a<=m)}e.fn.do=function(e){return console.warn("isInViewport: .do is deprecated as it causes issues in IE and some browsers since it's a reserved word. Use $.fn.run instead i.e., $(el).run(fn)."),n(e)},e.fn.run=n;var o=function(t){if(t){var n=t.split(",");return 1===n.length&&isNaN(n[0])&&(n[1]=n[0],n[0]=void 0),{tolerance:n[0]?n[0].trim():void 0,viewport:n[1]?e(n[1].trim()):void 0}}return{}};e.extend(e.expr[":"],{"in-viewport":e.expr.createPseudo?e.expr.createPseudo(function(e){return function(t){return i(t,o(e))}}):function(e,t,n){return i(e,o(n[3]))}}),e.fn.isInViewport=function(e){return this.filter(function(t,n){return i(n,e)})}}(jQuery,window)},338:function(e,t,n){!function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
2))),i.forEach(function(t){r(e,t,n[t])})}return e}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var l="transitionend",u=1e6,c=1e3;function d(e){return{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function f(){return{bindType:l,delegateType:l,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function h(e){var n=this,i=!1;return t(this).one(g.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||g.triggerTransitionEnd(n)},e),this}function p(){t.fn.emulateTransitionEnd=h,t.event.special[g.TRANSITION_END]=f()}var g={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*u)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),i=t(e).css("transition-delay"),o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],(parseFloat(n)+parseFloat(i))*c):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(l)},supportsTransitionEnd:function(){return Boolean(l)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&g.isElement(r)?"element":d(r);if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?g.findShadowRoot(e.parentNode):null}};p();var m="alert",v="4.3.1",y="bs.alert",b="."+y,_=".data-api",S=t.fn[m],w={DISMISS:'[data-dismiss="alert"]'},k={CLOSE:"close"+b,CLOSED:"closed"+b,CLICK_DATA_API:"click"+b+_},T={ALERT:"alert",FADE:"fade",SHOW:"show"},A=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,y),this._element=null},n._getRootElement=function(e){var n=g.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=t(e).closest("."+T.ALERT)[0]),i},n._triggerCloseEvent=function(e){var n=t.Event(k.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n=this;if(t(e).removeClass(T.SHOW),t(e).hasClass(T.FADE)){var i=g.getTransitionDurationFromElement(e);t(e).one(g.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(i)}else this._destroyElement(e)},n._destroyElement=function(e){t(e).detach().trigger(k.CLOSED).remove()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(y);o||(o=new e(this),i.data(y,o)),"close"===n&&o[n](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},o(e,null,[{key:"VERSION",get:function(){return v}}]),e}();t(document).on(k.CLICK_DATA_API,w.DISMISS,A._handleDismiss(new A)),t.fn[m]=A._jQueryInterface,t.fn[m].Constructor=A,t.fn[m].noConflict=function(){return t.fn[m]=S,A._jQueryInterface};var C="button",E="4.3.1",I="bs.button",x="."+I,O=".data-api",N=t.fn[C],$={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},P={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:'input:not([type="hidden"])',ACTIVE:".active",BUTTON:".btn"},L={CLICK_DATA_API:"click"+x+O,FOCUS_BLUR_DATA_API:"focus"+x+O+" blur"+x+O},M=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(P.DATA_TOGGLE)[0];if(i){var o=this._element.querySelector(P.INPUT);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains($.ACTIVE))e=!1;else{var r=i.querySelector(P.ACTIVE);r&&t(r).removeClass($.ACTIVE)}if(e){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!this._element.classList.contains($.ACTIVE),t(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains($.ACTIVE)),e&&t(this._element).toggleClass($.ACTIVE)},n.dispose=function(){t.removeData(this._element,I),this._element=null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(I);i||(i=new e(this),t(this).data(I,i)),"toggle"===n&&i[n]()})},o(e,null,[{key:"VERSION",get:function(){return E}}]),e}();t(document).on(L.CLICK_DATA_API,P.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var n=e.target;t(n).hasClass($.BUTTON)||(n=t(n).closest(P.BUTTON)),M._jQueryInterface.call(t(n),"toggle")}).on(L.FOCUS_BLUR_DATA_API,P.DATA_TOGGLE_CARROT,function(e){var n=t(e.target).closest(P.BUTTON)[0];t(n).toggleClass($.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[C]=M._jQueryInterface,t.fn[C].Constructor=M,t.fn[C].noConflict=function(){return t.fn[C]=N,M._jQueryInterface};var D="carousel",B="4.3.1",R="bs.carousel",H="."+R,j=".data-api",K=t.fn[D],U=37,G=39,F=500,W=40,z={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},q={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},V={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},J={SLIDE:"slide"+H,SLID:"slid"+H,KEYDOWN:"keydown"+H,MOUSEENTER:"mouseenter"+H,MOUSELEAVE:"mouseleave"+H,TOUCHSTART:"touchstart"+H,TOUCHMOVE:"touchmove"+H,TOUCHEND:"touchend"+H,POINTERDOWN:"pointerdown"+H,POINTERUP:"pointerup"+H,DRAG_START:"dragstart"+H,LOAD_DATA_API:"load"+H+j,CLICK_DATA_API:"click"+H+j}
2,Y={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item",POINTER_EVENT:"pointer-event"},Q={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Z={TOUCH:"touch",PEN:"pen"},X=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(Q.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=e.prototype;return n.next=function(){this._isSliding||this._slide(V.NEXT)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(V.PREV)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Q.NEXT_PREV)&&(g.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(e){var n=this;this._activeElement=this._element.querySelector(Q.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(J.SLID,function(){return n.to(e)});else{if(i===e)return this.pause(),void this.cycle();var o=e>i?V.NEXT:V.PREV;this._slide(o,this._items[e])}},n.dispose=function(){t(this._element).off(H),t.removeData(this._element,R),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=a({},z,e),g.typeCheckConfig(D,e,q),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=W)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},n._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(J.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&t(this._element).on(J.MOUSEENTER,function(t){return e.pause(t)}).on(J.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&Z[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX},o=function(t){e._pointerEvent&&Z[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},F+e._config.interval))};t(this._element.querySelectorAll(Q.ITEM_IMG)).on(J.DRAG_START,function(e){return e.preventDefault()}),this._pointerEvent?(t(this._element).on(J.POINTERDOWN,function(e){return n(e)}),t(this._element).on(J.POINTERUP,function(e){return o(e)}),this._element.classList.add(Y.POINTER_EVENT)):(t(this._element).on(J.TOUCHSTART,function(e){return n(e)}),t(this._element).on(J.TOUCHMOVE,function(e){return i(e)}),t(this._element).on(J.TOUCHEND,function(e){return o(e)}))}},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case U:e.preventDefault(),this.prev();break;case G:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Q.ITEM)):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===V.NEXT,i=e===V.PREV,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;var a=(o+(e===V.PREV?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},n._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),o=this._getItemIndex(this._element.querySelector(Q.ACTIVE_ITEM)),r=t.Event(J.SLIDE,{relatedTarget:e,direction:n,from:o,to:i});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(Q.ACTIVE));t(n).removeClass(Y.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(Y.ACTIVE)}},n._slide=function(e,n){var i,o,r,a=this,s=this._element.querySelector(Q.ACTIVE_ITEM),l=this._getItemIndex(s),u=n||s&&this._getItemByDirection(e,s),c=this._getItemIndex(u),d=Boolean(this._interval);if(e===V.NEXT?(i=Y.LEFT,o=Y.NEXT,r=V.LEFT):(i=Y.RIGHT,o=Y.PREV,r=V.RIGHT),u&&t(u).hasClass(Y.ACTIVE))this._isSliding=!1;else if(!this._triggerSlideEvent(u,r).isDefaultPrevented()&&s&&u){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(u);var f=t.Event(J.SLID,{relatedTarget:u,direction:r,from:l,to:c});if(t(this._element).hasClass(Y.SLIDE)){t(u).addClass(o),g.reflow(u),t(s).addClass(i),t(u).addClass(i);var h=parseInt(u.getAttribute("data-interval"),10);h?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=h):this._config.interval=this._config.defaultInterval||this._config.interval;var p=g.getTransitionDurationFromElement(s);t(s).one(g.TRANSITION_END,function(){t(u).removeClass(i+" "+o).addClass(Y.ACTIVE),t(s).removeClass(Y.ACTIVE+" "+o+" "+i),a._isSliding=!1,setTimeout(function(){return t(a._element).trigger(f)},0)}).emulateTransitionEnd(p)}else t(s).removeClass(Y.ACTIVE),t(u).addClass(Y.ACTIVE),this._isSliding=!1,t(this._element).trigger(f);d&&this.cycle()}},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(R),o=a({},z,t(this).data());"object"==typeof n&&(o=a({},o,n));var r="string"==typeof n?n:o.slide;if(i||(i=new e(this,o),t(this).data(R,i)),"number"==typeof n)i.to(n);else if("string"==typeof r){if(void 0===i[r])throw new TypeError('No method n
2amed "'+r+'"');i[r]()}else o.interval&&o.ride&&(i.pause(),i.cycle())})},e._dataApiClickHandler=function(n){var i=g.getSelectorFromElement(this);if(i){var o=t(i)[0];if(o&&t(o).hasClass(Y.CAROUSEL)){var r=a({},t(o).data(),t(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),e._jQueryInterface.call(t(o),r),s&&t(o).data(R).to(s),n.preventDefault()}}},o(e,null,[{key:"VERSION",get:function(){return B}},{key:"Default",get:function(){return z}}]),e}();t(document).on(J.CLICK_DATA_API,Q.DATA_SLIDE,X._dataApiClickHandler),t(window).on(J.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(Q.DATA_RIDE)),n=0,i=e.length;n<i;n++){var o=t(e[n]);X._jQueryInterface.call(o,o.data())}}),t.fn[D]=X._jQueryInterface,t.fn[D].Constructor=X,t.fn[D].noConflict=function(){return t.fn[D]=K,X._jQueryInterface};var ee="collapse",te="4.3.1",ne="bs.collapse",ie="."+ne,oe=".data-api",re=t.fn[ee],ae={toggle:!0,parent:""},se={toggle:"boolean",parent:"(string|element)"},le={SHOW:"show"+ie,SHOWN:"shown"+ie,HIDE:"hide"+ie,HIDDEN:"hidden"+ie,CLICK_DATA_API:"click"+ie+oe},ue={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},ce={WIDTH:"width",HEIGHT:"height"},de={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},fe=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(de.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],a=g.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(a)).filter(function(t){return t===e});null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=e.prototype;return n.toggle=function(){t(this._element).hasClass(ue.SHOW)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!(this._isTransitioning||t(this._element).hasClass(ue.SHOW)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(de.ACTIVES)).filter(function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(ue.COLLAPSE)})).length&&(n=null),n&&(i=t(n).not(this._selector).data(ne))&&i._isTransitioning))){var r=t.Event(le.SHOW);if(t(this._element).trigger(r),!r.isDefaultPrevented()){n&&(e._jQueryInterface.call(t(n).not(this._selector),"hide"),i||t(n).data(ne,null));var a=this._getDimension();t(this._element).removeClass(ue.COLLAPSE).addClass(ue.COLLAPSING),this._element.style[a]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(ue.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){t(o._element).removeClass(ue.COLLAPSING).addClass(ue.COLLAPSE).addClass(ue.SHOW),o._element.style[a]="",o.setTransitioning(!1),t(o._element).trigger(le.SHOWN)},l="scroll"+(a[0].toUpperCase()+a.slice(1)),u=g.getTransitionDurationFromElement(this._element);t(this._element).one(g.TRANSITION_END,s).emulateTransitionEnd(u),this._element.style[a]=this._element[l]+"px"}}},n.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(ue.SHOW)){var n=t.Event(le.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",g.reflow(this._element),t(this._element).addClass(ue.COLLAPSING).removeClass(ue.COLLAPSE).removeClass(ue.SHOW);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],s=g.getSelectorFromElement(a);null!==s&&(t([].slice.call(document.querySelectorAll(s))).hasClass(ue.SHOW)||t(a).addClass(ue.COLLAPSED).attr("aria-expanded",!1))}this.setTransitioning(!0);var l=function(){e.setTransitioning(!1),t(e._element).removeClass(ue.COLLAPSING).addClass(ue.COLLAPSE).trigger(le.HIDDEN)};this._element.style[i]="";var u=g.getTransitionDurationFromElement(this._element);t(this._element).one(g.TRANSITION_END,l).emulateTransitionEnd(u)}}},n.setTransitioning=function(e){this._isTransitioning=e},n.dispose=function(){t.removeData(this._element,ne),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=a({},ae,e)).toggle=Boolean(e.toggle),g.typeCheckConfig(ee,e,se),e},n._getDimension=function(){return t(this._element).hasClass(ce.WIDTH)?ce.WIDTH:ce.HEIGHT},n._getParent=function(){var n,i=this;g.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(
2o));return t(r).each(function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])}),n},n._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(ue.SHOW);n.length&&t(n).toggleClass(ue.COLLAPSED,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=g.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(ne),r=a({},ae,i.data(),"object"==typeof n&&n?n:{});if(!o&&r.toggle&&/show|hide/.test(n)&&(r.toggle=!1),o||(o=new e(this,r),i.data(ne,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(e,null,[{key:"VERSION",get:function(){return te}},{key:"Default",get:function(){return ae}}]),e}();t(document).on(le.CLICK_DATA_API,de.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),i=g.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));t(o).each(function(){var e=t(this),i=e.data(ne)?"toggle":n.data();fe._jQueryInterface.call(e,i)})}),t.fn[ee]=fe._jQueryInterface,t.fn[ee].Constructor=fe,t.fn[ee].noConflict=function(){return t.fn[ee]=re,fe._jQueryInterface};var he="dropdown",pe="4.3.1",ge="bs.dropdown",me="."+ge,ve=".data-api",ye=t.fn[he],be=27,_e=32,Se=9,we=38,ke=40,Te=3,Ae=new RegExp(we+"|"+ke+"|"+be),Ce={HIDE:"hide"+me,HIDDEN:"hidden"+me,SHOW:"show"+me,SHOWN:"shown"+me,CLICK:"click"+me,CLICK_DATA_API:"click"+me+ve,KEYDOWN_DATA_API:"keydown"+me+ve,KEYUP_DATA_API:"keyup"+me+ve},Ee={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},Ie={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},xe={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},Oe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ne={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},$e=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var i=e.prototype;return i.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(Ee.DISABLED)){var i=e._getParentFromElement(this._element),o=t(this._menu).hasClass(Ee.SHOW);if(e._clearMenus(),!o){var r={relatedTarget:this._element},a=t.Event(Ce.SHOW,r);if(t(i).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=i:g.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(i).addClass(Ee.POSITION_STATIC),this._popper=new n(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(i).closest(Ie.NAVBAR_NAV).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(Ee.SHOW),t(i).toggleClass(Ee.SHOW).trigger(t.Event(Ce.SHOWN,r))}}}},i.show=function(){if(!(this._element.disabled||t(this._element).hasClass(Ee.DISABLED)||t(this._menu).hasClass(Ee.SHOW))){var n={relatedTarget:this._element},i=t.Event(Ce.SHOW,n),o=e._getParentFromElement(this._element);t(o).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Ee.SHOW),t(o).toggleClass(Ee.SHOW).trigger(t.Event(Ce.SHOWN,n)))}},i.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(Ee.DISABLED)&&t(this._menu).hasClass(Ee.SHOW)){var n={relatedTarget:this._element},i=t.Event(Ce.HIDE,n),o=e._getParentFromElement(this._element);t(o).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(Ee.SHOW),t(o).toggleClass(Ee.SHOW).trigger(t.Event(Ce.HIDDEN,n)))}},i.dispose=function(){t.removeData(this._element,ge),t(this._element).off(me),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},i.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},i._addEventListeners=function(){var e=this;t(this._element).on(Ce.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle(
2)})},i._getConfig=function(e){return e=a({},this.constructor.Default,t(this._element).data(),e),g.typeCheckConfig(he,e,this.constructor.DefaultType),e},i._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Ie.MENU))}return this._menu},i._getPlacement=function(){var e=t(this._element.parentNode),n=xe.BOTTOM;return e.hasClass(Ee.DROPUP)?(n=xe.TOP,t(this._menu).hasClass(Ee.MENURIGHT)&&(n=xe.TOPEND)):e.hasClass(Ee.DROPRIGHT)?n=xe.RIGHT:e.hasClass(Ee.DROPLEFT)?n=xe.LEFT:t(this._menu).hasClass(Ee.MENURIGHT)&&(n=xe.BOTTOMEND),n},i._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},i._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},i._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(ge);if(i||(i=new e(this,"object"==typeof n?n:null),t(this).data(ge,i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},e._clearMenus=function(n){if(!n||n.which!==Te&&("keyup"!==n.type||n.which===Se))for(var i=[].slice.call(document.querySelectorAll(Ie.DATA_TOGGLE)),o=0,r=i.length;o<r;o++){var a=e._getParentFromElement(i[o]),s=t(i[o]).data(ge),l={relatedTarget:i[o]};if(n&&"click"===n.type&&(l.clickEvent=n),s){var u=s._menu;if(t(a).hasClass(Ee.SHOW)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&n.which===Se)&&t.contains(a,n.target))){var c=t.Event(Ce.HIDE,l);t(a).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),i[o].setAttribute("aria-expanded","false"),t(u).removeClass(Ee.SHOW),t(a).removeClass(Ee.SHOW).trigger(t.Event(Ce.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=g.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if(!(/input|textarea/i.test(n.target.tagName)?n.which===_e||n.which!==be&&(n.which!==ke&&n.which!==we||t(n.target).closest(Ie.MENU).length):!Ae.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(Ee.DISABLED))){var i=e._getParentFromElement(this),o=t(i).hasClass(Ee.SHOW);if(o&&(!o||n.which!==be&&n.which!==_e)){var r=[].slice.call(i.querySelectorAll(Ie.VISIBLE_ITEMS));if(0!==r.length){var a=r.indexOf(n.target);n.which===we&&a>0&&a--,n.which===ke&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}else{if(n.which===be){var s=i.querySelector(Ie.DATA_TOGGLE);t(s).trigger("focus")}t(this).trigger("click")}}},o(e,null,[{key:"VERSION",get:function(){return pe}},{key:"Default",get:function(){return Oe}},{key:"DefaultType",get:function(){return Ne}}]),e}();t(document).on(Ce.KEYDOWN_DATA_API,Ie.DATA_TOGGLE,$e._dataApiKeydownHandler).on(Ce.KEYDOWN_DATA_API,Ie.MENU,$e._dataApiKeydownHandler).on(Ce.CLICK_DATA_API+" "+Ce.KEYUP_DATA_API,$e._clearMenus).on(Ce.CLICK_DATA_API,Ie.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),$e._jQueryInterface.call(t(this),"toggle")}).on(Ce.CLICK_DATA_API,Ie.FORM_CHILD,function(e){e.stopPropagation()}),t.fn[he]=$e._jQueryInterface,t.fn[he].Constructor=$e,t.fn[he].noConflict=function(){return t.fn[he]=ye,$e._jQueryInterface};var Pe="modal",Le="4.3.1",Me="bs.modal",De="."+Me,Be=".data-api",Re=t.fn[Pe],He=27,je={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ke={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ue={HIDE:"hide"+De,HIDDEN:"hidden"+De,SHOW:"show"+De,SHOWN:"shown"+De,FOCUSIN:"focusin"+De,RESIZE:"resize"+De,CLICK_DISMISS:"click.dismiss"+De,KEYDOWN_DISMISS:"keydown.dismiss"+De,MOUSEUP_DISMISS:"mouseup.dismiss"+De,MOUSEDOWN_DISMISS:"mousedown.dismiss"+De,CLICK_DATA_API:"click"+De+Be},Ge={SCROLLABLE:"modal-dialog-scrollable",SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},Fe={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},We=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(Fe.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=e.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(Ge.FADE)&&(this._isTransitioning=!0);var i=t.Event(Ue.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(Ue.CLICK_DISMISS,Fe.DATA_DISMISS,function(e){return n.hide(e)}),t(this._dialog).on(Ue.MOUSEDOWN_DISMISS,function(){t(n._element).one(Ue.MOUSEUP_DISMISS,function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return n._showElement(e)}))}},n.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=t.Event(Ue.HIDE);if(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=t(this._element).hasClass(Ge.FADE);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(Ue.FOCUSIN),t(this._element).removeClass(Ge.SHOW),t(this._element).off(Ue.CLICK_DISMISS),t(this._dialog).off(Ue.MOUSEDOWN_DISMISS),o){var r=g.getTransitionDurationFromElement(this._element);t(this._element).one(g.TRANSITION_END,function(e){return n._hideModal(e)}).emulateTransitionEnd(r)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach(function(e){return t(e).off(
2De)}),t(document).off(Ue.FOCUSIN),t.removeData(this._element,Me),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=a({},je,e),g.typeCheckConfig(Pe,e,Ke),e},n._showElement=function(e){var n=this,i=t(this._element).hasClass(Ge.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),t(this._dialog).hasClass(Ge.SCROLLABLE)?this._dialog.querySelector(Fe.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&g.reflow(this._element),t(this._element).addClass(Ge.SHOW),this._config.focus&&this._enforceFocus();var o=t.Event(Ue.SHOWN,{relatedTarget:e}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(o)};if(i){var a=g.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(g.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},n._enforceFocus=function(){var e=this;t(document).off(Ue.FOCUSIN).on(Ue.FOCUSIN,function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()})},n._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(Ue.KEYDOWN_DISMISS,function(t){t.which===He&&(t.preventDefault(),e.hide())}):this._isShown||t(this._element).off(Ue.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var e=this;this._isShown?t(window).on(Ue.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(Ue.RESIZE)},n._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(Ge.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(Ue.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var n=this,i=t(this._element).hasClass(Ge.FADE)?Ge.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Ge.BACKDROP,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(Ue.CLICK_DISMISS,function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())}),i&&g.reflow(this._backdrop),t(this._backdrop).addClass(Ge.SHOW),!e)return;if(!i)return void e();var o=g.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(g.TRANSITION_END,e).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(Ge.SHOW);var r=function(){n._removeBackdrop(),e&&e()};if(t(this._element).hasClass(Ge.FADE)){var a=g.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(g.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else e&&e()},n._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(Fe.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(Fe.STICKY_CONTENT));t(n).each(function(n,i){var o=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(r)+e._scrollbarWidth+"px")}),t(i).each(function(n,i){var o=i.style.marginRight,r=t(i).css("margin-right");t(i).data("margin-right",o).css("margin-right",parseFloat(r)-e._scrollbarWidth+"px")});var o=document.body.style.paddingRight,r=t(document.body).css("padding-right");t(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}t(document.body).addClass(Ge.OPEN)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Fe.FIXED_CONTENT));t(e).each(function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""});var n=[].slice.call(document.querySelectorAll(""+Fe.STICKY_CONTENT));t(n).each(function(e,n){var i=t(n).data("margin-right");void 0!==i&&t(n).css("margin-right",i).removeData("margin-right")});var i=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className=Ge.SCROLLBAR_MEASURER,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(n,i){return this.each(function(){var o=t(this).data(Me),r=a({},je,t(this).data(),"object"==typeof n&&n?n:{});if(o||(o=new e(this,r),t(this).data(Me,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method n
2amed "'+n+'"');o[n](i)}else r.show&&o.show(i)})},o(e,null,[{key:"VERSION",get:function(){return Le}},{key:"Default",get:function(){return je}}]),e}();t(document).on(Ue.CLICK_DATA_API,Fe.DATA_TOGGLE,function(e){var n,i=this,o=g.getSelectorFromElement(this);o&&(n=document.querySelector(o));var r=t(n).data(Me)?"toggle":a({},t(n).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var s=t(n).one(Ue.SHOW,function(e){e.isDefaultPrevented()||s.one(Ue.HIDDEN,function(){t(i).is(":visible")&&i.focus()})});We._jQueryInterface.call(t(n),r,this)}),t.fn[Pe]=We._jQueryInterface,t.fn[Pe].Constructor=We,t.fn[Pe].noConflict=function(){return t.fn[Pe]=Re,We._jQueryInterface};var ze=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],qe={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Ve=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Je=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function Ye(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===ze.indexOf(n)||Boolean(e.nodeValue.match(Ve)||e.nodeValue.match(Je));for(var i=t.filter(function(e){return e instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1}function Qe(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),r=[].slice.call(i.body.querySelectorAll("*")),a=function(e,n){var i=r[e],a=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[a]||[]);s.forEach(function(e){Ye(e,l)||i.removeAttribute(e.nodeName)})},s=0,l=r.length;s<l;s++)a(s,l);return i.body.innerHTML}var Ze="tooltip",Xe="4.3.1",et="bs.tooltip",tt="."+et,nt=t.fn[Ze],it="bs-tooltip",ot=new RegExp("(^|\\s)"+it+"\\S+","g"),rt=["sanitize","whiteList","sanitizeFn"],at={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},st={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},lt={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:qe},ut={SHOW:"show",OUT:"out"},ct={HIDE:"hide"+tt,HIDDEN:"hidden"+tt,SHOW:"show"+tt,SHOWN:"shown"+tt,INSERTED:"inserted"+tt,CLICK:"click"+tt,FOCUSIN:"focusin"+tt,FOCUSOUT:"focusout"+tt,MOUSEENTER:"mouseenter"+tt,MOUSELEAVE:"mouseleave"+tt},dt={FADE:"fade",SHOW:"show"},ft={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},ht={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},pt=function(){function e(e,t){if(void 0===n)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var i=e.prototype;return i.enable=function(){this._isEnabled=!0},i.disable=function(){this._isEnabled=!1},i.toggleEnabled=function(){this._isEnabled=!this._isEnabled},i.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(dt.SHOW))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var o=g.findShadowRoot(this.element),r=t.contains(null!==o?o:this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var a=this.getTipElement(),s=g.getUID(this.constructor.NAME);a.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&t(a).addClass(dt.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,u=this._getAttachment(l);this.addAttachmentClass(u);var c=this._getContainer();t(a).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(a).appendTo(c),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,a,{placement:u,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ft.ARROW}
2,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),t(a).addClass(dt.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var d=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===ut.OUT&&e._leave(null,e)};if(t(this.tip).hasClass(dt.FADE)){var f=g.getTransitionDurationFromElement(this.tip);t(this.tip).one(g.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},i.hide=function(e){var n=this,i=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==ut.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(t(this.element).trigger(o),!o.isDefaultPrevented()){if(t(i).removeClass(dt.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[ht.CLICK]=!1,this._activeTrigger[ht.FOCUS]=!1,this._activeTrigger[ht.HOVER]=!1,t(this.tip).hasClass(dt.FADE)){var a=g.getTransitionDurationFromElement(i);t(i).one(g.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},i.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function(){return Boolean(this.getTitle())},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass(it+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(ft.TOOLTIP_INNER)),this.getTitle()),t(e).removeClass(dt.FADE+" "+dt.SHOW)},i.setElementContent=function(e,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Qe(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n):this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text())},i.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},i._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=a({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},i._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},i._getAttachment=function(e){return st[e.toUpperCase()]},i._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(n!==ht.MANUAL){var i=n===ht.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=n===ht.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,function(t){return e._enter(t)}).on(o,e.config.selector,function(t){return e._leave(t)})}}),t(this.element).closest(".modal").on("hide.bs.modal",function(){e.element&&e.hide()}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?ht.FOCUS:ht.HOVER]=!0),t(n.getTipElement()).hasClass(dt.SHOW)||n._hoverState===ut.SHOW?n._hoverState=ut.SHOW:(clearTimeout(n._timeout),n._hoverState=ut.SHOW,n.config.delay&&n.config.delay.show?n._timeout=setTimeout(function(){n._hoverState===ut.SHOW&&n.show()},n.config.delay.show):n.show())},i._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?ht.FOCUS:ht.HOVER]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=ut.OUT,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout(function(){n._hoverState===ut.OUT&&n.hide()},n.config.delay.hide):n.hide())},i._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},i._getConfig=function(e){var n=t(this.element).data();
2return Object.keys(n).forEach(function(e){-1!==rt.indexOf(e)&&delete n[e]}),"number"==typeof(e=a({},this.constructor.Default,n,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),g.typeCheckConfig(Ze,e,this.constructor.DefaultType),e.sanitize&&(e.template=Qe(e.template,e.whiteList,e.sanitizeFn)),e},i._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(ot);null!==n&&n.length&&e.removeClass(n.join(""))},i._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},i._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(dt.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(et),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new e(this,o),t(this).data(et,i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(e,null,[{key:"VERSION",get:function(){return Xe}},{key:"Default",get:function(){return lt}},{key:"NAME",get:function(){return Ze}},{key:"DATA_KEY",get:function(){return et}},{key:"Event",get:function(){return ct}},{key:"EVENT_KEY",get:function(){return tt}},{key:"DefaultType",get:function(){return at}}]),e}();t.fn[Ze]=pt._jQueryInterface,t.fn[Ze].Constructor=pt,t.fn[Ze].noConflict=function(){return t.fn[Ze]=nt,pt._jQueryInterface};var gt="popover",mt="4.3.1",vt="bs.popover",yt="."+vt,bt=t.fn[gt],_t="bs-popover",St=new RegExp("(^|\\s)"+_t+"\\S+","g"),wt=a({},pt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),kt=a({},pt.DefaultType,{content:"(string|element|function)"}),Tt={FADE:"fade",SHOW:"show"},At={TITLE:".popover-header",CONTENT:".popover-body"},Ct={HIDE:"hide"+yt,HIDDEN:"hidden"+yt,SHOW:"show"+yt,SHOWN:"shown"+yt,INSERTED:"inserted"+yt,CLICK:"click"+yt,FOCUSIN:"focusin"+yt,FOCUSOUT:"focusout"+yt,MOUSEENTER:"mouseenter"+yt,MOUSELEAVE:"mouseleave"+yt},Et=function(e){function n(){return e.apply(this,arguments)||this}s(n,e);var i=n.prototype;return i.isWithContent=function(){return this.getTitle()||this._getContent()},i.addAttachmentClass=function(e){t(this.getTipElement()).addClass(_t+"-"+e)},i.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},i.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(At.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(At.CONTENT),n),e.removeClass(Tt.FADE+" "+Tt.SHOW)},i._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},i._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(St);null!==n&&n.length>0&&e.removeClass(n.join(""))},n._jQueryInterface=function(e){return this.each(function(){var i=t(this).data(vt),o="object"==typeof e?e:null;if((i||!/dispose|hide/.test(e))&&(i||(i=new n(this,o),t(this).data(vt,i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},o(n,null,[{key:"VERSION",get:function(){return mt}},{key:"Default",get:function(){return wt}},{key:"NAME",get:function(){return gt}},{key:"DATA_KEY",get:function(){return vt}},{key:"Event",get:function(){return Ct}},{key:"EVENT_KEY",get:function(){return yt}},{key:"DefaultType",get:function(){return kt}}]),n}(pt);t.fn[gt]=Et._jQueryInterface,t.fn[gt].Constructor=Et,t.fn[gt].noConflict=function(){return t.fn[gt]=bt,Et._jQueryInterface};var It="scrollspy",xt="4.3.1",Ot="bs.scrollspy",Nt="."+Ot,$t=".data-api",Pt=t.fn[It],Lt={offset:10,method:"auto",target:""},Mt={offset:"number",method:"string",target:"(string|element)"},Dt={ACTIVATE:"activate"+Nt,SCROLL:"scroll"+Nt,LOAD_DATA_API:"load"+Nt+$t}
2,Bt={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},Rt={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},Ht={OFFSET:"offset",POSITION:"position"},jt=function(){function e(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+Rt.NAV_LINKS+","+this._config.target+" "+Rt.LIST_ITEMS+","+this._config.target+" "+Rt.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(Dt.SCROLL,function(e){return i._process(e)}),this.refresh(),this._process()}var n=e.prototype;return n.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?Ht.OFFSET:Ht.POSITION,i="auto"===this._config.method?n:this._config.method,o=i===Ht.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var n,r=g.getSelectorFromElement(e);if(r&&(n=document.querySelector(r)),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[t(n)[i]().top+o,r]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,Ot),t(this._scrollElement).off(Nt),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(e){if("string"!=typeof(e=a({},Lt,"object"==typeof e&&e?e:{})).target){var n=t(e.target).attr("id");n||(n=g.getUID(It),t(e.target).attr("id",n)),e.target="#"+n}return g.typeCheckConfig(It,e,Mt),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},n._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),i=t([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(Bt.DROPDOWN_ITEM)?(i.closest(Rt.DROPDOWN).find(Rt.DROPDOWN_TOGGLE).addClass(Bt.ACTIVE),i.addClass(Bt.ACTIVE)):(i.addClass(Bt.ACTIVE),i.parents(Rt.NAV_LIST_GROUP).prev(Rt.NAV_LINKS+", "+Rt.LIST_ITEMS).addClass(Bt.ACTIVE),i.parents(Rt.NAV_LIST_GROUP).prev(Rt.NAV_ITEMS).children(Rt.NAV_LINKS).addClass(Bt.ACTIVE)),t(this._scrollElement).trigger(Dt.ACTIVATE,{relatedTarget:e})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(e){return e.classList.contains(Bt.ACTIVE)}).forEach(function(e){return e.classList.remove(Bt.ACTIVE)})},e._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(Ot);if(i||(i=new e(this,"object"==typeof n&&n),t(this).data(Ot,i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},o(e,null,[{key:"VERSION",get:function(){return xt}},{key:"Default",get:function(){return Lt}}]),e}();t(window).on(Dt.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(Rt.DATA_SPY)),n=e.length;n--;){var i=t(e[n]);jt._jQueryInterface.call(i,i.data())}}),t.fn[It]=jt._jQueryInterface,t.fn[It].Constructor=jt,t.fn[It].noConflict=function(){return t.fn[It]=Pt,jt._jQueryInterface};var Kt="tab",Ut="4.3.1",Gt="bs.tab",Ft="."+Gt,Wt=".data-api",zt=t.fn[Kt],qt={HIDE:"hide"+Ft,HIDDEN:"hidden"+Ft,SHOW:"show"+Ft,SHOWN:"shown"+Ft,CLICK_DATA_API:"click"+Ft+Wt},Vt={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},Jt={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},Yt=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(Vt.ACTIVE)||t(this._element).hasClass(Vt.DISABLED))){var n,i,o=t(this._element).closest(Jt.NAV_LIST_GROUP)[0],r=g.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?Jt.ACTIVE_UL:Jt.ACTIVE;
2i=(i=t.makeArray(t(o).find(a)))[i.length-1]}var s=t.Event(qt.HIDE,{relatedTarget:this._element}),l=t.Event(qt.SHOW,{relatedTarget:i});if(i&&t(i).trigger(s),t(this._element).trigger(l),!l.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var u=function(){var n=t.Event(qt.HIDDEN,{relatedTarget:e._element}),o=t.Event(qt.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(o)};n?this._activate(n,n.parentNode,u):u()}}},n.dispose=function(){t.removeData(this._element,Gt),this._element=null},n._activate=function(e,n,i){var o=this,r=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children(Jt.ACTIVE):t(n).find(Jt.ACTIVE_UL))[0],a=i&&r&&t(r).hasClass(Vt.FADE),s=function(){return o._transitionComplete(e,r,i)};if(r&&a){var l=g.getTransitionDurationFromElement(r);t(r).removeClass(Vt.SHOW).one(g.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},n._transitionComplete=function(e,n,i){if(n){t(n).removeClass(Vt.ACTIVE);var o=t(n.parentNode).find(Jt.DROPDOWN_ACTIVE_CHILD)[0];o&&t(o).removeClass(Vt.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(Vt.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g.reflow(e),e.classList.contains(Vt.FADE)&&e.classList.add(Vt.SHOW),e.parentNode&&t(e.parentNode).hasClass(Vt.DROPDOWN_MENU)){var r=t(e).closest(Jt.DROPDOWN)[0];if(r){var a=[].slice.call(r.querySelectorAll(Jt.DROPDOWN_TOGGLE));t(a).addClass(Vt.ACTIVE)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(Gt);if(o||(o=new e(this),i.data(Gt,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},o(e,null,[{key:"VERSION",get:function(){return Ut}}]),e}();t(document).on(qt.CLICK_DATA_API,Jt.DATA_TOGGLE,function(e){e.preventDefault(),Yt._jQueryInterface.call(t(this),"show")}),t.fn[Kt]=Yt._jQueryInterface,t.fn[Kt].Constructor=Yt,t.fn[Kt].noConflict=function(){return t.fn[Kt]=zt,Yt._jQueryInterface};var Qt="toast",Zt="4.3.1",Xt="bs.toast",en="."+Xt,tn=t.fn[Qt],nn={CLICK_DISMISS:"click.dismiss"+en,HIDE:"hide"+en,HIDDEN:"hidden"+en,SHOW:"show"+en,SHOWN:"shown"+en},on={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},rn={animation:"boolean",autohide:"boolean",delay:"number"},an={animation:!0,autohide:!0,delay:500},sn={DATA_DISMISS:'[data-dismiss="toast"]'},ln=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var n=e.prototype;return n.show=function(){var e=this;t(this._element).trigger(nn.SHOW),this._config.animation&&this._element.classList.add(on.FADE);var n=function(){e._element.classList.remove(on.SHOWING),e._element.classList.add(on.SHOW),t(e._element).trigger(nn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(on.HIDE),this._element.classList.add(on.SHOWING),this._config.animation){var i=g.getTransitionDurationFromElement(this._element);t(this._element).one(g.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(e){var n=this;this._element.classList.contains(on.SHOW)&&(t(this._element).trigger(nn.HIDE),e?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(on.SHOW)&&this._element.classList.remove(on.SHOW),t(this._element).off(nn.CLICK_DISMISS),t.removeData(this._element,Xt),this._element=null,this._config=null},n._getConfig=function(e){return e=a({},an,t(this._element).data(),"object"==typeof e&&e?e:{}),g.typeCheckConfig(Qt,e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;t(this._element).on(nn.CLICK_DISMISS,sn.DATA_DISMISS,function(){return e.hide(!0)})},n._close=function(){var e=this,n=function(){e._element.classList.add(on.HIDE),t(e._element).trigger(nn.HIDDEN)};if(this._element.classList.remove(on.SHOW),this._config.animation){var i=g.getTransitionDurationFromElement(this._element);t(this._element).one(g.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},e._jQueryInterface=function(n){return this.each(function(){var i=t(this),o=i.data(Xt);if(o||(o=new e(this,"object"==typeof n&&n),i.data(Xt,o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method n
2amed "'+n+'"');o[n](this)}})},o(e,null,[{key:"VERSION",get:function(){return Zt}},{key:"DefaultType",get:function(){return rn}},{key:"Default",get:function(){return an}}]),e}();t.fn[Qt]=ln._jQueryInterface,t.fn[Qt].Constructor=ln,t.fn[Qt].noConflict=function(){return t.fn[Qt]=tn,ln._jQueryInterface},function(){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split("."),n=1,i=2,o=9,r=1,a=4;if(e[0]<i&&e[1]<o||e[0]===n&&e[1]===o&&e[2]<r||e[0]>=a)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),e.Util=g,e.Alert=A,e.Button=M,e.Carousel=X,e.Collapse=fe,e.Dropdown=$e,e.Modal=We,e.Popover=Et,e.Scrollspy=jt,e.Tab=Yt,e.Toast=ln,e.Tooltip=pt,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(260),n(971))},781:function(e,t){var n,i,o;!function(){"use strict";i=[],n=function(){var e={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};function t(e){this.callback=e,this.ticking=!1}function n(e){return e&&"undefined"!=typeof window&&(e===window||e.nodeType)}function i(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,o,r=e||{};for(o=1;o<arguments.length;o++){var a=arguments[o]||{};for(t in a)"object"!=typeof r[t]||n(r[t])?r[t]=r[t]||a[t]:r[t]=i(r[t],a[t])}return r}function o(e){return e===Object(e)?e:{down:e,up:e}}function r(e,t){t=i(t,r.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=o(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop,this.onBottom=t.onBottom,this.onNotBottom=t.onNotBottom}return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,t.prototype={constructor:t,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},r.prototype={constructor:r,init:function(){if(r.cutsTheMustard)return this.debouncer=new t(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var e=this.classes;for(var t in this.initialised=!1,e)e.hasOwnProperty(t)&&this.elem.classList.remove(e[t]);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop}
2,getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,n=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,i=e>=this.offset;return n&&i&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,i=e<=this.offset;return n&&t||i},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},r.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},r.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,r},void 0===(o="function"==typeof n?n.apply(t,i):n)||(e.exports=o)}()},847:function(){!function(e){e&&(e.fn.headroom=function(t){return this.each(function(){var n=e(this),i=n.data("headroom"),o="object"==typeof t&&t;o=e.extend(!0,{},Headroom.options,o),i||((i=new Headroom(this,o)).init(),n.data("headroom",i)),"string"==typeof t&&(i[t](),"destroy"===t&&n.removeData("headroom"))})},e("[data-headroom]").each(function(){var t=e(this);t.headroom(t.data())}))}(window.Zepto||window.jQuery)},260:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(i,o){"use strict";var r=[],a=Object.getPrototypeOf,s=r.slice,l=r.flat?function(e){return r.flat.call(e)}:function(e){return r.concat.apply([],e)},u=r.push,c=r.indexOf,d={},f=d.toString,h=d.hasOwnProperty,p=h.toString,g=p.call(Object),m={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=i.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function S(e,t,n){var i,o,r=(n=n||b).createElement("script");if(r.text=e,t)for(i in _)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var k="3.6.3",T=function(e,t){return new T.fn.init(e,t)};function A(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:k,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:r.sort,splice:r.splice},T.extend=T.fn.extend=function(){var e,t,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)i=e[t],"__proto__"!==t&&a!==i&&(u&&i&&(T.isPlainObject(i)||(o=Array.isArray(i)))?(n=a[t],r=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(u,r,i)):void 0!==i&&(a[t]=i));return a},T.extend({expando:"jQuery"+(k+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=h.c
vendor: 9,345 bytes, line 2
2all(t,"constructor")&&t.constructor)&&p.call(n)===g)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){S(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(A(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(A(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(A(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=r[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var C=function(e){var t,n,i,o,r,a,s,l,u,c,d,f,h,p,g,m,v,y,b,_="sizzle"+1*new Date,S=e.document,w=0,k=0,T=le(),A=le(),C=le(),E=le(),I=function(e,t){return e===t&&(d=!0),0},x={}.hasOwnProperty,O=[],N=O.pop,$=O.push,P=O.push,L=O.slice,M=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",B="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+B+"*("+R+")(?:"+B+"*([*^$|!~]?=)"+B+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+B+"*\\]",j=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",K=new RegExp(B+"+","g"),U=new RegExp("^"+B+"+|((?:^|[^\\\\])(?:\\\\.)*)"+B+"+$","g"),G=new RegExp("^"+B+"*,"+B+"*"),F=new RegExp("^"+B+"*([>+~]|"+B+")"+B+"*"),W=new RegExp(B+"|>"),z=new RegExp(j),q=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+B+"*(even|odd|(([+-]|)(\\d*)n|)"+B+"*(?:([+-]|)"+B+"*(\\d+)|))"+B+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+B+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+B+"*((?:-\\d)?\\d*)"+B+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+B+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){f()},ae=_e(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{P.apply(O=L.call(S.childNodes),S.childNodes),O[S.childNodes.length].nodeType}catch(e){P={apply:O.length?function(e,t){$.apply(e,L.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function se(e,t,i,o){var r,s,u,c,d,p,v,y=t&&t.ownerDocument,S=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==S&&9!==S&&11!==S)return i;if(!o&&(f(t),t=t||h,g)){if(11!==S&&(d=X.exec(e)))if(r=d[1]){if(9===S){if(!(u=t.getElementById(r)))return i;if(u.id===r)return i.push(u),i}else if(y&&(u=y.getElementById(r))&&b(t,u)&&u.id===r)return i.push(u),i}else{if(d[2])return P.apply(i,t.getElementsByTagName(e)),i;if((r=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(i,t.getElementsByClassName(r)),i}if(n.qsa&&!E[e+" "]&&(!m||!m.test(e))&&(1!==S||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===S&&(W.test(e)||F.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(ie,oe):t.setAttribute("id",c=_)),s=(p=a(e)).length;s--;)p[s]=(c?"#"+c:":scope")+" "+be(p[s]);v=p.join(",")}try{if(n.cssSupportsSelector&&!CSS.supports("selector(:is("+v+"))"))throw new Error;return P.apply(i,y.querySelectorAll(v)),i}catch(t){E(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,i,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[_]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)i.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ue(function(t){return t=+t,ue(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},r=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!J.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:S;return a!=h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,g=!r(h),S!=h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.scope=ce(function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),n.cssSupportsSelector=ce(function(){return CSS.supports("selector(*)")&&h.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")}),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(h.getElementsByClassName),n.getById=ce(function(e){return p.appendChild(e).id=_,!h.getElementsByName||!h.getElementsByName(_).length}),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],o=0,r=t.getElementsByTagName(e);if("*"===e){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=Z.test(h.querySelectorAll))&&(ce(function(e){var t;p.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+B+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+B+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+B+"*name"+B+"*="+B+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+B+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",j)}),n.cssSupportsSelector||m.push(":has"),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.j
vendor: 6,336 bytes, line 2
2oin("|")),t=Z.test(p.compareDocumentPosition),b=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},I=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==h||e.ownerDocument==S&&b(S,e)?-1:t==h||t.ownerDocument==S&&b(S,t)?1:c?M(c,e)-M(c,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,o=e.parentNode,r=t.parentNode,a=[e],s=[t];if(!o||!r)return e==h?-1:t==h?1:o?-1:r?1:c?M(c,e)-M(c,t):0;if(o===r)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?fe(a[i],s[i]):a[i]==S?-1:s[i]==S?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&g&&!E[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){E(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&f(e);var o=i.attrHandle[t.toLowerCase()],r=o&&x.call(i.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==r?r:n.attributes||!g?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(ie,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,i=[],o=0,r=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(I),d){for(;t=e[r++];)t===e[r]&&(o=i.push(r));for(;o--;)e.splice(i[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i++];)n+=o(t);return n},i=se.selectors={cacheLength:50,createPseudo:ue,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+B+")"+e+"("+B+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=se.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(K," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,h,p,g=r!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(r){for(;g;){for(f=t;f=f[g];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(h=(u=(c=(d=(f=m)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&u[1])&&u[2],f=h&&m.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[w,h,b];break}}else if(y&&(b=h=(u=(c=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&u[1]),!1===b)for(;(f=++h&&f&&f[g]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((c=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[w,b]),f!==t)););return(b-=o)===i||b%i===0&&b/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ue(function(e,n){for(var i,r=o(e,t),a=r.length;a--;)e[i=M(e,r[a])]=!(n[i]=r[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:ue(function(e){var t=[],n=[],i=s(e.replace(U,"$1"));return i[_]?ue(function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:ue(function(e){return function(t){return se(e,t).length>0}}),contains:ue(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}}),lang:ue(function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)}
vendor: 11,815 bytes, line 2
2,input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me(function(){return[0]}),last:me(function(e,t){return[t-1]}),eq:me(function(e,t,n){return[n<0?n+t:n]}),even:me(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:me(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:me(function(e,t,n){for(var i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:me(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function ye(){}function be(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function _e(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=k++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var u,c,d,f=[w,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(c=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[i]||t;else{if((u=c[r])&&u[0]===w&&u[1]===s)return f[2]=u[2];if(c[r]=f,f[2]=e(t,n,l))return!0}return!1}}function Se(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function we(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),u&&t.push(s)));return a}function ke(e,t,n,i,o,r){return i&&!i[_]&&(i=ke(i)),o&&!o[_]&&(o=ke(o,r)),ue(function(r,a,s,l){var u,c,d,f=[],h=[],p=a.length,g=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)se(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!r&&t?g:we(g,f,e,s,l),v=n?o||(r?e:p||i)?[]:a:m;if(n&&n(m,v,s,l),i)for(u=we(v,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(v[h[c]]=!(m[h[c]]=d));if(r){if(o||e){if(o){for(u=[],c=v.length;c--;)(d=v[c])&&u.push(m[c]=d);o(null,v=[],u,l)}for(c=v.length;c--;)(d=v[c])&&(u=o?M(r,d):f[c])>-1&&(r[u]=!(a[u]=d))}}else v=we(v===a?v.splice(p,v.length):v),o?o(null,a,v,l):P.apply(a,v)})}function Te(e){for(var t,n,o,r=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],l=a?1:0,c=_e(function(e){return e===t},s,!0),d=_e(function(e){return M(t,e)>-1},s,!0),f=[function(e,n,i){var o=!a&&(i||n!==u)||((t=n).nodeType?c(e,n,i):d(e,n,i));return t=null,o}];l<r;l++)if(n=i.relative[e[l].type])f=[_e(Se(f),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[_]){for(o=++l;o<r&&!i.relative[e[o].type];o++);return ke(l>1&&Se(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(U,"$1"),n,l<o&&Te(e.slice(l,o)),o<r&&Te(e=e.slice(o)),o<r&&be(e))}f.push(n)}return Se(f)}return ye.prototype=i.filters=i.pseudos,i.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,r,a,s,l,u,c=A[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=i.preFilter;s;){for(a in n&&!(o=G.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),n=!1,(o=F.exec(s))&&(n=o.shift(),r.push({value:n,type:o[0].replace(U," ")}),s=s.slice(n.length)),i.filter)!(o=V[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),r.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):A(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],r=[],s=C[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[_]?o.push(s):r.push(s);s=C(e,function(e,t){var n=t.length>0,o=e.length>0,r=function(r,a,s,l,c){var d,p,m,v=0,y="0",b=r&&[],_=[],S=u,k=r||o&&i.find.TAG("*",c),T=w+=null==S?1:Math.random()||.1,A=k.length;for(c&&(u=a==h||a||c);y!==A&&null!=(d=k[y]);y++){if(o&&d){for(p=0,a||d.ownerDocument==h||(f(d),s=!g);m=e[p++];)if(m(d,a||h,s)){l.push(d);break}c&&(w=T)}n&&((d=!m&&d)&&v--,r&&b.push(d))}if(v+=y,n&&y!==v){for(p=0;m=t[p++];)m(b,_,a,s);if(r){if(v>0)for(;y--;)b[y]||_[y]||(_[y]=N.call(l));_=we(_)}P.apply(l,_),c&&!r&&_.length>0&&v+t.length>1&&se.uniqueSort(l)}return c&&(w=T,u=S),b};return n?ue(r):r}(r,o)),s.selector=e}return s},l=se.select=function(e,t,n,o){var r,l,u,c,d,f="function"==typeof e&&e,h=!o&&a(e=f.selector||e);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&g&&i.relative[l[1].type]){if(!(t=(i.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(r=V.needsContext.test(e)?0:l.length;r--&&(u=l[r],!i.relative[c=u.type]);)if((d=i.find[c])&&(o=d(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(r,1),!(e=o.length&&be(l)))return P.apply(n,o),n;break}}return(f||s(e,h))(o,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(I).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||de("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||de("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||de(D,function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null}),se}(i);T.find=C,T.expr=C.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=C.uniqueSort,T.text=C.getText,T.isXMLDoc=C.isXML,T.contains=C.contains,T.escapeSelector=C.escape;var E=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;i.push(e)}return i},I=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=T.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(e,t,n){return v(t)?T.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?T.grep(e,function(e){return e===t!==n}):"string"!=typeof t?T.grep(e,function(e){return c.call(t,e)>-1!==n}):T.filter(t,e,n)}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<i;t++)if(T.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)T.find(e,o[t],n);return i>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack($(this,e||[],!1))},not:function(e){return this.pushStack($(this,e||[],!0))},is:function(e){return!!$(this,"string"==typeof e&&x.test(e)?T(e):e||[],!1).length}});var P,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),N.test(i[1])&&T.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=b.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,P=T(b);var M=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function B(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&T(e);if(!x.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?T.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?c.call(T(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return B(e,"nextSibling")},prev:function(e){return B(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return I((e.parentNode||{}).firstChild,e)},children:function(e){return I(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(n,i){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=T.filter(i,o)),this.length>1&&(D[e]||T.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}});var R=/[^\x20\t\r\n\f]+/g;function H(e){return e}function j(e){throw e}function K(e,t,n,i){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(R)||[],function(e,n){t[n]=!0}),t}(e):T.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},u={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){T.each(n,function(n,i){v(i)?e.unique&&u.has(i)||r.push(i):i&&i.length&&"string"!==w(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;(n=T.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?T.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(n){T.each(t,function(t,i){var o=v(e[i[4]])&&e[i[4]];r[i[1]](function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,n,o){var r=0;function a(e,t,n,o){return function(){var s=this,l=arguments,u=function(){var i,u;if(!(e<r)){if((i=n.apply(s,l))===t.promise())throw new TypeError("Thenable self
2-resolution");u=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(u)?o?u.call(i,a(r,t,H,o),a(r,t,j,o)):(r++,u.call(i,a(r,t,H,o),a(r,t,j,o),a(r,t,H,t.notifyWith))):(n!==H&&(s=void 0,l=[i]),(o||t.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(i){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(i,c.stackTrace),e+1>=r&&(n!==j&&(s=void 0,l=[i]),t.rejectWith(s,l))}};e?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),i.setTimeout(c))}}return T.Deferred(function(i){t[0][3].add(a(0,i,v(o)?o:H,i.notifyWith)),t[1][3].add(a(0,i,v(e)?e:H)),t[2][3].add(a(0,i,v(n)?n:j))}).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},r={};return T.each(t,function(e,i){var a=i[2],s=i[5];o[i[1]]=a.add,s&&a.add(function(){n=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(i[3].fire),r[i[0]]=function(){return r[i[0]+"With"](this===r?void 0:this,arguments),this},r[i[0]+"With"]=a.fireWith}),o.promise(r),e&&e.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),o=s.call(arguments),r=T.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(K(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||v(o[n]&&o[n].then)))return r.then();for(;n--;)K(o[n],a(n),r.reject);return r.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&U.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){i.setTimeout(function(){throw e})};var G=T.Deferred();function F(){b.removeEventListener("DOMContentLoaded",F),i.removeEventListener("load",F),T.ready()}T.fn.ready=function(e){return G.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||G.resolveWith(b,[T]))}}),T.ready.then=G.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",F),i.addEventListener("load",F));var W=function(e,t,n,i,o,r,a){var s=0,l=e.length,u=null==n;if("object"===w(n))for(s in o=!0,n)W(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,v(i)||(a=!0),u&&(a?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):r},z=/^-ms-/,q=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function J(e){return e.replace(z,"ms-").replace(q,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=T.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[J(t)]=n;else for(i in t)o[J(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][J(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(J):(t=J(t))in i?[t]:t.match(R)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||T.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var Z=new Q,X=new Q,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}X.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return X.hasData(e)||Z.hasData(e)},data:function(e,t,n){return X.access(e,t,n)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,n){return Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===e){if(this.length&&(o=X.get(r),1===r.nodeType&&!Z.get(r,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=J(i.slice(5)),ne(r,i,o[i]));Z.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){X.set(this,e)}):W(this,function(t){var n;if(r&&void 0===t)return void 0!==(n=X.get(r,e))||void 0!==(n=ne(r,e))?n:void 0;this.each(function(){X.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),T.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=Z.get(e,t),n&&(!i||Array.isArray(n)?i=Z.access(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,o=n.shift(),r=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){T.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:T.Callbacks("once memory").add(function(){Z.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each(function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=T.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Z.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var ie=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+ie+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function ce(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=s(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+l)&&oe.exec(T.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)T.style(e,t,c+u),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),c/=r;c*=2,T.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=o)),o}var de={};function fe(e){var t,n=e.ownerDocument,i=e.nodeName,o=de[i];return o||(t=n.body.appendChild(n.createElement(i)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[i]=o,o)}function he(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=Z.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ue(i)&&(o[r]=fe(i))):"none"!==n&&(o[r]="none",Z.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}T.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ue(this)?T(this).show():T(this).hide()})}});var pe,ge,me=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;pe=b.createDocumentFragment().appendChild(b.createElement("div")),(ge=b.createElement("input")).setAttribute("type","radio"),ge.setAttribute("checked","checked"),ge.setAttribute("name","t"),pe.appendChild(ge),m.checkClone
vendor: 5,853 bytes, line 2
2=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="<option></option>",m.option=!!pe.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?T.merge([e],n):n}function Se(e,t){for(var n=0,i=e.length;n<i;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,m.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function ke(e,t,n,i,o){for(var r,a,s,l,u,c,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((r=e[h])||0===r)if("object"===w(r))T.merge(f,r.nodeType?[r]:r);else if(we.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(r)||["",""])[1].toLowerCase(),l=be[s]||be._default,a.innerHTML=l[1]+T.htmlPrefilter(r)+l[2],c=l[0];c--;)a=a.lastChild;T.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(r));for(d.textContent="",h=0;r=f[h++];)if(i&&T.inArray(r,i)>-1)o&&o.push(r);else if(u=se(r),a=_e(d.appendChild(r),"script"),u&&Se(a),n)for(c=0;r=a[c++];)ye.test(r.type||"")&&n.push(r);return d}var Te=/^([^.]*)(?:\.(.+)|)/;function Ae(){return!0}function Ce(){return!1}function Ee(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ie(e,t,n,i,o,r){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(i=i||n,n=void 0),t)Ie(e,s,n,i,t[s],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Ce;else if(!o)return e;return 1===r&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,i,n)})}function xe(e,t,n){n?(Z.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var i,o,r=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(r.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Z.set(this,t,r),i=n(this,t),this[t](),r!==(o=Z.get(this,t))||i?Z.set(this,t,!1):o={},r!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else r.length&&(Z.set(this,t,{value:T.event.trigger(T.extend(r[0],T.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&T.event.add(e,t,Ae)}T.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,u,c,d,f,h,p,g,m=Z.get(e);if(Y(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&T.find.matchesSelector(ae,o),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(R)||[""]).length;u--;)h=g=(s=Te.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(d=T.event.special[h]||{},h=(o?d.delegateType:d.bindType)||h,d=T.event.special[h]||{},c=T.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:p.join(".")},r),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,a)||e.addEventListener&&e.addEventListener(h,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),T.event.global[h]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,u,c,d,f,h,p,g,m=Z.hasData(e)&&Z.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(R)||[""]).length;u--;)if(h=g=(s=Te.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(d=T.event.special[h]||{},f=l[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=f.length;r--;)c=f[r],!o&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(r,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||T.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)T.event.remove(e,h+t[u],n,i,!0);T.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=new Array(arguments.length),l=T.event.fix(e),u=(Z.get(this,"events")||Object.create(null))[l.type]||[],c=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,u),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((T.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),a[o]&&r.push(i);r.length&&s.push({elem:u,handlers:r})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 2,310 bytes, line 2
2,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&O(t,"input")&&xe(t,"click",Ae),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&O(t,"input")&&xe(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&O(t,"input")&&Z.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ae:Ce,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ae,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ae,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ae,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){T.event.special[e]={setup:function(){return xe(this,e,Ee),!1},trigger:function(){return xe(this,e),!0},_default:function(t){return Z.get(t.target,e)},delegateType:t}}
vendor: 3,014 bytes, line 2
2),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),T.fn.extend({on:function(e,t,n,i){return Ie(this,e,t,n,i)},one:function(e,t,n,i){return Ie(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ce),this.each(function(){T.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,$e=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Pe(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,i,o,r,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(o in Z.remove(t,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)T.event.add(t,o,s[o][n]);X.hasData(e)&&(r=X.access(e),a=T.extend({},r),X.set(t,a))}}function Be(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,i){t=l(t);var o,r,a,s,u,c,d=0,f=e.length,h=f-1,p=t[0],g=v(p);if(g||f>1&&"string"==typeof p&&!m.checkClone&&Ne.test(p))return e.each(function(o){var r=e.eq(o);g&&(t[0]=p.call(this,o,r.html())),Re(r,t,n,i)});if(f&&(r=(o=ke(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=T.map(_e(o,"script"),Le)).length;d<f;d++)u=o,d!==h&&(u=T.clone(u,!0,!0),s&&T.merge(a,_e(u,"script"))),n.call(e[d],u,d);if(s)for(c=a[a.length-1].ownerDocument,T.map(a,Me),d=0;d<s;d++)u=a[d],ye.test(u.type||"")&&!Z.access(u,"globalEval")&&T.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):S(u.textContent.replace($e,""),u,c))}return e}function He(e,t,n){for(var i,o=t?T.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||T.cleanData(_e(i)),i.parentNode&&(n&&se(i)&&Se(_e(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,a,s=e.cloneNode(!0),l=se(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=_e(s),i=0,o=(r=_e(e)).length;i<o;i++)Be(r[i],a[i]);if(t)if(n)for(r=r||_e(e),a=a||_e(s),i=0,o=r.length;i<o;i++)De(r[i],a[i]);else De(e,s);return(a=_e(s,"script")).length>0&&Se(a,!l&&_e(e,"script")),s},cleanData:function(e){for(var t,n,i,o=T.event.special,r=0;void 0!==(n=e[r]);
vendor: 4,094 bytes, line 2
2r++)if(Y(n)){if(t=n[Z.expando]){if(t.events)for(i in t.events)o[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[Z.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),T.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return W(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!be[(ve.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(_e(this)),n&&n.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var n,i=[],o=T(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),T(o[a])[t](n),u.apply(i,n.get());return this.pushStack(i)}});var je=new RegExp("^("+ie+")(?!px)[a-z%]+$","i"),Ke=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e)},Ge=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.call(e),t)e.style[o]=r[o];return i},Fe=new RegExp(re.join("|"),"i"),We="[\\x20\\t\\r\\n\\f]",ze=new RegExp("^"+We+"+|((?:^|[^\\\\])(?:\\\\.)*)"+We+"+$","g");function qe(e,t,n){var i,o,r,a,s=Ke.test(t),l=e.style;return(n=n||Ue(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ze,"$1")||void 0),""!==a||se(e)||(a=T.style(e,t)),!m.pixelBoxStyles()&&je.test(a)&&Fe.test(t)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==a?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(c);var e=i.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",r=12===t(c.offsetWidth/3),ae.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,r,a,s,l,u=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;
2left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=i.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Je=["Webkit","Moz","ms"],Ye=b.createElement("div").style,Qe={};function Ze(e){var t=T.cssProps[e]||Qe[e];return t||(e in Ye?e:Qe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Je.length;n--;)if((e=Je[n]+t)in Ye)return e}(e)||e)}var Xe=/^(none|table(?!-c[ea]).+)/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var i=oe.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function it(e,t,n,i,o,r){var a="width"===t?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=T.css(e,n+re[a],!0,o)),i?("content"===n&&(l-=T.css(e,"padding"+re[a],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+re[a]+"Width",!0,o))):(l+=T.css(e,"padding"+re[a],!0,o),"padding"!==n?l+=T.css(e,"border"+re[a]+"Width",!0,o):s+=T.css(e,"border"+re[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l}function ot(e,t,n){var i=Ue(e),o=(!m.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,i),r=o,a=qe(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(je.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&O(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,i),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(o?"border":"content"),r,i,a)+"px"}function rt(e,t,n,i,o){return new rt.prototype.init(e,t,n,i,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,a,s=J(t),l=Ke.test(t),u=e.style;if(l||(t=Ze(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,i))?o:u[t];"string"===(r=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var o,r,a,s=J(t);return Ke.test(t)||(t=Ze(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=qe(e,t,i)),"normal"===o&&t in tt&&(o=tt[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,n,i){if(n)return!Xe.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,t,i):Ge(e,et,function(){return ot(e,t,i)})},set:function(e,n,i){var o,r=Ue(e),a=!m.scrollboxSize()&&"absolute"===r.position,s=(a||i)&&"border-box"===T.css(e,"boxSizing",!1,r),l=i?it(e,t,i,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-it(e,t,"border",!1,r)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),nt(0,n,l)}}}),T.cssHooks.marginLeft=Ve(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(qe(e,"marginLeft"))||e.getBoundingClientRect().left-Ge(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+re[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=nt)}),T.fn.extend({css:function(e,t){return W(this,function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=Ue(e),o=t.length;a<o;a++)r[t[a]]=T.css(e,t[a],!1,i);return r}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(T.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=rt.prototype.init,T.fx.step={};var at,st,lt=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function ct(){st&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(ct):i.setTimeout(ct,T.fx.interval),T.fx.tick())}function dt(){return i.setTimeout(function(){at=void 0}),at=Date.now()}function ft(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=re[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ht(e,t,n){for(var i,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function pt(e,t,n){var i,o,r=0,a=pt.prefilters.length,s=T.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=at||dt(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),r=0,a=u.tweens.length;r<a;r++)u.tweens[r].run(i);return s.notifyWith(e,[u,i,n]),i<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:at||dt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=T.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.o
vendor: 1,603 bytes, line 2
2pts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=J(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=T.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(c,u.opts.specialEasing);r<a;r++)if(i=pt.prefilters[r].call(u,e,c,u.opts))return v(i.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return T.map(c,ht,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(R);for(var n,i=0,o=e.length;i<o;i++)n=e[i],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,l,u,c,d="width"in t||"height"in t,f=this,h={},p=e.style,g=e.nodeType&&ue(e),m=Z.get(e,"fxshow");for(i in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[i],lt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||
vendor: 4,788 bytes, line 2
2!m||void 0===m[i])continue;g=!0}h[i]=m&&m[i]||T.style(e,i)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=m&&m.display)&&(u=Z.get(e,"display")),"none"===(c=T.css(e,"display"))&&(u?c=u:(he([e],!0),u=e.style.display||u,c=T.css(e,"display"),he([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===T.css(e,"float")&&(l||(f.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=Z.access(e,"fxshow",{display:u}),r&&(m.hidden=!g),g&&he([e],!0),f.done(function(){for(i in g||he([e]),Z.remove(e,"fxshow"),h)T.style(e,i,h[i])})),l=ht(g?m[i]:0,i,f),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=T.isEmptyObject(e),r=T.speed(t,n,i),a=function(){var t=pt(this,T.extend({},e),r);(o||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=T.timers,a=Z.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&ut.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Z.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=T.timers,a=i?i.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(e,t){var n=T.fn[t];T.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,i,o)}}),T.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(at=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),at=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){st||(st=!0,ct())},T.fx.stop=function(){st=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var o=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(o)}})},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var gt,mt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return W(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?T.prop(e,t,n):(1===r&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=T.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mt[t]||T.find.attr;mt[t]=function(e,t,i){var o,r,a=t.toLowerCase();
vendor: 4,464 bytes, line 2
2return i||(r=mt[a],mt[a]=o,o=null!=n(e,t,i)?a:null,mt[a]=r),o}});var vt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function bt(e){return(e.match(R)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}T.fn.extend({prop:function(e,t){return W(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,n,i,o,r,a;return v(e)?this.each(function(t){T(this).addClass(e.call(this,t,_t(this)))}):(t=St(e)).length?this.each(function(){if(i=_t(this),n=1===this.nodeType&&" "+bt(i)+" "){for(r=0;r<t.length;r++)o=t[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=bt(n),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,i,o,r,a;return v(e)?this.each(function(t){T(this).removeClass(e.call(this,t,_t(this)))}):arguments.length?(t=St(e)).length?this.each(function(){if(i=_t(this),n=1===this.nodeType&&" "+bt(i)+" "){for(r=0;r<t.length;r++)for(o=t[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=bt(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,o,r,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each(function(n){T(this).toggleClass(e.call(this,n,_t(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each(function(){if(s)for(r=T(this),o=0;o<n.length;o++)i=n[o],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==e&&"boolean"!==a||((i=_t(this))&&Z.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+bt(_t(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;T.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=v(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:bt(T.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=T.makeArray(t),a=o.length;a--;)((i=o[a]).selected=T.inArray(T.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),m.focusin="onfocusin"in i;var kt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var r,a,s,l,u,c,d,f,p=[n||b],g=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!kt.test(g+T.event.triggered)&&(g.indexOf(".")>
vendor: 4,753 bytes, line 2
2-1&&(m=g.split("."),g=m.shift(),m.sort()),u=g.indexOf(":")<0&&"on"+g,(e=e[T.expando]?e:new T.Event(g,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),d=T.event.special[g]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(l=d.delegateType||g,kt.test(l+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(n.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||i)}for(r=0;(a=p[r++])&&!e.isPropagationStopped();)f=a,e.type=r>1?l:d.bindType||g,(c=(Z.get(a,"events")||Object.create(null))[e.type]&&Z.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Y(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Y(n)||u&&v(n[g])&&!y(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=g,e.isPropagationStopped()&&f.addEventListener(g,Tt),n[g](),e.isPropagationStopped()&&f.removeEventListener(g,Tt),T.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var i=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(i,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=Z.access(i,t);o||i.addEventListener(e,n,!0),Z.access(i,t,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=Z.access(i,t)-1;o?Z.access(i,t,o):(i.removeEventListener(e,n,!0),Z.remove(i,t))}}});var At=i.location,Ct={guid:Date.now()},Et=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var It=/\[\]$/,xt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function $t(e,t,n,i){var o;if(Array.isArray(t))T.each(t,function(t,o){n||It.test(e)?i(e,o):$t(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)});else if(n||"object"!==w(t))i(e,t);else for(o in t)$t(e+"["+o+"]",t[o],n,i)}T.param=function(e,t){var n,i=[],o=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){o(this.name,this.value)});else for(n in e)$t(n,e[n],t,o);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!me.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(xt,"\r\n")}}):{name:t.name,value:n.replace(xt,"\r\n")}}).get()}});var Pt=/%20/g,Lt=/#.*$/,Mt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Ht={},jt={},Kt="*/".concat("*"),Ut=b.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(R)||[];if(v(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Ft(e,t,n,i){var o={},r=e===jt;function a(s){var l;return o[s]=!0,T.each(e[s]||[],function(e,s){var u=s(t,n,i);return"string"!=typeof u||r||o[u]?r?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Wt(e,t){var n,i,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&T.extend(!0,e,i),e}Ut.href=At.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML}
vendor: 13,673 bytes, line 2
2,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,T.ajaxSettings),t):Wt(T.ajaxSettings,e)},ajaxPrefilter:Gt(Ht),ajaxTransport:Gt(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,r,a,s,l,u,c,d,f,h=T.ajaxSetup({},t),p=h.context||h,g=h.context&&(p.nodeType||p.jquery)?T(p):T.event,m=T.Deferred(),v=T.Callbacks("once memory"),y=h.statusCode||{},_={},S={},w="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Dt.exec(r);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?r:null},setRequestHeader:function(e,t){return null==u&&(e=S[e.toLowerCase()]=S[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return n&&n.abort(t),A(0,t),this}};if(m.promise(k),h.url=((e||h.url||At.href)+"").replace(Rt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(R)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Ft(Ht,h,t,k),u)return k;for(d in(c=T.event&&h.global)&&0===T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Bt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(f=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Et.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Mt,"$1"),f=(Et.test(o)?"&":"?")+"_="+Ct.guid+++f),h.url=o+f),h.ifModified&&(T.lastModified[o]&&k.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&k.setRequestHeader("If-None-Match",T.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Kt+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,k,h)||u))return k.abort();if(w="abort",v.add(h.complete),k.done(h.success),k.fail(h.error),n=Ft(jt,h,t,k)){if(k.readyState=1,c&&g.trigger("ajaxSend",[k,h]),u)return k;h.async&&h.timeout>0&&(s=i.setTimeout(function(){k.abort("timeout")},h.timeout));try{u=!1,n.send(_,A)}catch(e){if(u)throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,a,l){var d,f,b,_,S,w=t;u||(u=!0,s&&i.clearTimeout(s),n=void 0,r=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(h,k,a)),!d&&T.inArray("script",h.dataTypes)>-1&&T.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),_=function(e,t,n,i){var o,r,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(r=c.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=u[l+" "+r]||u["* "+r]))for(o in u)if((s=o.split(" "))[1]===r&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(r=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(h,_,k,d),d?(h.ifModified&&((S=k.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=S),(S=k.getResponseHeader("etag"))&&(T.etag[o]=S)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=_.state,f=_.data,d=!(b=_.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),k.status=e,k.statusText=(t||w)+"",d?m.resolveWith(p,[f,w,k]):m.rejectWith(p,[k,w,b]),k.statusCode(y),y=void 0,c&&g.trigger(d?"ajaxSuccess":"ajaxError",[k,h,d?f:b]),v.fireWith(p,[k,w]),c&&(g.trigger("ajaxComplete",[k,h]),--T.active||T.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,n,i,o){return v(n)&&(o=o||i,i=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:i},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return v(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v(e);return this.each(function(n){T(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},qt=T.ajaxSettings.xhr();m.cors=!!qt&&"withCredentials"in qt,m.ajax=qt=!!qt,T.ajaxTransport(function(e){var t,n;if(m.cors||qt&&!e.crossDomain)return{send:function(o,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout(function(){t&&n()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}});var Vt,Jt=[],Yt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Jt.pop()||T.expando+"_"+Ct.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var o,r,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=i[o],i[o]=function(){a=arguments},n.always(function(){void 0===r?T(i).removeProp(o):i[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,Jt.push(o)),a&&v(r)&&r(a[0]),a=r=void 0}),"script"}),m.createHTMLDocument=((Vt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Vt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(m.createHTMLDocument?((i=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(i)):t=b),r=!n&&[],(o=N.exec(e))?[t.createElement(o[1])]:(o=ke([e],t,r),r&&r.length&&T(r).remove(),T.merge([],o.childNodes)));var i,o,r},T.fn.load=function(e,t,n){var i,o,r,a=this,s=e.indexOf(" ");return s>-1&&(i=bt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){r=arguments,a.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,r||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,u=T.css(e,"position"),c=T(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),r=T.css(e,"top"),l=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(r+l).indexOf("auto")>-1?(a=(i=c.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):c.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(i,"marginTop",!0),left:t.left-o.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ae})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return W(this,function(e,i,o){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=Ve(m.pixelPosition,function(e,n){if(n)return n=qe(e,t),je.test(n)?T(e).position()[t]+"px":n})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){T.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return W(this,function(t,n,o){var r;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)},t,a?o:void 0,a)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Qt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=s.call(arguments,2),o=function(){return e.apply(t||this,i.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=O,T.isFunction=v,T.isWindow=y,T.camelCase=J,T.type=w,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Qt,"$1")},void 0===(n=function(){return T}
vendor: 4,330 bytes, line 2
2.apply(t,[]))||(e.exports=n);var Zt=i.jQuery,Xt=i.$;return T.noConflict=function(e){return i.$===T&&(i.$=Xt),e&&i.jQuery===T&&(i.jQuery=Zt),T},void 0===o&&(i.jQuery=i.$=T),T})},971:function(e,t,n){"use strict";n.r(t);for(var i="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],r=0,a=0;a<o.length;a+=1)if(i&&navigator.userAgent.indexOf(o[a])>=0){r=1;break}var s=i&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},r))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function c(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function d(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:d(c(e))}var f=i&&!(!window.MSInputMethodContext||!document.documentMode),h=i&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?f:10===e?h:f||h}function g(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===u(n,"position")?g(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&g(a.firstElementChild)!==a?g(l):l;var u=m(e);return u.host?v(u.host,t):v(e,m(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function b(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function _(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function S(e){var t=e.body,n=e.documentElement,i=p(10)&&getComputedStyle(n);return{height:_("Height",t,n,i),width:_("Width",t,n,i)}}var w=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),k=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function A(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function C(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=y(e,"top"),i=y(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?S(e.ownerDocument):{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var d=u(e);l-=b(d,"x"),c-=b(d,"y"),o.width-=l,o.height-=c}return A(o)}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=p(10),o="HTML"===t.nodeName,r=C(e),a=C(t),s=d(e),l=u(t),c=parseFloat(l.borderTopWidth,10),f=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=A({top:r.top-a.top-c,left:r.left-a.left-f,width:r.width,height:r.height});
vendor: 20,511 bytes, line 2
2if(h.marginTop=0,h.marginLeft=0,!i&&o){var g=parseFloat(l.marginTop,10),m=parseFloat(l.marginLeft,10);h.top-=c-g,h.bottom-=c-g,h.left-=f-m,h.right-=f-m,h.marginTop=g,h.marginLeft=m}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=y(t,"top"),o=y(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(h,t)),h}function I(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var n=c(e);return!!n&&I(n)}function x(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function O(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?x(e):v(e,t);if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=E(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:y(n),s=t?0:y(n,"left");return A({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=d(c(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=E(s,a,o);if("HTML"!==s.nodeName||I(a))r=l;else{var u=S(e.ownerDocument),f=u.height,h=u.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=h+l.left}}var p="number"==typeof(n=n||0);return r.left+=p?n:n.left||0,r.top+=p?n:n.top||0,r.right-=p?n:n.right||0,r.bottom-=p?n:n.bottom||0,r}function N(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=O(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return T({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function $(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,i?x(t):v(t,n),i)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function L(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function M(e,t,n){n=n.split("-")[0];var i=P(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[u]:t[L(s)],o}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=D(e,function(e){return e[t]===n});return e.indexOf(i)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&l(n)&&(t.offsets.popper=A(t.offsets.popper),t.offsets.reference=A(t.offsets.reference),t=n(t,e))}),t}function R(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=$(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=N(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=M(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=B(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function H(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function j(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function K(){return this.state.isDestroyed=!0,H(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[j("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function U(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,n,i){var o="BODY"===e.nodeName,r=o?e.ownerDocument.defaultView:e;r.addEventListener(t,n,{passive:!0}),o||G(d(r.parentNode),t,n,i),i.push(r)}function F(e,t,n,i){n.updateBound=i,U(e).addEventListener("resize",n.updateBound,{passive:!0});var o=d(e);return G(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function W(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,U(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&q(t[n])&&(i="px"),e.style[n]=t[n]+i})}var J=i&&/Firefox/i.test(navigator.userAgent);function Y(e,t,n){var i=D(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Z=Q.slice(3);function X(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Z.indexOf(e),i=Z.slice(n+1).concat(Z.slice(0,n));return t?i.reverse():i}var ee="flip",te="clockwise",ne="counterclockwise";function ie(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(D(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){return A("%p"===a?n:i)[t]/100*r}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(e,o,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,i){q(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))})}),o}var oe={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:k({},l,r[l]),end:k({},l,r[l]+r[u]-a[u])};e.offsets.popper=T({},a,c[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=q(+n)?[+n,0]:ie(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||g(e.instance.popper);e.instance.reference===n&&(n=g(n));var i=j("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=O(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var u=t.priority,c=e.offsets.popper,d={primary:function(e){var n=c[e];return c[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(c[e],l[e])),k({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=c[n];return c[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(c[n],l[e]-("right"===e?c.width:c.height))),k({},n,i)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=T({},c,d[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[u]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",f=d.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",g=P(i)[c];s[p]-g<a[f]&&(e.offsets.popper[f]-=a[f]-(s[p]-g)),s[f]+g>a[p]&&(e.offsets.popper[f]+=s[f]+g-a[p]),e.offsets.popper=A(e.offsets.popper);var m=s[f]+s[c]/2-g/2,v=u(e.instance.popper),y=parseFloat(v["margin"+d],10),b=parseFloat(v["border"+d+"Width"],10),_=m-e.offsets.popper[f]-y-b;return _=Math.max(Math.min(a[c]-g,_),0),e.arrowElement=i,e.offsets.arrow=(k(n={},f,Math.round(_)),k(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(H(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=O(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=L(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ee:a=[i,o];break;case te:a=X(i);break;case ne:a=X(i,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=L(i);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)<d(c.right)||"top"===i&&d(u.bottom)>d(c.top)||"bottom"===i&&d(u.top)<d(c.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),g=d(u.top)<d(n.top),m=d(u.bottom)>d(n.bottom),v="left"===i&&h||"right"===i&&p||"top"===i&&g||"bottom"===i&&m,y=-1!==["top","bottom"].indexOf(i),b=!!t.flipVariations&&(y&&"start"===r&&h||y&&"end"===r&&p||!y&&"start"===r&&g||!y&&"end"===r&&m),_=!!t.flipVariationsByContent&&(y&&"start"===r&&p||y&&"end"===r&&h||!y&&"start"===r&&m||!y&&"end"===r&&g),S=b||_;(f||v||S)&&(e.flipped=!0,(f||v)&&(i=a[l+1]),S&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=T({},e.offsets.popper,M(e.instance.popper,e.offsets.reference,e.placement)),e=B(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=L(t),e.offsets.popper=A(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=D(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=D(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=g(e.instance.popper),l=C(s),u={position:o.position},c=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),u=r(i.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?c||d||l%2==u%2?r:a:s,h=t?r:s;return{left:f(l%2==1&&u%2==1&&!d&&t?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:f(i.right)}}(e,window.devicePixelRatio<2||!J),d="bottom"===n?"top":"bottom",f="right"===i?"left":"right",h=j("transform"),p=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+c.bottom:-l.height+c.bottom:c.top,p="right"===f?"HTML"===s.nodeName?-s.clientWidth+c.right:-l.width+c.right:c.left,a&&h)u[h]="translate3d("+p+"px, "+m+"px, 0)",u[d]=0,u[f]=0,u.willChange="transform";else{var v="bottom"===d?-1:1,y="right"===f?-1:1;u[d]=m*v,u[f]=p*y,u.willChange=d+", "+f}var b={"x-placement":e.placement};return e.attributes=T({},b,e.attributes),e.styles=T({},u,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return V(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=$(o,t,e,n.positionFixed),a=N(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),V(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},re={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:oe},ae=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=s(this.update.bind(this)),this.options=T({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){i.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return T({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&l(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return w(e,[{key:"update",value:function(){return R.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return W.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),e}();ae.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ae.placements=Q,ae.Defaults=re,t.default=ae},152:function(e,t,n){"use strict";n.r(t)},891:function(e){e.exports="/*\n _ _ _ _\n ___| (_) ___| | __ (_)___\n/ __| | |/ __| |/ / | / __|\n\\__ \\ | | (__| < _ | \\__ \\\n|___/_|_|\\___|_|\\_(_)/ |___/\n |__/\n\n Version: 1.8.1\n Author: Ken Wheeler\n Website: http://kenwheeler.github.io\n Docs: http://kenwheeler.github.io/slick\n Repo: http://github.com/kenwheeler/slick\n Issues: http://github.com/kenwheeler/slick/issues\n\n */\n/* global window, document, define, jQuery, setInterval, clearInterval */\n;(function(factory) {\n 'use strict';\n if (typeof define === 'function' && define.amd) {\n define(['jquery'], factory);\n } else if (typeof exports !== 'undefined') {\n module.exports = factory(require('jquery'));\n } else {\n factory(jQuery);\n }\n\n}(function($) {\n 'use strict';\n var Slick = window.Slick || {};\n\n Slick = (function() {\n\n var instanceUid = 0;\n\n function Slick(element, settings) {\n\n var _ = this, dataSettings;\n\n _.defaults = {\n accessibility: true,\n adaptiveHeight: false,\n appendArrows: $(element),\n appendDots: $(element),\n arrows: true,\n asNavFor: null,\n prevArrow: '<button class=\"slick-prev\" aria-label=\"Previous\" type=\"button\">Previous</button>',\n nextArrow: '<button class=\"slick-next\" aria-label=\"Next\" type=\"button\">Next</button>',\n autoplay: false,\n autoplaySpeed: 3000,\n centerMode: false,\n centerPadding: '50px',\n cssEase: 'ease',\n customPaging: function(slider, i) {\n return $('<button type=\"button\" />').text(i + 1);\n },\n dots: false,\n dotsClass: 'slick-dots',\n draggable: true,\n easing: 'linear',\n edgeFriction: 0.35,\n fade: false,\n focusOnSelect: false,\n focusOnChange: false,\n infinite: true,\n initialSlide: 0,\n lazyLoad: 'ondemand',\n mobileFirst: false,\n pauseOnHover: true,\n pauseOnFocus: true,\n pauseOnDotsHover: false,\n respondTo: 'window',\n responsive: null,\n rows: 1,\n rtl: false,\n slide: '',\n slidesPerRow: 1,\n slidesToShow: 1,\n slidesToScroll: 1,\n speed: 500,\n swipe: true,\n swipeToSlide: false,\n touchMove: true,\n touchThreshold: 5,\n useCSS: true,\n useTransform: true,\n variableWidth: false,\n vertical: false,\n verticalSwiping: false,\n waitForAnimate: true,\n zIndex: 1000\n };\n\n _.initials = {\n animating: false,\n dragging: false,\n autoPlayTimer: null,\n currentDirection: 0,\n currentLeft: null,\n currentSlide: 0,\n direction: 1,\n $dots: null,\n listWidth: null,\n listHeight: null,\n loadIndex: 0,\n $nextArrow: null,\n $prevArrow: null,\n scrolling: false,\n slideCount: null,\n slideWidth: null,\n $slideTrack: null,\n $slides: null,\n sliding: false,\n slideOffset: 0,\n swipeLeft: null,\n swiping: false,\n $list: null,\n touchObject: {},\n transformsEnabled: false,\n unslicked: fal
2se\n };\n\n $.extend(_, _.initials);\n\n _.activeBreakpoint = null;\n _.animType = null;\n _.animProp = null;\n _.breakpoints = [];\n _.breakpointSettings = [];\n _.cssTransitions = false;\n _.focussed = false;\n _.interrupted = false;\n _.hidden = 'hidden';\n _.paused = true;\n _.positionProp = null;\n _.respondTo = null;\n _.rowCount = 1;\n _.shouldClick = true;\n _.$slider = $(element);\n _.$slidesCache = null;\n _.transformType = null;\n _.transitionType = null;\n _.visibilityChange = 'visibilitychange';\n _.windowWidth = 0;\n _.windowTimer = null;\n\n dataSettings = $(element).data('slick') || {};\n\n _.options = $.extend({}, _.defaults, settings, dataSettings);\n\n _.currentSlide = _.options.initialSlide;\n\n _.originalSettings = _.options;\n\n if (typeof document.mozHidden !== 'undefined') {\n _.hidden = 'mozHidden';\n _.visibilityChange = 'mozvisibilitychange';\n } else if (typeof document.webkitHidden !== 'undefined') {\n _.hidden = 'webkitHidden';\n _.visibilityChange = 'webkitvisibilitychange';\n }\n\n _.autoPlay = $.proxy(_.autoPlay, _);\n _.autoPlayClear = $.proxy(_.autoPlayClear, _);\n _.autoPlayIterator = $.proxy(_.autoPlayIterator, _);\n _.changeSlide = $.proxy(_.changeSlide, _);\n _.clickHandler = $.proxy(_.clickHandler, _);\n _.selectHandler = $.proxy(_.selectHandler, _);\n _.setPosition = $.proxy(_.setPosition, _);\n _.swipeHandler = $.proxy(_.swipeHandler, _);\n _.dragHandler = $.proxy(_.dragHandler, _);\n _.keyHandler = $.proxy(_.keyHandler, _);\n\n _.instanceUid = instanceUid++;\n\n // A simple way to check for HTML strings\n // Strict HTML recognition (must start with <)\n // Extracted from jQuery v1.11 source\n _.htmlExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*)$/;\n\n\n _.registerBreakpoints();\n _.init(true);\n\n }\n\n return Slick;\n\n }());\n\n Slick.prototype.activateADA = function() {\n var _ = this;\n\n _.$slideTrack.find('.slick-active').attr({\n 'aria-hidden': 'false'\n }).find('a, input, button, select').attr({\n 'tabindex': '0'\n });\n\n };\n\n Slick.prototype.addSlide = Slick.prototype.slickAdd = function(markup, index, addBefore) {\n\n var _ = this;\n\n if (typeof(index) === 'boolean') {\n addBefore = index;\n index = null;\n } else if (index < 0 || (index >= _.slideCount)) {\n return false;\n }\n\n _.unload();\n\n if (typeof(index) === 'number') {\n if (index === 0 && _.$slides.length === 0) {\n $(markup).appendTo(_.$slideTrack);\n } else if (addBefore) {\n $(markup).insertBefore(_.$slides.eq(index));\n } else {\n $(markup).insertAfter(_.$slides.eq(index));\n }\n } else {\n if (addBefore === true) {\n $(markup).prependTo(_.$slideTrack);\n } else {\n $(markup).appendTo(_.$slideTrack);\n }\n }\n\n _.$slides = _.$slideTrack.children(this.options.slide);\n\n _.$slideTrack.children(this.options.slide).detach();\n\n _.$slideTrack.append(_.$slides);\n\n _.$slides.each(function(index, element) {\n $(element).attr('data-slick-index', index);\n });\n\n _.$slidesCache = _.$slides;\n\n _.reinit();\n\n };\n\n Slick.prototype.animateHeight = function() {\n var _ = this;\n if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {\n var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);\n _.$list.animate({\n height: targetHeight\n }, _.options.speed);\n }\n };\n\n Slick.prototype.animateSlide = function(targetLeft, callback) {\n\n var animProps = {},\n _ = this;\n\n _.animateHeight();\n\n if (_.options.rtl === true && _.options.vertical === false) {\n targetLeft = -targetLeft;\n }\n if (_.transformsEnabled === false) {\n if (_.options.vertical === false) {\n _.$slideTrack.animate({\n left: targetLeft\n }, _.options.speed, _.options.easing, callback);\n } else {\n _.$slideTrack.animate({\n top: targetLeft\n }, _.options.speed, _.options.easing, callback);\n }\n\n } else {\n\n if (_.cssTransitions === false) {\n if (_.options.rtl === true) {\n _.currentLeft = -(_.currentLeft);\n }\n $({\n animStart: _.currentLeft\n }).animate({\n animStart: targetLeft\n }, {\n duration: _.options.speed,\n easing: _.options.easing,\n step: function(now) {\n now = Math.ceil(now);\n if (_.options.vertical === false) {\n animProps[_.animType] = 'translate(' +\n now + 'px, 0px)';\n _.$slideTrack.css(animProps);\n } else {\n animProps[_.animType] = 'translate(0px,' +\n now + 'px)';\n _.$slideTrack.css(animProps);\n }\n }
2,\n complete: function() {\n if (callback) {\n callback.call();\n }\n }\n });\n\n } else {\n\n _.applyTransition();\n targetLeft = Math.ceil(targetLeft);\n\n if (_.options.vertical === false) {\n animProps[_.animType] = 'translate3d(' + targetLeft + 'px, 0px, 0px)';\n } else {\n animProps[_.animType] = 'translate3d(0px,' + targetLeft + 'px, 0px)';\n }\n _.$slideTrack.css(animProps);\n\n if (callback) {\n setTimeout(function() {\n\n _.disableTransition();\n\n callback.call();\n }, _.options.speed);\n }\n\n }\n\n }\n\n };\n\n Slick.prototype.getNavTarget = function() {\n\n var _ = this,\n asNavFor = _.options.asNavFor;\n\n if ( asNavFor && asNavFor !== null ) {\n asNavFor = $(asNavFor).not(_.$slider);\n }\n\n return asNavFor;\n\n };\n\n Slick.prototype.asNavFor = function(index) {\n\n var _ = this,\n asNavFor = _.getNavTarget();\n\n if ( asNavFor !== null && typeof asNavFor === 'object' ) {\n asNavFor.each(function() {\n var target = $(this).slick('getSlick');\n if(!target.unslicked) {\n target.slideHandler(index, true);\n }\n });\n }\n\n };\n\n Slick.prototype.applyTransition = function(slide) {\n\n var _ = this,\n transition = {};\n\n if (_.options.fade === false) {\n transition[_.transitionType] = _.transformType + ' ' + _.options.speed + 'ms ' + _.options.cssEase;\n } else {\n transition[_.transitionType] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssEase;\n }\n\n if (_.options.fade === false) {\n _.$slideTrack.css(transition);\n } else {\n _.$slides.eq(slide).css(transition);\n }\n\n };\n\n Slick.prototype.autoPlay = function() {\n\n var _ = this;\n\n _.autoPlayClear();\n\n if ( _.slideCount > _.options.slidesToShow ) {\n _.autoPlayTimer = setInterval( _.autoPlayIterator, _.options.autoplaySpeed );\n }\n\n };\n\n Slick.prototype.autoPlayClear = function() {\n\n var _ = this;\n\n if (_.autoPlayTimer) {\n clearInterval(_.autoPlayTimer);\n }\n\n };\n\n Slick.prototype.autoPlayIterator = function() {\n\n var _ = this,\n slideTo = _.currentSlide + _.options.slidesToScroll;\n\n if ( !_.paused && !_.interrupted && !_.focussed ) {\n\n if ( _.options.infinite === false ) {\n\n if ( _.direction === 1 && ( _.currentSlide + 1 ) === ( _.slideCount - 1 )) {\n _.direction = 0;\n }\n\n else if ( _.direction === 0 ) {\n\n slideTo = _.currentSlide - _.options.slidesToScroll;\n\n if ( _.currentSlide - 1 === 0 ) {\n _.direction = 1;\n }\n\n }\n\n }\n\n _.slideHandler( slideTo );\n\n }\n\n };\n\n Slick.prototype.buildArrows = function() {\n\n var _ = this;\n\n if (_.options.arrows === true ) {\n\n _.$prevArrow = $(_.options.prevArrow).addClass('slick-arrow');\n _.$nextArrow = $(_.options.nextArrow).addClass('slick-arrow');\n\n if( _.slideCount > _.options.slidesToShow ) {\n\n _.$prevArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');\n _.$nextArrow.removeClass('slick-hidden').removeAttr('aria-hidden tabindex');\n\n if (_.htmlExpr.test(_.options.prevArrow)) {\n _.$prevArrow.prependTo(_.options.appendArrows);\n }\n\n if (_.htmlExpr.test(_.options.nextArrow)) {\n _.$nextArrow.appendTo(_.options.appendArrows);\n }\n\n if (_.options.infinite !== true) {\n _.$prevArrow\n .addClass('slick-disabled')\n .attr('aria-disabled', 'true');\n }\n\n } else {\n\n _.$prevArrow.add( _.$nextArrow )\n\n .addClass('slick-hidden')\n .attr({\n 'aria-disabled': 'true',\n 'tabindex': '-1'\n });\n\n }\n\n }\n\n };
2\n\n Slick.prototype.buildDots = function() {\n\n var _ = this,\n i, dot;\n\n if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {\n\n _.$slider.addClass('slick-dotted');\n\n dot = $('<ul />').addClass(_.options.dotsClass);\n\n for (i = 0; i <= _.getDotCount(); i += 1) {\n dot.append($('<li />').append(_.options.customPaging.call(this, _, i)));\n }\n\n _.$dots = dot.appendTo(_.options.appendDots);\n\n _.$dots.find('li').first().addClass('slick-active');\n\n }\n\n };\n\n Slick.prototype.buildOut = function() {\n\n var _ = this;\n\n _.$slides =\n _.$slider\n .children( _.options.slide + ':not(.slick-cloned)')\n .addClass('slick-slide');\n\n _.slideCount = _.$slides.length;\n\n _.$slides.each(function(index, element) {\n $(element)\n .attr('data-slick-index', index)\n .data('originalStyling', $(element).attr('style') || '');\n });\n\n _.$slider.addClass('slick-slider');\n\n _.$slideTrack = (_.slideCount === 0) ?\n $('<div class=\"slick-track\"/>').appendTo(_.$slider) :\n _.$slides.wrapAll('<div class=\"slick-track\"/>').parent();\n\n _.$list = _.$slideTrack.wrap(\n '<div class=\"slick-list\"/>').parent();\n _.$slideTrack.css('opacity', 0);\n\n if (_.options.centerMode === true || _.options.swipeToSlide === true) {\n _.options.slidesToScroll = 1;\n }\n\n $('img[data-lazy]', _.$slider).not('[src]').addClass('slick-loading');\n\n _.setupInfinite();\n\n _.buildArrows();\n\n _.buildDots();\n\n _.updateDots();\n\n\n _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);\n\n if (_.options.draggable === true) {\n _.$list.addClass('draggable');\n }\n\n };\n\n Slick.prototype.buildRows = function() {\n\n var _ = this, a, b, c, newSlides, numOfSlides, originalSlides,slidesPerSection;\n\n newSlides = document.createDocumentFragment();\n originalSlides = _.$slider.children();\n\n if(_.options.rows > 0) {\n\n slidesPerSection = _.options.slidesPerRow * _.options.rows;\n numOfSlides = Math.ceil(\n originalSlides.length / slidesPerSection\n );\n\n for(a = 0; a < numOfSlides; a++){\n var slide = document.createElement('div');\n for(b = 0; b < _.options.rows; b++) {\n var row = document.createElement('div');\n for(c = 0; c < _.options.slidesPerRow; c++) {\n var target = (a * slidesPerSection + ((b * _.options.slidesPerRow) + c));\n if (originalSlides.get(target)) {\n row.appendChild(originalSlides.get(target));\n }\n }\n slide.appendChild(row);\n }\n newSlides.appendChild(slide);\n }\n\n _.$slider.empty().append(newSlides);\n _.$slider.children().children().children()\n .css({\n 'width':(100 / _.options.slidesPerRow) + '%',\n 'display': 'inline-block'\n });\n\n }\n\n };\n\n Slick.prototype.checkResponsive = function(initial, forceUpdate) {\n\n var _ = this,\n breakpoint, targetBreakpoint, respondToWidth, triggerBreakpoint = false;\n var sliderWidth = _.$slider.width();\n var windowWidth = window.innerWidth || $(window).width();\n\n if (_.respondTo === 'window') {\n respondToWidth = windowWidth;\n } else if (_.respondTo === 'slider') {\n respondToWidth = sliderWidth;\n } else if (_.respondTo === 'min') {\n respondToWidth = Math.min(windowWidth, sliderWidth);\n }
2\n\n if ( _.options.responsive &&\n _.options.responsive.length &&\n _.options.responsive !== null) {\n\n targetBreakpoint = null;\n\n for (breakpoint in _.breakpoints) {\n if (_.breakpoints.hasOwnProperty(breakpoint)) {\n if (_.originalSettings.mobileFirst === false) {\n if (respondToWidth < _.breakpoints[breakpoint]) {\n targetBreakpoint = _.breakpoints[breakpoint];\n }\n } else {\n if (respondToWidth > _.breakpoints[breakpoint]) {\n targetBreakpoint = _.breakpoints[breakpoint];\n }\n }\n }\n }\n\n if (targetBreakpoint !== null) {\n if (_.activeBreakpoint !== null) {\n if (targetBreakpoint !== _.activeBreakpoint || forceUpdate) {\n _.activeBreakpoint =\n targetBreakpoint;\n if (_.breakpointSettings[targetBreakpoint] === 'unslick') {\n _.unslick(targetBreakpoint);\n } else {\n _.options = $.extend({}, _.originalSettings,\n _.breakpointSettings[\n targetBreakpoint]);\n if (initial === true) {\n _.currentSlide = _.options.initialSlide;\n }\n _.refresh(initial);\n }\n triggerBreakpoint = targetBreakpoint;\n }\n } else {\n _.activeBreakpoint = targetBreakpoint;\n if (_.breakpointSettings[targetBreakpoint] === 'unslick') {\n _.unslick(targetBreakpoint);\n } else {\n _.options = $.extend({}, _.originalSettings,\n _.breakpointSettings[\n targetBreakpoint]);\n if (initial === true) {\n _.currentSlide = _.options.initialSlide;\n }\n _.refresh(initial);\n }\n triggerBreakpoint = targetBreakpoint;\n }\n } else {\n if (_.activeBreakpoint !== null) {\n _.activeBreakpoint = null;\n _.options = _.originalSettings;\n if (initial === true) {\n _.currentSlide = _.options.initialSlide;\n }\n _.refresh(initial);\n triggerBreakpoint = targetBreakpoint;\n }\n }\n\n // only trigger breakpoints during an actual break. not on initialize.\n if( !initial && triggerBreakpoint !== false ) {\n _.$slider.trigger('breakpoint', [_, triggerBreakpoint]);\n }\n }\n\n };\n\n Slick.prototype.changeSlide = function(event, dontAnimate) {\n\n var _ = this,\n $target = $(event.currentTarget),\n indexOffset, slideOffset, unevenOffset;\n\n // If target is a link, prevent default action.\n if($target.is('a')) {\n event.preventDefault();\n }\n\n // If target is not the <li> element (ie: a child), find the <li>.\n if(!$target.is('li')) {\n $target = $target.closest('li');\n }\n\n unevenOffset = (_.slideCount % _.options.slidesToScroll !== 0);\n indexOffset = unevenOffset ? 0 : (_.slideCount - _.currentSlide) % _.options.slidesToScroll;\n\n switch (event.data.message) {\n\n case 'previous':\n slideOffset = indexOffset === 0 ? _.options.slidesToScroll : _.options.slidesToShow - indexOffset;\n if (_.slideCount > _.options.slidesToShow) {\n _.slideHandler(_.currentSlide - slideOffset, false, dontAnimate);\n }\n break;\n\n case 'next':\n slideOffset = indexOffset === 0 ? _.options.slidesToScroll : indexOffset;\n if (_.slideCount > _.options.slidesToShow) {\n _.slideHandler(_.currentSlide + slideOffset, false, dontAnimate);\n }\n break;\n\n case 'index':\n var index = event.data.index === 0 ? 0 :\n event.data.index || $target.index() * _.options.slidesToScroll;\n\n _.slideHandler(_.checkNavigable(index), false, dontAnimate);\n $target.children().trigger('focus');\n break;\n\n default:\n return;\n }\n\n };\n\n Slick.prototype.checkNavigable = function(index) {\n\n var _ = this,\n navigables, prevNavigable;\n\n navigables = _.getNavigableIndexes();\n prevNavigable = 0;\n if (index > navigables[navigables.length - 1]) {\n index = navigables[navigables.length - 1];\n } else {\n for (var n in navigables) {\n if (index < navigables[n]) {\n index = prevNavigable;\n break;\n }\n prevNavigable = navigables[n];\n }\n }\n\n return index;\n };
2\n\n Slick.prototype.cleanUpEvents = function() {\n\n var _ = this;\n\n if (_.options.dots && _.$dots !== null) {\n\n $('li', _.$dots)\n .off('click.slick', _.changeSlide)\n .off('mouseenter.slick', $.proxy(_.interrupt, _, true))\n .off('mouseleave.slick', $.proxy(_.interrupt, _, false));\n\n if (_.options.accessibility === true) {\n _.$dots.off('keydown.slick', _.keyHandler);\n }\n }\n\n _.$slider.off('focus.slick blur.slick');\n\n if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {\n _.$prevArrow && _.$prevArrow.off('click.slick', _.changeSlide);\n _.$nextArrow && _.$nextArrow.off('click.slick', _.changeSlide);\n\n if (_.options.accessibility === true) {\n _.$prevArrow && _.$prevArrow.off('keydown.slick', _.keyHandler);\n _.$nextArrow && _.$nextArrow.off('keydown.slick', _.keyHandler);\n }\n }\n\n _.$list.off('touchstart.slick mousedown.slick', _.swipeHandler);\n _.$list.off('touchmove.slick mousemove.slick', _.swipeHandler);\n _.$list.off('touchend.slick mouseup.slick', _.swipeHandler);
2\n _.$list.off('touchcancel.slick mouseleave.slick', _.swipeHandler);\n\n _.$list.off('click.slick', _.clickHandler);\n\n $(document).off(_.visibilityChange, _.visibility);\n\n _.cleanUpSlideEvents();\n\n if (_.options.accessibility === true) {\n _.$list.off('keydown.slick', _.keyHandler);\n }\n\n if (_.options.focusOnSelect === true) {\n $(_.$slideTrack).children().off('click.slick', _.selectHandler);\n }\n\n $(window).off('orientationchange.slick.slick-' + _.instanceUid, _.orientationChange);\n\n $(window).off('resize.slick.slick-' + _.instanceUid, _.resize);\n\n $('[draggable!=true]', _.$slideTrack).off('dragstart', _.preventDefault);\n\n $(window).off('load.slick.slick-' + _.instanceUid, _.setPosition);\n\n };\n\n Slick.prototype.cleanUpSlideEvents = function() {\n\n var _ = this;\n\n _.$list.off('mouseenter.slick', $.proxy(_.interrupt, _, true));\n _.$list.off('mouseleave.slick', $.proxy(_.interrupt, _, false));\n\n };\n\n Slick.prototype.cleanUpRows = function() {\n\n var _ = this, originalSlides;\n\n if(_.options.rows > 0) {\n originalSlides = _.$slides.children().children();\n originalSlides.removeAttr('style');\n _.$slider.empty().append(originalSlides);\n }\n\n };\n\n Slick.prototype.clickHandler = function(event) {\n\n var _ = this;\n\n if (_.shouldClick === false) {\n event.stopImmediatePropagation();\n event.stopPropagation();\n event.preventDefault();\n }\n\n };\n\n Slick.prototype.destroy = function(refresh) {\n\n var _ = this;\n\n _.autoPlayClear();\n\n _.touchObject = {};\n\n _.cleanUpEvents();\n\n $('.slick-cloned', _.$slider).detach();\n\n if (_.$dots) {\n _.$dots.remove();\n }\n\n if ( _.$prevArrow && _.$prevArrow.length ) {\n\n _.$prevArrow\n .removeClass('slick-disabled slick-arrow slick-hidden')\n .removeAttr('aria-hidden aria-disabled tabindex')\n .css('display','');\n\n if ( _.htmlExpr.test( _.options.prevArrow )) {\n _.$prevArrow.remove();\n }\n }\n\n if ( _.$nextArrow && _.$nextArrow.length ) {\n\n _.$nextArrow\n .removeClass('slick-disabled slick-arrow slick-hidden')\n .removeAttr('aria-hidden aria-disabled tabindex')\n .css('display','');\n\n if ( _.htmlExpr.test( _.options.nextArrow )) {\n _.$nextArrow.remove();\n }\n }\n\n\n if (_.$slides) {\n\n _.$slides\n .removeClass('slick-slide slick-active slick-center slick-visible slick-current')\n .removeAttr('aria-hidden')\n .removeAttr('data-slick-index')\n .each(function(){\n $(this).attr('style', $(this).data('originalStyling'));\n });\n\n _.$slideTrack.children(this.options.slide).detach();\n\n _.$slideTrack.detach();\n\n _.$list.detach();\n\n _.$slider.append(_.$slides);\n }\n\n _.cleanUpRows();\n\n _.$slider.removeClass('slick-slider');\n _.$slider.removeClass('slick-initialized');\n _.$slider.removeClass('slick-dotted');\n\n _.unslicked = true;\n\n if(!refresh) {\n _.$slider.trigger('destroy', [_]);\n }\n\n };\n\n Slick.prototype.disableTransition = function(slide) {\n\n var _ = this,\n transition = {};\n\n transition[_.transitionType] = '';\n\n if (_.options.fade === false) {\n _.$slideTrack.css(transition);\n } else {\n _.$slides.eq(slide).css(transition);\n }\n\n };\n\n Slick.prototype.fadeSlide = function(slideIndex, callback) {\n\n var _ = this;\n\n if (_.cssTransitions === false) {\n\n _.$slides.eq(slideIndex).css({\n zIndex: _.options.zIndex\n });\n\n _.$slides.eq(slideIndex).animate({\n opacity: 1\n }, _.options.speed, _.options.easing, callback);\n\n } else {\n\n _.applyTransition(slideIndex);\n\n _.$slides.eq(slideIndex).css({\n opacity: 1,\n zIndex: _.options.zIndex\n });\n\n if (callback) {\n setTimeout(function() {\
2n\n _.disableTransition(slideIndex);\n\n callback.call();\n }, _.options.speed);\n }\n\n }\n\n };\n\n Slick.prototype.fadeSlideOut = function(slideIndex) {\n\n var _ = this;\n\n if (_.cssTransitions === false) {\n\n _.$slides.eq(slideIndex).animate({\n opacity: 0,\n zIndex: _.options.zIndex - 2\n }, _.options.speed, _.options.easing);\n\n } else {\n\n _.applyTransition(slideIndex);\n\n _.$slides.eq(slideIndex).css({\n opacity: 0,\n zIndex: _.options.zIndex - 2\n });\n\n }\n\n };\n\n Slick.prototype.filterSlides = Slick.prototype.slickFilter = function(filter) {\n\n var _ = this;\n\n if (filter !== null) {\n\n _.$slidesCache = _.$slides;\n\n _.unload();\n\n _.$slideTrack.children(this.options.slide).detach();\n\n _.$slidesCache.filter(filter).appendTo(_.$slideTrack);\n\n _.reinit();\n\n }\n\n };\n\n Slick.prototype.focusHandler = function() {\n\n var _ = this;\n\n // If any child element receives focus within the slider we need to pause the autoplay\n _.$slider\n .off('focus.slick blur.slick')\n .on(\n 'focus.slick',\n '*', \n function(event) {\n var $sf = $(this);\n\n setTimeout(function() {\n if( _.options.pauseOnFocus ) {\n if ($sf.is(':focus')) {\n _.focussed = true;\n _.autoPlay();\n }\n }\n }, 0);\n }\n ).on(\n 'blur.slick',\n '*', \n function(event) {\n var $sf = $(this);\n\n // When a blur occurs on any elements within the slider we become unfocused\n if( _.options.pauseOnFocus ) {\n _.focussed = false;\n _.autoPlay();\n }\n }\n );\n };\n\n Slick.prototype.getCurrent = Slick.prototype.slickCurrentSlide = function() {\n\n var _ = this;\n return _.currentSlide;\n\n };\n\n Slick.prototype.getDotCount = function() {\n\n var _ = this;\n\n var breakPoint = 0;\n var counter = 0;\n var pagerQty = 0;\n\n if (_.options.infinite === true) {\n if (_.slideCount <= _.options.slidesToShow) {\n ++pagerQty;\n } else {\n while (breakPoint < _.slideCount) {\n ++pagerQty;\n breakPoint = counter + _.options.slidesToScroll;\n counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;\n }\n }\n } else if (_.options.centerMode === true) {\n pagerQty = _.slideCount;\n } else if(!_.options.asNavFor) {\n pagerQty = 1 + Math.ceil((_.slideCount - _.options.slidesToShow) / _.options.slidesToScroll);\n }else {\n while (breakPoint < _.slideCount) {\n ++pagerQty;\n breakPoint = counter + _.options.slidesToScroll;\n counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;\n }\n }\n\n return pagerQty - 1;\n\n };\n\n Slick.prototype.getLeft = function(slideIndex) {\n\n var _ = this,\n targetLeft,\n verticalHeight,\n verticalOffset = 0,\n targetSlide,\n coef;\n\n _.slideOffset = 0;\n verticalHeight = _.$slides.first().outerHeight(true);\n\n if (_.options.infinite === true) {\n if (_.slideCount > _.options.slidesToShow) {\n _.slideOffset = (_.slideWidth * _.options.slidesToShow) * -1;\n coef = -1\n\n if (_.options.vertical === true && _.options.centerMode === true) {\n if (_.options.slidesToShow === 2) {\n coef = -1.5;\n } else if (_.options.slidesToShow === 1) {\n coef = -2\n }\n }\n verticalOffset = (verticalHeight * _.options.slidesToShow) * coef;\n }\n if (_.slideCount % _.options.slidesToScroll !== 0) {\n if (slideIndex + _.options.slidesToScroll > _.slideCount && _.slideCount > _.options.slidesToShow) {\n if (slideIndex > _.slideCount) {\n _.slideOffset = ((_.options.slidesToShow - (sl
2ideIndex - _.slideCount)) * _.slideWidth) * -1;\n verticalOffset = ((_.options.slidesToShow - (slideIndex - _.slideCount)) * verticalHeight) * -1;\n } else {\n _.slideOffset = ((_.slideCount % _.options.slidesToScroll) * _.slideWidth) * -1;\n verticalOffset = ((_.slideCount % _.options.slidesToScroll) * verticalHeight) * -1;\n }\n }\n }\n } else {\n if (slideIndex + _.options.slidesToShow > _.slideCount) {\n _.slideOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * _.slideWidth;\n verticalOffset = ((slideIndex + _.options.slidesToShow) - _.slideCount) * verticalHeight;\n }\n }\n\n if (_.slideCount <= _.options.slidesToShow) {\n _.slideOffset = 0;\n verticalOffset = 0;\n }\n\n if (_.options.centerMode === true && _.slideCount <= _.options.slidesToShow) {\n _.slideOffset = ((_.slideWidth * Math.floor(_.options.slidesToShow)) / 2) - ((_.slideWidth * _.slideCount) / 2);\n } else if (_.options.centerMode === true && _.options.infinite === true) {\n _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2) - _.slideWidth;\n } else if (_.options.centerMode === true) {\n _.slideOffset = 0;\n _.slideOffset += _.slideWidth * Math.floor(_.options.slidesToShow / 2);\n }\n\n if (_.options.vertical === false) {\n targetLeft = ((slideIndex * _.slideWidth) * -1) + _.slideOffset;\n } else {\n targetLeft = ((slideIndex * verticalHeight) * -1) + verticalOffset;\n }\n\n if (_.options.variableWidth === true) {\n\n if (_.slideCount <= _.options.slidesToShow || _.o
2ptions.infinite === false) {\n targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);\n } else {\n targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow);\n }\n\n if (_.options.rtl === true) {\n if (targetSlide[0]) {\n targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;\n } else {\n targetLeft = 0;\n }\n } else {\n targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;\n }\n\n if (_.options.centerMode === true) {\n if (_.slideCount <= _.options.slidesToShow || _.options.infinite === false) {\n targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex);\n } else {\n targetSlide = _.$slideTrack.children('.slick-slide').eq(slideIndex + _.options.slidesToShow + 1);\n }\n\n if (_.options.rtl === true) {\n if (targetSlide[0]) {\n targetLeft = (_.$slideTrack.width() - targetSlide[0].offsetLeft - targetSlide.width()) * -1;\n } else {\n targetLeft = 0;\n }\n } else {\n targetLeft = targetSlide[0] ? targetSlide[0].offsetLeft * -1 : 0;\n }\n\n targetLeft += (_.$list.width() - targetSlide.outerWidth()) / 2;\n }\n }\n\n return targetLeft;\n\n };\n\n Slick.prototype.getOption = Slick.prototype.slickGetOption = function(option) {\n\n var _ = this;\n\n return _.options[option];\n\n };\n\n Slick.prototype.getNavigableIndexes = function() {\n\n var _ = this,\n breakPoint = 0,\n counter = 0,\n indexes = [],\n max;\n\n if (_.options.infinite === false) {\n max = _.slideCount;\n } else {\n breakPoint = _.options.slidesToScroll * -1;\n counter = _.options.slidesToScroll * -1;\n max = _.slideCount * 2;\n }\n\n while (breakPoint < max) {\n indexes.push(breakPoint);\n breakPoint = counter + _.options.slidesToScroll;\n counter += _.options.slidesToScroll <= _.options.slidesToShow ? _.options.slidesToScroll : _.options.slidesToShow;\n }\n\n return indexes;\n\n };\n\n Slick.prototype.getSlick = function() {\n\n return this;\n\n };\n\n Slick.prototype.getSlideCount = function() {\n\n var _ = this,\n slidesTraversed, swipedSlide, swipeTarget, centerOffset;\n\n centerOffset = _.options.centerMode === true ? Math.floor(_.$list.width() / 2) : 0;\n swipeTarget = (_.swipeLeft * -1) + centerOffset;\n\n if (_.options.swipeToSlide === true) {\n\n _.$slideTrack.find('.slick-slide').each(function(index, slide) {\n\n var slideOuterWidth, slideOffset, slideRightBoundary;\n slideOuterWidth = $(slide).outerWidth();\n slideOffset = slide.offsetLeft;\n if (_.options.centerMode !== true) {\n slideOffset += (slideOuterWidth / 2);\n }\n\n slideRightBoundary = slideOffset + (slideOuterWidth);\n\n if (swipeTarget < slideRightBoundary) {\n swipedSlide = slide;\n return false;\n }\n });\n\n slidesTraversed = Math.abs($(swipedSlide).attr('data-slick-index') - _.currentSlide) || 1;\n\n return slidesTraversed;\n\n } else {\n return _.options.slidesToScroll;\n }\n\n };\n\n Slick.prototype.goTo = Slick.prototype.slickGoTo = function(slide, dontAnimate) {\n\n var _ = this;\n\n _.changeSlide({\n data: {\n message: 'index',\n index: parseInt(slide)\n }\n }, dontAnimate);\n\n };\n\n Slick.prototype.init = function(creation) {\n\n var _ = this;\n\n if (!$(_.$slider).hasClass('slick-initialized')) {\n\n $(_.$slider).addClass('slick-initialized');\n\n _.buildRows();\n _.buildOut();\n _.setProps();\n _.startLoad();\n _.loadSlider();\n _.initializeEvents();\n _.updateArrows();\n _.updateDots();\n _.checkResponsive(true);\n _.focusHandler();\n\n }\n\n if (creation) {\n _.$slider.trigger('init', [_]);\n }\n\n if (_.options.accessibility === true) {\n _.initADA();\n }\n\n if ( _.options.autoplay ) {\n\n _.paused = false;\n _.autoPlay();\n\n }\n\n };
2\n\n Slick.prototype.initADA = function() {\n var _ = this,\n numDotGroups = Math.ceil(_.slideCount / _.options.slidesToScroll),\n tabControlIndexes = _.getNavigableIndexes().filter(function(val) {\n return (val >= 0) && (val < _.slideCount);\n });\n _.$slides.add(_.$slideTrack.find('.slick-cloned')).attr({\n 'aria-hidden': 'true',\n 'tabindex': '-1'\n }).find('a, input, button, select').attr({\n 'tabindex': '-1'\n });\n\n if (_.$dots !== null) {\n _.$slides.not(_.$slideTrack.find('.slick-cloned')).each(function(i) {\n var slideControlIndex = tabControlIndexes.indexOf(i);\n\n $(this).attr({\n 'role': 'tabpanel',\n 'id': 'slick-slide' + _.instanceUid + i,\n 'tabindex': -1\n });\n\n if (slideControlIndex !== -1) {\n var ariaButtonControl = 'slick-slide-control' + _.instanceUid + slideControlIndex\n if ($('#' + ariaButtonControl).length) {\n $(this).attr({\n 'aria-describedby': ariaButtonControl\n });\n }\n }\n });\n\n _.$dots.attr('role', 'tablist').find('li').each(function(i) {\n var mappedSlideIndex = tabControlIndexes[i];\n\n $(this).attr({\n 'role': 'presentation'\n });\n\n $(this).find('button').first().attr({\n 'role': 'tab',\n 'id': 'slick-slide-control' + _.instanceUid + i,\n 'aria-controls': 'slick-slide' + _.instanceUid + mappedSlideIndex,\n 'aria-label': (i + 1) + ' of ' + numDotGroups,\n 'aria-selected': null,\n 'tabindex': '-1'\n });\n\n }).eq(_.currentSlide).find('button').attr({\n 'aria-selected': 'true',\n 'tabindex': '0'\n }).end();\n }\n\n for (var i=_.currentSlide, max=i+_.options.slidesToShow; i < max; i++) {\n if (_.options.focusOnChange) {\n _.$slides.eq(i).attr({'tabindex': '0'});\n } else {\n _.$slides.eq(i).removeAttr('tabindex');\n }\n }\n\n _.activateADA();\n\n };\n\n Slick.prototype.initArrowEvents = function() {\n\n var _ = this;\n\n if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {\n _.$prevArrow\n .off('click.slick')\n .on('click.slick', {\n message: 'previous'\n }, _.changeSlide);\n _.$nextArrow\n .off('click.slick')\n .on('click.slick', {\n message: 'next'\n }, _.changeSlide);\n\n if (_.options.accessibility === true) {\n _.$prevArrow.on('keydown.slick', _.keyHandler);\n _.$nextArrow.on('keydown.slick', _.keyHandler);\n }\n }\n\n };\n\n Slick.prototype.initDotEvents = function() {\n\n var _ = this;\n\n if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {\n $('li', _.$dots).on('click.slick', {\n message: 'index'\n }, _.changeSlide);\n\n if (_.options.accessibility === true) {\n _.$dots.on('keydown.slick', _.keyHandler);\n }\n }\n\n if (_.options.dots === true && _.options.pauseOnDotsHover === true && _.slideCount > _.options.slidesToShow) {\n\n $('li', _.$dots)\n .on('mouseenter.slick', $.proxy(_.interrupt, _, true))\n .on('mouseleave.slick', $.proxy(_.interrupt, _, false));\n\n }\n\n };\n\n Slick.prototype.initSlideEvents = function() {\n\n var _ = this;\n\n if ( _.options.pauseOnHover ) {\n\n _.$list.on('mouseenter.slick', $.proxy(_.interrupt, _, true));
2\n _.$list.on('mouseleave.slick', $.proxy(_.interrupt, _, false));\n\n }\n\n };\n\n Slick.prototype.initializeEvents = function() {\n\n var _ = this;\n\n _.initArrowEvents();\n\n _.initDotEvents();\n _.initSlideEvents();\n\n _.$list.on('touchstart.slick mousedown.slick', {\n action: 'start'\n }, _.swipeHandler);\n _.$list.on('touchmove.slick mousemove.slick', {\n action: 'move'\n }, _.swipeHandler);\n _.$list.on('touchend.slick mouseup.slick', {\n action: 'end'\n }, _.swipeHandler);\n _.$list.on('touchcancel.slick mouseleave.slick', {\n action: 'end'\n }, _.swipeHandler);\n\n _.$list.on('click.slick', _.clickHandler);\n\n $(document).on(_.visibilityChange, $.proxy(_.visibility, _));\n\n if (_.options.accessibility === true) {\n _.$list.on('keydown.slick', _.keyHandler);\n }\n\n if (_.options.focusOnSelect === true) {\n $(_.$slideTrack).children().on('click.slick', _.selectHandler);\n }\n\n $(window).on('orientationchange.slick.slick-' + _.instanceUid, $.proxy(_.orientationChange, _));\n\n $(window).on('resize.slick.slick-' + _.instanceUid, $.proxy(_.resize, _));\n\n $('[draggable!=true]', _.$slideTrack).on('dragstart', _.preventDefault);\n\n $(window).on('load.slick.slick-' + _.instanceUid, _.setPosition);\n $(_.setPosition);\n\n };\n\n Slick.prototype.initUI = function() {\n\n var _ = this;\n\n if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {\n\n _.$prevArrow.show();\n _.$nextArrow.show();\n\n }\n\n if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {\n\n _.$dots.show();\n\n }\n\n };\n\n Slick.prototype.keyHandler = function(event) {\n\n var _ = this;\n //Dont slide if the cursor is inside the form fields and arrow keys are pressed\n if(!event.target.tagName.match('TEXTAREA|INPUT|SELECT')) {\n if (event.keyCode === 37 && _.options.accessibility === true) {\n _.changeSlide({\n data: {\n message: _.options.rtl === true ? 'next' : 'previous'\n }\n });\n } else if (event.keyCode === 39 && _.options.accessibility === true) {\n _.changeSlide({\n data: {\n message: _.options.rtl === true ? 'previous' : 'next'\n }\n });\n }\n }\n\n };\n\n Slick.prototype.lazyLoad = function() {\n\n var _ = this,\n loadRange, cloneRange, rangeStart, rangeEnd;\n\n function loadImages(imagesScope) {\n\n $('img[data-lazy]', imagesScope).each(function() {\n\n var image = $(this),\n imageSource = $(this).attr('data-lazy'),\n imageSrcSet = $(this).attr('data-srcset'),\n imageSizes = $(this).attr('data-sizes') || _.$slider.attr('data-sizes'),\n imageToLoad = document.createElement('img');\n\n imageToLoad.onload = function() {\n\n image\n .animate({ opacity: 0 }, 100, function() {\n\n if (imageSrcSet) {\n image\n .attr('srcset', imageSrcSet );\n\n if (imageSizes) {\n image\n .attr('sizes', imageSizes );\n }\n }\n\n image\n .attr('src', imageSource)\n .animate({ opacity: 1 }, 200, function() {\n image\n .removeAttr('data-lazy data-srcset data-sizes')\n .removeClass('slick-loading');\n });\n _.$slider.trigger('lazyLoaded', [_, image, imageSource]);\n });\n\n };
2\n\n imageToLoad.onerror = function() {\n\n image\n .removeAttr( 'data-lazy' )\n .removeClass( 'slick-loading' )\n .addClass( 'slick-lazyload-error' );\n\n _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);\n\n };\n\n imageToLoad.src = imageSource;\n\n });\n\n }\n\n if (_.options.centerMode === true) {\n if (_.options.infinite === true) {\n rangeStart = _.currentSlide + (_.options.slidesToShow / 2 + 1);\n rangeEnd = rangeStart + _.options.slidesToShow + 2;\n } else {\n rangeStart = Math.max(0, _.currentSlide - (_.options.slidesToShow / 2 + 1));\n rangeEnd = 2 + (_.options.slidesToShow / 2 + 1) + _.currentSlide;\n }\n } else {\n rangeStart = _.options.infinite ? _.options.slidesToShow + _.currentSlide : _.currentSlide;\n rangeEnd = Math.ceil(rangeStart + _.options.slidesToShow);\n if (_.options.fade === true) {\n if (rangeStart > 0) rangeStart--;\n if (rangeEnd <= _.slideCount) rangeEnd++;\n }\n }\n\n loadRange = _.$slider.find('.slick-slide').slice(rangeStart, rangeEnd);\n\n if (_.options.lazyLoad === 'anticipated') {\n var prevSlide = rangeStart - 1,\n nextSlide = rangeEnd,\n $slides = _.$slider.find('.slick-slide');\n\n for (var i = 0; i < _.options.slidesToScroll; i++) {\n if (prevSlide < 0) prevSlide = _.slideCount - 1;\n loadRange = loadRange.add($slides.eq(prevSlide));\n loadRange = loadRange.add($slides.eq(nextSlide));\n prevSlide--;\n nextSlide++;\n }\n }\n\n loadImages(loadRange);\n\n if (_.slideCount <= _.options.slidesToShow) {\n cloneRange = _.$slider.find('.slick-slide');\n loadImages(cloneRange);\n } else\n if (_.currentSlide >= _.slideCount - _.options.slidesToShow) {\n cloneRange = _.$slider.find('.slick-cloned').slice(0, _.options.slidesToShow);\n loadImages(cloneRange);\n } else if (_.currentSlide === 0) {\n cloneRange = _.$slider.find('.slick-cloned').slice(_.options.slidesToShow * -1);\n loadImages(cloneRange);\n }\n\n };\n\n Slick.prototype.loadSlider = function() {\n\n var _ = this;\n\n _.setPosition();\n\n _.$slideTrack.css({\n opacity: 1\n });\n\n _.$slider.removeClass('slick-loading');\n\n _.initUI();\n\n if (_.options.lazyLoad === 'progressive') {\n _.progressiveLazyLoad();\n }\n\n };\n\n Slick.prototype.next = Slick.prototype.slickNext = function() {\n\n var _ = this;\n\n _.changeSlide({\n data: {\n message: 'next'\n }\n });\n\n };\n\n Slick.prototype.orientationChange = function() {\n\n var _ = this;\n\n _.checkResponsive();\n _.setPosition();\n\n };\n\n Slick.prototype.pause = Slick.prototype.slickPause = function() {\n\n var _ = this;\n\n _.autoPlayClear();\n _.paused = true;\n\n };\n\n Slick.prototype.play = Slick.prototype.slickPlay = function() {\n\n var _ = this;\n\n _.autoPlay();\n _.options.autoplay = true;\n _.paused = false;\n _.focussed = false;\n _.interrupted = false;\n\n };\n\n Slick.prototype.postSlide = function(index) {\n\n var _ = this;\n\n if( !_.unslicked ) {\n\n _.$slider.trigger('afterChange', [_, index]);\n\n _.animating = false;\n\n if (_.slideCount > _.options.slidesToShow) {\n _.setPosition();\n }\n\n _.swipeLeft = null;\n\n if ( _.options.autoplay ) {\n _.autoPlay();\n }\n\n if (_.options.accessibility === true) {\n _.initADA();\n\n if (_.options.focusOnChange) {\n var $currentSlide = $(_.$slides.get(_.currentSlide));\n $currentSlide.attr('tabindex', 0).focus();\n }\n }\n\n }\n\n };\n\n Slick.prototype.prev = Slick.prototype.slickPrev = function() {\
2n\n var _ = this;\n\n _.changeSlide({\n data: {\n message: 'previous'\n }\n });\n\n };\n\n Slick.prototype.preventDefault = function(event) {\n\n event.preventDefault();\n\n };\n\n Slick.prototype.progressiveLazyLoad = function( tryCount ) {\n\n tryCount = tryCount || 1;\n\n var _ = this,\n $imgsToLoad = $( 'img[data-lazy]', _.$slider ),\n image,\n imageSource,\n imageSrcSet,\n imageSizes,\n imageToLoad;\n\n if ( $imgsToLoad.length ) {\n\n image = $imgsToLoad.first();\n imageSource = image.attr('data-lazy');\n imageSrcSet = image.attr('data-srcset');\n imageSizes = image.attr('data-sizes') || _.$slider.attr('data-sizes');\n imageToLoad = document.createElement('img');\n\n imageToLoad.onload = function() {\n\n if (imageSrcSet) {\n image\n .attr('srcset', imageSrcSet );\n\n if (imageSizes) {\n image\n .attr('sizes', imageSizes );\n }\n }\n\n image\n .attr( 'src', imageSource )\n .removeAttr('data-lazy data-srcset data-sizes')\n .removeClass('slick-loading');\n\n if ( _.options.adaptiveHeight === true ) {\n _.setPosition();\n }\n\n _.$slider.trigger('lazyLoaded', [ _, image, imageSource ]);\n _.progressiveLazyLoad();\n\n };\n\n imageToLoad.onerror = function() {\n\n if ( tryCount < 3 ) {\n\n /**\n * try to load the image 3 times,\n * leave a slight delay so we don't get\n * servers blocking the request.\n */\n setTimeout( function() {\n _.progressiveLazyLoad( tryCount + 1 );\n }, 500 );\n\n } else {\n\n image\n .removeAttr( 'data-lazy' )\n .removeClass( 'slick-loading' )\n .addClass( 'slick-lazyload-error' );\n\n _.$slider.trigger('lazyLoadError', [ _, image, imageSource ]);\n\n _.progressiveLazyLoad();\n\n }\n\n };\n\n imageToLoad.src = imageSource;\n\n } else {\n\n _.$slider.trigger('allImagesLoaded', [ _ ]);\n\n }\n\n };\n\n Slick.prototype.refresh = function( initializing ) {\n\n var _ = this, currentSlide, lastVisibleIndex;\n\n lastVisibleIndex = _.slideCount - _.options.slidesToShow;\n\n // in non-infinite sliders, we don't want to go past the\n // last visible index.\n if( !_.options.infinite && ( _.currentSlide > lastVisibleIndex )) {\n _.currentSlide = lastVisibleIndex;\n }\n\n // if less slides than to show, go to start.\n if ( _.slideCount <= _.options.slidesToShow ) {\n _.currentSlide = 0;\n\n }\n\n currentSlide = _.currentSlide;\n\n _.destroy(true);\n\n $.extend(_, _.initials, { currentSlide: currentSlide });\n\n _.init();\n\n if( !initializing ) {\n\n _.changeSlide({\n data: {\n message: 'index',\n index: currentSlide\n }\n }, false);\n\n }\n\n };\n\n Slick.prototype.registerBreakpoints = function() {\n\n var _ = this, breakpoint, currentBreakpoint, l,\n responsiveSettings = _.options.responsive || null;\n\n if ( $.type(responsiveSettings) === 'array' && responsiveSettings.length ) {\n\n _.respondTo = _.options.respondTo || 'window';\n\n for ( breakpoint in responsiveSettings ) {\n\n l = _.breakpoints.length-1;\n\n if (responsiveSettings.hasOwnProperty(breakpoint)) {\n currentBreakpoint = responsiveSettings[breakpoint].breakpoint;\n\n // loop through the breakpoints and cut out any existing\n // ones with the same breakpoint number, we don't want dupes.\n while( l >= 0 ) {\n if( _.breakpoints[l] && _.breakpoints[l] === currentBreakpoint ) {\n _.breakpoints.splice(l,1);\n }\n l--;\n }\n\n _.breakpoints.push(currentBreakpoint);\n _.breakpointSettings[currentBreakpoint] = responsiveSettings[breakpoint].settings;\n\n }\n\n }\n\n _.breakpoints.sort(function(a, b) {\n return ( _.options.mobileFirst ) ? a-b : b-a;\n });\n\n }\n\n };
2\n\n Slick.prototype.reinit = function() {\n\n var _ = this;\n\n _.$slides =\n _.$slideTrack\n .children(_.options.slide)\n .addClass('slick-slide');\n\n _.slideCount = _.$slides.length;\n\n if (_.currentSlide >= _.slideCount && _.currentSlide !== 0) {\n _.currentSlide = _.currentSlide - _.options.slidesToScroll;\n }\n\n if (_.slideCount <= _.options.slidesToShow) {\n _.currentSlide = 0;\n }\n\n _.registerBreakpoints();\n\n _.setProps();\n _.setupInfinite();\n _.buildArrows();\n _.updateArrows();\n _.initArrowEvents();\n _.buildDots();\n _.updateDots();\n _.initDotEvents();\n _.cleanUpSlideEvents();\n _.initSlideEvents();\n\n _.checkResponsive(false, true);\n\n if (_.options.focusOnSelect === true) {\n $(_.$slideTrack).children().on('click.slick', _.selectHandler);\n }\n\n _.setSlideClasses(typeof _.currentSlide === 'number' ? _.currentSlide : 0);\n\n _.setPosition();\n _.focusHandler();\n\n _.paused = !_.options.autoplay;\n _.autoPlay();\n\n _.$slider.trigger('reInit', [_]);\n\n };\n\n Slick.prototype.resize = function() {\n\n var _ = this;\n\n if ($(window).width() !== _.windowWidth) {\n clearTimeout(_.windowDelay);\n _.windowDelay = window.setTimeout(function() {\n _.windowWidth = $(window).width();\n _.checkResponsive();\n if( !_.unslicked ) { _.setPosition(); }\n }, 50);\n }\n };\n\n Slick.prototype.removeSlide = Slick.prototype.slickRemove = function(index, removeBefore, removeAll) {\n\n var _ = this;\n\n if (typeof(index) === 'boolean') {\n removeBefore = index;\n index = removeBefore === true ? 0 : _.slideCount - 1;\n } else {\n index = removeBefore === true ? --index : index;\n }\n\n if (_.slideCount < 1 || index < 0 || index > _.slideCount - 1) {\n return false;\n }\n\n _.unload();\n\n if (removeAll === true) {\n _.$slideTrack.children().remove();\n } else {\n _.$slideTrack.children(this.options.slide).eq(index).remove();\n }\n\n _.$slides = _.$slideTrack.children(this.options.slide);\n\n _.$slideTrack.children(this.options.slide).detach();\n\n _.$slideTrack.append(_.$slides);\n\n _.$slidesCache = _.$slides;\n\n _.reinit();\n\n };\n\n Slick.prototype.setCSS = function(position) {\n\n var _ = this,\n positionProps = {},\n x, y;\n\n if (_.options.rtl === true) {\n position = -position;\n }\n x = _.positionProp == 'left' ? Math.ceil(position) + 'px' : '0px';\n y = _.positionProp == 'top' ? Math.ceil(position) + 'px' : '0px';\n\n positionProps[_.positionProp] = position;\n\n if (_.transformsEnabled === false) {\n _.$slideTrack.css(positionProps);\n } else {\n positionProps = {};\n if (_.cssTransitions === false) {\n positionProps[_.animType] = 'translate(' + x + ', ' + y + ')';\n _.$slideTrack.css(positionProps);\n } else {\n positionProps[_.animType] = 'translate3d(' + x + ', ' + y + ', 0px)';\n _.$slideTrack.css(positionProps);\n }\n }\n\n };\n\n Slick.prototype.setDimensions = function() {\n\n var _ = this;\n\n if (_.options.vertical === false) {\n if (_.options.centerMode === true) {\n _.$list.css({\n padding: ('0px ' + _.options.centerPadding)\n });\n }\n } else {\n _.$list.height(_.$slides.first().outerHeight(true) * _.options.slidesToShow);\n if (_.options.centerMode === true) {\n _.$list.css({\n padding: (_.options.centerPadding + ' 0px')\n });\n }\n }\n\n _.listWidth = _.$list.width();\n _.listHeight = _.$list.height();\n\n\n if (_.options.vertical === false && _.options.variableWidth === false) {\n _.slideWidth = Math.ceil(_.listWidth / _.options.slidesToShow);\n _.$slideTrack.width(Math.ceil((_.slideWidth * _.$slideTrack.children('.slick-slide').length)));\n\n } else if (_.options.variableWidth === true) {\n _.$slideTrack.width(5000 * _.slideCount);\n } else {\n _.slideWidth = Math.ceil(_.listWidth);\n _.$slideTrack.height(Math.ceil((_.$slides.first().outerHeight(true) * _.$slideTrack.children('.slick-slide').length)));\n }\n\n var offset = _.$slides.first().outerWidth(true) - _.$slides.first().width();\n if (_.options.variableWidth === false) _.$slideTrack.children('.slick-slide').width(_.slideWidth - offset);\n\n };
2\n\n Slick.prototype.setFade = function() {\n\n var _ = this,\n targetLeft;\n\n _.$slides.each(function(index, element) {\n targetLeft = (_.slideWidth * index) * -1;\n if (_.options.rtl === true) {\n $(element).css({\n position: 'relative',\n right: targetLeft,\n top: 0,\n zIndex: _.options.zIndex - 2,\n opacity: 0\n });\n } else {\n $(element).css({\n position: 'relative',\n left: targetLeft,\n top: 0,\n zIndex: _.options.zIndex - 2,\n opacity: 0\n });\n }\n });\n\n _.$slides.eq(_.currentSlide).css({\n zIndex: _.options.zIndex - 1,\n opacity: 1\n });\n\n };\n\n Slick.prototype.setHeight = function() {\n\n var _ = this;\n\n if (_.options.slidesToShow === 1 && _.options.adaptiveHeight === true && _.options.vertical === false) {\n var targetHeight = _.$slides.eq(_.currentSlide).outerHeight(true);\n _.$list.css('height', targetHeight);\n }\n\n };\n\n Slick.prototype.setOption =\n Slick.prototype.slickSetOption = function() {\n\n /**\n * accepts arguments in format of:\n *\n * - for changing a single option's value:\n * .slick(\"setOption\", option, value, refresh )\n *\n * - for changing a set of responsive options:\n * .slick(\"setOption\", 'responsive', [{}, ...], refresh )\n *\n * - for updating multiple values at once (not responsive)\n * .slick(\"setOption\", { 'option': value, ... }, refresh )\n */\n\n var _ = this, l, item, option, value, refresh = false, type;\n\n if( $.type( arguments[0] ) === 'object' ) {\n\n option = arguments[0];\n refresh = arguments[1];\n type = 'multiple';\n\n } else if ( $.type( arguments[0] ) === 'string' ) {\n\n option = arguments[0];\n value = arguments[1];\n refresh = arguments[2];\n\n if ( arguments[0] === 'responsive' && $.type( arguments[1] ) === 'array' ) {\n\n type = 'responsive';\n\n } else if ( typeof arguments[1] !== 'undefined' ) {\n\n type = 'single';\n\n }\n\n }\n\n if ( type === 'single' ) {\n\n _.options[option] = value;\n\n\n } else if ( type === 'multiple' ) {\n\n $.each( option , function( opt, val ) {\n\n _.options[opt] = val;\n\n });\n\n\n } else if ( type === 'responsive' ) {\n\n for ( item in value ) {\n\n if( $.type( _.options.responsive ) !== 'array' ) {\n\n _.options.responsive = [ value[item] ];\n\n } else {\n\n l = _.options.responsive.length-1;\n\n // loop through the responsive object and splice out duplicates.\n while( l >= 0 ) {\n\n if( _.options.responsive[l].breakpoint === value[item].breakpoint ) {\n\n _.options.responsive.splice(l,1);\n\n }\n\n l--;\n\n }\n\n _.options.responsive.push( value[item] );\n\n }\n\n }\n\n }\n\n if ( refresh ) {\n\n _.unload();\n _.reinit();\n\n }\n\n };\n\n Slick.prototype.setPosition = function() {\n\n var _ = this;\n\n _.setDimensions();\n\n _.setHeight();\n\n if (_.options.fade === false) {\n _.setCSS(_.getLeft(_.currentSlide));\n } else {\n _.setFade();\n }\n\n _.$slider.trigger('setPosition', [_]);\n\n };\n\n Slick.prototype.setProps = function() {\n\n var _ = this,\n bodyStyle = document.body.style;\n\n _.positionProp = _.options.vertical === true ? 'top' : 'left';\n\n if (_.positionProp === 'top') {\n _.$slider.addClass('slick-vertical');\n } else {\n _.$slider.removeClass('slick-vertical');\n }\n\n if (bodyStyle.WebkitTransition !== undefined ||\n bodyStyle.MozTransition !== undefined ||\n bodyStyle.msTransition !== undefined) {\n if (_.options.useCSS === true) {\n _.cssTransitions = true;\n }\n }\n\n if ( _.options.fade ) {\n if ( typeof _.options.zIndex === 'number' ) {\n if( _.options.zIndex < 3 ) {\n _.o
2ptions.zIndex = 3;\n }\n } else {\n _.options.zIndex = _.defaults.zIndex;\n }\n }\n\n if (bodyStyle.OTransform !== undefined) {\n _.animType = 'OTransform';\n _.transformType = '-o-transform';\n _.transitionType = 'OTransition';\n if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;\n }\n if (bodyStyle.MozTransform !== undefined) {\n _.animType = 'MozTransform';\n _.transformType = '-moz-transform';\n _.transitionType = 'MozTransition';\n if (bodyStyle.perspectiveProperty === undefined && bodyStyle.MozPerspective === undefined) _.animType = false;\n }\n if (bodyStyle.webkitTransform !== undefined) {\n _.animType = 'webkitTransform';\n _.transformType = '-webkit-transform';\n _.transitionType = 'webkitTransition';\n if (bodyStyle.perspectiveProperty === undefined && bodyStyle.webkitPerspective === undefined) _.animType = false;\n }\n if (bodyStyle.msTransform !== undefined) {\n _.animType = 'msTransform';\n _.transformType = '-ms-transform';\n _.transitionType = 'msTransition';\n if (bodyStyle.msTransform === undefined) _.animType = false;\n }\n if (bodyStyle.transform !== undefined && _.animType !== false) {\n _.animType = 'transform';\n _.transformType = 'transform';\n _.transitionType = 'transition';\n }\n _.transformsEnabled = _.options.useTransform && (_.animType !== null && _.animType !== false);\n };\n\n\n Slick.prototype.setSlideClasses = function(index) {\n\n var _ = this,\n centerOffset, allSlides, indexOffset, remainder;\n\n allSlides = _.$slider\n .find('.slick-slide')\n .removeClass('slick-active slick-center slick-current')\n .attr('aria-hidden', 'true');\n\n _.$slides\n .eq(index)\n .addClass('slick-current');\n\n if (_.options.centerMode === true) {\n\n var evenCoef = _.options.slidesToShow % 2 === 0 ? 1 : 0;\n\n centerOffset = Math.floor(_.options.slidesToShow / 2);\n\n if (_.options.infinite === true) {\n\n if (index >= centerOffset && index <= (_.slideCount - 1) - centerOffset) {\n _.$slides\n .slice(index - centerOffset + evenCoef, index + centerOffset + 1)\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n } else {\n\n indexOffset = _.options.slidesToShow + index;\n allSlides\n .slice(indexOffset - centerOffset + 1 + evenCoef, indexOffset + centerOffset + 2)\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n }\n\n if (index === 0) {\n\n allSlides\n .eq( _.options.slidesToShow + _.slideCount + 1 )\n .addClass('slick-center');\n\n } else if (index === _.slideCount - 1) {\n\n allSlides\n .eq(_.options.slidesToShow)\n .addClass('slick-center');\n\n }\n\n }\n\n _.$slides\n .eq(index)\n .addClass('slick-center');\n\n } else {\n\n if (index >= 0 && index <= (_.slideCount - _.options.slidesToShow)) {\n\n _.$slides\n .slice(index, index + _.options.slidesToShow)\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n } else if (allSlides.length <= _.options.slidesToShow) {\n\n allSlides\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n } else {\n\n remainder = _.slideCount % _.options.slidesToShow;\n indexOffset = _.options.infinite === true ? _.o
2ptions.slidesToShow + index : index;\n\n if (_.options.slidesToShow == _.options.slidesToScroll && (_.slideCount - index) < _.options.slidesToShow) {\n\n allSlides\n .slice(indexOffset - (_.options.slidesToShow - remainder), indexOffset + remainder)\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n } else {\n\n allSlides\n .slice(indexOffset, indexOffset + _.options.slidesToShow)\n .addClass('slick-active')\n .attr('aria-hidden', 'false');\n\n }\n\n }\n\n }\n\n if (_.options.lazyLoad === 'ondemand' || _.options.lazyLoad === 'anticipated') {\n _.lazyLoad();\n }\n };\n\n Slick.prototype.setupInfinite = function() {\n\n var _ = this,\n i, slideIndex, infiniteCount;\n\n if (_.options.fade === true) {\n _.options.centerMode = false;\n }\n\n if (_.options.infinite === true && _.options.fade === false) {\n\n slideIndex = null;\n\n if (_.slideCount > _.options.slidesToShow) {\n\n if (_.options.centerMode === true) {\n infiniteCount = _.options.slidesToShow + 1;\n } else {\n infiniteCount = _.options.slidesToShow;\n }\n\n for (i = _.slideCount; i > (_.slideCount -\n infiniteCount); i -= 1) {\n slideIndex = i - 1;\n $(_.$slides[slideIndex]).clone(true).attr('id', '')\n .attr('data-slick-index', slideIndex - _.slideCount)\n .prependTo(_.$slideTrack).addClass('slick-cloned');\n }\n for (i = 0; i < infiniteCount + _.slideCount; i += 1) {\n slideIndex = i;\n $(_.$slides[slideIndex]).clone(true).attr('id', '')\n .attr('data-slick-index', slideIndex + _.slideCount)\n .appendTo(_.$slideTrack).addClass('slick-cloned');\n }\n _.$slideTrack.find('.slick-cloned').find('[id]').each(function() {\n $(this).attr('id', '');\n });\n\n }\n\n }\n\n };\n\n Slick.prototype.interrupt = function( toggle ) {\n\n var _ = this;\n\n if( !toggle ) {\n _.autoPlay();\n }\n _.interrupted = toggle;\n\n };\n\n Slick.prototype.selectHandler = function(event) {\n\n var _ = this;\n\n var targetElement =\n $(event.target).is('.slick-slide') ?\n $(event.target) :\n $(event.target).parents('.slick-slide');\n\n var index = parseInt(targetElement.attr('data-slick-index'));\n\n if (!index) index = 0;\n\n if (_.slideCount <= _.options.slidesToShow) {\n\n _.slideHandler(index, false, true);\n return;\n\n }\n\n _.slideHandler(index);\n\n };\n\n Slick.prototype.slideHandler = function(index, sync, dontAnimate) {\n\n var targetSlide, animSlide, oldSlide, slideLeft, targetLeft = null,\n _ = this, navTarget;\n\n sync = sync || false;\n\n if (_.animating === true && _.options.waitForAnimate === true) {\n return;\n }\n\n if (_.options.fade === true && _.currentSlide === index) {\n return;\n }\n\n if (sync === false) {\n _.asNavFor(index);\n }\n\n targetSlide = index;\n targetLeft = _.getLeft(targetSlide);\n slideLeft = _.getLeft(_.currentSlide);\n\n _.currentLeft = _.swipeLeft === null ? slideLeft : _.swipeLeft;\n\n if (_.options.infinite === false && _.options.centerMode === false && (index < 0 || index > _.getDotCount() * _.options.slidesToScroll)) {\n if (_.options.fade === false) {\n targetSlide = _.currentSlide;\n if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {\n _.animateSlide(slideLeft, function() {\
2n _.postSlide(targetSlide);\n });\n } else {\n _.postSlide(targetSlide);\n }\n }\n return;\n } else if (_.options.infinite === false && _.options.centerMode === true && (index < 0 || index > (_.slideCount - _.options.slidesToScroll))) {\n if (_.options.fade === false) {\n targetSlide = _.currentSlide;\n if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {\n _.animateSlide(slideLeft, function() {\n _.postSlide(targetSlide);\n });\n } else {\n _.postSlide(targetSlide);\n }\n }\n return;\n }\n\n if ( _.options.autoplay ) {\n clearInterval(_.autoPlayTimer);\n }\n\n if (targetSlide < 0) {\n if (_.slideCount % _.options.slidesToScroll !== 0) {\n animSlide = _.slideCount - (_.slideCount % _.options.slidesToScroll);\n } else {\n animSlide = _.slideCount + targetSlide;\n }\n } else if (targetSlide >= _.slideCount) {\n if (_.slideCount % _.options.slidesToScroll !== 0) {\n animSlide = 0;\n } else {\n animSlide = targetSlide - _.slideCount;\n }\n } else {\n animSlide = targetSlide;\n }\n\n _.animating = true;\n\n _.$slider.trigger('beforeChange', [_, _.currentSlide, animSlide]);\n\n oldSlide = _.currentSlide;\n _.currentSlide = animSlide;\n\n _.setSlideClasses(_.currentSlide);\n\n if ( _.options.asNavFor ) {\n\n navTarget = _.getNavTarget();\n navTarget = navTarget.slick('getSlick');\n\n if ( navTarget.slideCount <= navTarget.options.slidesToShow ) {\n navTarget.setSlideClasses(_.currentSlide);\n }\n\n }\n\n _.updateDots();\n _.updateArrows();\n\n if (_.options.fade === true) {\n if (dontAnimate !== true) {\n\n _.fadeSlideOut(oldSlide);\n\n _.fadeSlide(animSlide, function() {\n _.postSlide(animSlide);\n });\n\n } else {\n _.postSlide(animSlide);\n }\n _.animateHeight();\n return;\n }\n\n if (dontAnimate !== true && _.slideCount > _.options.slidesToShow) {\n _.animateSlide(targetLeft, function() {\n _.postSlide(animSlide);\n });\n } else {\n _.postSlide(animSlide);\n }\n\n };\n\n Slick.prototype.startLoad = function() {\n\n var _ = this;\n\n if (_.options.arrows === true && _.slideCount > _.options.slidesToShow) {\n\n _.$prevArrow.hide();\n _.$nextArrow.hide();\n\n }\n\n if (_.options.dots === true && _.slideCount > _.options.slidesToShow) {\n\n _.$dots.hide();\n\n }\n\n _.$slider.addClass('slick-loading');\n\n };\n\n Slick.prototype.swipeDirection = function() {\n\n var xDist, yDist, r, swipeAngle, _ = this;\n\n xDist = _.touchObject.startX - _.touchObject.curX;\n yDist = _.touchObject.startY - _.touchObject.curY;\n r = Math.atan2(yDist, xDist);\n\n swipeAngle = Math.round(r * 180 / Math.PI);\n if (swipeAngle < 0) {\n swipeAngle = 360 - Math.abs(swipeAngle);\n }\n\n if ((swipeAngle <= 45) && (swipeAngle >= 0)) {\n return (_.options.rtl === false ? 'left' : 'right');\n }\n if ((swipeAngle <= 360) && (swipeAngle >= 315)) {\n return (_.options.rtl === false ? 'left' : 'right');\n }\n if ((swipeAngle >= 135) && (swipeAngle <= 225)) {\n return (_.options.rtl === false ? 'right' : 'left');\n }\n if (_.options.verticalSwiping === true) {\n if ((swipeAngle >= 35) && (swipeAngle <= 135)) {\n return 'down';\n } else {\n return 'up';\n }\n }\n\n return 'vertical';\n\n };\n\n Slick.prototype.swipeEnd = function(event) {\n\n var _ = this,\n slideCount,\n direction;\n\n _.dragging = false;\n _.swiping = false;\n\n if (_.scrolling) {\n _.scrolling = false;\n return false;\n }\n\n _.interrupted = false;\n _.shouldClick = ( _.touchObject.swipeLength > 10 ) ? false : true;\n\n if ( _.touchObject.curX === undefined ) {\n return false;\n }\n\n if ( _.touchObject.edgeHit === true ) {\n _.$slider.trigger('edge', [_, _.swipeDirection() ]);\n }\n\n if ( _.touchObject.swipeLength >= _.touchObject.minSwipe ) {\n\n direction = _.swipeDirection();\n\n switch ( direction ) {\n\n case 'left':\n case 'down':\n\n slideCount =\n _.o
2ptions.swipeToSlide ?\n _.checkNavigable( _.currentSlide + _.getSlideCount() ) :\n _.currentSlide + _.getSlideCount();\n\n _.currentDirection = 0;\n\n break;\n\n case 'right':\n case 'up':\n\n slideCount =\n _.options.swipeToSlide ?\n _.checkNavigable( _.currentSlide - _.getSlideCount() ) :\n _.currentSlide - _.getSlideCount();\n\n _.currentDirection = 1;\n\n break;\n\n default:\n\n\n }\n\n if( direction != 'vertical' ) {\n\n _.slideHandler( slideCount );\n _.touchObject = {};\n _.$slider.trigger('swipe', [_, direction ]);\n\n }\n\n } else {\n\n if ( _.touchObject.startX !== _.touchObject.curX ) {\n\n _.slideHandler( _.currentSlide );\n _.touchObject = {};\n\n }\n\n }\n\n };\n\n Slick.prototype.swipeHandler = function(event) {\n\n var _ = this;\n\n if ((_.options.swipe === false) || ('ontouchend' in document && _.options.swipe === false)) {\n return;\n } else if (_.options.draggable === false && event.type.indexOf('mouse') !== -1) {\n return;\n }\n\n _.touchObject.fingerCount = event.originalEvent && event.originalEvent.touches !== undefined ?\n event.originalEvent.touches.length : 1;\n\n _.touchObject.minSwipe = _.listWidth / _.options\n .touchThreshold;\n\n if (_.options.verticalSwiping === true) {\n _.touchObject.minSwipe = _.listHeight / _.options\n .touchThreshold;\n }\n\n switch (event.data.action) {\n\n case 'start':\n _.swipeStart(event);\n break;\n\n case 'move':\n _.swipeMove(event);\n break;\n\n case 'end':\n _.swipeEnd(event);\n break;\n\n }\n\n };\n\n Slick.prototype.swipeMove = function(event) {\n\n var _ = this,\n edgeWasHit = false,\n curLeft, swipeDirection, swipeLength, positionOffset, touches, verticalSwipeLength;\n\n touches = event.originalEvent !== undefined ? event.originalEvent.touches : null;\n\n if (!_.dragging || _.scrolling || touches && touches.length !== 1) {\n return false;\n }\n\n curLeft = _.getLeft(_.currentSlide);\n\n _.touchObject.curX = touches !== undefined ? touches[0].pageX : event.clientX;\n _.touchObject.curY = touches !== undefined ? touches[0].pageY : event.clientY;\n\n _.touchObject.swipeLength = Math.round(Math.sqrt(\n Math.pow(_.touchObject.curX - _.touchObject.startX, 2)));\n\n verticalSwipeLength = Math.round(Math.sqrt(\n Math.pow(_.touchObject.curY - _.touchObject.startY, 2)));\n\n if (!_.options.verticalSwiping && !_.swiping && verticalSwipeLength > 4) {\n _.scrolling = true;\n return false;\n }\n\n if (_.options.verticalSwiping === true) {\n _.touchObject.swipeLength = verticalSwipeLength;\n }\n\n swipeDirection = _.swipeDirection();\n\n if (event.originalEvent !== undefined && _.touchObject.swipeLength > 4) {\n _.swiping = true;\n event.preventDefault();\n }\n\n positionOffset = (_.options.rtl === false ? 1 : -1) * (_.touchObject.curX > _.touchObject.startX ? 1 : -1);\n if (_.options.verticalSwiping === true) {\n positionOffset = _.touchObject.curY > _.touchObject.startY ? 1 : -1;\n }\n\n\n swipeLength = _.touchObject.swipeLength;\n\n _.touchObject.edgeHit = false;\n\n if (_.options.infinite === false) {\n if ((_.currentSlide === 0 && swipeDirection === 'right') || (_.currentSlide >= _.getDotCount() && swipeDirection === 'left')) {\n swipeLength = _.touchObject.swipeLength * _.options.edgeFriction;\n _.touchObject.edgeHit = true;\n }\n }\n\n if (_.options.vertical === false) {\n _.swipeLeft = curLeft + swipeLength * positionOffset;\n } else {\n _.swipeLeft = curLeft + (swipeLength * (_.$list.height() / _.listWidth)) * positionOffset;\n }\n if (_.options.verticalSwiping === true) {\n _.swipeLeft = curLeft + swipeLength * positionOffset;\n }\n\n if (_.options.fade === true || _.options.touchMove === false) {\n return false;\n }\n\n if (_.animating === true) {\n _.swipeLeft = null;\n return false;\n }\n\n _.setCSS(_.swipeLeft);\n\n };\n\n Slick.prototype.swipeStart = function(event) {\n\n var _ = this,\n touches;\n\n _.interrupted = true;\n\n if (_.touchObject.fingerCount !== 1 || _.slideCount <= _.options.slidesToShow) {\n _.touchObject = {};\n return false;\n }\n\n if (event.originalEvent !== undefined && event.originalEvent.touches !== undefined) {\n touches = event.originalEvent.touches[0];\n }\n\n _.touchObject.startX = _.touchObject.curX = touches !== undefined ? touches.pageX : event.clientX;\n _.touchObject.startY = _.touchObject.curY = touches !== undefined ? touches.pageY : event.clientY;\n\n _.dragging = true;\n\n };\n\n Slick.prototype.unfilterSlides = Slick.prototype.slickUnfilter = function() {\
2n\n var _ = this;\n\n if (_.$slidesCache !== null) {\n\n _.unload();\n\n _.$slideTrack.children(this.options.slide).detach();\n\n _.$slidesCache.appendTo(_.$slideTrack);\n\n _.reinit();\n\n }\n\n };\n\n Slick.prototype.unload = function() {\n\n var _ = this;\n\n $('.slick-cloned', _.$slider).remove();\n\n if (_.$dots) {\n _.$dots.remove();\n }\n\n if (_.$prevArrow && _.htmlExpr.test(_.options.prevArrow)) {\n _.$prevArrow.remove();\n }\n\n if (_.$nextArrow && _.htmlExpr.test(_.options.nextArrow)) {\n _.$nextArrow.remove();\n }\n\n _.$slides\n .removeClass('slick-slide slick-active slick-visible slick-current')\n .attr('aria-hidden', 'true')\n .css('width', '');\n\n };\n\n Slick.prototype.unslick = function(fromBreakpoint) {\n\n var _ = this;\n _.$slider.trigger('unslick', [_, fromBreakpoint]);\n _.destroy();\n\n };\n\n Slick.prototype.updateArrows = function() {\n\n var _ = this,\n centerOffset;\n\n centerOffset = Math.floor(_.options.slidesToShow / 2);\n\n if ( _.options.arrows === true &&\n _.slideCount > _.options.slidesToShow &&\n !_.options.infinite ) {\n\n _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');\n _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');\n\n if (_.currentSlide === 0) {\n\n _.$prevArrow.addClass('slick-disabled').attr('aria-disabled', 'true');\n _.$nextArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');\n\n } else if (_.currentSlide >= _.slideCount - _.options.slidesToShow && _.options.centerMode === false) {\n\n _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');\n _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');\n\n } else if (_.currentSlide >= _.slideCount - 1 && _.options.centerMode === true) {\n\n _.$nextArrow.addClass('slick-disabled').attr('aria-disabled', 'true');\n _.$prevArrow.removeClass('slick-disabled').attr('aria-disabled', 'false');\n\n }\n\n }\n\n };\n\n Slick.prototype.updateDots = function() {\n\n var _ = this;\n\n if (_.$dots !== null) {\n\n _.$dots\n .find('li')\n .removeClass('slick-active')\n .end();\n\n _.$dots\n .find('li')\n .eq(Math.floor(_.currentSlide / _.options.slidesToScroll))\n .addClass('slick-active');\n\n }\n\n };\n\n Slick.prototype.visibility = function() {\n\n var _ = this;\n\n if ( _.options.autoplay ) {\n\n if ( document[_.hidden] ) {\n\n _.interrupted = true;\n\n } else {\n\n _.interrupted = false;\n\n }\n\n }\n\n };\n\n $.fn.slick = function() {\n var _ = this,\n opt = arguments[0],\n args = Array.prototype.slice.call(arguments, 1),\n l = _.length,\n i,\n ret;\n for (i = 0; i < l; i++) {\n if (typeof opt == 'object' || typeof opt == 'undefined')\n _[i].slick = new Slick(_[i], opt);\n else\n ret = _[i].slick[opt].apply(_[i].slick, args);\n if (typeof ret != 'undefined') return ret;\n }\n return _;\n };\n\n}));\n"},782:function(e){e.exports=function(e){function t(e){"undefined"!=typeof console&&(console.error||console.log)("[Script Loader]",e)}try{"undefined"!=typeof execScript&&"undefined"!=typeof attachEvent&&"undefined"==typeof addEventListener?execScript(e):"undefined"!=typeof eval?eval.call(null,e):t("EvalError: No eval function available")}catch(e){t(e)}}},814:function(e,t,n){n(782)(n(891))},694:function(e,t,n){"use strict";n.d(t,{ConsentManager:function(){return h},ConsentUI:function(){return p}});var i=Object.defineProperty,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,l=(e,t)=>
2{for(var n in t||(t={}))r.call(t,n)&&s(e,n,t[n]);if(o)for(var n of o(t))a.call(t,n)&&s(e,n,t[n]);return e},u=(e,t,n)=>s(e,"symbol"!=typeof t?t+"":t,n);function c(...e){var t;"undefined"!=typeof window&&null!=(t=window.OFFSET)&&t.debug&&console.log("[offset-consent]",...e)}const d=[{id:"analytics",name:"Analytics",desc:"Helps us understand how the site is used."},{id:"marketing",name:"Marketing Messaging",desc:"Powers chat, email, and SMS, and shares your activity to tailer experiences to you."}],f={title:"Your privacy",body:'We use cookies and services to enhance your experience, analyze traffic, and personalize content. You can choose which you want to allow. For more information, please see our <a href="/privacy/" data-toggle="modal" data-target="#figureModalMed" role="link" aria-label="View Privacy Policy">Privacy Policy</a>.',acceptAll:"Accept all",rejectAll:"Reject non-essential",manage:"Manage",save:"Save choices",reopen:"Privacy settings"};class h{constructor(e){var t,n,i,o,r;u(this,"version"),u(this,"categories"),u(this,"cookieName"),u(this,"cookieDays"),u(this,"gpcAutoDeny"),u(this,"showReopenButton"),u(this,"copy"),this.version=e.version,this.categories=null!=(t=e.categories)?t:d,this.cookieName=null!=(n=e.cookieName)?n:"offset_consent",this.cookieDays=null!=(i=e.cookieDays)?i:180,this.gpcAutoDeny=null==(o=e.gpcAutoDeny)||o,this.showReopenButton=null!=(r=e.showReopenButton)&&r,this.copy=l(l({},f),e.copy),c("initialized",{version:this.version,categories:this.categories.map(e=>e.id),cookieName:this.cookieName,cookieDays:this.cookieDays,gpcAutoDeny:this.gpcAutoDeny,showReopenButton:this.showReopenButton})}readState(){try{const e=this.readCookie(this.cookieName);if(!e)return c("readState: no consent cookie found"),null;const t=JSON.parse(e);return t.version!==this.version?(c(`readState: stored version "${t.version}" does not match current version "${this.version}", discarding`),null):(c("readState: found valid record",t),t)}catch(e){return c("readState: failed to parse consent cookie",e),null}}persist(e,t){const n={version:this.version,ts:(new Date).toISOString(),gpc:this.gpcActive(),source:t,grants:e,ua:navigator.userAgent};c("persist",n),this.writeCookie(this.cookieName,JSON.stringify(n),this.cookieDays),this.sendLog(n),this.applyGrants(e)}allGrants(e){return Object.fromEntries(this.categories.map(t=>[t.id,e]))}applyGrants(e){c("applyGrants",e);for(const t of this.categories)e[t.id]&&this.releaseCategory(t.id);window.dispatchEvent(new CustomEvent("offset:consent",{detail:{grants:e}}))}gpcActive(){const e=this.gpcAutoDeny&&!0===navigator.globalPrivacyControl;return e&&c("gpcActive: Global Privacy Control detected"),e}reset(){c("reset: clearing consent cookie and reloading"),this.writeCookie(this.cookieName,"",-1),location.reload()}releaseCategory(e){const t=document.querySelectorAll(`script[type="text/plain"][data-cc-category="${e}"]`);c(`releaseCategory: "${e}" â releasing ${t.length} tag(s)`),t.forEach(e=>{var t;const n=document.createElement("script");for(const t of Array.from(e.attributes))if("type"!==t.name&&"data-cc-category"!==t.name){if("data-src"===t.name){n.src=t.value;continue}n.setAttribute(t.name,t.value)}e.textContent&&(n.textContent=e.textContent),null==(t=e.parentNode)||t.replaceChild(n,e)})}sendLog(e){c("sendLog: no LOG_ENDPOINT configured, skipping audit log POST")}readCookie(e){var t;const n=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return n?decodeURIComponent(null!=(t=n[n.length-1])?t:""):null}writeCookie(e,t,n){const i=new Date;i.setTime(i.getTime()+864e5*n),document.cookie=`${e}=${encodeURIComponent(t)};expires=${i.toUTCString()};path=/;SameSite=Lax`}}class p{constructor(e){u(this,"manager"),u(this,"root",null),u(this,"banner",null),u(this,"modal",null),u(this,"reopen",null),this.manager=e}mount(){var e,t,n,i,o,r;if(this.root)return;const a=document.createElement("div");a.id="oc-root",a.innerHTML='<style>:root {\n --offset-modal-z-index: 9999;\n}\n\n#oc-root {\n font-family: var(--offset-font-family-base, system-ui, -apple-system, sans-serif);\n}\n\n.oc-banner {\n position: fixed;\n left: 24px;\n right: 24px;\n bottom: 24px;\n z-index: var(--offset-modal-z-index, 9999);\n background: var(--offset-body-bg, #fff);\n color: var(--offset-body-color, #212529);\n border: var(--offset-border-width, 1px) solid var(--offset-border-color, #dee2e6);\n border-radius: var(--offset-border-radius, 0.25rem);\n box-shadow: var(--offset-modal-shadow, 0 2px 20px 0 rgba(0, 0, 0, 0.1));\n padding: 20px 24px;\n display: flex;\n gap: 24px;\n align-items: center;\n flex-wrap: wrap;\n max-width: 1100px;\n margin: 0 auto;\n}\n\n.oc-banner-text {\n flex: 1;\n min-width: 260px;\n}\n\n.oc-banner-text strong {\n font-size: 15px;\n}\n\n.oc-banner-text p {\n margin: 0;\n font-size: 13.5px;\n line-height: 1.55;\n color: var(--offset-gray-600, #6c757d);\n}\n\n.oc-banner-btns {\n display: flex;\n gap: 10px;\n flex-wrap: wrap;\n}\n\n.oc-btn {\n cursor: pointer;\n border-radius: var(--offset-btn-border-radius, var(--offset-border-radius, 0.25rem));\n padding: var(--offset-input-btn-padding-y, 0.5rem) var(--offset-input-btn-padding-x, 0.75rem);\n font-size: var(--offset-input-btn-font-size, 1rem);\n font-family: var(--offset-font-family-base, system-ui, -apple-system, sans-serif);\n line-height: var(--offset-input-btn-line-height, 1.8);\n border: 1px solid;\n transition: opacity 0.15s;\n}\n\n.oc-btn:hover {\n opacity: 0.85;\n}\n\n.oc-btn-solid {\n background: var(--offset-btn-bg-primary, #007bff);\n color: var(--offset-btn-text-color-primary, #fff);\n border-color: var(--offset-btn-border-primary, var(--offset-btn-bg-primary, #007bff));\n}\n\n.oc-btn-ghost {\n background: transparent;\n color: var(--offset-body-color, #212529);\n border-color: var(--offset-border-color, #dee2e6);\n}\n\n.oc-btn-full {\n width: 100%;\n margin-top: 8px;\n}\n\n.oc-modal {\n position: fixed;\n inset: 0;\n z-index: calc(var(--offset-modal-z-index, 9999) + 1);
2\n background: var(--offset-overlay-bg, rgba(0, 0, 0, 0.1));\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 20px;\n}\n\n.oc-modal-card {\n background: var(--offset-modal-content-bg, var(--offset-body-bg, #fff));\n color: var(--offset-body-color, #212529);\n max-width: 520px;\n width: 100%;\n border-radius: var(--offset-border-radius, 0.25rem);\n padding: 8px 28px 28px;\n max-height: 85vh;\n max-height: 85dvh;\n overflow: auto;\n box-shadow: var(--offset-modal-shadow, 0 2px 20px 0 rgba(0, 0, 0, 0.1));\n}\n\n.oc-modal-head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 20px 0 14px;\n border-bottom: 1px solid var(--offset-border-color, #dee2e6);\n}\n\n.oc-modal-head strong {\n font-size: 18px;\n}\n\n.oc-modal-close {\n background: none;\n border: none;\n font-size: 26px;\n line-height: 1;\n cursor: pointer;\n color: var(--offset-gray-600, #6c757d);\n padding: 0;\n}\n\n.oc-modal-body {\n margin: 14px 0 0;\n font-size: 13.5px;\n line-height: 1.55;\n color: var(--offset-gray-600, #6c757d);\n}\n\n.oc-row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 18px;\n padding: 18px 0;\n border-bottom: 1px solid var(--offset-border-color, #dee2e6);\n}\n\n.oc-row-name {\n font-size: 14px;\n font-weight: 600;\n}\n\n.oc-row-desc {\n font-size: 12.5px;\n color: var(--offset-gray-600, #6c757d);\n margin-top: 3px;\n line-height: 1.5;\n}\n\n.oc-row-desc ul {\n margin: 0;\n padding-left: 20px;\n}\n\n.oc-row-desc li {\n font-size: 12.5px;\n}\n\n.oc-always {\n font-size: 11px;\n text-transform: uppercase;\n letter-spacing: 0.05em;\n color: var(--offset-gray-600, #6c757d);\n white-space: nowrap;\n}\n\n.oc-switch {\n position: relative;\n display: inline-block;\n width: 42px;\n height: 24px;\n flex: none;\n}\n\n.oc-switch input {\n opacity: 0;\n width: 0;\n height: 0;\n}\n\n.oc-slider {\n position: absolute;\n inset: 0;\n background: var(--offset-gray-300, #dee2e6);\n border-radius: 24px;\n transition: 0.2s;\n cursor: pointer;\n}\n\n.oc-slider::before {\n content: "";\n position: absolute;\n height: 18px;\n width: 18px;\n left: 3px;\n top: 3px;\n background: var(--offset-white, #fff);\n border-radius: 50%;\n transition: 0.2s;\n}\n\n.oc-switch input:checked + .oc-slider {\n background: var(--offset-btn-bg-primary, #007bff);\n}\n\n.oc-switch input:checked + .oc-slider::before {\n transform: translateX(18px);\n}\n\n.oc-reopen {\n position: fixed;\n left: 35px;\n bottom: 35px;\n z-index: calc(var(--offset-modal-z-index, 9999) - 1);\n background: var(--offset-body-bg, #fff);\n color: var(--offset-body-color, #212529);\n border: 1px solid var(--offset-border-color, #dee2e6);\n border-radius: var(--offset-btn-border-radius, var(--offset-border-radius, 0.25rem));\n padding: 6px 11px;\n font-size: 8px;\n letter-spacing: 0.05em;\n text-transform: uppercase;\n cursor: pointer;\n box-shadow: var(--offset-modal-shadow, 0 2px 20px 0 rgba(0, 0, 0, 0.1));\n font-family: var(--offset-font-family-base, system-ui, -apple-system, sans-serif);\n}\n\n@media (max-width: 560px) {\n .oc-banner {\n left: 12px;\n right: 12px;\n bottom: max(12px, env(safe-area-inset-bottom));\n padding: 16px;\n gap: 14px;\n }\n .oc-banner-text {\n min-width: 0;\n }\n .oc-banner-btns {\n width: 100%;\n flex-direction: column;\n }\n .oc-btn {\n flex: 1;\n width: 100%;\n padding: 0.65rem 0.75rem;\n }\n .oc-modal {\n padding: 0;\n align-items: flex-end;\n }\n .oc-modal-card {\n max-width: 100%;\n max-height: 90vh;\n max-height: 90dvh;\n border-radius: var(--offset-border-radius, 0.25rem)\n var(--offset-border-radius, 0.25rem) 0 0;\n padding: 8px 18px calc(18px + env(safe-area-inset-bottom));\n }\n .oc-modal-head {\n padding: 16px 0 12px;\n }\n .oc-row {\n padding: 14px 0;\n gap: 12px;\n }\n .oc-reopen {\n left: 16px;\n bottom: max(16px, env(safe-area-inset-bottom));\n }\n}\n</style>'+this.buildBanner()+this.buildModal()+this.buildReopenBtn(),document.body.appendChild(a),this.root=a,this.banner=a.querySelector("#oc-banner"),this.modal=a.querySelector("#oc-modal"),this.reopen=a.querySelector("#oc-reopen"),null==(e=a.querySelector("#oc-accept"))||e.addEventListener("click",()=>{this.manager.persist(this.manager.allGrants(!0),"accept_all"),this.hideAll()}),null==(t=a.querySelector("#oc-reject"))||t.addEventListener("click",()=>{this.manager.persist(this.manager.allGrants(!1),"reject_all"),this.hideAll()}),null==(n=a.querySelector("#oc-manage"))||n.addEventListener("click",()=>this.openModal()),null==(i=a.querySelector("#oc-reopen"))||i.addEventListener("click",()=>this.openModal()),null==(o=a.querySelector("#oc-modal-close"))||o.addEventListener("click",()=>this.closeModal()),null==(r=a.querySelector("#oc-modal-save"))||r.addEventListener("click",()=>{var e;const t={};for(const n of this.manager.categories){const i=a.querySelector(`#oc-tog-${n.id}`);t[n.id]=null!=(e=null==i?void 0:i.checked)&&e}this.manager.persist(t,"managed"),this.hideAll()});const s=this.manager.readState();if(s)return c("mount: existing consent record found, applying grants and skipping banner"),this.manager.applyGrants(s.grants),void(this.reopen&&(this.reopen.hidden=!1));this.manager.gpcActive()&&(c("mount: GPC active, auto-denying all categories (banner still shown)"),this.manager.persist(this.manager.allGrants(!1),"gpc")),c("mount: no prior decision, showing banner"),this.banner&&(this.banner.hidden=!1)}open(){this.modal&&this.openModal()}openModal(){var e,t;c("openModal");const n=this.manager.readState();for(const i of this.manager.categories){const o=null==(e=this.modal)?void 0:e.querySelector(`#oc-tog-${i.id}`);o&&(o.checked=null!=(t=null==n?void 0:n.grants[i.id])&&t)}this.banner&&(this.banner.hidden=!0),this.modal&&(this.modal.hidden=!1)}closeModal(){c("closeModal"),this.modal&&(this.modal.hidden=!0),this.manager.readState()?this.reopen&&(this.reopen.hidden=!1):this.banner&&(this.banner.hidden=!1)}hideAll(){this.banner&&(this.banner.hidden=!0),this.modal&&(this.modal.hidden=!0),this.reopen&&(this.reopen.hidden=!1)}buildBanner(){const{copy:e}=this.manager;return`<div id="oc-banner" class="oc-banner" role="dialog" aria-live="polite" hidden>\n <div class="oc-banner-text">\n <strong>${e.title}</strong>\n <p>${e.body}</p>\n </div>\n <div class="oc-banner-btns">\n <button id="oc-manage" class="oc-btn oc-btn-ghost">${e.manage}</button>\n <button id="oc-reject" class="oc-btn oc-btn-ghost">${e.rejectAll}</button>\n <button id="oc-accept" class="oc-btn oc-btn-solid">${e.acceptAll}</button>\n </div>\n</div>`}buildModal(){const{copy:e,categories:t}=this.manager,n=t.map(e=>`\n <div class="oc-row">\n <div>\n <div class="oc-row-name">${e.name}</div>\n <div class="oc-row-desc">${e.desc}</div>\n </div>\n <label class="oc-switch" aria-label="Toggle ${e.name}">\n <input type="checkbox" id="oc-tog-${e.id}">
2\n <span class="oc-slider"></span>\n </label>\n </div>`).join("");return`<div id="oc-modal" class="oc-modal" hidden>\n <div class="oc-modal-card" role="dialog" aria-modal="true" aria-label="${e.title}">\n <div class="oc-modal-head">\n <strong>${e.title}</strong>\n <button id="oc-modal-close" class="oc-modal-close" aria-label="Close">×</button>\n </div>\n <p class="oc-modal-body">${e.body}</p>\n <div class="oc-row">\n <div>\n <div class="oc-row-name">Strictly necessary</div>\n <div class="oc-row-desc">Required for the site to function.<br/>\n\t\t\t<ul>\n\t\t\t\t<li>Offset Commerce (cms, commerce and payment processing)</li>\n\t\t\t\t<li>Stripe.js (payment processing and fraud detection)</li>\n\t\t\t\t<li>reCAPTCHA (form security/anti-spam)</li>\n\t\t\t\t<li>FontAwesome (UI dependency)</li>\n\t\t\t\t<li>accessiBe (accessibility widget used when applicable)</li>\n\t\t\t</ul>\n\t\t</div>\n </div>\n <span class="oc-always">Always on</span>\n </div>\n ${n}\n <button id="oc-modal-save" class="oc-btn oc-btn-solid oc-btn-full">${e.save}</button>\n </div>\n</div>`}buildReopenBtn(){return this.manager.showReopenButton?`<button id="oc-reopen" class="oc-reopen" hidden>${this.manager.copy.reopen}</button>`:""}}},451:function(){window.OFFSET=window.OFFSET||{},window.OFFSET.consent={version:"2026-06-01"}},894:function(){$(document).ready(()=>{const e={},t=function(t){const n=e=>t?t+" #"+e:"#"+e,i=t?t+" input.places-autocomplete-line-1":".places-autocomplete-line-1";$(i).each((t,i)=>{const o=$(i).attr("id"),r=n(o);var a;e[r]||(e[r]={autocomplete:null,components:(a=o,{street_number:{component:`${a}`,type:"long_name"},optional_line_2:{component:`${a}-line-2`,type:"long_name"},locality:{component:`${a}-city`,type:"long_name"},postal_code:{component:`${a}-postal`,type:"short_name"},country:{component:`${a}-country`,type:"short_name"},administrative_area_level_1:{component:`${a}-state`,type:"short_name"},route:{component:`${a}`,type:"long_name"}})})}),$(i).focus(function(t){const i=$(t.target).attr("id");n(i);!function(t){const i=n(t);e[i].autocomplete=new google.maps.places.Autocomplete($(i)[0],{types:["geocode"]}),e[i].autocomplete.setFields(["address_components"]),e[i].autocomplete.addListener("place_changed",()=>function(t){try{const{address_components:n}=e[t].autocomplete.getPlace();Object.keys(e[t].components).forEach(n=>{const i=`.${e[t].components[n].component}-container`;$(i).css({display:"block"})}),n.forEach(function(i){const o=i.types[0];if(e[t].components[o]){const r=i[e[t].components[o].type],a=`#${e[t].components[o].component}`;if("country"===o){const i="administrative_area_level_1",o=`#${e[t].components[i].component}`,s=n.find(function(e){return e.types[0]===i});$(a).val(r).trigger("change"),$(o).val(s.short_name).trigger("change")}else if("route"!==o)$(a).val(r).trigger("change");else{const e=$(a).val();$(a).val(e.concat(" "+r)).trigger("change")}}})}catch(e){}}(i))}(i)})};$('div[id^="figureModal"]').on("show.bs.modal",function(e){$(document).ajaxComplete(function(n,i,o){try{window.crs.init();const n=$(e.relatedTarget).attr("data-target");t(n)}catch(e){}})}),t()})},539:function(){var e=e||{};e.debounce=function(e,t){let n;return function(...i){clearTimeout(n),n=setTimeout(()=>{e.apply(this,i)},t)}},e.shippingMessage=void("read"!=$.cookie("specialmessage")&&(setTimeout(function(){$("#figureMessageModal").modal()},3e3),$("#figureMessageModal").on("hide.bs.modal",function(e){$.cookie("specialmessage","read",{path:"/"})}),$("#figureMessageModal a").click(function(){$.cookie("specialmessage","read",{path:"/"})}))),e.referralSelect=void $("#referralSourceSelect").change(function(){var e=$
2(this).find(":selected").attr("data-message");$("#referraltext").removeClass("d-none").attr("placeholder",e).removeAttr("disabled")}),e.dropdownMenu=function(){$(".main-header .header-nav-listing").on("mouseenter",e=>{const t=$(e.target).closest(".header-nav-listing"),n=$(e.target).closest(".header-nav-listing.dropdown-active");t.hasClass("show")||$(".header-nav-listing.dropdown-active").dropdown("hide"),n.length&&n.dropdown("show")}),$(".header-nav-listing.dropdown-active").on("click",e=>{const t=$(e.target).closest(".header-nav-listing.dropdown-active");t.attr("href")&&"#"!==t.attr("href")&&(window.location.href=t.attr("href"))});[".offset-brand-statement","section","main","footer"].forEach(e=>{$(e).on("mouseenter",()=>{$(".header-nav-listing.dropdown-active").dropdown("hide")})}),$(window).on("scroll",()=>{$(".header-nav-listing.dropdown-active").dropdown("hide")})}(),$.fn.typeWriter=function(e){const t=$.extend({speed:50,deleteSpeed:50,pauseBetween:50,pauseBeforeDelete:2e3},e);return this.each(function(){const e=$(this),n=[];for(i=1;i<10;i++)e.data(`statement-${i}`)&&n.push(e.data(`statement-${i}`));let o=0,r="",a=!1;!function i(){const s=n[o];r=a?"":s.substring(0,r.length+1),e.find(".typing-text").text(r);let l=t.speed;a&&(l=t.deleteSpeed),a||r!==s?a&&""===r&&(a=!1,o=(o+1)%n.length,l=t.pauseBetween):(l=t.pauseBeforeDelete,a=!0),setTimeout(i,l)}()})},e.footerTypeWriter=void $(".js-brand-statement-logo-ext").typeWriter(),e.init=function(){$("body").headroom({offset:20});let e=.01*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`),/Android|webOS|iPad|iPhone|Opera Mini/i.test(navigator.userAgent)&&($("body").addClass("mobile-device"),$(".home-intro").addClass("mobile-device"))}
2(),e.homeMeasure=function(){var e=$(".home-intro-bottom").outerHeight();$(".home-intro").css("padding-bottom",e)},$(window).on("load resize",function(){e.homeMeasure()}),e.accordionHack=void $('[data-toggle="collapse"]').not(".nav-collapser").on("click",function(e){$(this).parents("#optionspanes").find(".collapse.show")&&($(this).index('[data-toggle="collapse"]'),$(".collapse.show").index(".collapse"))}),e.homepageTextSwapper=function(){var e=$(".changer span").length,t=$(".changer").attr("data-time-interval");function n(){setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(2)").addClass("shown")},t),setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(3)").addClass("shown")},2*t),setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(4)").addClass("shown")},3*t),4==e&&setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:first-child").addClass("shown")},4*t),5==e&&(setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(5)").addClass("shown")},4*t),setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:first-child").addClass("shown")},5*t)),6==e&&(setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(5)").addClass("shown")},4*t),setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:nth-child(6)").addClass("shown")},5*t),setTimeout(function(){$(".changer span").removeClass("shown"),$(".changer span:first-child").addClass("shown")},6*t))}n(),setInterval(function(){n()},t*e);var i=$(".changer2 span").length,o=$(".changer2").attr("data-time-interval");function r(){setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(2)").addClass("shown")},o),setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(3)").addClass("shown")},2*o),setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(4)").addClass("shown")},3*o),4==i&&setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:first-child").addClass("shown")},4*o),5==i&&(setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(5)").addClass("shown")},4*o),setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:first-child").addClass("shown")},5*o)),6==i&&(setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(5)").addClass("shown")},4*o),setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:nth-child(6)").addClass("shown")},5*o),setTimeout(function(){$(".changer2 span").removeClass("shown"),$(".changer2 span:first-child").addClass("shown")},6*o))}r(),setInterval(function(){r()},o*i)}(),e.hoverHack=($(".dropdown").hover(function(){$(this).find(".dropdown-toggle").dropdown("toggle")},function(){$(this).find(".dropdown-toggle").dropdown("hide")}
2),void $(".nav-primary").click(function(){var e=$(this).attr("href");$(".dropdown-toggle").dropdown("hide"),window.location=e})),e.slideHeight=function(){$(".carousel").each(function(){var e=$(".carousel-item",this),t=$(window).width();e.css("min-height",0);var n=Math.max.apply(null,e.map(function(){return $(this).outerHeight()}).get());e.css("min-height",`${n}px`),t>=992?$(".inset-quote").css("min-height",`${n}px`):$(".inset-quote").css("min-height","1px")})},e.slideCount=function(){$(".carousel").each(function(){var e=$(this).find(".carousel-item").length;$(".total-slides").html(e)}),$(".carousel").on("slid.bs.carousel",function(){var e=$(this).find(".carousel-item.active").index()+1;$(".current-slide").html(e)})},e.statementMeasure=function(){var e=$(window).width(),t=$(".site-header .desktop-nav .nav-links").outerWidth();e>=1200?$(".home-action-links").css("width",t-14):$(".home-action-links").css("width","auto")},e.slideCount(),$(window).on("load resize",function(){e.statementMeasure()}),e.ajaxModal=void $(document).on("click","a.case-study-modal",function(){var t=$(this).attr("href"),n=$(window).width();return $("#caseStudyModal").modal(),n>=768?($("#caseStudyModal .modal-load-area").load(t+"?pagetype=modal"),$("#caseStudyModal").on("shown.bs.modal",function(){$(".modal-carousel-holder").addClass("loaded"),$(document).ajaxStop(function(){e.slideHeight(),e.slideCount(),$(".modal-carousel-holder").addClass("loaded")})})):($("#caseStudyModal .modal-load-area").load(t+"?pagetype=mobilemodal"),$("#caseStudyModal").on("shown.bs.modal",function(){$(".modal-carousel-holder").addClass("loaded"),$(document).ajaxStop(function(){$(".modal-carousel-holder").addClass("loaded")})})),$("#caseStudyModal").on("hidden.bs.modal",function(){$("#caseStudyModal .modal-load-area").html("")}),!1}),e.mobileNav=void $(document).on("click","#toggleNav",function(){return $(this).hasClass("expanded")?($(this).removeClass("expanded"),$(".mobile-nav").slideUp(500).removeClass("open"),$(".hero-box").removeClass("navopen"),$(".home-intro").removeClass("navopen"),$(".logo-tagline").removeClass("navopen"),$("main a").removeAttr("tab-index").removeAttr("aria-hidden")):($(this).addClass("expanded"),$(".hero-box").addClass("navopen"),$(".mobile-nav").slideDown(500).addClass("open"),$(".hero-box").addClass("navopen"),$(".home-intro").addClass("navopen"),$(".logo-tagline").addClass("navopen"),$("main a").attr("tab-index","-1").attr("aria-hidden","true")),!1}),e.showFilters=($(document).on("click",".show-filters",function(){return $(".filter-show").fadeIn(),!1}),$(document).on("click","#closeFilters",function(){return $(window).width()<768&&$(".filter-show").fadeOut(),!1}),void $(window).resize(function(){$(window).width()>768?$(".filter-show").fadeIn():$(".filter-show").fadeOut()})),e.closeEverything=void $(document).keyup(function(e){27===e.keyCode&&($("#toggleNav").removeClass("expanded"),$(".mobile-nav").slideUp(500).removeClass("open"),$(".hero-box").removeClass("navopen"),$(".home-intro").removeClass("navopen"),$(".logo-tagline").removeClass("navopen"),$("main a").removeAttr("tab-index").removeAttr("aria-hidden"),$(window).width()<768&&$(".filter-show").fadeOut())}),e.widgetPusher=function(){$("body").hasClass("page-template-page-insights-paginated")&&$(document).ajaxStop(function(){var e=$
2(window).width(),t=$(".alm-paging-content article:nth-child(2)").position();e>767.98&&$(".sidebar-location-sidebar-thinking-landing").css("padding-top",t.top).addClass("seen")}),$(window).resize(function(){var e=$(window).width(),t=$(".alm-paging-content article:nth-child(2)").position();$("body").hasClass("page-template-page-insights-paginated")&&(e<767.98?$(".sidebar-location-sidebar-thinking-landing").css("padding-top","0"):$(".sidebar-location-sidebar-thinking-landing").css("padding-top",t.top))})},e.scrollTo=void $(document).on("click",".scrollto",function(e){if(!$(this).hasClass("killscroll")){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var t=$(this.hash),n=$(this).attr("data-offset");if(t=t.length?t:$("[name="+this.hash.slice(1)+"]"),n>0)var i=t.offset().top-n;else i=t.offset().top;t.length&&$("html,body").animate({scrollTop:i},1e3)}return!1}}),e.slickCarousel=function(){$(".thinking-carousel").slick({dots:!1,infinite:!1,responsive:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,variableWidth:!0,fade:!1,accessibility:!0,adaptiveHeight:!1,focusOnSelect:!0,TouchThreshold:1,speed:600}),$(".post-carousel").slick({arrows:!1,dots:!1,infinite:!1,responsive:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,variableWidth:!0,fade:!1,accessibility:!0,adaptiveHeight:!1,focusOnSelect:!0,TouchThreshold:1,speed:600});var e=$(".thinking-carousel").slick("slickCurrentSlide");$(".slick-prev").toggle(0!=e),$(".slick-next").toggle(2!=e),$(".thinking-carousel").one("afterChange",function(){$(".slick-prev,.slick-next").show()});var t=$(".post-carousel").slick("slickCurrentSlide");$(".slick-prev").toggle(0!=t),$(".slick-next").toggle(2!=t),$(".post-carousel").one("afterChange",function(){$(".slick-prev,.slick-next").show()}),$(".slick-current").addClass("zoomy"),$(".post-carousel").on("afterChange",function(e,t,n,i){$(".slick-slide").removeClass("zoomy"),$(".slick-current").addClass("zoomy")}),$(".thinking-carousel").on("afterChange",function(e,t,n,i){$(".slick-slide").removeClass("zoomy"),$(".slick-current").addClass("zoomy")}),$(".slick-slide:not(.slick-current) a").on("click",function(e){$(this).closest(".slick-slide").hasClass("slick-current")||e.preventDefault()})}(),e.autoPlayVideo=void $(window).on("load scroll",function(){$("video").each((e,t)=>{if(!$(t).hasClass("noauto")&&($(t).attr("playsinline",!0),t.playsinline=!0,$(t).attr("muted",!0),t.muted=!0,$(t).is(":in-viewport(180)"))){$(t).attr("autoplay",!0);const e=t.play();void 0!==e&&e.catch(e=>{console.log("Auto-play was prevented:",e)})}})}),e.ambientVideo=void $(document).on("click",".ambient-video .ambient-video-play",function(){var e=$
2(this).closest(".ambient-video"),t=e.find(".ambient-video-preview").get(0),n=e.find(".ambient-video-full").get(0);if(n)if(t&&("IFRAME"===t.tagName?t.contentWindow&&t.contentWindow.postMessage(JSON.stringify({method:"pause"}),"*"):($(t).addClass("noauto"),t.pause())),e.addClass("playing"),"IFRAME"===n.tagName)n.getAttribute("src")||n.setAttribute("src",$(n).attr("data-src"));else{n.muted=!1;var i=n.play();void 0!==i&&i.catch(e=>{console.log("Video play was prevented:",e)})}}),e.anchorHack=function(){if($(".dropdown a, .subnav a").click(function(e){var t=$(this.hash);t=t.length?t:$("[name="+this.hash.slice(1)+"]");$(window).width();t.length&&$("html,body").animate({scrollTop:t.offset().top-40},1e3)}),location.hash)$(location.hash);$(document).on("load",function(){if(location.hash){var e=$(location.hash);$("html,body").animate({scrollTop:e.offset().top-40},"linear")}}),$(".scrolltooptions").click(function(){var e=$("#theoptions"),t=e.offset().top;e.length&&$("html,body").animate({scrollTop:t},1e3)})}(),e.paginationHack=void $(document).on("click",".alm-paging a",function(){$("html,body").animate({scrollTop:0},300)}),e.flipper=function(){$(".logo-flipper-content").each((e,t)=>{let n=0;for(let e=1;e<5;e++)$(t).find(`.fb${e}`).length&&$(t).find(`.fb${e}`).find("img").length>n&&(n=$(t).find(`.fb${e}`).find("img").length);n>1&&setTimeout(()=>{for(let e=1;e<5;e++)$(t).find(`.fb${e}`).length&&setTimeout(()=>{$(t).find(`.fb${e}`).addClass("go")},1===e?0:100*e)},n<3?5e3:3333),n>2&&setTimeout(()=>{for(let e=1;e<5;e++)$(t).find(`.fb${e}`).length&&setTimeout(()=>{$(t).find(`.fb${e}`).addClass("more")},1===e?0:100*e)},6666),n>1&&setTimeout(()=>{for(let e=1;e<5;e++)$(t).find(`.fb${e}`).length&&setTimeout(()=>{$(t).find(`.fb${e}`).removeClass("more").removeClass("go")},1===e?0:100*e)},9999)})},e.flipper(),setInterval(function(){e.flipper()},10001),e.ajaxFormTest=void $("#signUpTestForm").submit(function(e){e.preventDefault();var t=$(this);return $.ajax({type:"POST",url:"https://offsetcrm.developmentsite.io/signup/create-account/",dataType:"json",data:t.serialize(),success:function(e){"success"==e.status?($("#formMessaging").html("Thank you for your submission!").removeClass("d-none").removeAttr("style"),t.hide()):$("#formMessaging").html("Looks like you are already on our list, thank you!").removeClass("d-none").css("color","red")},error:function(e){$("#formMessaging").html("An error has occurred").removeClass("d-none").css("color","red")}}),!1}),e.rolePicker=($("body").hasClass("page-template-page-work")&&$(".category-featured").length&&($(".person-filter").addClass("d-none"),$(".category-featured").removeClass("d-none"),$(".feat").removeClass("d-none").addClass("selected"),$(".show-all").removeClass("selected")),void $(".filter-bar a").click(function(){var e=$
2(this.hash);if(e=e.length?e:$("[name="+this.hash.slice(1)+"]"),$(window).width(),e.length&&$("html,body").animate({scrollTop:e.offset().top-100},1e3),$(".filter-bar a.selected").removeClass("selected"),$(this).addClass("selected"),$(this).hasClass("show-all"))$(".person-filter").removeClass("d-none");else{var t=$(this).attr("data-department");$(".person-filter").addClass("d-none"),$(t).removeClass("d-none")}return!1})),e.sticky=void $(window).scroll(function(){$(".above-sticky").is(":in-viewport")?$(".filter-bar").removeClass("stuck"):$(".filter-bar").addClass("stuck")}),e.navTabs=function(){const e=window.location.hash;e&&$(".filter-categories .nav-link").each((t,n)=>{let i=$(n).data("target");const o=i.replace("nav-","");if([i,o].includes(e)){if($(n).tab("show"),$(n).hasClass("nav-link-hidden")){$(n).removeClass("nav-link-hidden");const e=$(n).attr("id")+"-separator";$(`#${e}`).removeClass("nav-separator-hidden")}$(window).on("load",function(){setTimeout(()=>{const t=$(n).attr("data-offset");i=$(i).length?$(i):$("[name="+e.slice(1)+"]");let o=i.offset().top;t>0&&(o=i.offset().top-t),i.length&&($(".filter-categories").addClass("sticky-cat"),$(".filter-categories").addClass("sticky-cat-top"),$("html,body").animate({scrollTop:o},500,()=>{$(".filter-categories").addClass("sticky-cat"),$(".filter-container").addClass("pt-3")}))},100)})}}),$(".filter-categories .nav-link").each((e,t)=>{$(t).on("click",function(){setTimeout(()=>{$(".filter-categories").addClass("sticky-cat"),$(".filter-categories").addClass("sticky-cat-top"),$("body").removeClass("headroom--pinned"),$("body").addClass("headroom--unpinned")},1e3)})}),$(".nav-listing-sub").on("click",function(e){e.preventDefault();const t=$(e.target).closest(".nav-listing-sub");if(t.attr("href")){const e=t.attr("href");location.href=e,$(".open-nav").trigger("click")}})}(),e.categoriesEffects=function(){const t=".filter-categories",n=".filter-container";$(t).length&&$(n).length&&$(window).on("scroll load",i=>{const o=$(n).offset().top-$(window).scrollTop();e.isElementInViewport($(n))?$(t).hasClass("sticky-cat")?o<100?$(t).addClass("sticky-cat-top"):$(t).removeClass("sticky-cat-top"):o<0?$(t).addClass("fixed-cat"):$(t).removeClass("fixed-cat"):$(t).removeClass("fixed-cat")})}(),e.isElementInViewport=function(e){const t=e.offset().top,n=t+e.outerHeight(),i=$(window).scrollTop(),o=i+$(window).height();return n>i&&t<o},e.specialStickyTitle=function(){const t=$(".page-pages-work-post-special"),n=$(".work-special-section"),i=function(){const e=$(".special-sticky h4").outerHeight()+$(".special-sticky h1").outerHeight()+80;$(".special-sticky").css({top:`calc(100vh - ${e}px)`},200),$(".work-special-section").css({marginBottom:e})},o=$(".work-hero-figure"),r=$(".radial-gradient-lower-left"),a=function(){const e=$(window).height(),t=o.outerHeight(),n=$(window).scrollTop()+e;if(t<n){const e=n-t,i=Math.max(0,1-e/t*.5);r.css({bottom:e,opacity:i})}else r.css({bottom:0,opacity:1})};t.length&&n.length&&($(window).on("load",function(){i(),a()}),$(window).on("resize scroll",function(e){a()}),$(window).on("resize scroll",e.debounce(function(){e.isElementInViewport(n)&&i()},300)))}(),e.setCarouselHeight=function(){const t=function(e){const t=$(".carousel-item",e).length,n=$(".carousel-item.active",e).index();0===n?$(".carousel-control-prev",e).hide():$(".carousel-control-prev",e).show(),n===t-1?$(".carousel-control-next",e).hide():$(".carousel-control-next",e).show()},n=function(e){let t=0;const n=e.find(".carousel-item");n.css({display:"block",visibility:"hidden",position:"absolute"}),n.each(function(){const e=$(this).outerHeight();t=Math.max(t,e)}),n.css({display:"",visibility:"",position:""}),e.find(".carousel-inner").height(t)};$(document).ready(function(){$(".quote-carousel").each((e,i)=>{t($(i)),$(i).on("slid.bs.carousel",function(){t($(i))}),n($(i))})}),$("#myCarousel img").on("load",function(){$(".quote-carousel").each((e,t)=>{n($(t))})}),$(window).on("resize",e.debounce(function(){$(".quote-carousel").each((e,t)=>{n($(t))})},250))}(),e.checker=void 0,e.addDash=void $(".add-dash").each((e,t)=>{if($(t).text().length&&0!==$(t).text().indexOf("-")&&0!==$(t).text().indexOf("â")){const e=$(t).text();$(t).text(`â ${e}`)}}),e.collapseTextChange=function(){const t=$(".collapse-text-change-button"),n=t.data("collapse-text"),i=t.data("expanded-text"),o=t.data("target");t.on("click",function(e){e.preventDefault(),$(o).collapse("toggle")}),$(o).on("show.bs.collapse hide.bs.collapse",e.debounce(function(e){"show"===e.type?t.text(i):t.text(n)},500))}(),e.relatedPosts=function(){const e=$(".related-posts-container");e.length&&$(window).on("load resize",function(){if($(window).width()>=992){const t=$(".content-group-parent").height();e.css({"padding-top":.8*t-250})}else e.css({"padding-top":0}
2)})}(),e.addBylineDash=void $(".the-author").each((e,t)=>{/^.{0,3}[-ââ]/.test($(t).text().trim())||$(t).find("p").length&&$(t).find("p").each((e,t)=>{e>0||/^[-ââ]/.test($(t).text().trim())||$(t).prepend("â ")})})},534:function(e,t,n){!function(e){"use strict";var t=Object.defineProperty,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,a=(e,n,i)=>n in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,s=(e,t)=>{for(var n in t||(t={}))o.call(t,n)&&a(e,n,t[n]);if(i)for(var n of i(t))r.call(t,n)&&a(e,n,t[n]);return e},l=(e,t,n)=>a(e,"symbol"!=typeof t?t+"":t,n),u=(e,t,n)=>new Promise((i,o)=>{var r=e=>{try{s(n.next(e))}catch(e){o(e)}},a=e=>{try{s(n.throw(e))}catch(e){o(e)}},s=e=>e.done?i(e.value):Promise.resolve(e.value).then(r,a);s((n=n.apply(e,t)).next())});function c(e,t){return!e||Array.isArray(e)||"object"!=typeof e||Object.keys(t).forEach(n=>{const i=t[n];i&&n in e&&(e[i]=e[n],delete e[n])}),e}const d="https://cantina.clientdev.io/api/";function f(e,t=null){if(null===t){if("undefined"!=typeof window){const t=window.localStorage.getItem(`offset-${e}`);if(t)return JSON.parse(t)}return null}"undefined"!=typeof window&&window.localStorage.setItem(`offset-${e}`,JSON.stringify(t))}function h(e){return["config"].some(t=>e.startsWith(t))}function p(e){var t,n;const i=null==(t=window.OFFSET)?void 0:t.offsetLocalCantina;return _(i)?null:"object"!=typeof i||Array.isArray(i)||null===i?(null==(n=window.OFFSET)?void 0:n.offsetLocalCantina)+e:e in i?i[e]:null}let g=!1;function m(e={}){if(!_(e.sessionId))return e.sessionId;const t=f("session-id");if(!_(t))return t;const n=b("PHPSESSID");if(!_(n))return f("session-id",n),n;const i=window.crypto.randomUUID();return f("session-id",i),i}function v(e){return u(this,arguments,function*(e,t={}){const n=m(t);function i(){return u(this,null,function*(){var o;const r=s({Accept:"application/json","Content-Type":"application/json"},(null==t?void 0:t.headers)||{}),a=p(e),l=!_(a)&&!g,u=l?a:d+e;if(l||(r["X-API-Key"]=null==(o=window.OFFSET)?void 0:o.apiKey,_(n)||(r["X-Session-Id"]=n)),l){const t=y(e);if(t)return S(`Using inline data for endpoint ${e}`),t}const c=yield fetch(u+"?cantina=true",s({mode:l?"same-origin":"cors",credentials:"include",headers:r},t));if(404===c.status&&l)return g=!0,i();if(200===c.status){const t=yield c.json();if(null!=t&&!_(t.error)&&"Authentication Required"===t.error)throw new Error("Authentication Required");return null!=t&&_(t.error)&&h(e)&&f(e,t),t}throw new Error(`Request failed with status ${c.status} for endpoint ${e}`)})}if(h(e)){const t=f(e);if(t)return i(),t}return yield i()})}function y(e){const t=document.querySelector(`[data-offset-inline="${e}"]`);if(t)try{const e=t.content?t.content.textContent:t.textContent&&""!=t.textContent?t.textContent:"{}";return JSON.parse(e)}catch(t){S(`Error parsing inline data for endpoint ${e}:`,t)}return null}function b(e){const t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():null}function _(e){return!e||null==e||""===e}function S(...e){var t;(null==(t=window.OFFSET)?void 0:t.debug)&&console.log(...e)}const w={PageView:"pageview",CompleteRegistration:"sign_up",ViewCart:"view_cart",ViewItemList:"view_item_list",ViewItem:"view_item",AddToCart:"add_to_cart",RemoveFromCart:"remove_from_cart",InitiateCheckout:"begin_checkout",Purchase:"purchase"};function k(e,t={}){let n=t&&t.items||[];return Array.isArray(n)||(n=Object.values(n)),"ViewItem"===e||"ViewCart"===e?t.items=n.map(e=>("producer"in(e=c(e,{id:"item_id",name:"item_name",producer:"item_brand",blends:"item_variant",country:"item_category",region:"item_category2"}))&&(e.item_category3=e.producer),e)):("AddToCart"===e||"RemoveFromCart"===e||"InitiateCheckout"===e||"Purchase"===e)&&(t.items=n.map(e=>e=c(e,{id:"item_id",name:"item_name"}))),t}class T{constructor(e=null,t=null){this.trackingId=e,this.offsetTrackingId=t,this.hasGtag()||this.loadGtag()}trackEvent(e,t){t=k(e,t),w[e]&&(e=w[e]),_(e)?window.dataLayer.push(t):window.gtag("event",e,t)}hasGtag(){return"function"==typeof window.gtag}loadGtag(){const e=document.createElement("script");
2e.src=`https://www.googletagmanager.com/gtag/js?id=${this.trackingId}`,e.async=!0,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),this.trackingId&&window.gtag("config",this.trackingId),this.offsetTrackingId&&window.gtag("config",this.offsetTrackingId)}}const A={ViewItem:"ViewContent"};function C(e,t={}){return("AddToCart"===e||"InitiateCheckout"===e||"Purchase"===e)&&(t=c(t,{items:"contents"})),t}const E=["AddPaymentInfo","AddToCart","AddToWishlist","CompleteRegistration","Contact","CustomizeProduct","Donate","FindLocation","InitiateCheckout","Lead","Purchase","Schedule","Search","StartTrial","SubmitApplication","Subscribe","ViewContent"];class I{constructor(e=null,t=null){this.trackingId=e,this.offsetTrackingId=t,this.hasFacebookPixel()||this.loadFacebookPixel()}trackEvent(e,t){t=C(e,t),A[e]&&(e=A[e]),E.includes(e)?window.fbq("track",e,t):window.fbq("trackCustom",e,t)}hasFacebookPixel(){var e;if("function"==typeof window.fbq)return!0;const t=document.getElementsByTagName("script");for(let n=0;n<t.length;n++)if(null!=(e=t[n])&&e.src.includes("connect.facebook.net"))return!0;return!1}loadFacebookPixel(){const e=document.createElement("script");e.src=`https://connect.facebook.net/en_US/sdk.js?id=${this.trackingId}`,e.async=!0,document.head.appendChild(e),window.fbq=function(){window.fbq.callMethod?window.fbq.callMethod.apply(window.fbq,arguments):window.fbq.queue.push(arguments)},window.fbq.push=window.fbq,window.fbq.loaded=!0,window.fbq.version="2.0",window.fbq.queue=[],this.trackingId&&window.fbq("init",this.trackingId),this.offsetTrackingId&&window.fbq("init",this.offsetTrackingId)}}var x=function(e,t){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function O(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var N=function(){return N=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},N.apply(this,arguments)};function $(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}function P(e,t,n,i){function o(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?n(e.value):o(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())})}function L(e,t){var n,i,o,r,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],i=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function M(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);
2if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function D(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function B(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function R(e){return this instanceof R?(this.v=e,this):new R(e)}function H(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),r=[];return i={},s("next"),s("throw"),s("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){o[e]&&(i[e]=function(t){return new Promise(function(n,i){r.push([e,t,n,i])>1||l(e,t)})},t&&(i[e]=t(i[e])))}function l(e,t){try{u(o[e](t))}catch(e){f(r[0][3],e)}}function u(e){e.value instanceof R?Promise.resolve(e.value.v).then(c,d):f(r[0][2],e)}function c(e){l("next",e)}function d(e){l("throw",e)}function f(e,t){e(t),r.shift(),r.length&&l(r[0][0],r[0][1])}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof M?M(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){o(i,r,(t=e[n](t)).done,t.value)})}}function o(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}}"function"==typeof SuppressedError&&SuppressedError;var K,U,G="Event tracked successfully",F="Unexpected error occurred",W="Event rejected due to exceeded retry count",z="Event skipped due to optOut config",q="Event rejected due to missing API key",V="Invalid API key",J="Client not initialized";(U=K||(K={})).Unknown="unknown",U.Skipped="skipped",U.Success="success",U.RateLimit="rate_limit",U.PayloadTooLarge="payload_too_large",U.Invalid="invalid",U.Failed="failed",U.Timeout="Timeout",U.SystemError="SystemError";var Y,Q,Z,X=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=K.Unknown),{event:e,code:t,message:n}},ee=function(e){return e?(e^16*Math.random()>>e/4).toString(16):(String(1e7)+String(-1e3)+String(-4e3)+String(-8e3)+String(-1e11)).replace(/[018]/g,ee)},te=function(){function e(e){this.client=e,this.queue=[],this.applying=!1,this.plugins=[]}return e.prototype.register=function(e,t){var n,i;return P(this,void 0,void 0,function(){return L(this,function(o){switch(o.label){case 0:return this.plugins.some(function(t){return t.name===e.name})?(t.loggerProvider.warn("Plugin with name ".concat(e.name," already exists, skipping registration")),[2]):(void 0===e.name&&(e.name=ee(),t.loggerProvider.warn("Plugin name is undefined. \n Generating a random UUID for plugin name: ".concat(e.name,". \n Set a name for the plugin to prevent it from being added multiple times."))),e.type=null!==(n=e.type)&&void 0!==n?n:"enrichment",[4,null===(i=e.setup)||void 0===i?void 0:i.call(e,t,this.client)]);case 1:return o.sent(),this.plugins.push(e),[2]}})})},e.prototype.deregister=function(e,t){var n;return P(this,void 0,void 0,function(){var i,o;return L(this,function(r){switch(r.label){case 0:return-1===(i=this.plugins.findIndex(function(t){return t.name===e}))?(t.loggerProvider.warn("Plugin with name ".concat(e," does not exist, skipping deregistration")),[2]):(o=this.plugins[i],this.plugins.splice(i,1),[4,null===(n=o.teardown)||void 0===n?void 0:n.call(o)]);case 1:return r.sent(),[2]}})})},e.prototype.reset=function(e){this.applying=!1,this.plugins.map(function(e){var t;return null===(t=e.teardown)||void 0===t?void 0:t.call(e)}),this.plugins=[],this.client=e},e.prototype.push=function(e){var t=this;return new Promise(function(n){t.queue.push([e,n]),t.scheduleApply(0)})},e.prototype.scheduleApply=function(e){var t=this;this.applying||(this.applying=!0,setTimeout(function(){t.apply(t.queue.shift()).then(function(){t.applying=!1,t.queue.length>0&&t.scheduleApply(0)})},e))},e.prototype.apply=function(e){return P(this,void 0,void 0,function(){var t,n,i,o,r,a,s,l,u,c,d,f,h,p,g,m,v,y,b,_;return L(this,function(S){switch(S.label){case 0:if(!e)return[2];t=D(e,1),n=t[0],i=D(e,2),o=i[1],r=this.plugins.filter(function(e){return"before"===e.type}),S.label=1;case 1:S.trys.push([1,6,7,8]),a=M(r),s=a.next(),S.label=2;case 2:return s.done?[3,5]:(f=s.value).execute?[4,f.execute(N({},n))]:[3,4];case 3:if(null===(h=S.sent()))return o({event:n,code:0,message:""}),[2];n=h,S.label=4;case 4:return s=a.next(),[3,2];case 5:return[3,8];case 6:return l=S.sent(),v={error:l},[3,8];case 7:try{s&&!s.done&&(y=a.return)&&y.call(a)}finally{if(v)throw v.error}
2return[7];case 8:u=this.plugins.filter(function(e){return"enrichment"===e.type||void 0===e.type}),S.label=9;case 9:S.trys.push([9,14,15,16]),c=M(u),d=c.next(),S.label=10;case 10:return d.done?[3,13]:(f=d.value).execute?[4,f.execute(N({},n))]:[3,12];case 11:if(null===(h=S.sent()))return o({event:n,code:0,message:""}),[2];n=h,S.label=12;case 12:return d=c.next(),[3,10];case 13:return[3,16];case 14:return p=S.sent(),b={error:p},[3,16];case 15:try{d&&!d.done&&(_=c.return)&&_.call(c)}finally{if(b)throw b.error}return[7];case 16:return g=this.plugins.filter(function(e){return"destination"===e.type}),m=g.map(function(e){var t=N({},n);return e.execute(t).catch(function(e){return X(t,0,String(e))})}),Promise.all(m).then(function(e){var t=D(e,1)[0]||X(n,100,"Event not tracked, no destination plugins on the instance");o(t)}),[2]}})})},e.prototype.flush=function(){return P(this,void 0,void 0,function(){var e,t,n,i=this;return L(this,function(o){switch(o.label){case 0:return e=this.queue,this.queue=[],[4,Promise.all(e.map(function(e){return i.apply(e)}))];case 1:return o.sent(),t=this.plugins.filter(function(e){return"destination"===e.type}),n=t.map(function(e){return e.flush&&e.flush()}),[4,Promise.all(n)];case 2:return o.sent(),[2]}})})},e}(),ne="-",ie="AMP",oe="".concat(ie,"_unsent"),re="https://api2.amplitude.com/2/httpapi",ae="https://api.eu.amplitude.com/2/httpapi",se="https://api2.amplitude.com/batch",le="https://api.eu.amplitude.com/batch",ue=1e3,ce=function(e){if(Object.keys(e).length>ue)return!1;for(var t in e){var n=e[t];if(!de(t,n))return!1}return!0},de=function(e,t){var n,i;if("string"!=typeof e)return!1;if(Array.isArray(t)){var o=!0;try{for(var r=M(t),a=r.next();!a.done;a=r.next()){var s=a.value;if(Array.isArray(s))return!1;if("object"==typeof s)o=o&&ce(s);else if(!["number","string"].includes(typeof s))return!1;if(!o)return!1}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}else{if(null==t)return!1;if("object"==typeof t)return ce(t);if(!["number","string","boolean"].includes(typeof t))return!1}return!0},fe=function(){function e(){this._propertySet=new Set,this._properties={}}return e.prototype.getUserProperties=function(){return N({},this._properties)},e.prototype.set=function(e,t){return this._safeSet(Y.SET,e,t),this},e.prototype.setOnce=function(e,t){return this._safeSet(Y.SET_ONCE,e,t),this},e.prototype.append=function(e,t){return this._safeSet(Y.APPEND,e,t),this},e.prototype.prepend=function(e,t){return this._safeSet(Y.PREPEND,e,t),this},e.prototype.postInsert=function(e,t){return this._safeSet(Y.POSTINSERT,e,t),this},e.prototype.preInsert=function(e,t){return this._safeSet(Y.PREINSERT,e,t),this},e.prototype.remove=function(e,t){return this._safeSet(Y.REMOVE,e,t),this},e.prototype.add=function(e,t){return this._safeSet(Y.ADD,e,t),this},e.prototype.unset=function(e){return this._safeSet(Y.UNSET,e,ne),this},e.prototype.clearAll=function(){return this._properties={},this._properties[Y.CLEAR_ALL]=ne,this},e.prototype._safeSet=function(e,t,n){if(this._validate(e,t,n)){var i=this._properties[e];return void 0===i&&(i={},this._properties[e]=i),i[t]=n,this._propertySet.add(t),!0}return!1},e.prototype._validate=function(e,t,n){return void 0===this._properties[Y.CLEAR_ALL]&&!this._propertySet.has(t)&&(e===Y.ADD?"number"==typeof n:e===Y.UNSET||e===Y.REMOVE||de(t,n))},e}();(function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"})(Y||(Y={})),function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"}(Q||(Q={})),function(e){e.IDENTIFY="$identify",e.GROUP_IDENTIFY="$groupidentify",e.REVENUE="revenue_amount"}(Z||(Z={}));var he,pe=function(e,t,n){return N(N(N({},"string"==typeof e?{event_type:e}:e),n),t&&{event_properties:t})},ge=function(e,t){return N(N({},t),{event_type:Z.IDENTIFY,user_properties:e.getUserProperties()})},me=function(e,t,n,i){var o;return N(N({},i),{event_type:Z.GROUP_IDENTIFY,group_properties:n.getUserProperties(),groups:(o={},o[e]=t,o)})},ve=function(e,t,n){var i,o=new fe;return o.set(e,t),N(N({},n),{event_type:Z.IDENTIFY,user_properties:o.getUserProperties(),groups:(i={},i[e]=t,i)})},ye=function(e,t){return N(N({},t),{event_type:Z.REVENUE,event_properties:e.getEventProperties()})},be=function(e){return{promise:e||Promise.resolve()}},_e=function(){function e(e){void 0===e&&(e="$default"),this.initializing=!1,this.isReady=!1,this.q=[],this.dispatchQ=[],this.logEvent=this.track.bind(this),this.timeline=new te(this),this.name=e}return e.prototype._init=function(e){return P(this,void 0,void 0,function(){return L(this,function(t){switch(t.label){case 0:return this.config=e,this.timeline.reset(this),[4,this.runQueuedFunctions("q")];case 1:return t.sent(),this.isReady=!0,[2]}})})},e.prototype.runQueuedFunctions=function(e){return P(this,void 0,void 0,function(){var t,n,i,o,r,a,s,l;return L(this,function(u){switch(u.label){case 0:t=this[e],this[e]=[],u.label=1;case 1:u.trys.push([1,8,9,10]),n=M(t),i=n.next(),u.label=2;case 2:return i.done?[3,7]:(o=i.value,(r=o())&&"promise"in r?[4,r.promise]:[3,4]);case 3:return u.sent(),[3,6];case 4:return[4,r];case 5:u.sent(),u.label=6;case 6:return i=n.next(),[3,2];case 7:return[3,10];case 8:return a=u.sent(),s={error:a},[3,10];case 9:try{i&&!i.done&&(l=n.return)&&l.call(n)}finally{if(s)throw s.error}
vendor: 5,888 bytes, line 2
2return[7];case 10:return this[e].length?[4,this.runQueuedFunctions(e)]:[3,12];case 11:u.sent(),u.label=12;case 12:return[2]}})})},e.prototype.track=function(e,t,n){var i=pe(e,t,n);return be(this.dispatch(i))},e.prototype.identify=function(e,t){var n=ge(e,t);return be(this.dispatch(n))},e.prototype.groupIdentify=function(e,t,n,i){var o=me(e,t,n,i);return be(this.dispatch(o))},e.prototype.setGroup=function(e,t,n){var i=ve(e,t,n);return be(this.dispatch(i))},e.prototype.revenue=function(e,t){var n=ye(e,t);return be(this.dispatch(n))},e.prototype.add=function(e){return this.isReady?this._addPlugin(e):(this.q.push(this._addPlugin.bind(this,e)),be())},e.prototype._addPlugin=function(e){return be(this.timeline.register(e,this.config))},e.prototype.remove=function(e){return this.isReady?this._removePlugin(e):(this.q.push(this._removePlugin.bind(this,e)),be())},e.prototype._removePlugin=function(e){return be(this.timeline.deregister(e,this.config))},e.prototype.dispatchWithCallback=function(e,t){if(!this.isReady)return t(X(e,0,J));this.process(e).then(t)},e.prototype.dispatch=function(e){return P(this,void 0,void 0,function(){var t=this;return L(this,function(n){return this.isReady?[2,this.process(e)]:[2,new Promise(function(n){t.dispatchQ.push(t.dispatchWithCallback.bind(t,e,n))})]})})},e.prototype.process=function(e){return P(this,void 0,void 0,function(){var t,n,i;return L(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),this.config.optOut?[2,X(e,0,z)]:[4,this.timeline.push(e)];case 1:return 200===(i=o.sent()).code?this.config.loggerProvider.log(i.message):100===i.code?this.config.loggerProvider.warn(i.message):this.config.loggerProvider.error(i.message),[2,i];case 2:return t=o.sent(),n=String(t),this.config.loggerProvider.error(n),[2,i=X(e,0,n)];case 3:return[2]}})})},e.prototype.setOptOut=function(e){this.isReady?this._setOptOut(e):this.q.push(this._setOptOut.bind(this,!!e))},e.prototype._setOptOut=function(e){this.config.optOut=!!e},e.prototype.flush=function(){return be(this.timeline.flush())},e}(),Se=function(){function e(){this.productId="",this.quantity=1,this.price=0}return e.prototype.setProductId=function(e){return this.productId=e,this},e.prototype.setQuantity=function(e){return e>0&&(this.quantity=e),this},e.prototype.setPrice=function(e){return this.price=e,this},e.prototype.setRevenueType=function(e){return this.revenueType=e,this},e.prototype.setCurrency=function(e){return this.currency=e,this},e.prototype.setRevenue=function(e){return this.revenue=e,this},e.prototype.setReceipt=function(e){return this.receipt=e,this},e.prototype.setReceiptSig=function(e){return this.receiptSig=e,this},e.prototype.setEventProperties=function(e){return ce(e)&&(this.properties=e),this},e.prototype.getEventProperties=function(){var e=this.properties?N({},this.properties):{};return e[he.REVENUE_PRODUCT_ID]=this.productId,e[he.REVENUE_QUANTITY]=this.quantity,e[he.REVENUE_PRICE]=this.price,e[he.REVENUE_TYPE]=this.revenueType,e[he.REVENUE_CURRENCY]=this.currency,e[he.REVENUE]=this.revenue,e[he.RECEIPT]=this.receipt,e[he.RECEIPT_SIG]=this.receiptSig,e},e}();!function(e){e.REVENUE_PRODUCT_ID="$productId",e.REVENUE_QUANTITY="$quantity",e.REVENUE_PRICE="$price",e.REVENUE_TYPE="$revenueType",e.REVENUE_CURRENCY="$currency",e.REVENUE="$revenue",e.RECEIPT="$receipt",e.RECEIPT_SIG="$receiptSig"}(he||(he={}));var we,ke=function(e,t){var n=Math.max(t,1);return e.reduce(function(e,t,i){var o=Math.floor(i/n);return e[o]||(e[o]=[]),e[o].push(t),e},[])};!function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Warn=2]="Warn",e[e.Verbose=3]="Verbose",e[e.Debug=4]="Debug"}(we||(we={}));var Te="Amplitude Logger ",Ae=function(){function e(){this.logLevel=we.None}return e.prototype.disable=function(){this.logLevel=we.None},e.prototype.enable=function(e){void 0===e&&(e=we.Warn),this.logLevel=e},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel<we.Verbose||console.log("".concat(Te,"[Log]: ").concat(e.join(" ")))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel<we.Warn||console.warn("".concat(Te,"[Warn]: ").concat(e.join(" ")))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel<we.Error||console.error("".concat(Te,"[Error]: ").concat(e.join(" ")))},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel<we.Debug||console.log("".concat(Te,"[Debug]: ").concat(e.join(" ")))},e}(),Ce=function(){return{flushMaxRetries:12,flushQueueSize:200,flushIntervalMillis:1e4,instanceName:"$default_instance",logLevel:we.Warn,loggerProvider:new Ae,offline:!1,optOut:!1,serverUrl:re,serverZone:"US",useBatch:!1}},Ee=function(){function e(e){var t,n,i,o;this._optOut=!1;var r=Ce();this.apiKey=e.apiKey,this.flushIntervalMillis=null!==(t=e.flushIntervalMillis)&&void 0!==t?t:r.flushIntervalMillis,this.flushMaxRetries=e.flushMaxRetries||r.flushMaxRetries,this.flushQueueSize=e.flushQueueSize||r.flushQueueSize,this.instanceName=e.instanceName||r.instanceName,this.loggerProvider=e.loggerProvider||r.loggerProvider,this.logLevel=null!==(n=e.logLevel)&&void 0!==n?n:r.logLevel,this.minIdLength=e.minIdLength,this.plan=e.plan,this.ingestionMetadata=e.ingestionMetadata,this.offline=void 0!==e.offline?e.offline:r.offline,this.optOut=null!==(i=e.optOut)&&void 0!==i?i:r.optOut,this.serverUrl=e.serverUrl,this.serverZone=e.serverZone||r.serverZone,this.storageProvider=e.storageProvider,this.transportProvider=e.transportProvider,this.useBatch=null!==(o=e.useBatch)&&void 0!==o?o:r.useBatch,this.loggerProvider.enable(this.logLevel);var a=xe(e.serverUrl,e.serverZone,e.useBatch);this.serverZone=a.serverZone,this.serverUrl=a.serverUrl}return Object.defineProperty(e.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut=e}
2,enumerable:!1,configurable:!0}),e}(),Ie=function(e,t){return"EU"===e?t?le:ae:t?se:re},xe=function(e,t,n){if(void 0===e&&(e=""),void 0===t&&(t=Ce().serverZone),void 0===n&&(n=Ce().useBatch),e)return{serverUrl:e,serverZone:void 0};var i=["US","EU"].includes(t)?t:Ce().serverZone;return{serverZone:i,serverUrl:Ie(i,n)}},Oe=function(){function e(){this.sdk={metrics:{histogram:{}}}}return e.prototype.recordHistogram=function(e,t){this.sdk.metrics.histogram[e]=t},e}();function Ne(e){return e instanceof Error?e.message:String(e)}function $e(e){var t="";try{"body"in e&&(t=JSON.stringify(e.body,null,2))}catch(e){}return t}var Pe=function(){function e(){this.name="amplitude",this.type="destination",this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduleId=null,this.scheduledTimeout=0,this.flushId=null,this.queue=[]}return e.prototype.setup=function(e){var t;return P(this,void 0,void 0,function(){var n,i=this;return L(this,function(o){switch(o.label){case 0:return this.config=e,this.storageKey="".concat(oe,"_").concat(this.config.apiKey.substring(0,10)),[4,null===(t=this.config.storageProvider)||void 0===t?void 0:t.get(this.storageKey)];case 1:return(n=o.sent())&&n.length>0&&Promise.all(n.map(function(e){return i.execute(e)})).catch(),[2,Promise.resolve(void 0)]}})})},e.prototype.execute=function(e){var t=this;return e.insert_id||(e.insert_id=ee()),new Promise(function(n){var i={event:e,attempts:0,callback:function(e){return n(e)},timeout:0};t.queue.push(i),t.schedule(t.config.flushIntervalMillis),t.saveEvents()})},e.prototype.removeEventsExceedFlushMaxRetries=function(e){var t=this;return e.filter(function(e){return e.attempts+=1,e.attempts<t.config.flushMaxRetries||(t.fulfillRequest([e],500,W),!1)})},e.prototype.scheduleEvents=function(e){var t=this;e.forEach(function(e){t.schedule(0===e.timeout?t.config.flushIntervalMillis:e.timeout)})},e.prototype.schedule=function(e){var t=this;if(!this.config.offline&&(null===this.scheduleId||this.scheduleId&&e>this.scheduledTimeout))return this.scheduleId&&clearTimeout(this.scheduleId),this.scheduledTimeout=e,void(this.scheduleId=setTimeout(function(){t.queue=t.queue.map(function(e){return e.timeout=0,e}),t.flush(!0)},e))},e.prototype.resetSchedule=function(){this.scheduleId=null,this.scheduledTimeout=0},e.prototype.flush=function(e){return void 0===e&&(e=!1),P(this,void 0,void 0,function(){var t,n,i=this;return L(this,function(o){switch(o.label){case 0:return this.config.offline?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush while offline."),[2]):this.flushId?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush because previous flush has not resolved."),[2]):(this.flushId=this.scheduleId,this.resetSchedule(),t=[],n=[],this.queue.forEach(function(e){return 0===e.timeout?t.push(e):n.push(e)}),[4,ke(t,this.config.flushQueueSize).reduce(function(t,n){return P(i,void 0,void 0,function(){return L(this,function(i){switch(i.label){case 0:return[4,t];case 1:return i.sent(),[4,this.send(n,e)];case 2:return[2,i.sent()]}})})},Promise.resolve())]);case 1:return o.sent(),this.flushId=null,this.scheduleEvents(this.queue),[2]}})})},e.prototype.send=function(e,t){return void 0===t&&(t=!0),P(this,void 0,void 0,function(){var n,i,o,r,a;return L(this,function(s){switch(s.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(e,400,q)];n={api_key:this.config.apiKey,events:e.map(function(e){var t=e.event;return t.extra,$(t,["extra"])}),options:{min_id_length:this.config.minIdLength},client_upload_time:(new Date).toISOString(),request_metadata:this.config.requestMetadata},this.config.requestMetadata=new Oe,s.label=1;case 1:return s.trys.push([1,3,,4]),i=xe(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,[4,this.config.transportProvider.send(i,n)];case 2:return null===(o=s.sent())?(this.fulfillRequest(e,0,F),[2]):t?(this.handleResponse(o,e),[3,4]):("body"in o?this.fulfillRequest(e,o.statusCode,"".concat(o.status,": ").concat($e(o))):this.fulfillRequest(e,o.statusCode,o.status),[2]);case 3:return r=s.sent(),a=Ne(r),this.config.loggerProvider.error(a),this.handleResponse({status:K.Failed,statusCode:0},e),[3,4];case 4:return[2]}})})},e.prototype.handleResponse=function(e,t){var n=e.status;switch(n){case K.Success:this.handleSuccessResponse(e,t);break;case K.Invalid:this.handleInvalidResponse(e,t);break;case K.PayloadTooLarge:this.handlePayloadTooLargeResponse(e,t);break;case K.RateLimit:this.handleRateLimitResponse(e,t);break;default:this.config.loggerProvider.warn("{code: 0, error: \"Status '".concat(n,"' provided for ").concat(t.length,' events"}')),this.handleOtherResponse(t)}},e.prototype.handleSuccessResponse=function(e,t){this.fulfillRequest(t,e.statusCode,G)},e.prototype.handleInvalidResponse=function(e,t){var n=this;if(e.body.missingField||e.body.error.startsWith(V))this.fulfillRequest(t,e.statusCode,e.body.error);else{var i=B(B(B(B([],D(Object.values(e.body.eventsWithInvalidFields)),!1),D(Object.values(e.body.eventsWithMissingFields)),!1),D(Object.values(e.body.eventsWithInvalidIdLengths)),!1),D(e.body.silencedEvents),!1).flat(),o=new Set(i),r=t.filter(function(t,i){if(!o.has(i))return!0;n.fulfillRequest([t],e.statusCode,e.body.error)});r.length>0&&this.config.loggerProvider.warn($e(e));
vendor: 5,226 bytes, line 2
2var a=this.removeEventsExceedFlushMaxRetries(r);this.scheduleEvents(a)}},e.prototype.handlePayloadTooLargeResponse=function(e,t){if(1!==t.length){this.config.loggerProvider.warn($e(e)),this.config.flushQueueSize/=2;var n=this.removeEventsExceedFlushMaxRetries(t);this.scheduleEvents(n)}else this.fulfillRequest(t,e.statusCode,e.body.error)},e.prototype.handleRateLimitResponse=function(e,t){var n=this,i=Object.keys(e.body.exceededDailyQuotaUsers),o=Object.keys(e.body.exceededDailyQuotaDevices),r=e.body.throttledEvents,a=new Set(i),s=new Set(o),l=new Set(r),u=t.filter(function(t,i){if(!(t.event.user_id&&a.has(t.event.user_id)||t.event.device_id&&s.has(t.event.device_id)))return l.has(i)&&(t.timeout=n.throttleTimeout),!0;n.fulfillRequest([t],e.statusCode,e.body.error)});u.length>0&&this.config.loggerProvider.warn($e(e));var c=this.removeEventsExceedFlushMaxRetries(u);this.scheduleEvents(c)},e.prototype.handleOtherResponse=function(e){var t=this,n=e.map(function(e){return e.timeout=e.attempts*t.retryTimeout,e}),i=this.removeEventsExceedFlushMaxRetries(n);this.scheduleEvents(i)},e.prototype.fulfillRequest=function(e,t,n){this.removeEvents(e),e.forEach(function(e){return e.callback(X(e.event,t,n))})},e.prototype.saveEvents=function(){if(this.config.storageProvider){var e=this.queue.map(function(e){return e.event});this.config.storageProvider.set(this.storageKey,e)}},e.prototype.removeEvents=function(e){this.queue=this.queue.filter(function(t){return!e.some(function(e){return e.event.insert_id===t.event.insert_id})}),this.saveEvents()},e}(),Le=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:Me(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),Me=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},De=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length<512&&this.queue.push(e)},e.prototype.setEventReceiver=function(e){this.receiver=e,this.queue.length>0&&(this.queue.forEach(function(t){e(t)}),this.queue=[])},e}(),Be=function(){return Be=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Be.apply(this,arguments)};function Re(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function He(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}"function"==typeof SuppressedError&&SuppressedError;var je=function(e,t){var n,i,o=["string","number","boolean","undefined"],r=typeof e;if(r!==typeof t)return!1;try{for(var a=Re(o),s=a.next();!s.done;s=a.next())if(s.value===r)return e===t}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}if(null==e&&null==t)return!0;if(null==e||null==t||e.length!==t.length)return!1;var l=Array.isArray(e),u=Array.isArray(t);if(l!==u)return!1;if(!l||!u){var c=Object.keys(e).sort(),d=Object.keys(t).sort();if(!je(c,d))return!1;var f=!0;return Object.keys(e).forEach(function(n){je(e[n],t[n])||(f=!1)}),f}for(var h=0;h<e.length;h++)if(!je(e[h],t[h]))return!1;return!0},Ke="$set",Ue="$unset",Ge="$clearAll";Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,i=new Array(n);n--;)i[n]=[t[n],e[t[n]]];return i});var Fe,We,ze,qe,Ve,Je=function(){function e(){this.identity={userProperties:{}},this.listeners=new Set}return e.prototype.editIdentity=function(){var e=this,t=Be({},this.identity.userProperties),n=Be(Be({},this.identity),{userProperties:t});return{setUserId:function(e){return n.userId=e,this},setDeviceId:function(e){return n.deviceId=e,this},setUserProperties:function(e){return n.userProperties=e,this},setOptOut:function(e){return n.optOut=e,this},updateUserProperties:function(e){var t,i,o,r,a,s,l=n.userProperties||{};try{for(var u=Re(Object.entries(e)),c=u.next();!c.done;c=u.next()){var d=He(c.value,2),f=d[0],h=d[1];switch(f){case Ke:try{for(var p=(o=void 0,Re(Object.entries(h))),g=p.next();!g.done;g=p.next()){var m=He(g.value,2),v=m[0],y=m[1];l[v]=y}}catch(e){o={error:e}}finally{try{g&&!g.done&&(r=p.return)&&r.call(p)}finally{if(o)throw o.error}}break;case Ue:try{for(var b=(a=void 0,Re(Object.keys(h))),_=b.next();!_.done;_=b.next())delete l[v=_.value]}catch(e){a={error:e}}finally{try{_&&!_.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}break;case Ge:l={}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(t)throw t.error}}return n.userProperties=l,this},commit:function(){return e.setIdentity(n),this}}},e.prototype.getIdentity=function(){return Be({},this.identity)},e.prototype.setIdentity=function(e){var t=Be({},this.identity);this.identity=Be({}
2,e),je(t,this.identity)||this.listeners.forEach(function(t){t(e)})},e.prototype.addIdentityListener=function(e){this.listeners.add(e)},e.prototype.removeIdentityListener=function(e){this.listeners.delete(e)},e}(),Ye="undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:self,Qe=function(){function e(){this.identityStore=new Je,this.eventBridge=new De,this.applicationContextProvider=new Le}return e.getInstance=function(t){return Ye.analyticsConnectorInstances||(Ye.analyticsConnectorInstances={}),Ye.analyticsConnectorInstances[t]||(Ye.analyticsConnectorInstances[t]=new e),Ye.analyticsConnectorInstances[t]},e}(),Ze=function(e){return void 0===e&&(e="$default_instance"),Qe.getInstance(e)},Xe=function(e,t){Ze(t).identityStore.editIdentity().setUserId(e).commit()},et=function(e,t){Ze(t).identityStore.editIdentity().setDeviceId(e).commit()},tt=function(){function e(){this.name="identity",this.type="before",this.identityStore=Ze().identityStore}return e.prototype.execute=function(e){return P(this,void 0,void 0,function(){var t;return L(this,function(n){return(t=e.user_properties)&&this.identityStore.editIdentity().updateUserProperties(t).commit(),[2,e]})})},e.prototype.setup=function(e){return P(this,void 0,void 0,function(){return L(this,function(t){return e.instanceName&&(this.identityStore=Ze(e.instanceName).identityStore),[2]})})},e}(),nt=function(){var e="ampIntegrationContext";return"undefined"!=typeof globalThis&&void 0!==globalThis[e]?globalThis[e]:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==n.g?n.g:void 0},it=function(e,t){return void 0===t&&(t=Date.now()),Date.now()-t>e},ot=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n=10),[ie,t,e.substring(0,n)].filter(Boolean).join("_")},rt=function(e){return"".concat(ie.toLowerCase(),"_").concat(e.substring(0,6))},at=function(){var e,t,n,i;if("undefined"==typeof navigator)return"";var o=navigator.userLanguage;return null!==(i=null!==(n=null!==(t=null===(e=navigator.languages)||void 0===e?void 0:e[0])&&void 0!==t?t:navigator.language)&&void 0!==n?n:o)&&void 0!==i?i:""},st=function(){var e,t=nt();return null!==(e=null==t?void 0:t.location)&&void 0!==e&&e.search?t.location.search.substring(1).split("&").filter(Boolean).reduce(function(e,t){var n=t.split("=",2),i=lt(n[0]),o=lt(n[1]);return o&&(e[i]=o),e},{}):{}},lt=function(e){void 0===e&&(e="");try{return decodeURIComponent(e)}catch(e){return""}},ut=function(e){return((new Error).stack||"").split("\n").slice(2+e).map(function(e){return e.trim()})},ct=function(e){return function(){var t=N({},e.config);return{logger:t.loggerProvider,logLevel:t.logLevel}}},dt=function(e,t){var n,i;t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"");try{for(var o=M(t.split(".")),r=o.next();!r.done;r=o.next()){var a=r.value;if(!(a in e))return;e=e[a]}}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return e},ft=function(e,t){return function(){var n,i,o={};try{for(var r=M(t),a=r.next();!a.done;a=r.next()){var s=a.value;o[s]=dt(e,s)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o}},ht=function(e,t,n,i,o){return void 0===o&&(o=null),function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var s=n(),l=s.logger,u=s.logLevel;if(u&&u<we.Debug||!u||!l)return e.apply(o,r);var c={type:"invoke public method",name:t,args:r,stacktrace:ut(1),time:{start:(new Date).toISOString()},states:{}};i&&c.states&&(c.states.before=i());var d=e.apply(o,r);return d&&d.promise?d.promise.then(function(){i&&c.states&&(c.states.after=i()),c.time&&(c.time.end=(new Date).toISOString()),l.debug(JSON.stringify(c,null,2))}):(i&&c.states&&(c.states.after=i()),c.time&&(c.time.end=(new Date).toISOString()),l.debug(JSON.stringify(c,null,2))),d}},pt=function(){function e(){this.memoryStorage=new Map}return e.prototype.isEnabled=function(){return P(this,void 0,void 0,function(){return L(this,function(e){return[2,!0]})})},e.prototype.get=function(e){return P(this,void 0,void 0,function(){return L(this,function(t){return[2,this.memoryStorage.get(e)]})})},e.prototype.getRaw=function(e){return P(this,void 0,void 0,function(){var t;return L(this,function(n){switch(n.label){case 0:return[4,this.get(e)];case 1:return[2,(t=n.sent())?JSON.stringify(t):void 0]}})})},e.prototype.set=function(e,t){return P(this,void 0,void 0,function(){return L(this,function(n){return this.memoryStorage.set(e,t),[2]})})},e.prototype.remove=function(e){return P(this,void 0,void 0,function(){return L(this,function(t){return this.memoryStorage.delete(e),[2]})})},e.prototype.reset=function(){return P(this,void 0,void 0,function(){return L(this,function(e){return this.memoryStorage.clear(),[2]})})},e}(),gt=function(){function e(e){this.options=N({},e)}return e.prototype.isEnabled=function(){return P(this,void 0,void 0,function(){var t,n;return L(this,function(i){switch(i.label){case 0:if(!nt())return[2,!1];e.testValue=String(Date.now()),t=new e(this.options),n="AMP_TEST",i.label=1;case 1:return i.trys.push([1,4,5,7]),[4,t.set(n,e.testValue)];case 2:return i.sent(),[4,t.get(n)];case 3:return[2,i.sent()===e.testValue];case 4:return i.sent(),[2,!1];case 5:return[4,t.remove(n)];case 6:return i.sent(),[7];case 7:return[2]}})})},e.prototype.get=function(e){var t;return P(this,void 0,void 0,function(){var n,i;return L(this,function(o){switch(o.label){case 0:return[4,this.getRaw(e)];case 1:if(!(n=o.sent()))return[2,void 0];try{return void 0===(i=null!==(t=mt(n))&&void 0!==t?t:vt(n))?(console.error("Amplitude Logger [Error]: Failed to decode cookie value for key: ".concat(e,", value: ").concat(n)),[2,void 0]):[2,JSON.parse(i)]}catch(t){return console.error("Amplitude Logger [Error]: Failed to parse cookie value for key: ".concat(e,", value: ").concat(n)),[2,void 0]}}})})},e.prototype.getRaw=function(e){var t,n;return P(this,void 0,void 0,function(){var i,o,r;return L(this,function(a){return i=nt(),o=null!==(n=null===(t=null==i?void 0:i.document)||void 0===t?void 0:t.cookie.split("; "))&&void 0!==n?n:[],(r=o.find(function(t){return 0===t.indexOf(e+"=")}))?[2,r.substring(e.length+1)]:[2,void 0]})})},e.prototype.set=function(e,t){var n;return P(this,void 0,void 0,function(){var i,o,r,a,s,l,u;return L(this,function(c){try{i=null!==(n=this.options.expirationDays)&&void 0!==n?n:0,r=void 0,(o=null!==t?i:-1)&&((a=new Date).setTime(a.getTime()+24*o*60*60*1e3),r=a),s="".concat(e,"=").concat(btoa(encodeURIComponent(JSON.stringify(t)))),r&&(s+="; expires=".concat(r.toUTCString())),s+="; path=/",this.options.domain&&(s+="; domain=".concat(this.options.domain)),this.options.secure&&(s+="; Secure"),this.options.sameSite&&(s+="; SameSite=".concat(this.options.sameSite)),(l=nt())&&(l.document.cookie=s)}catch(t){u=t instanceof Error?t.message:String(t),console.error("Amplitude Logger [Error]: Failed to set cookie for key: ".concat(e,". Error: ").concat(u))}return[2]})})},e.prototype.remove=function(e){return P(this,void 0,void 0,function(){return L(this,function(t){switch(t.label){case 0:return[4,this.set(e,null)];case 1:return t.sent(),[2]}})})},e.prototype.reset=function(){return P(this,void 0,void 0,function(){return L(this,function(e){return[2]})})},e}(),mt=function(e){try{return decodeURIComponent(atob(e))}catch(e){return}},vt=function(e){try{return decodeURIComponent(atob(decodeURIComponent(e)))}catch(e){return}},yt=function(e,t,n){return void 0===n&&(n=10),[ie,t,e.substring(0,n)].filter(
vendor: 15,248 bytes, line 2
2Boolean).join("_")},bt=function(){function e(){}return e.prototype.send=function(e,t){return Promise.resolve(null)},e.prototype.buildResponse=function(e){var t,n,i,o,r,a,s,l,u,c,d,f,h,p,g,m,v,y,b,_,S,w;if("object"!=typeof e)return null;var k=e.code||0,T=this.buildStatus(k);switch(T){case K.Success:return{status:T,statusCode:k,body:{eventsIngested:null!==(t=e.events_ingested)&&void 0!==t?t:0,payloadSizeBytes:null!==(n=e.payload_size_bytes)&&void 0!==n?n:0,serverUploadTime:null!==(i=e.server_upload_time)&&void 0!==i?i:0}};case K.Invalid:return{status:T,statusCode:k,body:{error:null!==(o=e.error)&&void 0!==o?o:"",missingField:null!==(r=e.missing_field)&&void 0!==r?r:"",eventsWithInvalidFields:null!==(a=e.events_with_invalid_fields)&&void 0!==a?a:{},eventsWithMissingFields:null!==(s=e.events_with_missing_fields)&&void 0!==s?s:{},eventsWithInvalidIdLengths:null!==(l=e.events_with_invalid_id_lengths)&&void 0!==l?l:{},epsThreshold:null!==(u=e.eps_threshold)&&void 0!==u?u:0,exceededDailyQuotaDevices:null!==(c=e.exceeded_daily_quota_devices)&&void 0!==c?c:{},silencedDevices:null!==(d=e.silenced_devices)&&void 0!==d?d:[],silencedEvents:null!==(f=e.silenced_events)&&void 0!==f?f:[],throttledDevices:null!==(h=e.throttled_devices)&&void 0!==h?h:{},throttledEvents:null!==(p=e.throttled_events)&&void 0!==p?p:[]}};case K.PayloadTooLarge:return{status:T,statusCode:k,body:{error:null!==(g=e.error)&&void 0!==g?g:""}};case K.RateLimit:return{status:T,statusCode:k,body:{error:null!==(m=e.error)&&void 0!==m?m:"",epsThreshold:null!==(v=e.eps_threshold)&&void 0!==v?v:0,throttledDevices:null!==(y=e.throttled_devices)&&void 0!==y?y:{},throttledUsers:null!==(b=e.throttled_users)&&void 0!==b?b:{},exceededDailyQuotaDevices:null!==(_=e.exceeded_daily_quota_devices)&&void 0!==_?_:{},exceededDailyQuotaUsers:null!==(S=e.exceeded_daily_quota_users)&&void 0!==S?S:{},throttledEvents:null!==(w=e.throttled_events)&&void 0!==w?w:[]}};case K.Timeout:default:return{status:T,statusCode:k}}},e.prototype.buildStatus=function(e){return e>=200&&e<300?K.Success:429===e?K.RateLimit:413===e?K.PayloadTooLarge:408===e?K.Timeout:e>=400&&e<500?K.Invalid:e>=500?K.Failed:K.Unknown},e}(),_t=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.send=function(e,t){return P(this,void 0,void 0,function(){var n,i,o;return L(this,function(r){switch(r.label){case 0:if("undefined"==typeof fetch)throw new Error("FetchTransport is not supported");return n={headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(t),method:"POST"},[4,fetch(e,n)];case 1:return[4,(i=r.sent()).text()];case 2:o=r.sent();try{return[2,this.buildResponse(JSON.parse(o))]}catch(e){return[2,this.buildResponse({code:i.status})]}}})})},t}(bt),St=null,wt=["a","button","input","select","textarea","label","video","audio",'[contenteditable="true" i]',"[data-amp-default-track]",".amp-default-track"],kt="data-amp-track-",Tt=["div","span","h1","h2","h3","h4","h5","h6"],At=function(e,t){return"boolean"==typeof e?e:!1!==(null==e?void 0:e[t])},Ct=function(e){return At(e,"attribution")},Et=function(e){return At(e,"fileDownloads")},It=function(e){return At(e,"formInteractions")},xt=function(e){return At(e,"pageViews")},Ot=function(e){return At(e,"sessions")},Nt=function(e){return"boolean"==typeof e?e:"object"==typeof e&&(!0===e.elementInteractions||"object"==typeof e.elementInteractions)},$t=function(e){if(Nt(e.autocapture)&&"object"==typeof e.autocapture&&"object"==typeof e.autocapture.elementInteractions)return e.autocapture.elementInteractions},Pt=function(e){var t,n=function(){return!1},i=void 0,o=e.pageCounter;return xt(e.defaultTracking)&&(n=void 0,t=void 0,e.defaultTracking&&"object"==typeof e.defaultTracking&&e.defaultTracking.pageViews&&"object"==typeof e.defaultTracking.pageViews&&("trackOn"in e.defaultTracking.pageViews&&(n=e.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in e.defaultTracking.pageViews&&(i=e.defaultTracking.pageViews.trackHistoryChanges),"eventType"in e.defaultTracking.pageViews&&e.defaultTracking.pageViews.eventType&&(t=e.defaultTracking.pageViews.eventType))),{trackOn:n,trackHistoryChanges:i,eventType:t,pageCounter:o}},Lt=function(e){return Ct(e.defaultTracking)&&e.defaultTracking&&"object"==typeof e.defaultTracking&&e.defaultTracking.attribution&&"object"==typeof e.defaultTracking.attribution?N({},e.defaultTracking.attribution):{}},Mt=function(e,t){for(var n=0;n<t.length;n++){var i=t[n],o=i.name,r=i.args,a=i.resolve,s=e&&e[o];if("function"==typeof s){var l=s.apply(e,r);"function"==typeof a&&a(null==l?void 0:l.promise)}}return e},Dt=function(e){return e&&void 0!==e._q},Bt="2.12.2",Rt="amplitude-ts",Ht="Web",jt="$remote",Kt=function(){function e(){this.name="@amplitude/plugin-context-browser",this.type="before",this.library="".concat(Rt,"/").concat(Bt),"undefined"!=typeof navigator&&(this.userAgent=navigator.userAgent)}return e.prototype.setup=function(e){return this.config=e,Promise.resolve(void 0)},e.prototype.execute=function(e){var t,n;return P(this,void 0,void 0,function(){var i,o,r;return L(this,function(a){return i=(new Date).getTime(),o=null!==(t=this.config.lastEventId)&&void 0!==t?t:-1,r=null!==(n=e.event_id)&&void 0!==n?n:o+1,this.config.lastEventId=r,e.time||(this.config.lastEventTime=i),[2,N(N(N(N(N(N(N(N({user_id:this.config.userId,device_id:this.config.deviceId,session_id:this.config.sessionId,time:i},this.config.appVersion&&{app_version:this.config.appVersion}),this.config.trackingOptions.platform&&{platform:Ht}),this.config.trackingOptions.language&&{language:at()}),this.config.trackingOptions.ipAddress&&{ip:jt}),{insert_id:ee(),partner_id:this.config.partnerId,plan:this.config.plan}),this.config.ingestionMetadata&&{ingestion_metadata:{source_name:this.config.ingestionMetadata.sourceName,source_version:this.config.ingestionMetadata.sourceVersion}}),e),{event_id:r,library:this.library,user_agent:this.userAgent})]})})},e}(),Ut=function(){function e(e){this.storage=e}return e.prototype.isEnabled=function(){return P(this,void 0,void 0,function(){var t,n,i;return L(this,function(o){switch(o.label){case 0:if(!this.storage)return[2,!1];t=String(Date.now()),n=new e(this.storage),i="AMP_TEST",o.label=1;case 1:return o.trys.push([1,4,5,7]),[4,n.set(i,t)];case 2:return o.sent(),[4,n.get(i)];case 3:return[2,o.sent()===t];case 4:return o.sent(),[2,!1];case 5:return[4,n.remove(i)];case 6:return o.sent(),[7];case 7:return[2]}})})},e.prototype.get=function(e){return P(this,void 0,void 0,function(){var t;return L(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.getRaw(e)];case 1:return(t=n.sent())?[2,JSON.parse(t)]:[2,void 0];case 2:return n.sent(),console.error("[Amplitude] Error: Could not get value from storage"),[2,void 0];case 3:return[2]}})})},e.prototype.getRaw=function(e){var t;return P(this,void 0,void 0,function(){return L(this,function(n){return[2,(null===(t=this.storage)||void 0===t?void 0:t.getItem(e))||void 0]})})},e.prototype.set=function(e,t){var n;return P(this,void 0,void 0,function(){return L(this,function(i){try{null===(n=this.storage)||void 0===n||n.setItem(e,JSON.stringify(t))}catch(e){}return[2]})})},e.prototype.remove=function(e){var t;return P(this,void 0,void 0,function(){return L(this,function(n){try{null===(t=this.storage)||void 0===t||t.removeItem(e)}catch(e){}return[2]})})},e.prototype.reset=function(){var e;return P(this,void 0,void 0,function(){return L(this,function(t){try{null===(e=this.storage)||void 0===e||e.clear()}catch(e){}return[2]})})},e}(),Gt=1e3,Ft=function(e){function t(t){var n,i=this;return(i=e.call(this,null===(n=nt())||void 0===n?void 0:n.localStorage)||this).loggerProvider=null==t?void 0:t.loggerProvider,i}return O(t,e),t.prototype.set=function(t,n){var i;return P(this,void 0,void 0,function(){var o;return L(this,function(r){switch(r.label){case 0:return Array.isArray(n)&&n.length>Gt?(o=n.length-Gt,[4,e.prototype.set.call(this,t,n.slice(0,Gt))]):[3,2];case 1:return r.sent(),null===(i=this.loggerProvider)||void 0===i||i.error("Failed to save ".concat(o," events because the queue length exceeded ").concat(Gt,".")),[3,4];case 2:return[4,e.prototype.set.call(this,t,n)];case 3:r.sent(),r.label=4;case 4:return[2]}})})},t}(Ut),Wt=function(e){function t(){var t;return e.call(this,null===(t=nt())||void 0===t?void 0:t.sessionStorage)||this}return O(t,e),t}(Ut),zt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={done:4},t}return O(t,e),t.prototype.send=function(e,t){return P(this,void 0,void 0,function(){var n=this;return L(this,function(i){return[2,new Promise(function(i,o){"undefined"==typeof XMLHttpRequest&&o(new Error("XHRTransport is not supported."));var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){if(r.readyState===n.state.done){var e=r.responseText;try{i(n.buildResponse(JSON.parse(e)))}catch(e){i(n.buildResponse({code:r.status}))}}},r.setRequestHeader("Content-Type","application/json"),r.setRequestHeader("Accept","*/*"),r.send(JSON.stringify(t))})]})})},t}(bt),qt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.send=function(e,t){return P(this,void 0,void 0,function(){var n=this;return L(this,function(i){return[2,new Promise(function(i,o){var r=nt();if(null==r||!r.navigator.sendBeacon)throw new Error("SendBeaconTransport is not supported");try{var a=JSON.stringify(t);return i(r.navigator.sendBeacon(e,JSON.stringify(t))?n.buildResponse({code:200,events_ingested:t.events.length,payload_size_bytes:a.length,server_upload_time:Date.now()}):n.buildResponse({code:500}))}catch(e){o(e)}})]})})},t}(bt),Vt=function(e,t,n){return void 0===n&&(n=!0),P(void 0,void 0,void 0,function(){var i,o,r,a,s,l,u,c,d;return L(this,function(f){switch(f.label){case 0:return i=rt(e),[4,t.getRaw(i)];case 1:return(o=f.sent())?n?[4,t.remove(i)]:[3,3]:[2,{optOut:!1}];case 2:f.sent(),f.label=3;case 3:return r=D(o.split("."),6),a=r[0],s=r[1],l=r[2],u=r[3],c=r[4],d=r[5],[2,{deviceId:a,userId:Yt(s),sessionId:Jt(u),lastEventId:Jt(d),lastEventTime:Jt(c),optOut:!!l}]}})})},Jt=function(e){var t=parseInt(e,32);if(!isNaN(t))return t},Yt=function(e){if(atob&&escape&&e)try{return decodeURIComponent(escape(atob(e)))}catch(e){return}},Qt="[Amplitude]",Zt="".concat(Qt," Form Started"),Xt="".concat(Qt," Form Submitted"),en="".concat(Qt," File Downloaded"),tn="session_start",nn="session_end",on="".concat(Qt," File Extension"),rn="".concat(Qt," File Name"),an="".concat(Qt," Link ID"),sn="".concat(Qt," Link Text"),ln="".concat(Qt," Link URL"),un="".concat(Qt," Form ID"),cn="".concat(Qt," Form Name"),dn="".concat(Qt," Form Destination"),fn="cookie",hn="US",pn=function(e){function t(t,n,i,o,r,a,s,l,u,c,d,f,h,p,g,m,v,y,b,_,S,w,k,T,A,C,E,I,x,O,N,$,P,L){void 0===i&&(i=new pt),void 0===o&&(o={domain:"",expiration:365,sameSite:"Lax",secure:!1,upgrade:!0}),void 0===l&&(l=1e3),void 0===u&&(u=5),void 0===c&&(c=30),void 0===d&&(d=fn),void 0===m&&(m=new Ae),void 0===v&&(v=we.Warn),void 0===b&&(b=!1),void 0===_&&(_=!1),void 0===k&&(k=""),void 0===T&&(T=hn),void 0===C&&(C=18e5),void 0===E&&(E=new Ft({loggerProvider:m})),void 0===I&&(I={ipAddress:!0,language:!0,platform:!0}),void 0===x&&(x="fetch"),void 0===O&&(O=!1),void 0===N&&(N=!1);var M=e.call(this,{apiKey:t,storageProvider:E,transportProvider:vn(x)})||this;return M.apiKey=t,M.appVersion=n,M.cookieOptions=o,M.defaultTracking=r,M.autocapture=a,M.flushIntervalMillis=l,M.flushMaxRetries=u,M.flushQueueSize=c,M.identityStorage=d,M.ingestionMetadata=f,M.instanceName=h,M.loggerProvider=m,M.logLevel=v,M.minIdLength=y,M.offline=b,M.partnerId=S,M.plan=w,M.serverUrl=k,M.serverZone=T,M.sessionTimeout=C,M.storageProvider=E,M.trackingOptions=I,M.transport=x,M.useBatch=O,M.fetchRemoteConfig=N,M.version=Bt,M._optOut=!1,M._cookieStorage=i,M.deviceId=s,M.lastEventId=p,M.lastEventTime=g,M.optOut=_,M.sessionId=A,M.pageCounter=P,M.userId=$,M.debugLogsEnabled=L,M.loggerProvider.enable(L?we.Debug:M.logLevel),M}return O(t,e),Object.defineProperty(t.prototype,"cookieStorage",{get:function(){return this._cookieStorage},set:function(e){this._cookieStorage!==e&&(this._cookieStorage=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceId",{get:function(){return this._deviceId},set:function(e){this._deviceId!==e&&(this._deviceId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"userId",{get:function(){return this._userId},set:function(e){this._userId!==e&&(this._userId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionId",{get:function(){return this._sessionId},set:function(e){this._sessionId!==e&&(this._sessionId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut!==e&&(this._optOut=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(e){this._lastEventTime!==e&&(this._lastEventTime=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(e){this._lastEventId!==e&&(this._lastEventId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageCounter",{get:function(){return this._pageCounter},set:function(e){this._pageCounter!==e&&(this._pageCounter=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"debugLogsEnabled",{set:function(e){this._debugLogsEnabled!==e&&(this._debugLogsEnabled=e,this.updateStorage())},enumerable:!1,configurable:!0}),t.prototype.updateStorage=function(){var e={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId,pageCounter:this._pageCounter,debugLogsEnabled:this._debugLogsEnabled};this.cookieStorage.set(ot(this.apiKey),e)},t}(Ee),gn=function(e,t,n){return void 0===t&&(t={}),P(void 0,void 0,void 0,function(){var i,o,r,a,s,l,u,c,d,f,h,p,g,m,v,y,b,_,S,w,k,T,A,C,E,I,x,O,$,P,M,D,B,R,H,j,K,U,G,F,W,z,q;return L(this,function(L){switch(L.label){case 0:return i=t.identityStorage||fn,S={},i===fn?[3,1]:(r="",[3,5]);case 1:return null!==(k=null===(w=t.cookieOptions)||void 0===w?void 0:w.domain)&&void 0!==k?(a=k,[3,4]):[3,2];case 2:return[4,yn()];case 3:a=L.sent(),L.label=4;case 4:r=a,L.label=5;case 5:return o=N.apply(void 0,[(S.domain=r,S.expiration=365,S.sameSite="Lax",S.secure=!1,S.upgrade=!0,S),t.cookieOptions]),s=mn(t.identityStorage,o),[4,Vt(e,s,null===(A=null===(T=t.cookieOptions)||void 0===T?void 0:T.upgrade)||void 0===A||A)];case 6:return l=L.sent(),[4,s.get(ot(e))];case 7:return u=L.sent(),c=st(),d=null!==(O=null!==(x=null!==(I=null!==(E=null!==(C=t.deviceId)&&void 0!==C?C:c.ampDeviceId)&&void 0!==E?E:c.deviceId)&&void 0!==I?I:null==u?void 0:u.deviceId)&&void 0!==x?x:l.deviceId)&&void 0!==O?O:ee(),f=null!==($=null==u?void 0:u.lastEventId)&&void 0!==$?$:l.lastEventId,h=null!==(P=null==u?void 0:u.lastEventTime)&&void 0!==P?P:l.lastEventTime,p=null!==(D=null!==(M=t.o
2ptOut)&&void 0!==M?M:null==u?void 0:u.optOut)&&void 0!==D?D:l.optOut,g=null!==(B=null==u?void 0:u.sessionId)&&void 0!==B?B:l.sessionId,m=null!==(H=null!==(R=t.userId)&&void 0!==R?R:null==u?void 0:u.userId)&&void 0!==H?H:l.userId,n.previousSessionDeviceId=null!==(j=null==u?void 0:u.deviceId)&&void 0!==j?j:l.deviceId,n.previousSessionUserId=null!==(K=null==u?void 0:u.userId)&&void 0!==K?K:l.userId,v={ipAddress:null===(G=null===(U=t.trackingOptions)||void 0===U?void 0:U.ipAddress)||void 0===G||G,language:null===(W=null===(F=t.trackingOptions)||void 0===F?void 0:F.language)||void 0===W||W,platform:null===(q=null===(z=t.trackingOptions)||void 0===z?void 0:z.platform)||void 0===q||q},y=null==u?void 0:u.pageCounter,b=null==u?void 0:u.debugLogsEnabled,void 0!==t.autocapture&&(t.defaultTracking=t.autocapture),[4,(_=new pn(e,t.appVersion,s,o,t.defaultTracking,t.autocapture,d,t.flushIntervalMillis,t.flushMaxRetries,t.flushQueueSize,i,t.ingestionMetadata,t.instanceName,f,h,t.loggerProvider,t.logLevel,t.minIdLength,t.offline,p,t.partnerId,t.plan,t.serverUrl,t.serverZone,g,t.sessionTimeout,t.storageProvider,v,t.transport,t.useBatch,t.fetchRemoteConfig,m,y,b)).storageProvider.isEnabled()];case 8:return L.sent()||(_.loggerProvider.warn("Storage provider ".concat(_.storageProvider.constructor.name," is not enabled. Falling back to MemoryStorage.")),_.storageProvider=new pt),[2,_]}})})},mn=function(e,t){switch(void 0===e&&(e=fn),void 0===t&&(t={}),e){case"localStorage":return new Ft;case"sessionStorage":return new Wt;case"none":return new pt;default:return new gt(N(N({},t),{expirationDays:t.expiration}))}},vn=function(e){return"xhr"===e?new zt:"beacon"===e?new qt:new _t},yn=function(e){return P(void 0,void 0,void 0,function(){var e,t,n,i,o,r,a;return L(this,function(s){switch(s.label){case 0:return[4,(new gt).isEnabled()];case 1:if(!s.sent()||"undefined"==typeof location||!location.hostname)return[2,""];for(e=location.hostname,t=e.split("."),n=[],i="AMP_TLDTEST",o=t.length-2;o>=0;--o)n.push(t.slice(o).join("."));o=0,s.label=2;case 2:return o<n.length?(r=n[o],[4,(a=new gt({domain:"."+r})).set(i,1)]):[3,7];case 3:return s.sent(),[4,a.get(i)];case 4:return s.sent()?[4,a.remove(i)]:[3,6];case 5:return s.sent(),[2,"."+r];case 6:return o++,[3,2];case 7:return[2,""]}})})},bn=function(){var e="ampIntegrationContext";return"undefined"!=typeof globalThis&&void 0!==globalThis[e]?globalThis[e]:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==n.g?n.g:void 0},_n=function(){var e,t=bn();return null!==(e=null==t?void 0:t.location)&&void 0!==e&&e.search?t.location.search.substring(1).split("&").filter(Boolean).reduce(function(e,t){var n=t.split("=",2),i=Sn(n[0]),o=Sn(n[1]);return o&&(e[i]=o),e},{}):{}},Sn=function(e){void 0===e&&(e="");try{return decodeURIComponent(e)}catch(e){return""}},wn="utm_campaign",kn="utm_content",Tn="utm_id",An="utm_medium",Cn="utm_source",En="utm_term",In="dclid",xn="fbclid",On="gbraid",Nn="gclid",$n="ko_click_id",Pn="li_fat_id",Ln="msclkid",Mn="rtd_cid",Dn="ttclid",Bn="twclid",Rn="wbraid",Hn={utm_campaign:void 0,utm_content:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rtd_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0},jn=function(){function e(){}return e.prototype.parse=function(){return P(this,void 0,void 0,function(){return L(this,function(e){return[2,N(N(N(N({},Hn),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},e.prototype.getUtmParam=function(){var e=_n();return{utm_campaign:e[wn],utm_content:e[kn],utm_id:e[Tn],utm_medium:e[An],utm_source:e[Cn],utm_term:e[En]}},e.prototype.getReferrer=function(){var e,t,n={referrer:void 0,referring_domain:void 0};try{n.referrer=document.referrer||void 0,n.referring_domain=null!==(t=null===(e=n.referrer)||void 0===e?void 0:e.split("/")[2])&&void 0!==t?t:void 0}catch(e){}return n},e.prototype.getClickIds=function(){var e,t=_n();return(e={})[In]=t[In],e[xn]=t[xn],e[On]=t[On],e[Nn]=t[Nn],e[$n]=t[$n],e[Pn]=t[Pn],e[Ln]=t[Ln],e[Mn]=t[Mn],e[Dn]=t[Dn],e[Bn]=t[Bn],e[Rn]=t[Rn],e},e}();(function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"})(Fe||(Fe={})),function(e){e.REVENUE_PRODUCT_ID="$productId",e.REVENUE_QUANTITY="$quantity",e.REVENUE_PRICE="$price",e.REVENUE_TYPE="$revenueType",e.REVENUE_CURRENCY="$currency",e.REVENUE="$revenue"}(We||(We={})),function(e){e.IDENTIFY="$identify",e.GROUP_IDENTIFY="$groupidentify",e.REVENUE="revenue_amount"}(ze||(ze={})),function(e){e.US="US",e.EU="EU"}(qe||(qe={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.PayloadTooLarge="payload_too_large",e.Invalid="invalid",e.Failed="failed",e.Timeout="Timeout",e.SystemError="SystemError"}(Ve||(Ve={}));var Kn=function(e){var t={};for(var n in e){var i=e[n];i&&(t[n]=i)}return t},Un="[Amplitude] Page Viewed",Gn=function(e){void 0===e&&(e={});var t,n,i,o=bn(),r=void 0,a=e.trackOn,s=e.trackHistoryChanges,l=e.eventType,u=void 0===l?Un:l,c=function(e){var t=e;try{t=decodeURI(e)}catch(e){null==r||r.error("Malformed URI sequence: ",e)}return t},d=function(){return P(void 0,void 0,void 0,function(){var e,t,n;return L(this,function(i){switch(i.label){case 0:return e=c("undefined"!=typeof location&&location.href||""),n={event_type:u},t=[{}],[4,Fn()];case 1:return[2,(n.event_properties=N.apply(void 0,[N.apply(void 0,t.concat([i.sent()])),{"[Amplitude] Page Domain":"undefined"!=typeof location&&location.hostname||"","[Amplitude] Page Location":e,"[Amplitude] Page Path":"undefined"!=typeof location&&c(location.pathname)||"","[Amplitude] Page Title":"undefined"!=typeof document&&document.title||"","[Amplitude] Page URL":e.split("?")[0]}]),n)]}})})},f=function(){return void 0===a||"function"==typeof a&&a()},h="undefined"!=typeof location?location.href:null,p=function(){return P(void 0,void 0,void 0,function(){var e,n,i,o;return L(this,function(a){switch(a.label){case 0:return e=location.href,n=zn(s,e,h||"")&&f(),h=e,n?(null==r||r.log("Tracking page view event"),null!=t?[3,1]:[3,3]):[3,4];case 1:return o=(i=t).track,[4,d()];case 2:o.apply(i,[a.sent()]),a.label=3;case 3:a.label=4;case 4:return[2]}})})},g=function(){p()};return{name:"@amplitude/plugin-page-view-tracking-browser",type:"enrichment",setup:function(e,a){return P(void 0,void 0,void 0,function(){var s,l;return L(this,function(u){switch(u.label){case 0:return t=a,i=e,(r=e.loggerProvider).log("Installing @amplitude/plugin-page-view-tracking-browser"),o&&(o.addEventListener("popstate",g),n=o.history.pushState,o.history.pushState=new Proxy(o.history.pushState,{apply:function(e,t,n){var i=D(n,3),o=i[0],r=i[1],a=i[2];e.apply(t,[o,r,a]),p()}})),f()?(r.log("Tracking page view event"),l=(s=t).track,[4,d()]):[3,2];case 1:l.apply(s,[u.sent()]),u.label=2;case 2:return[2]}})})},execute:function(e){return P(void 0,void 0,void 0,function(){var t;return L(this,function(n){switch(n.label){case 0:return"attribution"===a&&Wn(e)?(null==r||r.log("Enriching c
2ampaign event to page view event with campaign parameters"),[4,d()]):[3,2];case 1:t=n.sent(),e.event_type=t.event_type,e.event_properties=N(N({},e.event_properties),t.event_properties),n.label=2;case 2:return i&&e.event_type===u&&(i.pageCounter=i.pageCounter?i.pageCounter+1:1,e.event_properties=N(N({},e.event_properties),{"[Amplitude] Page Counter":i.pageCounter})),[2,e]}})})},teardown:function(){return P(void 0,void 0,void 0,function(){return L(this,function(e){return o&&(o.removeEventListener("popstate",g),n&&(o.history.pushState=n)),[2]})})}}},Fn=function(){return P(void 0,void 0,void 0,function(){var e;return L(this,function(t){switch(t.label){case 0:return e=Kn,[4,(new jn).parse()];case 1:return[2,e.apply(void 0,[t.sent()])]}})})},Wn=function(e){if("$identify"===e.event_type&&e.user_properties){var t=e.user_properties,n=t[Fe.SET]||{},i=t[Fe.UNSET]||{},o=B(B([],D(Object.keys(n)),!1),D(Object.keys(i)),!1);return Object.keys(Hn).every(function(e){return o.includes(e)})}return!1},zn=function(e,t,n){if("pathOnly"===e){if(""==n)return!0;var i=new URL(t),o=new URL(n);return i.origin+i.pathname!==o.origin+o.pathname}return t!==n},qn=function(){var e,t=[],n=function(e,n,i){e.addEventListener(n,i),t.push({element:e,type:n,handler:i})},i=function(){t.forEach(function(e){var t=e.element,n=e.type,i=e.handler;null==t||t.removeEventListener(n,i)}),t=[]};return{name:"@amplitude/plugin-form-interaction-tracking-browser",type:"enrichment",setup:function(t,i){return P(void 0,void 0,void 0,function(){var o,r;return L(this,function(a){return o=function(){if(i){if("undefined"!=typeof document){var o=function(e){var t=!1;n(e,"change",function(){var n,o=Jn(e);t||i.track(Zt,((n={})[un]=Vn(e.id),n[cn]=Vn(e.name),n[dn]=o,n)),t=!0}),n(e,"submit",function(){var n,o,r=Jn(e);t||i.track(Zt,((n={})[un]=Vn(e.id),n[cn]=Vn(e.name),n[dn]=r,n)),i.track(Xt,((o={})[un]=Vn(e.id),o[cn]=Vn(e.name),o[dn]=r,o)),t=!1})};Array.from(document.getElementsByTagName("form")).forEach(o),"undefined"!=typeof MutationObserver&&(e=new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){"FORM"===e.nodeName&&o(e),"querySelectorAll"in e&&"function"==typeof e.querySelectorAll&&Array.from(e.querySelectorAll("form")).map(o)})})})).observe(document.body,{subtree:!0,childList:!0})}}else t.loggerProvider.warn("Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked.")},"complete"===document.readyState?o():(r=nt())?r.addEventListener("load",o):t.loggerProvider.debug("Form interaction tracking is not installed because global is undefined."),[2]})})},execute:function(e){return P(void 0,void 0,void 0,function(){return L(this,function(t){return[2,e]})})},teardown:function(){return P(void 0,void 0,void 0,function(){return L(this,function(t){return null==e||e.disconnect(),i(),[2]})})}}},Vn=function(e){if("string"==typeof e)return e},Jn=function(e){var t=e.getAttribute("action");try{t=new URL(encodeURI(null!=t?t:""),window.location.href).href}catch(e){}return t},Yn=function(){var e,t=[],n=function(e,n,i){e.addEventListener(n,i),t.push({element:e,type:n,handler:i})},i=function(){t.forEach(function(e){var t=e.element,n=e.type,i=e.handler;null==t||t.removeEventListener(n,i)}),t=[]};return{name:"@amplitude/plugin-file-download-tracking-browser",type:"enrichment",setup:function(t,i){return P(void 0,void 0,void 0,function(){var o,r;return L(this,function(a){return o=function(){if(i){if("undefined"!=typeof document){var o=function(e){var t;try{t=new URL(e.href,window.location.href)}catch(e){return}var o=r.exec(t.href),a=null==o?void 0:o[1];a&&n(e,"click",function(){var n;a&&i.track(en,((n={})[on]=a,n[rn]=t.pathname,n[an]=e.id,n[sn]=e.text,n[ln]=e.href,n))})},r=/\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)(\?.+)?$/;Array.from(document.getElementsByTagName("a")).forEach(o),"undefined"!=typeof MutationObserver&&(e=new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){"A"===e.nodeName&&o(e),"querySelectorAll"in e&&"function"==typeof e.querySelectorAll&&Array.from(e.querySelectorAll("a")).map(o)})})})).observe(document.body,{subtree:!0,childList:!0})}}else t.loggerProvider.warn("File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked.")},"complete"===document.readyState?o():(r=nt())?r.addEventListener("load",o):t.loggerProvider.debug("File download tracking is not installed because global is undefined."),[2]})})},execute:function(e){return P(void 0,void 0,void 0,function(){return L(this,function(t){return[2,e]})})},teardown:function(){return P(void 0,void 0,void 0,function(){return L(this,function(t){return null==e||e.disconnect(),i(),[2]})})}}},Qn=!1,Zn=function(e){if(!Qn&&void 0===e.defaultTracking){var t="`options.defaultTracking` is set to undefined. This implicitly configures your Amplitude instance to track Page Views, Sessions, File Downloads, and Form Interactions. You can suppress this warning by explicitly setting a value to `options.defaultTracking`. The value must either be a boolean, to enable and disable all default events, or an object, for advanced configuration. For example:\n\namplitude.init(<YOUR_API_KEY>, {\n defaultTracking: true,\n});\n\nVisit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details.";e.loggerProvider.warn(t),Qn=!0}},Xn=function(){var e="@amplitude/plugin-network-checker-browser",t="before",n=nt(),i=[],o=function(e,t){n&&(n.addEventListener(e,t),i.push({type:e,handler:t}))}
vendor: 8,614 bytes, line 2
2,r=function(){i.forEach(function(e){var t=e.type,i=e.handler;n&&n.removeEventListener(t,i)}),i=[]};return{name:e,type:t,setup:function(e,t){return P(void 0,void 0,void 0,function(){return L(this,function(n){return"undefined"==typeof navigator?(e.loggerProvider.debug("Network connectivity checker plugin is disabled because navigator is not available."),e.offline=!1,[2]):(e.offline=!navigator.onLine,o("online",function(){e.loggerProvider.debug("Network connectivity changed to online."),e.offline=!1,setTimeout(function(){t.flush()},e.flushIntervalMillis)}),o("offline",function(){e.loggerProvider.debug("Network connectivity changed to offline."),e.offline=!0}),[2])})})},teardown:function(){return P(void 0,void 0,void 0,function(){return L(this,function(e){return r(),[2]})})}}},ei="Network error occurred, remote config fetch failed",ti="Remote config successfully fetched",ni="Remote config fetch rejected due to exceeded retry count",ii="Remote config fetch rejected due to timeout after 5 seconds",oi="Unexpected error occurred",ri="https://sr-client-cfg.amplitude.com/config",ai="https://sr-client-cfg.stag2.amplitude.com/config",si="https://sr-client-cfg.eu.amplitude.com/config",li=function(){function e(e){var t=e.localConfig,n=e.configKeys,i=this;this.retryTimeout=1e3,this.attempts=0,this.sessionTargetingMatch=!1,this.metrics={},this.getRemoteConfig=function(e,t,n){return P(i,void 0,void 0,function(){var i,o,r;return L(this,function(a){switch(a.label){case 0:return i=Date.now(),[4,this.fetchWithTimeout(n)];case 1:return(o=a.sent())&&(r=o.configs&&o.configs[e])?(this.metrics.fetchTimeAPISuccess=Date.now()-i,[2,r[t]]):(this.metrics.fetchTimeAPIFail=Date.now()-i,[2,void 0])}})})},this.fetchWithTimeout=function(e){return P(i,void 0,void 0,function(){var t,n,i;return L(this,function(o){switch(o.label){case 0:return t=new AbortController,n=setTimeout(function(){return t.abort()},5e3),[4,this.fetchRemoteConfig(t.signal,e)];case 1:return i=o.sent(),clearTimeout(n),[2,i]}})})},this.fetchRemoteConfig=function(e,t){return P(i,void 0,void 0,function(){var n,i,o,r,a,s,l,u,c,d,f,h;return L(this,function(p){switch(p.label){case 0:if(t===this.lastFetchedSessionId&&this.attempts>=this.localConfig.flushMaxRetries)return[2,this.completeRequest({err:ni})];if(e.aborted)return[2,this.completeRequest({err:ii})];t!==this.lastFetchedSessionId&&(this.lastFetchedSessionId=t,this.attempts=0),p.label=1;case 1:p.trys.push([1,3,,4]),n=new URLSearchParams({api_key:this.localConfig.apiKey});try{for(i=M(this.configKeys),o=i.next();!o.done;o=i.next())r=o.value,n.append("config_keys",r)}catch(e){d={error:e}}finally{try{o&&!o.done&&(f=i.return)&&f.call(i)}finally{if(d)throw d.error}}return t&&n.set("session_id",String(t)),a={headers:{Accept:"*/*"},method:"GET"},s="".concat(this.getServerUrl(),"?").concat(n.toString()),this.attempts+=1,[4,fetch(s,N(N({},a),{signal:e}))];case 2:if(null===(l=p.sent()))return[2,this.completeRequest({err:oi})];switch((new bt).buildStatus(l.status)){case Ve.Success:return this.attempts=0,[2,this.parseAndStoreConfig(l)];case Ve.Failed:return[2,this.retryFetch(e,t)];default:return[2,this.completeRequest({err:ei})]}case 3:return u=p.sent(),c=u,e.aborted?[2,this.completeRequest({err:ii})]:[2,this.completeRequest({err:null!==(h=c.message)&&void 0!==h?h:oi})];case 4:return[2]}})})},this.retryFetch=function(e,t){return P(i,void 0,void 0,function(){var n=this;return L(this,function(i){switch(i.label){case 0:return[4,new Promise(function(e){return setTimeout(e,n.attempts*n.retryTimeout)})];case 1:return i.sent(),[2,this.fetchRemoteConfig(e,t)]}})})},this.parseAndStoreConfig=function(e){return P(i,void 0,void 0,function(){var t;return L(this,function(n){switch(n.label){case 0:return[4,e.json()];case 1:return t=n.sent(),this.completeRequest({success:ti}),[2,t]}})})},this.localConfig=t,this.configKeys=n}return e.prototype.getServerUrl=function(){return this.localConfig.serverZone===qe.STAGING?ai:this.localConfig.serverZone===qe.EU?si:ri},e.prototype.completeRequest=function(e){var t=e.err,n=e.success;if(t)throw new Error(t);n&&this.localConfig.loggerProvider.log(n)},e}(),ui=function(e){var t=e.localConfig,n=e.configKeys;return P(void 0,void 0,void 0,function(){return L(this,function(e){return[2,new li({localConfig:t,configKeys:n})]})})},ci=function(){function e(e){this.config=e,this.config.loggerProvider.debug("Local configuration before merging with remote config",JSON.stringify(this.config,null,2))}return e.prototype.initialize=function(){return P(this,void 0,void 0,function(){var e;return L(this,function(t){switch(t.label){case 0:return e=this,[4,ui({localConfig:this.config,configKeys:["analyticsSDK"]})];case 1:return e.remoteConfigFetch=t.sent(),[2]}})})},e.prototype.generateJoinedConfig=function(){var e,t,n,i;return P(this,void 0,void 0,function(){var o,r,a;return L(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),(r=this.remoteConfigFetch)?[4,this.remoteConfigFetch.getRemoteConfig("analyticsSDK","browserSDK",this.config.sessionId)]:[3,2];case 1:r=s.sent(),s.label=2;case 2:return o=r,this.config.loggerProvider.debug("Remote configuration:",JSON.stringify(o,null,2)),o&&"autocapture"in o&&("boolean"==typeof o.autocapture&&(this.config.autocapture=o.autocapture),"object"==typeof o.autocapture&&(void 0===this.config.autocapture&&(this.config.autocapture=o.autocapture),"boolean"==typeof this.config.autocapture&&(this.config.autocapture=N({attribution:this.config.autocapture,fileDownloads:this.config.autocapture,formInteractions:this.config.autocapture,pageViews:this.config.autocapture,sessions:this.config.autocapture,elementInteractions:this.config.autocapture},o.autocapture)),"object"==typeof this.config.autocapture&&(this.config.autocapture=N(N({},this.config.autocapture),o.autocapture))),this.config.defaultTracking=this.config.autocapture),this.config.loggerProvider.debug("Joined configuration: ",JSON.stringify(this.config,null,2)),null!==(e=(i=this.config).requestMetadata)&&void 0!==e||(i.requestMetadata=new Oe),!(null===(t=this.remoteConfigFetch)||void 0===t)&&t.metrics.fetchTimeAPISuccess&&this.config.requestMetadata.recordHistogram("remote_config_fetch_time_API_success",this.remoteConfigFetch.metrics.fetchTimeAPISuccess),!(null===(n=this.remoteConfigFetch)||void 0===n)&&n.metrics.fetchTimeAPIFail&&this.config.requestMetadata.recordHistogram("remote_config_fetch_time_API_fail",this.remoteConfigFetch.metrics.fetchTimeAPIFail),[3,4];case 3:return a=s.sent(),this.config.loggerProvider.error("Failed to fetch remote configuration because of error: ",a),[3,4];case 4:return[2,this.config]}})})},e}(),di=function(e){return P(void 0,void 0,void 0,function(){var t;return L(this,function(n){switch(n.label){case 0:return[4,(t=new ci(e)).initialize()];case 1:return n.sent(),[2,t]}})})},fi="@amplitude/plugin-autocapture-browser",hi="[Amplitude] Element Clicked",pi="[Amplitude] Element Changed",gi="[Amplitude] Element ID",mi="[Amplitude] Element Class",vi="[Amplitude] Element Tag",yi="[Amplitude] Element Text",bi="[Amplitude] Element Hierarchy",_i="[Amplitude] Element Href",Si="[Amplitude] Element Position Left",wi="[Amplitude] Element Position Top",ki="[Amplitude] Element Aria Label",Ti="[Amplitude] Element Attributes",Ai="[Amplitude] Element Parent Label",Ci="[Amplitude] Page URL",Ei="[Amplitude] Page Title",Ii="[Amplitude] Viewport Height",xi="[Amplitude] Viewport Width",Oi="https://app.amplitude.com",Ni={US:Oi,EU:"https://app.eu.amplitude.com",STAGING:"https://apps.stag2.amplitude.com"},$i="https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz",Pi="amp-visual-tagging-selector-highlight";function Li(e){return"function"==typeof e}function Mi(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Di=Mi(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function Bi(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ri=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,i,o;if(!this.closed){this.closed=!0;var r=this._parentage;if(r)if(this._parentage=null,Array.isArray(r))try{for(var a=M(r),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else r.remove(this);var l=this.initialTeardown;
2if(Li(l))try{l()}catch(e){o=e instanceof Di?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=M(u),d=c.next();!d.done;d=c.next()){var f=d.value;try{Ki(f)}catch(e){o=null!=o?o:[],e instanceof Di?o=B(B([],D(o)),D(e.errors)):o.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}if(o)throw new Di(o)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ki(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Bi(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Bi(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e;var t}(),Hi=Ri.EMPTY;function ji(e){return e instanceof Ri||e&&"closed"in e&&Li(e.remove)&&Li(e.add)&&Li(e.unsubscribe)}function Ki(e){Li(e)?e():e.unsubscribe()}var Ui={Promise:void 0},Gi={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setTimeout.apply(void 0,B([e,t],D(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Fi(e){Gi.setTimeout(function(){throw e})}function Wi(){}function zi(e){e()}var qi=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,ji(t)&&t.add(n)):n.destination=Zi,n}return O(t,e),t.create=function(e,t,n){return new Ji(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ri),Vi=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Yi(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Yi(e)}else Yi(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Yi(e)}},e}(),Ji=function(e){function t(t,n,i){var o,r=e.call(this)||this;return o=Li(t)||!t?{next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0}:t,r.destination=new Vi(o),r}return O(t,e),t}(qi);function Yi(e){Fi(e)}function Qi(e){throw e}var Zi={closed:!0,next:Wi,error:Qi,complete:Wi},Xi="function"==typeof Symbol&&Symbol.observable||"@@observable";function eo(e){return e}function to(e){return 0===e.length?eo:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var no=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var i=this,o=ro(e)?e:new Ji(e,t,n);return zi(function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=io(t))(function(t,i){var o=new Ji({next:function(t){try{e(t)}catch(e){i(e),o.unsubscribe()}},error:i,complete:t});n.subscribe(o)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Xi]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return to(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=io(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function io(e){var t;return null!==(t=null!=e?e:Ui.Promise)&&void 0!==t?t:Promise}function oo(e){return e&&Li(e.next)&&Li(e.error)&&Li(e.complete)}function ro(e){return e&&e instanceof qi||oo(e)&&ji(e)}function ao(e){return Li(null==e?void 0:e.lift)}function so(e){return function(t){if(ao(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}function lo(e,t,n,i,o){return new uo(e,t,n,i,o)}var uo=function(e){function t(t,n,i,o,r,a){var s=e.call(this,t)||this;return s.onFinalize=r,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return O(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(qi),co=Mi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),fo=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return O(t,e),t.prototype.lift=function(e){var t=new ho(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new co},t.prototype.next=function(e){var t=this;zi(function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=M(t.currentObservers),r=o.next();!r.done;r=o.next())r.value.next(e)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;zi(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;zi(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}
2,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,i=n.hasError,o=n.isStopped,r=n.observers;return i||o?Hi:(this.currentObservers=null,r.push(e),new Ri(function(){t.currentObservers=null,Bi(r,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,i=t.thrownError,o=t.isStopped;n?e.error(i):o&&e.complete()},t.prototype.asObservable=function(){var e=new no;return e.source=this,e},t.create=function(e,t){return new ho(e,t)},t}(no),ho=function(e){function t(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return O(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Hi},t}(fo),po={now:function(){return Date.now()}},go=function(e){function t(t,n){return e.call(this)||this}return O(t,e),t.prototype.schedule=function(e,t){return this},t}(Ri),mo={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setInterval.apply(void 0,B([e,t],D(n)))},clearInterval:function(e){return clearInterval(e)},delegate:void 0},vo=function(e){function t(t,n){var i=e.call(this,t,n)||this;
vendor: 4,797 bytes, line 2
2return i.scheduler=t,i.work=n,i.pending=!1,i}return O(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(o,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),mo.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&mo.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,i=!1;try{this.work(e)}catch(e){i=!0,n=e||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this,n=t.id,i=t.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Bi(o,this),null!=n&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(go),yo=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=po.now,e}(),bo=new(function(e){function t(t,n){void 0===n&&(n=yo.now);var i=e.call(this,t,n)||this;return i.actions=[],i._active=!1,i}return O(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(yo))(vo),_o=bo,So=new no(function(e){return e.complete()});function wo(e){return e&&Li(e.schedule)}function ko(e){return e[e.length-1]}function To(e){return wo(ko(e))?e.pop():void 0}function Ao(e,t){return"number"==typeof ko(e)?e.pop():t}var Co=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Eo(e){return Li(null==e?void 0:e.then)}function Io(e){return Li(e[Xi])}function xo(e){return Symbol.asyncIterator&&Li(null==e?void 0:e[Symbol.asyncIterator])}function Oo(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function No(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var $o=No();function Po(e){return Li(null==e?void 0:e[$o])}function Lo(e){return H(this,arguments,function(){var t,n,i;return L(this,function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,R(t.read())];case 3:return n=o.sent(),i=n.value,n.done?[4,R(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,R(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Mo(e){return Li(null==e?void 0:e.getReader)}function Do(e){if(e instanceof no)return e;if(null!=e){if(Io(e))return Bo(e);if(Co(e))return Ro(e);if(Eo(e))return Ho(e);if(xo(e))return Ko(e);if(Po(e))return jo(e);if(Mo(e))return Uo(e)}throw Oo(e)}function Bo(e){return new no(function(t){var n=e[Xi]();if(Li(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ro(e){return new no(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Ho(e){return new no(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,Fi)})}function jo(e){return new no(function(t){var n,i;try{for(var o=M(e),r=o.next();!r.done;r=o.next()){var a=r.value;if(t.next(a),t.closed)return}}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}t.complete()})}function Ko(e){return new no(function(t){Go(e,t).catch(function(e){return t.error(e)})})}function Uo(e){return Ko(Lo(e))}function Go(e,t){var n,i,o,r;return P(this,void 0,void 0,function(){var a,s;return L(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=j(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(a=i.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(r=n.return)?[4,r.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];
2case 10:return[7];case 11:return t.complete(),[2]}})})}function Fo(e,t,n,i,o){void 0===i&&(i=0),void 0===o&&(o=!1);var r=t.schedule(function(){n(),o?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(r),!o)return r}function Wo(e,t){return void 0===t&&(t=0),so(function(n,i){n.subscribe(lo(i,function(n){return Fo(i,e,function(){return i.next(n)},t)},function(){return Fo(i,e,function(){return i.complete()},t)},function(n){return Fo(i,e,function(){return i.error(n)},t)}))})}function zo(e,t){return void 0===t&&(t=0),so(function(n,i){i.add(e.schedule(function(){return n.subscribe(i)},t))})}function qo(e,t){return Do(e).pipe(zo(t),Wo(t))}function Vo(e,t){return Do(e).pipe(zo(t),Wo(t))}function Jo(e,t){return new no(function(n){var i=0;return t.schedule(function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())})})}function Yo(e,t){return new no(function(n){var i;return Fo(n,t,function(){i=e[$o](),Fo(n,t,function(){var e,t,o;try{t=(e=i.next()).value,o=e.done}catch(e){return void n.error(e)}o?n.complete():n.next(t)},0,!0)}),function(){return Li(null==i?void 0:i.return)&&i.return()}})}function Qo(e,t){if(!e)throw new Error("Iterable cannot be null");return new no(function(n){Fo(n,t,function(){var i=e[Symbol.asyncIterator]();Fo(n,t,function(){i.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function Zo(e,t){return Qo(Lo(e),t)}function Xo(e,t){if(null!=e){if(Io(e))return qo(e,t);if(Co(e))return Jo(e,t);if(Eo(e))return Vo(e,t);if(xo(e))return Qo(e,t);if(Po(e))return Yo(e,t);if(Mo(e))return Zo(e,t)}throw Oo(e)}function er(e,t){return t?Xo(e,t):Do(e)}function tr(e){return e instanceof Date&&!isNaN(e)}var nr=Mi(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function ir(e,t){var n=tr(e)?{first:e}:"number"==typeof e?{each:e}:e,i=n.first,o=n.each,r=n.with,a=void 0===r?or:r,s=n.scheduler,l=void 0===s?bo:s,u=n.meta,c=void 0===u?null:u;if(null==i&&null==o)throw new TypeError("No timeout provided.");return so(function(e,t){var n,r,s=null,u=0,d=function(e){r=Fo(t,l,function(){try{n.unsubscribe(),Do(a({meta:c,lastValue:s,seen:u})).subscribe(t)}catch(e){t.error(e)}},e)};n=e.subscribe(lo(t,function(e){null==r||r.unsubscribe(),u++,t.next(s=e),o>0&&d(o)},void 0,void 0,function(){null!=r&&r.closed||null==r||r.unsubscribe(),s=null})),!u&&d(null!=i?"number"==typeof i?i:+i-l.now():o)})}function or(e){throw new nr(e)}function rr(e,t){return so(function(n,i){var o=0;n.subscribe(lo(i,function(n){i.next(e.call(t,n,o++))}))})}var ar=Array.isArray;function sr(e,t){return ar(t)?e.apply(void 0,B([],D(t))):e(t)}function lr(e){return rr(function(t){return sr(e,t)})}function ur(e,t,n,i,o,r,a,s){var l=[],u=0,c=0,d=!1,f=function(){d&&!l.length&&!u&&t.complete()},h=function(e){return u<i?p(e):l.push(e)},p=function(e){u++;var o=!1;Do(n(e,c++)).subscribe(lo(t,function(e){t.next(e)},function(){o=!0},void 0,function(){if(o)try{u--;for(var e=function(){var e=l.shift();a||p(e)};l.length&&u<i;)e();f()}catch(e){t.error(e)}}))};return e.subscribe(lo(t,h,function(){d=!0,f()})),function(){}}function cr(e,t,n){return void 0===n&&(n=1/0),Li(t)?cr(function(n,i){return rr(function(e,o){return t(n,e,i,o)})(Do(e(n,i)))},n):("number"==typeof t&&(n=t),so(function(t,i){return ur(t,i,e,n)}))}function dr(e){return void 0===e&&(e=1/0),cr(eo,e)}var fr=["addListener","removeListener"],hr=["addEventListener","removeEventListener"],pr=["on","off"];function gr(e,t,n,i){if(Li(n)&&(i=n,n=void 0),i)return gr(e,t,n).pipe(lr(i));var o=D(br(e)?hr.map(function(i){return function(o){return e[i](t,o,n)}}):vr(e)?fr.map(mr(e,t)):yr(e)?pr.map(mr(e,t)):[],2),r=o[0],a=o[1];if(!r&&Co(e))return cr(function(e){return gr(e,t,n)})(Do(e));if(!r)throw new TypeError("Invalid event target");return new no(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return r(t),function(){return a(t)}})}function mr(e,t){return function(n){return function(i){return e[n](t,i)}}}function vr(e){return Li(e.addListener)&&Li(e.removeListener)}function yr(e){return Li(e.on)&&Li(e.off)}function br(e){return Li(e.addEventListener)&&Li(e.removeEventListener)}function _r(e,t,n){void 0===n&&(n=_o);var i=-1;return null!=t&&(wo(t)?n=t:i=t),new no(function(t){var o=tr(e)?+e-n.now():e;o<0&&(o=0);var r=0;return n.schedule(function(){t.closed||(t.next(r++),0<=i?this.schedule(void 0,i):t.complete())},o)})}function Sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=To(e),i=Ao(e,1/0),o=e;return o.length?1===o.length?Do(o[0]):dr(i)(er(o,n)):So}function wr(e,t){return so(function(n,i){var o=0;n.subscribe(lo(i,function(n){return e.call(t,n,o++)&&i.next(n)}))})}function kr(e){return so(function(t,n){var i=[];return t.subscribe(lo(n,function(e){return i.push(e)},function(){n.next(i),n.complete()}
2)),Do(e).subscribe(lo(n,function(){var e=i;i=[],n.next(e)},Wi)),function(){i=null}})}function Tr(e,t){return void 0===t&&(t=bo),so(function(n,i){var o=null,r=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var e=r;r=null,i.next(e)}};function l(){var n=a+e,r=t.now();if(r<n)return o=this.schedule(void 0,n-r),void i.add(o);s()}n.subscribe(lo(i,function(n){r=n,a=t.now(),o||(o=t.schedule(l,e),i.add(o))},function(){s(),i.complete()},void 0,function(){r=o=null}))})}function Ar(e){return e<=0?function(){return So}:so(function(t,n){var i=0;t.subscribe(lo(n,function(t){++i<=e&&(n.next(t),e<=i&&n.complete())}))})}function Cr(e){return rr(function(){return e})}function Er(e,t){return cr(function(t,n){return Do(e(t,n)).pipe(Ar(1),Cr(t))})}function Ir(e,t){void 0===t&&(t=bo);var n=_r(e,t);return Er(function(){return n})}function xr(){return so(function(e,t){var n,i=!1;e.subscribe(lo(t,function(e){var o=n;n=e,i&&t.next([o,e]),i=!0}))})}function Or(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new fo}:t,i=e.resetOnError,o=void 0===i||i,r=e.resetOnComplete,a=void 0===r||r,s=e.resetOnRefCountZero,l=void 0===s||s;return function(e){var t,i,r,s=0,u=!1,c=!1,d=function(){null==i||i.unsubscribe(),i=void 0},f=function(){d(),t=r=void 0,u=c=!1},h=function(){var e=t;f(),null==e||e.unsubscribe()};return so(function(e,p){s++,!c&&!u&&d();var g=r=null!=r?r:n();p.add(function(){0===--s&&!c&&!u&&(i=Nr(h,l))}),g.subscribe(p),!t&&s>0&&(t=new Ji({next:function(e){return g.next(e)},error:function(e){c=!0,d(),i=Nr(f,o,e),g.error(e)},complete:function(){u=!0,d(),i=Nr(f,a),g.complete()}}),Do(e).subscribe(t))})(e)}}function Nr(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!0!==t){if(!1!==t){var o=new Ji({next:function(){o.unsubscribe(),e()}});return Do(t.apply(void 0,B([],D(n)))).subscribe(o)}}else e()}function $r(e,t){return so(function(n,i){var o=null,r=0,a=!1,s=function(){return a&&!o&&i.complete()};n.subscribe(lo(i,function(n){null==o||o.unsubscribe();var a=0,l=r++;Do(e(n,l)).subscribe(o=lo(i,function(e){return i.next(t?t(n,e,l,a++):e)},function(){o=null,s()}))},function(){a=!0,s()}))})}var Pr=["input","select","textarea"],Lr=function(e,t){return function(n,i){var o,r,a,s=e.pageUrlAllowlist,l=e.shouldTrackEventResolver,u=null===(r=null===(o=null==i?void 0:i.tagName)||void 0===o?void 0:o.toLowerCase)||void 0===r?void 0:r.call(o);if(!u)return!1;if(l)return l(n,i);if(!Hr(window.location.href,s))return!1;var c=String(null==i?void 0:i.getAttribute("type"))||"";if("string"==typeof c)switch(c.toLowerCase()){case"hidden":case"password":return!1}if(t&&!t.some(function(e){var t;return!(null===(t=null==i?void 0:i.matches)||void 0===t||!t.call(i,e))}))return!1;switch(u){case"input":case"select":case"textarea":return"change"===n||"click"===n;default:var d=null===(a=null==window?void 0:window.getComputedStyle)||void 0===a?void 0:a.call(window,i);return!(!d||"pointer"!==d.getPropertyValue("cursor")||"click"!==n)||"click"===n}}},Mr=function(e){if(null==e)return!1;if("string"==typeof e){if(/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0},Dr=function(e){return!!e&&3===e.nodeType},Br=function(e){var t,n,i,o=null===(n=null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase)||void 0===n?void 0:n.call(t),r=e instanceof HTMLElement&&"true"===(null===(i=e.getAttribute("contenteditable"))||void 0===i?void 0:i.toLowerCase());return!Pr.includes(o)&&!r},Rr=function(e){var t="";return Br(e)&&e.childNodes&&e.childNodes.length&&e.childNodes.forEach(function(e){var n="";Dr(e)?e.textContent&&(n=e.textContent):n=Rr(e),t+=n.split(/(\s+)/).filter(Mr).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}),t},Hr=function(e,t){return!t||!t.length||t.some(function(t){return"string"==typeof t?e===t:e.match(t)})},jr=function(e,t){return e.getAttributeNames().reduce(function(n,i){if(i.startsWith(t)){var o=i.replace(t,""),r=e.getAttribute(i);o&&(n[o]=r||"")}return n},{})},Kr=function(e){return null==e||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length},Ur=function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return Kr(i)||(t[n]=i),t},{})},Gr=function(e){var t,n=e.parentElement;if(!n)return"";try{t=n.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch(e){t=null}if(t){var i=t.textContent||"";return Mr(i)?i:""}return Gr(n)},Fr=function(e,t){return e?t.some(function(t){var n;return null===(n=null==e?void 0:e.matches)||void 0===n?void 0:n.call(e,t)})?e:Fr(null==e?void 0:e.parentElement,t):null},Wr=function(e){var t,n,i;if(!e)return{};var o=null===(i=null===(n=null==e?void 0:e.tagName)||void 0===n?void 0:n.toLowerCase)||void 0===i?void 0:i.call(n),r=((t={})[vi]=o,t[yi]=Rr(e),t[Ci]=window.location.href.split("?")[0],t);return Ur(r)},zr=function(e){return new Promise(function(t,n){var i;try{var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=e,o.addEventListener("load",function(){t({status:!0})},{once:!0}),o.addEventListener("error",function(){n({status:!1,message:"Failed to load the script ".concat(e)})}),null===(i=document.head)||void 0===i||i.appendChild(o)}catch(e){n(e)}})};function qr(){return"".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9))}var Vr=function(e){return!(null===e.event.target||!e.closestTrackedAncestor)},Jr=function(){function e(e){var t=(void 0===e?{}:e).origin,n=void 0===t?Oi:t,i=this;this.endpoint=Oi,this.requestCallbacks={},this.onSelect=function(e){i.notify({action:"element-selected",data:e})},this.onTrack=function(e,t){"selector-mode-changed"===e?i.notify({action:"track-selector-mode-changed",data:t}):"selector-moved"===e&&i.notify({action:"track-selector-moved",data:t})},this.endpoint=n}return e.prototype.notify=function(e){var t,n,i,o;null===(n=null===(t=this.logger)||void 0===t?void 0:t.debug)||void 0===n||n.call(t,"Message sent: ",JSON.stringify(e)),null===(o=null===(i=window.opener)||void 0===i?void 0:i.postMessage)||void 0===o||o.call(i,e,this.endpoint)},e.prototype.sendRequest=function(e,t,n){var i=this;void 0===n&&(n={timeout:15e3});
2var o=qr(),r={id:o,action:e,args:t};return new Promise(function(t,a){i.requestCallbacks[o]={resolve:t,reject:a},i.notify(r),(null==n?void 0:n.timeout)>0&&setTimeout(function(){a(new Error("".concat(e," timed out (id: ").concat(o,")"))),delete i.requestCallbacks[o]},n.timeout)})},e.prototype.handleResponse=function(e){var t;this.requestCallbacks[e.id]?(this.requestCallbacks[e.id].resolve(e.responseData),delete this.requestCallbacks[e.id]):null===(t=this.logger)||void 0===t||t.warn("No callback found for request id: ".concat(e.id))},e.prototype.setup=function(e){var t=this,n=void 0===e?{}:e,i=n.logger,o=n.endpoint,r=n.isElementSelectable,a=n.cssSelectorAllowlist,s=n.actionClickAllowlist;this.logger=i,o&&this.endpoint===Oi&&(this.endpoint=o);var l=null;window.addEventListener("message",function(e){var n,i,o,u,c;if(null===(i=null===(n=t.logger)||void 0===n?void 0:n.debug)||void 0===i||i.call(n,"Message received: ",JSON.stringify(e)),t.endpoint===e.origin){var d=null==e?void 0:e.data,f=null==d?void 0:d.action;if(f)if("id"in d)null===(u=null===(o=t.logger)||void 0===o?void 0:o.debug)||void 0===u||u.call(o,"Received Response to previous request: ",JSON.stringify(e)),t.handleResponse(d);else if("ping"===f)t.notify({action:"pong"});else if("initialize-visual-tagging-selector"===f){var h=null==d?void 0:d.data;zr($i).then(function(){var e;l=null===(e=null==window?void 0:window.amplitudeVisualTaggingSelector)||void 0===e?void 0:e.call(window,{getEventTagProps:Wr,isElementSelectable:function(e){return!r||r((null==h?void 0:h.actionType)||"click",e)},onTrack:t.onTrack,onSelect:t.onSelect,visualHighlightClass:Pi,messenger:t,cssSelectorAllowlist:a,actionClickAllowlist:s}),t.notify({action:"selector-loaded"})}).catch(function(){var e;
vendor: 1,520 bytes, line 2
2null===(e=t.logger)||void 0===e||e.warn("Failed to initialize visual tagging selector")})}else"close-visual-tagging-selector"===f&&(null===(c=null==l?void 0:l.close)||void 0===c||c.call(l))}}),this.notify({action:"page-loaded"})},e}(),Yr=["id","class","style","value","onclick","onchange","oninput","onblur","onsubmit","onfocus","onkeydown","onkeyup","onkeypress","data-reactid","data-react-checksum","data-reactroot"],Qr=["type"],Zr=["svg","path","g"],Xr=["password","hidden"],ea=128,ta=1024;function na(e){var t,n,i,o,r,a;if(null===e)return null;var s=String(e.tagName).toLowerCase(),l={tag:s},u=Array.from(null!==(o=null===(i=e.parentElement)||void 0===i?void 0:i.children)&&void 0!==o?o:[]);u.length&&(l.index=u.indexOf(e),l.indexOfType=u.filter(function(t){return t.tagName===e.tagName}).indexOf(e));var c=null===(a=null===(r=e.previousElementSibling)||void 0===r?void 0:r.tagName)||void 0===a?void 0:a.toLowerCase();c&&(l.prevSib=String(c));var d=e.getAttribute("id");d&&(l.id=String(d));var f=Array.from(e.classList);f.length&&(l.classes=f);var h={},p=Array.from(e.attributes).filter(function(e){return!Yr.includes(e.name)}),g=!Br(e);if(!Xr.includes(String(e.getAttribute("type")))&&!Zr.includes(s))try{for(var m=M(p),v=m.next();!v.done;v=m.next()){var y=v.value;g&&!Qr.includes(y.name)||(h[y.name]=String(y.value).substring(0,ea))}}catch(e){t={error:e}}finally{try{v&&!v.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}return Object.keys(h).length&&(l.attrs=h),l}function ia(e){var t=[];if(!e)return t;
2t.push(e);for(var n=e.parentElement;n&&"HTML"!==n.tagName;)t.push(n),n=n.parentElement;return t}var oa,ra=function(e){return e?aa(ia(e).map(function(e){return na(e)}),ta):[]};function aa(e,t){for(var n=0,i=0;i<e.length;i++){var o=e[i];if(null===o)n+=4;else{var r=sa(o);n+=r?Array.from(r).length:4}if(n>t)return e.slice(0,i)}return e}function sa(e,t){void 0===t&&(t=!1);try{if(null==e)return t?"None":null;if("string"==typeof e)return t?(e=e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")).includes('"')?"'".concat(e,"'"):e.includes("'")?'"'.concat(e.replace(/'/g,"\\'"),'"'):"'".concat(e,"'"):e;if("boolean"==typeof e)return e?"True":"False";if(Array.isArray(e)){var n=e.map(function(e){return sa(e,!0)});return"[".concat(n.join(", "),"]")}if("object"==typeof e){var i=Object.entries(e).filter(function(e){return null!=D(e,1)[0]}).map(function(e){var t=D(e,2),n=t[0],i=t[1];return"".concat(String(sa(n,!0)),": ").concat(String(sa(i,!0)))}),o="{".concat(i.join(", "),"}");return o.includes("\\'")&&(o=o.replace(/'/g,"'").replace(/'/g,"\\'")),o}return e.toString()}catch(e){return null}}function la(e){var t=e.amplitude,n=e.allObservables,i=e.options,o=e.shouldTrackEvent,r=n.clickObservable,a=Sr(r.pipe(xr(),wr(function(e){var t=D(e,2),n=t[0],i=t[1],o=n.event.target!==i.event.target,r=Math.abs(i.event.screenX-n.event.screenX)<=20&&Math.abs(i.event.screenY-n.event.screenY)<=20;return o&&!r})),r.pipe(Tr(i.debounceTime),rr(function(){return"timeout"})));return r.pipe(Ir(0),wr(Vr),wr(function(e){return o("click",e.closestTrackedAncestor)}),kr(a)).subscribe(function(e){var n,i,o=(e.length,hi);try{for(var r=M(e),a=r.next();!a.done;a=r.next()){var s=a.value;null==t||t.track(o,s.targetElementProperties)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}})}function ua(e){var t=e.amplitude,n=e.allObservables,i=e.getEventProperties,o=e.shouldTrackEvent;return n.changeObservable.pipe(wr(Vr),wr(function(e){return o("change",e.closestTrackedAncestor)})).subscribe(function(e){null==t||t.track(pi,i("change",e.closestTrackedAncestor))})}function ca(e){var t=e.amplitude,n=e.allObservables,i=e.options,o=e.getEventProperties,r=e.shouldTrackEvent,a=e.shouldTrackActionClick,s=n.clickObservable,l=n.mutationObservable,u=n.navigateObservable,c=s.pipe(wr(function(e){return!r("click",e.closestTrackedAncestor)}),rr(function(e){var t=Fr(e.event.target,i.actionClickAllowlist);return e.closestTrackedAncestor=t,null!==e.closestTrackedAncestor&&(e.targetElementProperties=o(e.type,e.closestTrackedAncestor)),e}),wr(Vr),wr(function(e){return a("click",e.closestTrackedAncestor)})),d=[l];u&&d.push(u);var f=Sr.apply(void 0,B([],D(d),!1));return c.pipe($r(function(e){return f.pipe(Ar(1),ir({first:500,with:function(){return So}}),rr(function(){return e}))})).subscribe(function(e){null==t||t.track(hi,o("click",e.closestTrackedAncestor))})}function da(e){return"click"===e.type||"change"===e.type}!function(e){e.ClickObservable="clickObservable",e.ChangeObservable="changeObservable",e.NavigateObservable="navigateObservable",e.MutationObservable="mutationObservable"}(oa||(oa={}));var fa=function(e){var t,n,i;void 0===e&&(e={});var o=e.dataAttributePrefix,r=void 0===o?kt:o,a=e.visualTaggingOptions,s=void 0===a?{enabled:!0,messenger:new Jr}:a;e.cssSelectorAllowlist=null!==(t=e.cssSelectorAllowlist)&&void 0!==t?t:wt,e.actionClickAllowlist=null!==(n=e.actionClickAllowlist)&&void 0!==n?n:Tt,e.debounceTime=null!==(i=e.debounceTime)&&void 0!==i?i:0;var l=fi,u=[],c=function(){var e,t,n=gr(document,"click",{capture:!0}).pipe(rr(function(e){return f(e,"click")}),Or()),i=gr(document,"change",{capture:!0}).pipe(rr(function(e){return f(e,"change")}),Or());window.navigation&&(t=gr(window.navigation,"navigate").pipe(rr(function(e){return f(e,"navigate")}),Or()));var o=new no(function(e){var t=new MutationObserver(function(t){e.next(t)});return t.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return t.disconnect()}}).pipe(rr(function(e){return f(e,"mutation")}),Or());return(e={})[oa.ClickObservable]=n,e[oa.ChangeObservable]=i,e[oa.NavigateObservable]=t,e[oa.MutationObservable]=o,e},d=function(e,t){var n,i,o,a=null===(o=null===(i=null==t?void 0:t.tagName)||void 0===i?void 0:i.toLowerCase)||void 0===o?void 0:o.call(i),s="function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{left:null,top:null},l=t.getAttribute("aria-label"),u=jr(t,r),c=Gr(t),d=((n={})[gi]=t.getAttribute("id")||"",n[mi]=t.getAttribute("class"),n[bi]=ra(t),n[vi]=a,n[yi]=Rr(t),n[Si]=null==s.left?null:Math.round(s.left),n[wi]=null==s.top?null:Math.round(s.top),n[ki]=l,n[Ti]=u,n[Ai]=c,n[Ci]=window.location.href.split("?")[0],n[Ei]="undefined"!=typeof document&&document.title||"",n[Ii]=window.innerHeight,n[xi]=window.innerWidth,n);return"a"===a&&"click"===e&&t instanceof HTMLAnchorElement&&(d[_i]=t.href),Ur(d)},f=function(t,n){var i={event:t,timestamp:Date.now(),type:n};if(da(i)&&null!==i.event.target){var o=Fr(i.event.target,e.cssSelectorAllowlist);return o&&(i.closestTrackedAncestor=o,i.targetElementProperties=d(i.type,o)),i}return i};return{name:l,type:"enrichment",setup:function(t,n){return P(void 0,void 0,void 0,function(){var i,o,r,a,f,h,p,g,m,v;return L(this,function(y){return"undefined"==typeof document||(i=Lr(e,e.cssSelectorAllowlist),o=Lr(e,e.actionClickAllowlist),r=c(),a=la({allObservables:r,options:e,amplitude:n,shouldTrackEvent:i}),u.push(a),f=ua({allObservables:r,getEventProperties:d,amplitude:n,shouldTrackEvent:i}),u.push(f),h=ca({allObservables:r,options:e,getEventProperties:d,amplitude:n,shouldTrackEvent:i,shouldTrackActionClick:o}),u.push(h),null===(m=null==t?void 0:t.loggerProvider)||void 0===m||m.log("".concat(l," has been successfully added.")),window.opener&&s.enabled&&(p=e.cssSelectorAllowlist,g=e.actionClickAllowlist,null===(v=s.messenger)||void 0===v||v.setup(N(N({logger:null==t?void 0:t.loggerProvider},(null==t?void 0:t.serverZone)&&{endpoint:Ni[t.serverZone]}),{isElementSelectable:Lr(e,B(B([],D(p),!1),D(g),!1)),cssSelectorAllowlist:p,actionClickAllowlist:g})))),[2]})})},execute:function(e){return P(void 0,void 0,void 0,function(){return L(this,function(t){return[2,e]})})},teardown:function(){return P(void 0,void 0,void 0,function(){var e,t,n,i;return L(this,function(o){try{for(e=M(u),t=e.next();!t.done;t=e.next())t.value.unsubscribe()}catch(e){n={error:e}}finally{try{t&&!t.done&&(i=e.return)&&i.call(e)}finally{if(n)throw n.error}}return[2]})})}}},ha="utm_campaign",pa="utm_content",ga="utm_id",ma="utm_medium",va="utm_source",ya="utm_term",ba="dclid",_a="fbclid",Sa="gbraid",wa="gclid",ka="ko_click_id",Ta="li_fat_id",Aa="msclkid",Ca="rtd_cid",Ea="ttclid",Ia="twclid",xa="wbraid",Oa={utm_campaign:void 0,utm_c
vendor: 8,431 bytes, line 2
2ontent:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rtd_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0},Na=function(e){var t=e.split(".");return t.length<=2?e:t.slice(t.length-2,t.length).join(".")},$a=function(e){return Object.values(e).every(function(e){return!e})},Pa=function(e,t,n,i,o){void 0===o&&(o=!0),e.referrer;var r=e.referring_domain,a=$(e,["referrer","referring_domain"]),s=t||{};s.referrer;var l=s.referring_domain,u=$(s,["referrer","referring_domain"]);if(La(n.excludeReferrers,e.referring_domain))return i.debug("This is not a new campaign because ".concat(e.referring_domain," is in the exclude referrer list.")),!1;if(!o&&$a(e)&&t)return i.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var c=JSON.stringify(a)!==JSON.stringify(u),d=Na(r||"")!==Na(l||""),f=!t||c||d;return f?i.debug("This is a new campaign. An $identify event will be sent."):i.debug("This is not a new campaign because it's the same as the previous one."),f},La=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=""),e.some(function(e){return e instanceof RegExp?e.test(t):e===t})},Ma=function(e,t){var n=N(N({},Oa),e),i=Object.entries(n).reduce(function(e,n){var i,o=D(n,2),r=o[0],a=o[1];return e.setOnce("initial_".concat(r),null!==(i=null!=a?a:t.initialEmptyValue)&&void 0!==i?i:"EMPTY"),a?e.set(r,a):e.unset(r)},new fe);return ge(i)},Da=function(e){var t=e;return t?(t.startsWith(".")&&(t=t.substring(1)),[new RegExp("".concat(t.replace(".","\\."),"$"))]):[]},Ba=function(){function e(){}return e.prototype.parse=function(){return P(this,void 0,void 0,function(){return L(this,function(e){return[2,N(N(N(N({},Oa),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},e.prototype.getUtmParam=function(){var e=st();return{utm_campaign:e[ha],utm_content:e[pa],utm_id:e[ga],utm_medium:e[ma],utm_source:e[va],utm_term:e[ya]}},e.prototype.getReferrer=function(){var e,t,n={referrer:void 0,referring_domain:void 0};try{n.referrer=document.referrer||void 0,n.referring_domain=null!==(t=null===(e=n.referrer)||void 0===e?void 0:e.split("/")[2])&&void 0!==t?t:void 0}catch(e){}return n},e.prototype.getClickIds=function(){var e,t=st();return(e={})[ba]=t[ba],e[_a]=t[_a],e[Sa]=t[Sa],e[wa]=t[wa],e[ka]=t[ka],e[Ta]=t[Ta],e[Aa]=t[Aa],e[Ca]=t[Ca],e[Ea]=t[Ea],e[Ia]=t[Ia],e[xa]=t[xa],e},e}(),Ra=function(){function e(e,t){var n;this.shouldTrackNewCampaign=!1,this.options=N({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:Da(null===(n=t.cookieOptions)||void 0===n?void 0:n.domain)},e),this.storage=t.cookieStorage,this.storageKey=yt(t.apiKey,"MKTG"),this.currentCampaign=Oa,this.sessionTimeout=t.sessionTimeout,this.lastEventTime=t.lastEventTime,this.logger=t.loggerProvider,t.loggerProvider.log("Installing web attribution tracking.")}return e.prototype.init=function(){return P(this,void 0,void 0,function(){var e,t;return L(this,function(n){switch(n.label){case 0:return[4,this.fetchCampaign()];case 1:return t=D.apply(void 0,[n.sent(),2]),this.currentCampaign=t[0],this.previousCampaign=t[1],e=!this.lastEventTime||it(this.sessionTimeout,this.lastEventTime),Pa(this.currentCampaign,this.previousCampaign,this.options,this.logger,e)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.fetchCampaign=function(){return P(this,void 0,void 0,function(){return L(this,function(e){switch(e.label){case 0:return[4,Promise.all([(new Ba).parse(),this.storage.get(this.storageKey)])];case 1:return[2,e.sent()]}})})},e.prototype.generateCampaignEvent=function(e){this.shouldTrackNewCampaign=!1;var t=Ma(this.currentCampaign,this.options);return e&&(t.event_id=e),t},e.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},e}(),Ha=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return O(t,e),t.prototype.init=function(e,t,n){var i,o;return void 0===e&&(e=""),arguments.length>2?(i=t,o=n):"string"==typeof t?(i=t,o=void 0):(i=null==t?void 0:t.userId,o=t),be(this._init(N(N({},o),{userId:i,apiKey:e})))},t.prototype._init=function(t){var n,i,o;return P(this,void 0,void 0,function(){var r,a,s,l,u,c=this;return L(this,function(d){switch(d.label){case 0:return this.initializing?[2]:(this.initializing=!0,[4,gn(t.apiKey,t,this)]);case 1:return r=d.sent(),t.fetchRemoteConfig?[4,di(r)]:[3,4];case 2:return[4,d.sent().generateJoinedConfig()];case 3:r=d.sent(),d.label=4;case 4:return[4,e.prototype._init.call(this,r)];case 5:return d.sent(),this.logBrowserOptions(r),Ct(this.config.defaultTracking)?(a=Lt(this.config),this.webAttribution=new Ra(a,this.config),[4,this.webAttribution.init()]):[3,7];case 6:d.sent(),d.label=7;case 7:return s=st(),l=Number.isNaN(Number(s.ampSessionId))?void 0:Number(s.ampSessionId),this.setSessionId(null!==(o=null!==(i=null!==(n=t.sessionId)&&void 0!==n?n:l)&&void 0!==i?i:this.config.sessionId)&&void 0!==o?o:Date.now()),(u=Ze(t.instanceName)).identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),this.config.offline===St?[3,9]:[4,this.add(Xn()).promise];case 8:d.sent(),d.label=9;case 9:return[4,this.add(new Pe).promise];case 10:return d.sent(),[4,this.add(new Kt).promise];case 11:return d.sent(),[4,this.add(new tt).promise];case 12:return d.sent(),Zn(this.config),Et(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(Yn()).promise]):[3,14];case 13:d.sent(),d.label=14;case 14:return It(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(qn()).promise]):[3,16];case 15:d.sent(),d.label=16;case 16:return xt(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(Gn(Pt(this.config))).promise]):[3,18];case 17:d.sent(),d.label=18;case 18:return Nt(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(fa($t(this.config))).promise]):[3,20];case 19:d.sent(),d.label=20;case 20:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 21:return d.sent(),u.eventBridge.setEventReceiver(function(e){c.track(e.eventType,e.eventProperties)}),[2]}})})},t.prototype.getUserId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.userId},t.prototype.setUserId=function(e){this.config?(this.config.loggerProvider.debug("function setUserId: ",e),(e!==this.config.userId||void 0===e)&&(this.config.userId=e,Xe(e,this.config.instanceName))):this.q.push(this.setUserId.bind(this,e))},t.prototype.getDeviceId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.deviceId},t.prototype.setDeviceId=function(e){this.config?(this.config.loggerProvider.debug("function setDeviceId: ",e),this.config.deviceId=e,et(e,this.config.instanceName)):this.q.push(this.setDeviceId.bind(this,e))},t.prototype.reset=function(){this.setDeviceId(ee()),this.setUserId(void 0)},t.prototype.getSessionId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.sessionId},t.prototype.setSessionId=function(e){var t,n=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,e)),be(Promise.resolve());if(e===this.config.sessionId)return be(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",e);var i=this.getSessionId(),o=this.config.lastEventTime,r=null!==(t=this.config.lastEventId)&&void 0!==t?t:-1;this.config.sessionId=e,this.config.lastEventTime=void 0,this.config.pageCounter=0,Ot(this.config.defaultTracking)&&(i&&o&&n.push(this.track(nn,void 0,{device_id:this.previousSessionDeviceId,event_id:++r,session_id:i,time:o+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var a=this.trackCampaignEventIfNeeded(++r,n);return Ot(this.config.defaultTracking)&&n.push(this.track(tn,void 0,{event_id:a?++r:r,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,be(Promise.all(n))},t.prototype.extendSession=function(){this.config?this.config.lastEventTime=
2Date.now():this.q.push(this.extendSession.bind(this))},t.prototype.setTransport=function(e){this.config?this.config.transportProvider=vn(e):this.q.push(this.setTransport.bind(this,e))},t.prototype.identify=function(t,n){if(Dt(t)){var i=t._q;t._q=[],t=Mt(new fe,i)}return null!=n&&n.user_id&&this.setUserId(n.user_id),null!=n&&n.device_id&&this.setDeviceId(n.device_id),e.prototype.identify.call(this,t,n)},t.prototype.groupIdentify=function(t,n,i,o){if(Dt(i)){var r=i._q;i._q=[],i=Mt(new fe,r)}return e.prototype.groupIdentify.call(this,t,n,i,o)},t.prototype.revenue=function(t,n){if(Dt(t)){var i=t._q;t._q=[],t=Mt(new Se,i)}return e.prototype.revenue.call(this,t,n)},t.prototype.trackCampaignEventIfNeeded=function(e,t){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var n=this.webAttribution.generateCampaignEvent(e);return t?t.push(this.track(n).promise):this.track(n),this.config.loggerProvider.log("Tracking attribution."),!0},t.prototype.process=function(t){return P(this,void 0,void 0,function(){var n,i,o;return L(this,function(r){return n=Date.now(),i=it(this.config.sessionTimeout,this.config.lastEventTime),o=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),t.event_type!==tn&&t.event_type!==nn&&(!t.session_id||t.session_id===this.getSessionId())&&(i||o?(this.setSessionId(n),o&&this.config.loggerProvider.log("Created a new session for new campaign.")):i||this.trackCampaignEventIfNeeded()),[2,e.prototype.process.call(this,t)]})})},t.prototype.logBrowserOptions=function(e){try{var t=N(N({},e),{apiKey:e.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",JSON.stringify(t))}catch(e){this.config.loggerProvider.error("Error logging browser config",e)}},t}(_e),ja=function(){var e=new Ha;return{init:ht(e.init.bind(e),"init",ct(e),ft(e,["config"])),add:ht(e.add.bind(e),"add",ct(e),ft(e,["config.apiKey","timeline.plugins"])),remove:ht(e.remove.bind(e),"remove",ct(e),ft(e,["config.apiKey","timeline.plugins"])),track:ht(e.track.bind(e),"track",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),logEvent:ht(e.logEvent.bind(e),"logEvent",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),identify:ht(e.identify.bind(e),"identify",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),groupIdentify:ht(e.groupIdentify.bind(e),"groupIdentify",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),setGroup:ht(e.setGroup.bind(e),"setGroup",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),revenue:ht(e.revenue.bind(e),"revenue",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),flush:ht(e.flush.bind(e),"flush",ct(e),ft(e,["config.apiKey","timeline.queue.length"])),getUserId:ht(e.getUserId.bind(e),"getUserId",ct(e),ft(e,["config","config.userId"])),setUserId:ht(e.setUserId.bind(e),"setUserId",ct(e),ft(e,["config","config.userId"])),getDeviceId:ht(e.getDeviceId.bind(e),"getDeviceId",ct(e),ft(e,["config","config.deviceId"])),setDeviceId:ht(e.setDeviceId.bind(e),"setDeviceId",ct(e),ft(e,["config","config.deviceId"])),reset:ht(e.reset.bind(e),"reset",ct(e),ft(e,["config","config.userId","config.deviceId"])),getSessionId:ht(e.getSessionId.bind(e),"getSessionId",ct(e),ft(e,["config"])),setSessionId:ht(e.setSessionId.bind(e),"setSessionId",ct(e),ft(e,["config"])),extendSession:ht(e.extendSession.bind(e),"extendSession",ct(e),ft(e,["config"])),setOptOut:ht(e.setOptOut.bind(e),"setOptOut",ct(e),ft(e,["config"])),setTransport:ht(e.setTransport.bind(e),"setTransport",ct(e),ft(e,["config"]))}};ja();const Ka={PageView:"Page View",CompleteRegistration:"Register",ViewCart:"View Cart",ViewItemList:"View Item List",AddToCart:"Add To Cart",RemoveFromCart:"Remove From Cart",InitiateCheckout:"Initiate Checkout",Purchase:"Order Placed"};class Ua{constructor(e=null,t=null){l(this,"amplitude",null),l(this,"amplitudeOffset",null),this.trackingId=e,this.offsetTrackingId=t,this.trackingId&&(this.amplitude=ja(),this.amplitude.init(this.trackingId,{autocapture:!0})),this.offsetTrackingId&&(this.amplitudeOffset=ja(),this.amplitudeOffset.init(this.offsetTrackingId,{autocapture:!0}))}trackEvent(e,t){if(this.trackingId||this.offsetTrackingId){if(Ka[e]&&(e=Ka[e]),"userId"===e)return this.amplitude&&this.amplitude.setUserId(t||""),void(this.amplitudeOffset&&this.amplitudeOffset.setUserId(t||""));if("User"===e){const e=new fe;e.set("Name",t.Name),e.set("Email",t.Email),this.amplitude&&this.amplitude.identify(e),this.amplitudeOffset&&this.amplitudeOffset.identify(e)}else this.amplitude&&this.amplitude.track(e,t),this.amplitudeOffset&&this.amplitudeOffset.track(e,t)}}}var Ga,Fa,Wa,za={};function qa(e){return Object.assign(e,{autoCapturePageviews:!1!==e.autoCapturePageviews,logging:!1!==e.logging,bindToWindow:!1!==e.bindToWindow})}
2function Va(e){if(za.isInitialized)throw Error("plausible.init() can only be called once");if(!e||!e.domain)throw Error("plausible.init(): domain argument is required");e.endpoint||(e.endpoint="https://plausible.io/api/event"),Object.assign(za,e),za.isInitialized=!0}function Ja(e,t,n){window.fetch&&fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(e){n&&n.callback&&n.callback({status:e.status})}).catch(function(e){n&&n.callback&&n.callback({error:e})})}var Ya=!1,Qa=location.href,Za={},Xa=-1,es=0,ts=0;function ns(){Ya&&(rs(),Fa=us(),Wa=cs())}function is(e){Ga=!1,Qa=e.u,Za=e.p,Xa=-1,ts=0,es=Date.now(),ss()}function os(){Ga=!0}function rs(){var e=ls();if(!Ga&&(Xa<Wa||e>=3e3)){Xa=Wa;var t={n:"engagement",sd:Math.round(Wa/Fa*100),d:za.domain,u:Qa,p:Za,e:e,v:31};es=0,ts=0,za.hashBasedRouting&&(t.h=1),Ja(za.endpoint,t)}}function as(){"visible"===document.visibilityState&&document.hasFocus()&&0===es?es=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(ts=ls(),es=0,rs())}function ss(){Ya||(document.addEventListener("visibilitychange",as),window.addEventListener("blur",as),window.addEventListener("focus",as),Ya=!0)}function ls(){return es?ts+(Date.now()-es):ts}function us(){var e=document.body||{},t=document.documentElement||{};return Math.max(e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function cs(){var e=document.body||{},t=document.documentElement||{},n=window.innerHeight||t.clientHeight||0,i=window.scrollY||t.scrollTop||e.scrollTop||0;return Fa<=n?Fa:i+n}function ds(){Fa=us(),Wa=cs(),window.addEventListener("load",function(){Fa=us();var e=0,t=setInterval(function(){Fa=us(),15==++e&&clearInterval(t)},200)}),document.addEventListener("scroll",function(){Fa=us();var e=cs();e>Wa&&(Wa=e)})}function fs(e,t){if(!za.isInitialized)throw Error("plausible.track() can only be called after plausible.init()");var n="pageview"===e;if(n&&ns(),!za.captureOnLocalhost){if(/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||"file:"===location.protocol)return hs(e,t,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return hs(e,t)}try{if("true"===window.localStorage.plausible_ignore)return hs(e,t,"localStorage flag")}catch(e){}var i={};i.n=e,i.v=31;var o,r=t&&(t.u||t.url);if(i.u=r||location.href,i.d=za.domain,i.r=document.referrer||null,t&&t.props&&(i.p=t.props),t&&!1===t.interactive&&(i.i=!1),t&&t.revenue&&(i.$=t.revenue),za.customProperties&&("function"==typeof(o=za.customProperties)&&(o=za.customProperties(e)),"object"==typeof o&&(i.p=Object.assign({},o,i.p))),za.hashBasedRouting&&(i.h=1),"function"==typeof za.transformRequest&&!(i=za.transformRequest(i)))return hs(e,t,"transformRequest");n&&is(i),Ja(za.endpoint,i,t)}function hs(e,t,n){n&&za.logging&&console.warn("Ignoring Event: "+n),t&&t.callback&&t.callback(),"pageview"===e&&os()}var ps=1,gs=3,ms=["pdf","xlsx","docx","txt","rtf","csv","exe","key","pps","ppt","pptx","7z","pkg","rar","gz","zip","avi","mov","mp4","mpeg","wmv","midi","mp3","wav","wma","dmg"];function vs(e){for(;e&&(void 0===e.tagName||!ys(e)||!e.href);)e=e.parentNode;return e}function ys(e){return e&&e.tagName&&"a"===e.tagName.toLowerCase()}function bs(e){if("auxclick"!==e.type||e.button===ps){var t=vs(e.target),n=t&&"string"==typeof t.href&&t.href.split("?")[0];if(!Ts(t,0)){if(za.outboundLinks&&Ss(t))return _s(e,t,{name:"Outbound Link: Click",props:{url:t.href}});if(za.fileDownloads&&ws(n))return _s(e,t,{name:"File Download",props:{url:n}})}}}
2function _s(e,t,n){var i;(i={props:n.props}).revenue=n.revenue,fs(n.name,i)}function Ss(e){return e&&"string"==typeof e.href&&e.host&&e.host!==location.host}function ws(e){if(!e)return!1;var t=e.split(".").pop();return ms.some(function(e){return e===t})}function ks(e){var t=e&&e.classList;if(t)for(var n=0;n<t.length;n++)if(t.item(n).match(/plausible-event-name(=|--)(.+)/))return!0;return!1}function Ts(e,t){return!!e&&!(t>gs)&&(!!ks(e)||Ts(e.parentNode,t+1))}function As(e){var t=ks(e)?e:e&&e.parentNode,n={name:null,props:{},revenue:{}},i=t&&t.classList;if(!i)return n;for(var o=0;o<i.length;o++){var r,a,s=i.item(o),l=s.match(/plausible-event-(.+)(=|--)(.+)/);l&&(r=l[1],a=l[3].replace(/\+/g," "),"name"==r.toLowerCase()?n.name=a:n.props[r]=a);var u=s.match(/plausible-revenue-(.+)(=|--)(.+)/);u&&(r=u[1],a=u[3],n.revenue[r]=a)}return n}function Cs(){function e(e){if("auxclick"!==e.type||e.button===ps){for(var t,n,i,o=e.target,r=0;r<=gs&&o;r++){if((t=o)&&t.tagName&&"form"===t.tagName.toLowerCase())return;ys(o)&&(n=o),ks(o)&&(i=o),o=o.parentNode}if(i){var a=As(i);if(n)a.props.url=n.href,_s(e,n,a);else{var s={};s.props=a.props,s.revenue=a.revenue,fs(a.name,s)}}}}document.addEventListener("click",bs),document.addEventListener("auxclick",bs),za.fileDownloads&&"object"==typeof za.fileDownloads&&Array.isArray(za.fileDownloads.fileExtensions)&&(ms=za.fileDownloads.fileExtensions),za.formSubmissions&&document.addEventListener("submit",function(e){(e.target.hasAttribute("novalidate")||e.target.checkValidity())&&(Ts(e.target,0)||fs("Form: Submission"))},!0),document.addEventListener("submit",function(e){var t,n=As(e.target);n.name&&((t={props:n.props}).revenue=n.revenue,fs(n.name,t))}),document.addEventListener("click",e),document.addEventListener("auxclick",e)}function Es(e){function t(t){(za.hashBasedRouting||!t||n!==location.pathname)&&(n=location.pathname,e("pageview"))}var n,i=function(){t(!0)};if(za.hashBasedRouting)window.addEventListener("hashchange",i);else{var o=window.history;if(o.pushState){var r=o.pushState;o.pushState=function(){r.apply(this,arguments),i()},window.addEventListener("popstate",i)}}"hidden"===document.visibilityState||"prerender"===document.visibilityState?document.addEventListener("visibilitychange",function(){n||"visible"!==document.visibilityState||t()}):t(),window.addEventListener("pageshow",function(e){e.persisted&&t()})}function Is(e){Va(qa(e||{})),ds(),za.autoCapturePageviews&&Es(fs),Cs(),za.bindToWindow&&"undefined"!=typeof window&&(window.plausible=fs,window.plausible.s="npm",window.plausible.v=31,window.plausible.l=!0)}class xs{constructor(e=window.location.hostname,t=null){this.trackingId=e,this.offsetTrackingId=t,this.hasPlausible()||this.loadPlausible()}trackEvent(e,t){fs(e,t)}
2hasPlausible(){var e;if("function"==typeof window.plausible)return!0;const t=document.getElementsByTagName("script");for(let n=0;n<t.length;n++)if(null!=(e=t[n])&&e.src.includes("plausible.io"))return!0;return!1}loadPlausible(){Is({domain:(Array.isArray(this.trackingId)?this.trackingId.join(","):this.trackingId)||""})}}class Os{constructor(){var e,t,n,i;l(this,"isReady",!1),l(this,"started",!1),l(this,"interval",null),l(this,"config",null),l(this,"events",{}),l(this,"googleAnalytics",null),l(this,"facebookPixel",null),l(this,"amplitude",null),l(this,"plausible",null),l(this,"localStorageKey","offset-analytics-events"),l(this,"offsetGoogleAnalyticsId"),l(this,"offsetFacebookPixelId"),l(this,"offsetAmplitudeId");const o=window.localStorage.getItem(this.localStorageKey);if(o)try{this.events=JSON.parse(o)}catch(e){this.events={}}this.offsetGoogleAnalyticsId=(null==(e=window.OFFSET)?void 0:e.offsetGoogleAnalyticsId)||void 0,this.offsetFacebookPixelId=(null==(t=window.OFFSET)?void 0:t.offsetFacebookPixelId)||void 0,this.offsetAmplitudeId=(null==(n=window.OFFSET)?void 0:n.offsetAmplitudeId)||void 0;const r=null==(i=window.OFFSET)?void 0:i.consent;r?this.hasAnalyticsConsent(r)?this.start():window.addEventListener("offset:consent",e=>{var t;const n=null==(t=e.detail)?void 0:t.grants;null!=n&&n.analytics&&this.start()}):this.start()}start(){this.started||(this.started=!0,this.getConfig(),this.interval=setInterval(()=>{this.processEvents()},100))}hasAnalyticsConsent(e){var t,n,i;const o=null!=(t=e.cookieName)?t:"offset_consent",r=document.cookie.match("(^|;)\\s*"+o+"\\s*=\\s*([^;]+)");if(!r)return!1;try{const t=JSON.parse(decodeURIComponent(null!=(n=r[r.length-1])?n:""));return(!e.version||t.version===e.version)&&!0===(null==(i=t.grants)?void 0:i.analytics)}catch(e){return!1}}trackEvent(e,t,n=null){this.events[e]=[t,n],window.localStorage.setItem(this.localStorageKey,JSON.stringify(this.events)),this.isReady&&(clearInterval(this.interval),this.interval=null,this.processEvents())}processEvents(){if(null==this.config)return;const e=Object.keys(this.events);function t(e,t){var n;if(null!=t)try{if("function"==typeof(null==(n=window.OFFSET)?void 0:n.customizeAnalytics)){const t=window.OFFSET.customizeAnalytics(e);if(!1===t)return;t&&(e.event=t.event,e.data=t.data)}t(e.event,e.data)}catch(e){S("Offset Analytics",e)}}0!==e.length&&((!_(this.config.google_analytics_id)||!_(this.offsetGoogleAnalyticsId))&&null==this.googleAnalytics&&(S("Setting up Google Analytics"),this.googleAnalytics=new T(this.config.google_analytics_id,this.offsetGoogleAnalyticsId)),this.config.enable_facebook_pixel_tracking&&(!_(this.config.facebook_pixel_id)||!_(this.offsetFacebookPixelId))&&null==this.facebookPixel&&(S("Setting up Facebook Pixel"),this.facebookPixel=new I(this.config.facebook_pixel_id,this.offsetFacebookPixelId)),this.config.enable_amplitude&&(!_(this.config.amplitude_api_key)||!_(this.offsetAmplitudeId))&&null==this.amplitude&&(S("Setting up Amplitude"),this.amplitude=new Ua(this.config.amplitude_api_key,this.offsetAmplitudeId)),!_(this.config.plausible_domains)&&null==this.plausible&&(S("Setting up Plausible"),this.plausible=new xs(this.config.plausible_domains)),this.isReady=!0,e.forEach(e=>{var n,i,o,r;const[a,s]=this.events[e];S(`Tracking event ${e}`,a),this.googleAnalytics&&("google"===s||null==s)&&t({event:e,data:a,platform:"google"},null==(n=this.googleAnalytics)?void 0:n.trackEvent.bind(this.googleAnalytics)),this.facebookPixel&&("facebook"===s||null==s)&&t({event:e,data:a,platform:"facebook"},null==(i=this.facebookPixel)?void 0:i.trackEvent.bind(this.facebookPixel)),this.amplitude&&("amplitude"===s||null==s)&&t({event:e,data:a,platform:"amplitude"},null==(o=this.amplitude)?void 0:o.trackEvent.bind(this.amplitude)),this.plausible&&("plausible"===s||null==s)&&t({event:e,data:a,platform:"plausible"},null==(r=this.plausible)?void 0:r.trackEvent.bind(this.plausible))}),setTimeout(()=>{window.localStorage.removeItem(this.localStorageKey)},200),this.events={})}getConfig(){return u(this,null,function*(){this.config=yield v("config"),this.config&&(this.config.enable_facebook_pixel_tracking="TRUE"===this.config.enable_facebook_pixel_tracking,this.config.enable_amplitude="TRUE"===this.config.enable_amplitude,_(this.config.google_analytics_id)&&!_(this.config.google_tag_manager_id)&&(this.config.google_analytics_id=this.config.google_tag_manager_id))})}}window.OFFSET=window.OFFSET||{},window.OFFSET.analytics=new Os;class Ns extends HTMLElement{connectedCallback(){var e,t,n;let i=null;const o=null!=(e=this.getAttribute("event"))?e:"PageView",r=this.getAttribute("data"),a=this.getAttribute("platform");try{i=JSON.parse(null!=r?r:"{}"),0===Object.keys(i||{}).length&&(i=r)}catch(e){i=r}null==(n=null==(t=window.OFFSET)?void 0:t.analytics)||n.trackEvent(o,i,a)}}function $s(){var e;const t=document.querySelectorAll("[data-offset-analytics]");for(const n of t){const t=n.getAttribute("data-offset-analytics");let i="click",o=null;if(null!=t&&t.includes(":")){const e=null==t?void 0:t.split(":");i=e[0],o=e[1]}else{const r=null==(e=n.tagName)?void 0:e.toUpperCase();"A"===r||"BUTTON"===r?i="click":"INPUT"===r||"TEXTAREA"===r||"SELECT"===r?i="change":"FORM"===r&&(i="submit"),o=t}_(o)?console.error("Invalid data-offset-analytics attribute. Expected format: click:eventName",n):(n.setAttribute("data-offset-analytics-registered",null!=t?t:""),n.removeAttribute("data-offset-analytics"),n.addEventListener(i,()=>{var e;let t=null;const i=n.getAttribute("data-offset-analytics-data"),r=n.getAttribute("data-offset-analytics-platform");try{t=JSON.parse(null!=i?i:"{}"),0===Object.keys(t||{}).length&&(t=i)}catch(e){t=i}null==(e=window.OFFSET)||e.analytics.trackEvent(o,t,r)},!1))}}customElements.get("offset-analytics")||customElements.define("offset-analytics",Ns),document.addEventListener("DOMContentLoaded",()=>{$s()}),e.registerEvents=$s,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}(t)}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};
2return e[i].call(r.exports,r,r.exports,n),r.exports}n.d=function(e,t){if(Array.isArray(t))for(var i=0;i<t.length;){var o=t[i++],r=t[i++];n.o(e,o)?0===r&&i++:0===r?Object.defineProperty(e,o,{enumerable:!0,value:t[i++]}):Object.defineProperty(e,o,{enumerable:!0,get:r})}else for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(152),n(242),n(451),n(814),n(539),n(894);const{ConsentManager:o,ConsentUI:r}=n(694);window.OffsetConsent=new r(new o(window.OFFSET.consent)),window.OffsetConsent.mount()}(); 3//# sourceMappingURL=javascript.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.