/* Minification failed. Returning unminified contents.
(22,832-839): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,28417-28425): run-time error JS1137: 'function' is a new reserved word and should not be used as an identifier: function
(22,28505-28513): run-time error JS1137: 'function' is a new reserved word and should not be used as an identifier: function
(22,1356-1363): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,1398-1405): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,1629-1636): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2467-2474): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2601-2608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2818-2825): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2854-2861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,2973-2980): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3069-3076): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3318-3325): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3500-3507): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3577-3584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3618-3625): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3688-3695): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3721-3728): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3796-3803): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,3960-3967): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4085-4092): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4339-4346): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4438-4445): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4473-4480): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4503-4510): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4548-4555): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4592-4599): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,4749-4756): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5011-5018): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5176-5183): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5404-5411): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5474-5481): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5610-5617): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5806-5813): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5917-5924): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,5950-5957): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6290-6297): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6436-6443): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6475-6482): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,6540-6547): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7068-7075): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7107-7114): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7141-7148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7190-7197): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,7268-7275): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8130-8137): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,8987-8994): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9194-9201): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9226-9233): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9736-9743): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,9853-9860): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10630-10637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10783-10790): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10865-10872): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,10992-10999): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11073-11080): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,11301-11308): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12122-12129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12208-12215): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12389-12396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12489-12496): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,12863-12870): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13056-13063): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13137-13144): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13181-13188): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13218-13225): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13243-13250): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13546-13553): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13592-13599): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13645-13652): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13735-13742): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13805-13812): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13840-13847): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,13891-13898): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14011-14018): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14056-14063): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14172-14179): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14483-14490): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14505-14512): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14551-14558): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14571-14578): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14675-14682): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14694-14701): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14859-14866): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,14967-14974): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15135-15142): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15191-15198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15226-15233): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15256-15263): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15301-15308): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,15358-15365): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16219-16226): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16347-16354): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16650-16657): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16733-16740): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16772-16779): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16861-16868): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16905-16912): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,16971-16978): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17095-17102): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17300-17307): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17358-17365): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17478-17485): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17660-17667): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17709-17716): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17748-17755): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,17929-17936): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18136-18143): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18209-18216): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18377-18384): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18458-18465): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18664-18671): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,18953-18960): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19347-19354): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19494-19501): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19534-19541): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,19777-19784): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20191-20198): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20339-20346): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20434-20441): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20470-20477): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20563-20570): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20598-20605): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20628-20635): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,20673-20680): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,41628-41635): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42195-42202): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42248-42255): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42389-42396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42436-42443): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42515-42522): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,42597-42604): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43026-43033): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43172-43179): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43216-43223): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43272-43279): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43357-43364): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43399-43406): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43440-43447): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43530-43537): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43577-43584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43655-43662): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43734-43741): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43820-43827): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43862-43869): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43903-43910): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,43968-43975): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44018-44025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44314-44321): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44493-44500): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44776-44783): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,44859-44866): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45013-45020): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45122-45129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45764-45771): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,45847-45854): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46212-46219): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46332-46339): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46461-46468): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46500-46507): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46538-46545): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46630-46637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46687-46694): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46777-46784): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46810-46817): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,46851-46858): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47166-47173): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47257-47264): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47333-47340): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47477-47484): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47554-47561): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,47717-47724): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48025-48032): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48422-48429): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48536-48543): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48573-48580): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48605-48612): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48651-48658): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,48699-48706): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49278-49285): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49354-49361): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49405-49412): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49609-49616): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49720-49727): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49788-49795): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,49854-49861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50086-50093): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50122-50129): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50221-50228): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50342-50349): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50386-50393): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50431-50438): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50486-50493): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50603-50610): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50823-50830): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50856-50863): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,50900-50907): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51377-51384): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51422-51429): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51702-51709): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51749-51756): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,51854-51861): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52084-52091): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52479-52486): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52609-52616): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52698-52705): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52821-52828): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,52916-52923): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53036-53043): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53163-53170): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53284-53291): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53498-53505): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53610-53617): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53690-53697): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,53985-53992): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54078-54085): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54177-54184): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54275-54282): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54493-54500): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54543-54550): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54748-54755): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54880-54887): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,54994-55001): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,55088-55095): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,55188-55195): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56079-56086): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56141-56148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56175-56182): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56273-56280): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56334-56341): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56367-56374): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56504-56511): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56550-56557): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56660-56667): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56838-56845): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56877-56884): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,56912-56919): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57045-57052): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57084-57091): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57141-57148): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57212-57219): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57259-57266): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57646-57653): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57689-57696): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,57763-57770): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58034-58041): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58205-58212): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58249-58256): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58269-58276): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58361-58368): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58467-58474): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58537-58544): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58561-58568): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58600-58607): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58634-58641): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,58682-58689): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,60159-60166): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,61941-61948): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62046-62053): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62198-62205): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62356-62363): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62417-62424): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62473-62480): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62569-62576): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62831-62838): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,62931-62938): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63018-63025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63092-63099): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63389-63396): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63615-63622): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63665-63672): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63738-63745): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63763-63770): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63889-63896): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,63962-63969): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64018-64025): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64129-64136): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64217-64224): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64306-64313): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64440-64447): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64629-64636): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64735-64742): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64798-64805): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64874-64881): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,64931-64938): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65034-65041): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65116-65123): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65373-65380): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65485-65492): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65604-65611): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65669-65676): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65918-65925): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,65974-65981): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,66914-66921): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,66947-66954): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67158-67165): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67434-67441): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,67630-67637): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68142-68149): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68246-68253): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68345-68352): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68681-68688): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,68785-68792): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,69236-69243): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,69900-69907): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,70276-70283): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,70450-70457): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71035-71042): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71072-71079): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71104-71111): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71150-71157): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,71211-71218): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72121-72128): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72233-72240): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72308-72315): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72686-72693): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72861-72868): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,72978-72985): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73462-73469): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73499-73506): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73531-73538): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73577-73584): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,73640-73647): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74103-74110): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74734-74741): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74938-74945): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,74989-74996): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,75331-75338): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,75381-75388): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,76634-76641): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77016-77023): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77364-77371): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77444-77451): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77696-77703): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77855-77862): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77912-77919): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77949-77956): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,77981-77988): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78027-78034): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78075-78082): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78276-78283): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78321-78328): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78379-78386): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78559-78566): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78579-78586): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78620-78627): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78683-78690): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78738-78745): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78762-78769): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78936-78943): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,78998-79005): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79048-79055): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79072-79079): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79169-79176): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79317-79324): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79350-79357): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79398-79405): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79531-79538): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79666-79673): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79707-79714): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79770-79777): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,79875-79882): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80054-80061): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80111-80118): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80214-80221): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80355-80362): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80601-80608): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80771-80778): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80798-80805): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80835-80842): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80867-80874): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80913-80920): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,80961-80968): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81253-81260): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81289-81296): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81520-81527): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81838-81845): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,81991-81998): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82024-82031): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82223-82230): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82278-82285): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82405-82412): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82564-82571): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82751-82758): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,82923-82930): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83147-83154): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83511-83518): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83550-83557): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83584-83591): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
(22,83632-83639): run-time error JS1137: 'default' is a new reserved word and should not be used as an identifier: default
 */
/*
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
*/
(function(a){a.fn.fitVids=function(e){var f={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var d=document.head||document.getElementsByTagName("head")[0];var b=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}";var c=document.createElement("div");c.innerHTML='<p>x</p><style id="fit-vids-style">'+b+"</style>";d.appendChild(c.childNodes[1])}if(e){a.extend(f,e)}return this.each(function(){var i=["iframe[data-src='externalurl']","iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];if(f.customSelector){i.push(f.customSelector)}var h=".fitvidsignore";if(f.ignore){h=h+", "+f.ignore}var g=a(this).find(i.join(","));g=g.not("object object");g=g.not(h);g.each(function(){var j=a(this);if(j.parents(h).length>0){return}if(this.tagName.toLowerCase()==="embed"&&j.parent("object").length||j.parent(".fluid-width-video-wrapper").length){return}if((!j.css("height")&&!j.css("width"))&&(isNaN(j.attr("height"))||isNaN(j.attr("width")))){j.attr("height",9);j.attr("width",16)}var l=(this.tagName.toLowerCase()==="object"||(j.attr("height")&&!isNaN(parseInt(j.attr("height"),10))))?parseInt(j.attr("height"),10):j.height(),n=!isNaN(parseInt(j.attr("width"),10))?parseInt(j.attr("width"),10):j.width(),k=l/n;if(!j.attr("id")){var m="fitvid"+Math.floor(Math.random()*999999);j.attr("id",m)}j.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",(k*100)+"%");j.removeAttr("height").removeAttr("width")})})}})(window.jQuery||window.Zepto);;
/*
 * enquire.js v2.1.6 - Awesome Media Queries in JavaScript
 * Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/enquire.js
 * License: MIT */
!function(c){if("object"==typeof exports&&"undefined"!=typeof module){module.exports=c()}else{if("function"==typeof define&&define.amd){define([],c)}else{var d;d="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,d.enquire=c()}}}(function(){return function b(a,h,i){function j(c,d){if(!h[c]){if(!a[c]){var e="function"==typeof require&&require;if(!d&&e){return e(c,!0)}if(k){return k(c,!0)}var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var m=h[c]={exports:{}};a[c][0].call(m.exports,function(g){var n=a[c][1][g];return j(n?n:g)},m,m.exports,b,a,h,i)}return h[c].exports}for(var k="function"==typeof require&&require,l=0;l<i.length;l++){j(i[l])}return j}({1:[function(g,h,i){function j(d,e){this.query=d,this.isUnconditional=e,this.handlers=[],this.mql=window.matchMedia(d);var f=this;this.listener=function(c){f.mql=c.currentTarget||c,f.assess()},this.mql.addListener(this.listener)}var k=g(3),l=g(4).each;j.prototype={constuctor:j,addHandler:function(c){var d=new k(c);this.handlers.push(d),this.matches()&&d.on()},removeHandler:function(c){var d=this.handlers;l(d,function(a,e){if(a.equals(c)){return a.destroy(),!d.splice(e,1)}})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){l(this.handlers,function(c){c.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var c=this.matches()?"on":"off";l(this.handlers,function(a){a[c]()})}},h.exports=j},{3:3,4:4}],2:[function(j,k,l){function m(){if(!window.matchMedia){throw new Error("matchMedia not present, legacy browsers require a polyfill")}this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var n=j(1),o=j(4),p=o.each,q=o.isFunction,r=o.isArray;m.prototype={constructor:m,register:function(e,g,h){var i=this.queries,s=h&&this.browserIsIncapable;return i[e]||(i[e]=new n(e,s)),q(g)&&(g={match:g}),r(g)||(g=[g]),p(g,function(a){q(a)&&(a={match:a}),i[e].addHandler(a)}),this},unregister:function(d,e){var f=this.queries[d];return f&&(e?f.removeHandler(e):(f.clear(),delete this.queries[d])),this}},k.exports=m},{1:1,4:4}],3:[function(e,f,g){function h(c){this.options=c,!c.deferSetup&&this.setup()}h.prototype={constructor:h,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(c){return this.options===c||this.options.match===c}},f.exports=h},{}],4:[function(g,h,i){function j(e,f){var m=0,n=e.length;for(m;m<n&&f(e[m],m)!==!1;m++){}}function k(c){return"[object Array]"===Object.prototype.toString.apply(c)}function l(c){return"function"==typeof c}h.exports={isFunction:l,isArray:k,each:j}},{}],5:[function(e,f,g){var h=e(2);f.exports=new h},{2:2}]},{},[5])(5)});;
/* ScrollMagic v2.0.8 | (c) 2020 Jan Paepke (@janpaepke) | license & info: http://scrollmagic.io */
!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.ScrollMagic=b()}(this,function(){function a(){}a.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var c="data-scrollmagic-pin-spacer";a.Controller=function(A){function P(){var f,h,g;R&&Q&&(f=d.type.Array(Q)?Q:C.slice(0),Q=!1,h=z,0!=(g=(z=H.scrollPos())-h)&&(F=0<g?"FORWARD":G),F===G&&f.reverse(),f.forEach(function(i,l){i.update(!0)}))}function M(){J=d.rAF(P)}var J,K,G="REVERSE",N="PAUSED",j=e.defaults,H=this,q=d.extend({},j,A),C=[],Q=!1,z=0,F=N,L=!0,D=0,R=!0,I=function(){0<q.refreshInterval&&(K=window.setTimeout(B,q.refreshInterval))},T=function(){return q.vertical?d.get.scrollTop(q.container):d.get.scrollLeft(q.container)},V=function(){return q.vertical?d.get.height(q.container):d.get.width(q.container)},O=this._setScrollPos=function(f){q.vertical?L?window.scrollTo(d.get.scrollLeft(),f):q.container.scrollTop=f:L?window.scrollTo(f,d.get.scrollTop()):q.container.scrollLeft=f},k=function(f){"resize"==f.type&&(D=V(),F=N),!0!==Q&&(Q=!0,M())},B=function(){if(!L&&D!=V()){var g;try{g=new Event("resize",{bubbles:!1,cancelable:!1})}catch(f){(g=document.createEvent("Event")).initEvent("resize",!1,!1)}q.container.dispatchEvent(g)}C.forEach(function(h,i){h.refresh()}),I()};this._options=q;function U(f){if(f.length<=1){return f}var g=f.slice(0);return g.sort(function(h,i){return h.scrollOffset()>i.scrollOffset()?1:-1}),g}return this.addScene=function(f){if(d.type.Array(f)){f.forEach(function(h,i){H.addScene(h)})}else{if(f instanceof a.Scene){if(f.controller()!==H){f.addTo(H)}else{if(!~C.indexOf(f)){for(var g in C.push(f),C=U(C),f.on("shift.controller_sort",function(){C=U(C)}),q.globalSceneOptions){f[g]&&f[g].call(f,q.globalSceneOptions[g])}}}}}return H},this.removeScene=function(f){var g;return d.type.Array(f)?f.forEach(function(h,i){H.removeScene(h)}):-1<(g=C.indexOf(f))&&(f.off("shift.controller_sort"),C.splice(g,1),f.remove()),H},this.updateScene=function(f,g){return d.type.Array(f)?f.forEach(function(h,i){H.updateScene(h,g)}):g?f.update(!0):!0!==Q&&f instanceof a.Scene&&(~(Q=Q||[]).indexOf(f)||Q.push(f),Q=U(Q),M()),H},this.update=function(f){return k({type:"resize"}),f&&P(),H},this.scrollTo=function(f,p){if(d.type.Number(f)){O.call(q.container,f,p)}else{if(f instanceof a.Scene){f.controller()===H&&H.scrollTo(f.scrollOffset(),p)}else{if(d.type.Function(f)){O=f}else{var h=d.get.elements(f)[0];if(h){for(;h.parentNode.hasAttribute(c);){h=h.parentNode}var m=q.vertical?"top":"left",l=d.get.offset(q.container),g=d.get.offset(h);L||(l[m]-=H.scrollPos()),H.scrollTo(g[m]-l[m],p)}}}}return H},this.scrollPos=function(f){return arguments.length?(d.type.Function(f)&&(T=f),H):T.call(H)},this.info=function(f){var g={size:D,vertical:q.vertical,scrollPos:z,scrollDirection:F,container:q.container,isDocument:L};return arguments.length?void 0!==g[f]?g[f]:void 0:g},this.loglevel=function(f){return H},this.enabled=function(f){return arguments.length?(R!=f&&(R=!!f,H.updateScene(C,!0)),H):R},this.destroy=function(f){window.clearTimeout(K);for(var g=C.length;g--;){C[g].destroy(f)}return q.container.removeEventListener("resize",k),q.container.removeEventListener("scroll",k),d.cAF(J),null},function(){for(var f in q){j.hasOwnProperty(f)||delete q[f]}if(q.container=d.get.elements(q.container)[0],!q.container){throw"ScrollMagic.Controller init failed."}(L=q.container===window||q.container===document.body||!document.body.contains(q.container))&&(q.container=window),D=V(),q.container.addEventListener("resize",k),q.container.addEventListener("scroll",k);var g=parseInt(q.refreshInterval,10);q.refreshInterval=d.type.Number(g)?g:j.refreshInterval,I()}(),H};var e={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};a.Controller.addOption=function(f,g){e.defaults[f]=g},a.Controller.extend=function(f){var g=this;a.Controller=function(){return g.apply(this,arguments),this.$super=d.extend({},this),f.apply(this,arguments)||this},d.extend(a.Controller,g),a.Controller.prototype=g.prototype,a.Controller.prototype.constructor=a.Controller},a.Scene=function(H){var W,R,B="BEFORE",J="DURING",ag="AFTER",ab=b.defaults,G=this,P=d.extend({},ab,H),aa=B,M=0,j={start:0,end:0},ah=0,Y=!0,ac={};this.on=function(f,g){return d.type.Function(g)&&(f=f.trim().split(" ")).forEach(function(h){var m=h.split("."),i=m[0],l=m[1];"*"!=i&&(ac[i]||(ac[i]=[]),ac[i].push({namespace:l||"",callback:g}))}),G},this.off=function(f,g){return f&&(f=f.trim().split(" ")).forEach(function(h,p){var i=h.split("."),m=i[0],l=i[1]||"";("*"===m?Object.keys(ac):[m]).forEach(function(o){for(var v=ac[o]||[],s=v.length;s--;){var u=v[s];!u||l!==u.namespace&&"*"!==l||g&&g!=u.callback||v.splice(s,1)}v.length||delete ac[o]})}),G},this.trigger=function(f,h){var p,m,l,g;return f&&(p=f.trim().split("."),m=p[0],l=p[1],(g=ac[m])&&g.forEach(function(i,n){l&&l!==i.namespace||i.callback.call(G,new a.Event(m,i.namespace,G,h))})),G},G.on("change.internal",function(f){"loglevel"!==f.what&&"tweenChanges"!==f.what&&("triggerElement"===f.what?ak():"reverse"===f.what&&G.update())}).on("shift.internal",function(f){ae(),G.update()}),this.addTo=function(f){return f instanceof a.Controller&&R!=f&&(R&&R.removeScene(G),R=f,I(),Q(!0),ak(!0),ae(),R.info("container").addEventListener("resize",ad),f.addScene(G),G.trigger("add",{controller:R}),G.update()),G},this.enabled=function(f){return arguments.length?(Y!=f&&(Y=!!f,G.update(!0)),G):Y},this.remove=function(){var f;return R&&(R.info("container").removeEventListener("resize",ad),f=R,R=void 0,f.removeScene(G),G.trigger("remove")),G},this.destroy=function(f){return G.trigger("destroy",{reset:f}),G.remove(),G.off("*.*"),null},this.update=function(f){var h,g;return R&&(f?R.enabled()&&Y?(h=R.info("scrollPos"),g=0<P.duration?(h-j.start)/(j.end-j.start):h>=j.start?1:0,G.trigger("update",{startPos:j.start,endPos:j.end,scrollPos:h}),G.progress(g)):V&&aa===J&&af(!0):R.updateScene(G,!1)),G},this.refresh=function(){return Q(),ak(),G},this.progress=function(g){if(arguments.length){var v,l,p,m=!1,h=aa,u=R?R.info("scrollDirection"):"PAUSED",f=P.reverse||M<=g;return 0===P.duration?(m=M!=g,aa=0===(M=g<1&&f?0:1)?B:J):g<0&&aa!==B&&f?(aa=B,m=!(M=0)):0<=g&&g<1&&f?(M=g,aa=J,m=!0):1<=g&&aa!==ag?(M=1,aa=ag,m=!0):aa!==J||f||af(),m&&(v={progress:M,state:aa,scrollDirection:u},p=function(i){G.trigger(i,v)},(l=aa!=h)&&h!==J&&(p("enter"),p(h===B?"start":"end")),p("progress"),l&&aa!==J&&(p(aa===B?"start":"end"),p("leave"))),G}return M};var V,ai,ae=function(){j={start:ah+P.offset},R&&P.triggerElement&&(j.start-=R.info("size")*P.triggerHook),j.end=j.start+P.duration},Q=function(f){var g;!W||aj(g="duration",W.call(G))&&!f&&(G.trigger("change",{what:g,newval:P[g]}),G.trigger("shift",{reason:g}))},ak=function(g){var v=0,l=P.triggerElement;if(R&&(l||0<ah)){if(l){if(l.parentNode){for(var p=R.info(),m=d.get.offset(p.container),h=p.vertical?"top":"left";l.parentNode.hasAttribute(c);){l=l.parentNode}var u=d.get.offset(l);p.isDocument||(m[h]-=R.scrollPos()),v=u[h]-m[h]}else{G.triggerElement(void 0)}}var f=v!=ah;ah=v,f&&!g&&G.trigger("shift",{reason:"triggerElementPosition"})}},ad=function(f){0<P.triggerHook&&G.trigger("shift",{reason:"containerResize"})},q=d.extend(b.validate,{duration:function(g){var f;if(d.type.String(g)&&g.match(/^(\.|\d)*\d+%$/)&&(f=parseFloat(g)/100,g=function(){return R?R.info("size")*f:0}),d.type.Function(g)){W=g;try{g=parseFloat(W.call(G))}catch(f){g=-1}}if(g=parseFloat(g),!d.type.Number(g)||g<0){throw W=W&&void 0,0}return g}}),I=function(f){(f=arguments.length?[f]:Object.keys(q)).forEach(function(i,g){var h;if(q[i]){try{h=q[i](P[i])}catch(g){h=ab[i]}finally{P[i]=h}}})},aj=function(f,i){var g=!1,h=P[f];return P[f]!=i&&(P[f]=i,I(f),g=h!=P[f]),g},al=function(f){G[f]||(G[f]=function(g){return arguments.length?("duration"===f&&(W=void 0),aj(f,g)&&(G.trigger("change",{what:f,newval:P[f]}),~b.shifts.indexOf(f)&&G.trigger("shift",{reason:f})),G):P[f]})};this.controller=function(){return R},this.state=function(){return aa},this.scrollOffset=function(){return j.start},this.triggerPosition=function(){var f=P.offset;return R&&(P.triggerElement?f+=ah:f+=R.info("size")*G.triggerHook()),f},G.on("shift.internal",function(f){var g="duration"===f.reason;(aa===ag&&g||aa===J&&0===P.duration)&&af(),g&&k()}).on("progress.internal",function(f){af()}).on("add.internal",function(f){k()}).on("destroy.internal",function(f){G.removePin(f.reset)});function D(){R&&V&&aa===J&&!R.info("isDocument")&&af()}function K(){R&&V&&aa===J&&((ai.relSize.width||ai.relSize.autoFullWidth)&&d.get.width(window)!=d.get.width(ai.spacer.parentNode)||ai.relSize.height&&d.get.height(window)!=d.get.height(ai.spacer.parentNode))&&k()}function U(f){R&&V&&aa===J&&!R.info("isDocument")&&(f.preventDefault(),R._setScrollPos(R.info("scrollPos")-((f.wheelDelta||f[R.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-f.detail)))}var af=function(f){var u,h,m,l,g,p;V&&R&&(u=R.info(),h=ai.spacer.firstChild,f||aa!==J?(m={position:ai.inFlow?"relative":"absolute",top:0,left:0},l=d.css(h,"position")!=m.position,ai.pushFollowers?0<P.duration&&(aa===ag&&0===parseFloat(d.css(ai.spacer,"padding-top"))||aa===B&&0===parseFloat(d.css(ai.spacer,"padding-bottom")))&&(l=!0):m[u.vertical?"top":"left"]=P.duration*M,d.css(h,m),l&&k()):("fixed"!=d.css(h,"position")&&(d.css(h,{position:"fixed"}),k()),g=d.get.offset(ai.spacer,!0),p=P.reverse||0===P.duration?u.scrollPos-j.start:Math.round(M*P.duration*10)/10,g[u.vertical?"top":"left"]+=p,d.css(ai.spacer.firstChild,{top:g.top,left:g.left})))},k=function(){var f,l,g,i,h;V&&R&&ai.inFlow&&(f=aa===J,l=R.info("vertical"),g=ai.spacer.firstChild,i=d.isMarginCollapseType(d.css(ai.spacer,"display")),h={},ai.relSize.width||ai.relSize.autoFullWidth?f?d.css(V,{width:d.get.width(ai.spacer)}):d.css(V,{width:"100%"}):(h["min-width"]=d.get.width(l?V:g,!0,!0),h.width=f?h["min-width"]:"auto"),ai.relSize.height?f?d.css(V,{height:d.get.height(ai.spacer)-(ai.pushFollowers?P.duration:0)}):d.css(V,{height:"100%"}):(h["min-height"]=d.get.height(l?g:V,!0,!i),h.height=f?h["min-height"]:"auto"),ai.pushFollowers&&(h["padding"+(l?"Top":"Left")]=P.duration*M,h["padding"+(l?"Bottom":"Right")]=P.duration*(1-M)),d.css(ai.spacer,h))};this.setPin=function(h,y){if(y=d.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},y),!(h=d.get.elements(h)[0])){return G}if("fixed"===d.css(h,"position")){return G}if(V){if(V===h){return G}G.removePin()}var u=(V=h).parentNode.style.display,w=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];V.parentNode.style.display="none";var v="absolute"!=d.css(V,"position"),m=d.css(V,w.concat(["display"])),x=d.css(V,["width","height"]);V.parentNode.style.display=u,!v&&y.pushFollowers&&(y.pushFollowers=!1);var f,p=V.parentNode.insertBefore(document.createElement("div"),V),g=d.extend(m,{position:v?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});return v||d.extend(g,d.css(V,["width","height"])),d.css(p,g),p.setAttribute(c,""),d.addClass(p,y.spacerClass),ai={spacer:p,relSize:{width:"%"===x.width.slice(-1),height:"%"===x.height.slice(-1),autoFullWidth:"auto"===x.width&&v&&d.isMarginCollapseType(m.display)},pushFollowers:y.pushFollowers,inFlow:v},V.___origStyle||(V.___origStyle={},f=V.style,w.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(i){V.___origStyle[i]=f[i]||""})),ai.relSize.width&&d.css(p,{width:x.width}),ai.relSize.height&&d.css(p,{height:x.height}),p.appendChild(V),d.css(V,{position:v?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(ai.relSize.width||ai.relSize.autoFullWidth)&&d.css(V,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",D),window.addEventListener("resize",D),window.addEventListener("resize",K),V.addEventListener("mousewheel",U),V.addEventListener("DOMMouseScroll",U),af(),G},this.removePin=function(f){var i,g,h;return V&&(aa===J&&af(!0),!f&&R||((i=ai.spacer.firstChild).hasAttribute(c)&&(g=ai.spacer.style,h={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(l){h[l]=g[l]||""}),d.css(i,h)),ai.spacer.parentNode.insertBefore(i,ai.spacer),ai.spacer.parentNode.removeChild(ai.spacer),V.parentNode.hasAttribute(c)||(d.css(V,V.___origStyle),delete V.___origStyle)),window.removeEventListener("scroll",D),window.removeEventListener("resize",D),window.removeEventListener("resize",K),V.removeEventListener("mousewheel",U),V.removeEventListener("DOMMouseScroll",U),V=void 0),G};var X,Z=[];return G.on("destroy.internal",function(f){G.removeClassToggle(f.reset)}),this.setClassToggle=function(f,h){var g=d.get.elements(f);return 0!==g.length&&d.type.String(h)&&(0<Z.length&&G.removeClassToggle(),X=h,Z=g,G.on("enter.internal_class leave.internal_class",function(i){var l="enter"===i.type?d.addClass:d.removeClass;Z.forEach(function(m,n){l(m,X)})})),G},this.removeClassToggle=function(f){return f&&Z.forEach(function(g,h){d.removeClass(g,X)}),G.off("start.internal_class end.internal_class"),X=void 0,Z=[],G},function(){for(var f in P){ab.hasOwnProperty(f)||delete P[f]}for(var g in ab){al(g)}I()}(),G};var b={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:0.5,reverse:!0,loglevel:2},validate:{offset:function(f){if(f=parseFloat(f),!d.type.Number(f)){throw 0}return f},triggerElement:function(f){if(f=f||void 0){var g=d.get.elements(f)[0];if(!g||!g.parentNode){throw 0}f=g}return f},triggerHook:function(f){var g={onCenter:0.5,onEnter:1,onLeave:0};if(d.type.Number(f)){f=Math.max(0,Math.min(parseFloat(f),1))}else{if(!(f in g)){throw 0}f=g[f]}return f},reverse:function(f){return !!f}},shifts:["duration","offset","triggerHook"]};a.Scene.addOption=function(f,i,g,h){f in b.defaults||(b.defaults[f]=i,b.validate[f]=g,h&&b.shifts.push(f))},a.Scene.extend=function(f){var g=this;a.Scene=function(){return g.apply(this,arguments),this.$super=d.extend({},this),f.apply(this,arguments)||this},d.extend(a.Scene,g),a.Scene.prototype=g.prototype,a.Scene.prototype.constructor=a.Scene},a.Event=function(f,j,g,i){for(var h in i=i||{}){this[h]=i[h]}return this.type=f,this.target=this.currentTarget=g,this.namespace=j||"",this.timeStamp=this.timestamp=Date.now(),this};var d=a._util=function(y){function g(f){return parseFloat(f)||0}function q(f){return f.currentStyle?f.currentStyle:y.getComputedStyle(f)}function x(f,C,s,B){if((C=C===document?y:C)===y){B=!1}else{if(!A.DomElement(C)){return 0}}f=f[0].toUpperCase()+f.substr(1).toLowerCase();var u,l=(s?C["offset"+f]||C["outer"+f]:C["client"+f]||C["inner"+f])||0;return s&&B&&(u=q(C),l+="Height"===f?g(u.marginTop)+g(u.marginBottom):g(u.marginLeft)+g(u.marginRight)),l}function h(f){return f.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(i){return i[1].toUpperCase()})}var k={};k.extend=function(f){for(f=f||{},m=1;m<arguments.length;m++){if(arguments[m]){for(var i in arguments[m]){arguments[m].hasOwnProperty(i)&&(f[i]=arguments[m][i])}}}return f},k.isMarginCollapseType=function(f){return !!~["block","flex","list-item","table","-webkit-box"].indexOf(f)};for(var w=0,z=["ms","moz","webkit","o"],v=y.requestAnimationFrame,p=y.cancelAnimationFrame,m=0;!v&&m<4;++m){v=y[z[m]+"RequestAnimationFrame"],p=y[z[m]+"CancelAnimationFrame"]||y[z[m]+"CancelRequestAnimationFrame"]}v=v||function(f){var o=(new Date).getTime(),i=Math.max(0,16-(o-w)),l=y.setTimeout(function(){f(o+i)},i);return w=o+i,l},p=p||function(f){y.clearTimeout(f)},k.rAF=v.bind(y),k.cAF=p.bind(y);var A=k.type=function(f){return Object.prototype.toString.call(f).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};A.String=function(f){return"string"===A(f)},A.Function=function(f){return"function"===A(f)},A.Array=function(f){return Array.isArray(f)},A.Number=function(f){return !A.Array(f)&&0<=f-parseFloat(f)+1},A.DomElement=function(f){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?f instanceof HTMLElement||f instanceof SVGElement:f&&"object"==typeof f&&null!==f&&1===f.nodeType&&"string"==typeof f.nodeName};var j=k.get={};return j.elements=function(f){var u=[];if(A.String(f)){try{f=document.querySelectorAll(f)}catch(f){return u}}if("nodelist"===A(f)||A.Array(f)||f instanceof NodeList){for(var i=0,s=u.length=f.length;i<s;i++){var l=f[i];u[i]=A.DomElement(l)?l:j.elements(l)}}else{!A.DomElement(f)&&f!==document&&f!==y||(u=[f])}return u},j.scrollTop=function(f){return f&&"number"==typeof f.scrollTop?f.scrollTop:y.pageYOffset||0},j.scrollLeft=function(f){return f&&"number"==typeof f.scrollLeft?f.scrollLeft:y.pageXOffset||0},j.width=function(f,l,i){return x("width",f,l,i)},j.height=function(f,l,i){return x("height",f,l,i)},j.offset=function(f,o){var i,l={top:0,left:0};return f&&f.getBoundingClientRect&&(i=f.getBoundingClientRect(),l.top=i.top,l.left=i.left,o||(l.top+=j.scrollTop(),l.left+=j.scrollLeft())),l},k.addClass=function(f,i){i&&(f.classList?f.classList.add(i):f.className+=" "+i)},k.removeClass=function(f,i){i&&(f.classList?f.classList.remove(i):f.className=f.className.replace(RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," "))},k.css=function(f,C){if(A.String(C)){return q(f)[h(C)]}if(A.Array(C)){var s={},B=q(f);return C.forEach(function(i,n){s[i]=B[h(i)]}),s}for(var u in C){var l=C[u];l==parseFloat(l)&&(l+="px"),f.style[h(u)]=l}},k}(window||{});return a});;
/*!
  * Bootstrap v4.5.3 (https://getbootstrap.com/)
  * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery)}(this,(function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var i=n(e);function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}).apply(this,arguments)}function s(t){var e=this,n=!1;return i.default(this).one(l.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||l.triggerTransitionEnd(e)}),t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=i.default(t).css("transition-duration"),n=i.default(t).css("transition-delay"),o=parseFloat(e),r=parseFloat(n);return o||r?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){i.default(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],a=r&&l.isElement(r)?"element":null===(s=r)||"undefined"==typeof s?""+s:{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?l.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof i.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=i.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};l.jQueryDetection(),i.default.fn.emulateTransitionEnd=s,i.default.event.special[l.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(i.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var u="alert",f=i.default.fn[u],d=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){i.default.removeData(this._element,"bs.alert"),this._element=null},e._getRootElement=function(t){var e=l.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=i.default(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=i.default.Event("close.bs.alert");return i.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(i.default(t).removeClass("show"),i.default(t).hasClass("fade")){var n=l.getTransitionDurationFromElement(t);i.default(t).one(l.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){i.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.alert");o||(o=new t(this),n.data("bs.alert",o)),"close"===e&&o[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',d._handleDismiss(new d)),i.default.fn[u]=d._jQueryInterface,i.default.fn[u].Constructor=d,i.default.fn[u].noConflict=function(){return i.default.fn[u]=f,d._jQueryInterface};var c=i.default.fn.button,h=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=i.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var r=n.querySelector(".active");r&&i.default(r).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||i.default(o).trigger("change")),o.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&i.default(this._element).toggleClass("active"))},e.dispose=function(){i.default.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var o=i.default(this),r=o.data("bs.button");r||(r=new t(this),o.data("bs.button",r)),r.shouldAvoidTriggerChange=n,"toggle"===e&&r[e]()}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=t.target,n=e;if(i.default(e).hasClass("btn")||(e=i.default(e).closest(".btn")[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var o=e.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||h._jQueryInterface.call(i.default(e),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var e=i.default(t.target).closest(".btn")[0];i.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),i.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector('input:not([type="hidden"])');o.checked||o.hasAttribute("checked")?i.classList.add("active"):i.classList.remove("active")}for(var r=0,a=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;r<a;r++){var s=t[r];"true"===s.getAttribute("aria-pressed")?s.classList.add("active"):s.classList.remove("active")}})),i.default.fn.button=h._jQueryInterface,i.default.fn.button.Constructor=h,i.default.fn.button.noConflict=function(){return i.default.fn.button=c,h._jQueryInterface};var p="carousel",m=".bs.carousel",g=i.default.fn[p],v={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},_={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},b={TOUCH:"touch",PEN:"pen"},y=function(){function t(t,e){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(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide("next")},e.nextWhenVisible=function(){var t=i.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide("prev")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(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))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(".active.carousel-item");var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)i.default(this._element).one("slid.bs.carousel",(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var o=t>n?"next":"prev";this._slide(o,this._items[t])}},e.dispose=function(){i.default(this._element).off(m),i.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},v,t),l.typeCheckConfig(p,t,_),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&i.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&i.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&b[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&b[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(i.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(i.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),i.default(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),i.default(this._element).on("touchend.bs.carousel",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var a=(o+("prev"===t?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=i.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:o,to:n});return i.default(this._element).trigger(r),r},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));i.default(e).removeClass("active");var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&i.default(n).addClass("active")}},e._slide=function(t,e){var n,o,r,a=this,s=this._element.querySelector(".active.carousel-item"),u=this._getItemIndex(s),f=e||s&&this._getItemByDirection(t,s),d=this._getItemIndex(f),c=Boolean(this._interval);if("next"===t?(n="carousel-item-left",o="carousel-item-next",r="left"):(n="carousel-item-right",o="carousel-item-prev",r="right"),f&&i.default(f).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(f,r).isDefaultPrevented()&&s&&f){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(f);var h=i.default.Event("slid.bs.carousel",{relatedTarget:f,direction:r,from:u,to:d});if(i.default(this._element).hasClass("slide")){i.default(f).addClass(o),l.reflow(f),i.default(s).addClass(n),i.default(f).addClass(n);var p=parseInt(f.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(s);i.default(s).one(l.TRANSITION_END,(function(){i.default(f).removeClass(n+" "+o).addClass("active"),i.default(s).removeClass("active "+o+" "+n),a._isSliding=!1,setTimeout((function(){return i.default(a._element).trigger(h)}),0)})).emulateTransitionEnd(m)}else i.default(s).removeClass("active"),i.default(f).addClass("active"),this._isSliding=!1,i.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.carousel"),o=a({},v,i.default(this).data());"object"==typeof e&&(o=a({},o,e));var r="string"==typeof e?e:o.slide;if(n||(n=new t(this,o),i.default(this).data("bs.carousel",n)),"number"==typeof e)n.to(e);else if("string"==typeof r){if("undefined"==typeof n[r])throw new TypeError('No method named "'+r+'"');n[r]()}else o.interval&&o.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=l.getSelectorFromElement(this);if(n){var o=i.default(n)[0];if(o&&i.default(o).hasClass("carousel")){var r=a({},i.default(o).data(),i.default(this).data()),s=this.getAttribute("data-slide-to");s&&(r.interval=!1),t._jQueryInterface.call(i.default(o),r),s&&i.default(o).data("bs.carousel").to(s),e.preventDefault()}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return v}}]),t}();i.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",y._dataApiClickHandler),i.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var o=i.default(t[e]);y._jQueryInterface.call(o,o.data())}})),i.default.fn[p]=y._jQueryInterface,i.default.fn[p].Constructor=y,i.default.fn[p].noConflict=function(){return i.default.fn[p]=g,y._jQueryInterface};var w="collapse",E=i.default.fn[w],T={toggle:!0,parent:""},C={toggle:"boolean",parent:"(string|element)"},S=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll('[data-toggle="collapse"]')),i=0,o=n.length;i<o;i++){var r=n[i],a=l.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(a)).filter((function(e){return e===t}));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 e=t.prototype;return e.toggle=function(){i.default(this._element).hasClass("show")?this.hide():this.show()},e.show=function(){var e,n,o=this;if(!this._isTransitioning&&!i.default(this._element).hasClass("show")&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")}))).length&&(e=null),!(e&&(n=i.default(e).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var r=i.default.Event("show.bs.collapse");if(i.default(this._element).trigger(r),!r.isDefaultPrevented()){e&&(t._jQueryInterface.call(i.default(e).not(this._selector),"hide"),n||i.default(e).data("bs.collapse",null));var a=this._getDimension();i.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[a]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(a[0].toUpperCase()+a.slice(1)),u=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(){i.default(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[a]="",o.setTransitioning(!1),i.default(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(u),this._element.style[a]=this._element[s]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&i.default(this._element).hasClass("show")){var e=i.default.Event("hide.bs.collapse");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",l.reflow(this._element),i.default(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],s=l.getSelectorFromElement(a);if(null!==s)i.default([].slice.call(document.querySelectorAll(s))).hasClass("show")||i.default(a).addClass("collapsed").attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var u=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(){t.setTransitioning(!1),i.default(t._element).removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")})).emulateTransitionEnd(u)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){i.default.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=a({},T,t)).toggle=Boolean(t.toggle),l.typeCheckConfig(w,t,C),t},e._getDimension=function(){return i.default(this._element).hasClass("width")?"width":"height"},e._getParent=function(){var e,n=this;l.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(e.querySelectorAll(o));return i.default(r).each((function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])})),e},e._addAriaAndCollapsedClass=function(t,e){var n=i.default(t).hasClass("show");e.length&&i.default(e).toggleClass("collapsed",!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=l.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.collapse"),r=a({},T,n.data(),"object"==typeof e&&e?e:{});if(!o&&r.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(r.toggle=!1),o||(o=new t(this,r),n.data("bs.collapse",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return T}}]),t}();i.default(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=i.default(this),n=l.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(n));i.default(o).each((function(){var t=i.default(this),n=t.data("bs.collapse")?"toggle":e.data();S._jQueryInterface.call(t,n)}))})),i.default.fn[w]=S._jQueryInterface,i.default.fn[w].Constructor=S,i.default.fn[w].noConflict=function(){return i.default.fn[w]=E,S._jQueryInterface};var D="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,N=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(D&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var k=D&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),N))}};function A(t){return t&&"[object Function]"==={}.toString.call(t)}function I(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function O(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function x(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=I(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:x(O(t))}function j(t){return t&&t.referenceNode?t.referenceNode:t}var L=D&&!(!window.MSInputMethodContext||!document.documentMode),P=D&&/MSIE 10/.test(navigator.userAgent);function F(t){return 11===t?L:10===t?P:L||P}function R(t){if(!t)return document.documentElement;for(var e=F(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===I(n,"position")?R(n):n:t?t.ownerDocument.documentElement:document.documentElement}function H(t){return null!==t.parentNode?H(t.parentNode):t}function M(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&R(a.firstElementChild)!==a?R(l):l;var u=H(t);return u.host?M(u.host,e):M(t,H(e).host)}function B(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function q(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=B(e,"top"),o=B(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function Q(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function W(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],F(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function U(t){var e=t.body,n=t.documentElement,i=F(10)&&getComputedStyle(n);return{height:W("Height",e,n,i),width:W("Width",e,n,i)}}var V=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Y=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),z=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},X=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function K(t){return X({},t,{right:t.left+t.width,bottom:t.top+t.height})}function G(t){var e={};try{if(F(10)){e=t.getBoundingClientRect();var n=B(t,"top"),i=B(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?U(t.ownerDocument):{},a=r.width||t.clientWidth||o.width,s=r.height||t.clientHeight||o.height,l=t.offsetWidth-a,u=t.offsetHeight-s;if(l||u){var f=I(t);l-=Q(f,"x"),u-=Q(f,"y"),o.width-=l,o.height-=u}return K(o)}function $(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=F(10),o="HTML"===e.nodeName,r=G(t),a=G(e),s=x(t),l=I(e),u=parseFloat(l.borderTopWidth),f=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=K({top:r.top-a.top-u,left:r.left-a.left-f,width:r.width,height:r.height});if(d.marginTop=0,d.marginLeft=0,!i&&o){var c=parseFloat(l.marginTop),h=parseFloat(l.marginLeft);d.top-=u-c,d.bottom-=u-c,d.left-=f-h,d.right-=f-h,d.marginTop=c,d.marginLeft=h}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=q(d,e)),d}function J(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=$(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:B(n),s=e?0:B(n,"left"),l={top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r};return K(l)}function Z(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===I(t,"position"))return!0;var n=O(t);return!!n&&Z(n)}function tt(t){if(!t||!t.parentElement||F())return document.documentElement;for(var e=t.parentElement;e&&"none"===I(e,"transform");)e=e.parentElement;return e||document.documentElement}function et(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?tt(t):M(t,j(e));if("viewport"===i)r=J(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=x(O(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var l=$(s,a,o);if("HTML"!==s.nodeName||Z(a))r=l;else{var u=U(t.ownerDocument),f=u.height,d=u.width;r.top+=l.top-l.marginTop,r.bottom=f+l.top,r.left+=l.left-l.marginLeft,r.right=d+l.left}}var c="number"==typeof(n=n||0);return r.left+=c?n:n.left||0,r.top+=c?n:n.top||0,r.right-=c?n:n.right||0,r.bottom-=c?n:n.bottom||0,r}function nt(t){return t.width*t.height}function it(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=et(n,i,r,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map((function(t){return X({key:t},s[t],{area:nt(s[t])})})).sort((function(t,e){return e.area-t.area})),u=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),f=u.length>0?u[0].key:l[0].key,d=t.split("-")[1];return f+(d?"-"+d:"")}function ot(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?tt(e):M(e,j(n));return $(n,o,i)}function rt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function at(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function st(t,e,n){n=n.split("-")[0];var i=rt(t),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]=e[a]+e[l]/2-i[l]/2,o[s]=n===s?e[s]-i[u]:e[at(s)],o}function lt(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ut(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=lt(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&A(n)&&(e.offsets.popper=K(e.offsets.popper),e.offsets.reference=K(e.offsets.reference),e=n(e,t))})),e}function ft(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=ot(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=it(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=st(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ut(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function dt(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function ct(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function ht(){return this.state.isDestroyed=!0,dt(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[ct("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function pt(t){var e=t.ownerDocument;return e?e.defaultView:window}function mt(t,e,n,i){n.updateBound=i,pt(t).addEventListener("resize",n.updateBound,{passive:!0});var o=x(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,a=r?e.ownerDocument.defaultView:e;a.addEventListener(n,i,{passive:!0}),r||t(x(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function gt(){this.state.eventsEnabled||(this.state=mt(this.reference,this.options,this.state,this.scheduleUpdate))}function vt(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,pt(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function _t(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function bt(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&_t(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var yt=D&&/Firefox/i.test(navigator.userAgent);function wt(t,e,n){var i=lt(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",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 Et=["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"],Tt=Et.slice(3);function Ct(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Tt.indexOf(t),i=Tt.slice(n+1).concat(Tt.slice(0,n));return e?i.reverse():i}var St="flip",Dt="clockwise",Nt="counterclockwise";function kt(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(lt(a,(function(t){return-1!==t.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(t,i){var o=(1===i?!r:r)?"height":"width",a=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return K(s)[e]/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}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){_t(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var At={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",f={start:z({},l,r[l]),end:z({},l,r[l]+r[u]-a[u])};t.offsets.popper=X({},a,f[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=_t(+n)?[+n,0]:kt(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]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||R(t.instance.popper);t.instance.reference===n&&(n=R(n));var i=ct("transform"),o=t.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=et(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=a,o[i]=s,e.boundaries=l;var u=e.priority,f=t.offsets.popper,d={primary:function(t){var n=f[t];return f[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(f[t],l[t])),z({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=f[n];return f[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(f[n],l[t]-("right"===t?f.width:f.height))),z({},n,i)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";f=X({},f,d[e](t))})),t.offsets.popper=f,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.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])&&(t.offsets.popper[l]=r(i[l])-n[u]),n[l]>r(i[s])&&(t.offsets.popper[l]=r(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!wt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),u=l?"height":"width",f=l?"Top":"Left",d=f.toLowerCase(),c=l?"left":"top",h=l?"bottom":"right",p=rt(i)[u];s[h]-p<a[d]&&(t.offsets.popper[d]-=a[d]-(s[h]-p)),s[d]+p>a[h]&&(t.offsets.popper[d]+=s[d]+p-a[h]),t.offsets.popper=K(t.offsets.popper);var m=s[d]+s[u]/2-p/2,g=I(t.instance.popper),v=parseFloat(g["margin"+f]),_=parseFloat(g["border"+f+"Width"]),b=m-t.offsets.popper[d]-v-_;return b=Math.max(Math.min(a[u]-p,b),0),t.arrowElement=i,t.offsets.arrow=(z(n={},d,Math.round(b)),z(n,c,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(dt(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=et(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=at(i),r=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case St:a=[i,o];break;case Dt:a=Ct(i);break;case Nt:a=Ct(i,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],o=at(i);var u=t.offsets.popper,f=t.offsets.reference,d=Math.floor,c="left"===i&&d(u.right)>d(f.left)||"right"===i&&d(u.left)<d(f.right)||"top"===i&&d(u.bottom)>d(f.top)||"bottom"===i&&d(u.top)<d(f.bottom),h=d(u.left)<d(n.left),p=d(u.right)>d(n.right),m=d(u.top)<d(n.top),g=d(u.bottom)>d(n.bottom),v="left"===i&&h||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,_=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(_&&"start"===r&&h||_&&"end"===r&&p||!_&&"start"===r&&m||!_&&"end"===r&&g),y=!!e.flipVariationsByContent&&(_&&"start"===r&&p||_&&"end"===r&&h||!_&&"start"===r&&g||!_&&"end"===r&&m),w=b||y;(c||v||w)&&(t.flipped=!0,(c||v)&&(i=a[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=X({},t.offsets.popper,st(t.instance.popper,t.offsets.reference,t.placement)),t=ut(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.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),t.placement=at(e),t.offsets.popper=K(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!wt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=lt(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=lt(t.instance.modifiers,(function(t){return"applyStyle"===t.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:e.gpuAcceleration,s=R(t.instance.popper),l=G(s),u={position:o.position},f=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(t){return t},l=r(o.width),u=r(i.width),f=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),c=e?f||d||l%2==u%2?r:a:s,h=e?r:s;return{left:c(l%2==1&&u%2==1&&!d&&e?i.left-1:i.left),top:h(i.top),bottom:h(i.bottom),right:c(i.right)}}(t,window.devicePixelRatio<2||!yt),d="bottom"===n?"top":"bottom",c="right"===i?"left":"right",h=ct("transform"),p=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+f.bottom:-l.height+f.bottom:f.top,p="right"===c?"HTML"===s.nodeName?-s.clientWidth+f.right:-l.width+f.right:f.left,a&&h)u[h]="translate3d("+p+"px, "+m+"px, 0)",u[d]=0,u[c]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===c?-1:1;u[d]=m*g,u[c]=p*v,u.willChange=d+", "+c}var _={"x-placement":t.placement};return t.attributes=X({},_,t.attributes),t.styles=X({},u,t.styles),t.arrowStyles=X({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return bt(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&bt(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=ot(o,e,t,n.positionFixed),a=it(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),bt(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},It=function(){function t(e,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};V(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=k(this.update.bind(this)),this.options=X({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(X({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=X({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return X({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&A(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return Y(t,[{key:"update",value:function(){return ft.call(this)}},{key:"destroy",value:function(){return ht.call(this)}},{key:"enableEventListeners",value:function(){return gt.call(this)}},{key:"disableEventListeners",value:function(){return vt.call(this)}}]),t}();It.Utils=("undefined"!=typeof window?window:global).PopperUtils,It.placements=Et,It.Defaults=At;var Ot="dropdown",xt=i.default.fn[Ot],jt=new RegExp("38|40|27"),Lt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Pt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Ft=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")){var e=i.default(this._menu).hasClass("show");t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||i.default(this._element).hasClass("disabled")||i.default(this._menu).hasClass("show"))){var n={relatedTarget:this._element},o=i.default.Event("show.bs.dropdown",n),r=t._getParentFromElement(this._element);if(i.default(r).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&e){if("undefined"==typeof It)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=r:l.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i.default(r).addClass("position-static"),this._popper=new It(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i.default(r).closest(".navbar-nav").length&&i.default(document.body).children().on("mouseover",null,i.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i.default(this._menu).toggleClass("show"),i.default(r).toggleClass("show").trigger(i.default.Event("shown.bs.dropdown",n))}}},e.hide=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")&&i.default(this._menu).hasClass("show")){var e={relatedTarget:this._element},n=i.default.Event("hide.bs.dropdown",e),o=t._getParentFromElement(this._element);i.default(o).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),i.default(this._menu).toggleClass("show"),i.default(o).toggleClass("show").trigger(i.default.Event("hidden.bs.dropdown",e)))}},e.dispose=function(){i.default.removeData(this._element,"bs.dropdown"),i.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;i.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=a({},this.constructor.Default,i.default(this._element).data(),t),l.typeCheckConfig(Ot,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},e._getPlacement=function(){var t=i.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=i.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":i.default(this._menu).hasClass("dropdown-menu-right")&&(e="bottom-end"),e},e._detectNavbar=function(){return i.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),a({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.dropdown");if(n||(n=new t(this,"object"==typeof e?e:null),i.default(this).data("bs.dropdown",n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,r=n.length;o<r;o++){var a=t._getParentFromElement(n[o]),s=i.default(n[o]).data("bs.dropdown"),l={relatedTarget:n[o]};if(e&&"click"===e.type&&(l.clickEvent=e),s){var u=s._menu;if(i.default(a).hasClass("show")&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&i.default.contains(a,e.target))){var f=i.default.Event("hide.bs.dropdown",l);i.default(a).trigger(f),f.isDefaultPrevented()||("ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),n[o].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),i.default(u).removeClass("show"),i.default(a).removeClass("show").trigger(i.default.Event("hidden.bs.dropdown",l)))}}}},t._getParentFromElement=function(t){var e,n=l.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||i.default(e.target).closest(".dropdown-menu").length):!jt.test(e.which))&&!this.disabled&&!i.default(this).hasClass("disabled")){var n=t._getParentFromElement(this),o=i.default(n).hasClass("show");if(o||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!o||27===e.which||32===e.which)return 27===e.which&&i.default(n.querySelector('[data-toggle="dropdown"]')).trigger("focus"),void i.default(this).trigger("click");var r=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(t){return i.default(t).is(":visible")}));if(0!==r.length){var a=r.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}}},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Lt}},{key:"DefaultType",get:function(){return Pt}}]),t}();i.default(document).on("keydown.bs.dropdown.data-api",'[data-toggle="dropdown"]',Ft._dataApiKeydownHandler).on("keydown.bs.dropdown.data-api",".dropdown-menu",Ft._dataApiKeydownHandler).on("click.bs.dropdown.data-api keyup.bs.dropdown.data-api",Ft._clearMenus).on("click.bs.dropdown.data-api",'[data-toggle="dropdown"]',(function(t){t.preventDefault(),t.stopPropagation(),Ft._jQueryInterface.call(i.default(this),"toggle")})).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})),i.default.fn[Ot]=Ft._jQueryInterface,i.default.fn[Ot].Constructor=Ft,i.default.fn[Ot].noConflict=function(){return i.default.fn[Ot]=xt,Ft._jQueryInterface};var Rt=i.default.fn.modal,Ht={backdrop:!0,keyboard:!0,focus:!0,show:!0},Mt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Bt=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){i.default(this._element).hasClass("fade")&&(this._isTransitioning=!0);var n=i.default.Event("show.bs.modal",{relatedTarget:t});i.default(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),i.default(this._element).on("click.dismiss.bs.modal",'[data-dismiss="modal"]',(function(t){return e.hide(t)})),i.default(this._dialog).on("mousedown.dismiss.bs.modal",(function(){i.default(e._element).one("mouseup.dismiss.bs.modal",(function(t){i.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=i.default.Event("hide.bs.modal");if(i.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var o=i.default(this._element).hasClass("fade");if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i.default(document).off("focusin.bs.modal"),i.default(this._element).removeClass("show"),i.default(this._element).off("click.dismiss.bs.modal"),i.default(this._dialog).off("mousedown.dismiss.bs.modal"),o){var r=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,(function(t){return e._hideModal(t)})).emulateTransitionEnd(r)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return i.default(t).off(".bs.modal")})),i.default(document).off("focusin.bs.modal"),i.default.removeData(this._element,"bs.modal"),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},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=a({},Ht,t),l.typeCheckConfig("modal",t,Mt),t},e._triggerBackdropTransition=function(){var t=this;if("static"===this._config.backdrop){var e=i.default.Event("hidePrevented.bs.modal");if(i.default(this._element).trigger(e),e.isDefaultPrevented())return;var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=l.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(l.TRANSITION_END),i.default(this._element).one(l.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),n||i.default(t._element).one(l.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},e._showElement=function(t){var e=this,n=i.default(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;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),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,n&&l.reflow(this._element),i.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var r=i.default.Event("shown.bs.modal",{relatedTarget:t}),a=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,i.default(e._element).trigger(r)};if(n){var s=l.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(l.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},e._enforceFocus=function(){var t=this;i.default(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(e){document!==e.target&&t._element!==e.target&&0===i.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?i.default(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||i.default(this._element).off("keydown.dismiss.bs.modal")},e._setResizeEvent=function(){var t=this;this._isShown?i.default(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):i.default(window).off("resize.bs.modal")},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){i.default(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),i.default(t._element).trigger("hidden.bs.modal")}))},e._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=i.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on("click.dismiss.bs.modal",(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()})),n&&l.reflow(this._backdrop),i.default(this._backdrop).addClass("show"),!t)return;if(!n)return void t();var o=l.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(l.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass("show");var r=function(){e._removeBackdrop(),t&&t()};if(i.default(this._element).hasClass("fade")){var a=l.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")),n=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(e).each((function(e,n){var o=n.style.paddingRight,r=i.default(n).css("padding-right");i.default(n).data("padding-right",o).css("padding-right",parseFloat(r)+t._scrollbarWidth+"px")})),i.default(n).each((function(e,n){var o=n.style.marginRight,r=i.default(n).css("margin-right");i.default(n).data("margin-right",o).css("margin-right",parseFloat(r)-t._scrollbarWidth+"px")}));var o=document.body.style.paddingRight,r=i.default(document.body).css("padding-right");i.default(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}i.default(document.body).addClass("modal-open")},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top"));i.default(t).each((function(t,e){var n=i.default(e).data("padding-right");i.default(e).removeData("padding-right"),e.style.paddingRight=n||""}));var e=[].slice.call(document.querySelectorAll(".sticky-top"));i.default(e).each((function(t,e){var n=i.default(e).data("margin-right");"undefined"!=typeof n&&i.default(e).css("margin-right",n).removeData("margin-right")}));var n=i.default(document.body).data("padding-right");i.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each((function(){var o=i.default(this).data("bs.modal"),r=a({},Ht,i.default(this).data(),"object"==typeof e&&e?e:{});if(o||(o=new t(this,r),i.default(this).data("bs.modal",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](n)}else r.show&&o.show(n)}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Ht}}]),t}();i.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e,n=this,o=l.getSelectorFromElement(this);o&&(e=document.querySelector(o));var r=i.default(e).data("bs.modal")?"toggle":a({},i.default(e).data(),i.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=i.default(e).one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){i.default(n).is(":visible")&&n.focus()}))}));Bt._jQueryInterface.call(i.default(e),r,this)})),i.default.fn.modal=Bt._jQueryInterface,i.default.fn.modal.Constructor=Bt,i.default.fn.modal.noConflict=function(){return i.default.fn.modal=Rt,Bt._jQueryInterface};var qt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Qt={"*":["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","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wt=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Ut=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Vt(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=[].slice.call(i.body.querySelectorAll("*")),a=function(t,n){var i=r[t],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(e["*"]||[],e[a]||[]);s.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===qt.indexOf(n)||Boolean(t.nodeValue.match(Wt)||t.nodeValue.match(Ut));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,l)||i.removeAttribute(t.nodeName)}))},s=0,l=r.length;s<l;s++)a(s);return i.body.innerHTML}var Yt="tooltip",zt=i.default.fn[Yt],Xt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Kt=["sanitize","whiteList","sanitizeFn"],Gt={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",popperConfig:"(null|object)"},$t={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Jt={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:Qt,popperConfig:null},Zt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},te=function(){function t(t,e){if("undefined"==typeof It)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=i.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(e);var n=l.findShadowRoot(this.element),o=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=l.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&i.default(r).addClass("fade");var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,u=this._getAttachment(s);this.addAttachmentClass(u);var f=this._getContainer();i.default(r).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(r).appendTo(f),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new It(this.element,r,this._getPopperConfig(u)),i.default(r).addClass("show"),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var d=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,i.default(t.element).trigger(t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(i.default(this.tip).hasClass("fade")){var c=l.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(l.TRANSITION_END,d).emulateTransitionEnd(c)}else d()}},e.hide=function(t){var e=this,n=this.getTipElement(),o=i.default.Event(this.constructor.Event.HIDE),r=function(){"show"!==e._hoverState&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),i.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(i.default(this.element).trigger(o),!o.isDefaultPrevented()){if(i.default(n).removeClass("show"),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.default(this.tip).hasClass("fade")){var a=l.getTransitionDurationFromElement(n);i.default(n).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(i.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),i.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Vt(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?i.default(e).parent().is(t)||t.empty().append(e):t.text(i.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return a({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},e._getAttachment=function(t){return $t[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)i.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;i.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),i.default(e.getTipElement()).hasClass("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){"show"===e._hoverState&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||i.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),i.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){"out"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=i.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Kt.indexOf(t)&&delete e[t]})),"number"==typeof(t=a({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),l.typeCheckConfig(Yt,t,this.constructor.DefaultType),t.sanitize&&(t.template=Vt(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(Xt);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(i.default(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.tooltip"),r="object"==typeof e&&e;if((o||!/dispose|hide/.test(e))&&(o||(o=new t(this,r),n.data("bs.tooltip",o)),"string"==typeof e)){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return Jt}},{key:"NAME",get:function(){return Yt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Zt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Gt}}]),t}();i.default.fn[Yt]=te._jQueryInterface,i.default.fn[Yt].Constructor=te,i.default.fn[Yt].noConflict=function(){return i.default.fn[Yt]=zt,te._jQueryInterface};var ee="popover",ne=i.default.fn[ee],ie=new RegExp("(^|\\s)bs-popover\\S+","g"),oe=a({},te.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>'}),re=a({},te.DefaultType,{content:"(string|element|function)"}),ae={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},se=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){i.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},a.setContent=function(){var t=i.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=i.default(this.getTipElement()),e=t.attr("class").match(ie);null!==e&&e.length>0&&t.removeClass(e.join(""))},o._jQueryInterface=function(t){return this.each((function(){var e=i.default(this).data("bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,n),i.default(this).data("bs.popover",e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},r(o,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return oe}},{key:"NAME",get:function(){return ee}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return ae}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return re}}]),o}(te);i.default.fn[ee]=se._jQueryInterface,i.default.fn[ee].Constructor=se,i.default.fn[ee].noConflict=function(){return i.default.fn[ee]=ne,se._jQueryInterface};var le="scrollspy",ue=i.default.fn[le],fe={offset:10,method:"auto",target:""},de={offset:"number",method:"string",target:"(string|element)"},ce=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",n="auto"===this._config.method?e:this._config.method,o="position"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,r=l.getSelectorFromElement(t);if(r&&(e=document.querySelector(r)),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[i.default(e)[n]().top+o,r]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){i.default.removeData(this._element,"bs.scrollspy"),i.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=a({},fe,"object"==typeof t&&t?t:{})).target&&l.isElement(t.target)){var e=i.default(t.target).attr("id");e||(e=l.getUID(le),i.default(t.target).attr("id",e)),t.target="#"+e}return l.typeCheckConfig(le,t,de),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<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]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=i.default([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass("active"),n.addClass("active")):(n.addClass("active"),n.parents(".nav, .list-group").prev(".nav-link, .list-group-item").addClass("active"),n.parents(".nav, .list-group").prev(".nav-item").children(".nav-link").addClass("active")),i.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains("active")})).forEach((function(t){return t.classList.remove("active")}))},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this).data("bs.scrollspy");if(n||(n=new t(this,"object"==typeof e&&e),i.default(this).data("bs.scrollspy",n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"Default",get:function(){return fe}}]),t}();i.default(window).on("load.bs.scrollspy.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=i.default(t[e]);ce._jQueryInterface.call(n,n.data())}})),i.default.fn[le]=ce._jQueryInterface,i.default.fn[le].Constructor=ce,i.default.fn[le].noConflict=function(){return i.default.fn[le]=ue,ce._jQueryInterface};var he=i.default.fn.tab,pe=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i.default(this._element).hasClass("active")||i.default(this._element).hasClass("disabled"))){var e,n,o=i.default(this._element).closest(".nav, .list-group")[0],r=l.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?"> li > .active":".active";n=(n=i.default.makeArray(i.default(o).find(a)))[n.length-1]}var s=i.default.Event("hide.bs.tab",{relatedTarget:this._element}),u=i.default.Event("show.bs.tab",{relatedTarget:n});if(n&&i.default(n).trigger(s),i.default(this._element).trigger(u),!u.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(e=document.querySelector(r)),this._activate(this._element,o);var f=function(){var e=i.default.Event("hidden.bs.tab",{relatedTarget:t._element}),o=i.default.Event("shown.bs.tab",{relatedTarget:n});i.default(n).trigger(e),i.default(t._element).trigger(o)};e?this._activate(e,e.parentNode,f):f()}}},e.dispose=function(){i.default.removeData(this._element,"bs.tab"),this._element=null},e._activate=function(t,e,n){var o=this,r=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?i.default(e).children(".active"):i.default(e).find("> li > .active"))[0],a=n&&r&&i.default(r).hasClass("fade"),s=function(){return o._transitionComplete(t,r,n)};if(r&&a){var u=l.getTransitionDurationFromElement(r);i.default(r).removeClass("show").one(l.TRANSITION_END,s).emulateTransitionEnd(u)}else s()},e._transitionComplete=function(t,e,n){if(e){i.default(e).removeClass("active");var o=i.default(e.parentNode).find("> .dropdown-menu .active")[0];o&&i.default(o).removeClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(i.default(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),l.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&i.default(t.parentNode).hasClass("dropdown-menu")){var r=i.default(t).closest(".dropdown")[0];if(r){var a=[].slice.call(r.querySelectorAll(".dropdown-toggle"));i.default(a).addClass("active")}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.tab");if(o||(o=new t(this),n.data("bs.tab",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}}]),t}();i.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),pe._jQueryInterface.call(i.default(this),"show")})),i.default.fn.tab=pe._jQueryInterface,i.default.fn.tab.Constructor=pe,i.default.fn.tab.noConflict=function(){return i.default.fn.tab=he,pe._jQueryInterface};var me=i.default.fn.toast,ge={animation:"boolean",autohide:"boolean",delay:"number"},ve={animation:!0,autohide:!0,delay:500},_e=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=i.default.Event("show.bs.toast");if(i.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),i.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),l.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(o)}else n()}},e.hide=function(){if(this._element.classList.contains("show")){var t=i.default.Event("hide.bs.toast");i.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),i.default(this._element).off("click.dismiss.bs.toast"),i.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},e._getConfig=function(t){return t=a({},ve,i.default(this._element).data(),"object"==typeof t&&t?t:{}),l.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;i.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add("hide"),i.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var n=l.getTransitionDurationFromElement(this._element);i.default(this._element).one(l.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=i.default(this),o=n.data("bs.toast");if(o||(o=new t(this,"object"==typeof e&&e),n.data("bs.toast",o)),"string"==typeof e){if("undefined"==typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](this)}}))},r(t,null,[{key:"VERSION",get:function(){return"4.5.3"}},{key:"DefaultType",get:function(){return ge}},{key:"Default",get:function(){return ve}}]),t}();i.default.fn.toast=_e._jQueryInterface,i.default.fn.toast.Constructor=_e,i.default.fn.toast.noConflict=function(){return i.default.fn.toast=me,_e._jQueryInterface},t.Alert=d,t.Button=h,t.Carousel=y,t.Collapse=S,t.Dropdown=Ft,t.Modal=Bt,t.Popover=se,t.Scrollspy=ce,t.Tab=pe,t.Toast=_e,t.Tooltip=te,t.Util=l,Object.defineProperty(t,"__esModule",{value:!0})}));;
(function(a){var b=true;a.flexslider=function(e,k){var m=a(e);if(typeof k.rtl=="undefined"&&a("html").attr("dir")=="rtl"){k.rtl=true}m.vars=a.extend({},a.flexslider.defaults,k);var j=m.vars.namespace,i=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,n=(("ontouchstart" in window)||i||window.DocumentTouch&&document instanceof DocumentTouch)&&m.vars.touch,f="click touchend MSPointerUp keyup",p="",q,o=m.vars.direction==="vertical",l=m.vars.reverse,d=(m.vars.itemWidth>0),g=m.vars.animation==="fade",c=m.vars.asNavFor!=="",h={};a.data(e,"flexslider",m);h={init:function(){m.animating=false;m.currentSlide=parseInt((m.vars.startAt?m.vars.startAt:0),10);if(isNaN(m.currentSlide)){m.currentSlide=0}m.animatingTo=m.currentSlide;m.atEnd=(m.currentSlide===0||m.currentSlide===m.last);m.containerSelector=m.vars.selector.substr(0,m.vars.selector.search(" "));m.slides=a(m.vars.selector,m);m.container=a(m.containerSelector,m);m.count=m.slides.length;m.syncExists=a(m.vars.sync).length>0;if(m.vars.animation==="slide"){m.vars.animation="swing"}m.prop=(o)?"top":(m.vars.rtl?"marginRight":"marginLeft");m.args={};m.manualPause=false;m.stopped=false;m.started=false;m.startTimeout=null;m.transitions=!m.vars.video&&!g&&m.vars.useCSS&&(function(){var s=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var r in t){if(s.style[t[r]]!==undefined){m.pfx=t[r].replace("Perspective","").toLowerCase();m.prop="-"+m.pfx+"-transform";return true}}return false}());m.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1;m.ensureAnimationEnd="";if(m.vars.controlsContainer!==""){m.controlsContainer=a(m.vars.controlsContainer).length>0&&a(m.vars.controlsContainer)}if(m.vars.manualControls!==""){m.manualControls=a(m.vars.manualControls).length>0&&a(m.vars.manualControls)}if(m.vars.customDirectionNav!==""){m.customDirectionNav=a(m.vars.customDirectionNav).length===2&&a(m.vars.customDirectionNav)}if(m.vars.randomize){m.slides.sort(function(){return(Math.round(Math.random())-0.5)});m.container.empty().append(m.slides)}m.doMath();m.setup("init");if(m.vars.controlNav){h.controlNav.setup()}if(m.vars.directionNav){h.directionNav.setup()}if(m.vars.keyboard&&(a(m.containerSelector).length===1||m.vars.multipleKeyboard)){a(document).bind("keyup",function(r){var s=r.keyCode;if(!m.animating&&(s===39||s===37)){var t=(m.vars.rtl?((s===37)?m.getTarget("next"):(s===39)?m.getTarget("prev"):false):((s===39)?m.getTarget("next"):(s===37)?m.getTarget("prev"):false));m.flexAnimate(t,m.vars.pauseOnAction)}})}if(m.vars.mousewheel){m.bind("mousewheel",function(u,r,s,t){u.preventDefault();var v=(r<0)?m.getTarget("next"):m.getTarget("prev");m.flexAnimate(v,m.vars.pauseOnAction)})}if(m.vars.pausePlay){h.pausePlay.setup()}if(m.vars.slideshow&&m.vars.pauseInvisible){h.pauseInvisible.init()}if(m.vars.slideshow){if(m.vars.pauseOnHover){m.hover(function(){if(!m.manualPlay&&!m.manualPause){m.pause()}},function(){if(!m.manualPause&&!m.manualPlay&&!m.stopped){m.play()}})}if(!m.vars.pauseInvisible||!h.pauseInvisible.isHidden()){(m.vars.initDelay>0)?m.startTimeout=setTimeout(m.play,m.vars.initDelay):m.play()}}if(c){h.asNav.setup()}if(n&&m.vars.touch){h.touch()}if(!g||(g&&m.vars.smoothHeight)){a(window).bind("resize orientationchange focus",h.resize)}m.find("img").attr("draggable","false");setTimeout(function(){m.vars.start(m)},200)},asNav:{setup:function(){m.asNav=true;m.animatingTo=Math.floor(m.currentSlide/m.move);m.currentItem=m.currentSlide;m.slides.removeClass(j+"active-slide").eq(m.currentItem).addClass(j+"active-slide");if(!i){m.slides.on(f,function(s){s.preventDefault();var r=a(this),u=r.index();var t;if(m.vars.rtl){t=-1*(r.offset().right-a(m).scrollLeft())}else{t=r.offset().left-a(m).scrollLeft()}if(t<=0&&r.hasClass(j+"active-slide")){m.flexAnimate(m.getTarget("prev"),true)}else{if(!a(m.vars.asNavFor).data("flexslider").animating&&!r.hasClass(j+"active-slide")){m.direction=(m.currentItem<u)?"next":"prev";m.flexAnimate(u,m.vars.pauseOnAction,false,true,true)}}})}else{e._slider=m;m.slides.each(function(){var r=this;r._gesture=new MSGesture();r._gesture.target=r;r.addEventListener("MSPointerDown",function(s){s.preventDefault();if(s.currentTarget._gesture){s.currentTarget._gesture.addPointer(s.pointerId)}},false);r.addEventListener("MSGestureTap",function(t){t.preventDefault();var s=a(this),u=s.index();if(!a(m.vars.asNavFor).data("flexslider").animating&&!s.hasClass("active")){m.direction=(m.currentItem<u)?"next":"prev";m.flexAnimate(u,m.vars.pauseOnAction,false,true,true)}})})}}},controlNav:{setup:function(){if(!m.manualControls){h.controlNav.setupPaging()}else{h.controlNav.setupManual()}},setupPaging:function(){var y=(m.vars.controlNav==="thumbnails")?"control-thumbs":"control-paging",v=1,u,x;m.controlNavScaffold=a('<ol class="'+j+"control-nav "+j+y+'"></ol>');if(m.pagingCount>1){for(var t=0;t<m.pagingCount;t++){x=m.slides.eq(t);if(undefined===x.attr("data-thumb-alt")){x.attr("data-thumb-alt","")}u=a("<a></a>").attr("href","#").text(v);if(m.vars.controlNav==="thumbnails"){u=a("<img/>").attr("src",x.attr("data-thumb"))}if(""!==x.attr("data-thumb-alt")){u.attr("alt",x.attr("data-thumb-alt"))}if("thumbnails"===m.vars.controlNav&&true===m.vars.thumbCaptions){var s=x.attr("data-thumbcaption");if(""!==s&&undefined!==s){var r=a("<span></span>").addClass(j+"caption").text(s);u.append(r)}}var w=a("<li>");u.appendTo(w);w.append("</li>");m.controlNavScaffold.append(w);v++}}(m.controlsContainer)?a(m.controlsContainer).append(m.controlNavScaffold):m.append(m.controlNavScaffold);h.controlNav.set();h.controlNav.active();m.controlNavScaffold.delegate("a, img",f,function(A){A.preventDefault();if(p===""||p===A.type){var z=a(this),B=m.controlNav.index(z);if(!z.hasClass(j+"active")){m.direction=(B>m.currentSlide)?"next":"prev";m.flexAnimate(B,m.vars.pauseOnAction)}}if(p===""){p=A.type}h.setToClearWatchedEvent()})},setupManual:function(){m.controlNav=m.manualControls;h.controlNav.active();m.controlNav.bind(f,function(s){s.preventDefault();if(p===""||p===s.type){var r=a(this),t=m.controlNav.index(r);if(!r.hasClass(j+"active")){(t>m.currentSlide)?m.direction="next":m.direction="prev";m.flexAnimate(t,m.vars.pauseOnAction)}}if(p===""){p=s.type}h.setToClearWatchedEvent()})},set:function(){var r=(m.vars.controlNav==="thumbnails")?"img":"a";m.controlNav=a("."+j+"control-nav li "+r,(m.controlsContainer)?m.controlsContainer:m)},active:function(){m.controlNav.removeClass(j+"active").eq(m.animatingTo).addClass(j+"active")},update:function(r,s){if(m.pagingCount>1&&r==="add"){m.controlNavScaffold.append(a('<li><a href="#">'+m.count+"</a></li>"))}else{if(m.pagingCount===1){m.controlNavScaffold.find("li").remove()}else{m.controlNav.eq(s).closest("li").remove()}}h.controlNav.set();(m.pagingCount>1&&m.pagingCount!==m.controlNav.length)?m.update(s,r):h.controlNav.active()}},directionNav:{setup:function(){var r=a('<ul class="'+j+'direction-nav"><li class="'+j+'nav-prev"><a class="'+j+'prev" href="#">'+m.vars.prevText+'</a></li><li class="'+j+'nav-next"><a class="'+j+'next" href="#">'+m.vars.nextText+"</a></li></ul>");if(m.customDirectionNav){m.directionNav=m.customDirectionNav}else{if(m.controlsContainer){a(m.controlsContainer).append(r);m.directionNav=a("."+j+"direction-nav li a",m.controlsContainer)}else{m.append(r);m.directionNav=a("."+j+"direction-nav li a",m)}}h.directionNav.update();m.directionNav.bind(f,function(s){s.preventDefault();var t;if(p===""||p===s.type){t=(a(this).hasClass(j+"next"))?m.getTarget("next"):m.getTarget("prev");m.flexAnimate(t,m.vars.pauseOnAction)}if(p===""){p=s.type}h.setToClearWatchedEvent()})},update:function(){var r=j+"disabled";if(m.pagingCount===1){m.directionNav.addClass(r).attr("tabindex","-1")}else{if(!m.vars.animationLoop){if(m.animatingTo===0){m.directionNav.removeClass(r).filter("."+j+"prev").addClass(r).attr("tabindex","-1")}else{if(m.animatingTo===m.last){m.directionNav.removeClass(r).filter("."+j+"next").addClass(r).attr("tabindex","-1")}else{m.directionNav.removeClass(r).removeAttr("tabindex")}}}else{m.directionNav.removeClass(r).removeAttr("tabindex")}}}},pausePlay:{setup:function(){var r=a('<div class="'+j+'pauseplay"><a href="#"></a></div>');if(m.controlsContainer){m.controlsContainer.append(r);m.pausePlay=a("."+j+"pauseplay a",m.controlsContainer)}else{m.append(r);m.pausePlay=a("."+j+"pauseplay a",m)}h.pausePlay.update((m.vars.slideshow)?j+"pause":j+"play");m.pausePlay.bind(f,function(s){s.preventDefault();if(p===""||p===s.type){if(a(this).hasClass(j+"pause")){m.manualPause=true;m.manualPlay=false;m.pause()}else{m.manualPause=false;m.manualPlay=true;m.play()}}if(p===""){p=s.type}h.setToClearWatchedEvent()})},update:function(r){(r==="play")?m.pausePlay.removeClass(j+"pause").addClass(j+"play").html(m.vars.playText):m.pausePlay.removeClass(j+"play").addClass(j+"pause").html(m.vars.pauseText)}},touch:function(){var G,H,x,s,t,F,D,C,B,E=false,v=0,w=0,r=0;if(!i){D=function(I){if(m.animating){I.preventDefault()}else{if((window.navigator.msPointerEnabled)||I.touches.length===1){m.pause();s=(o)?m.h:m.w;F=Number(new Date());v=I.touches[0].pageX;w=I.touches[0].pageY;x=(d&&l&&m.animatingTo===m.last)?0:(d&&l)?m.limit-(((m.itemW+m.vars.itemMargin)*m.move)*m.animatingTo):(d&&m.currentSlide===m.last)?m.limit:(d)?((m.itemW+m.vars.itemMargin)*m.move)*m.currentSlide:(l)?(m.last-m.currentSlide+m.cloneOffset)*s:(m.currentSlide+m.cloneOffset)*s;G=(o)?w:v;H=(o)?v:w;e.addEventListener("touchmove",C,false);e.addEventListener("touchend",B,false)}}};C=function(I){v=I.touches[0].pageX;w=I.touches[0].pageY;t=(o)?G-w:(m.vars.rtl?-1:1)*(G-v);E=(o)?(Math.abs(t)<Math.abs(v-H)):(Math.abs(t)<Math.abs(w-H));var J=500;if(!E||Number(new Date())-F>J){I.preventDefault();if(!g&&m.transitions){if(!m.vars.animationLoop){t=t/((m.currentSlide===0&&t<0||m.currentSlide===m.last&&t>0)?(Math.abs(t)/s+2):1)}m.setProps(x+t,"setTouch")}}};B=function(I){e.removeEventListener("touchmove",C,false);if(m.animatingTo===m.currentSlide&&!E&&!(t===null)){var K=(l)?-t:t,J=(K>0)?m.getTarget("next"):m.getTarget("prev");if(m.canAdvance(J)&&(Number(new Date())-F<550&&Math.abs(K)>50||Math.abs(K)>s/2)){m.flexAnimate(J,m.vars.pauseOnAction)}else{if(!g){m.flexAnimate(m.currentSlide,m.vars.pauseOnAction,true)}}}e.removeEventListener("touchend",B,false);G=null;H=null;t=null;x=null};e.addEventListener("touchstart",D,false)}else{e.style.msTouchAction="none";e._gesture=new MSGesture();e._gesture.target=e;var u;if(window.navigator.pointerEnabled){u="pointerDown"}else{if(window.navigator.msPointerEnabled){u="MSPointerDown"}}e.addEventListener(u,A,false);e._slider=m;e.addEventListener("MSGestureChange",y,false);e.addEventListener("MSGestureEnd",z,false);function A(I){I.stopPropagation();if(m.animating){I.preventDefault()}else{m.pause();e._gesture.addPointer(I.pointerId);r=0;s=(o)?m.h:m.w;F=Number(new Date());x=(d&&l&&m.animatingTo===m.last)?0:(d&&l)?m.limit-(((m.itemW+m.vars.itemMargin)*m.move)*m.animatingTo):(d&&m.currentSlide===m.last)?m.limit:(d)?((m.itemW+m.vars.itemMargin)*m.move)*m.currentSlide:(l)?(m.last-m.currentSlide+m.cloneOffset)*s:(m.currentSlide+m.cloneOffset)*s}}function y(I){I.stopPropagation();var J=I.target._slider;if(!J){return}var K=-I.translationX,L=-I.translationY;r=r+((o)?L:K);t=(J.vars.rtl?-1:1)*r;E=(o)?(Math.abs(r)<Math.abs(-K)):(Math.abs(r)<Math.abs(-L));if(I.detail===I.MSGESTURE_FLAG_INERTIA){setImmediate(function(){e._gesture.stop()});return}if(!E||Number(new Date())-F>500){I.preventDefault();if(!g&&J.transitions){if(!J.vars.animationLoop){t=r/((J.currentSlide===0&&r<0||J.currentSlide===J.last&&r>0)?(Math.abs(r)/s+2):1)}J.setProps(x+t,"setTouch")}}}function z(I){I.stopPropagation();var J=I.target._slider;if(!J){return}if(J.animatingTo===J.currentSlide&&!E&&!(t===null)){var L=(l)?-t:t,K=(L>0)?J.getTarget("next"):J.getTarget("prev");if(J.canAdvance(K)&&(Number(new Date())-F<550&&Math.abs(L)>50||Math.abs(L)>s/2)){J.flexAnimate(K,J.vars.pauseOnAction)}else{if(!g){J.flexAnimate(J.currentSlide,J.vars.pauseOnAction,true)}}}G=null;H=null;t=null;x=null;r=0}}},resize:function(){if(!m.animating&&m.is(":visible")){if(!d){m.doMath()}if(g){h.smoothHeight()}else{if(d){m.slides.width(m.computedW);m.update(m.pagingCount);m.setProps()}else{if(o){m.viewport.height(m.h);m.setProps(m.h,"setTotal")}else{if(m.vars.smoothHeight){h.smoothHeight()}m.newSlides.width(m.computedW);m.setProps(m.computedW,"setTotal")}}}}},smoothHeight:function(s){if(!o||g){var r=(g)?m:m.viewport;(s)?r.animate({height:m.slides.eq(m.animatingTo).innerHeight()},s):r.innerHeight(m.slides.eq(m.animatingTo).innerHeight())}},sync:function(s){var r=a(m.vars.sync).data("flexslider"),t=m.animatingTo;switch(s){case"animate":r.flexAnimate(t,m.vars.pauseOnAction,false,true);break;case"play":if(!r.playing&&!r.asNav){r.play()}break;case"pause":r.pause();break}},uniqueID:function(r){r.filter("[id]").add(r.find("[id]")).each(function(){var s=a(this);s.attr("id",s.attr("id")+"_clone")});return r},pauseInvisible:{visProp:null,init:function(){var s=h.pauseInvisible.getHiddenProp();if(s){var r=s.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(r,function(){if(h.pauseInvisible.isHidden()){if(m.startTimeout){clearTimeout(m.startTimeout)}else{m.pause()}}else{if(m.started){m.play()}else{if(m.vars.initDelay>0){setTimeout(m.play,m.vars.initDelay)}else{m.play()}}}})}},isHidden:function(){var r=h.pauseInvisible.getHiddenProp();if(!r){return false}return document[r]},getHiddenProp:function(){var s=["webkit","moz","ms","o"];if("hidden" in document){return"hidden"}for(var r=0;r<s.length;r++){if((s[r]+"Hidden") in document){return s[r]+"Hidden"}}return null}},setToClearWatchedEvent:function(){clearTimeout(q);q=setTimeout(function(){p=""},3000)}};m.flexAnimate=function(z,x,w,A,t){if(!m.vars.animationLoop&&z!==m.currentSlide){m.direction=(z>m.currentSlide)?"next":"prev"}if(c&&m.pagingCount===1){m.direction=(m.currentItem<z)?"next":"prev"}if(!m.animating&&(m.canAdvance(z,t)||w)&&m.is(":visible")){if(c&&A){var v=a(m.vars.asNavFor).data("flexslider");m.atEnd=z===0||z===m.count-1;v.flexAnimate(z,true,false,true,t);m.direction=(m.currentItem<z)?"next":"prev";v.direction=m.direction;if(Math.ceil((z+1)/m.visible)-1!==m.currentSlide&&z!==0){m.currentItem=z;m.slides.removeClass(j+"active-slide").eq(z).addClass(j+"active-slide");z=Math.floor(z/m.visible)}else{m.currentItem=z;m.slides.removeClass(j+"active-slide").eq(z).addClass(j+"active-slide");return false}}m.animating=true;m.animatingTo=z;if(x){m.pause()}m.vars.before(m);if(m.syncExists&&!t){h.sync("animate")}if(m.vars.controlNav){h.controlNav.active()}if(!d){m.slides.removeClass(j+"active-slide").eq(z).addClass(j+"active-slide")}m.atEnd=z===0||z===m.last;if(m.vars.directionNav){h.directionNav.update()}if(z===m.last){m.vars.end(m);if(!m.vars.animationLoop){m.pause()}}if(!g){var s=(o)?m.slides.filter(":first").height():m.computedW,u,y,r;if(d){u=m.vars.itemMargin;r=((m.itemW+u)*m.move)*m.animatingTo;y=(r>m.limit&&m.visible!==1)?m.limit:r}else{if(m.currentSlide===0&&z===m.count-1&&m.vars.animationLoop&&m.direction!=="next"){y=(l)?(m.count+m.cloneOffset)*s:0}else{if(m.currentSlide===m.last&&z===0&&m.vars.animationLoop&&m.direction!=="prev"){y=(l)?0:(m.count+1)*s}else{y=(l)?((m.count-1)-z+m.cloneOffset)*s:(z+m.cloneOffset)*s}}}m.setProps(y,"",m.vars.animationSpeed);if(m.transitions){if(!m.vars.animationLoop||!m.atEnd){m.animating=false;m.currentSlide=m.animatingTo}m.container.unbind("webkitTransitionEnd transitionend");m.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(m.ensureAnimationEnd);m.wrapup(s)});clearTimeout(m.ensureAnimationEnd);m.ensureAnimationEnd=setTimeout(function(){m.wrapup(s)},m.vars.animationSpeed+100)}else{m.container.animate(m.args,m.vars.animationSpeed,m.vars.easing,function(){m.wrapup(s)})}}else{if(!n){m.slides.eq(m.currentSlide).css({zIndex:1}).animate({opacity:0},m.vars.animationSpeed,m.vars.easing);m.slides.eq(z).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing,m.wrapup)}else{m.slides.eq(m.currentSlide).css({opacity:0,zIndex:1});m.slides.eq(z).css({opacity:1,zIndex:2});m.wrapup(s)}}if(m.vars.smoothHeight){h.smoothHeight(m.vars.animationSpeed)}}};m.wrapup=function(r){if(!g&&!d){if(m.currentSlide===0&&m.animatingTo===m.last&&m.vars.animationLoop){m.setProps(r,"jumpEnd")}else{if(m.currentSlide===m.last&&m.animatingTo===0&&m.vars.animationLoop){m.setProps(r,"jumpStart")}}}m.animating=false;m.currentSlide=m.animatingTo;m.vars.after(m)};m.animateSlides=function(){if(!m.animating&&b){m.flexAnimate(m.getTarget("next"))}};m.pause=function(){clearInterval(m.animatedSlides);m.animatedSlides=null;m.playing=false;if(m.vars.pausePlay){h.pausePlay.update("play")}if(m.syncExists){h.sync("pause")}};m.play=function(){if(m.playing){clearInterval(m.animatedSlides)}m.animatedSlides=m.animatedSlides||setInterval(m.animateSlides,m.vars.slideshowSpeed);m.started=m.playing=true;if(m.vars.pausePlay){h.pausePlay.update("pause")}if(m.syncExists){h.sync("play")}};m.stop=function(){m.pause();m.stopped=true};m.canAdvance=function(t,r){var s=(c)?m.pagingCount-1:m.last;return(r)?true:(c&&m.currentItem===m.count-1&&t===0&&m.direction==="prev")?true:(c&&m.currentItem===0&&t===m.pagingCount-1&&m.direction!=="next")?false:(t===m.currentSlide&&!c)?false:(m.vars.animationLoop)?true:(m.atEnd&&m.currentSlide===0&&t===s&&m.direction!=="next")?false:(m.atEnd&&m.currentSlide===s&&t===0&&m.direction==="next")?false:true};m.getTarget=function(r){m.direction=r;if(r==="next"){return(m.currentSlide===m.last)?0:m.currentSlide+1}else{return(m.currentSlide===0)?m.last:m.currentSlide-1}};m.setProps=function(s,t,r){var u=(function(){var w=(s)?s:((m.itemW+m.vars.itemMargin)*m.move)*m.animatingTo,v=(function(){if(d){return(t==="setTouch")?s:(l&&m.animatingTo===m.last)?0:(l)?m.limit-(((m.itemW+m.vars.itemMargin)*m.move)*m.animatingTo):(m.animatingTo===m.last)?m.limit:w}else{switch(t){case"setTotal":return(l)?((m.count-1)-m.currentSlide+m.cloneOffset)*s:(m.currentSlide+m.cloneOffset)*s;case"setTouch":return(l)?s:s;case"jumpEnd":return(l)?s:m.count*s;case"jumpStart":return(l)?m.count*s:s;default:return s}}}());return(v*((m.vars.rtl)?1:-1))+"px"}());if(m.transitions){if(m.isFirefox){u=(o)?"translate3d(0,"+u+",0)":"translate3d("+(parseInt(u)+"px")+",0,0)"}else{u=(o)?"translate3d(0,"+u+",0)":"translate3d("+((m.vars.rtl?-1:1)*parseInt(u)+"px")+",0,0)"}r=(r!==undefined)?(r/1000)+"s":"0s";m.container.css("-"+m.pfx+"-transition-duration",r);m.container.css("transition-duration",r)}m.args[m.prop]=u;if(m.transitions||r===undefined){m.container.css(m.args)}m.container.css("transform",u)};m.setup=function(t){if(!g){var s,r;if(t==="init"){m.viewport=a('<div class="'+j+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(m).append(m.container);m.cloneCount=0;m.cloneOffset=0;if(l){r=a.makeArray(m.slides).reverse();m.slides=a(r);m.container.empty().append(m.slides)}}if(m.vars.animationLoop&&!d){m.cloneCount=2;m.cloneOffset=1;if(t!=="init"){m.container.find(".clone").remove()}m.container.append(h.uniqueID(m.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(h.uniqueID(m.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))}m.newSlides=a(m.vars.selector,m);s=(l)?m.count-1-m.currentSlide+m.cloneOffset:m.currentSlide+m.cloneOffset;if(o&&!d){m.container.height((m.count+m.cloneCount)*200+"%").css("position","absolute").width("100%");setTimeout(function(){m.newSlides.css({display:"block"});m.doMath();m.viewport.height(m.h);m.setProps(s*m.h,"init")},(t==="init")?100:0)}else{m.container.width((m.count+m.cloneCount)*200+"%");m.setProps(s*m.computedW,"init");setTimeout(function(){m.doMath();if(m.vars.rtl){if(m.isFirefox){m.newSlides.css({width:m.computedW,marginRight:m.computedM,"float":"right",display:"block"})}else{m.newSlides.css({width:m.computedW,marginRight:m.computedM,"float":"left",display:"block"})}}else{m.newSlides.css({width:m.computedW,marginRight:m.computedM,"float":"left",display:"block"})}if(m.vars.smoothHeight){h.smoothHeight()}},(t==="init")?100:0)}}else{if(m.vars.rtl){m.slides.css({width:"100%","float":"right",marginLeft:"-100%",position:"relative"})}else{m.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"})}if(t==="init"){if(!n){if(m.vars.fadeFirstSlide==false){m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).css({opacity:1})}else{m.slides.css({opacity:0,display:"block",zIndex:1}).eq(m.currentSlide).css({zIndex:2}).animate({opacity:1},m.vars.animationSpeed,m.vars.easing)}}else{m.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+m.vars.animationSpeed/1000+"s ease",zIndex:1}).eq(m.currentSlide).css({opacity:1,zIndex:2})}}if(m.vars.smoothHeight){h.smoothHeight()}}if(!d){m.slides.removeClass(j+"active-slide").eq(m.currentSlide).addClass(j+"active-slide")}m.vars.init(m)};m.doMath=function(){var t=m.slides.first(),u=m.vars.itemMargin,s=m.vars.minItems,r=m.vars.maxItems;m.w=(m.viewport===undefined)?m.width():m.viewport.width();if(m.isFirefox){m.w=m.width()}m.h=t.height();m.boxPadding=t.outerWidth()-t.width();if(d){m.itemT=m.vars.itemWidth+u;m.itemM=u;m.minW=(s)?s*m.itemT:m.w;m.maxW=(r)?(r*m.itemT)-u:m.w;m.itemW=(m.minW>m.w)?(m.w-(u*(s-1)))/s:(m.maxW<m.w)?(m.w-(u*(r-1)))/r:(m.vars.itemWidth>m.w)?m.w:m.vars.itemWidth;m.visible=Math.floor(m.w/(m.itemW));m.move=(m.vars.move>0&&m.vars.move<m.visible)?m.vars.move:m.visible;m.pagingCount=Math.ceil(((m.count-m.visible)/m.move)+1);m.last=m.pagingCount-1;m.limit=(m.pagingCount===1)?0:(m.vars.itemWidth>m.w)?(m.itemW*(m.count-1))+(u*(m.count-1)):((m.itemW+u)*m.count)-m.w-u}else{m.itemW=m.w;m.itemM=u;m.pagingCount=m.count;m.last=m.count-1}m.computedW=m.itemW-m.boxPadding;m.computedM=m.itemM};m.update=function(s,r){m.doMath();if(!d){if(s<m.currentSlide){m.currentSlide+=1}else{if(s<=m.currentSlide&&s!==0){m.currentSlide-=1}}m.animatingTo=m.currentSlide}if(m.vars.controlNav&&!m.manualControls){if((r==="add"&&!d)||m.pagingCount>m.controlNav.length){h.controlNav.update("add")}else{if((r==="remove"&&!d)||m.pagingCount<m.controlNav.length){if(d&&m.currentSlide>m.last){m.currentSlide-=1;m.animatingTo-=1}h.controlNav.update("remove",m.last)}}}if(m.vars.directionNav){h.directionNav.update()}};m.addSlide=function(s,t){var r=a(s);m.count+=1;m.last=m.count-1;if(o&&l){(t!==undefined)?m.slides.eq(m.count-t).after(r):m.container.prepend(r)}else{(t!==undefined)?m.slides.eq(t).before(r):m.container.append(r)}m.update(t,"add");m.slides=a(m.vars.selector+":not(.clone)",m);m.setup();m.vars.added(m)};m.removeSlide=function(r){var s=(isNaN(r))?m.slides.index(a(r)):r;m.count-=1;m.last=m.count-1;if(isNaN(r)){a(r,m.slides).remove()}else{(o&&l)?m.slides.eq(m.last).remove():m.slides.eq(r).remove()}m.doMath();m.update(s,"remove");m.slides=a(m.vars.selector+":not(.clone)",m);m.setup();m.vars.removed(m)};h.init()};a(window).blur(function(c){b=false}).focus(function(c){b=true});a.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:false,animationLoop:true,smoothHeight:false,startAt:0,slideshow:true,slideshowSpeed:7000,animationSpeed:600,initDelay:0,randomize:false,fadeFirstSlide:true,thumbCaptions:false,pauseOnAction:true,pauseOnHover:false,pauseInvisible:true,useCSS:true,touch:true,video:false,controlNav:true,directionNav:true,prevText:"Previous",nextText:"Next",keyboard:true,multipleKeyboard:false,mousewheel:false,pausePlay:false,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:true,isFirefox:false,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:false};a.fn.flexslider=function(d){if(d===undefined){d={}}if(typeof d==="object"){return this.each(function(){var f=a(this),g=(d.selector)?d.selector:".slides > li",e=f.find(g);if((e.length===1&&d.allowOneSlide===false)||e.length===0){e.fadeIn(400);if(d.start){d.start(f)}}else{if(f.data("flexslider")===undefined){new a.flexslider(this,d)}}})}else{var c=a(this).data("flexslider");switch(d){case"play":c.play();break;case"pause":c.pause();break;case"stop":c.stop();break;case"next":c.flexAnimate(c.getTarget("next"),true);break;case"prev":case"previous":c.flexAnimate(c.getTarget("prev"),true);break;default:if(typeof d==="number"){c.flexAnimate(d,true)}}}}})(jQuery);;
(function(a,e,b,d){function c(f,g){this.settings=null;this.options=a.extend({},c.Defaults,g);this.$element=a(f);this._handlers={};this._plugins={};this._supress={};this._current=null;this._speed=null;this._coordinates=[];this._breakpoint=null;this._width=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}};a.each(["onResize","onThrottledResize"],a.proxy(function(j,h){this._handlers[h]=a.proxy(this[h],this)},this));a.each(c.Plugins,a.proxy(function(h,i){this._plugins[h.charAt(0).toLowerCase()+h.slice(1)]=new i(this)},this));a.each(c.Workers,a.proxy(function(h,i){this._pipe.push({filter:i.filter,run:a.proxy(i.run,this)})},this));this.setup();this.initialize()}c.Defaults={items:3,loop:false,center:false,rewind:false,checkVisibility:true,mouseDrag:true,touchDrag:true,pullDrag:true,freeDrag:false,margin:0,stagePadding:0,merge:false,mergeFit:true,autoWidth:false,startPosition:0,rtl:false,smartSpeed:250,fluidSpeed:false,dragEndSpeed:false,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:false,nestedItemSelector:false,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"};c.Width={Default:"default",Inner:"inner",Outer:"outer"};c.Type={Event:"event",State:"state"};c.Plugins={};c.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(f){f.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(f){var i=this.settings.margin||"",h=!this.settings.autoWidth,j=this.settings.rtl,g={width:"auto","margin-left":j?i:"","margin-right":j?"":i};!h&&this.$stage.children().css(g);f.css=g}},{filter:["width","items","settings"],run:function(f){var j=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,h=this._items.length,g=!this.settings.autoWidth,k=[];f.items={merge:false,width:j};while(h--){i=this._mergers[h];i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i;f.items.merge=i>1||f.items.merge;k[h]=!g?this._items[h].width():j*i}this._widths=k}},{filter:["items","settings"],run:function(){var g=[],h=this._items,k=this.settings,m=Math.max(k.items*2,4),l=Math.ceil(h.length/2)*2,j=k.loop&&h.length?k.rewind?m:Math.max(m,l):0,f="",i="";j/=2;while(j>0){g.push(this.normalize(g.length/2,true));f=f+h[g[g.length-1]][0].outerHTML;g.push(this.normalize(h.length-1-(g.length-1)/2,true));i=h[g[g.length-1]][0].outerHTML+i;j-=1}this._clones=g;a(f).addClass("cloned").appendTo(this.$stage);a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){var j=this.settings.rtl?1:-1,k=this._clones.length+this._items.length,h=-1,i=0,g=0,f=[];while(++h<k){i=f[h-1]||0;g=this._widths[this.relative(h)]+this.settings.margin;f.push(i+g*j)}this._coordinates=f}},{filter:["width","items","settings"],run:function(){var h=this.settings.stagePadding,f=this._coordinates,g={width:Math.ceil(Math.abs(f[f.length-1]))+h*2,"padding-left":h||"","padding-right":h||""};this.$stage.css(g)}},{filter:["width","items","settings"],run:function(f){var i=this._coordinates.length,g=!this.settings.autoWidth,h=this.$stage.children();if(g&&f.items.merge){while(i--){f.css.width=this._widths[this.relative(i)];h.eq(i).css(f.css)}}else{if(g){f.css.width=f.items.width;h.css(f.css)}}}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(f){f.current=f.current?this.$stage.children().index(f.current):0;f.current=Math.max(this.minimum(),Math.min(this.maximum(),f.current));this.reset(f.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var p=this.settings.rtl?1:-1,o=this.settings.stagePadding*2,f=this.coordinates(this.current())+o,g=f+this.width()*p,j,m,k=[],h,l;for(h=0,l=this._coordinates.length;h<l;h++){j=this._coordinates[h-1]||0;m=Math.abs(this._coordinates[h])+o*p;if((this.op(j,"<=",f)&&(this.op(j,">",g)))||(this.op(m,"<",f)&&this.op(m,">",g))){k.push(h)}}this.$stage.children(".active").removeClass("active");this.$stage.children(":eq("+k.join("), :eq(")+")").addClass("active");this.$stage.children(".center").removeClass("center");if(this.settings.center){this.$stage.children().eq(this.current()).addClass("center")}}}];c.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass);if(this.$stage.length){return}this.$element.addClass(this.options.loadingClass);this.$stage=a("<"+this.settings.stageElement+">",{"class":this.settings.stageClass}).wrap(a("<div/>",{"class":this.settings.stageOuterClass}));this.$element.append(this.$stage.parent())};c.prototype.initializeItems=function(){var f=this.$element.find(".owl-item");if(f.length){this._items=f.get().map(function(g){return a(g)});this._mergers=this._items.map(function(){return 1});this.refresh();return}this.replace(this.$element.children().not(this.$stage.parent()));if(this.isVisible()){this.refresh()}else{this.invalidate("width")}this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)};c.prototype.initialize=function(){this.enter("initializing");this.trigger("initialize");this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl);if(this.settings.autoWidth&&!this.is("pre-loading")){var f,g,h;f=this.$element.find("img");g=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d;h=this.$element.children(g).width();if(f.length&&h<=0){this.preloadAutoWidthImages(f)}}this.initializeStage();this.initializeItems();this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};c.prototype.isVisible=function(){return this.settings.checkVisibility?this.$element.is(":visible"):true};c.prototype.setup=function(){var i=this.viewport(),g=this.options.responsive,f=-1,h=null;if(!g){h=a.extend({},this.options)}else{a.each(g,function(j){if(j<=i&&j>f){f=Number(j)}});h=a.extend({},this.options,g[f]);if(typeof h.stagePadding==="function"){h.stagePadding=h.stagePadding()}delete h.responsive;if(h.responsiveClass){this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+f))}}this.trigger("change",{property:{name:"settings",value:h}});this._breakpoint=f;this.settings=h;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})};c.prototype.optionsLogic=function(){if(this.settings.autoWidth){this.settings.stagePadding=false;this.settings.merge=false}};c.prototype.prepare=function(g){var f=this.trigger("prepare",{content:g});if(!f.data){f.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(g)}this.trigger("prepared",{content:f.data});return f.data};c.prototype.update=function(){var h=0,j=this._pipe.length,g=a.proxy(function(i){return this[i]},this._invalidated),f={};while(h<j){if(this._invalidated.all||a.grep(this._pipe[h].filter,g).length>0){this._pipe[h].run(f)}h++}this._invalidated={};!this.is("valid")&&this.enter("valid")};c.prototype.width=function(f){f=f||c.Width.Default;switch(f){case c.Width.Inner:case c.Width.Outer:return this._width;default:return this._width-this.settings.stagePadding*2+this.settings.margin}};c.prototype.refresh=function(){this.enter("refreshing");this.trigger("refresh");this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave("refreshing");this.trigger("refreshed")};c.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer);this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};c.prototype.onResize=function(){if(!this._items.length){return false}if(this._width===this.$element.width()){return false}if(!this.isVisible()){return false}this.enter("resizing");if(this.trigger("resize").isDefaultPrevented()){this.leave("resizing");return false}this.invalidate("width");this.refresh();this.leave("resizing");this.trigger("resized")};c.prototype.registerEventHandlers=function(){if(a.support.transition){this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this))}if(this.settings.responsive!==false){this.on(e,"resize",this._handlers.onThrottledResize)}if(this.settings.mouseDrag){this.$element.addClass(this.options.dragClass);this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this));this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return false})}if(this.settings.touchDrag){this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this));this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this))}};c.prototype.onDragStart=function(f){var g=null;if(f.which===3){return}if(a.support.transform){g=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(",");g={x:g[g.length===16?12:4],y:g[g.length===16?13:5]}}else{g=this.$stage.position();g={x:this.settings.rtl?g.left+this.$stage.width()-this.width()+this.settings.margin:g.left,y:g.top}}if(this.is("animating")){a.support.transform?this.animate(g.x):this.$stage.stop();this.invalidate("position")}this.$element.toggleClass(this.options.grabClass,f.type==="mousedown");this.speed(0);this._drag.time=new Date().getTime();this._drag.target=a(f.target);this._drag.stage.start=g;this._drag.stage.current=g;this._drag.pointer=this.pointer(f);a(b).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this));a(b).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(i){var h=this.difference(this._drag.pointer,this.pointer(i));a(b).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this));if(Math.abs(h.x)<Math.abs(h.y)&&this.is("valid")){return}i.preventDefault();this.enter("dragging");this.trigger("drag")},this))};c.prototype.onDragMove=function(g){var i=null,h=null,j=null,f=this.difference(this._drag.pointer,this.pointer(g)),k=this.difference(this._drag.stage.start,f);if(!this.is("dragging")){return}g.preventDefault();if(this.settings.loop){i=this.coordinates(this.minimum());h=this.coordinates(this.maximum()+1)-i;k.x=(((k.x-i)%h+h)%h)+i}else{i=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum());h=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum());j=this.settings.pullDrag?-1*f.x/5:0;k.x=Math.max(Math.min(k.x,i+j),h+j)}this._drag.stage.current=k;this.animate(k.x)};c.prototype.onDragEnd=function(h){var f=this.difference(this._drag.pointer,this.pointer(h)),i=this._drag.stage.current,g=f.x>0^this.settings.rtl?"left":"right";a(b).off(".owl.core");this.$element.removeClass(this.options.grabClass);if(f.x!==0&&this.is("dragging")||!this.is("valid")){this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed);this.current(this.closest(i.x,f.x!==0?g:this._drag.direction));this.invalidate("position");this.update();this._drag.direction=g;if(Math.abs(f.x)>3||new Date().getTime()-this._drag.time>300){this._drag.target.one("click.owl.core",function(){return false})}}if(!this.is("dragging")){return}this.leave("dragging");this.trigger("dragged")};c.prototype.closest=function(f,h){var i=-1,j=30,k=this.width(),g=this.coordinates();if(!this.settings.freeDrag){a.each(g,a.proxy(function(l,m){if(h==="left"&&f>m-j&&f<m+j){i=l}else{if(h==="right"&&f>m-k-j&&f<m-k+j){i=l+1}else{if(this.op(f,"<",m)&&this.op(f,">",g[l+1]!==d?g[l+1]:m-k)){i=h==="left"?l+1:l}}}return i===-1},this))}if(!this.settings.loop){if(this.op(f,">",g[this.minimum()])){i=f=this.minimum()}else{if(this.op(f,"<",g[this.maximum()])){i=f=this.maximum()}}}return i};c.prototype.animate=function(g){var f=this.speed()>0;this.is("animating")&&this.onTransitionEnd();if(f){this.enter("animating");this.trigger("translate")}if(a.support.transform3d&&a.support.transition){this.$stage.css({transform:"translate3d("+g+"px,0px,0px)",transition:(this.speed()/1000)+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")})}else{if(f){this.$stage.animate({left:g+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this))}else{this.$stage.css({left:g+"px"})}}};c.prototype.is=function(f){return this._states.current[f]&&this._states.current[f]>0};c.prototype.current=function(g){if(g===d){return this._current}if(this._items.length===0){return d}g=this.normalize(g);if(this._current!==g){var f=this.trigger("change",{property:{name:"position",value:g}});if(f.data!==d){g=this.normalize(f.data)}this._current=g;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};c.prototype.invalidate=function(f){if(a.type(f)==="string"){this._invalidated[f]=true;this.is("valid")&&this.leave("valid")}return a.map(this._invalidated,function(h,g){return g})};c.prototype.reset=function(f){f=this.normalize(f);if(f===d){return}this._speed=0;this._current=f;this.suppress(["translate","translated"]);this.animate(this.coordinates(f));this.release(["translate","translated"])};c.prototype.normalize=function(h,i){var g=this._items.length,f=i?0:this._clones.length;if(!this.isNumeric(h)||g<1){h=d}else{if(h<0||h>=g+f){h=((h-f/2)%g+g)%g+f/2}}return h};c.prototype.relative=function(f){f-=this._clones.length/2;return this.normalize(f,true)};c.prototype.maximum=function(j){var k=this.settings,h=this._coordinates.length,g,i,f;if(k.loop){h=this._clones.length/2+this._items.length-1}else{if(k.autoWidth||k.merge){g=this._items.length;if(g){i=this._items[--g].width();f=this.$element.width();while(g--){i+=this._items[g].width()+this.settings.margin;if(i>f){break}}}h=g+1}else{if(k.center){h=this._items.length-1}else{h=this._items.length-k.items}}}if(j){h-=this._clones.length/2}return Math.max(h,0)};c.prototype.minimum=function(f){return f?0:this._clones.length/2};c.prototype.items=function(f){if(f===d){return this._items.slice()}f=this.normalize(f,true);return this._items[f]};c.prototype.mergers=function(f){if(f===d){return this._mergers.slice()}f=this.normalize(f,true);return this._mergers[f]};c.prototype.clones=function(i){var h=this._clones.length/2,f=h+this._items.length,g=function(j){return j%2===0?f+j/2:h-(j+1)/2};if(i===d){return a.map(this._clones,function(k,j){return g(j)})}return a.map(this._clones,function(k,j){return k===i?g(j):null})};c.prototype.speed=function(f){if(f!==d){this._speed=f}return this._speed};c.prototype.coordinates=function(i){var g=1,h=i-1,f;if(i===d){return a.map(this._coordinates,a.proxy(function(j,k){return this.coordinates(k)},this))}if(this.settings.center){if(this.settings.rtl){g=-1;h=i+1}f=this._coordinates[i];f+=(this.width()-f+(this._coordinates[h]||0))/2*g}else{f=this._coordinates[h]||0}f=Math.ceil(f);return f};c.prototype.duration=function(g,h,f){if(f===0){return 0}return Math.min(Math.max(Math.abs(h-g),1),6)*Math.abs((f||this.settings.smartSpeed))};c.prototype.to=function(l,n){var f=this.current(),m=null,h=l-this.relative(f),g=(h>0)-(h<0),i=this._items.length,k=this.minimum(),j=this.maximum();if(this.settings.loop){if(!this.settings.rewind&&Math.abs(h)>i/2){h+=g*-1*i}l=f+h;m=((l-k)%i+i)%i+k;if(m!==l&&m-h<=j&&m-h>0){f=m-h;l=m;this.reset(f)}}else{if(this.settings.rewind){j+=1;l=(l%j+j)%j}else{l=Math.max(k,Math.min(j,l))}}this.speed(this.duration(f,l,n));this.current(l);if(this.isVisible()){this.update()}};c.prototype.next=function(f){f=f||false;this.to(this.relative(this.current())+1,f)};c.prototype.prev=function(f){f=f||false;this.to(this.relative(this.current())-1,f)};c.prototype.onTransitionEnd=function(f){if(f!==d){f.stopPropagation();if((f.target||f.srcElement||f.originalTarget)!==this.$stage.get(0)){return false}}this.leave("animating");this.trigger("translated")};c.prototype.viewport=function(){var f;if(this.options.responsiveBaseElement!==e){f=a(this.options.responsiveBaseElement).width()}else{if(e.innerWidth){f=e.innerWidth}else{if(b.documentElement&&b.documentElement.clientWidth){f=b.documentElement.clientWidth}else{console.warn("Can not detect viewport width.")}}}return f};c.prototype.replace=function(f){this.$stage.empty();this._items=[];if(f){f=(f instanceof jQuery)?f:a(f)}if(this.settings.nestedItemSelector){f=f.find("."+this.settings.nestedItemSelector)}f.filter(function(){return this.nodeType===1}).each(a.proxy(function(g,h){h=this.prepare(h);this.$stage.append(h);this._items.push(h);this._mergers.push(h.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)},this));this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};c.prototype.add=function(f,h){var g=this.relative(this._current);h=h===d?this._items.length:this.normalize(h,true);f=f instanceof jQuery?f:a(f);this.trigger("add",{content:f,position:h});f=this.prepare(f);if(this._items.length===0||h===this._items.length){this._items.length===0&&this.$stage.append(f);this._items.length!==0&&this._items[h-1].after(f);this._items.push(f);this._mergers.push(f.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)}else{this._items[h].before(f);this._items.splice(h,0,f);this._mergers.splice(h,0,f.find("[data-merge]").addBack("[data-merge]").attr("data-merge")*1||1)}this._items[g]&&this.reset(this._items[g].index());this.invalidate("items");this.trigger("added",{content:f,position:h})};c.prototype.remove=function(f){f=this.normalize(f,true);if(f===d){return}this.trigger("remove",{content:this._items[f],position:f});this._items[f].remove();this._items.splice(f,1);this._mergers.splice(f,1);this.invalidate("items");this.trigger("removed",{content:null,position:f})};c.prototype.preloadAutoWidthImages=function(f){f.each(a.proxy(function(h,g){this.enter("pre-loading");g=a(g);a(new Image()).one("load",a.proxy(function(i){g.attr("src",i.target.src);g.css("opacity",1);this.leave("pre-loading");!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",g.attr("src")||g.attr("data-src")||g.attr("data-src-retina"))},this))};c.prototype.destroy=function(){this.$element.off(".owl.core");this.$stage.off(".owl.core");a(b).off(".owl.core");if(this.settings.responsive!==false){e.clearTimeout(this.resizeTimer);this.off(e,"resize",this._handlers.onThrottledResize)}for(var f in this._plugins){this._plugins[f].destroy()}this.$stage.children(".cloned").remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$stage.remove();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")};c.prototype.op=function(f,h,g){var i=this.settings.rtl;switch(h){case"<":return i?f>g:f<g;case">":return i?f<g:f>g;case">=":return i?f<=g:f>=g;case"<=":return i?f>=g:f<=g;default:break}};c.prototype.on=function(g,h,i,f){if(g.addEventListener){g.addEventListener(h,i,f)}else{if(g.attachEvent){g.attachEvent("on"+h,i)}}};c.prototype.off=function(g,h,i,f){if(g.removeEventListener){g.removeEventListener(h,i,f)}else{if(g.detachEvent){g.detachEvent("on"+h,i)}}};c.prototype.trigger=function(j,f,k,l,g){var m={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",j,k],function(n){return n}).join("-").toLowerCase()),h=a.Event([j,"owl",k||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},m,f));if(!this._supress[j]){a.each(this._plugins,function(n,o){if(o.onTrigger){o.onTrigger(h)}});this.register({type:c.Type.Event,name:j});this.$element.trigger(h);if(this.settings&&typeof this.settings[i]==="function"){this.settings[i].call(this,h)}}return h};c.prototype.enter=function(f){a.each([f].concat(this._states.tags[f]||[]),a.proxy(function(g,h){if(this._states.current[h]===d){this._states.current[h]=0}this._states.current[h]++},this))};c.prototype.leave=function(f){a.each([f].concat(this._states.tags[f]||[]),a.proxy(function(g,h){this._states.current[h]--},this))};c.prototype.register=function(g){if(g.type===c.Type.Event){if(!a.event.special[g.name]){a.event.special[g.name]={}}if(!a.event.special[g.name].owl){var f=a.event.special[g.name]._default;a.event.special[g.name]._default=function(h){if(f&&f.apply&&(!h.namespace||h.namespace.indexOf("owl")===-1)){return f.apply(this,arguments)}return h.namespace&&h.namespace.indexOf("owl")>-1};a.event.special[g.name].owl=true}}else{if(g.type===c.Type.State){if(!this._states.tags[g.name]){this._states.tags[g.name]=g.tags}else{this._states.tags[g.name]=this._states.tags[g.name].concat(g.tags)}this._states.tags[g.name]=a.grep(this._states.tags[g.name],a.proxy(function(j,h){return a.inArray(j,this._states.tags[g.name])===h},this))}}};c.prototype.suppress=function(f){a.each(f,a.proxy(function(h,g){this._supress[g]=true},this))};c.prototype.release=function(f){a.each(f,a.proxy(function(h,g){delete this._supress[g]},this))};c.prototype.pointer=function(f){var g={x:null,y:null};f=f.originalEvent||f||e.event;f=f.touches&&f.touches.length?f.touches[0]:f.changedTouches&&f.changedTouches.length?f.changedTouches[0]:f;if(f.pageX){g.x=f.pageX;g.y=f.pageY}else{g.x=f.clientX;g.y=f.clientY}return g};c.prototype.isNumeric=function(f){return !isNaN(parseFloat(f))};c.prototype.difference=function(f,g){return{x:f.x-g.x,y:f.y-g.y}};a.fn.owlCarousel=function(g){var f=Array.prototype.slice.call(arguments,1);return this.each(function(){var h=a(this),i=h.data("owl.carousel");if(!i){i=new c(this,typeof g=="object"&&g);h.data("owl.carousel",i);a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(k,j){i.register({type:c.Type.Event,name:j});i.$element.on(j+".owl.carousel.core",a.proxy(function(l){if(l.namespace&&l.relatedTarget!==this){this.suppress([j]);i[j].apply(this,[].slice.call(arguments,1));this.release([j])}},i))})}if(typeof g=="string"&&g.charAt(0)!=="_"){i[g].apply(i,f)}})};a.fn.owlCarousel.Constructor=c})(window.Zepto||window.jQuery,window,document);(function(a,e,c,d){var b=function(f){this._core=f;this._interval=null;this._visible=null;this._handlers={"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.autoRefresh){this.watch()}},this)};this._core.options=a.extend({},b.Defaults,this._core.options);this._core.$element.on(this._handlers)};b.Defaults={autoRefresh:true,autoRefreshInterval:500};b.prototype.watch=function(){if(this._interval){return}this._visible=this._core.isVisible();this._interval=e.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval)};b.prototype.refresh=function(){if(this._core.isVisible()===this._visible){return}this._visible=!this._visible;this._core.$element.toggleClass("owl-hidden",!this._visible);this._visible&&(this._core.invalidate("width")&&this._core.refresh())};b.prototype.destroy=function(){var f,g;e.clearInterval(this._interval);for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=b})(window.Zepto||window.jQuery,window,document);(function(a,e,b,d){var c=function(f){this._core=f;this._loaded=[];this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(h){if(!h.namespace){return}if(!this._core.settings||!this._core.settings.lazyLoad){return}if((h.property&&h.property.name=="position")||h.type=="initialized"){var o=this._core.settings,l=(o.center&&Math.ceil(o.items/2)||o.items),j=((o.center&&l*-1)||0),m=(h.property&&h.property.value!==d?h.property.value:this._core.current())+j,g=this._core.clones().length,k=a.proxy(function(n,p){this.load(p)},this);if(o.lazyLoadEager>0){l+=o.lazyLoadEager;if(o.loop){m-=o.lazyLoadEager;l++}}while(j++<l){this.load(g/2+this._core.relative(m));g&&a.each(this._core.clones(this._core.relative(m)),k);m++}}},this)};this._core.options=a.extend({},c.Defaults,this._core.options);this._core.$element.on(this._handlers)};c.Defaults={lazyLoad:false,lazyLoadEager:0};c.prototype.load=function(h){var g=this._core.$stage.children().eq(h),f=g&&g.find(".owl-lazy");if(!f||a.inArray(g.get(0),this._loaded)>-1){return}f.each(a.proxy(function(l,j){var i=a(j),k,m=(e.devicePixelRatio>1&&i.attr("data-src-retina"))||i.attr("data-src")||i.attr("data-srcset");this._core.trigger("load",{element:i,url:m},"lazy");if(i.is("img")){i.one("load.owl.lazy",a.proxy(function(){i.css("opacity",1);this._core.trigger("loaded",{element:i,url:m},"lazy")},this)).attr("src",m)}else{if(i.is("source")){i.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:i,url:m},"lazy")},this)).attr("srcset",m)}else{k=new Image();k.onload=a.proxy(function(){i.css({"background-image":'url("'+m+'")',opacity:"1"});this._core.trigger("loaded",{element:i,url:m},"lazy")},this);k.src=m}}},this));this._loaded.push(g.get(0))};c.prototype.destroy=function(){var f,g;for(f in this.handlers){this._core.$element.off(f,this.handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.Lazy=c})(window.Zepto||window.jQuery,window,document);(function(a,e,c,d){var b=function(f){this._core=f;this._previousHeight=null;this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight){this.update()}},this),"changed.owl.carousel":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight&&h.property.name==="position"){this.update()}},this),"loaded.owl.lazy":a.proxy(function(h){if(h.namespace&&this._core.settings.autoHeight&&h.element.closest("."+this._core.settings.itemClass).index()===this._core.current()){this.update()}},this)};this._core.options=a.extend({},b.Defaults,this._core.options);this._core.$element.on(this._handlers);this._intervalId=null;var g=this;a(e).on("load",function(){if(g._core.settings.autoHeight){g.update()}});a(e).resize(function(){if(g._core.settings.autoHeight){if(g._intervalId!=null){clearTimeout(g._intervalId)}g._intervalId=setTimeout(function(){g.update()},250)}})};b.Defaults={autoHeight:false,autoHeightClass:"owl-height"};b.prototype.update=function(){var j=this._core._current,f=j+this._core.settings.items,h=this._core.settings.lazyLoad,k=this._core.$stage.children().toArray().slice(j,f),g=[],i=0;a.each(k,function(l,m){g.push(a(m).height())});i=Math.max.apply(null,g);if(i<=1&&h&&this._previousHeight){i=this._previousHeight}this._previousHeight=i;this._core.$stage.parent().height(i).addClass(this._core.settings.autoHeightClass)};b.prototype.destroy=function(){var f,g;for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!=="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.AutoHeight=b})(window.Zepto||window.jQuery,window,document);(function(a,e,b,c){var d=function(f){this._core=f;this._videos={};this._playing=null;this._handlers={"initialized.owl.carousel":a.proxy(function(g){if(g.namespace){this._core.register({type:"state",name:"playing",tags:["interacting"]})}},this),"resize.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.video&&this.isInFullScreen()){g.preventDefault()}},this),"refreshed.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.is("resizing")){this._core.$stage.find(".cloned .owl-video-frame").remove()}},this),"changed.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name==="position"&&this._playing){this.stop()}},this),"prepared.owl.carousel":a.proxy(function(h){if(!h.namespace){return}var g=a(h.content).find(".owl-video");if(g.length){g.css("display","none");this.fetch(g,a(h.content))}},this)};this._core.options=a.extend({},d.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(g){this.play(g)},this))};d.Defaults={video:false,videoHeight:false,videoWidth:false};d.prototype.fetch=function(i,h){var j=(function(){if(i.attr("data-vimeo-id")){return"vimeo"}else{if(i.attr("data-vzaar-id")){return"vzaar"}else{return"youtube"}}})(),g=i.attr("data-vimeo-id")||i.attr("data-youtube-id")||i.attr("data-vzaar-id"),l=i.attr("data-width")||this._core.settings.videoWidth,f=i.attr("data-height")||this._core.settings.videoHeight,k=i.attr("href");if(k){g=k.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);if(g[3].indexOf("youtu")>-1){j="youtube"}else{if(g[3].indexOf("vimeo")>-1){j="vimeo"}else{if(g[3].indexOf("vzaar")>-1){j="vzaar"}else{throw new Error("Video URL not supported.")}}}g=g[6]}else{throw new Error("Missing video URL.")}this._videos[k]={type:j,id:g,width:l,height:f};h.attr("data-video",k);this.thumbnail(i,this._videos[k])};d.prototype.thumbnail=function(n,p){var o,i,k,h=p.width&&p.height?"width:"+p.width+"px;height:"+p.height+"px;":"",g=n.find("img"),m="src",j="",l=this._core.settings,f=function(q){i='<div class="owl-video-play-icon"></div>';if(l.lazyLoad){o=a("<div/>",{"class":"owl-video-tn "+j,srcType:q})}else{o=a("<div/>",{"class":"owl-video-tn",style:"opacity:1;background-image:url("+q+")"})}n.after(o);n.after(i)};n.wrap(a("<div/>",{"class":"owl-video-wrapper",style:h}));if(this._core.settings.lazyLoad){m="data-src";j="owl-lazy"}if(g.length){f(g.attr(m));g.remove();return false}if(p.type==="youtube"){k="//img.youtube.com/vi/"+p.id+"/hqdefault.jpg";f(k)}else{if(p.type==="vimeo"){a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+p.id+".json",jsonp:"callback",dataType:"jsonp",success:function(q){k=q[0].thumbnail_large;f(k)}})}else{if(p.type==="vzaar"){a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+p.id+".json",jsonp:"callback",dataType:"jsonp",success:function(q){k=q.framegrab_url;f(k)}})}}}};d.prototype.stop=function(){this._core.trigger("stop",null,"video");this._playing.find(".owl-video-frame").remove();this._playing.removeClass("owl-video-playing");this._playing=null;this._core.leave("playing");this._core.trigger("stopped",null,"video")};d.prototype.play=function(f){var k=a(f.target),j=k.closest("."+this._core.settings.itemClass),l=this._videos[j.attr("data-video")],m=l.width||"100%",g=l.height||this._core.$stage.height(),h,i;if(this._playing){return}this._core.enter("playing");this._core.trigger("play",null,"video");j=this._core.items(this._core.relative(j.index()));this._core.reset(j.index());h=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>');h.attr("height",g);h.attr("width",m);if(l.type==="youtube"){h.attr("src","//www.youtube.com/embed/"+l.id+"?autoplay=1&rel=0&v="+l.id)}else{if(l.type==="vimeo"){h.attr("src","//player.vimeo.com/video/"+l.id+"?autoplay=1")}else{if(l.type==="vzaar"){h.attr("src","//view.vzaar.com/"+l.id+"/player?autoplay=true")}}}i=a(h).wrap('<div class="owl-video-frame" />').insertAfter(j.find(".owl-video"));this._playing=j.addClass("owl-video-playing")};d.prototype.isInFullScreen=function(){var f=b.fullscreenElement||b.mozFullScreenElement||b.webkitFullscreenElement;return f&&a(f).parent().hasClass("owl-video-frame")};d.prototype.destroy=function(){var f,g;this._core.$element.off("click.owl.video");for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.Video=d})(window.Zepto||window.jQuery,window,document);(function(a,e,c,d){var b=function(f){this.core=f;this.core.options=a.extend({},b.Defaults,this.core.options);this.swapping=true;this.previous=d;this.next=d;this.handlers={"change.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name=="position"){this.previous=this.core.current();this.next=g.property.value}},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(g){if(g.namespace){this.swapping=g.type=="translated"}},this),"translate.owl.carousel":a.proxy(function(g){if(g.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)){this.swap()}},this)};this.core.$element.on(this.handlers)};b.Defaults={animateOut:false,animateIn:false};b.prototype.swap=function(){if(this.core.settings.items!==1){return}if(!a.support.animation||!a.support.transition){return}this.core.speed(0);var h,f=a.proxy(this.clear,this),k=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),g=this.core.settings.animateIn,j=this.core.settings.animateOut;if(this.core.current()===this.previous){return}if(j){h=this.core.coordinates(this.previous)-this.core.coordinates(this.next);k.one(a.support.animation.end,f).css({left:h+"px"}).addClass("animated owl-animated-out").addClass(j)}if(g){i.one(a.support.animation.end,f).addClass("animated owl-animated-in").addClass(g)}};b.prototype.clear=function(f){a(f.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};b.prototype.destroy=function(){var f,g;for(f in this.handlers){this.core.$element.off(f,this.handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.Animate=b})(window.Zepto||window.jQuery,window,document);(function(a,e,c,d){var b=function(f){this._core=f;this._call=null;this._time=0;this._timeout=0;this._paused=true;this._handlers={"changed.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name==="settings"){if(this._core.settings.autoplay){this.play()}else{this.stop()}}else{if(g.namespace&&g.property.name==="position"&&this._paused){this._time=0}}},this),"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.autoplay){this.play()}},this),"play.owl.autoplay":a.proxy(function(g,i,h){if(g.namespace){this.play(i,h)}},this),"stop.owl.autoplay":a.proxy(function(g){if(g.namespace){this.stop()}},this),"mouseover.owl.autoplay":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.pause()}},this),"mouseleave.owl.autoplay":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.play()}},this),"touchstart.owl.core":a.proxy(function(){if(this._core.settings.autoplayHoverPause&&this._core.is("rotating")){this.pause()}},this),"touchend.owl.core":a.proxy(function(){if(this._core.settings.autoplayHoverPause){this.play()}},this)};this._core.$element.on(this._handlers);this._core.options=a.extend({},b.Defaults,this._core.options)};b.Defaults={autoplay:false,autoplayTimeout:5000,autoplayHoverPause:false,autoplaySpeed:false};b.prototype._next=function(f){this._call=e.setTimeout(a.proxy(this._next,this,f),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read());if(this._core.is("interacting")||c.hidden){return}this._core.next(f||this._core.settings.autoplaySpeed)};b.prototype.read=function(){return new Date().getTime()-this._time};b.prototype.play=function(h,g){var f;if(!this._core.is("rotating")){this._core.enter("rotating")}h=h||this._core.settings.autoplayTimeout;f=Math.min(this._time%(this._timeout||h),h);if(this._paused){this._time=this.read();this._paused=false}else{e.clearTimeout(this._call)}this._time+=this.read()%h-f;this._timeout=h;this._call=e.setTimeout(a.proxy(this._next,this,g),h-f)};b.prototype.stop=function(){if(this._core.is("rotating")){this._time=0;this._paused=true;e.clearTimeout(this._call);this._core.leave("rotating")}};b.prototype.pause=function(){if(this._core.is("rotating")&&!this._paused){this._time=this.read();this._paused=true;e.clearTimeout(this._call)}};b.prototype.destroy=function(){var f,g;this.stop();for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.autoplay=b})(window.Zepto||window.jQuery,window,document);(function(a,e,b,d){var c=function(f){this._core=f;this._initialized=false;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={"prepared.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(g.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")}},this),"added.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.splice(g.position,0,this._templates.pop())}},this),"remove.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.dotsData){this._templates.splice(g.position,1)}},this),"changed.owl.carousel":a.proxy(function(g){if(g.namespace&&g.property.name=="position"){this.draw()}},this),"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&!this._initialized){this._core.trigger("initialize",null,"navigation");this.initialize();this.update();this.draw();this._initialized=true;this._core.trigger("initialized",null,"navigation")}},this),"refreshed.owl.carousel":a.proxy(function(g){if(g.namespace&&this._initialized){this._core.trigger("refresh",null,"navigation");this.update();this.draw();this._core.trigger("refreshed",null,"navigation")}},this)};this._core.options=a.extend({},c.Defaults,this._core.options);this.$element.on(this._handlers)};c.Defaults={nav:false,navText:['<span aria-label="Previous">&#x2039;</span>','<span aria-label="Next">&#x203a;</span>'],navSpeed:false,navElement:'button type="button" role="presentation"',navContainer:false,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:true,dotsEach:false,dotsData:false,dotsSpeed:false,dotsContainer:false};c.prototype.initialize=function(){var f,g=this._core.settings;this._controls.$relative=(g.navContainer?a(g.navContainer):a("<div>").addClass(g.navContainerClass).appendTo(this.$element)).addClass("disabled");this._controls.$previous=a("<"+g.navElement+">").addClass(g.navClass[0]).html(g.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(h){this.prev(g.navSpeed)},this));this._controls.$next=a("<"+g.navElement+">").addClass(g.navClass[1]).html(g.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(h){this.next(g.navSpeed)},this));if(!g.dotsData){this._templates=[a('<button role="button">').addClass(g.dotClass).append(a("<span>")).prop("outerHTML")]}this._controls.$absolute=(g.dotsContainer?a(g.dotsContainer):a("<div>").addClass(g.dotsClass).appendTo(this.$element)).addClass("disabled");this._controls.$absolute.on("click","button",a.proxy(function(h){var i=a(h.target).parent().is(this._controls.$absolute)?a(h.target).index():a(h.target).parent().index();h.preventDefault();this.to(i,g.dotsSpeed)},this));for(f in this._overrides){this._core[f]=a.proxy(this[f],this)}};c.prototype.destroy=function(){var g,f,i,h,j;j=this._core.settings;for(g in this._handlers){this.$element.off(g,this._handlers[g])}for(f in this._controls){if(f==="$relative"&&j.navContainer){this._controls[f].html("")}else{this._controls[f].remove()}}for(h in this.overides){this._core[h]=this._overrides[h]}for(i in Object.getOwnPropertyNames(this)){typeof this[i]!="function"&&(this[i]=null)}};c.prototype.update=function(){var f,g,h,l=this._core.clones().length/2,p=l+this._core.items().length,m=this._core.maximum(true),n=this._core.settings,o=n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items;if(n.slideBy!=="page"){n.slideBy=Math.min(n.slideBy,n.items)}if(n.dots||n.slideBy=="page"){this._pages=[];for(f=l,g=0,h=0;f<p;f++){if(g>=o||g===0){this._pages.push({start:Math.min(m,f-l),end:f-l+o-1});if(Math.min(m,f-l)===m){break}g=0,++h}g+=this._core.mergers(this._core.relative(f))}}};c.prototype.draw=function(){var f,j=this._core.settings,g=this._core.items().length<=j.items,h=this._core.relative(this._core.current()),i=j.loop||j.rewind;this._controls.$relative.toggleClass("disabled",!j.nav||g);if(j.nav){this._controls.$previous.toggleClass("disabled",!i&&h<=this._core.minimum(true));this._controls.$next.toggleClass("disabled",!i&&h>=this._core.maximum(true))}this._controls.$absolute.toggleClass("disabled",!j.dots||g);if(j.dots){f=this._pages.length-this._controls.$absolute.children().length;if(j.dotsData&&f!==0){this._controls.$absolute.html(this._templates.join(""))}else{if(f>0){this._controls.$absolute.append(new Array(f+1).join(this._templates[0]))}else{if(f<0){this._controls.$absolute.children().slice(f).remove()}}}this._controls.$absolute.find(".active").removeClass("active");this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}};c.prototype.onTrigger=function(f){var g=this._core.settings;f.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:g&&(g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items)}};c.prototype.current=function(){var f=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(h,g){return h.start<=f&&h.end>=f},this)).pop()};c.prototype.getPosition=function(i){var g,f,h=this._core.settings;if(h.slideBy=="page"){g=a.inArray(this.current(),this._pages);f=this._pages.length;i?++g:--g;g=this._pages[((g%f)+f)%f].start}else{g=this._core.relative(this._core.current());f=this._core.items().length;i?g+=h.slideBy:g-=h.slideBy}return g};c.prototype.next=function(f){a.proxy(this._overrides.to,this._core)(this.getPosition(true),f)};c.prototype.prev=function(f){a.proxy(this._overrides.to,this._core)(this.getPosition(false),f)};c.prototype.to=function(g,h,i){var f;if(!i&&this._pages.length){f=this._pages.length;a.proxy(this._overrides.to,this._core)(this._pages[((g%f)+f)%f].start,h)}else{a.proxy(this._overrides.to,this._core)(g,h)}};a.fn.owlCarousel.Constructor.Plugins.Navigation=c})(window.Zepto||window.jQuery,window,document);(function(a,e,b,d){var c=function(f){this._core=f;this._hashes={};this.$element=this._core.$element;this._handlers={"initialized.owl.carousel":a.proxy(function(g){if(g.namespace&&this._core.settings.startPosition==="URLHash"){a(e).trigger("hashchange.owl.navigation")}},this),"prepared.owl.carousel":a.proxy(function(g){if(g.namespace){var h=a(g.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!h){return}this._hashes[h]=g.content}},this),"changed.owl.carousel":a.proxy(function(h){if(h.namespace&&h.property.name==="position"){var g=this._core.items(this._core.relative(this._core.current())),i=a.map(this._hashes,function(k,j){return k===g?j:null}).join();if(!i||e.location.hash.slice(1)===i){return}e.location.hash=i}},this)};this._core.options=a.extend({},c.Defaults,this._core.options);this.$element.on(this._handlers);a(e).on("hashchange.owl.navigation",a.proxy(function(g){var h=e.location.hash.substring(1),i=this._core.$stage.children(),j=this._hashes[h]&&i.index(this._hashes[h]);if(j===d||j===this._core.current()){return}this._core.to(this._core.relative(j),false,true)},this))};c.Defaults={URLhashListener:false};c.prototype.destroy=function(){var f,g;a(e).off("hashchange.owl.navigation");for(f in this._handlers){this._core.$element.off(f,this._handlers[f])}for(g in Object.getOwnPropertyNames(this)){typeof this[g]!="function"&&(this[g]=null)}};a.fn.owlCarousel.Constructor.Plugins.Hash=c})(window.Zepto||window.jQuery,window,document);(function(a,j,b,i){var f=a("<support>").get(0).style,e="Webkit Moz O ms".split(" "),c={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},h={csstransforms:function(){return !!g("transform")},csstransforms3d:function(){return !!g("perspective")},csstransitions:function(){return !!g("transition")},cssanimations:function(){return !!g("animation")}};function g(l,k){var m=false,n=l.charAt(0).toUpperCase()+l.slice(1);a.each((l+" "+e.join(n+" ")+n).split(" "),function(o,p){if(f[p]!==i){m=k?p:true;return false}});return m}function d(k){return g(k,true)}if(h.csstransitions()){a.support.transition=new String(d("transition"));a.support.transition.end=c.transition.end[a.support.transition]}if(h.cssanimations()){a.support.animation=new String(d("animation"));a.support.animation.end=c.animation.end[a.support.animation]}if(h.csstransforms()){a.support.transform=new String(d("transform"));a.support.transform3d=h.csstransforms3d()}})(window.Zepto||window.jQuery,window,document);;
var windowWidth=$(window).width();var windowHeight=$(window).height();var controller=new ScrollMagic.Controller();var partPublic="https://search.cfa.vic.gov.au/mycfa/appsearch_ui_public/?q=";var partMembers="https://applications.cfa.vic.gov.au/mycfa/Show?q=";var partContacts="#contacts";var partEnd="&size=n_20_n";var makeLink="";$(document).ready(function(){$("a").each(function(){if(this.href.toLowerCase().indexOf("articledocuments")!=-1&this.href.toLowerCase().indexOf(".aspx")!=-1){if(this.href.toLowerCase().indexOf("embed=y")==-1){var m=$(this).attr("href");$(this).attr("href",m.replace(".aspx",""))}}});if(document.getElementById("update-accordion")){$("#update-heading > h2").addClass("card-title");$("#update-content > div").addClass("card-body")}$("#site-search").on("keydown",function(m){if(m.keyCode==13){m.preventDefault();siteSearch($(this))}});$("#search-button").on("click",function(m){m.preventDefault();siteSearch($(this))});if($("div.edit-buttons").length>0){$("body").addClass("admin")}if(document.getElementById("main-nav")){$("#main-nav .hmenu > li > a").each(function(){$(this).attr("aria-expanded","false");$(this).attr("aria-haspopup","true");$(this).append('<span class="toggle"><span class="sr-only"> expand using down arrow and collapse using esc key</span></span>')});$("#main-nav .hmenu > li > ul > li").each(function(){if($(this).children("ul").length>0){$(this).children("a").attr("aria-expanded","false");$(this).children("a").attr("aria-haspopup","true");$(this).children("a").append('<span class="toggle"><span class="sr-only"> expand using down arrow and collapse using esc key</span></span>')}});$("#main-nav .hmenu > li > ul > li > ul > li").each(function(){if($(this).children("ul").length>0){$(this).children("a").attr("aria-expanded","false");$(this).children("a").attr("aria-haspopup","true");$(this).children("a").append('<span class="toggle"><span class="sr-only"> expand using down arrow and collapse using esc key</span></span>')}});$("#main-nav .hmenu li").each(function(){if($(this).children("ul").length>0){$(this).children("ul").prepend('<span class="btn-primary back-menu">back</span>')}});$(".back-menu").click(function(){$(this).parent("ul.open").removeClass("open").parent("li.unset").removeClass("unset")});$("#main-nav .hmenu > li > ul a").each(function(){$(this).attr("tabindex","-1")});$("#main-nav .hmenu li.selected").parentsUntil(".hmenu").addClass("selected");$("#main-nav .hmenu li > a .toggle").on("click",function(m){if(windowWidth<1124){m.preventDefault();$(this).toggleClass("open");$(this).parents("li").addClass("unset");$(this).parent().next().toggleClass("open")}});$("#main-nav .hmenu li > a").keydown(function(m){if(m.which==40){m.preventDefault();$(this).children(".toggle").addClass("open");$(this).next().addClass("open");$(this).next().find("a").removeAttr("tabindex")}else{if(m.which==27){m.preventDefault();$(this).children(".toggle").removeClass("open");$(this).next().removeClass("open");$(this).next().find("a").attr("tabindex","-1")}}});$("#main-nav .hmenu li > ul").keydown(function(m){if(m.which==27){m.preventDefault();$(this).parent().children("a").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus().find(".toggle").removeClass("open");$(this).removeClass("open").find("a").attr("tabindex","-1")}})}if(windowWidth>1124){$("#site-nav > ul > li").each(function(){var m=0;var n=$("ul",$(this));n.each(function(){m=m>$(this).height()?m:$(this).height()});n.height(m)})}$("#main-nav .icon-menu").on("click",function(){$("#header-search").removeClass("show").attr("aria-hidden","true").attr("aria-expanded","false");$("#main-nav .icon-search").removeClass("open").attr("aria-pressed","false").attr("aria-expanded","false");if($(this).attr("aria-pressed")=="false"){$(this).attr("aria-pressed","true");$(this).attr("aria-expanded","true");$("#header-search").removeClass("in").addClass("collapse");$("#site-nav .hmenu ul.open").removeClass("open");$("#site-nav .hmenu li.unset").removeClass("unset");$("body").addClass("burger-open").removeClass("search-open");$(this).addClass("open");$("#site-nav").attr("aria-hidden","false");$("#site-nav").attr("aria-expanded","true");$("#site-nav").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}else{$(this).attr("aria-pressed","false");$(this).attr("aria-expanded","false");$(this).removeClass("open");$("body").removeClass("burger-open").removeClass("search-open");$("#site-nav").attr("aria-hidden","true");$("#site-nav").attr("aria-expanded","false");$(this).attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}});$("#main-nav .icon-search").on("click",function(){$("#site-nav").removeClass("show").attr("aria-hidden","true").attr("aria-expanded","false");$("#main-nav .icon-menu").attr("aria-pressed","false").attr("aria-expanded","false");if($(this).attr("aria-pressed")=="false"){$(this).attr("aria-pressed","true");$(this).attr("aria-expanded","true");$(this).addClass("open");$(".icon-menu").removeClass("open");$("body").removeClass("burger-open");$("body").addClass("search-open");$(".navbar-collapse.in").removeClass("in").addClass("collapse");$("#header-search").attr("aria-hidden","false");$("#header-search").attr("aria-expanded","true");$("#header-search").attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}else{$(this).attr("aria-pressed","false");$(this).attr("aria-expanded","false");$(this).removeClass("open");$("body").removeClass("burger-open");$("body").removeClass("search-open");$("#header-search").attr("aria-hidden","true");$("#header-search").attr("aria-expanded","false");$(this).attr("tabindex",-1).on("blur focusout",function(){$(this).removeAttr("tabindex")}).focus()}});$(".back-menu").each(function(){var m=$(this).parent("ul").parent("li").parent("ul").prev("a").children("span:not(.toggle)").text();$(this).append("<span> to <strong>"+m+"</strong></span>")});$("#main-nav .hmenu > li > ul > .back-menu").each(function(){$(this).append("<span><strong>Main Menu</strong></span>")});new ScrollMagic.Scene({triggerElement:"#header",triggerHook:"onLeave"}).setClassToggle("body","top-stick").addTo(controller);new ScrollMagic.Scene({triggerElement:".header-main",offset:20,triggerHook:"onLeave"}).setClassToggle("body","menu-ready").addTo(controller);new ScrollMagic.Scene({triggerElement:"#page-content",offset:-78,triggerHook:"onLeave"}).setClassToggle("body","menu-stick").addTo(controller);if(document.getElementById("home-carousel")){$("#home-carousel").flexslider({animation:"slide"})}if(document.getElementById("news-carousel")){$("#news-carousel").flexslider({animation:"fade",directionNav:false})}if(document.getElementById("updated-carousel")){$("#updated-carousel .flexslider").flexslider({animation:"fade",directionNav:false})}if(document.getElementById("language-slider")){$("#language-slider").flexslider({animation:"slide",slideshowSpeed:4000,animationSpeed:1000,controlNav:false,pausePlay:true});$("#langToggle").on("click",function(){if($(this).hasClass("icon-pause")){$("#language-slider").pause();$(this).removeClass("icon-pause").addClass("icon-play")}else{$("#language-slider").play();$(this).removeClass("icon-play").addClass("icon-pause")}});$("#language-slider").on("keydown",function(m){if(m.which==27){$("#footer-bottom .copyright").find("a").eq(0).trigger("focus")}})}$('a[href^="#"]').not('[data-toggle="collapse"]').not(document.getElementById("scroll-top-link")).not(document.getElementById("main-menu-toggle")).on("click",function(n){n.preventDefault();var p=$(this).attr("href").split("#");var m=30;if(windowWidth>1123){m=230}try{$("html,body").animate({scrollTop:$("a[name="+p[1]+"]").offset().top-m},1000)}catch(o){console.warn(o.message)}});$("#scroll-top-link").on("click",function(m){m.preventDefault();var n=$(this).attr("href");$("html,body").animate({scrollTop:$(n).offset().top},1000)});if(($('iframe[src*="youtube.com"]').length>0)||($('iframe[data-src="externalurl"]').length>0)){$(".row").fitVids()}if(document.getElementById("home-fire-ratings")){$("#home-fire-ratings #dvFireBansAndRatingsResult a").on("focus",function(){$("#home-fire-ratings #dvFireBansAndRatingsResult").addClass("focused")});$("#home-fire-ratings #dvFireBansAndRatingsResult").on("focusout",function(){$("#home-fire-ratings #dvFireBansAndRatingsResult").removeClass("focused")})}if(document.getElementById("news-latest-home")){$(".news-carousel").owlCarousel({loop:false,margin:0,responsive:{0:{items:1,nav:true,dots:false,slideBy:1},576:{items:1,nav:true,dots:false,slideBy:1},768:{items:2,nav:true,dots:false,slideBy:2},992:{items:3,nav:true,dots:false,slideBy:3},1200:{items:3,nav:true,dots:false,slideBy:3}}})}if(document.getElementById("home-top")){$(".banner-carousel").owlCarousel({loop:false,margin:0,responsive:{0:{items:1,nav:true,dots:false},576:{items:1,nav:true,dots:false},768:{items:1,nav:true,dots:false},992:{items:1,nav:true,dots:false},1200:{items:1,nav:true,dots:false}}})}var g=3;var c=0;$(".fontChange").click(function(){var o=$("#page-content");var m=o.css("fontSize");var n=parseFloat(m,10);var p=m.slice(-2);if(this.id=="large"&&c<g){n*=1.1;c=c+1}else{if(this.id=="small"&&c>0){n/=1.1;c=c-1}}o.css("fontSize",Math.round(n)+p)});$(".image.bg-image").each(function(){var m=$(this).find("img");var n="url("+m.attr("src")+")";$(this).css("background-image",n);m.hide()});$(".dropdown h2").on("click",function(){$(".dropdown h2").not(this).removeClass("open");$(".dropdown h2").not(this).next().removeClass("open");$(this).toggleClass("open");$(this).next().toggleClass("open")});$(".dropdown h3").on("click",function(){$(".dropdown h3").not(this).removeClass("open");$(".dropdown h3").not(this).next().removeClass("open");$(this).toggleClass("open");$(this).next().toggleClass("open")});var i;var h=window.location.protocol+"//"+window.location.host+"/"+window.location.pathname;if(document.getElementById("filter-area")){$(".refinewidget").appendTo("#filter-items");$("#filter-items .refinewidget").each(function(){if($(this).find(".RefineSelected").length>0){$(this).addClass("selected")}});$(".refinewidget .searchInput").attr("placeholder","Keyword");$(".refinewidget .RefineSelected").each(function(){if($(this).hasClass("searchInput")){i=$(this).attr("value");i='<span class="d-inline-block">'+i+'</span> <a href="'+$(this).next(".input-group-append").children("a").eq(0).attr("href")+'" class="btn btn-link icon icon-only icon-tiny icon-cross">Remove</a>'}else{i=$(this).html();i='<span class="d-inline-block">'+i+'</span> <a href="'+$(this).next("a").attr("href")+'" class="btn btn-link icon icon-only icon-tiny icon-cross">Remove</a>'}if($(".refined-by").length<=0){$('<div class="refined-by d-flex align-items-start"><h3 class="icon icon-left icon-tiny icon-filter normal bold no-pad-tb no-margin padding-right-mid flex-shrink-0">Filtered By</h3><ul class="d-flex flex-wrap no-list"></ul></div><div><p class=margin-top><a href="'+h+'" class="btn btn-secondary btn-sm">Reset Filters</a></p></div>').appendTo("#filter-applied")}$('<li class="margin-right">'+i+"</li>").appendTo(".refined-by ul")})}$(".MyAccountMenu a.menuLink_Selected").parent().addClass("active");$(".clsDocListRepeater .returned-results").addClass("table-bordered table-striped");$("#gvPeople").addClass("table-bordered table-striped");$("#gridViewStores").addClass("table-bordered table-striped");$("#gvMyMeetingsResults").addClass("table-bordered table-striped");$(".content-area > table").each(function(){$(this).addClass("table table-condensed table-striped");$(this).wrap('<div class="table-responsive"></div>')});if(document.getElementById("index")){$(".content-area h2:gt(0)").each(function(m){$(this).attr("id","index"+m);$("#index ul").append('<li><a href="#index'+m+'">'+$(this).html()+"</a></li>")})}if(document.getElementById("facebook-link")){$("#facebook-link").on("focus",function(m){$("#facebook-iframe iframe").attr("tabindex","-1")})}if(document.getElementById("instagram-link")){$("#instagram-link").on("focus",function(m){$("#instagram-iframe iframe").attr("tabindex","-1")})}$(document).on("click","#fdp-tfb .nav-tabs a",function(m){$("#tabFDP").removeClass("initial")});$(".StructuredContentPreview").insertAfter(".clsBtnSubmit");$('.clsFormCreator input[type="file"]').each(function(){$('<span class="file-selected"></span>').insertBefore(this);$(this).on("change",function(){var m="";m=$(this).val().split("\\").pop();var n=$(this).prev(".file-selected");$(n).html(m)})});$(document).on("click",".card-title a",function(m){if($(this).hasClass("collapsed")){$(this).attr("aria-expanded","false");$(this).parent().parent().next().attr("aria-hidden","true")}else{$(this).attr("aria-expanded","true");$(this).parent().parent().next().attr("aria-hidden","false")}});var a=0;var b="";var e="";if($(".content-area > .accordion").length>0){b=$(".content-area > .accordion").first();a=$(".content-area > .accordion").length;while(a>0){e=$(b).get(0).tagName.toLowerCase();if(e=="h3"){$(b).nextUntil("h3:not(.accordion), h2").addBack().wrapAll('<div class="accordion-group"></div>')}else{$(b).nextUntil("h2:not(.accordion)").addBack().wrapAll('<div class="accordion-group"></div>')}b=$(".content-area > .accordion").first();a=$(".content-area > .accordion").length}$(".accordion-group > .accordion").each(function(m){$(this).nextUntil(".accordion").wrapAll('<div id="acc'+m+'" class="collapse" role="region" aria-labelledby="heading'+m+'"><div class="card-body"></div></div>');$(this).nextUntil(".accordion").addBack().wrapAll('<div class="card"></div>');$(this).html('<button class="btn btn-link btn-block text-left collapsed" data-toggle="collapse" data-target="#acc'+m+'" aria-expanded="false" aria-controls="acc'+m+'" type="button">'+$(this).html()+"</button>");$(this).wrap('<div id="heading'+m+'" class="card-header"></div>');$(this).addClass("card-title mb-0").removeClass("accordion")});$(".accordion-group").each(function(){$(this).removeClass("accordion-group").addClass("accordion margin-bottom-mid")})}if(document.getElementById("tabFDP")){var d=100;b=$("#tabFDP > .accordion").first();a=$("#tabFDP > .accordion").length;while(a>0){e=$(b).get(0).tagName.toLowerCase();if(e=="h3"){$(b).nextUntil("h3:not(.accordion), h2").addBack().wrapAll('<div id="fdp-group" class="accordion-group"></div>')}else{$(b).nextUntil("h2:not(.accordion)").addBack().wrapAll('<div id="fdp-group" class="accordion-group"></div>')}b=$("#tabFDP > .accordion").first();a=$("#tabFDP > .accordion").length}$("#fdp-group").prepend('<p class="expand-collapse text-right"><a href="#" class="expand-all btn btn-secondary btn-sm">Expand all restrictions</a><a href="#" class="d-none collapse-all btn btn-secondary btn-sm">Collapse all restrictions</a></p>');$("#fdp-group > .accordion").each(function(m){$(this).nextUntil(".accordion").wrapAll('<div id="acc'+d+'" class="collapse" role="region" aria-labelledby="heading'+d+'"><div class="card-body"></div></div>');$(this).nextUntil(".accordion").addBack().wrapAll('<div class="card"></div>');$(this).html('<button class="btn btn-link btn-block text-left collapsed" data-toggle="collapse" data-target="#acc'+d+'" aria-expanded="false" aria-controls="#acc'+d+'" type="button">'+$(this).html()+"</button>");$(this).wrap('<div id="heading'+d+'" class="card-header"></div>');$(this).addClass("card-title mb-0").removeClass("accordion");d++});$("#tabFDP .accordion-group").each(function(){$(this).removeClass("accordion-group").addClass("accordion margin-bottom-mid")})}if(document.getElementById("tabTFB")){var l=200;b=$("#tabTFB > .accordion").first();a=$("#tabTFB > .accordion").length;while(a>0){e=$(b).get(0).tagName.toLowerCase();if(e=="h3"){$(b).nextUntil("h3:not(.accordion), h2").addBack().wrapAll('<div id="tfb-group" class="accordion-group"></div>')}else{$(b).nextUntil("h2:not(.accordion)").addBack().wrapAll('<div id="tfb-group" class="accordion-group"></div>')}b=$("#tabTFB > .accordion").first();a=$("#tabTFB > .accordion").length}$("#tfb-group").prepend('<p class="expand-collapse text-right"><a href="#" class="expand-all btn btn-secondary btn-sm">Expand all restrictions</a><a href="#" class="d-none collapse-all btn btn-secondary btn-sm">Collapse all restrictions</a></p>');$("#tfb-group > .accordion").each(function(m){$(this).nextUntil(".accordion").wrapAll('<div id="acc'+l+'" class="collapse" role="region" aria-labelledby="heading'+l+'"><div class="card-body"></div></div>');$(this).nextUntil(".accordion").addBack().wrapAll('<div class="card"></div>');$(this).html('<button class="btn btn-link btn-block text-left collapsed" data-toggle="collapse" data-target="#acc'+l+'" aria-expanded="false" aria-controls="#acc'+l+'" type="button">'+$(this).html()+"</button>");$(this).wrap('<div id="heading'+l+'" class="card-header" role="tab"></div>');$(this).addClass("card-title mb-0").removeClass("accordion");l++});$("#tabTFB .accordion-group").each(function(){$(this).removeClass("accordion-group").addClass("accordion margin-bottom-mid")})}$(document).on("click","p.expand-collapse a",function(n){n.preventDefault();var o=$(this).parent();var m=o.parent();o.toggleClass("open");o.find("a").eq(0).toggleClass("d-none");o.find("a").eq(1).toggleClass("d-none");if($(this).hasClass("expand-all")){m.find(".card-title button").removeClass("collapsed").attr("aria-expanded","true");m.find(".collapse").addClass("show")}else{if($(this).hasClass("collapse-all")){m.find(".card-title button").addClass("collapsed").attr("aria-expanded","false");m.find(".collapse").removeClass("show")}}});var f="";if($(".content-area > .tabs").length>0){$(".content-area > .tabs").each(function(){f=$(this);f.addClass("nav nav-tabs");f.attr("role","tablist");f.children("li").attr("role","presentation").addClass("nav-item");f.children("li").eq(0).addClass("active");f.children("li").each(function(m){if(m==0){$(this).html('<a class="nav-link active" href="#tab'+m+'" data-toggle="tab" aria-controls="tab'+m+'" role="tab" aria=selected="true">'+$(this).html()+"</a>")}else{$(this).html('<a class="nav-link" href="#tab'+m+'" data-toggle="tab" aria-controls="tab'+m+'" role="tab" aria-selected="false">'+$(this).html()+"</a>")}})})}var j=0;var k="";var f="";if($(".content-area > .tab").length>0){k=$(".content-area > .tab").first();j=$(".content-area > .tab").length;while(j>0){f=$(k).get(0).tagName.toLowerCase();if(f=="h3"){$(k).nextUntil("h2").addBack().wrapAll('<div class="tab-content panel"></div>')}else{$(k).nextUntil("h2:not(.tab)").addBack().wrapAll('<div class="tab-content panel"></div>')}k=$(".content-area > .tab").first();j=$(".content-area > .tab").length}$(".tab-content > .tab").each(function(m){$(this).nextUntil(".tab").addBack().wrapAll('<div id="tab'+m+'" role="tabpanel" class="tab-pane card-body" aria-hidden="true"></div>')});$(".tab-content .tab-pane").eq(0).addClass("active").attr("aria-hidden","false")}$(document).on("click",".nav-tabs a",function(n){var m=$(this).attr("aria-controls");if($(this).hasClass("active")){$(m).attr("aria-hidden","true")}else{$(m).attr("aria-hidden","false")}})});enquire.register("screen and (max-width:1123px)",{match:function(){$("#header .header-top-right #header-links").appendTo("#site-nav")},unmatch:function(){$("#site-nav #header-links").prependTo("#header .header-top-right")}});enquire.register("screen and (max-width:767px)",{match:function(){if(!$(".header-location .local-info-details").hasClass("d-none")){$(".header-location .local-info-details > p").prependTo("#header .header-top-right");$("#header .header-top-right").removeClass("justify-content-end").addClass("justify-content-between")}$("#updates .card-title a").addClass("collapsed").attr("aria-expanded","false");$("#updates #update-content").removeClass("show").addClass("collapse").attr("aria-hidden","true");$("#home-tab .tab-content .tab-pane ul").each(function(b){$(this).wrap('<div id="res'+b+'" class="collapse" aria-labelledby="res-heading'+b+'" aria-hidden="true"><div class="card-body"></div></div>')});$("#home-tab .tab-content .tab-pane").removeClass("tab-pane").addClass("card")},unmatch:function(){if(!$(".header-location .local-info-details").hasClass("d-none")){$("#header .header-top-right > p").eq(0).appendTo(".header-location .local-info-details");$("#header .header-top-right").removeClass("justify-content-between").addClass("justify-content-end")}$("#updates .card-title a").removeClass("collapsed").attr("aria-expanded","true");$("#updates #update-content").removeClass("collapse").addClass("show").attr("aria-hidden","false");$("#home-tab .tab-content .collapse .card-body").unwrap();$("#home-tab .tab-content .card-body ul").unwrap();$("#home-tab .tab-content .card").removeClass("card").addClass("tab-pane")}});$(window).bind("load resize",function(){windowWidth=$(window).width();windowHeight=$(window).height()});function addToFavourites(d,b,c){var a="//"+d+"/MyAccount/MyFavouritesAdd.aspx?AID="+b+"&FID="+c;$.ajax({url:a,success:function(e){alert("This page has been added to your favourites")}})}function siteSearch(a){if(a.parent().parent().hasClass("main-site")){makeLink=partPublic+encodeURIComponent($("#site-search").val())+partEnd}else{if(a.parent().parent().hasClass("members-site")){makeLink=partMembers+encodeURIComponent($("#site-search").val())+partEnd}else{if(a.parent().parent().hasClass("members-contacts")){makeLink=partMembers+encodeURIComponent($("#site-search").val())+partEnd+partContacts}}}window.location.href=makeLink};;
