PageSourceSearch

http://imgg.ru/assets/application-d885fb6a09344200bcc011042a48fb90de38349128c823e8c6270f554be5ff90.js

js imgg.ru collected 2026-10-02 04:12:40 UTC 612,267 bytes, 164 lines download raw bytes

1var $buo=function(t,e){function n(t){var e,n,i=t||navigator.userAgent,o={i:"Internet Explorer",f:"Firefox",o:"Opera",s:"Apple Safari",n:"Netscape Navigator",c:"Chrome",x:"Other"};if(/bot|googlebot|facebook|slurp|wii|silk|blackberry|maxthon|maxton|mediapartners|dolfin|dolphin|adsbot|silk|android|phone|bingbot|google web preview|like firefox|chromeframe|seamonkey|opera mini|min|meego|netfront|moblin|maemo|arora|camino|flot|k-meleon|fennec|kazehakase|galeon|android|mobile|iphone|ipod|ipad|epiphany|konqueror|rekonq|symbian|webos|coolnovo|blackberry|bb10|RIM|PlayBook|PaleMoon|QupZilla|YaBrowser|Otter/i.test(i))e="x";else if(/Trident.*rv:(\d+\.\d+)/i.test(i))e="i";else if(/Trident.(\d+\.\d+)/i.test(i))e="io";else if(/MSIE.(\d+\.\d+)/i.test(i))e="i";else if(/Edge.(\d+\.\d+)/i.test(i))e="i";else if(/OPR.(\d+\.\d+)/i.test(i))e="o";else if(/Chrome.(\d+\.\d+)/i.test(i))e="c";else if(/Firefox.(\d+\.\d+)/i.test(i))e="f";else if(/Version.(\d+.\d+).{0,10}Safari/i.test(i))e="s";else if(/Safari.(\d+)/i.test(i))e="so";else if(/Opera.*Version.(\d+\.\d+)/i.test(i))e="o";else if(/Opera.(\d+\.?\d+)/i.test(i))e="o";else{if(!/Netscape.(\d+)/i.test(i))return{n:"x",v:0,t:o[e]};e="n"}var n=parseFloat(RegExp.$1),r=!1;return/windows.nt.5.0|windows.nt.4.0|windows.98|os x 10.4|os x 10.5|os x 10.3|os x 10.2/.test(i)&&(r="oldOS"),"f"!=e||24!=Math.round(n)&&31!=Math.round(n)||(r="ESR"),/linux|x11|unix|bsd/.test(i)&&"o"==e&&n>12&&(r="Opera12Linux"),"x"==e?{n:"x",v:n||0,t:o[e],donotnotify:r}:("so"==e&&(n=100>n&&1||130>n&&1.2||320>n&&1.3||520>n&&2||524>n&&3||526>n&&3.2||4,e="s"),"i"==e&&7==n&&window.XDomainRequest&&(n=8),"io"==e&&(e="i",n=n>6?11:n>5?10:n>4?9:n>3.1?8:n>3?7:9),{n:e,v:n,t:o[e]+" "+n,donotnotify:r})}function i(t){var e=new Date((new Date).getTime()+36e5*t);document.cookie="browserupdateorg=pause; expires="+e.toGMTString()+"; path=/"}function o(){for(var t=arguments,e=t[0],n=1;n<t.length;++n)e=e.replace(/%s/,t[n]);return e}var r,a=18,s=window.navigator;this.op=t||{},this.op.l=t.l||(s.languages?s.languages[0]:null)||s.language||s.browserLanguage||s.userLanguage||document.documentElement.getAttribute("lang")||"en";var l=this.op.l.substr(0,2);this.op.vsakt={i:12,f:39,o:30,s:8,n:20,c:43},this.op.vsdefault={i:9,f:37,o:12.1,s:6.1,n:12,c:41},this.op.vsmin={i:8,f:5,o:12,s:5.1,n:12};var u=t.vs||{};this.op.vs=t.vs||this.op.vsdefault;for(r in this.op.vsakt)this.op.vs[r]>=this.op.vsakt[r]&&(this.op.vs[r]=this.op.vsakt[r]-.2),this.op.vs[r]||(this.op.vs[r]=this.op.vsdefault[r]),this.op.vs[r]<this.op.vsmin[r]&&(this.op.vs[r]=this.op.vsmin[r]);if(this.op.reminder=t.reminder<.1||0===t.reminder?0:t.reminder||24,this.op.reminderClosed=t.reminderClosed||168,this.op.onshow=t.onshow||function(){},this.op.onclick=t.onclick||function(){},this.op.onclose=t.onclose||function(){},this.op.url=t.url||"//browser-update.org/update-browser.html#"+a+":"+(location.hostname||"x"),t.l&&(this.op.url=t.url||"//browser-update.org/"+l+"/update-browser.html#"+a+":"+(location.hostname||"x")),this.op.pageurl=t.pageurl||window.location.hostname||"unknown",this.op.newwindow=t.newwindow!==!1,this.op.test=e||t.test||!1,"#test-bu"==window.location.hash&&(this.op.test=!0),this.op.browser=n(),this.op.test||!(!this.op.browser||!this.op.browser.n||"x"==this.op.browser.n||this.op.browser.donotnotify!==!1||document.cookie.indexOf("browserupdateorg=pause")>-1&&this.op.reminder>0||this.op.browser.v>this.op.vs[this.op.browser.n])){if(!this.op.test&&Math.round(5e3*Math.random())<1){var c=new Image;c.src="//browser-update.org/viewcount.php?n="+this.op.browser.n+"&v="+this.op.browser.v+"&p="+escape(this.op.pageurl)+"&jsv="+a+"&inv="+this.op.v+"&vs="+u.i+","+u.f+","+u.o+","+u.s}this.op.reminder>0&&i(this.op.reminder);var h="xx,jp,sl,id,uk,rm,da,ca,sv,hu,fa,gl";h.indexOf(l)>0&&(this.op.url="//browser-update.org/update.html#"+a+"@"+(location.hostname||"x"));var d="";this.op.newwindow&&(d=' target="_blank"');var p="This website would like to remind you: Your browser (%s) is <b>out of date</b>.         <a%s>Update your browser</a> for more security, comfort and the best experience on this site.";"de"==l?p="Sie verwenden einen <b>veralteten Browser</b> (%s) mit <b>Sicherheitsschwachstellen</b> und <b>k&ouml;nnen nicht alle Funktionen dieser Webseite nutzen</b>.         <a%s>
1Hier erfahren Sie, wie einfach Sie Ihren Browser aktualisieren k&ouml;nnen</a>.":"it"==l?p="Il tuo browser (%s) <b>non \xe8 aggiornato</b>. Ha delle <b>falle di sicurezza</b> e potrebbe <b>non visualizzare correttamente</b> le         pagine di questo e altri siti.         <a%s>Aggiorna il tuo browser</a>!":"pl"==l?p="Przegl\u0105darka (%s), kt\xf3rej u\u017cywasz, jest przestarza\u0142a. Posiada ona udokumentowane <b>luki bezpiecze\u0144stwa, inne wady</b> oraz <b>ograniczon\u0105 funkcjonalno\u015b\u0107</b>. Tracisz mo\u017cliwo\u015b\u0107 skorzystania z pe\u0142ni mo\u017cliwo\u015bci oferowanych przez niekt\xf3re strony internetowe. <a%s>Dowiedz si\u0119 jak zaktualizowa\u0107 swoj\u0105 przegl\u0105dark\u0119</a>.":"es"==l?p="Su navegador (%s) <b>no est\xe1 actualizado</b>. Tiene <b>fallos de seguridad</b> conocidos y podr\xeda <b>no mostrar todas las caracter\xedsticas</b> de este y otros sitios web. <a%s>Averig\xfce c\xf3mo actualizar su navegador.</a>":"nl"==l?p="Uw browser (%s) is <b>oud</b>. Het heeft bekende <b>veiligheidsissues</b> en kan <b>niet alle mogelijkheden</b> weergeven van deze of andere websites. <a%s>Lees meer over hoe uw browser te upgraden</a>":"pt"==l?p="Seu navegador (%s) est\xe1 <b>desatualizado</b>. Ele possui <b>falhas de seguran\xe7a</b> e pode <b>apresentar problemas</b> para exibir este e outros websites. <a%s>Veja como atualizar o seu navegador</a>":"sl"==l?p="Va\u0161 brskalnik (%s) je <b>zastarel</b>. Ima ve\u010d <b>varnostnih pomankljivosti</b> in morda <b>ne bo pravilno prikazal</b> te ali drugih strani.         <a%s>Poglejte kako lahko posodobite svoj brskalnik</a>":"ru"==l?p="\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 (%s) <b>\u0443\u0441\u0442\u0430\u0440\u0435\u043b</b>. \u041e\u043d \u0438\u043c\u0435\u0435\u0442 <b>\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438</b> \u0438 \u043c\u043e\u0436\u0435\u0442 <b>\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438</b> \u043d\u0430 \u044d\u0442\u043e\u043c \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0430\u0439\u0442\u0430\u0445. <a%s>\u0423\u0437\u043d\u0430\u0439\u0442\u0435, \u043a\u0430\u043a \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440</a>":"id"==l?p="Browser Anda (%s) sudah <b>kedaluarsa</b>. Browser yang Anda pakai memiliki <b>kelemahan keamanan</b> dan mungkin <b>tidak dapat menampilkan semua fitur</b> dari situs Web ini dan lainnya. <a%s> Pelajari cara memperbarui browser Anda</a>":"uk"==l?p="\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 (%s) <b>\u0437\u0430\u0441\u0442\u0430\u0440\u0456\u0432</b>. \u0412\u0456\u043d <b>\u0443\u0440\u0430\u0437\u043b\u0438\u0432\u0438\u0439</b> \u0439 \u043c\u043e\u0436\u0435 <b>\u043d\u0435 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u0438 \u0432\u0441\u0456 \u043c\u043e\u0436\u043b\u0438\u0432\u043e\u0441\u0442\u0456</b> \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0439 \u0456\u043d\u0448\u0438\u0445 \u0441\u0430\u0439\u0442\u0430\u0445. <a%s>\u0414\u0456\u0437\u043d\u0430\u0439\u0442\u0435\u0441\u044c, \u044f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 \u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440</a>":"ko"==l?p="\uc9c0\uae08 \uc0ac\uc6a9\ud558\uace0 \uacc4\uc2e0 \ube0c\ub77c\uc6b0\uc800(%s)\ub294 <b>\uc624\ub798\ub418\uc5c8\uc2b5\ub2c8\ub2e4.</b> \uc54c\ub824\uc9c4 <b>\ubcf4\uc548 \ucde8\uc57d\uc810</b>\uc774 \uc874\uc7ac\ud558\uba70, \uc0c8\ub85c\uc6b4 \uc6f9 \uc0ac\uc774\ud2b8\uac00 <b>\uae68\uc838 \ubcf4\uc77c \uc218\ub3c4</b> \uc788\uc2b5\ub2c8\ub2e4. <a%s>\ube0c\ub77c\uc6b0\uc800\ub97c \uc5b4\ub5bb\uac8c \uc5c5\ub370\uc774\ud2b8\ud558\ub098\uc694?</a>":"rm"==l?p="Tes navigatur (%s) \xe8 <b>antiqu\xe0</b>. El cuntegna <b>problems da segirezza</b> enconuschents e mussa eventualmain <b>betg tut las funcziuns</b> da questa ed autras websites. <a%s>Emprenda sco actualisar tes navigatur</a>.":"ja"==l?p="\u304a\u4f7f\u3044\u306e\u30d6\u30e9\u30a6\u30b6\u300c%s\u300d\u306f\u3001<b>\u6642\u4ee3\u9045\u308c</b>\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002\u65e2\u77e5\u306e<b>\u8106\u5f31\u6027</b>\u304c\u5b58\u5728\u3059\u308b\u3070\u304b\u308a\u304b\u3001<b>\u6a5f\u80fd\u4e0d\u8db3</b>\u306b\u3088\u3063\u3066\u3001\u30b5\u30a4\u30c8\u304c\u6b63\u5e38\u306b\u8868\u793a\u3067\u304d\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002          <a%s>\u30d6\u30e9\u30a6\u30b6\u3092\u66f4\u65b0\u3059\u308b\u65b9\u6cd5\u3092\u78ba\u8a8d\u3059\u308b</a>":"fr"==l?p="Votre navigateur (%s) est <b>p\xe9rim\xe9</b>. Il contient des <b>failles de s\xe9curit\xe9</b> et pourrait <b>ne pas afficher certaines fonctionnalit\xe9s</b> des sites internet r\xe9cents. <a%s>D\xe9couvrez comment mettre votre navigateur \xe0 jour</a>":"da"==l?p="Din browser (%s) er <b>for&aelig;ldet</b>. Den har kendte <b>sikkerhedshuller</b> og kan m&aring;ske <b>ikke vise alle funktioner</b> p&aring; dette og andre websteder. <a%s>Se hvordan du opdaterer din browser</a>":"sq"==l?p="Shfletuesi juaj (%s) \xebsht\xeb <b>ca i vjet\xebr</b>. Ai ka <b>t\xeb meta sigurie</b> t\xeb njohura dhe mundet t\xeb <b>mos i shfaq\xeb t\xeb gjitha karakteristikat</b> e k\xebsaj dhe shum\xeb faqeve web t\xeb tjera. <a%s>M\xebsoni se si t\xeb p\xebrdit\xebsoni shfletuesin tuaj</a>
1":"ca"==l?p="El teu navegador (%s) est\xe0 <b>desactualitzat</b>. T\xe9 <b>vulnerabilitats</b> conegudes i pot <b>no mostrar totes les caracter\xedstiques</b> d'aquest i altres llocs web. <a%s>Apr\xe8n a actualitzar el navegador</a>":"tr"==l?p="Taray\u0131c\u0131n\u0131z (%s) <b>g\xfcncel de\u011fildir.</b>. Eski versiyon oldu\u011fu i\xe7in <b>g\xfcvenlik a\xe7\u0131klar\u0131</b> vard\u0131r ve g\xf6rmek istedi\u011finiz bu web sitesinin ve di\u011fer web sitelerinin <b>t\xfcm \xf6zelliklerini hatas\u0131z bir \u015fekilde</b> g\xf6steremeyecektir.          <a%s>Taray\u0131c\u0131n\u0131z\u0131 nas\u0131l g\xfcncelleyece\u011finizi \xf6\u011frenin!</a>":"fa"==l?p="\u0645\u0631\u0648\u0631\u06af\u0631 \u0634\u0645\u0627 (%s) <b>\u0627\u0632 \u0631\u062f\u0647 \u062e\u0627\u0631\u062c \u0634\u062f\u0647</b> \u0645\u06cc \u0628\u0627\u0634\u062f. \u0627\u06cc\u0646 \u0645\u0631\u0648\u0631\u06af\u0631 \u062f\u0627\u0631\u0627\u06cc <b>\u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc \u0634\u0646\u0627\u062e\u062a\u0647 \u0634\u062f\u0647</b> \u0645\u06cc \u0628\u0627\u0634\u062f \u0648 <b>\u0646\u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u062a\u0645\u0627\u0645\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u0627\u06cc\u0646</b> \u0648\u0628 \u0633\u0627\u06cc\u062a \u0648 \u062f\u06cc\u06af\u0631 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062e\u0648\u0628\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0647\u062f.          <a%s>\u062f\u0631 \u062e\u0635\u0648\u0635 \u06af\u0631\u0641\u062a\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u062f\u0631\u062e\u0635\u0648\u0635 \u0646\u062d\u0648\u0647 \u06cc \u0628\u0647 \u0631\u0648\u0632 \u0631\u0633\u0627\u0646\u06cc \u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0627\u06cc\u0646\u062c\u0627 \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.</a>":"sv"==l?p="Din webbl\xe4sare (%s) \xe4r <b>f\xf6r\xe5ldrad</b>. Den har k\xe4nda <b>s\xe4kerhetsh\xe5l</b> och <b>kan inte visa alla funktioner korrekt</b> p\xe5 denna och p\xe5 andra webbsidor. <a%s>Uppdatera din webbl\xe4sare idag</a>":"hu"==l?p="Az \xd6n b\xf6ng\xe9sz\u0151je (%s) <b>elavult</b>. Ismert <b>biztons\xe1gi hi\xe1nyoss\xe1gai</b> vannak \xe9s esetlegesen <b>nem tud minden funkci\xf3t megjelen\xedteni</b> ezen vagy m\xe1s weboldalakon. <a%s>Itt tal\xe1l b\u0151vebb inform\xe1ci\xf3t a b\xf6ng\xe9sz\u0151j\xe9nek friss\xedt\xe9s\xe9vel kapcsolatban</a>		 ":"gl"==l?p="O seu navegador (%s) est\xe1 <b>desactualizado</b>. Ten co\xf1ecidos <b>fallos de seguranza</b> e poder\xeda <b>non mostrar t\xf3dalas caracter\xedsticas</b> deste e outros sitios web. <a%s>Aprenda como pode actualizar o seu navegador</a>":"cs"==l?p="V\xe1\u0161 prohl\xed\u017ee\u010d (%s) je <b>zastaral\xfd</b>. Jsou zn\xe1my <b>bezpe\u010dnostn\xed rizika</b> a mo\u017en\xe1 <b>nedok\xe1\u017ee zobrazit v\u0161echny prvky</b> t\xe9to a dal\u0161\xedch webov\xfdch str\xe1nek. <a%s>Nau\u010dte se, jak aktualizovat sv\u016fj prohl\xed\u017ee\u010d</a>":"he"==l?p="\u05d4\u05d3\u05e4\u05d3\u05e4\u05df \u05e9\u05dc\u05da (%s) <b>\u05d0\u05d9\u05e0\u05d5 \u05de\u05e2\u05d5\u05d3\u05db\u05df</b>. \u05d9\u05e9 \u05dc\u05d5 <b>\u05d1\u05e2\u05d9\u05d5\u05ea \u05d0\u05d1\u05d8\u05d7\u05d4 \u05d9\u05d3\u05d5\u05e2\u05d5\u05ea</b> \u05d5\u05e2\u05e9\u05d5\u05d9 <b>\u05dc\u05d0 \u05dc\u05d4\u05e6\u05d9\u05d2 \u05d0\u05ea \u05db\u05dc \u05d4\u05ea\u05db\u05d5\u05e0\u05d5\u05ea</b> \u05e9\u05dc \u05d0\u05ea\u05e8 \u05d6\u05d4 \u05d5\u05d0\u05ea\u05e8\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9\u05dd. <a%s>\u05dc\u05de\u05d3 \u05db\u05d9\u05e6\u05d3 \u05dc\u05e2\u05d3\u05db\u05df \u05d0\u05ea \u05d4\u05d3\u05e4\u05d3\u05e4\u05df \u05e9\u05dc\u05da</a>":"nb"==l?p="Nettleseren din (%s) er <b>utdatert</b>. Den har kjente <b>sikkerhetshull</b> og <b>kan ikke vise alle funksjonene</b> p\xe5 denne og andre websider. <a%s>L\xe6r hvordan du kan oppdatere din nettleser</a>":"zh"==l?p="\u60a8\u7684\u6d4f\u89c8\u5668(%s) \u9700\u8981\u66f4\u65b0\u3002\u8be5\u6d4f\u89c8\u5668\u6709\u8bf8\u591a\u5b89\u5168\u6f0f\u6d1e\uff0c\u65e0\u6cd5\u663e\u793a\u672c\u7f51\u7ad9\u7684\u6240\u6709\u529f\u80fd\u3002 <a%s>\u4e86\u89e3\u5982\u4f55\u66f4\u65b0\u6d4f\u89c8\u5668</a>":"fi"==l?p="Selaimesi (%s) on <b>
1vanhentunut</b>. Siin\xe4 on tunnettuja tietoturvaongelmia eik\xe4 se v\xe4ltt\xe4m\xe4tt\xe4 tue kaikkia ominaisuuksia t\xe4ll\xe4 tai muilla sivustoilla. <a%s>Lue lis\xe4\xe4 siit\xe4 kuinka p\xe4ivit\xe4t selaimesi</a>.":"tr"==l?p="Taray\u0131c\u0131n\u0131z (%s) <b>g\xfcncel de\u011fil</b>. Eski versiyon oldu\u011fu i\xe7in <b>g\xfcvenlik a\xe7\u0131klar\u0131</b> vard\u0131r ve g\xf6rmek istedi\u011finiz bu web sitesinin ve di\u011fer web sitelerinin <b>t\xfcm \xf6zelliklerini hatas\u0131z bir \u015fekilde</b> g\xf6steremeyecektir. <a%s>Taray\u0131c\u0131n\u0131z\u0131 nas\u0131l g\xfcncelleyebilece\u011finizi \xf6\u011frenin</a>":"ro"==l?p="Browser-ul (%s) tau este <b>invechit</b>. Detine <b>probleme de securitate</b> cunoscute si poate <b>sa nu afiseze corect</b> toate elementele acestui si altor site-uri. <a%s>Invata cum sa-ti actualizezi browserul.</a>":"bg"==l?p="\u0412\u0430\u0448\u0438\u044f\u0442 \u0431\u0440\u0430\u0443\u0437\u044a\u0440 (%s) <b>\u043d\u0435 \u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d</b>. \u0418\u0437\u0432\u0435\u0441\u0442\u043d\u043e \u0435, \u0447\u0435 \u0438\u043c\u0430 <b>\u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0438 \u0432 \u0441\u0438\u0433\u0443\u0440\u043d\u043e\u0441\u0442\u0442\u0430</b> \u0438 \u043c\u043e\u0436\u0435 <b>\u0434\u0430 \u043d\u0435 \u043f\u043e\u043a\u0430\u0436\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043d\u043e</b> \u0442\u043e\u0437\u0438 \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438 \u0441\u0430\u0439\u0442\u043e\u0432\u0435. <a%s>\u041d\u0430\u0443\u0447\u0435\u0442\u0435 \u043a\u0430\u043a \u0434\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430 \u0441\u0438</a>.":"el"==l?p="\u0391\u03c5\u03c4\u03cc\u03c2 \u03bf \u03b9\u03c3\u03c4\u03cc\u03c4\u03bf\u03c0\u03bf\u03c2 \u03c3\u03b1\u03c2 \u03c5\u03c0\u03b5\u03bd\u03b8\u03c5\u03bc\u03af\u03b6\u03b5\u03b9: \u039f \u03c6\u03c5\u03bb\u03bb\u03bf\u03bc\u03b5\u03c4\u03c1\u03b7\u03c4\u03ae\u03c2 \u03c3\u03b1\u03c2 (%s) \u03b5\u03af\u03bd\u03b1\u03b9 <b>\u03c0\u03b1\u03c1\u03c9\u03c7\u03b7\u03bc\u03ad\u03bd\u03bf\u03c2</b>.	<a%s>\u0395\u03bd\u03b7\u03bc\u03b5\u03c1\u03ce\u03c3\u03c4\u03b5 \u03c4\u03bf \u03c0\u03c1\u03cc\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1 \u03c0\u03b5\u03c1\u03b9\u03ae\u03b3\u03b7\u03c3\u03ae\u03c2 \u03c3\u03b1\u03c2</a> \u03b3\u03b9\u03b1 \u03bc\u03b5\u03b3\u03b1\u03bb\u03cd\u03c4\u03b5\u03c1\u03b7 \u03b1\u03c3\u03c6\u03ac\u03bb\u03b5\u03b9\u03b1 \u03ba\u03b1\u03b9 \u03ac\u03bd\u03b5\u03c3\u03b7 \u03c3\u03b5 \u03b1\u03c5\u03c4\u03ae\u03bd \u03c4\u03b7\u03bd \u03b9\u03c3\u03c4\u03bf\u03c3\u03b5\u03bb\u03af\u03b4\u03b1.":"ar"==l&&(p="\u0645\u062a\u0635\u0641\u062d\u0643 (%s) <b>\u0645\u0646\u062a\u0647\u0649 \u0627\u0644\u0635\u0644\u0627\u062d\u064a\u0647</b>. \u0648\u064a\u0648\u062c\u062f \u0628\u0647 <b>\u062b\u063a\u0631\u0627\u062a \u0627\u0645\u0646\u064a\u0629</b> \u0645\u0639\u0631\u0648\u0641\u0629 \u0648\u0642\u062f <b>\u0644\u0627 \u064a\u064f\u0634\u063a\u0644 \u0643\u062b\u064a\u0631 \u0645\u0646 \u0627\u0644\u0645\u064a\u0632\u0627\u062a</b> \u0627\u0644\u0645\u062a\u0639\u0644\u0642\u0647 \u0628\u0647\u0630\u0647 \u0627\u0644\u0645\u0648\u0642\u0639. <a%s>\u0623\u0636\u063a\u0637 \u0647\u0646\u0627</a>\u0644\u062a\u0639\u0631\u0641 \u0643\u064a\u0641 \u062a\u0642\u0648\u0645 \u0628\u062a\u062d\u062f\u064a\u062b \u0645\u062a\u0635\u0641\u062d\u0643"),t.text&&(p=t.text),t["text_"+l]&&(p=t["text_"+l]),this.op.text=o(p,this.op.browser.t,' href="'+this.op.url+'"'+d);var f=document.createElement("div");this.op.div=f,f.id="buorg",f.className="buorg",f.innerHTML="<div>"+this.op.text+'<div id="buorgclose">&times;</div></div>';var m=document.createElement("style"),g=".buorg {position:absolute;position:fixed;z-index:111111;width:100%; top:0px; left:0px; border-bottom:1px solid #A29330; background:#FDF2AB no-repeat 13px center url(//browser-update.org/img/small/"+this.op.browser.n+".png);text-align:left; cursor:pointer; font-family: Arial,Helvetica,sans-serif; color:#000; font-size: 12px;}.buorg div { padding:5px 36px 5px 40px; } .buorg a,.buorg a:visited  {color:#E25600; text-decoration: underline;}#buorgclose { position: absolute; right: 6px; top:-2px; height: 20px; width: 12px; font-weight: bold;font-size:18px; padding:0; }";document.body.insertBefore(f,document.body.firstChild),document.getElementsByTagName("head")[0].appendChild(m);try{m.innerText=g,m.innerHTML=g}catch(_){try{m.styleSheet.cssText=g}catch(_){return}}var v=this;f.onclick=function(){return v.op.newwindow?window.open(v.op.url,"_blank"):window.location.href=v.op.url,
vendor: 6,359 bytes, lines 1-14
1i(v.op.reminderClosed),v.op.onclick(v.op),!1};try{f.getElementsByTagName("a")[0].onclick=function(t){var t=t||window.event;return t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,v.op.onclick(v.op),!0}}catch(_){}var y=document.getElementsByTagName("html")[0]||document.body;this.op.bodymt=y.style.marginTop,y.style.marginTop=f.clientHeight+"px",function(t){document.getElementById("buorgclose").onclick=function(e){var e=e||window.event;return e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,t.op.div.style.display="none",y.style.marginTop=t.op.bodymt,t.op.onclose(t.op),i(t.op.reminderClosed),!0}}(v),t.onshow(this.op)}},$buoop=$buoop||{};$bu=$buo($buoop),/*!
2 * jQuery JavaScript Library v1.11.2
3 * http://jquery.com/
4 *
5 * Includes Sizzle.js
6 * http://sizzlejs.com/
7 *
8 * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
9 * Released under the MIT license
10 * http://jquery.org/license
11 *
12 * Date: 2014-12-17T15:27Z
13 */
14function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=oe.type(t);return"function"===n||oe.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(oe.isFunction(e))return oe.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return oe.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(de.test(e))return oe.filter(e,t,n);e=oe.filter(e,t)}return oe.grep(t,function(t){return oe.inArray(t,e)>=0!==n})}function o(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function r(t){var e=be[t]={};return oe.each(t.match(ye)||[],function(t,n){e[n]=!0}),e}function a(){fe.addEventListener?(fe.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1)):(fe.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(fe.addEventListener||"load"===event.type||"complete"===fe.readyState)&&(a(),oe.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(Ce,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Se.test(n)?oe.parseJSON(n):n}catch(o){}oe.data(t,e,n)}else n=void 0}return n}function u(t){var e;for(e in t)if(("data"!==e||!oe.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(oe.acceptData(t)){var o,r,a=oe.expando,s=t.nodeType,l=s?oe.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=s?t[a]=Y.pop()||oe.guid++:a),l[u]||(l[u]=s?{}:{toJSON:oe.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[u]=oe.extend(l[u],e):l[u].data=oe.extend(l[u].data,e)),r=l[u],i||(r.data||(r.data={}),r=r.data),void 0!==n&&(r[oe.camelCase(e)]=n),"string"==typeof e?(o=r[e],null==o&&(o=r[oe.camelCase(e)])):o=r,o}}function h(t,e,n){if(oe.acceptData(t)){var i,o,r=t.nodeType,a=r?oe.cache:t,s=r?t[oe.expando]:oe.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){oe.isArray(e)?e=e.concat(oe.map(e,oe.camelCase)):e in i?e=[e]:(e=oe.camelCase(e),e=e in i?[e]:e.split(" ")),o=e.length;for(;o--;)delete i[e[o]];if(n?!u(i):!oe.isEmptyObject(i))return}(n||(delete a[s].data,u(a[s])))&&(r?oe.cleanData([t],!0):ne.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function d(){return!0}function p(){return!1}function f(){try{return fe.activeElement}catch(t){}}function m(t){var e=Ne.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,o=0,r=typeof t.getElementsByTagName!==xe?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==xe?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||oe.nodeName(i,e)?r.push(i):oe.merge(r,g(i,e));return void 0===e||e&&oe.nodeName(t,e)?oe.merge([t],r):r}function _(t){Ee.test(t.type)&&(t.defaultChecked=t.checked)}function v(t,e){return oe.nodeName(t,"table")&&oe.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==oe.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=qe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function L(t,e){for(var n,i=0;null!=(n=t[i]);i++)oe._data(n,"globalEval",!e||oe._data(e[i],"globalEval"))}function w(t,e){if(1===e.nodeType&&oe.hasData(t)){var n,i,o,r=oe._data(t),a=oe._data(e,r),s=r.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,o=s[n].length;o>i;i++)oe.event.add(e,n,s[n][i])}a.data&&(a.data=oe.extend({},a.data))}}function x(t,e){var n,i,o;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!ne.noCloneEvent&&e[oe.expando]){o=oe._data(e);for(i in o.events)oe.removeEvent(e,i,o.handle);e.removeAttribute(oe.expando)}"script"===n&&e.text!==t.text?(y(e).text=t.text,b(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ne.html5Clone&&t.innerHTML&&!oe.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function S(e,n){var i,o=oe(n.createElement(e)).appendTo(n.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(o[0]))?i.display:oe.css(o[0],"display");return o.detach(),r}function C(t){var e=fe,n=Ke[t];return n||(n=S(t,e),"none"!==n&&n||(Qe=(Qe||oe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Qe[0].contentWindow||Qe[0].contentDocument).document,e.write(),e.close(),n=S(t,e),Qe.detach()),Ke[t]=n),n}function P(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function k(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,o=pn.length;o--;)if(e=pn[o]+n,e in t)return e;return i}function T(t,e){for(var n,i,o,r=[],a=0,s=t.length;s>a;a++)i=t[a],i.style&&(r[a]=oe._data(i,"olddisplay"),n=i.style.display,e?(r[a]||"none"!==n||(i.style.display=""),""===i.style.display&&Te(i)&&(r[a]=oe._data(i,"olddisplay",C(i.nodeName)))):(o=Te(i),(n&&"none"!==n||!o)&&oe._data(i,"olddisplay",o?n:oe.css(i,"dis
14play"))));for(a=0;s>a;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[a]||"":"none"));return t}function D(t,e,n){var i=un.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function E(t,e,n,i,o){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,a=0;4>r;r+=2)"margin"===n&&(a+=oe.css(t,n+ke[r],!0,o)),i?("content"===n&&(a-=oe.css(t,"padding"+ke[r],!0,o)),"margin"!==n&&(a-=oe.css(t,"border"+ke[r]+"Width",!0,o))):(a+=oe.css(t,"padding"+ke[r],!0,o),"padding"!==n&&(a+=oe.css(t,"border"+ke[r]+"Width",!0,o)));return a}function M(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,r=tn(t),a=ne.boxSizing&&"border-box"===oe.css(t,"boxSizing",!1,r);if(0>=o||null==o){if(o=en(t,e,r),(0>o||null==o)&&(o=t.style[e]),on.test(o))return o;i=a&&(ne.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+E(t,e,n||(a?"border":"content"),i,r)+"px"}function O(t,e,n,i,o){return new O.prototype.init(t,e,n,i,o)}function A(){return setTimeout(function(){fn=void 0}),fn=oe.now()}function $(t,e){var n,i={height:t},o=0;for(e=e?1:0;4>o;o+=2-e)n=ke[o],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function I(t,e,n){for(var i,o=(bn[e]||[]).concat(bn["*"]),r=0,a=o.length;a>r;r++)if(i=o[r].call(n,e,t))return i}function N(t,e,n){var i,o,r,a,s,l,u,c,h=this,d={},p=t.style,f=t.nodeType&&Te(t),m=oe._data(t,"fxshow");n.queue||(s=oe._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,h.always(function(){h.always(function(){s.unqueued--,oe.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=oe.css(t,"display"),c="none"===u?oe._data(t,"olddisplay")||C(t.nodeName):u,"inline"===c&&"none"===oe.css(t,"float")&&(ne.inlineBlockNeedsLayout&&"inline"!==C(t.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",ne.shrinkWrapBlocks()||h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(i in e)if(o=e[i],gn.exec(o)){if(delete e[i],r=r||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||
vendor: 14,281 bytes, lines 14-24
14!m||void 0===m[i])continue;f=!0}d[i]=m&&m[i]||oe.style(t,i)}else u=void 0;if(oe.isEmptyObject(d))"inline"===("none"===u?C(t.nodeName):u)&&(p.display=u);else{m?"hidden"in m&&(f=m.hidden):m=oe._data(t,"fxshow",{}),r&&(m.hidden=!f),f?oe(t).show():h.done(function(){oe(t).hide()}),h.done(function(){var e;oe._removeData(t,"fxshow");for(e in d)oe.style(t,e,d[e])});for(i in d)a=I(f?m[i]:0,i,h),i in m||(m[i]=a.start,f&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function F(t,e){var n,i,o,r,a;for(n in t)if(i=oe.camelCase(n),o=e[i],r=t[n],oe.isArray(r)&&(o=r[1],r=t[n]=r[0]),n!==i&&(t[i]=r,delete t[n]),a=oe.cssHooks[i],a&&"expand"in a){r=a.expand(r),delete t[i];for(n in r)n in t||(t[n]=r[n],e[n]=o)}else e[i]=o}function z(t,e,n){var i,o,r=0,a=yn.length,s=oe.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=fn||A(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,r=1-i,a=0,l=u.tweens.length;l>a;a++)u.tweens[a].run(r);return s.notifyWith(t,[u,r,n]),1>r&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:oe.extend({},e),opts:oe.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:fn||A(),duration:n.duration,tweens:[],createTween:function(e,n){var i=oe.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(o)return this;for(o=!0;i>n;n++)u.tweens[n].run(1);return e?s.resolveWith(t,[u,e]):s.rejectWith(t,[u,e]),this}}),c=u.props;for(F(c,u.opts.specialEasing);a>r;r++)if(i=yn[r].call(u,t,c,u.opts))return i;return oe.map(c,I,u),oe.isFunction(u.opts.start)&&u.opts.start.call(t,u),oe.fx.timer(oe.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function U(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,o=0,r=e.toLowerCase().match(ye)||[];if(oe.isFunction(n))for(;i=r[o++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function B(t,e,n,i){function o(s){var l;return r[s]=!0,oe.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||r[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),o(u),!1)}),l}var r={},a=t===Gn;return o(e.dataTypes[0])||!r["*"]&&o("*")}function R(t,e){var n,i,o=oe.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n||(n={}))[i]=e[i]);return n&&oe.extend(!0,t,n),t}function j(t,e,n){for(var i,o,r,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){l.unshift(a);break}if(l[0]in n)r=l[0];else{for(a in n){if(!l[0]||t.converters[a+" "+l[0]]){r=a;break}i||(i=a)}r=r||i}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}function H(t,e,n,i){var o,r,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(a=u[l+" "+r]||u["* "+r],!a)for(o in u)if(s=o.split(" "),s[1]===r&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[o]:u[o]!==!0&&(r=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&t["throws"])e=a(e);else try{e=a(e)}catch(h){return{state:"parsererror",error:a?h:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function G(t,e,n,i){var o;if(oe.isArray(e))oe.each(e,function(e,o){n||Yn.test(t)?i(t,o):G(t+"["+("object"==typeof o?e:"")+"]",o,n,i)});else if(n||"object"!==oe.type(e))i(t,e);else for(o in e)G(t+"["+o+"]",e[o],n,i)}function Z(){try{return new t.XMLHttpRequest}catch(e){}}function W(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function q(t){return oe.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var Y=[],V=Y.slice,X=Y.concat,J=Y.push,Q=Y.indexOf,K={},te=K.toString,ee=K.hasOwnProperty,ne={},ie="1.11.2",oe=function(t,e){return new oe.fn.init(t,e)},re=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ae=/^-ms-/,se=/-([\da-z])/gi,le=function(t,e){return e.toUpperCase()};oe.fn=oe.prototype={jquery:ie,constructor:oe,selector:"",length:0,toArray:function(){return V.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:V.call(this)},pushStack:function(t){var e=oe.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return oe.each(this,t,e)},map:function(t){return this.pushStack(oe.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(V.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:J,sort:Y.sort,splice:Y.splice},oe.extend=oe.fn.extend=function(){var t,e,n,i,o,r,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||oe.isFunction(a)||(a={}),s===l&&(a=this,s--);l>s;s++)if(null!=(o=arguments[s]))for(i in o)t=a[i],n=o[i],a!==n&&(u&&n&&(oe.isPlainObject(n)||(e=oe.isArray(n)))?(e?(e=!1,r=t&&oe.isArray(t)?t:[]):r=t&&oe.isPlainObject(t)?t:{},a[i]=oe.extend(u,r,n)):void 0!==n&&(a[i]=n));return a},oe.extend({expando:"jQuery"+(ie+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===oe.type(t)},isArray:Array.isArray||function(t){return"array"===oe.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!oe.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==oe.type(t)||t.nodeType||oe.isWindow(t))return!1;try{if(t.constructor&&!ee.call(t,"constructor")&&!ee.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(ne.ownLast)for(e in t)return ee.call(t,e);for(e in t);return void 0===e||ee.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?K[te.call(t)]||"object":typeof t},globalEval:function(e){e&&oe.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(ae,"ms-").replace(se,le)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var o,r=0,a=t.length,s=n(t);if(i){if(s)for(;a>r&&(o=e.apply(t[r],i),o!==!1);r++);else for(r in t)if(o=e.apply(t[r],i),o===!1)break}else if(s)for(;a>r&&(o=e.call(t[r],r,t[r]),o!==!1);r++);else for(r in t)if(o=e.call(t[r],r,t[r]),o===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(re,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?oe.merge(i,"string"==typeof t?[t]:t):J.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(Q)return Q.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;n>i;)t[o++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i,o=[],r=0,a=t.length,s=!n;a>r;r++)i=!e(t[r],r),i!==s&&o.push(t[r]);return o},map:function(t,e,i){var o,r=0,a=t.length,s=n(t),l=[];if(s)for(;a>r;r++)o=e(t[r],r,i),null!=o&&l.push(o);else for(r in t)o=e(t[r],r,i),null!=o&&l.push(o);return X.apply([],l)},guid:1,proxy:function(t,e){var n,i,o;return"string"==typeof e&&(o=t[e],e=t,t=o),oe.isFunction(t)?(n=V.call(arguments,2),i=function(){return t.apply(e||this,n.concat(V.call(arguments)))},i.guid=t.guid=t.guid||oe.guid++,i):void 0},now:function(){return+new Date},support:ne}),oe.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){K["[object "+e+"]"]=e.toLowerCase()});var ue=/*!
15 * Sizzle CSS Selector Engine v2.2.0-pre
16 * http://sizzlejs.com/
17 *
18 * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
19 * Released under the MIT license
20 * http://jquery.org/license
21 *
22 * Date: 2014-12-16
23 */
24function(t){function e(t,e,n,i){var o,r,a,s,l,u,h,p,f,m;if((e?e.ownerDocument||e:B)!==O&&M(e),e=e||O,n=n||[],s=e.nodeType,"string"!=typeof t||!t||1!==s&&9!==s&&11!==s)return n;if(!i&&$){if(11!==s&&(o=ve.exec(t)))if(a=o[1]){if(9===s){if(r=e.getElementById(a),!r||!r.parentNode)return n;if(r.id===a)return n.push(r),n}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(a))&&z(e,r)&&r.id===a)return n.push(r),n}else{if(o[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((a=o[3])&&L.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(a)),n}if(L.qsa&&(!I||!I.test(t))){if(p=h=U,f=e,m=1!==s&&t,1===s&&"object"!==e.nodeName.toLowerCase()){for(u=C(t),(h=e.getAttribute("id"))?p=h.replace(be,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=u.length;l--;)u[l]=p+d(u[l]);f=ye.test(t)&&c(e.parentNode)||e,m=u.join(",")}if(m)try{return Q.apply(n,f.querySelectorAll(m)),n}catch(g){}finally{h||e.removeAttribute("id")}}}return k(t.replace(le,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>w.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[U]=!0,t}function o(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var n=t.split("|"),i=t.length;i--;)w.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||q)-(~t.sourceIndex||q);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function l(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function u(t){return i(function(e){return e=+e,i(function(n,i){for(var o,r=t([],n.length,e),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function c(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function h(){}function d(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,o=n&&"parentNode"===i,r=j++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||o)return t(e,n,r)}:function(e,n,a){var s,l,u=[R,r];if(a){for(;e=e[i];)if((1===e.nodeType||o)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||o){if(l=e[U]||(e[U]={}),(s=l[i])&&s[0]===R&&s[1]===r)return u[2]=s[2];if(l[i]=u,u[2]=t(e,n,a))return!0}}}function f(t){return t.length>1?function(e,n,i){for(var o=t.length;o--;)if(!t[o](e,n,i))return!1;return!0}:t[0]}function m(t,n,i){for(var o=0,r=n.length;r>o;o++)e(t,n[o],i);return i}function g(t,e,n,i,o){for(var r,a=[],s=0,l=t.length,u=null!=e;l>s;s++)(r=t[s])&&(!n||n(r,i,o))&&(a.push(r),u&&e.push(s));return a}function _(t,e,n,o,r,a){return o&&!o[U]&&(o=_(o)),r&&!r[U]&&(r=_(r,a)),i(function(i,a,s,l){var u,c,h,d=[],p=[],f=a.length,_=i||m(e||"*",s.nodeType?[s]:s,[]),v=!t||!i&&e?_:g(_,d,t,s,l),y=n?r||(i?t:f||o)?[]:a:v;if(n&&n(v,y,s,l),o)for(u=g(y,p),o(u,[],s,l),c=u.length;c--;)(h=u[c])&&(y[p[c]]=!(v[p[c]]=h));if(i){if(r||t){if(r){for(u=[],c=y.length;c--;)(h=y[c])&&u.push(v[c]=h);r(null,y=[],u,l)}for(c=y.length;c--;)(h=y[c])&&(u=r?te(i,h):d[c])>-1&&(i[u]=!(a[u]=h))}}else y=g(y===a?y.splice(f,y.length):y),r?r(null,a,y,l):Q.apply(a,y)})}function v(t){for(var e,n,i,o=t.length,r=w.relative[t[0].type],a=r||w.relative[" "],s=r?1:0,l=p(function(t){return t===e},a,!0),u=p(function(t){return te(e,t)>-1},a,!0),c=[function(t,n,i){var o=!r&&(i||n!==T)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,o}];o>s;s++)if(n=w.relative[t[s].type])c=[p(f(c),n)];else{if(n=w.filter[t[s].type].apply(null,t[s].matches),n[U]){for(i=++s;o>i&&!w.relative[t[i].type];i++);return _(s>1&&f(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(le,"$1"),n,i>s&&v(t.slice(s,i)),o>i&&v(t=t.slice(i)),o>i&&d(t))}c.push(n)}return f(c)}function y(t,n){var o=n.length>0,r=t.length>0,a=function(i,a,s,l,u){var c,h,d,p=0,f="0",m=i&&[],_=[],v=T,y=i||r&&w.find.TAG("*",u),b=R+=null==v?1:Math.random()||.1,L=y.length;for(u&&(T=a!==O&&a);f!==L&&null!=(c=y[f]);f++){if(r&&c){for(h=0;d=t[h++];)if(d(c,a,s)){l.push(c);break}u&&(R=b)}o&&((c=!d&&c)&&p--,i&&m.push(c))}if(p+=f,o&&f!==p){for(h=0;d=n[h++];)d(m,_,a,s);if(i){if(p>0)for(;f--;)m[f]||_[f]||(_[f]=X.call(l));_=g(_)}Q.apply(l,_),u&&!i&&_.length>0&&p+n.length>1&&e.uniqueSort(l)}return u&&(R=b,T=v),m};return o?i(a):a}var b,L,w,x,S,C,P,k,T,D,E,M,O,A,$,I,N,F,z,U="sizzle"+1*new Date,B=t.document,R=0,j=0,H=n(),G=n(),Z=n(),W=function(t,e){return t===e&&(E=!0),0},q=1<<31,Y={}.hasOwnProperty,V=[],X=V.pop,J=V.push,Q=V.push,K=V.slice,te=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=ie.replace("w","w#"),re="\\["+ne+"*("+ie+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+ne+"*\\]",ae=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",se=new RegExp(ne+"+","g"),le=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),ce=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),he=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),pe=new RegExp("^"+oe+"$"),fe={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie.replace("w","w*")+")"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,_e=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,Le=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xe=function(){M()};
vendor: 7,340 bytes, line 24
24try{Q.apply(V=K.call(B.childNodes),B.childNodes),V[B.childNodes.length].nodeType}catch(Se){Q={apply:V.length?function(t,e){J.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}L=e.support={},S=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},M=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:B;return i!==O&&9===i.nodeType&&i.documentElement?(O=i,A=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",xe,!1):n.attachEvent&&n.attachEvent("onunload",xe)),$=!S(i),L.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),L.getElementsByTagName=o(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),L.getElementsByClassName=_e.test(i.getElementsByClassName),L.getById=o(function(t){return A.appendChild(t).id=U,!i.getElementsByName||!i.getElementsByName(U).length}),L.getById?(w.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&$){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(t){var e=t.replace(Le,we);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(Le,we);return function(t){var n="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),w.find.TAG=L.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):L.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[o++];)1===n.nodeType&&i.push(n);return i}return r},w.find.CLASS=L.getElementsByClassName&&function(t,e){return $?e.getElementsByClassName(t):void 0},N=[],I=[],(L.qsa=_e.test(i.querySelectorAll))&&(o(function(t){A.appendChild(t).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ne+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+ne+"*(?:value|"+ee+")"),t.querySelectorAll("[id~="+U+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+U+"+*").length||I.push(".#.+[+~]")}),o(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+ne+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(L.matchesSelector=_e.test(F=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&o(function(t){L.disconnectedMatch=F.call(t,"div"),F.call(t,"[s!='']:x"),N.push("!=",ae)}),I=I.length&&new RegExp(I.join("|")),N=N.length&&new RegExp(N.join("|")),e=_e.test(A.compareDocumentPosition),z=e||_e.test(A.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return E=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n?n:(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!L.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===B&&z(B,t)?-1:e===i||e.ownerDocument===B&&z(B,e)?1:D?te(D,t)-te(D,e):0:4&n?-1:1)}:function(t,e){if(t===e)return E=!0,0;var n,o=0,r=t.parentNode,s=e.parentNode,l=[t],u=[e];if(!r||!s)return t===i?-1:e===i?1:r?-1:s?1:D?te(D,t)-te(D,e):0;if(r===s)return a(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[o]===u[o];)o++;return o?a(l[o],u[o]):l[o]===B?-1:u[o]===B?1:0},i):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&M(t),n=n.replace(he,"='$1']"),!(!L.matchesSelector||!$||N&&N.test(n)||I&&I.test(n)))try{var i=F.call(t,n);if(i||L.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(o){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&M(t),z(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&M(t);var n=w.attrHandle[e.toLowerCase()],i=n&&Y.call(w.attrHandle,e.toLowerCase())?n(t,e,!$):void 0;return void 0!==i?i:L.attributes||!$?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,o=0;if(E=!L.detectDuplicates,D=!L.sortStable&&t.slice(0),t.sort(W),E){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return D=null,t},x=e.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=x(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=x(e);return n},w=e.selectors={cacheLength:50,createPseudo:i,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(Le,we),t[3]=(t[3]||t[4]||t[5]||"").replace(Le,we),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return fe.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&de.test(n)&&(e=C(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(Le,we).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=H[t+" "];return e||(e=new RegExp("(^|"+ne+")"+t+"("+ne+"|$)"))&&H(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(o){var r=e.attr(o,t);return null==r?"!="===n:n?(r+="","="===n?r===i:"!="===n?r!==i:"^="===n?i&&0===r.indexOf(i):"*="===n?i&&r.indexOf(i)>-1:"$="===n?i&&r.slice(-i.length)===i:"~="===n?(" "+r.replace(se," ")+" ").indexOf(i)>-1:"|="===n?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,o){var r="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===o?function(t){return!!t.parentNode}:function(e,n,l){var u,c,h,d,p,f,m=r!==a?"nextSibling":"previousSibling",g=e.parentNode,_=s&&e.nodeName.toLowerCase(),v=!l&&!s;if(g){if(r){for(;m;){for(h=e;h=h[m];)if(s?h.nodeName.toLowerCase()===_:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?g.firstChild:g.lastChild],a&&v){for(c=g[U]||(g[U]={}),u=c[t]||[],p=u[0]===R&&u[1],d=u[0]===R&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(d=p=0)||f.pop();)if(1===h.nodeType&&++d&&h===e){c[t]=[R,p,d];break}}else if(v&&(u=(e[U]||(e[U]={}))[t])&&u[0]===R)d=u[1];else for(;(h=++p&&h&&h[m]||(d=p=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==_
vendor: 10,101 bytes, line 24
24:1!==h.nodeType)||!++d||(v&&((h[U]||(h[U]={}))[t]=[R,d]),h!==e)););return d-=o,d===i||d%i===0&&d/i>=0}}},PSEUDO:function(t,n){var o,r=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[U]?r(n):r.length>1?(o=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,o=r(t,n),a=o.length;a--;)i=te(t,o[a]),t[i]=!(e[i]=o[a])}):function(t){return r(t,0,o)}):r}},pseudos:{not:i(function(t){var e=[],n=[],o=P(t.replace(le,"$1"));return o[U]?i(function(t,e,n,i){for(var r,a=o(t,null,i,[]),s=t.length;s--;)(r=a[s])&&(t[s]=!(e[s]=r))}):function(t,i,r){return e[0]=t,o(e,null,r,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(Le,we),function(e){return(e.textContent||e.innerText||x(e)).indexOf(t)>-1}}),lang:i(function(t){return pe.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(Le,we).toLowerCase(),function(e){var n;do if(n=$?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===A},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return ge.test(t.nodeName)},input:function(t){return me.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,n){return[0>n?n+e:n]}),even:u(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:u(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:u(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:u(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=l(b);return h.prototype=w.filters=w.pseudos,w.setFilters=new h,C=e.tokenize=function(t,n){var i,o,r,a,s,l,u,c=G[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=w.preFilter;s;){(!i||(o=ue.exec(s)))&&(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=ce.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(le," ")}),s=s.slice(i.length));for(a in w.filter)!(o=fe[a].exec(s))||u[a]&&!(o=u[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):G(t,l).slice(0)},P=e.compile=function(t,e){var n,i=[],o=[],r=Z[t+" "];if(!r){for(e||(e=C(t)),n=e.length;n--;)r=v(e[n]),r[U]?i.push(r):o.push(r);r=Z(t,y(o,i)),r.selector=t}return r},k=e.select=function(t,e,n,i){var o,r,a,s,l,u="function"==typeof t&&t,h=!i&&C(t=u.selector||t);if(n=n||[],1===h.length){if(r=h[0]=h[0].slice(0),r.length>2&&"ID"===(a=r[0]).type&&L.getById&&9===e.nodeType&&$&&w.relative[r[1].type]){if(e=(w.find.ID(a.matches[0].replace(Le,we),e)||[])[0],!e)return n;u&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(o=fe.needsContext.test(t)?0:r.length;o--&&(a=r[o],!w.relative[s=a.type]);)if((l=w.find[s])&&(i=l(a.matches[0].replace(Le,we),ye.test(r[0].type)&&c(e.parentNode)||e))){if(r.splice(o,1),t=i.length&&d(r),!t)return Q.apply(n,i),n;break}}return(u||P(t,h))(i,e,!$,n,ye.test(t)&&c(e.parentNode)||e),n},L.sortStable=U.split("").sort(W).join("")===U,L.detectDuplicates=!!E,M(),L.sortDetached=o(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),L.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||r(ee,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);oe.find=ue,oe.expr=ue.selectors,oe.expr[":"]=oe.expr.pseudos,oe.unique=ue.uniqueSort,oe.text=ue.getText,oe.isXMLDoc=ue.isXML,oe.contains=ue.contains;var ce=oe.expr.match.needsContext,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,de=/^.[^:#\[\.,]*$/;oe.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?oe.find.matchesSelector(i,t)?[i]:[]:oe.find.matches(t,oe.grep(e,function(t){return 1===t.nodeType}))},oe.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(oe(t).filter(function(){for(e=0;o>e;e++)if(oe.contains(i[e],this))return!0}));for(e=0;o>e;e++)oe.find(t,i[e],n);return n=this.pushStack(o>1?oe.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ce.test(t)?oe(t):t||[],!1).length}});var pe,fe=t.document,me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ge=oe.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:me.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||pe).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof oe?e[0]:e,oe.merge(this,oe.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:fe,!0)),he.test(n[1])&&oe.isPlainObject(e))for(n in e)oe.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(i=fe.getElementById(n[2]),i&&i.parentNode){if(i.id!==n[2])return pe.find(t);this.length=1,this[0]=i}return this.context=fe,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):oe.isFunction(t)?"undefined"!=typeof pe.ready?pe.ready(t):t(oe):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),oe.makeArray(t,this))};ge.prototype=oe.fn,pe=oe(fe);var _e=/^(?:parents|prev(?:Until|All))/,ve={children:!0,contents:!0,next:!0,prev:!0};oe.extend({dir:function(t,e,n){for(var i=[],o=t[e];o&&9!==o.nodeType&&(void 0===n||1!==o.nodeType||!oe(o).is(n));)1===o.nodeType&&i.push(o),o=o[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),oe.fn.extend({has:function(t){var e,n=oe(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(oe.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,r=[],a=ce.test(t)||"string"!=typeof t?oe(t,e||this.context):0;o>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&oe.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?oe.unique(r):r)},index:function(t){return t?"string"==typeof t?oe.inArray(this[0],oe(t)):oe.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(oe.unique(oe.merge(this.get(),oe(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),oe.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return oe.dir(t,"parentNode")},parentsUntil:function(t,e,n){return oe.dir(t,"parentNode",n)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return oe.dir(t,"nextSibling")},prevAll:function(t){return oe.dir(t,"previousSibling")},nextUntil:function(t,e,n){return oe.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return oe.dir(t,"previousSibling",n)},siblings:function(t){return oe.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return oe.sibling(t.firstChild)},contents:function(t){return oe.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:oe.merge([],t.childNodes)}},function(t,e){oe.fn[t]=function(n,i){var o=oe.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=oe.filter(i,o)),this.length>1&&(ve[t]||(o=oe.unique(o)),_e.test(t)&&(o=o.reverse())),this.pushStack(o)}});var ye=/\S+/g,be={};oe.Callbacks=function(t){t="string"==typeof t?be[t]||r(t):oe.extend({},t);var e,n,i,o,a,s,l=[],u=!t.once&&[],c=function(r){for(n=t.memory&&r,i=!0,a=s||0,s=0,o=l.length,e=!0;l&&o>a;a++)if(l[a].apply(r[0],r[1])===!1&&t.stopOnFalse){n=!1;break}e=!1,l&&(u?u.length&&c(u.shift()):n?l=[]:h.disable())},h={add:function(){if(l){var i=l.length;!function r(e){oe.each(e,function(e,n){var i=oe.type(n);"function"===i?t.unique&&h.has(n)||l.push(n):n&&n.length&&"string"!==i&&r(n)})}(arguments),e?o=l.length:n&&(s=i,c(n))}return this},remove:function(){return l&&oe.each(arguments,function(t,n){for(var i;(i=oe.inArray(n,l,i))>-1;)l.splice(i,1),e&&(o>=i&&o--,a>=i&&a--)}),this},has:function(t){return t?oe.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||h.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!l||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.push(n):c(n)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h},oe.extend({Deferred:function(t){var e=[["resolve","done",oe.Callbacks("once memory"),"resolved"],["reject","fail",oe.Callbacks("once memory"),"rejected"],["notify","progress",oe.Callbacks("memory")]],n="pe
24nding",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return oe.Deferred(function(n){oe.each(e,function(e,r){var a=oe.isFunction(t[e])&&t[e];o[r[1]](function(){var t=a&&a.apply(this,arguments);t&&oe.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[r[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?oe.extend(t,i):i}},o={};return i.pipe=i.then,oe.each(e,function(t,r){var a=r[2],s=r[3];i[r[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),o[r[0]]=function(){return o[r[0]+"With"](this===o?i:this,arguments),this},o[r[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e,n,i,o=0,r=V.call(arguments),a=r.length,s=1!==a||t&&oe.isFunction(t.promise)?a:0,l=1===s?t:oe.Deferred(),u=function(t,n,i){return function(o){n[t]=this,i[t]=arguments.length>1?V.call(arguments):o,i===e?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);a>o;o++)r[o]&&oe.isFunction(r[o].promise)?r[o].promise().done(u(o,i,r)).fail(l.reject).progress(u(o,n,e)):--s;return s||l.resolveWith(i,r),l.promise()}});var Le;oe.fn.ready=function(t){return oe.ready.promise().done(t),this},oe.extend({isReady:!1,readyWait:1,holdReady:function(t){t?oe.readyWait++:oe.ready(!0)},ready:function(t){if(t===!0?!--oe.readyWait:!oe.isReady){if(!fe.body)return setTimeout(oe.ready);oe.isReady=!0,t!==!0&&--oe.readyWait>0||(Le.resolveWith(fe,[oe]),oe.fn.triggerHandler&&(oe(fe).triggerHandler("ready"),oe(fe).off("ready")))}}}),oe.ready.promise=function(e){if(!Le)if(Le=oe.Deferred(),"complete"===fe.readyState)setTimeout(oe.ready);else if(fe.addEventListener)fe.addEventListener("DOMContentLoaded",s,!1),t.addEventListener("load",s,!1);else{fe.attachEvent("onreadystatechange",s),t.attachEvent("onload",s);var n=!1;try{n=null==t.frameElement&&fe.documentElement}catch(i){}n&&n.doScroll&&!function o(){if(!oe.isReady){try{n.doScroll("left")}catch(t){return setTimeout(o,50)}a(),oe.ready()}}()}return Le.promise(e)};var we,xe="undefined";for(we in oe(ne))break;ne.ownLast="0"!==we,ne.inlineBlockNeedsLayout=!1,oe(function(){var t,e,n,i;n=fe.getElementsByTagName("body")[0],n&&n.style&&(e=fe.createElement("div"),i=fe.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==xe&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ne.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=fe.createElement("div");if(null==ne.deleteExpando){ne.deleteExpando=!0;try{delete t.test}catch(e){ne.deleteExpando=!1}}t=null}(),oe.acceptData=function(t){var e=oe.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return 1!==n&&9!==n?!1:!e||e!==!0&&t.getAttribute("classid")===e};var Se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ce=/([A-Z])/g;oe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?oe.cache[t[oe.expando]]:t[oe.expando],!!t&&!u(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return h(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return h(t,e,!0)}}),oe.fn.extend({data:function(t,e){var n,i,o,r=this[0],a=r&&r.attributes;if(void 0===t){if(this.length&&(o=oe.data(r),1===r.nodeType&&!oe._data(r,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=oe.camelCase(i.slice(5)),l(r,i,o[i])));oe._data(r,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){oe.data(this,t)}):arguments.length>1?this.each(function(){oe.data(this,t,e)}):r?l(r,t,oe.data(r,t)):void 0},removeData:function(t){return this.each(function(){oe.removeData(this,t)})}}),oe.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=oe._data(t,e),n&&(!i||oe.isArray(n)?i=oe._data(t,e,oe.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=oe.queue(t,e),i=n.length,o=n.shift(),r=oe._queueHooks(t,e),a=function(){oe.dequeue(t,e)};"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete r.stop,o.call(t,a,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return oe._data(t,n)||oe._data(t,n,{empty:oe.Callbacks("once memory").add(function(){oe._removeData(t,e+"queue"),oe._removeData(t,n)})})}}),oe.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?oe.queue(this[0],t):void 0===e?this:this.each(function(){var n=oe.queue(this,t,e);oe._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&oe.dequeue(this,t)})},dequeue:function(t){return this.each(function(){oe.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,o=oe.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)n=oe._data(r[a],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(e)}});var Pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ke=["Top","Right","Bottom","Left"],Te=function(t,e){return t=e||t,"none"===oe.css(t,"display")||!oe.contains(t.ownerDocument,t)},De=oe.access=function(t,e,n,i,o,r,a){var s=0,l=t.length,u=null==n;
vendor: 6,423 bytes, lines 24-25
24if("object"===oe.type(n)){o=!0;for(s in n)oe.access(t,e,s,n[s],!0,r,a)}else if(void 0!==i&&(o=!0,oe.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(oe(t),n)})),e))for(;l>s;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return o?t:u?e.call(t):l?e(t[0],n):r},Ee=/^(?:checkbox|radio)$/i;!function(){var t=fe.createElement("input"),e=fe.createElement("div"),n=fe.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ne.leadingWhitespace=3===e.firstChild.nodeType,ne.tbody=!e.getElementsByTagName("tbody").length,ne.htmlSerialize=!!e.getElementsByTagName("link").length,ne.html5Clone="<:nav></:nav>"!==fe.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),ne.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",ne.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",ne.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ne.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){ne.noCloneEvent=!1}),e.cloneNode(!0).click()),null==ne.deleteExpando){ne.deleteExpando=!0;try{delete e.test}catch(i){ne.deleteExpando=!1}}}(),function(){var e,n,i=fe.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(ne[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),ne[e+"Bubbles"]=i.attributes[n].expando===!1);i=null}();var Me=/^(?:input|select|textarea)$/i,Oe=/^key/,Ae=/^(?:mouse|pointer|contextmenu)|click/,$e=/^(?:focusinfocus|focusoutblur)$/,Ie=/^([^.]*)(?:\.(.+)|)$/;oe.event={global:{},add:function(t,e,n,i,o){var r,a,s,l,u,c,h,d,p,f,m,g=oe._data(t);if(g){for(n.handler&&(l=n,n=l.handler,o=l.selector),n.guid||(n.guid=oe.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof oe===xe||t&&oe.event.triggered===t.type?void 0:oe.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(ye)||[""],s=e.length;s--;)r=Ie.exec(e[s])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p&&(u=oe.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=oe.event.special[p]||{},h=oe.extend({type:p,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&oe.expr.match.needsContext.test(o),namespace:f.join(".")},l),(d=a[p])||(d=a[p]=[],d.delegateCount=0,u.setup&&u.setup.call(t,i,f,c)!==!1||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,h):d.push(h),oe.event.global[p]=!0);t=null}},remove:function(t,e,n,i,o){var r,a,s,l,u,c,h,d,p,f,m,g=oe.hasData(t)&&oe._data(t);if(g&&(c=g.events)){for(e=(e||"").match(ye)||[""],u=e.length;u--;)if(s=Ie.exec(e[u])||[],p=m=s[1],f=(s[2]||"").split(".").sort(),p){for(h=oe.event.special[p]||{},p=(i?h.delegateType:h.bindType)||p,d=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=d.length;r--;)a=d[r],!o&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||i&&i!==a.selector&&("**"!==i||!a.selector)||(d.splice(r,1),a.selector&&d.delegateCount--,h.remove&&h.remove.call(t,a));l&&!d.length&&(h.teardown&&h.teardown.call(t,f,g.handle)!==!1||oe.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)oe.event.remove(t,p+e[u],n,i,!0);oe.isEmptyObject(c)&&(delete g.handle,oe._removeData(t,"events"))}},trigger:function(e,n,i,o){var r,a,s,l,u,c,h,d=[i||fe],p=ee.call(e,"type")?e.type:e,f=ee.call(e,"namespace")?e.namespace.split("."):[];if(s=c=i=i||fe,3!==i.nodeType&&8!==i.nodeType&&!$e.test(p+oe.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[oe.expando]?e:new oe.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:oe.makeArray(n,[e]),u=oe.event.special[p]||{},o||!u.trigger||u.trigger.apply(i,n)!==!1)){if(!o&&!u.noBubble&&!oe.isWindow(i)){for(l=u.delegateType||p,$e.test(l+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;
25c===(i.ownerDocument||fe)&&d.push(c.defaultView||c.parentWindow||t)}for(h=0;(s=d[h++])&&!e.isPropagationStopped();)e.type=h>1?l:u.bindType||p,r=(oe._data(s,"events")||{})[e.type]&&oe._data(s,"handle"),r&&r.apply(s,n),r=a&&s[a],r&&r.apply&&oe.acceptData(s)&&(e.result=r.apply(s,n),e.result===!1&&e.preventDefault());if(e.type=p,!o&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(d.pop(),n)===!1)&&oe.acceptData(i)&&a&&i[p]&&!oe.isWindow(i)){c=i[a],c&&(i[a]=null),oe.event.triggered=p;try{i[p]()}catch(m){}oe.event.triggered=void 0,c&&(i[a]=c)}return e.result}},dispatch:function(t){t=oe.event.fix(t);var e,n,i,o,r,a=[],s=V.call(arguments),l=(oe._data(this,"events")||{})[t.type]||[],u=oe.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(a=oe.event.handlers.call(this,t,l),e=0;(o=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,n=((oe.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,r,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(o=[],r=0;s>r;r++)i=e[r],n=i.selector+" ",void 0===o[n]&&(o[n]=i.needsContext?oe(n,this).index(l)>=0:oe.find(n,this,null,[l]).length),o[n]&&o.push(i);o.length&&a.push({elem:l,handlers:o})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},fix:function(t){if(t[oe.expando])return t;var e,n,i,o=t.type,r=t,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Ae.test(o)?this.mouseHooks:Oe.test(o)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new oe.Event(r),e=i.length;e--;)n=i[e],t[n]=r[n];return t.target||(t.target=r.srcElement||fe),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
vendor: 16,472 bytes, line 25
25,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o,r=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||fe,o=i.documentElement,n=i.body,t.pageX=e.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==f()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return oe.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return oe.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var o=oe.extend(new oe.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?oe.event.trigger(o,null,e):oe.event.dispatch.call(e,o),o.isDefaultPrevented()&&n.preventDefault()}},oe.removeEvent=fe.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===xe&&(t[i]=null),t.detachEvent(i,n))},oe.Event=function(t,e){return this instanceof oe.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?d:p):this.type=t,e&&oe.extend(this,e),this.timeStamp=t&&t.timeStamp||oe.now(),void(this[oe.expando]=!0)):new oe.Event(t,e)},oe.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=d,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},oe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){oe.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,o=t.relatedTarget,r=t.handleObj;return(!o||o!==i&&!oe.contains(i,o))&&(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),ne.submitBubbles||(oe.event.special.submit={setup:function(){return oe.nodeName(this,"form")?!1:void oe.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=oe.nodeName(e,"input")||oe.nodeName(e,"button")?e.form:void 0;n&&!oe._data(n,"submitBubbles")&&(oe.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),oe._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&oe.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return oe.nodeName(this,"form")?!1:void oe.event.remove(this,"._submit")}}),ne.changeBubbles||(oe.event.special.change={setup:function(){return Me.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(oe.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),oe.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),oe.event.simulate("change",this,t,!0)})),!1):void oe.event.add(this,"beforeactivate._change",function(t){var e=t.target;Me.test(e.nodeName)&&!oe._data(e,"changeBubbles")&&(oe.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||oe.event.simulate("change",this.parentNode,t,!0)}),oe._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return oe.event.remove(this,"._change"),!Me.test(this.nodeName)}}),ne.focusinBubbles||oe.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){oe.event.simulate(e,t.target,oe.event.fix(t),!0)};oe.event.special[e]={setup:function(){var i=this.ownerDocument||this,o=oe._data(i,e);o||i.addEventListener(t,n,!0),oe._data(i,e,(o||0)+1)},teardown:function(){var i=this.ownerDocument||this,o=oe._data(i,e)-1;o?oe._data(i,e,o):(i.removeEventListener(t,n,!0),oe._removeData(i,e))}}}),oe.fn.extend({on:function(t,e,n,i,o){var r,a;if("object"==typeof t){"string"!=typeof e&&(n=n||e,e=void 0);for(r in t)this.on(r,e,n,t[r],o);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),i===!1)i=p;else if(!i)return this;return 1===o&&(a=i,i=function(t){return oe().off(t),a.apply(this,arguments)},i.guid=a.guid||(a.guid=oe.guid++)),this.each(function(){oe.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,oe(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return(e===!1||"function"==typeof e)&&(n=e,e=void 0),n===!1&&(n=p),this.each(function(){oe.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){oe.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?oe.event.trigger(t,e,n,!0):void 0}});var Ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Fe=/ jQuery\d+="(?:null|\d+)"/g,ze=new RegExp("<(?:"+Ne+")[\\s/>]","i"),Ue=/^\s+/,Be=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Re=/<([\w:]+)/,je=/<tbody/i,He=/<|&#?\w+;/,Ge=/<(?:script|style|link)/i,Ze=/checked\s*(?:[^=]|=\s*.checked.)/i,We=/^$|\/(?:java|ecma)script/i,qe=/^true\/(.*)/,Ye=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ve={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ne.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Xe=m(fe),Je=Xe.appendChild(fe.createElement("div"));Ve.optgroup=Ve.option,Ve.tbody=Ve.tfoot=Ve.colgroup=Ve.caption=Ve.thead,Ve.th=Ve.td,oe.extend({clone:function(t,e,n){var i,o,r,a,s,l=oe.contains(t.ownerDocument,t);if(ne.html5Clone||oe.isXMLDoc(t)||!ze.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(Je.innerHTML=t.outerHTML,Je.removeChild(r=Je.firstChild)),!(ne.noCloneEvent&&ne.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||oe.isXMLDoc(t)))for(i=g(r),s=g(t),a=0;null!=(o=s[a]);++a)i[a]&&x(o,i[a]);if(e)if(n)for(s=s||g(t),i=i||g(r),a=0;null!=(o=s[a]);a++)w(o,i[a]);else w(t,r);return i=g(r,"script"),i.length>0&&L(i,!l&&g(t,"script")),i=s=o=null,r},buildFragment:function(t,e,n,i){for(var o,r,a,s,l,u,c,h=t.length,d=m(e),p=[],f=0;h>f;f++)if(r=t[f],r||0===r)if("object"===oe.type(r))oe.merge(p,r.nodeType?[r]:r);else if(He.test(r)){for(s=s||d.appendChild(e.createElement("div")),l=(Re.exec(r)||["",""])[1].toLowerCase(),c=Ve[l]||Ve._default,s.innerHTML=c[1]+r.replace(Be,"<$1></$2>")+c[2],o=c[0];o--;)s=s.lastChild;if(!ne.leadingWhitespace&&Ue.test(r)&&p.push(e.createTextNode(Ue.exec(r)[0])),!ne.tbody)for(r="table"!==l||je.test(r)?"<table>"!==c[1]||je.test(r)?0:s:s.firstChild,o=r&&r.childNodes.length;o--;)oe.nodeName(u=r.childNodes[o],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(oe.merge(p,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else p.push(e.createTextNode(r));for(s&&d.removeChild(s),ne.appendChecked||oe.grep(g(p,"input"),_),f=0;r=p[f++];)if((!i||-1===oe.inArray(r,i))&&(a=oe.contains(r.ownerDocument,r),s=g(d.appendChild(r),"script"),a&&L(s),n))for(o=0;r=s[o++];)We.test(r.type||"")&&n.push(r);return s=null,d},cleanData:function(t,e){for(var n,i,o,r,a=0,s=oe.expando,l=oe.cache,u=ne.deleteExpando,c=oe.event.special;null!=(n=t[a]);a++)if((e||oe.acceptData(n))&&(o=n[s],r=o&&l[o])){if(r.events)for(i in r.events)c[i]?oe.event.remove(n,i):oe.removeEvent(n,i,r.handle);l[o]&&(delete l[o],u?delete n[s]:typeof n.removeAttribute!==xe?n.removeAttribute(s):n[s]=null,Y.push(o))}}}),oe.fn.extend({text:function(t){return De(this,function(t){return void 0===t?oe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||fe).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=v(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=v(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?oe.filter(t,this):this,o=0;null!=(n=i[o]);o++)e||1!==n.nodeType||oe.cleanData(g(n)),n.parentNode&&(e&&oe.contains(n.ownerDocument,n)&&L(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&oe.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&oe.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return oe.clone(this,t,e)})},html:function(t){return De(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Fe,""):void 0;if(!("string"!=typeof t||Ge.test(t)||!ne.htmlSerialize&&ze.test(t)||!ne.leadingWhitespace&&Ue.test(t)||Ve[(Re.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Be,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(oe.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,oe.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=X.apply([],t);var n,i,o,r,a,s,l=0,u=this.length,c=this,h=u-1,d=t[0],p=oe.isFunction(d);if(p||u>1&&"string"==typeof d&&!ne.checkClone&&Ze.test(d))return this.each(function(n){var i=c.eq(n);p&&(t[0]=d.call(this,n,i.html())),i.domManip(t,e)});if(u&&(s=oe.buildFragment(t,this[0].ownerDocument,!1,this),n=s.firstChild,1===s.childNodes.length&&(s=n),n)){for(r=oe.map(g(s,"script"),y),o=r.length;u>l;l++)i=s,l!==h&&(i=oe.clone(i,!0,!0),o&&oe.merge(r,g(i,"script"))),e.call(this[l],i,l);if(o)for(a=r[r.length-1].ownerDocument,oe.map(r,b),l=0;o>l;l++)i=r[l],We.test(i.type||"")&&!oe._data(i,"globalEval")&&oe.contains(a,i)&&(i.src?oe._evalUrl&&oe._evalUrl(i.src):oe.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Ye,"")));s=n=null}return this}}),oe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){oe.fn[t]=function(t){for(var n,i=0,o=[],r=oe(t),a=r.length-1;a>=i;i++)n=i===a?this:this.clone(!0),oe(r[i])[e](n),J.apply(o,n.get());return this.pushStack(o)}});var Qe,Ke={};!function(){var t;ne.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,i;return n=fe.getElementsByTagName("body")[0],n&&n.style?(e=fe.createElement("div"),i=fe.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==xe&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(fe.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}();var tn,en,nn=/^margin/,on=new RegExp("^("+Pe+")(?!px)[a-z%]+$","i"),rn=/^(top|right|bottom|left)$/;t.getComputedStyle?(tn=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},en=function(t,e,n){var i,o,r,a,s=t.style;return n=n||tn(t),a=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==a||oe.contains(t.ownerDocument,t)||(a=oe.style(t,e)),on.test(a)&&nn.test(e)&&(i=s.width,o=s.minWidth,r=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=o,s.maxWidth=r)),void 0===a?a:a+""}):fe.documentElement.currentStyle&&(tn=function(t){return t.currentStyle},en=function(t,e,n){var i,o,r,a,s=t.style;return n=n||tn(t),a=n?n[e]:void 0,null==a&&s&&s[e]&&(a=s[e]),on.test(a)&&!rn.test(e)&&(i=s.left,o=t.runtimeStyle,r=o&&o.left,r&&(o.left=t.currentStyle.left),s.left="fontSize"===e?"1em":a,a=s.pixelLeft+"px",s.left=i,r&&(o.left=r)),void 0===a?a:a+""||"auto"}),function(){function e(){var e,n,i,o;n=fe.getElementsByTagName("body")[0],n&&n.style&&(e=fe.createElement("div"),i=fe.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=a=!1,l=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,a="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,o=e.appendChild(fe.createElement("div")),o.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",o.style.marginRight=o.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(o,null)||{}).marginRight),e.removeChild(o)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=e.getElementsByTagName("td"),o[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===o[0].offsetHeight,s&&(o[0].style.display="",o[1].style.display="none",s=0===o[0].offsetHeight),n.removeChild(i))}var n,i,o,r,a,s,l;n=fe.createElement("div"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",o=n.getElementsByTagName("a")[0],i=o&&o.style,i&&(i.cssText="float:left;opacity:.5",ne.opacity="0.5"===i.opacity,ne.cssFloat=!!i.cssFloat,n.style.backgroundClip="content-box",n.cloneNode(!0).style.backgroundClip="",ne.clearCloneStyle="content-box"===n.style.backgroundClip,ne.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,oe.extend(ne,{reliableHiddenOffsets:function(){return null==s&&e(),s},boxSizingReliable:function(){return null==a&&e(),a},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==l&&e(),l}}))}(),oe.swap=function(t,e,n,i){var o,r,a={};for(r in e)a[r]=t.style[r],t.style[r]=e[r];o=n.apply(t,i||[]);for(r in e)t.style[r]=a[r];return o};var an=/alpha\([^)]*\)/i,sn=/opacity\s*=\s*([^)]*)/,ln=/^(none|table(?!-c[ea]).+)/,un=new RegExp("^("+Pe+")(.*)$","i"),cn=new RegExp("^([+-])=("+Pe+")","i"),hn={position:"absolute",visibility:"hidden",display:"block"},dn={letterSpacing:"0",fontWeight:"400"},pn=["Webkit","O","Moz","ms"];oe.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=en(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ne.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,r,a,s=oe.camelCase(e),l=t.style;if(e=oe.cssProps[s]||(oe.cssProps[s]=k(l,s)),a=oe.cssHooks[e]||oe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,i))?o:l[e];
vendor: 6,993 bytes, line 25
25if(r=typeof n,"string"===r&&(o=cn.exec(n))&&(n=(o[1]+1)*o[2]+parseFloat(oe.css(t,e)),r="number"),null!=n&&n===n&&("number"!==r||oe.cssNumber[s]||(n+="px"),ne.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(t,n,i)))))try{l[e]=n}catch(u){}}},css:function(t,e,n,i){var o,r,a,s=oe.camelCase(e);return e=oe.cssProps[s]||(oe.cssProps[s]=k(t.style,s)),a=oe.cssHooks[e]||oe.cssHooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=en(t,e,i)),"normal"===r&&e in dn&&(r=dn[e]),""===n||n?(o=parseFloat(r),n===!0||oe.isNumeric(o)?o||0:r):r}}),oe.each(["height","width"],function(t,e){oe.cssHooks[e]={get:function(t,n,i){return n?ln.test(oe.css(t,"display"))&&0===t.offsetWidth?oe.swap(t,hn,function(){return M(t,e,i)}):M(t,e,i):void 0},set:function(t,n,i){var o=i&&tn(t);return D(t,n,i?E(t,e,i,ne.boxSizing&&"border-box"===oe.css(t,"boxSizing",!1,o),o):0)}}}),ne.opacity||(oe.cssHooks.opacity={get:function(t,e){return sn.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,o=oe.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===oe.trim(r.replace(an,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=an.test(r)?r.replace(an,o):r+" "+o)}}),oe.cssHooks.marginRight=P(ne.reliableMarginRight,function(t,e){return e?oe.swap(t,{display:"inline-block"},en,[t,"marginRight"]):void 0}),oe.each({margin:"",padding:"",border:"Width"},function(t,e){oe.cssHooks[t+e]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];4>i;i++)o[t+ke[i]+e]=r[i]||r[i-2]||r[0];return o}},nn.test(t)||(oe.cssHooks[t+e].set=D)}),oe.fn.extend({css:function(t,e){return De(this,function(t,e,n){var i,o,r={},a=0;if(oe.isArray(e)){for(i=tn(t),o=e.length;o>a;a++)r[e[a]]=oe.css(t,e[a],!1,i);return r}return void 0!==n?oe.style(t,e,n):oe.css(t,e)},t,e,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Te(this)?oe(this).show():oe(this).hide()})}}),oe.Tween=O,O.prototype={constructor:O,init:function(t,e,n,i,o,r){this.elem=t,this.prop=n,this.easing=o||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(oe.cssNumber[n]?"":"px")},cur:function(){var t=O.propHooks[this.prop];return t&&t.get?t.get(this):O.propHooks._default.get(this)},run:function(t){var e,n=O.propHooks[this.prop];return this.pos=e=this.options.duration?oe.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=oe.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){oe.fx.step[t.prop]?oe.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[oe.cssProps[t.prop]]||oe.cssHooks[t.prop])?oe.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},oe.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},oe.fx=O.prototype.init,oe.fx.step={};var fn,mn,gn=/^(?:toggle|show|hide)$/,_n=new RegExp("^(?:([+-])=|)("+Pe+")([a-z%]*)$","i"),vn=/queueHooks$/,yn=[N],bn={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),o=_n.exec(e),r=o&&o[3]||(oe.cssNumber[t]?"":"px"),a=(oe.cssNumber[t]||"px"!==r&&+i)&&_n.exec(oe.css(n.elem,t)),s=1,l=20;if(a&&a[3]!==r){r=r||a[3],o=o||[],a=+i||1;do s=s||".5",a/=s,oe.style(n.elem,t,a+r);while(s!==(s=n.cur()/i)&&1!==s&&--l)}return o&&(a=n.start=+a||+i||0,n.unit=r,n.end=o[1]?a+(o[1]+1)*o[2]:+o[2]),n}]};oe.Animation=oe.extend(z,{tweener:function(t,e){oe.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,o=t.length;o>i;i++)n=t[i],bn[n]=bn[n]||[],bn[n].unshift(e)},prefilter:function(t,e){e?yn.unshift(t):yn.push(t)}}),oe.speed=function(t,e,n){var i=t&&"object"==typeof t?oe.extend({},t):{complete:n||!n&&e||oe.isFunction(t)&&t,duration:t,easing:n&&e||e&&!oe.isFunction(e)&&e};return i.duration=oe.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in oe.fx.speeds?oe.fx.speeds[i.duration]:oe.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){oe.isFunction(i.old)&&i.old.call(this),i.queue&&oe.dequeue(this,i.queue)},i},oe.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Te).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var o=oe.isEmptyObject(t),r=oe.speed(e,n,i),a=function(){var e=z(this,oe.extend({},t),r);(o||oe._data(this,"finish"))&&e.stop(!0)};return a.finish=a,o||r.queue===!1?this.each(a):this.queue(r.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",r=oe.timers,a=oe._data(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&vn.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=t&&r[o].queue!==t||(r[o].anim.stop(n),e=!1,r.splice(o,1));(e||!n)&&oe.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,n=oe._data(this),i=n[t+"queue"],o=n[t+"queueHooks"],r=oe.timers,a=i?i.length:0;for(n.finish=!0,oe.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;a>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),oe.each(["toggle","show","hide"],function(t,e){var n=oe.fn[e];oe.fn[e]=function(t,i,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate($(e,!0),t,i,o)}}),oe.each({slideDown:$("show"),slideUp:$("hide"),slideToggle:$("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){oe.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),oe.timers=[],oe.fx.tick=function(){var t,e=oe.timers,n=0;for(fn=oe.now();n<e.length;n++)t=e[n],t()||e[n]!==t||e.splice(n--,1);e.length||oe.fx.stop(),fn=void 0},oe.fx.timer=function(t){oe.timers.push(t),t()?oe.fx.start():oe.timers.pop()},oe.fx.interval=13,oe.fx.start=function(){mn||(mn=setInterval(oe.fx.tick,oe.fx.interval))},oe.fx.stop=function(){clearInterval(mn),mn=null},oe.fx.speeds={slow:600,fast:200,_default:400},oe.fn.delay=function(t,e){return t=oe.fx?oe.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,o;e=fe.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a>
25<input type='checkbox'/>",i=e.getElementsByTagName("a")[0],n=fe.createElement("select"),o=n.appendChild(fe.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",ne.getSetAttribute="t"!==e.className,ne.style=/top/.test(i.getAttribute("style")),ne.hrefNormalized="/a"===i.getAttribute("href"),ne.checkOn=!!t.value,ne.optSelected=o.selected,ne.enctype=!!fe.createElement("form").enctype,n.disabled=!0,ne.optDisabled=!o.disabled,t=fe.createElement("input"),t.setAttribute("value",""),ne.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ne.radioValue="t"===t.value}();var Ln=/\r/g;oe.fn.extend({val:function(t){var e,n,i,o=this[0];{if(arguments.length)return i=oe.isFunction(t),this.each(function(n){var o;1===this.nodeType&&(o=i?t.call(this,n,oe(this).val()):t,null==o?o="":"number"==typeof o?o+="":oe.isArray(o)&&(o=oe.map(o,function(t){return null==t?"":t+""})),e=oe.valHooks[this.type]||oe.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))});if(o)return e=oe.valHooks[o.type]||oe.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Ln,""):null==n?"":n)}}}),oe.extend({valHooks:{option:{get:function(t){var e=oe.find.attr(t,"value");return null!=e?e:oe.trim(oe.text(t))}}
vendor: 18,940 bytes, lines 25-26
25,select:{get:function(t){for(var e,n,i=t.options,o=t.selectedIndex,r="select-one"===t.type||0>o,a=r?null:[],s=r?o+1:i.length,l=0>o?s:r?o:0;s>l;l++)if(n=i[l],!(!n.selected&&l!==o||(ne.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&oe.nodeName(n.parentNode,"optgroup"))){if(e=oe(n).val(),r)return e;a.push(e)}return a},set:function(t,e){for(var n,i,o=t.options,r=oe.makeArray(e),a=o.length;a--;)if(i=o[a],oe.inArray(oe.valHooks.option.get(i),r)>=0)try{i.selected=n=!0}catch(s){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),o}}}}),oe.each(["radio","checkbox"],function(){oe.valHooks[this]={set:function(t,e){return oe.isArray(e)?t.checked=oe.inArray(oe(t).val(),e)>=0:void 0}},ne.checkOn||(oe.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var wn,xn,Sn=oe.expr.attrHandle,Cn=/^(?:checked|selected)$/i,Pn=ne.getSetAttribute,kn=ne.input;oe.fn.extend({attr:function(t,e){return De(this,oe.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){oe.removeAttr(this,t)})}}),oe.extend({attr:function(t,e,n){var i,o,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute===xe?oe.prop(t,e,n):(1===r&&oe.isXMLDoc(t)||(e=e.toLowerCase(),i=oe.attrHooks[e]||(oe.expr.match.bool.test(e)?xn:wn)),void 0===n?i&&"get"in i&&null!==(o=i.get(t,e))?o:(o=oe.find.attr(t,e),null==o?void 0:o):null!==n?i&&"set"in i&&void 0!==(o=i.set(t,n,e))?o:(t.setAttribute(e,n+""),n):void oe.removeAttr(t,e))},removeAttr:function(t,e){var n,i,o=0,r=e&&e.match(ye);if(r&&1===t.nodeType)for(;n=r[o++];)i=oe.propFix[n]||n,oe.expr.match.bool.test(n)?kn&&Pn||!Cn.test(n)?t[i]=!1:t[oe.camelCase("default-"+n)]=t[i]=!1:oe.attr(t,n,""),t.removeAttribute(Pn?n:i)},attrHooks:{type:{set:function(t,e){if(!ne.radioValue&&"radio"===e&&oe.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),xn={set:function(t,e,n){return e===!1?oe.removeAttr(t,n):kn&&Pn||!Cn.test(n)?t.setAttribute(!Pn&&oe.propFix[n]||n,n):t[oe.camelCase("default-"+n)]=t[n]=!0,n}},oe.each(oe.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Sn[e]||oe.find.attr;Sn[e]=kn&&Pn||!Cn.test(e)?function(t,e,i){var o,r;return i||(r=Sn[e],Sn[e]=o,o=null!=n(t,e,i)?e.toLowerCase():null,Sn[e]=r),o}:function(t,e,n){return n?void 0:t[oe.camelCase("default-"+e)]?e.toLowerCase():null}}),kn&&Pn||(oe.attrHooks.value={set:function(t,e,n){return oe.nodeName(t,"input")?void(t.defaultValue=e):wn&&wn.set(t,e,n)}}),Pn||(wn={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},Sn.id=Sn.name=Sn.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},oe.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:wn.set},oe.attrHooks.contenteditable={set:function(t,e,n){wn.set(t,""===e?!1:e,n)}},oe.each(["width","height"],function(t,e){oe.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),ne.style||(oe.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Tn=/^(?:input|select|textarea|button|object)$/i,Dn=/^(?:a|area)$/i;oe.fn.extend({prop:function(t,e){return De(this,oe.prop,t,e,arguments.length>1)},removeProp:function(t){return t=oe.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),oe.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,n){var i,o,r,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return r=1!==a||!oe.isXMLDoc(t),r&&(e=oe.propFix[e]||e,o=oe.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=oe.find.attr(t,"tabindex");return e?parseInt(e,10):Tn.test(t.nodeName)||Dn.test(t.nodeName)&&t.href?0:-1}}}}),ne.hrefNormalized||oe.each(["href","src"],function(t,e){oe.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ne.optSelected||(oe.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),oe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){oe.propFix[this.toLowerCase()]=this}),ne.enctype||(oe.propFix.enctype="encoding");var En=/[\t\r\n\f]/g;oe.fn.extend({addClass:function(t){var e,n,i,o,r,a,s=0,l=this.length,u="string"==typeof t&&t;if(oe.isFunction(t))return this.each(function(e){oe(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(ye)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(En," "):" ")){for(r=0;o=e[r++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");a=oe.trim(i),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,i,o,r,a,s=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(oe.isFunction(t))return this.each(function(e){oe(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(ye)||[];l>s;s++)if(n=this[s],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(En," "):"")){for(r=0;o=e[r++];)for(;i.indexOf(" "+o+" ")>=0;)i=i.replace(" "+o+" "," ");a=t?oe.trim(i):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(oe.isFunction(t)?function(n){oe(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,o=oe(this),r=t.match(ye)||[];e=r[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);
26else(n===xe||"boolean"===n)&&(this.className&&oe._data(this,"__className__",this.className),this.className=this.className||t===!1?"":oe._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(En," ").indexOf(e)>=0)return!0;return!1}}),oe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){oe.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),oe.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Mn=oe.now(),On=/\?/,An=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;oe.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,o=oe.trim(e+"");return o&&!oe.trim(o.replace(An,function(t,e,o,r){return n&&e&&(i=0),0===i?t:(n=o||e,i+=!r-!o,"")}))?Function("return "+o)():oe.error("Invalid JSON: "+e)},oe.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(o){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||oe.error("Invalid XML: "+e),n};var $n,In,Nn=/#.*$/,Fn=/([?&])_=[^&]*/,zn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Un=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Bn=/^(?:GET|HEAD)$/,Rn=/^\/\//,jn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hn={},Gn={},Zn="*/".concat("*");try{In=location.href}catch(Wn){In=fe.createElement("a"),In.href="",In=In.href}$n=jn.exec(In.toLowerCase())||[],oe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:In,type:"GET",isLocal:Un.test($n[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":oe.parseJSON,"text xml":oe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?R(R(t,oe.ajaxSettings),e):R(oe.ajaxSettings,t)},ajaxPrefilter:U(Hn),ajaxTransport:U(Gn),ajax:function(t,e){function n(t,e,n,i){var o,c,_,v,b,w=e;2!==y&&(y=2,s&&clearTimeout(s),u=void 0,a=i||"",L.readyState=t>0?4:0,o=t>=200&&300>t||304===t,n&&(v=j(h,L,n)),v=H(h,v,L,o),o?(h.ifModified&&(b=L.getResponseHeader("Last-Modified"),b&&(oe.lastModified[r]=b),b=L.getResponseHeader("etag"),b&&(oe.etag[r]=b)),204===t||"HEAD"===h.type?w="nocontent":304===t?w="notmodified":(w=v.state,c=v.data,_=v.error,o=!_)):(_=w,(t||!w)&&(w="error",0>t&&(t=0))),L.status=t,L.statusText=(e||w)+"",o?f.resolveWith(d,[c,w,L]):f.rejectWith(d,[L,w,_]),L.statusCode(g),g=void 0,l&&p.trigger(o?"ajaxSuccess":"ajaxError",[L,h,o?c:_]),m.fireWith(d,[L,w]),l&&(p.trigger("ajaxComplete",[L,h]),--oe.active||oe.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,o,r,a,s,l,u,c,h=oe.ajaxSetup({},e),d=h.context||h,p=h.context&&(d.nodeType||d.jquery)?oe(d):oe.event,f=oe.Deferred(),m=oe.Callbacks("once memory"),g=h.statusCode||{},_={},v={},y=0,b="canceled",L={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!c)for(c={};e=zn.exec(a);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?a:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return y||(t=v[n]=v[n]||t,_[t]=e),this},overrideMimeType:function(t){return y||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>y)for(e in t)g[e]=[g[e],t[e]];else L.always(t[L.status]);return this},abort:function(t){var e=t||b;return u&&u.abort(e),n(0,e),this}};if(f.promise(L).complete=m.add,L.success=L.done,L.error=L.fail,h.url=((t||h.url||In)+"").replace(Nn,"").replace(Rn,$n[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=oe.trim(h.dataType||"*").toLowerCase().match(ye)||[""],null==h.crossDomain&&(i=jn.exec(h.url.toLowerCase()),h.crossDomain=!(!i||i[1]===$n[1]&&i[2]===$n[2]&&(i[3]||("http:"===i[1]?"80":"443"))===($n[3]||("http:"===$n[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=oe.param(h.data,h.traditional)),B(Hn,h,e,L),2===y)return L;l=oe.event&&h.global,l&&0===oe.active++&&oe.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Bn.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(On.test(r)?"&":"?")+h.data,delete h.data),h.cache===!1&&(h.url=Fn.test(r)?r.replace(Fn,"$1_="+Mn++):r+(On.test(r)?"&":"?")+"_="+Mn++)),h.ifModified&&(oe.lastModified[r]&&L.setRequestHeader("If-Modified-Since",oe.lastModified[r]),oe.etag[r]&&L.setRequestHeader("If-None-Match",oe.etag[r])),(h.data&&h.hasContent&&h.contentType!==!1||e.contentType)&&L.setRequestHeader("Content-Type",h.contentType),L.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Zn+"; q=0.01":""):h.accepts["*"]);for(o in h.headers)L.setRequestHeader(o,h.headers[o]);if(h.beforeSend&&(h.beforeSend.call(d,L,h)===!1||2===y))return L.abort();b="abort";for(o in{success:1,error:1,complete:1})L[o](h[o]);if(u=B(Gn,h,e,L)){L.readyState=1,l&&p.trigger("ajaxSend",[L,h]),h.async&&h.timeout>0&&(s=setTimeout(function(){L.abort("timeout")},h.timeout));try{y=1,u.send(_,n)}catch(w){if(!(2>y))throw w;n(-1,w)}}else n(-1,"No Transport");return L},getJSON:function(t,e,n){return oe.get(t,e,n,"json")},getScript:function(t,e){return oe.get(t,void 0,e,"script")}}),oe.each(["get","post"],function(t,e){oe[e]=function(t,n,i,o){return oe.isFunction(n)&&(o=o||i,i=n,n=void 0),oe.ajax({url:t,type:e,dataType:o,data:n,success:i})}}),oe._evalUrl=function(t){return oe.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},oe.fn.extend({wrapAll:function(t){if(oe.isFunction(t))return this.each(function(e){oe(this).wrapAll(t.call(this,e))});if(this[0]){var e=oe(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(oe.isFunction(t)?function(e){oe(this).wrapInner(t.call(this,e))}:function(){var e=oe(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=oe.isFunction(t);return this.each(function(n){oe(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){oe.nodeName(this,"body")||oe(this).replaceWith(this.childNodes)}).end()}}),oe.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ne.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||oe.css(t,"display"))},oe.expr.filters.visible=function(t){return!oe.expr.filters.hidden(t)};var qn=/%20/g,Yn=/\[\]$/,Vn=/\r?\n/g,Xn=/^(?:submit|button|image|reset|file)$/i,Jn=/^(?:input|select|textarea|keygen)/i;oe.param=function(t,e){var n,i=[],o=function(t,e){e=oe.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=oe.ajaxSettings&&oe.ajaxSettings.traditional),oe.isArray(t)||t.jquery&&!oe.isPlainObject(t))oe.each(t,function(){o(this.name,this.value)});else for(n in t)G(n,t[n],e,o);return i.join("&").replace(qn,"+")},oe.fn.extend({serialize:function(){return oe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=oe.prop(this,"elements");return t?oe.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!oe(this).is(":disabled")&&Jn.test(this.nodeName)&&!Xn.test(t)&&(this.checked||!Ee.test(t))}).map(function(t,e){var n=oe(this).val();return null==n?null:oe.isArray(n)?oe.map(n,function(t){return{name:e.name,value:t.replace(Vn,"\r\n")}}):{name:e.name,value:n.replace(Vn,"\r\n")}}).get()}}),oe.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||W()}:Z;var Qn=0,Kn={},ti=oe.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Kn)Kn[t](void 0,!0)}),ne.cors=!!ti&&"withCredentials"in ti,ti=ne.ajax=!!ti,ti&&oe.ajaxTransport(function(t){if(!t.crossDomain||ne.cors){var e;return{send:function(n,i){var o,r=t.xhr(),a=++Qn;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)r[o]=t.xhrFields[o];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)void 0!==n[o]&&r.setRequestHeader(o,n[o]+"");r.send(t.hasContent&&t.data||null),e=function(n,o){var s,l,u;if(e&&(o||4===r.readyState))if(delete Kn[a],e=void 0,r.onreadystatechange=oe.noop,o)4!==r.readyState&&r.abort();else{u={},s=r.status,"string"==typeof r.responseText&&(u.text=r.responseText);try{l=r.statusText}catch(c){l=""}s||!t.isLocal||t.crossDomain?1223===s&&(s=204):s=u.text?200:404}u&&i(s,l,u,r.getAllResponseHeaders())},t.async?4===r.readyState?setTimeout(e):r.onreadystatechange=Kn[a]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),oe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return oe.globalEval(t),t}}}),oe.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),oe.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=fe.head||oe("head")[0]||fe.documentElement;return{send:function(i,o){e=fe.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||o(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ei=[],ni=/(=)\?(?=&|$)|\?\?/;oe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ei.pop()||oe.expando+"_"+Mn++;return this[t]=!0,t}}),oe.ajaxPrefilter("json jsonp",function(e,n,i){var o,r,a,s=e.jsonp!==!1&&(ni.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(e.data)&&"data");return s||"jsonp"===e.dataTypes[0]?(o=e.jsonpCallback=oe.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(ni,"$1"+o):e.jsonp!==!1&&(e.url+=(On.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||oe.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=t[o],t[o]=function(){a=arguments},i.always(function(){t[o]=r,e[o]&&(e.jsonpCallback=n.jsonpCallback,ei.push(o)),a&&oe.isFunction(r)&&r(a[0]),a=r=void 0}),"script"):void 0}),oe.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||fe;var i=he.exec(t),o=!n&&[];return i?[e.createElement(i[1])]:(i=oe.buildFragment([t],e,o),o&&o.length&&oe(o).remove(),oe.merge([],i.childNodes))};var ii=oe.fn.load;oe.fn.load=function(t,e,n){if("string"!=typeof t&&ii)return ii.apply(this,arguments);var i,o,r,a=this,s=t.indexOf(" ");return s>=0&&(i=oe.trim(t.slice(s,t.length)),t=t.slice(0,s)),oe.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&oe.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?oe("<div>").append(oe.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){a.each(n,o||[t.responseText,e,t])}),this},oe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){oe.fn[e]=function(t){return this.on(e,t)}}),oe.expr.filters.animated=function(t){return oe.grep(oe.timers,function(e){return t===e.elem}).length};var oi=t.document.documentElement;oe.offset={setOffset:function(t,e,n){var i,o,r,a,s,l,u,c=oe.css(t,"position"),h=oe(t),d={};"static"===c&&(t.style.position="relative"),s=h.offset(),r=oe.css(t,"top"),l=oe.css(t,"left"),u=("absolute"===c||"fixed"===c)&&oe.inArray("auto",[r,l])>-1,u?(i=h.position(),a=i.top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),oe.isFunction(e)&&(e=e.call(t,n,s)),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+o),"using"in e?e.using.call(t,d):h.css(d)}},oe.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){oe.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},o=this[0],r=o&&o.ownerDocument;if(r)return e=r.documentElement,oe.contains(e,o)?(typeof o.getBoundingClientRect!==xe&&(i=o.getBoundingClientRect()),n=q(r),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left
26:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===oe.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),oe.nodeName(t[0],"html")||(n=t.offset()),n.top+=oe.css(t[0],"borderTopWidth",!0),n.left+=oe.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-oe.css(i,"marginTop",!0),left:e.left-n.left-oe.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||oi;t&&!oe.nodeName(t,"html")&&"static"===oe.css(t,"position");)t=t.offsetParent;return t||oi})}}),oe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);oe.fn[t]=function(i){return De(this,function(t,i,o){var r=q(t);return void 0===o?r?e in r?r[e]:r.document.documentElement[i]:t[i]:void(r?r.scrollTo(n?oe(r).scrollLeft():o,n?o:oe(r).scrollTop()):t[i]=o)},t,i,arguments.length,null)}}),oe.each(["top","left"],function(t,e){oe.cssHooks[e]=P(ne.pixelPosition,function(t,n){return n?(n=en(t,e),on.test(n)?oe(t).position()[e]+"px":n):void 0})}),oe.each({Height:"height",Width:"width"},function(t,e){oe.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){oe.fn[i]=function(i,o){var r=arguments.length&&(n||"boolean"!=typeof i),a=n||(i===!0||o===!0?"margin":"border");return De(this,function(e,n,i){var o;return oe.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?oe.css(e,n,a):oe.style(e,n,i,a)},e,r?i:void 0,r,null)}})}),oe.fn.size=function(){return this.length},oe.fn.andSelf=oe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return oe});var ri=t.jQuery,ai=t.$;return oe.noConflict=function(e){return t.$===oe&&(t.$=ai),e&&t.jQuery===oe&&(t.jQuery=ri),oe},typeof e===xe&&(t.jQuery=t.$=oe),oe}),function(t,e){t.rails!==e&&t.error("jquery-ujs has already been loaded!");var n,i=t(document);t.rails=n={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote], a[data-disable-with], a[data-disable]",buttonClickSelector:"button[data-remote]:not(form button), button[data-confirm]:not(form button)",inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",disableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",enableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",requiredInputSelector:"input[name][required]:not([disabled]),textarea[name][required]:not([disabled])",fileInputSelector:"input[type=file]",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]",CSRFProtection:function(e){var n=t('meta[name="csrf-token"]').attr("content");n&&e.setRequestHeader("X-CSRF-Token",n)},refreshCSRFTokens:function(){var e=t("meta[name=csrf-token]").attr("content"),n=t("meta[name=csrf-param]").attr("content");t('form input[name="'+n+'"]').val(e)},fire:function(e,n,i){var o=t.Event(n);return e.trigger(o,i),o.result!==!1},confirm:function(t){return confirm(t)},ajax:function(e){return t.ajax(e)},href:function(t){return t[0].href},handleRemote:function(i){var o,r,a,s,l,u;if(n.fire(i,"ajax:before")){if(s=i.data("with-credentials")||null,l=i.data("type")||t.ajaxSettings&&t.ajaxSettings.dataType,i.is("form")){o=i.attr("method"),r=i.attr("action"),a=i.serializeArray();var c=i.data("ujs:submit-button");c&&(a.push(c),i.data("ujs:submit-button",null))}else i.is(n.inputChangeSelector)?(o=i.data("method"),r=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):i.is(n.buttonClickSelector)?(o=i.data("method")||"get",r=i.data("url"),a=i.serialize(),i.data("params")&&(a=a+"&"+i.data("params"))):(o=i.data("method"),r=n.href(i),a=i.data("params")||null);return u={type:o||"GET",data:a,dataType:l,beforeSend:function(t,o){return o.dataType===e&&t.setRequestHeader("accept","*/*;q=0.5, "+o.accepts.script),n.fire(i,"ajax:beforeSend",[t,o])?void i.trigger("ajax:send",t):!1}
26,success:function(t,e,n){i.trigger("ajax:success",[t,e,n])},complete:function(t,e){i.trigger("ajax:complete",[t,e])},error:function(t,e,n){i.trigger("ajax:error",[t,e,n])},crossDomain:n.isCrossDomain(r)},s&&(u.xhrFields={withCredentials:s}),r&&(u.url=r),n.ajax(u)}return!1},isCrossDomain:function(t){var e=document.createElement("a");e.href=location.href;var n=document.createElement("a");try{return n.href=t,n.href=n.href,!n.protocol||!n.host||e.protocol+"//"+e.host!=n.protocol+"//"+n.host}catch(i){return!0}},handleMethod:function(i){var o=n.href(i),r=i.data("method"),a=i.attr("target"),s=t("meta[name=csrf-token]").attr("content"),l=t("meta[name=csrf-param]").attr("content"),u=t('<form method="post" action="'+o+'"></form>'),c='<input name="_method" value="'+r+'" type="hidden" />';l===e||s===e||n.isCrossDomain(o)||(c+='<input name="'+l+'" value="'+s+'" type="hidden" />'),a&&u.attr("target",a),u.hide().append(c).appendTo("body"),u.submit()},formElements:function(e,n){return e.is("form")?t(e[0].elements).filter(n):e.find(n)},disableFormElements:function(e){n.formElements(e,n.disableSelector).each(function(){n.disableFormElement(t(this))})},disableFormElement:function(t){var n,i;n=t.is("button")?"html":"val",i=t.data("disable-with"),t.data("ujs:enable-with",t[n]()),i!==e&&t[n](i),t.prop("disabled",!0)},enableFormElements:function(e){n.formElements(e,n.enableSelector).each(function(){n.enableFormElement(t(this))})},enableFormElement:function(t){var e=t.is("button")?"html":"val";t.data("ujs:enable-with")&&t[e](t.data("ujs:enable-with")),t.prop("disabled",!1)},allowAction:function(t){var e,i=t.data("confirm"),o=!1;return i?(n.fire(t,"confirm")&&(o=n.confirm(i),e=n.fire(t,"confirm:complete",[o])),o&&e):!0},blankInputs:function(e,n,i){var o,r,a=t(),s=n||"input,textarea",l=e.find(s);return l.each(function(){if(o=t(this),r=o.is("input[type=checkbox],input[type=radio]")?o.is(":checked"):o.val(),!r==!i){if(o.is("input[type=radio]")&&l.filter('input[type=radio]:checked[name="'+o.attr("name")+'"]').length)return!0;a=a.add(o)}}),a.length?a:!1},nonBlankInputs:function(t,e){return n.blankInputs(t,e,!0)},stopEverything:function(e){return t(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(t){var i=t.data("disable-with");t.data("ujs:enable-with",t.html()),i!==e&&t.html(i),t.bind("click.railsDisable",function(t){return n.stopEverything(t)})},enableElement:function(t){t.data("ujs:enable-with")!==e&&(t.html(t.data("ujs:enable-with")),t.removeData("ujs:enable-with")),t.unbind("click.railsDisable")}},n.fire(i,"rails:attachBindings")&&(t.ajaxPrefilter(function(t,e,i){t.crossDomain||n.CSRFProtection(i)}),t(window).on("pageshow.rails",function(){t(t.rails.enableSelector).each(function(){var e=t(this);e.data("ujs:enable-with")&&t.rails.enableFormElement(e)}),t(t.rails.linkDisableSelector).each(function(){var e=t(this);e.data("ujs:enable-with")&&t.rails.enableElement(e)})}),i.delegate(n.linkDisableSelector,"ajax:complete",function(){n.enableElement(t(this))}),i.delegate(n.buttonDisableSelector,"ajax:complete",function(){n.enableFormElement(t(this))}),i.delegate(n.linkClickSelector,"click.rails",function(i){var o=t(this),r=o.data("method"),a=o.data("params"),s=i.metaKey||i.ctrlKey;if(!n.allowAction(o))return n.stopEverything(i);if(!s&&o.is(n.linkDisableSelector)&&n.disableElement(o),o.data("remote")!==e){if(s&&(!r||"GET"===r)&&!a)return!0;var l=n.handleRemote(o);return l===!1?n.enableElement(o):l.fail(function(){n.enableElement(o)}),!1}return r?(n.handleMethod(o),!1):void 0}),i.delegate(n.buttonClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);i.is(n.buttonDisableSelector)&&n.disableFormElement(i);var o=n.handleRemote(i);return o===!1?n.enableFormElement(i):o.fail(function(){n.enableFormElement(i)}),!1}),i.delegate(n.inputChangeSelector,"change.rails",function(e){var i=t(this);return n.allowAction(i)?(n.handleRemote(i),!1):n.stopEverything(e)}),i.delegate(n.formSubmitSelector,"submit.rails",function(i){var o,r,a=t(this),s=a.data("remote")!==e;if(!n.allowAction(a))return n.stopEverything(i);if(a.attr("novalidate")==e&&(o=n.blankInputs(a,n.requiredInputSelector),o&&n.fire(a,"ajax:aborted:required",[o])))return n.stopEverything(i);if(s){if(r=n.nonBlankInputs(a,n.fileInputSelector)){setTimeout(function(){n.disableFormElements(a)},13);var l=n.fire(a,"ajax:aborted:file",[r]);return l||setTimeout(function(){n.enableFormElements(a)},13),l}return n.handleRemote(a),!1}setTimeout(function(){n.disableFormElements(a)},13)}),i.delegate(n.formInputClickSelector,"click.rails",function(e){var i=t(this);if(!n.allowAction(i))return n.stopEverything(e);var o=i.attr("name"),r=o?{name:o,value:i.val()}:null;i.closest("form").data("ujs:submit-button",r)}),i.delegate(n.formSubmitSelector,"ajax:send.rails",function(e){this==e.target&&n.disableFormElements(t(this))}),i.delegate(n.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&n.enableFormElements(t(this))}),t(function(){n.refreshCSRFTokens()}))}(jQuery),function(){var t,e,n,i,o,r,a,s,l,u,c,h,d,p,f,m,g,_,v,y,b,L,w,x,S,C,P,k,T,D,E,M,O,A,$,I,N,F,z,U,B,R,j,H,G,Z,W,q,Y,V,X,J,Q,K,te,ee,ne=[].indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(e in this&&this[e]===t)return e;return-1},ie=function(t,e){function n(){this.constructor=t}for(var i in e)oe.call(e,i)&&(t[i]=e[i]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},oe={}.hasOwnProperty,re=[].slice,ae=function(t,e){return function(){return t.apply(e,arguments)}};A={},d=10,J=!1,z=null,v=null,M=null,R=null,ee=null,i={BEFORE_CHANGE:"page:before-change",FETCH:"page:fetch",RECEIVE:"page:receive",CHANGE:"page:change",UPDATE:"page:update",LOAD:"page:load",RESTORE:"page:restore",BEFORE_UNLOAD:"page:before-unload",EXPIRE:"page:ex
26pire"},x=function(t){var e;return t=new n(t),W(),h(),null!=z&&z.start(),J&&(e=Q(t.absolute))?(S(e),C(t,null,!1)):C(t,V)},Q=function(t){var e;return e=A[t],e&&!e.transitionCacheDisabled?e:void 0},b=function(t){return null==t&&(t=!0),J=t},y=function(t){return null==t&&(t=!0),u?t?null!=z?z:z=new r("html"):(null!=z&&z.uninstall(),z=null):void 0},C=function(t,e,n){return null==n&&(n=!0),K(i.FETCH,{url:t.absolute}),null!=ee&&ee.abort(),ee=new XMLHttpRequest,ee.open("GET",t.withoutHashForIE10compatibility(),!0),ee.setRequestHeader("Accept","text/html, application/xhtml+xml, application/xml"),ee.setRequestHeader("X-XHR-Referer",R),ee.onload=function(){var n;return K(i.RECEIVE,{url:t.absolute}),(n=F())?(j(t),H(),p.apply(null,w(n)),O(),"function"==typeof e&&e(),K(i.LOAD)):document.location.href=_()||t.absolute},z&&n&&(ee.onprogress=function(){return function(t){var e;return e=t.lengthComputable?t.loaded/t.total*100:z.value+(100-z.value)/10,z.advanceTo(e)}}(this)),ee.onloadend=function(){return ee=null},ee.onerror=function(){return document.location.href=t.absolute},ee.send()},S=function(t){return null!=ee&&ee.abort(),p(t.title,t.body),U(t),K(i.RESTORE)},h=function(){var t;return t=new n(v.url),A[t.absolute]={url:t.relative,body:document.body,title:document.title,positionY:window.pageYOffset,positionX:window.pageXOffset,cachedAt:(new Date).getTime(),transitionCacheDisabled:null!=document.querySelector("[data-no-transition-cache]")},m(d)},I=function(t){return null==t&&(t=d),/^[\d]+$/.test(t)?d=parseInt(t):void 0},m=function(t){var e,n,o,r,a,s;for(a=Object.keys(A),e=a.map(function(t){return A[t].cachedAt}).sort(function(t,e){return e-t}),s=[],n=0,r=a.length;r>n;n++)o=a[n],A[o].cachedAt<=e[t]&&(K(i.EXPIRE,A[o]),s.push(delete A[o]));return s},p=function(e,n,o,r){return K(i.BEFORE_UNLOAD),document.title=e,document.documentElement.replaceChild(n,document.body),null!=o&&t.update(o),X(),r&&L(),v=window.history.state,null!=z&&z.done(),K(i.CHANGE),K(i.UPDATE)},L=function(){var t,e,n,i,o,r,a,s,l,u,c,h;for(h=Array.prototype.slice.call(document.body.querySelectorAll('script:not([data-turbolinks-eval="false"])')),n=0,o=h.length;o>n;n++)if(c=h[n],""===(l=c.type)||"text/javascript"===l){for(e=document.createElement("script"),u=c.attributes,i=0,r=u.length;r>i;i++)t=u[i],e.setAttribute(t.name,t.value);c.hasAttribute("async")||(e.async=!1),e.appendChild(document.createTextNode(c.innerHTML)),s=c.parentNode,a=c.nextSibling,s.removeChild(c),s.insertBefore(e,a)}},q=function(t){return t.innerHTML=t.innerHTML.replace(/<noscript[\S\s]*?<\/noscript>/gi,""),t},X=function(){var t,e;return t=(e=document.querySelectorAll("input[autofocus], textarea[autofocus]"))[e.length-1],t&&document.activeElement!==t?t.focus():void 0},j=function(t){return(t=new n(t)).absolute!==R?window.history.pushState({turbolinks:!0,url:t.absolute},"",t.absolute):void 0},H=function(){var t,e;return(t=ee.getResponseHeader("X-XHR-Redirected-To"))?(t=new n(t),e=t.hasNoHash()?document.location.hash:"",window.history.replaceState(window.history.state,"",t.href+e)):void 0},_=function(){var t;return null!=(t=ee.getResponseHeader("Location"))&&new n(t).crossOrigin()?t:void 0},W=function(){return R=document.location.href},Z=function(){return window.history.replaceState({turbolinks:!0,url:document.location.href},"",document.location.href)},G=function(){return v=window.history.state},O=function(){var t;return navigator.userAgent.match(/Firefox/)&&!(t=new n).hasNoHash()?(window.history.replaceState(v,"",t.withoutHash()),document.location.hash=t.hash):void 0},U=function(t){return window.scrollTo(t.positionX,t.positionY)},V=function(){return document.location.hash?document.location.href=document.location.href:window.scrollTo(0,0)},f=function(t){var e,n,i;if(null==t||"object"!=typeof t)return t;e=new t.constructor;for(n in t)i=t[n],e[n]=f(i);return e},N=function(t){var e,n;return n=(null!=(e=document.cookie.match(new RegExp(t+"=(\\w+)")))?e[1].toUpperCase():void 0)||"",document.cookie=t+"=; expires=Thu, 01-Jan-70 00:00:01 GMT; path=/",n},K=function(t,e){var n;return"undefined"!=typeof Prototype&&Event.fire(document,t,e,!0),n=document.createEvent("Events"),e&&(n.data=e),n.initEvent(t,!0,!0),document.dispatchEvent(n)},$=function(t){return!K(i.BEFORE_CHANGE,{url:t})},F=function(){var t,e,n,i,o,r;return e=function(){var t;return 400<=(t=ee.status)&&600>t},r=function(){var t;return null!=(t=ee.getResponseHeader("Content-Type"))&&t.match(/^(?:text\/html|application\/xhtml\+xml|application\/xml)(?:;|$)/)},i=function(t){var e,n,i,o,r;for(o=t.querySelector("head").childNodes,r=[],e=0,n=o.length;n>e;e++)i=o[e],null!=("function"==typeof i.getAttribute?i.getAttribute("data-turbolinks-track"):void 0)&&r.push(i.getAttribute("src")||i.getAttribute("href"));return r},t=function(t){var e;return M||(M=i(document)),e=i(t),e.length!==M.length||o(e,M).length!==M.length},o=function(t,e){var n,i,o,r,a;for(t.length>
26e.length&&(o=[e,t],t=o[0],e=o[1]),r=[],n=0,i=t.length;i>n;n++)a=t[n],ne.call(e,a)>=0&&r.push(a);return r},!e()&&r()&&(n=g(ee.responseText),n&&!t(n))?n:void 0},w=function(e){var n;return n=e.querySelector("title"),[null!=n?n.textContent:void 0,q(e.querySelector("body")),t.get(e).token,"runScripts"]},t={get:function(t){var e;return null==t&&(t=document),{node:e=t.querySelector('meta[name="csrf-token"]'),token:null!=e&&"function"==typeof e.getAttribute?e.getAttribute("content"):void 0}},update:function(t){var e;return e=this.get(),null!=e.token&&null!=t&&e.token!==t?e.node.setAttribute("content",t):void 0}},g=function(t){var e;return e=document.documentElement.cloneNode(),e.innerHTML=t,e.head=e.querySelector("head"),e.body=e.querySelector("body"),e},n=function(){function t(e){return this.original=null!=e?e:document.location.href,this.original.constructor===t?this.original:void this._parse()}return t.prototype.withoutHash=function(){return this.href.replace(this.hash,"").replace("#","")},t.prototype.withoutHashForIE10compatibility=function(){return this.withoutHash()},t.prototype.hasNoHash=function(){return 0===this.hash.length},t.prototype.crossOrigin=function(){return this.origin!==(new t).origin},t.prototype._parse=function(){var t;return(null!=this.link?this.link:this.link=document.createElement("a")).href=this.original,t=this.link,this.href=t.href,this.protocol=t.protocol,this.host=t.host,this.hostname=t.hostname,this.port=t.port,this.pathname=t.pathname,this.search=t.search,this.hash=t.hash,this.origin=[this.protocol,"//",this.hostname].join(""),0!==this.port.length&&(this.origin+=":"+this.port),this.relative=[this.pathname,this.search,this.hash].join(""),this.absolute=this.href},t}(),o=function(t){function e(t){return this.link=t,this.link.constructor===e?this.link:(this.original=this.link.href,this.originalElement=this.link,this.link=this.link.cloneNode(!1),void e.__super__.constructor.apply(this,arguments))}return ie(e,t),e.HTML_EXTENSIONS=["html"],e.allowExtensions=function(){var t,n,i,o;for(n=1<=arguments.length?re.call(arguments,0):[],i=0,o=n.length;o>i;i++)t=n[i],e.HTML_EXTENSIONS.push(t);return e.HTML_EXTENSIONS},e.prototype.shouldIgnore=function(){return this.crossOrigin()||this._anchored()||this._nonHtml()||this._optOut()||this._target()},e.prototype._anchored=function(){return(this.hash.length>0||"#"===this.href.charAt(this.href.length-1))&&this.withoutHash()===(new n).withoutHash()},e.prototype._nonHtml=function(){return this.pathname.match(/\.[a-z]+$/g)&&!this.pathname.match(new RegExp("\\.(?:"+e.HTML_EXTENSIONS.join("|")+")?$","g"))},e.prototype._optOut=function(){var t,e;for(e=this.originalElement;!t&&e!==document;)t=null!=e.getAttribute("data-no-turbolink"),e=e.parentNode;return t},e.prototype._target=function(){return 0!==this.link.target.length},e}(n),e=function(){function t(t){this.event=t,this.event.defaultPrevented||(this._extractLink(),this._validForTurbolinks()&&($(this.link.absolute)||te(this.link.href),this.event.preventDefault()))}return t.installHandlerLast=function(e){return e.defaultPrevented?void 0:(document.removeEventListener("click",t.handle,!1),document.addEventListener("click",t.handle,!1))},t.handle=function(e){return new t(e)},t.prototype._extractLink=function(){var t;for(t=this.event.target;t.parentNode&&"A"!==t.nodeName;)t=t.parentNode;return"A"===t.nodeName&&0!==t.href.length?this.link=new o(t):void 0},t.prototype._validForTurbolinks=function(){return null!=this.link&&!(this.link.shouldIgnore()||this._nonStandardClick())},t.prototype._nonStandardClick=function(){return this.event.which>1||this.event.metaKey||this.event.ctrlKey||this.event.shiftKey||this.event.altKey},t}(),r=function(){function t(t){this.elementSelector=t,this._trickle=ae(this._trickle,this),this.value=0,this.content="",this.speed=300,this.opacity=.99,this.install()}var e;return e="turbolinks-progress-bar",t.prototype.install=function(){return this.element=document.querySelector(this.elementSelector),this.element.classList.add(e),this.styleElement=document.createElement("style"),document.head.appendChild(this.styleElement),this._updateStyle()},t.prototype.uninstall=function(){return this.element.classList.remove(e),document.head.removeChild(this.styleElement)
27},t.prototype.start=function(){return this.advanceTo(5)},t.prototype.advanceTo=function(t){var e;if(t>(e=this.value)&&100>=e){if(this.value=t,this._updateStyle(),100===this.value)return this._stopTrickle();if(this.value>0)return this._startTrickle()}},t.prototype.done=function(){return this.value>0?(this.advanceTo(100),this._reset()):void 0},t.prototype._reset=function(){var t;return t=this.opacity,setTimeout(function(t){return function(){return t.opacity=0,t._updateStyle()}}(this),this.speed/2),setTimeout(function(e){return function(){return e.value=0,e.opacity=t,e._withSpeed(0,function(){return e._updateStyle(!0)})}}(this),this.speed)},t.prototype._startTrickle=function(){return this.trickling?void 0:(this.trickling=!0,setTimeout(this._trickle,this.speed))},t.prototype._stopTrickle=function(){return delete this.trickling},t.prototype._trickle=function(){return this.trickling?(this.advanceTo(this.value+Math.random()/2),setTimeout(this._trickle,this.speed)):void 0},t.prototype._withSpeed=function(t,e){var n,i;return n=this.speed,this.speed=t,i=e(),this.speed=n,i},t.prototype._updateStyle=function(t){return null==t&&(t=!1),t&&this._changeContentToForceRepaint(),this.styleElement.textContent=this._createCSSRule()},t.prototype._changeContentToForceRepaint=function(){return this.content=""===this.content?" ":""},t.prototype._createCSSRule=function(){return this.elementSelector+"."+e+"::before {\n  content: '"+this.content+"';\n  position: fixed;\n  top: 0;\n  left: 0;\n  z-index: 2000;\n  background-color: #0076ff;\n  height: 3px;\n  opacity: "+this.opacity+";\n  width: "+this.value+"%;\n  transition: width "+this.speed+"ms ease-out, opacity "+this.speed/2+"ms ease-in;
27\n  transform: translate3d(0,0,0);\n}"},t}(),c=function(t){return setTimeout(t,500)},T=function(){return document.addEventListener("DOMContentLoaded",function(){return K(i.CHANGE),K(i.UPDATE)},!0)},E=function(){return"undefined"!=typeof jQuery?jQuery(document).on("ajaxSuccess",function(t,e){return jQuery.trim(e.responseText)?K(i.UPDATE):void 0}):void 0},D=function(t){var e,i;return(null!=(i=t.state)?i.turbolinks:void 0)?(e=A[new n(t.state.url).absolute])?(h(),S(e)):te(t.target.location.href):void 0},k=function(){return Z(),G(),document.addEventListener("click",e.installHandlerLast,!0),window.addEventListener("hashchange",function(){return Z(),G()},!1),c(function(){return window.addEventListener("popstate",D,!1)})},P=void 0!==window.history.state||navigator.userAgent.match(/Firefox\/2[6|7]/),l=window.history&&window.history.pushState&&window.history.replaceState&&P,a=!navigator.userAgent.match(/CriOS\//),Y="GET"===(B=N("request_method"))||""===B,u=l&&a&&Y,s=document.addEventListener&&document.createEvent,s&&(T(),E()),u?(te=x,k()):te=function(t){return document.location.href=t},this.Turbolinks={visit:te,pagesCached:I,enableTransitionCache:b,enableProgressBar:y,allowLinkExtensions:o.allowExtensions,supported:u,EVENTS:f(i)}}.call(this),/*
28jQuery.Turbolinks ~ https://github.com/kossnocorp/jquery.turbolinks
29jQuery plugin for drop-in fix binded events problem caused by Turbolinks
30
31The MIT License
32Copyright (c) 2012-2013 Sasha Koss & Rico Sta. Cruz
33 */
34function(){var t,e;t=window.jQuery||("function"==typeof require?require("jquery"):void 0),e=t(document),t.turbo={version:"2.1.0",isReady:!1,use:function(t,n){return e.off(".turbo").on(""+t+".turbo",this.onLoad).on(""+n+".turbo",this.onFetch)},addCallback:function(n){return t.turbo.isReady&&n(t),e.on("turbo:ready",function(){return n(t)})},onLoad:function(){return t.turbo.isReady=!0,e.trigger("turbo:ready")},onFetch:function(){return t.turbo.isReady=!1},register:function(){return t(this.onLoad),t.fn.ready=this.addCallback}},t.turbo.register(),t.turbo.use("page:load","page:fetch")}.call(this),function(){this.FlashMessage=function(){function t(t,e){var n;n=$(".flash-container"),n.html(""),$("<div/>",{"class":"flash-"+e,text:t}).appendTo(n),n.click(function(){return $(this).fadeOut(500)}),n.show(),setTimeout(function(){return n.fadeOut(500)},5e3)}return t}(),$(document).ready(function(){var t;return t=$(".flash-container"),t.length?(setTimeout(function(){return t.fadeOut(500)},5e3),t.click(function(){return $(this).fadeOut(500)})):void 0})}.call(this),function(){this.DateConverter=function(){function t(){}return t.prototype.convert_date=function(t){var e,n,i,o,r,a,s;return s=new Date(t),i=s.getTimezoneOffset()/60,a=new Date(s.setHours(s.getHours()-i)),r=["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"],o=a.getMonth(),e=function(t){return 10>t?"0"+t:t},n=function(t){return 0>=t?t:"+"+t},e(a.getDate())+" "+r[o]+" "+a.getFullYear()},t.prototype.convert_time=function(t){var e,n,i,o,r,a;return a=new Date(t),i=a.getTimezoneOffset()/60,r=new Date(a.setHours(a.getHours()-i)),o={hour:"2-digit",minute:"2-digit"},e=function(t){return 10>t?"0"+t:t},n=function(t){return 0>=t?t:"+"+t},r.toLocaleTimeString("ru-RU",o)},t}()}.call(this),function(){this.Popover=function(){function t(t,e){t.length&&t.popover(e)}return t}()}.call(this),function(){jQuery(function(){return $("#click-me").click(function(){return 0===$("#overlay-back").length&&$("body").append($('<div id="overlay-back"></div>').fadeIn(500)),0===$("#overlay").length?$("body").append($('<div id="overlay"><span id="loading-container">Loading...</span></div>').fadeIn(500)):void 0})})}.call(this),/*! jQuery UI - v1.11.1+CommonJS - 2014-09-17
35* http://jqueryui.com
36* Includes: widget.js
37* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
38function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){/*!
39 * jQuery UI Widget 1.11.1
40 * http://jqueryui.com
41 *
42 * Copyright 2014 jQuery Foundation and other contributors
43 * Released under the MIT license.
44 * http://jquery.org/license
45 *
46 * http://api.jqueryui.com/jQuery.widget/
47 */
48var e=0,n=Array.prototype.slice;t.cleanData=function(e){return function(n){var i,o,r;for(r=0;null!=(o=n[r]);r++)try{i=t._data(o,"events"),i&&i.remove&&t(o).triggerHandler("remove")}catch(a){}e(n)}}(t.cleanData),t.widget=function(e,n,i){var o,r,a,s,l={},u=e.split(".")[0];return e=e.split(".")[1],o=u+"-"+e,i||(i=n,n=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[u]=t[u]||{},r=t[u][e],a=t[u][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new a(t,e)},t.extend(a,r,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),s=new n,s.options=t.widget.extend({},s.options),t.each(i,function(e,i){return t.isFunction(i)?void(l[e]=function(){var t=function(){return n.prototype[e].apply(this,arguments)},o=function(t){return n.prototype[e].apply(this,t)};return function(){var e,n=this._super,r=this._superApply;return this._super=t,this._superApply=o,e=i.apply(this,arguments),this._super=n,this._superApply=r,e}}()):void(l[e]=i)}),a.prototype=t.widget.extend(s,{widgetEventPrefix:r?s.widgetEventPrefix||e:e},l,{constructor:a,namespace:u,widgetName:e,widgetFullName:o}),r?(t.each(r._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,a,n._proto)}),delete r._childConstructors):n._childConstructors.push(a),t.widget.bridge(e,a),a}
48,t.widget.extend=function(e){for(var i,o,r=n.call(arguments,1),a=0,s=r.length;s>a;a++)for(i in r[a])o=r[a][i],r[a].hasOwnProperty(i)&&void 0!==o&&(e[i]=t.isPlainObject(o)?t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):o);return e},t.widget.bridge=function(e,i){var o=i.prototype.widgetFullName||e;t.fn[e]=function(r){var a="string"==typeof r,s=n.call(arguments,1),l=this;return r=!a&&s.length?t.widget.extend.apply(null,[r].concat(s)):r,this.each(a?function(){var n,i=t.data(this,o);return"instance"===r?(l=i,!1):i?t.isFunction(i[r])&&"_"!==r.charAt(0)?(n=i[r].apply(i,s),n!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0):t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}:function(){var e=t.data(this,o);e?(e.option(r||{}),e._init&&e._init()):t.data(this,o,new i(r,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(n,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=t(),this.hoverable=t(),this.focusable=t(),i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,o,r,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},i=e.split("."),e=i.shift(),i.length){for(o=a[e]=t.widget.extend({},this.options[e]),r=0;r<i.length-1;r++)o[i[r]]=o[i[r]]||{},o=o[i[r]];if(e=i.pop(),1===arguments.length)return void 0===o[e]?null:o[e];o[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(e,n,i){var o,r=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=o=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,o=this.widget()),t.each(i,function(i,a){function s(){return e||r.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?r[a]:a).apply(r,arguments):void 0}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?o.delegate(c,u,s):n.bind(u,s)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function n(){return("string"==typeof t?i[t]:t).apply(i,arguments)}var i=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,n,i){var o,r,a=this.options[e];if(i=i||{},n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],r=n.originalEvent)for(o in r)o in n||(n[o]=r[o]);return this.element.trigger(n,i),!(t.isFunction(a)&&a.apply(this.element[0],[n].concat(i))===!1||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,o,r){"string"==typeof o&&(o={effect:o});var a,s=o?o===!0||"number"==typeof o?n:o.effect||n:e;o=o||{},"number"==typeof o&&(o={duration:o}),a=!t.isEmptyObject(o),o.complete=r,o.delay&&i.delay(o.delay),a&&t.effects&&t.effects.effect[s]?i[e](o):s!==e&&i[s]?i[s](o.duration,o.easing,r):i.queue(function(n){t(this)[e](),r&&r.call(i[0]),n()})}});t.widget}),/*
49 * jQuery Iframe Transport Plugin 1.8.3
50 * https://github.com/blueimp/jQuery-File-Upload
51 *
52 * Copyright 2011, Sebastian Tschan
53 * https://blueimp.net
54 *
55 * Licensed under the MIT license:
56 * http://www.opensource.org/licenses/MIT
57 */
58function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):window.jQuery)}(function(t){"use strict";var e=0;t.ajaxTransport("iframe",function(n){if(n.async){var i,o,r,a=n.initialIframeSrc||"javascript:false;";return{send:function(s,l){i=t('<form style="display:none;"></form>'),i.attr("accept-charset",n.formAcceptCharset),r=/\?/.test(n.url)?"&":"?","DELETE"===n.type?(n.url=n.url+r+"_method=DELETE",n.type="POST"):"PUT"===n.type?(n.url=n.url+r+"_method=PUT",n.type="POST"):"PATCH"===n.type&&(n.url=n.url+r+"_method=PATCH",n.type="POST"),e+=1,o=t('<iframe src="'+a+'" name="iframe-transport-'+e+'"></iframe>').bind("load",function(){var e,r=t.isArray(n.paramName)?n.paramName:[n.paramName];o.unbind("load").bind("load",function(){var e;try{if(e=o.contents(),!e.length||!e[0].firstChild)throw new Error}catch(n){e=void 0}l(200,"success",{iframe:e}),t('<iframe src="'+a+'"></iframe>').appendTo(i),window.setTimeout(function(){i.remove()},0)}),i.prop("target",o.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&t.each(n.formData,function(e,n){t('<input type="hidden"/>').prop("name",n.name).val(n.value).appendTo(i)}),n.fileInput&&n.fileInput.length&&"POST"===n.type&&(e=n.fileInput.clone(),n.fileInput.after(function(t){return e[t]}),n.paramName&&n.fileInput.each(function(e){t(this).prop("name",r[e]||n.paramName)}),i.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),n.fileInput.removeAttr("form")),i.submit(),e&&e.length&&n.fileInput.each(function(n,i){var o=t(e[n]);t(i).prop("name",o.prop("name")).attr("form",o.attr("form")),o.replaceWith(i)})}),i.append(o).appendTo(document.body)},abort:function(){o&&o.unbind("load").prop("src",a),i&&i.remove()}}}}),t.ajaxSetup({converters:{"iframe text":function(e){return e&&t(e[0].body).text()},"iframe json":function(e){return e&&t.parseJSON(t(e[0].body).text())},"iframe html":function(e){return e&&t(e[0].body).html()},"iframe xml":function(e){var n=e&&e[0];return n&&t.isXMLDoc(n)?n:t.parseXML(n.XMLDocument&&n.XMLDocument.xml||t(n.body).html())}
58,"iframe script":function(e){return e&&t.globalEval(t(e[0].body).text())}}})}),/*
59 * jQuery File Upload Plugin 5.42.3
60 * https://github.com/blueimp/jQuery-File-Upload
61 *
62 * Copyright 2010, Sebastian Tschan
63 * https://blueimp.net
64 *
65 * Licensed under the MIT license:
66 * http://www.opensource.org/licenses/MIT
67 */
68function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var o=i.dataTransfer;o&&-1!==t.inArray("Files",o.types)&&this._trigger(e,t.Event(e,{delegatedEvent:i}))!==!1&&(i.preventDefault(),n&&(o.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file">').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){return e.isDefaultPrevented()?!1:void((n.autoUpload||n.autoUpload!==!1&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()}))},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){var t=this.slice||this.webkitSlice||this.mozSlice;return t.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,o=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&o-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=o,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(o,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(o,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_initXHRData:function(e){var n,i=this,o=e.files[0],r=e.multipart||!t.supp
68ort.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),r&&!e.blob&&this._isInstanceOf("File",o)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(o.name)+'"'),r?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,o){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:o})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,o.name):t.each(e.files,function(o,r){(i._isInstanceOf("File",r)||i._isInstanceOf("Blob",r))&&n.append("array"===t.type(e.paramName)&&e.paramName[o]||a,r,r.uploadName||r.name)})),e.data=n):(e.contentType=o.type||"application/octet-stream",e.data=e.blob||o),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",o=(e.prop("files")||[1]).length;o;)i.push(n),o-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var o=t.Deferred(),r=o.promise();return n=n||this.options.context||r,e===!0?o.resolveWith(n,i):e===!1&&o.rejectWith(n,i),r.abort=o.promise,this._enhancePromise(r)},_addConvenienceMethods:function(e,n){var i=this,o=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,r){return(e||r)&&(n._processQueue=this._processQueue=(this._processQueue||o([this])).pipe(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():o(arguments)}).pipe(e,r)),this._processQueue||o([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)!==!1&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,o,r=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,h=t.Deferred(),d=h.promise();return this._isXHRUpload(e)&&c&&(l||s>u)&&!e.data?n?!0:l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(o=function(){var n=t.extend({},e),d=n._progress.loaded;n.blob=c.call(a,l,l+u,a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,r._initXHRData(n),r._initProgressListener(n),i=(r._trigger("chunkse
68nd",null,n)!==!1&&t.ajax(n)||r._getXHRPromise(!1,n.context)).done(function(i,a,u){l=r._getUploadedBytes(u)||l+n.chunkSize,d+n.chunkSize-n._progress.loaded&&r._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,r._trigger("chunkdone",null,n),r._trigger("chunkalways",null,n),s>l?o():h.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,r._trigger("chunkfail",null,n),r._trigger("chunkalways",null,n),h.rejectWith(n.context,[t,e,i])})},this._enhancePromise(d),d.abort=function(){return i.abort()},o(),d):!1},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(e,n,i,o){var r=o._progress.total,a=o._response;o._progress.loaded<r&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:r,total:r}),o),a.result=o.result=e,a.textStatus=o.textStatus=n,a.jqXHR=o.jqXHR=i,this._trigger("done",null,o)},_onFail:function(t,e,n,i){var o=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),o.jqXHR=i.jqXHR=t,o.textStatus=i.textStatus=e,o.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)}
68,_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,o,r,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((o||s._trigger("send",t.Event("send",{delegatedEvent:e}),l)===!1)&&s._getXHRPromise(!1,l.context,o)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(r=t.Deferred(),this._slots.push(r),a=r.pipe(u)):(this._sequence=this._sequence.pipe(u,u),a=this._sequence),a.abort=function(){return o=[void 0,"abort","abort"],i?i.abort():(r&&r.rejectWith(l.context,o),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,o,r,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,h=c.length,d=u.limitMultiFileUploads,p=u.limitMultiFileUploadSize,f=u.limitMultiFileUploadSizeOverhead,m=0,g=this._getParamName(u),_=0;if(!p||h&&void 0!==c[0].size||(p=void 0),(u.singleFileUploads||d||p)&&this._isXHRUpload(u))if(u.singleFileUploads||p||!d)if(!u.singleFileUploads&&p)for(r=[],i=[],a=0;h>a;a+=1)m+=c[a].size+f,(a+1===h||m+c[a+1].size+f>p||d&&a+1-_>=d)&&(r.push(c.slice(_,a+1)),o=g.slice(_,a+1),o.length||(o=g),i.push(o),_=a+1,m=0);else i=g;else for(r=[],i=[],a=0;h>a;a+=d)r.push(c.slice(a,a+d)),o=g.slice(a,a+d),o.length||(o=g),i.push(o);else r=[c],i=[g];return n.originalFiles=c,t.each(r||c,function(o,a){var u=t.extend({},n);return u.files=r?a:[a],u.paramName=i[o],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,o=this,r=t.Deferred(),a=function(t){t&&!t.entry&&(t.entry=e),r.resolve([t])},s=function(t){o._handleFileTreeEntries(t,n+e.name+"/").done(function(t){r.resolve(t)}).fail(a)},l=function(){i.readEntries(function(t){t.length?(u=u.concat(t),l()):s(u)},a)},u=[];return n=n||"",e.isFile?e._file?(e._file.relativePath=n,r.resolve(e._file)):e.file(function(t){t.relativePath=n,r.resolve(t)},a):e.isDirectory?(i=e.createReader(),l()):r.resolve([]),r.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){e=e||{};var n=e.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?(e=t.webkitGetAsEntry(),e&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){e=t(e);var n,i,o=e.prop("webkitEntries")||e.prop("entries");if(o&&o.length)return this._handleFileTreeEntries(o);if(n=t.makeArray(e.prop("files")),n.length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(i=e.prop("value"),!i)return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(o){i.files=o,n.options.replaceFileInput&&n._replaceFileInput(i),n._trigger("change",t.Event("change",{delegatedEvent:e}),i)!==!1&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)!==!1&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,o={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){o.files=i,n._trigger("drop",t.Event("drop",{delegatedEvent:e}),o)!==!1&&n._onAdd(e,o)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(e,n){var i=-1!==t.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,o){var r,a=o.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),r=i[a],e._isRegExpOption(a,r)&&(r=e._getRegExp(r)),n[a]=r)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,o=this,r=t.Deferred(),a=r.promise();return a.abort=function(){return i=!0,n?n.abort():(r.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){if(!i){if(!t.length)return void r.reject();e.files=t,n=o._onSend(null,e),n.then(function(t,e,n){r.resolve(t,e,n)},function(t,e,n){r.reject(t,e,n)})}}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,i,o,r,a,s=gap,l=e[t];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(t)),"function"==typeof rep&&(l=rep.call(e,t,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(l)){for(r=l.length,n=0;r>n;n+=1)a[n]=str(n,l)||"null";return o=0===a.length?"[]":gap?"[\n"+gap+a.join(",\n"+gap)+"\n"+s+"]":"["+a.join(",")+"]",gap=s,o}if(rep&&"object"==typeof rep)for(r=rep.length,n=0;r>n;n+=1)"string"==typeof rep[n]&&(i=rep[n],o=str(i,l),o&&a.push(quote(i)+(gap?": ":":")+o));else for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(o=str(i,l),o&&a.push(quote(i)+(gap?": ":":")+o));return o=0===a.length?"{}":gap?"{\n"+gap+a.join(",\n"+gap)+"\n"+s+"}":"{"+a.join(",")+"}",gap=s,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;
68"function"!=typeof JSON.stringify&&(JSON.stringify=function(t,e,n){var i;if(gap="",indent="","number"==typeof n)for(i=0;n>i;i+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,!e||"function"==typeof e||"object"==typeof e&&"number"==typeof e.length)return str("",{"":t});throw new Error("JSON.stringify")}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var n,i,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(i=walk(o,n),void 0!==i?o[n]=i:delete o[n]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(t,e){"use strict";var n=t.History=t.History||{},i=t.jQuery;if("undefined"!=typeof n.Adapter)throw new Error("History.js Adapter has already been loaded...");n.Adapter={bind:function(t,e,n){i(t).bind(e,n)},trigger:function(t,e,n){i(t).trigger(e,n)},extractEventData:function(t,n,i){var o=n&&n.originalEvent&&n.originalEvent[t]||i&&i[t]||e;return o},onDomLoad:function(t){i(t)}},"undefined"!=typeof n.init&&n.init()}(window),function(t){"use strict";var e=t.document,n=t.setTimeout||n,i=t.clearTimeout||i,o=t.setInterval||o,r=t.History=t.History||{};if("undefined"!=typeof r.initHtml4)throw new Error("History.js HTML4 Support has already been loaded...");r.initHtml4=function(){return"undefined"!=typeof r.initHtml4.initialized?!1:(r.initHtml4.initialized=!0,r.enabled=!0,r.savedHashes=[],r.isLastHash=function(t){var e,n=r.getHashByIndex();return e=t===n},r.isHashEqual=function(t,e){return t=encodeURIComponent(t).replace(/%25/g,"%"),e=encodeURIComponent(e).replace(/%25/g,"%"),t===e},r.saveHash=function(t){return r.isLastHash(t)?!1:(r.savedHashes.push(t),!0)},r.getHashByIndex=function(t){var e=null;return e="undefined"==typeof t?r.savedHashes[r.savedHashes.length-1]:0>t?r.savedHashes[r.savedHashes.length+t]:r.savedHashes[t]},r.discardedHashes={},r.discardedStates={},r.discardState=function(t,e,n){var i,o=r.getHashByState(t);return i={discardedState:t,backState:n,forwardState:e},r.discardedStates[o]=i,!0},r.discardHash=function(t,e,n){var i={discardedHash:t,backState:n,forwardState:e};return r.discardedHashes[t]=i,!0},r.discardedState=function(t){var e,n=r.getHashByState(t);return e=r.discardedStates[n]||!1},r.discardedHash=function(t){var e=r.discardedHashes[t]||!1;return e},r.recycleState=function(t){var e=r.getHashByState(t);return r.discardedState(t)&&delete r.discardedStates[e],!0},r.emulated.hashChange&&(r.hashChangeInit=function(){r.checkerFunction=null;var n,i,a,s,l="",u=Boolean(r.getHash());return r.isInternetExplorer()?(n="historyjs-iframe",i=e.createElement("iframe"),i.setAttribute("id",n),i.setAttribute("src","#"),i.style.display="none",e.body.appendChild(i),i.contentWindow.document.open(),i.contentWindow.document.close(),a="",s=!1,r.checkerFunction=function(){if(s)return!1;s=!0;var e=r.getHash(),n=r.getHash(i.contentWindow.document);return e!==l?(l=e,n!==e&&(a=n=e,i.contentWindow.document.open(),i.contentWindow.document.close(),i.contentWindow.document.location.hash=r.escapeHash(e)),r.Adapter.trigger(t,"hashchange")):n!==a&&(a=n,u&&""===n?r.back():r.setHash(n,!1)),s=!1,!0}):r.checkerFunction=function(){var e=r.getHash()||"";return e!==l&&(l=e,r.Adapter.trigger(t,"hashchange")),!0},r.intervalList.push(o(r.checkerFunction,r.options.hashChangeInterval)),!0},r.Adapter.onDomLoad(r.hashChangeInit)),r.emulated.pushState&&(r.onHashChange=function(e){var n,i=e&&e.newURL||r.getLocationHref(),o=r.getHashByUrl(i),a=null,s=null;return r.isLastHash(o)?(r.busy(!1),!1):(r.doubleCheckComplete(),r.saveHash(o),o&&r.isTraditionalAnchor(o)?(r.Adapter.trigger(t,"anchorchange"),r.busy(!1),!1):(a=r.extractState(r.getFullUrl(o||r.getLocationHref()),!0),r.isLastSavedState(a)?(r.busy(!1),!1):(s=r.getHashByState(a),n=r.discardedState(a),n?(r.getHashByIndex(-2)===r.getHashByState(n.forwardState)?r.back(!1):r.forward(!1),!1):(r.pushState(a.data,a.title,encodeURI(a.url),!1),!0))))},r.Adapter.bind(t,"hashchange",r.onHashChange),r.pushState=function(e,n,i,o){if(i=encodeURI(i).replace(/%25/g,"%"),r.getHashByUrl(i))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(o!==!1&&r.busy())return r.pushQueue({scope:r,callback:r.pushState,args:arguments,queue:o}),!1;r.busy(!0);var a=r.createStateObject(e,n,i),s=r.getHashByState(a),l=r.getState(!1),u=r.getHashByState(l),c=r.getHash(),h=r.expectedStateId==a.id;return r.storeState(a),r.expectedStateId=a.id,r.recycleState(a),r.setTitle(a),s===u?(r.busy(!1),!1):(r.saveState(a),h||r.Adapter.trigger(t,"statechange"),!r.isHashEqual(s,c)&&!r.isHashEqual(s,r.getShortUrl(r.getLocationHref()))&&r.setHash(s,!1),r.busy(!1),!0)},r.replaceState=function(e,n,i,o){if(i=encodeURI(i).replace(/%25/g,"%"),r.getHashByUrl(i))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(o!==!1&&r.busy())return r.pushQueue({scope:r,callback:r.replaceState,args:arguments,queue:o}),!1;r.busy(!0);var a=r.createStateObject(e,n,i),s=r.getHashByState(a),l=r.getState(!1),u=r.getHashByState(l),c=r.getStateByIndex(-2);return r.discardState(l,a,c),s===u?(r.storeState(a),r.expectedStateId=a.id,r.recycleState(a),r.setTitle(a),r.saveState(a),r.Adapter.trigger(t,"statechange"),r.busy(!1)):r.pushState(a.data,a.title,a.url,!1),!0}),r.emulated.pushState&&r.getHash()&&!r.emulated.hashChange&&r.Adapter.onDomLoad(function(){r.Adapter.trigger(t,"hashchange")}),void 0)},"undefined"!=typeof r.init&&r.init()}(window),function(t,e){"use strict";var n=t.console||e,i=t.document,o=t.navigator,r=!1,a=t.setTimeout,s=t.clearTimeout,l=t.
68setInterval,u=t.clearInterval,c=t.JSON,h=t.alert,d=t.History=t.History||{},p=t.history;try{r=t.sessionStorage,r.setItem("TEST","1"),r.removeItem("TEST")}catch(f){r=!1}if(c.stringify=c.stringify||c.encode,c.parse=c.parse||c.decode,"undefined"!=typeof d.init)throw new Error("History.js Core has already been loaded...");d.init=function(){return"undefined"==typeof d.Adapter?!1:("undefined"!=typeof d.initCore&&d.initCore(),"undefined"!=typeof d.initHtml4&&d.initHtml4(),!0)},d.initCore=function(){if("undefined"!=typeof d.initCore.initialized)return!1;if(d.initCore.initialized=!0,d.options=d.options||{},d.options.hashChangeInterval=d.options.hashChangeInterval||100,d.options.safariPollInterval=d.options.safariPollInterval||500,d.options.doubleCheckInterval=d.options.doubleCheckInterval||500,d.options.disableSuid=d.options.disableSuid||!1,d.options.storeInterval=d.options.storeInterval||1e3,d.options.busyDelay=d.options.busyDelay||250,d.options.debug=d.options.debug||!1,d.options.initialTitle=d.options.initialTitle||i.title,d.options.html4Mode=d.options.html4Mode||!1,d.options.delayInit=d.options.delayInit||!1,d.intervalList=[],d.clearAllIntervals=function(){var t,e=d.intervalList;if("undefined"!=typeof e&&null!==e){for(t=0;t<e.length;t++)u(e[t]);d.intervalList=null}},d.debug=function(){(d.options.debug||!1)&&d.log.apply(d,arguments)},d.log=function(){var t,e,o,r,a,s="undefined"!=typeof n&&"undefined"!=typeof n.log&&"undefined"!=typeof n.log.apply,l=i.getElementById("log");for(s?(r=Array.prototype.slice.call(arguments),t=r.shift(),"undefined"!=typeof n.debug?n.debug.apply(n,[t,r]):n.log.apply(n,[t,r])):t="\n"+arguments[0]+"\n",e=1,o=arguments.length;o>e;++e){if(a=arguments[e],"object"==typeof a&&"undefined"!=typeof c)try{a=c.stringify(a)}catch(u){}t+="\n"+a+"\n"}return l?(l.value+=t+"\n-----\n",l.scrollTop=l.scrollHeight-l.clientHeight):s||h(t),!0},d.getInternetExplorerMajorVersion=function(){var t=d.getInternetExplorerMajorVersion.cached="undefined"!=typeof d.getInternetExplorerMajorVersion.cached?d.getInternetExplorerMajorVersion.cached:function(){for(var t=3,e=i.createElement("div"),n=e.getElementsByTagName("i");(e.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->")&&n[0];);return t>4?t:!1}();return t},d.isInternetExplorer=function(){var t=d.isInternetExplorer.cached="undefined"!=typeof d.isInternetExplorer.cached?d.isInternetExplorer.cached:Boolean(d.getInternetExplorerMajorVersion());return t},d.emulated=d.options.html4Mode?{pushState:!0,hashChange:!0}
68:{pushState:!Boolean(t.history&&t.history.pushState&&t.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(o.userAgent)&&!/AppleWebKit\/5([0-2]|3[0-2])/i.test(o.userAgent)),hashChange:Boolean(!("onhashchange"in t||"onhashchange"in i)||d.isInternetExplorer()&&d.getInternetExplorerMajorVersion()<8)},d.enabled=!d.emulated.pushState,d.bugs={setHash:Boolean(!d.emulated.pushState&&"Apple Computer, Inc."===o.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(o.userAgent)),safariPoll:Boolean(!d.emulated.pushState&&"Apple Computer, Inc."===o.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(o.userAgent)),ieDoubleCheck:Boolean(d.isInternetExplorer()&&d.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(d.isInternetExplorer()&&d.getInternetExplorerMajorVersion()<7)},d.isEmptyObject=function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},d.cloneObject=function(t){var e,n;return t?(e=c.stringify(t),n=c.parse(e)):n={},n},d.getRootUrl=function(){var t=i.location.protocol+"//"+(i.location.hostname||i.location.host);return i.location.port&&(t+=":"+i.location.port),t+="/"},d.getBaseHref=function(){var t=i.getElementsByTagName("base"),e=null,n="";return 1===t.length&&(e=t[0],n=e.href.replace(/[^\/]+$/,"")),n=n.replace(/\/+$/,""),n&&(n+="/"),n},d.getBaseUrl=function(){var t=d.getBaseHref()||d.getBasePageUrl()||d.getRootUrl();return t},d.getPageUrl=function(){var t,e=d.getState(!1,!1),n=(e||{}).url||d.getLocationHref();return t=n.replace(/\/+$/,"").replace(/[^\/]+$/,function(t){return/\./.test(t)?t:t+"/"})},d.getBasePageUrl=function(){var t=d.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(t){return/[^\/]$/.test(t)?"":t}).replace(/\/+$/,"")+"/";return t},d.getFullUrl=function(t,e){var n=t,i=t.substring(0,1);return e="undefined"==typeof e?!0:e,/[a-z]+\:\/\//.test(t)||(n="/"===i?d.getRootUrl()+t.replace(/^\/+/,""):"#"===i?d.getPageUrl().replace(/#.*/,"")+t:"?"===i?d.getPageUrl().replace(/[\?#].*/,"")+t:e?d.getBaseUrl()+t.replace(/^(\.\/)+/,""):d.getBasePageUrl()+t.replace(/^(\.\/)+/,"")),n.replace(/\#$/,"")},d.getShortUrl=function(t){var e=t,n=d.getBaseUrl(),i=d.getRootUrl();return d.emulated.pushState&&(e=e.replace(n,"")),e=e.replace(i,"/"),d.isTraditionalAnchor(e)&&(e="./"+e),e=e.replace(/^(\.\/)+/g,"./").replace(/\#$/,"")},d.getLocationHref=function(t){return t=t||i,t.URL===t.location.href?t.location.href:t.location.href===decodeURIComponent(t.URL)?t.URL:t.location.hash&&decodeURIComponent(t.location.href.replace(/^[^#]+/,""))===t.location.hash?t.location.href:-1==t.URL.indexOf("#")&&-1!=t.location.href.indexOf("#")?t.location.href:t.URL||t.location.href},d.store={},d.idToState=d.idToState||{},d.stateToId=d.stateToId||{},d.urlToId=d.urlToId||{},d.storedStates=d.storedStates||[],d.savedStates=d.savedStates||[],d.normalizeStore=function(){d.store.idToState=d.store.idToState||{},d.store.urlToId=d.store.urlToId||{},d.store.stateToId=d.store.stateToId||{}},d.getState=function(t,e){"undefined"==typeof t&&(t=!0),"undefined"==typeof e&&(e=!0);var n=d.getLastSavedState();return!n&&e&&(n=d.createStateObject()),t&&(n=d.cloneObject(n),n.url=n.cleanUrl||n.url),n},d.getIdByState=function(t){var e,n=d.extractId(t.url);if(!n)if(e=d.getStateString(t),"undefined"!=typeof d.stateToId[e])n=d.stateToId[e];else if("undefined"!=typeof d.store.stateToId[e])n=d.store.stateToId[e];else{for(;n=(new Date).getTime()+String(Math.random()).replace(/\D/g,""),"undefined"!=typeof d.idToState[n]||"undefined"!=typeof d.store.idToState[n];);d.stateToId[e]=n,d.idToState[n]=t}return n},d.normalizeState=function(t){var e,n;return t&&"object"==typeof t||(t={}),"undefined"!=typeof t.normalized?t:(t.data&&"object"==typeof t.data||(t.data={}),e={},e.normalized=!0,e.title=t.title||"",e.url=d.getFullUrl(t.url?t.url:d.getLocationHref()),e.hash=d.getShortUrl(e.url),e.data=d.cloneObject(t.data),e.id=d.getIdByState(e),e.cleanUrl=e.url.replace(/\??\&_suid.*/,""),e.url=e.cleanUrl,n=!d.isEmptyObject(e.data),(e.title||n)&&d.options.disableSuid!==!0&&(e.hash=d.getShortUrl(e.url).replace(/\??\&_suid.*/,""),/\?/.test(e.hash)||(e.hash+="?"),e.hash+="&_suid="+e.id),e.hashedUrl=d.getFullUrl(e.hash),(d.emulated.pushState||d.bugs.safariPoll)&&d.hasUrlDuplicate(e)&&(e.url=e.hashedUrl),e)},d.createStateObject=function(t,e,n){var i={data:t,title:e,url:n};return i=d.normalizeState(i)},d.getStateById=function(t){t=String(t);var n=d.idToState[t]||d.store.idToState[t]||e;
69return n},d.getStateString=function(t){var e,n,i;return e=d.normalizeState(t),n={data:e.data,title:t.title,url:t.url},i=c.stringify(n)},d.getStateId=function(t){var e,n;return e=d.normalizeState(t),n=e.id},d.getHashByState=function(t){var e,n;return e=d.normalizeState(t),n=e.hash},d.extractId=function(t){var e,n,i,o;return o=-1!=t.indexOf("#")?t.split("#")[0]:t,n=/(.*)\&_suid=([0-9]+)$/.exec(o),i=n?n[1]||t:t,e=n?String(n[2]||""):"",e||!1},d.isTraditionalAnchor=function(t){var e=!/[\/\?\.]/.test(t);return e},d.extractState=function(t,e){var n,i,o=null;return e=e||!1,n=d.extractId(t),n&&(o=d.getStateById(n)),o||(i=d.getFullUrl(t),n=d.getIdByUrl(i)||!1,n&&(o=d.getStateById(n)),!o&&e&&!d.isTraditionalAnchor(t)&&(o=d.createStateObject(null,null,i))),o},d.getIdByUrl=function(t){var n=d.urlToId[t]||d.store.urlToId[t]||e;return n},d.getLastSavedState=function(){return d.savedStates[d.savedStates.length-1]||e},d.getLastStoredState=function(){return d.storedStates[d.storedStates.length-1]||e},d.hasUrlDuplicate=function(t){var e,n=!1;return e=d.extractState(t.url),n=e&&e.id!==t.id},d.storeState=function(t){return d.urlToId[t.url]=t.id,d.storedStates.push(d.cloneObject(t)),t},d.isLastSavedState=function(t){var e,n,i,o=!1;return d.savedStates.length&&(e=t.id,n=d.getLastSavedState(),i=n.id,o=e===i),o},d.saveState=function(t){return d.isLastSavedState(t)?!1:(d.savedStates.push(d.cloneObject(t)),!0)},d.getStateByIndex=function(t){var e=null;return e="undefined"==typeof t?d.savedStates[d.savedStates.length-1]:0>t?d.savedStates[d.savedStates.length+t]:d.savedStates[t]},d.getCurrentIndex=function(){var t=null;return t=d.savedStates.length<1?0:d.savedStates.length-1},d.getHash=function(t){var e,n=d.getLocationHref(t);return e=d.getHashByUrl(n)},d.unescapeHash=function(t){var e=d.normalizeHash(t);return e=decodeURIComponent(e)},d.normalizeHash=function(t){var e=t.replace(/[^#]*#/,"").replace(/#.*/,"");return e},d.setHash=function(t,e){var n,o;return e!==!1&&d.busy()?(d.pushQueue({scope:d,callback:d.setHash,args:arguments,queue:e}),!1):(d.busy(!0),n=d.extractState(t,!0),n&&!d.emulated.pushState?d.pushState(n.data,n.title,n.url,!1):d.getHash()!==t&&(d.bugs.setHash?(o=d.getPageUrl(),d.pushState(null,null,o+"#"+t,!1)):i.location.hash=t),d)},d.escapeHash=function(e){var n=d.normalizeHash(e);return n=t.encodeURIComponent(n),d.bugs.hashEscape||(n=n.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")),n},d.getHashByUrl=function(t){var e=String(t).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return e=d.unescapeHash(e)},d.setTitle=function(t){var e,n=t.title;n||(e=d.getStateByIndex(0),e&&e.url===t.url&&(n=e.title||d.options.initialTitle));try{i.getElementsByTagName("title")[0].innerHTML=n.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(o){}return i.title=n,d},d.queues=[],d.busy=function(t){if("undefined"!=typeof t?d.busy.flag=t:"undefined"==typeof d.busy.flag&&(d.busy.flag=!1),!d.busy.flag){s(d.busy.timeout);var e=function(){var t,n,i;if(!d.busy.flag)for(t=d.queues.length-1;t>=0;--t)n=d.queues[t],0!==n.length&&(i=n.shift(),d.fireQueueItem(i),d.busy.timeout=a(e,d.options.busyDelay))};d.busy.timeout=a(e,d.options.busyDelay)}return d.busy.flag},d.busy.flag=!1,d.fireQueueItem=function(t){return t.callback.apply(t.scope||d,t.args||[])},d.pushQueue=function(t){return d.queues[t.queue||0]=d.queues[t.queue||0]||[],d.queues[t.queue||0].push(t),d},d.queue=function(t,e){return"function"==typeof t&&(t={callback:t}),"undefined"!=typeof e&&(t.queue=e),d.busy()?d.pushQueue(t):d.fireQueueItem(t),d},d.clearQueue=function(){return d.busy.flag=!1,d.queues=[],d},d.stateChanged=!1,d.doubleChecker=!1,d.doubleCheckComplete=function(){return d.stateChanged=!0,d.doubleCheckClear(),d},d.doubleCheckClear=function(){return d.doubleChecker&&(s(d.doubleChecker),d.doubleChecker=!1),d},d.doubleCheck=function(t){return d.stateChanged=!1,d.doubleCheckClear(),d.bugs.ieDoubleCheck&&(d.doubleChecker=a(function(){return d.doubleCheckClear(),d.stateChanged||t(),!0},d.options.doubleCheckInterval)),d},d.safariStatePoll=function(){var e,n=d.extractState(d.getLocationHref());return d.isLastSavedState(n)?void 0:(e=n,e||(e=d.createStateObject()),d.Adapter.trigger(t,"popstate"),d)},d.back=function(t){return t!==!1&&d.busy()?(d.pushQueue({scope:d,callback:d.back,args:arguments,queue:t}),!1):(d.busy(!0),d.doubleCheck(function(){d.back(!1)}),p.go(-1),!0)},d.forward=function(t){return t!==!1&&d.busy()?(d.pushQueue({scope:d,callback:d.forward,args:arguments,queue:t}),!1):(d.busy(!0),d.doubleCheck(function(){d.forward(!1)}),p.go(1),!0)},d.go=function(t,e){var n;if(t>0)for(n=1;t>=n;++n)d.forward(e);else{if(!(0>t))throw new Error("History.go: History.go requires a positive or negative integer passed.");for(n=-1;n>=t;--n)d.back(e)}return d},d.emulated.pushState){var f=function(){};d.pushState=d.pushState||f,d.replaceState=d.replaceState||f}else d.onPopState=function(e,n){var i,o,r=!1,a=!1;return d.doubleCheckComplete(),i=d.getHash(),i?(o=d.extractState(i||d.getL
69ocationHref(),!0),o?d.replaceState(o.data,o.title,o.url,!1):(d.Adapter.trigger(t,"anchorchange"),d.busy(!1)),d.expectedStateId=!1,!1):(r=d.Adapter.extractEventData("state",e,n)||!1,a=r?d.getStateById(r):d.expectedStateId?d.getStateById(d.expectedStateId):d.extractState(d.getLocationHref()),a||(a=d.createStateObject(null,null,d.getLocationHref())),d.expectedStateId=!1,d.isLastSavedState(a)?(d.busy(!1),!1):(d.storeState(a),d.saveState(a),d.setTitle(a),d.Adapter.trigger(t,"statechange"),d.busy(!1),!0))},d.Adapter.bind(t,"popstate",d.onPopState),d.pushState=function(e,n,i,o){if(d.getHashByUrl(i)&&d.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(o!==!1&&d.busy())return d.pushQueue({scope:d,callback:d.pushState,args:arguments,queue:o}),!1;d.busy(!0);var r=d.createStateObject(e,n,i);return d.isLastSavedState(r)?d.busy(!1):(d.storeState(r),d.expectedStateId=r.id,p.pushState(r.id,r.title,r.url),d.Adapter.trigger(t,"popstate")),!0},d.replaceState=function(e,n,i,o){if(d.getHashByUrl(i)&&d.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(o!==!1&&d.busy())return d.pushQueue({scope:d,callback:d.replaceState,args:arguments,queue:o}),!1;d.busy(!0);var r=d.createStateObject(e,n,i);return d.isLastSavedState(r)?d.busy(!1):(d.storeState(r),d.expectedStateId=r.id,p.replaceState(r.id,r.title,r.url),d.Adapter.trigger(t,"popstate")),!0};if(r){try{d.store=c.parse(r.getItem("History.store"))||{}}catch(m){d.store={}}d.normalizeStore()}else d.store={},d.normalizeStore();d.Adapter.bind(t,"unload",d.clearAllIntervals),d.saveState(d.storeState(d.extractState(d.getLocationHref(),!0))),r&&(d.onUnload=function(){var t,e,n;try{t=c.parse(r.getItem("History.store"))||{}}catch(i){t={}}t.idToState=t.idToState||{},t.urlToId=t.urlToId||{},t.stateToId=t.stateToId||{};for(e in d.idToState)d.idToState.hasOwnProperty(e)&&(t.idToState[e]=d.idToState[e]);for(e in d.urlToId)d.urlToId.hasOwnProperty(e)&&(t.urlToId[e]=d.urlToId[e]);for(e in d.stateToId)d.stateToId.hasOwnProperty(e)&&(t.stateToId[e]=d.stateToId[e]);d.store=t,d.normalizeStore(),n=c.stringify(t);try{r.setItem("History.store",n)}catch(o){if(o.code!==DOMException.QUOTA_EXCEEDED_ERR)throw o;r.length&&(r.removeItem("History.store"),r.setItem("History.store",n))}},d.intervalList.push(l(d.onUnload,d.options.storeInterval)),d.Adapter.bind(t,"beforeunload",d.onUnload),d.Adapter.bind(t,"unload",d.onUnload)),d.emulated.pushState||(d.bugs.safariPoll&&d.intervalList.push(l(d.safariStatePoll,d.options.safariPollInterval)),("Apple Computer, Inc."===o.vendor||"Mozilla"===(o.appCodeName||""))&&(d.Adapter.bind(t,"hashchange",function(){d.Adapter.trigger(t,"popstate")}),d.getHash()&&d.Adapter.onDomLoad(function(){d.Adapter.trigger(t,"hashchange")})))},(!d.options||!d.options.delayInit)&&d.init()}(window),!function(t,e,n){var i=t.L,o={};o.version="0.7.3","object"==typeof module&&"object"==typeof module.exports?module.exports=o:"function"==typeof define&&define.amd&&define(o),o.noConflict=function(){return t.L=i,this},t.L=o,o.Util={extend:function(t){var e,n,i,o,r=Array.prototype.slice.call(arguments,1);for(n=0,i=r.length;i>n;n++){o=r[n]||{};for(e in o)o.hasOwnProperty(e)&&(t[e]=o[e])}return t},bind:function(t,e){var n=arguments.length>2?Array.prototype.slice.call(arguments,2):null;return function(){return t.apply(e,n||arguments)}},stamp:function(){var t=0,e="_leaflet_id";return function(n){return n[e]=n[e]||++t,n[e]}}(),invokeEach:function(t,e,n){var i,o;if("object"==typeof t){o=Array.prototype.slice.call(arguments,3);for(i in t)e.apply(n,[i,t[i]].concat(o));return!0}return!1},limitExecByInterval:function(t,e,n){var i,o;return function r(){var a=arguments;return i?void(o=!0):(i=!0,setTimeout(function(){i=!1,o&&(r.apply(n,a),o=!1)},e),void t.apply(n,a))}},falseFn:function(){return!1},formatNum:function(t,e){var n=Math.pow(10,e||5);return Math.round(t*n)/n},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},splitWords:function(t){return o.Util.trim(t).split(/\s+/)},setOptions:function(t,e){return t.options=o.extend({},t.options,e),t.options},getParamString:function(t,e,n){var i=[];for(var o in t)i.push(encodeURIComponent(n?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+i.join("&")},template:function(t,e){return t.replace(/\{ *([\w_]+) *\}/g,function(t,i){var o=e[i];if(o===n)throw new Error("No value provided for variable "+t);return"function"==typeof o&&(o=o(e)),o})},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},emptyImageUrl:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="},function(){function e(e){var n,i,o=["webkit","moz","o","ms"];for(n=0;n<o.length&&!i;n++)i=t[o[n]+e];return i}function n(e){var n=+new Date,o=Math.max(0,16-(n-i));return i=n+o,t.setTimeout(e,o)}var i=0,r=t.requestAnimationFrame||e("RequestAnimationFrame")||n,a=t.cancelAnimationFrame||e("CancelAnimationFrame")||e("CancelRequestAnimationFrame")||function(e){t.clearTimeout(e)};o.Util.requestAnimFrame=function(e,i,a,s){return e=o.bind(e,i),a&&r===n?void e():r.call(t,e,s)},o.Util.cancelAnimFrame=function(e){e&&a.call(t,e)}}(),o.extend=o.Util.extend,o.bind=o.Util.bind,o.stamp=o.Util.stamp,o.setOptions=o.Util.setOptions,o.Class=function(){},o.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this._initHooks&&this.callInitHooks()},n=function(){};n.prototype=this.prototype;var i=new n;i.constructor=e,e.prototype=i;for(var r in this)this.hasOwnProperty(r)&&"prototype"!==r&&(e[r]=this[r]);t.statics&&(o.extend(e,t.statics),delete t.statics),t.includes&&(o.Util.extend.apply(null,[i].concat(t.includes)),delete t.includes),t.options&&i.options&&(t.options=o.extend({},i.options,t.options)),o.extend(i,t),i._initHooks=[];var a=this;return e.__super__=a.prototype,i.callInitHooks=function(){if(!this._initHooksCalled){a.prototype.callInitHooks&&a.prototype.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=i._initHooks.length;e>t;t++)i._initHooks[t].call(this)}},e},o.Class.include=function(t){o.extend(this.prototype,t)},o.Class.mergeOptions=function(t){o.extend(this.prototype.options,t)},o.Class.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1
69),n="function"==typeof t?t:function(){this[t].apply(this,e)};this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n)};var r="_leaflet_events";o.Mixin={},o.Mixin.Events={addEventListener:function(t,e,n){if(o.Util.invokeEach(t,this.addEventListener,this,e,n))return this;var i,a,s,l,u,c,h,d=this[r]=this[r]||{},p=n&&n!==this&&o.stamp(n);for(t=o.Util.splitWords(t),i=0,a=t.length;a>i;i++)s={action:e,context:n||this},l=t[i],p?(u=l+"_idx",c=u+"_len",h=d[u]=d[u]||{},h[p]||(h[p]=[],d[c]=(d[c]||0)+1),h[p].push(s)):(d[l]=d[l]||[],d[l].push(s));return this},hasEventListeners:function(t){var e=this[r];return!!e&&(t in e&&e[t].length>0||t+"_idx"in e&&e[t+"_idx_len"]>0)},removeEventListener:function(t,e,n){if(!this[r])return this;if(!t)return this.clearAllEventListeners();if(o.Util.invokeEach(t,this.removeEventListener,this,e,n))return this;var i,a,s,l,u,c,h,d,p,f=this[r],m=n&&n!==this&&o.stamp(n);for(t=o.Util.splitWords(t),i=0,a=t.length;a>i;i++)if(s=t[i],c=s+"_idx",h=c+"_len",d=f[c],e){if(l=m&&d?d[m]:f[s]){for(u=l.length-1;u>=0;u--)l[u].action!==e||n&&l[u].context!==n||(p=l.splice(u,1),p[0].action=o.Util.falseFn);n&&d&&0===l.length&&(delete d[m],f[h]--)}}else delete f[s],delete f[c],delete f[h];return this},clearAllEventListeners:function(){return delete this[r],this},fireEvent:function(t,e){if(!this.hasEventListeners(t))return this;var n,i,a,s,l,u=o.Util.extend({},e,{type:t,target:this}),c=this[r];if(c[t])for(n=c[t].slice(),i=0,a=n.length;a>i;i++)n[i].action.call(n[i].context,u);s=c[t+"_idx"];for(l in s)if(n=s[l].slice())for(i=0,a=n.length;a>i;i++)n[i].action.call(n[i].context,u);return this},addOneTimeEventListener:function(t,e,n){if(o.Util.invokeEach(t,this.addOneTimeEventListener,this,e,n))return this;var i=o.bind(function(){this.removeEventListener(t,e,n).removeEventListener(t,i,n)},this);return this.addEventListener(t,e,n).addEventListener(t,i,n)}},o.Mixin.Events.on=o.Mixin.Events.addEventListener,o.Mixin.Events.off=o.Mixin.Events.removeEventListener,o.Mixin.Events.once=o.Mixin.Events.addOneTimeEventListener,o.Mixin.Events.fire=o.Mixin.Events.fireEvent,function(){var i="ActiveXObject"in t,r=i&&!e.addEventListener,a=navigator.userAgent.toLowerCase(),s=-1!==a.indexOf("webkit"),l=-1!==a.indexOf("chrome"),u=-1!==a.indexOf("phantom"),c=-1!==a.indexOf("android"),h=-1!==a.search("android [23]"),d=-1!==a.indexOf("gecko"),p=typeof orientation!=n+"",f=t.navigator&&t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints&&!t.PointerEvent,m=t.PointerEvent&&t.navigator.pointerEnabled&&t.navigator.maxTouchPoints||f,g="devicePixelRatio"in t&&t.devicePixelRatio>1||"matchMedia"in t&&t.matchMedia("(min-resolution:144dpi)")&&t.matchMedia("(min-resolution:144dpi)").matches,_=e.documentElement,v=i&&"transition"in _.style,y="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix&&!h,b="MozPerspective"in _.style,L="OTransition"in _.style,w=!t.L_DISABLE_3D&&(v||y||b||L)&&!u,x=!t.L_NO_TOUCH&&!u&&function(){var t="ontouchstart";if(m||t in _)return!0;var n=e.createElement("div"),i=!1;return n.setAttribute?(n.setAttribute(t,"return;"),"function"==typeof n[t]&&(i=!0),n.removeAttribute(t),n=null,i):!1}();o.Browser={ie:i,ielt9:r,webkit:s,gecko:d&&!s&&!t.opera&&!i,android:c,android23:h,chrome:l,ie3d:v,webkit3d:y,gecko3d:b,opera3d:L,any3d:w,mobile:p,mobileWebkit:p&&s,mobileWebkit3d:p&&y,mobileOpera:p&&t.opera,touch:x,msPointer:f,pointer:m,retina:g}}(),o.Point=function(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e},o.Point.prototype={clone:function(){return new o.Point(this.x,this.y)},add:function(t){return this.clone()._add(o.point(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(o.point(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},distanceTo:function(t){t=o.point(t);var e=t.x-this.x,n=t.y-this.y;return Math.sqrt(e*e+n*n)},equals:function(t){return t=o.point(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=o.point(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)}
69,toString:function(){return"Point("+o.Util.formatNum(this.x)+", "+o.Util.formatNum(this.y)+")"}},o.point=function(t,e,i){return t instanceof o.Point?t:o.Util.isArray(t)?new o.Point(t[0],t[1]):t===n||null===t?t:new o.Point(t,e,i)},o.Bounds=function(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;o>i;i++)this.extend(n[i])},o.Bounds.prototype={extend:function(t){return t=o.point(t),this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(t.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(t.y,this.max.y)):(this.min=t.clone(),this.max=t.clone()),this},getCenter:function(t){return new o.Point((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return new o.Point(this.min.x,this.max.y)},getTopRight:function(){return new o.Point(this.max.x,this.min.y)},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return t="number"==typeof t[0]||t instanceof o.Point?o.point(t):o.bounds(t),t instanceof o.Bounds?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=o.bounds(t);var e=this.min,n=this.max,i=t.min,r=t.max,a=r.x>=e.x&&i.x<=n.x,s=r.y>=e.y&&i.y<=n.y;return a&&s},isValid:function(){return!(!this.min||!this.max)}},o.bounds=function(t,e){return!t||t instanceof o.Bounds?t:new o.Bounds(t,e)},o.Transformation=function(t,e,n,i){this._a=t,this._b=e,this._c=n,this._d=i},o.Transformation.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return e=e||1,t.x=e*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return e=e||1,new o.Point((t.x/e-this._b)/this._a,(t.y/e-this._d)/this._c)}},o.DomUtil={get:function(t){return"string"==typeof t?e.getElementById(t):t},getStyle:function(t,n){var i=t.style[n];if(!i&&t.currentStyle&&(i=t.currentStyle[n]),(!i||"auto"===i)&&e.defaultView){var o=e.defaultView.getComputedStyle(t,null);i=o?o[n]:null}return"auto"===i?null:i},getViewportOffset:function(t){var n,i=0,r=0,a=t,s=e.body,l=e.documentElement;do{if(i+=a.offsetTop||0,r+=a.offsetLeft||0,i+=parseInt(o.DomUtil.getStyle(a,"borderTopWidth"),10)||0,r+=parseInt(o.DomUtil.getStyle(a,"borderLeftWidth"),10)||0,n=o.DomUtil.getStyle(a,"position"),a.offsetParent===s&&"absolute"===n)break;if("fixed"===n){i+=s.scrollTop||l.scrollTop||0,r+=s.scrollLeft||l.scrollLeft||0;break}if("relative"===n&&!a.offsetLeft){var u=o.DomUtil.getStyle(a,"width"),c=o.DomUtil.getStyle(a,"max-width"),h=a.getBoundingClientRect();("none"!==u||"none"!==c)&&(r+=h.left+a.clientLeft),i+=h.top+(s.scrollTop||l.scrollTop||0);break}a=a.offsetParent}while(a);a=t;do{if(a===s)break;i-=a.scrollTop||0,r-=a.scrollLeft||0,a=a.parentNode}while(a);return new o.Point(r,i)},documentIsLtr:function(){return o.DomUtil._docIsLtrCached||(o.DomUtil._docIsLtrCached=!0,o.DomUtil._docIsLtr="ltr"===o.DomUtil.getStyle(e.body,"direction")),o.DomUtil._docIsLtr},create:function(t,n,i){var o=e.createElement(t);return o.className=n,i&&i.appendChild(o),o},hasClass:function(t,e){if(t.classList!==n)return t.classList.contains(e);var i=o.DomUtil._getClass(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)},addClass:function(t,e){if(t.classList!==n)for(var i=o.Util.splitWords(e),r=0,a=i.length;a>r;r++)t.classList.add(i[r]);else if(!o.DomUtil.hasClass(t,e)){var s=o.DomUtil._getClass(t);o.DomUtil._setClass(t,(s?s+" ":"")+e)}},removeClass:function(t,e){t.classList!==n?t.classList.remove(e):o.DomUtil._setClass(t,o.Util.trim((" "+o.DomUtil._getClass(t)+" ").replace(" "+e+" "," ")))},_setClass:function(t,e){t.className.baseVal===n?t.className=e:t.className.baseVal=e},_getClass:function(t){return t.className.baseVal===n?t.className:t.className.baseVal},setOpacity:function(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(i)}catch(o){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+i+"(opacity="+e+")"}},testProp:function(t){for(var n=e.documentElement.style,i=0;i<t.length;i++)if(t[i]in n)return t[i];return!1},getTranslateString:function(t){var e=o.Browser.webkit3d,n="translate"+(e?"3d":"")+"(",i=(e?",0":"")+")";return n+t.x+"px,"+t.y+"px"+i}
69,getScaleString:function(t,e){var n=o.DomUtil.getTranslateString(e.add(e.multiplyBy(-1*t))),i=" scale("+t+") ";return n+i},setPosition:function(t,e,n){t._leaflet_pos=e,!n&&o.Browser.any3d?t.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(e):(t.style.left=e.x+"px",t.style.top=e.y+"px")},getPosition:function(t){return t._leaflet_pos}},o.DomUtil.TRANSFORM=o.DomUtil.testProp(["transform","WebkitTransform","OTransform","MozTransform","msTransform"]),o.DomUtil.TRANSITION=o.DomUtil.testProp(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),o.DomUtil.TRANSITION_END="webkitTransition"===o.DomUtil.TRANSITION||"OTransition"===o.DomUtil.TRANSITION?o.DomUtil.TRANSITION+"End":"transitionend",function(){if("onselectstart"in e)o.extend(o.DomUtil,{disableTextSelection:function(){o.DomEvent.on(t,"selectstart",o.DomEvent.preventDefault)},enableTextSelection:function(){o.DomEvent.off(t,"selectstart",o.DomEvent.preventDefault)}});else{var n=o.DomUtil.testProp(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);o.extend(o.DomUtil,{disableTextSelection:function(){if(n){var t=e.documentElement.style;this._userSelect=t[n],t[n]="none"}},enableTextSelection:function(){n&&(e.documentElement.style[n]=this._userSelect,delete this._userSelect)}})}o.extend(o.DomUtil,{disableImageDrag:function(){o.DomEvent.on(t,"dragstart",o.DomEvent.preventDefault)},enableImageDrag:function(){o.DomEvent.off(t,"dragstart",o.DomEvent.preventDefault)}})}(),o.LatLng=function(t,e,i){if(t=parseFloat(t),e=parseFloat(e),isNaN(t)||isNaN(e))throw new Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=t,this.lng=e,i!==n&&(this.alt=parseFloat(i))},o.extend(o.LatLng,{DEG_TO_RAD:Math.PI/180,RAD_TO_DEG:180/Math.PI,MAX_MARGIN:1e-9}),o.LatLng.prototype={equals:function(t){if(!t)return!1;t=o.latLng(t);var e=Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng));return e<=o.LatLng.MAX_MARGIN},toString:function(t){return"LatLng("+o.Util.formatNum(this.lat,t)+", "+o.Util.formatNum(this.lng,t)+")"},distanceTo:function(t){t=o.latLng(t);var e=6378137,n=o.LatLng.DEG_TO_RAD,i=(t.lat-this.lat)*n,r=(t.lng-this.lng)*n,a=this.lat*n,s=t.lat*n,l=Math.sin(i/2),u=Math.sin(r/2),c=l*l+u*u*Math.cos(a)*Math.cos(s);return 2*e*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))},wrap:function(t,e){var n=this.lng;return t=t||-180,e=e||180,n=(n+e)%(e-t)+(t>n||n===e?e:t),new o.LatLng(this.lat,n)}},o.latLng=function(t,e){return t instanceof o.LatLng?t:o.Util.isArray(t)?"number"==typeof t[0]||"string"==typeof t[0]?new o.LatLng(t[0],t[1],t[2]):null:t===n||null===t?t:"object"==typeof t&&"lat"in t?new o.LatLng(t.lat,"lng"in t?t.lng:t.lon):e===n?null:new o.LatLng(t,e)},o.LatLngBounds=function(t,e){if(t)for(var n=e?[t,e]:t,i=0,o=n.length;o>i;i++)this.extend(n[i])},o.LatLngBounds.prototype={extend:function(t){if(!t)return this;var e=o.latLng(t);return t=null!==e?e:o.latLngBounds(t),t instanceof o.LatLng?this._southWest||this._northEast?(this._southWest.lat=Math.min(t.lat,this._southWest.lat),this._southWest.lng=Math.min(t.lng,this._southWest.lng),this._northEast.lat=Math.max(t.lat,this._northEast.lat),this._northEast.lng=Math.max(t.lng,this._northEast.lng)):(this._southWest=new o.LatLng(t.lat,t.lng),this._northEast=new o.LatLng(t.lat,t.lng)):t instanceof o.LatLngBounds&&(this.extend(t._southWest),this.extend(t._northEast)),this},pad:function(t){var e=this._southWest,n=this._northEast,i=Math.abs(e.lat-n.lat)*t,r=Math.abs(e.lng-n.lng)*t;return new o.LatLngBounds(new o.LatLng(e.lat-i,e.lng-r),new o.LatLng(n.lat+i,n.lng+r))},getCenter:function(){return new o.LatLng((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new o.LatLng(this.getNorth(),this.getWest())},getSouthEast:function(){return new o.LatLng(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t="number"==typeof t[0]||t instanceof o.LatLng?o.latLng(t):o.latLngBounds(t);var e,n,i=this._southWest,r=this._northEast;
69return t instanceof o.LatLngBounds?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=o.latLngBounds(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),a=r.lat>=e.lat&&i.lat<=n.lat,s=r.lng>=e.lng&&i.lng<=n.lng;return a&&s},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t){return t?(t=o.latLngBounds(t),this._southWest.equals(t.getSouthWest())&&this._northEast.equals(t.getNorthEast())):!1},isValid:function(){return!(!this._southWest||!this._northEast)}},o.latLngBounds=function(t,e){return!t||t instanceof o.LatLngBounds?t:new o.LatLngBounds(t,e)},o.Projection={},o.Projection.SphericalMercator={MAX_LATITUDE:85.0511287798,project:function(t){var e=o.LatLng.DEG_TO_RAD,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,t.lat),-n),r=t.lng*e,a=i*e;return a=Math.log(Math.tan(Math.PI/4+a/2)),new o.Point(r,a)},unproject:function(t){var e=o.LatLng.RAD_TO_DEG,n=t.x*e,i=(2*Math.atan(Math.exp(t.y))-Math.PI/2)*e;return new o.LatLng(i,n)}},o.Projection.LonLat={project:function(t){return new o.Point(t.lng,t.lat)},unproject:function(t){return new o.LatLng(t.y,t.x)}},o.CRS={latLngToPoint:function(t,e){var n=this.projection.project(t),i=this.scale(e);return this.transformation._transform(n,i)},pointToLatLng:function(t,e){var n=this.scale(e),i=this.transformation.untransform(t,n);return this.projection.unproject(i)},project:function(t){return this.projection.project(t)},scale:function(t){return 256*Math.pow(2,t)},getSize:function(t){var e=this.scale(t);return o.point(e,e)}},o.CRS.Simple=o.extend({},o.CRS,{projection:o.Projection.LonLat,transformation:new o.Transformation(1,0,-1,0),scale:function(t){return Math.pow(2,t)}}),o.CRS.EPSG3857=o.extend({},o.CRS,{code:"EPSG:3857",projection:o.Projection.SphericalMercator,transformation:new o.Transformation(.5/Math.PI,.5,-.5/Math.PI,.5),project:function(t){var e=this.projection.project(t),n=6378137;return e.multiplyBy(n)}}),o.CRS.EPSG900913=o.extend({},o.CRS.EPSG3857,{code:"EPSG:900913"}),o.CRS.EPSG4326=o.extend({},o.CRS,{code:"EPSG:4326",projection:o.Projection.LonLat,transformation:new o.Transformation(1/360,.5,-1/360,.5)}),o.Map=o.Class.extend({includes:o.Mixin.Events,options:{crs:o.CRS.EPSG3857,fadeAnimation:o.DomUtil.TRANSITION&&!o.Browser.android23,trackResize:!0,markerZoomAnimation:o.DomUtil.TRANSITION&&o.Browser.any3d},initialize:function(t,e){e=o.setOptions(this,e),this._initContainer(t),this._initLayout(),this._onResize=o.bind(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),e.center&&e.zoom!==n&&this.setView(o.latLng(e.center),e.zoom,{reset:!0}),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._tileLayersNum=0,this.callInitHooks(),this._addLayers(e.layers)},setView:function(t,e){return e=e===n?this.getZoom():e,this._resetView(o.latLng(t),this._limitZoom(e)),this},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=this._limitZoom(t),this)},zoomIn:function(t,e){return this.setZoom(this._zoom+(t||1),e)},zoomOut:function(t,e){return this.setZoom(this._zoom-(t||1),e)},setZoomAround:function(t,e,n){var i=this.getZoomScale(e),r=this.getSize().divideBy(2),a=t instanceof o.Point?t:this.latLngToContainerPoint(t),s=a.subtract(r).multiplyBy(1-1/i),l=this.containerPointToLatLng(r.add(s));return this.setView(l,e,{zoom:n})},fitBounds:function(t,e){e=e||{},t=t.getBounds?t.getBounds():o.latLngBounds(t);var n=o.point(e.paddingTopLeft||e.padding||[0,0]),i=o.point(e.paddingBottomRight||e.padding||[0,0]),r=this.getBoundsZoom(t,!1,n.add(i)),a=i.subtract(n).divideBy(2),s=this.project(t.getSouthWest
69(),r),l=this.project(t.getNorthEast(),r),u=this.unproject(s.add(l).divideBy(2).add(a),r);return r=e&&e.maxZoom?Math.min(e.maxZoom,r):r,this.setView(u,r,e)},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t){return this.fire("movestart"),this._rawPanBy(o.point(t)),this.fire("move"),this.fire("moveend")},setMaxBounds:function(t){return t=o.latLngBounds(t),this.options.maxBounds=t,t?(this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds,this)):this.off("moveend",this._panInsideMaxBounds,this)},panInsideBounds:function(t,e){var n=this.getCenter(),i=this._limitCenter(n,this._zoom,t);return n.equals(i)?this:this.panTo(i,e)},addLayer:function(t){var e=o.stamp(t);return this._layers[e]?this:(this._layers[e]=t,!t.options||isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[e]=t,this._updateZoomLevels()),this.options.zoomAnimation&&o.TileLayer&&t instanceof o.TileLayer&&(this._tileLayersNum++,this._tileLayersToLoad++,t.on("load",this._onTileLayerLoad,this)),this._loaded&&this._layerAdd(t),this)},removeLayer:function(t){var e=o.stamp(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&this.fire("layerremove",{layer:t}),this._zoomBoundLayers[e]&&(delete this._zoomBoundLayers[e],this._updateZoomLevels()),this.options.zoomAnimation&&o.TileLayer&&t instanceof o.TileLayer&&(this._tileLayersNum--,this._tileLayersToLoad--,t.off("load",this._onTileLayerLoad,this)),this):this},hasLayer:function(t){return t?o.stamp(t)in this._layers:!1},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},invalidateSize:function(t){if(!this._loaded)return this;t=o.extend({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._initialCenter=null;var n=this.getSize(),i=e.divideBy(2).round(),r=n.divideBy(2).round(),a=i.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(o.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:n})):this},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){this._loaded&&this.fire("unload"),this._initEvents("off");try{delete this._container._leaflet}catch(t){this._container._leaflet=n}return this._clearPanes(),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this},getCenter:function(){return this._checkIfLoaded(),this._initialCenter&&!this._moved()?this._initialCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),n=this.unproject(t.getTopRight());return new o.LatLngBounds(e,n)},getMinZoom:function(){return this.options.minZoom===n?this._layersMinZoom===n?0:this._layersMinZoom:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===n?this._layersMaxZoom===n?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=o.latLngBounds(t);var i,r=this.getMinZoom()-(e?1:0),a=this.getMaxZoom(),s=this.getSize(),l=t.getNorthWest(),u=t.getSouthEast(),c=!0;n=o.point(n||[0,0]);do r++,i=this.project(u,r).subtract(this.project(l,r)).add(n),c=e?i.x<s.x||i.y<s.y:s.contains(i);while(c&&a>=r);return c&&e?null:e?r:r-1},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new o.Point(this._container.clientWidth,this._container.clientHeight),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(){var t=this._getTopLeftPoint();return new o.Bounds(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._initialTopLeftPoint},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t){var e=this.options.crs;return e.scale(t)/e.scale(this._zoom)},getScaleZoom:function(t){return this._zoom+Math.log(t)/Math.LN2},project:function(t,e){return e=e===n?this._zoom:e,this.options.crs.latLngToPoint(o.latLng(t),e)},unproject:function(t,e){return e=e===n?this._zoom:e,this.options.crs.pointToLatLng(o.point(t),e)},layerPointToLatLng:function(t){var e=o.point(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(o.latLng(t))._round();return e._subtract(this.getPixelOrigin())},containerPointToLayerPoint:function(t){return o.point(t).subtract(this._getMapPanePos())
70},layerPointToContainerPoint:function(t){return o.point(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(o.point(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(o.latLng(t)))},mouseEventToContainerPoint:function(t){return o.DomEvent.getMousePosition(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=o.DomUtil.get(t);if(!e)throw new Error("Map container not found.");if(e._leaflet)throw new Error("Map container is already initialized.");e._leaflet=!0},_initLayout:function(){var t=this._container;o.DomUtil.addClass(t,"leaflet-container"+(o.Browser.touch?" leaflet-touch":"")+(o.Browser.retina?" leaflet-retina":"")+(o.Browser.ielt9?" leaflet-oldie":"")+(this.options.fadeAnimation?" leaflet-fade-anim":""));var e=o.DomUtil.getStyle(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._mapPane=t.mapPane=this._createPane("leaflet-map-pane",this._container),this._tilePane=t.tilePane=this._createPane("leaflet-tile-pane",this._mapPane),t.objectsPane=this._createPane("leaflet-objects-pane",this._mapPane),t.shadowPane=this._createPane("leaflet-shadow-
70pane"),t.overlayPane=this._createPane("leaflet-overlay-pane"),t.markerPane=this._createPane("leaflet-marker-pane"),t.popupPane=this._createPane("leaflet-popup-pane");var e=" leaflet-zoom-hide";this.options.markerZoomAnimation||(o.DomUtil.addClass(t.markerPane,e),o.DomUtil.addClass(t.shadowPane,e),o.DomUtil.addClass(t.popupPane,e))},_createPane:function(t,e){return o.DomUtil.create("div",t,e||this._panes.objectsPane)},_clearPanes:function(){this._container.removeChild(this._mapPane)},_addLayers:function(t){t=t?o.Util.isArray(t)?t:[t]:[];for(var e=0,n=t.length;n>e;e++)this.addLayer(t[e])},_resetView:function(t,e,n,i){var r=this._zoom!==e;i||(this.fire("movestart"),r&&this.fire("zoomstart")),this._zoom=e,this._initialCenter=t,this._initialTopLeftPoint=this._getNewTopLeftPoint(t),n?this._initialTopLeftPoint._add(this._getMapPanePos()):o.DomUtil.setPosition(this._mapPane,new o.Point(0,0)),this._tileLayersToLoad=this._tileLayersNum;var a=!this._loaded;this._loaded=!0,this.fire("viewreset",{hard:!n}),a&&(this.fire("load"),this.eachLayer(this._layerAdd,this)),this.fire("move"),(r||i)&&this.fire("zoomend"),this.fire("moveend",{hard:!n})},_rawPanBy:function(t){o.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_updateZoomLevels:function(){var t,e=1/0,i=-1/0,o=this._getZoomSpan();for(t in this._zoomBoundLayers){var r=this._zoomBoundLayers[t];isNaN(r.options.minZoom)||(e=Math.min(e,r.options.minZoom)),isNaN(r.options.maxZoom)||(i=Math.max(i,r.options.maxZoom))}t===n?this._layersMaxZoom=this._layersMinZoom=n:(this._layersMaxZoom=i,this._layersMinZoom=e),o!==this._getZoomSpan()&&this.fire("zoomlevelschange")},_panInsideMaxBounds:function(){this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){if(o.DomEvent){e=e||"on",o.DomEvent[e](this._container,"click",this._onMouseClick,this);var n,i,r=["dblclick","mousedown","mouseup","mouseenter","mouseleave","mousemove","contextmenu"];for(n=0,i=r.length;i>n;n++)o.DomEvent[e](this._container,r[n],this._fireMouseEvent,this);this.options.trackResize&&o.DomEvent[e](t,"resize",this._onResize,this)}},_onResize:function(){o.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=o.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this,!1,this._container)},_onMouseClick:function(t){!this._loaded||!t._simulated&&(this.dragging&&this.dragging.moved()||this.boxZoom&&this.boxZoom.moved())||o.DomEvent._skipped(t)||(this.fire("preclick"),this._fireMouseEvent(t))},_fireMouseEvent:function(t){if(this._loaded&&!o.DomEvent._skipped(t)){var e=t.type;if(e="mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":e,this.hasEventListeners(e)){"contextmenu"===e&&o.DomEvent.preventDefault(t);var n=this.mouseEventToContainerPoint(t),i=this.containerPointToLayerPoint(n),r=this.layerPointToLatLng(i);this.fire(e,{latlng:r,layerPoint:i,containerPoint:n,originalEvent:t})}}},_onTileLayerLoad:function(){this._tileLayersToLoad--,this._tileLayersNum&&!this._tileLayersToLoad&&this.fire("tilelayersload")},_clearHandlers:function(){for(var t=0,e=this._handlers.length;e>t;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,this):this.on("load",t,e),this},_layerAdd:function(t){t.onAdd(this),this.fire("layeradd",{layer:t})},_getMapPanePos:function(){return o.DomUtil.getPosition(this._mapPane)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(){return this.getPixelOrigin().subtract(this._getMapPanePos())},_getNewTopLeftPoint:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._round()},_latLngToNewLayerPoint:function(t,e,n){var i=this._getNewTopLeftPoint(n,e).add(this._getMapPanePos());return this.project(t,e)._subtract(i)},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){if(!n)return t;var i=this.project(t,e),r=this.getSize().divideBy(2),a=new o.Bounds(i.subtract(r),i.add(r)),s=this._getBoundsOffset(a,n,e);return this.unproject(i.add(s),e)},_limitOffset:function(t,e){if(!e)return t;var n=this.getPixelBounds(),i=new o.Bounds(n.min.add(t),n.max.add(t));return t.add(this._getBoundsOffset(i,e))},_getBoundsOffset:function(t,e,n){var i=this.project(e.getNorthWest(),n).subtract(t.min),r=this.project(e.getSouthEast(),n).subtract(t.max),a=this._rebound(i.x,-r.x),s=this._rebound(i.y,-r.y);return new o.Point(a,s)},_rebound:function(t,e){return t+e>0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom();return Math.max(e,Math.min(n,t))}}),o.map=function(t,e){return new o.Map(t,e)},o.Projection.Mercator={MAX_LATITUDE:85.0840591556,R_MINOR:6356752.314245179,R_MAJOR:6378137,project:function(t){var e=o.LatLng.DEG_TO_RAD,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,t.lat),-n),r=this.R_MAJOR,a=this.R_MINOR,s=t.lng*e*r,l=i*e,u=a/r,c=Math.sqrt(1-u*u),h=c*Math.sin(l);h=Math.pow((1-h)/(1+h),.5*c);var d=Math.tan(.5*(.5*Math.PI-l))/h;return l=-r*Math.log(d),new o.Point(s,l)},unproject:function(t){for(var e,n=o.LatLng.RAD_TO_DEG,i=this.R_MAJOR,r=this.R_MINOR,a=t.x*n/i,s=r/i,l=Math.sqrt(1-s*s),u=Math.exp(-t.y/i),c=Math.PI/2-2*Math.atan(u),h=15,d=1e-7,p=h,f=.1;Math.abs(f)>d&&--p>0;)e=l*Math.sin(c),f=Math.PI/2-2*Math.atan(u*Math.pow((1-e)/(1+e),.5*l))-c,c+=f;return new o.LatLng(c*n,a)}},o.CRS.EPSG3395=o.extend({},o.CRS,{code:"EPSG:3395",projection:o.Projection.Mercator,transformation:function(){var t=o.Projection.Mercator,e=t.R_MAJOR,n=.5/(Math.PI*e);return new o.Transformation(n,.5,-n,.5)}()}),o.TileLayer=o.Class.extend({includes:o.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",zoomOffset:0,opacity:1,unloadInvisibleTiles:o.Browser.mobile,updateWhenIdle:o.Browser.mobile},initialize:function(t,e){e=o.setOptions(this,e),e.detectRetina&&o.Browser.retina&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomOffset++,e.minZoom>0&&e.minZoom--,this.options.maxZoom--),e.bounds&&(e.bounds=o.latLngBounds(e.bounds)),this._url=t;var n=this.options.subdomains;"string"==typeof n&&(this.options.subdomains=n.split(""))},onAdd:function(t){this._map=t,this._animated=t._zoomAnimated,this._initContainer(),t.on({viewreset:this._reset,moveend:this._update},this),this._animated&&t.on({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||(this._limitedUpdate=o.Util.limitExecByInterval(this._update,150,this),t.on("move",this._limitedUpdate,this)),this._reset(),this._update()},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this._container.parentNode.removeChild(this._container),t.off({viewreset:this._reset,moveend:this._update},this),this._animated&&t.off({zoomanim:this._animateZoom,zoomend:this._endZoomAnim},this),this.options.updateWhenIdle||t.off("move",this._limitedUpdate,this),this._container=null,this._map=null},bringToFront:function(){var t=this._map._panes.tilePane;return this._container&&(t.appendChild(this._container),this._setAutoZIndex(t,Math.max)),this},bringToBack:function(){var t=this._map._panes.tilePane;return this._container&&(t.insertBefore(this._container,t.firstChild),this._setAutoZIndex(t,Math.min)),this},getAttribution:function(){return this.options.attribution},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},setUrl:function(t,e){return this._url=t,e||this.redraw(),this},redraw:function(){return this._map&&(this._reset({hard:!0}),this._update()),this},_updateZIndex:function(){this._container&&this.options.zIndex!==n&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t,e){var n,i,o,r=t.children,a=-e(1/0,-1/0);for(i=0,o=r.length;o>i;i++)r[i]!==this._container&&(n=parseInt(r[i].style.zIndex,10),isNaN(n)||(a=e(a,n)));this.options.zIndex=this._container.style.zIndex=(isFinite(a)?a:0)+e(1,-1)},_updateOpacity:function(){var t,e=this._tiles;if(o.Browser.ielt9)for(t in e)o.DomUtil.setOpacity(e[t],this.options.opacity);else o.DomUtil.setOpacity(this._container,this.options.opacity)},_initContainer:function(){var t=this._map._panes.tilePane;if(!this._container){if(this._container=o.DomUtil.create("div","leaflet-layer"),this._updateZIndex(),this._animated){var e="leaflet-tile-container";this._bgBuffer=o.DomUtil.create("div",e,this._container),this._tileContainer=o.DomUtil.create("div",e,this._container)}else this._tileContainer=this._container;t.appendChild(this._container),this.options.opacity<1&&this._updateOpacity()}},_reset:function(t){for(var e in this._tiles)this.fire("tileunload",{tile:this._tiles[e]});this._tiles={},this._tilesToLoad=0,this.options.reuseTiles&&(this._unusedTiles=[]),this._tileContainer.innerHTML="",this._animated&&t&&t.hard&&this._clearBgBuffer(),this._initContainer()},_getTileSize:function(){var t=this._map,e=t.getZoom()+this.options.zoomOffset,n=this.options.maxNativeZoom,i=this.options.tileSize;return n&&e>n&&(i=Math.round(t.getZoomScale(e)/t.getZoomScale(n)*i)),i},_update:function(){if(this._map){var t=this._map,e=t.getPixelBounds(),n=t.getZoom(),i=this._getTileSize();if(!(n>this.options.maxZoom||n<this.options.minZoom)){var r=o.bounds(e.min.divideBy(i)._floor(),e.max.divideBy(i)._floor());this._addTilesFromCenterOut(r),(this.options.unloadInvisibleTiles||this.options.reuseTiles)&&this._removeOtherTiles(r)}}},_addTilesFromCenterOut:function(t){var n,i,r,a=[],s=t.getCenter();for(n=t.min.y;n<=t.max.y;n++)for(i=t.min.x;i<=t.max.x;i++)r=new o.Point(i,n),this._tileShouldBeLoaded(r)&&a.push(r);var l=a.length;if(0!==l){a.sort(function(t,e){return t.distanceTo(s)-e.distanceTo(s)});var u=e.createDocumentFragment();for(this._tilesToLoad||this.fire("loading"),this._tilesToLoad+=l,i=0;l>i;i++)this._addTile(a[i],u);this._tileContainer.appendChild(u)}},_tileShouldBeLoaded:function(t){if(t.x+":"+t.y in this._tiles)return!1;var e=this.options;if(!e.continuousWorld){var n=this._getWrapTileNum();if(e.noWrap&&(t.x<0||t.x>=n.x)||t.y<0||t.y>=n.y)return!1}if(e.bounds){var i=e.tileSize,o=t.multiplyBy(i),r=o.add([i,i]),a=this._map.unproject(o),s=this._map.unproject(r);if(e.continuousWorld||e.noWrap||(a=a.wrap(),s=s.wrap()),!e.bounds.intersects([a,s]))return!1}return!0},_removeOtherTiles:function(t){var e,n,i,o;for(o in this._tiles)e=o.split(":"),n=parseInt(e[0],10),i=parseInt(e[1],10),(n<t.min.x||n>t.max.x||i<t.min.y||i>t.max.y)&&this._removeTile(o)},_removeTile:function(t){var e=this._tiles[t];this.fire("tileunload",{tile:e,url:e.src}),this.options.reuseTiles?(o.DomUtil.removeClass(e,"leaflet-tile-loaded"),this._unusedTiles.push(e)):e.parentNode===this._tileContainer&&this._tileContainer.removeChild(e),o.Browser.android||(e.onload=null,e.src=o.Util.emptyImageUrl),delete this._tiles[t]},_addTile:function(t,e){var n=this._getTilePos(t),i=this._getTile();o.DomUtil.setPosition(i,n,o.Browser.chrome),this._tiles[t.x+":"+t.y]=i,this._loadTile(i,t),i.parentNode!==this._tileContainer&&e.appendChild(i)},_getZoomForUrl:function(){var t=this.options,e=this._map.getZoom();return t.zoomReverse&&(e=t.maxZoom-e),e+=t.zoomOffset,t.maxNativeZoom?Math.min(e,t.maxNativeZoom):e},_getTilePos:function(t){var e=this._map.getPixelOrigin(),n=this._getTileSize();return t.multiplyBy(n).subtract(e)},getTileUrl:function(t){return o.Util.template(this._url,o.extend({s:this._getSubdomain(t),z:t.z,x:t.x,y:t.y},this.options))},_getWrapTileNum:function(){var t=this._map.options.crs,e=t.getSize(this._map.getZoom());return e.divideBy(this._getTileSize())._floor()},_adjustTilePoint:function(t){var e=this._getWrapTileNum();this.options.continuousWorld||this.options.noWrap||(t.x=(t.x%e.x+e.x)%e.x),this.options.tms&&(t.y=e.y-t.y-1),t.z=this._getZoomForUrl()},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_getTile:function(){if(this.options.reuseTiles&&this._unusedTiles.length>0){var t=this._unusedTiles.pop();return this._resetTile(t),t}return this._createTile()},_resetTile:function(){},_createTile:function(){var t=o.DomUtil.create("img","leaflet-tile");return t.style.width=t.style.height=this._getTileSize()+"px",t.galleryimg="no",t.onselectstart=t.onmousemove=o.Util.falseFn,o.Browser.ielt9&&this.options.opacity!==n&&o.DomUtil.setOpacity(t,this.options.opacity),o.Browser.mobileWebkit3d&&(t.style.WebkitBackfaceVisibility="hidden"),t},_loadTile:function(t,e){t._layer=this,t.onload=this._tileOnLoad,t.onerror=this._tileOnError,this._adjustTilePoint(e),t.src=this.getTileUrl(e),this.fire("tileloadstart",{tile:t,url:t.src})},_tileLoaded:function(){this._tilesToLoad--,this._animated&&o.DomUtil.addClass(this._tileContainer,"leaflet-zoom-animated"),this._tilesToLoad||(this.fire("load"),this._animated&&(clearTimeout(this._clearBgBufferTimer),this._clearBgBufferTimer=setTimeout(o.bind(this._clearBgBuffer,this),500)))},_tileOnLoad:function(){var t=this._layer;this.src!==o.Util.emptyImageUrl&&(o.DomUtil.addClass(this,"leaflet-tile-loaded"),t.fire("tileload",{tile:this,url:this.src})),t._tileLoaded()},_tileOnError:function(){var t=this._layer;t.fire("tileerror",{tile:this,url:this.src});var e=t.options.errorTileUrl;e&&(this.src=e),t._tileLoaded()}}),o.tileLayer=function(t,e){return new o.TileLayer(t,e)},o.TileLayer.WMS=o.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",version:"1.1.1",layers:"",styles:"",format:"image/jpeg",transparent:!1},initialize:function(t,e){this._url=t;var n=o.extend({},this.defaultWmsParams),i=e.tileSize||this.options.tileSize;n.width=n.height=e.detectRetina&&o.Browser.retina?2*i:i;for(var r in e)this.options.hasOwnProperty(r)||"crs"===r||(n[r]=e[r]);this.wmsParams=n,o.setOptions(this,e)},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,o.TileLayer.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._map,n=this.options.tileSize,i=t.multiplyBy(n),r=i.add([n,n]),a=this._crs.project(e.unproject(i,t.z)),s=this._crs.project(e.unproject(r,t.z)),l=this._wmsVersion>=1.3&&this._crs===o.CRS.EPSG4326?[s.y,a.x,a.y,s.x].join(","):[a.x,s.y,s.x,a.y].join(","),u=o.Util.template(this._url,{s:this._getSubdomain(t)});return u+o.Util.getParamString(this.wmsParams,u,!0)+"&BBOX="+l},setParams:function(t,e){return o.extend(this.wmsParams,t),e||this.redraw(),this}}),o.tileLayer.wms=function(t,e){return new o.TileLayer.WMS(t,e)},o.TileLayer.Canvas=o.TileLayer.extend({options:{async:!1},initialize:function(t){o.setOptions(this,t)},redraw:function(){this._map&&(this._reset({hard:!0}),this._update());for(var t in this._tiles)this._redrawTile(this._tiles[t]);return this},_redrawTile:function(t){this.drawTile(t,t._tilePoint,this._map._zoom)},_createTile:function(){var t=o.DomUtil.create("canvas","leaflet-tile");return t.width=t.height=this.options.tileSize,t.onselectstart=t.onmousemove=o.Util.falseFn,t},_loadTile:function(t,e){t._layer=this,t._tilePoint=e,this._redrawTile(t),this.options.async||this.tileDrawn(t)},drawTile:function(){}
70,tileDrawn:function(t){this._tileOnLoad.call(t)}}),o.tileLayer.canvas=function(t){return new o.TileLayer.Canvas(t)},o.ImageOverlay=o.Class.extend({includes:o.Mixin.Events,options:{opacity:1},initialize:function(t,e,n){this._url=t,this._bounds=o.latLngBounds(e),o.setOptions(this,n)},onAdd:function(t){this._map=t,this._image||this._initImage(),t._panes.overlayPane.appendChild(this._image),t.on("viewreset",this._reset,this),t.options.zoomAnimation&&o.Browser.any3d&&t.on("zoomanim",this._animateZoom,this),this._reset()},onRemove:function(t){t.getPanes().overlayPane.removeChild(this._image),t.off("viewreset",this._reset,this),t.options.zoomAnimation&&t.off("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},bringToFront:function(){return this._image&&this._map._panes.overlayPane.appendChild(this._image),this},bringToBack:function(){var t=this._map._panes.overlayPane;return this._image&&t.insertBefore(this._image,t.firstChild),this},setUrl:function(t){this._url=t,this._image.src=this._url},getAttribution:function(){return this.options.attribution},_initImage:function(){this._image=o.DomUtil.create("img","leaflet-image-layer"),this._map.options.zoomAnimation&&o.Browser.any3d?o.DomUtil.addClass(this._image,"leaflet-zoom-animated"):o.DomUtil.addClass(this._image,"leaflet-zoom-hide"),this._updateOpacity(),o.extend(this._image,{galleryimg:"no",onselectstart:o.Util.falseFn,onmousemove:o.Util.falseFn,onload:o.bind(this._onImageLoad,this),src:this._url})},_animateZoom:function(t){var e=this._map,n=this._image,i=e.getZoomScale(t.zoom),r=this._bounds.getNorthWest(),a=this._bounds.getSouthEast(),s=e._latLngToNewLayerPoint(r,t.zoom,t.center),l=e._latLngToNewLayerPoint(a,t.zoom,t.center)._subtract(s),u=s._add(l._multiplyBy(.5*(1-1/i)));n.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(u)+" scale("+i+") "},_reset:function(){var t=this._image,e=this._map.latLngToLayerPoint(this._bounds.getNorthWest()),n=this._map.latLngToLayerPoint(this._bounds.getSouthEast())._subtract(e);o.DomUtil.setPosition(t,e),t.style.width=n.x+"px",t.style.height=n.y+"px"},_onImageLoad:function(){this.fire("load")},_updateOpacity:function(){o.DomUtil.setOpacity(this._image,this.options.opacity)}}),o.imageOverlay=function(t,e,n){return new o.ImageOverlay(t,e,n)},o.Icon=o.Class.extend({options:{className:""},initialize:function(t){o.setOptions(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(!n){if("icon"===t)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i;return i=e&&"IMG"===e.tagName?this._createImg(n,e):this._createImg(n),this._setIconStyles(i,t),i},_setIconStyles:function(t,e){var n,i=this.options,r=o.point(i[e+"Size"]);n=o.point("shadow"===e?i.shadowAnchor||i.iconAnchor:i.iconAnchor),!n&&r&&(n=r.divideBy(2,!0)),t.className="leaflet-marker-"+e+" "+i.className,n&&(t.style.marginLeft=-n.x+"px",t.style.marginTop=-n.y+"px"),r&&(t.style.width=r.x+"px",t.style.height=r.y+"px")},_createImg:function(t,n){return n=n||e.createElement("img"),n.src=t,n},_getIconUrl:function(t){return o.Browser.retina&&this.options[t+"RetinaUrl"]?this.options[t+"RetinaUrl"]:this.options[t+"Url"]}}),o.icon=function(t){return new o.Icon(t)},o.Icon.Default=o.Icon.extend({options:{iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]},_getIconUrl:function(t){var e=t+"Url";if(this.options[e])return this.options[e];o.Browser.retina&&"icon"===t&&(t+="-2x");var n=o.Icon.Default.imagePath;if(!n)throw new Error("Couldn't autodetect L.Icon.Default.imagePath, set it manually.");return n+"/marker-"+t+".png"}}),o.Icon.Default.imagePath=function(){var t,n,i,o,r,a=e.getElementsByTagName("script"),s=/[\/^]leaflet[\-\._]?([\w\-\._]*)\.js\??/;for(t=0,n=a.length;n>t;t++)if(i=a[t].src,o=i.match(s))return r=i.split(s)[0],(r?r+"/":"")+"images"}(),o.Marker=o.Class.extend({includes:o.Mixin.Events,options:{icon:new o.Icon.Default,title:"",alt:"",clickable:!0,draggable:!1,keyboard:!0,zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250},initialize:function(t,e){o.setOptions(this,e),this._latlng=o.latLng(t)},onAdd:function(t){this._map=t,t.on("viewreset",this.update,this),this._initIcon(),this.update(),this.fire("add"),t.options.zoomAnimation&&t.options.markerZoomAnimation&&t.on("zoomanim",this._animateZoom,this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){this.dragging&&this.dragging.disable(),this._removeIcon(),this._removeShadow(),this.fire("remove"),t.off({viewreset:this.update,zoomanim:this._animateZoom},this),this._map=null},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=o.latLng(t),this.update(),this.fire("move",{latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update(),this},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup),this},update:function(){if(this._icon){var t=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(t)}return this},_initIcon:function(){var t=this.options,e=this._map,n=e.options.zoomAnimation&&e.options.markerZoomAnimation,i=n?"leaflet-zoom-animated":"leaflet-zoom-hide",r=t.icon.createIcon(this._icon),a=!1;r!==this._icon&&(this._icon&&this._removeIcon(),a=!0,t.title&&(r.title=t.title),t.alt&&(r.alt=t.alt)),o.DomUtil.addClass(r,i),t.keyboard&&(r.tabIndex="0"),this._icon=r,this._initInteraction(),t.riseOnHover&&o.DomEvent.on(r,"mouseover",this._bringToFront,this).on(r,"mouseout",this._resetZIndex,this);var s=t.icon.createShadow(this._shadow),l=!1;s!==this._shadow&&(this._removeShadow(),l=!0),s&&o.DomUtil.addClass(s,i),this._shadow=s,t.opacity<1&&this._updateOpacity();var u=this._map._panes;a&&u.markerPane.appendChild(this._icon),s&&l&&u.shadowPane.appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&o.DomEvent.off(this._icon,"mouseover",this._bringToFront).off(this._icon,"mouseout",this._resetZIndex),this._map._panes.markerPane.removeChild(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&this._map._panes.shadowPane.removeChild(this._shadow),this._shadow=null},_setPos:function(t){o.DomUtil.setPosition(this._icon,t),this._shadow&&o.DomUtil.setPosition(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon.style.zIndex=this._zIndex+t},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPos(e)},_initInteraction:function(){if(this.options.clickable){var t=this._icon,e=["dblclick","mousedown","mouseover","mouseout","contextmenu"];o.DomUtil.addClass(t,"leaflet-clickable"),o.DomEvent.on(t,"click",this._onMouseClick,this),o.DomEvent.on(t,"keypress",this._onKeyPress,this);for(var n=0;n<e.length;n++)o.DomEvent.on(t,e[n],this._fireMouseEvent,this);o.Handler.MarkerDrag&&(this.dragging=new o.Handler.MarkerDrag(this),this.options.draggable&&this.dragging.enable())}},_onMouseClick:function(t){var e=this.dragging&&this.dragging.moved();(this.hasEventListeners(t.type)||e)&&o.DomEvent.stopPropagation(t),e||(this.dragging&&this.dragging._enabled||!this._map.dragging||!this._map.dragging.moved())&&this.fire(t.type,{originalEvent:t,latlng:this._latlng})},_onKeyPress:function(t){13===t.keyCode&&this.fire("click",{originalEvent:t,latlng:this._latlng})},_fireMouseEvent:function(t){this.fire(t.type,{originalEvent:t,latlng:this._latlng}),"contextmenu"===t.type&&this.hasEventListeners(t.type)&&o.DomEvent.preventDefault(t),"mousedown"!==t.type?o.DomEvent.stopPropagation(t):o.DomEvent.preventDefault(t)},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){o.DomUtil.setOpacity(this._icon,this.options.opacity),this._shadow&&o.DomUtil.setOpacity(this._shadow,this.options.opacity)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)}}),o.marker=function(t,e){return new o.Marker(t,e)},o.DivIcon=o.Icon.extend({options:{iconSize:[12,12],className:"leaflet-div-icon",html:!1},createIcon:function(t){var n=t&&"DIV"===t.tagName?t:e.createElement("div"),i=this.options;return n.innerHTML=i.html!==!1?i.html:"",i.bgPos&&(n.style.backgroundPosition=-i.bgPos.x+"px "+-i.bgPos.y+"px"),this._setIconStyles(n,"icon"),n},createShadow:function(){return null}}),o.divIcon=function(t){return new o.DivIcon(t)},o.Map.mergeOptions({closePopupOnClick:!0}),o.Popup=o.Class.extend({includes:o.Mixin.Events,options:{minWidth:50,maxWidth:300,autoPan:!0,closeButton:!0,offset:[0,7],autoPanPadding:[5,5],keepInView:!1,className:"",zoomAnimation:!0},initialize:function(t,e){o.setOptions(this,t),this._source=e,this._animated=o.Browser.any3d&&this.options.zoomAnimation,this._isOpen=!1},onAdd:function(t){this._map=t,this._container||this._initLayout();var e=t.options.fadeAnimation;e&&o.DomUtil.setOpacity(this._container,0),t._panes.popupPane.appendChild(this._container),t.on(this._getEvents(),this),this.update(),e&&o.DomUtil.setOpacity(this._container,1),this.fire("open"),t.fire("popupopen",{popup:this}),this._source&&this._source.fire("popupopen",{popup:this})},addTo:function(t){return t.addLayer(this),this},openOn:function(t){return t.openPopup(this),this},onRemove:function(t){t._panes.popupPane.removeChild(this._container),o.Util.falseFn(this._container.offsetWidth),t.off(this._getEvents(),this),t.options.fadeAnimation&&o.DomUtil.setOpacity(this._container,0),this._map=null,this.fire("close"),t.fire("popupclose",{popup:this}),this._source&&this._source.fire("popupclose",{popup:this})},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=o.latLng(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},_getEvents:function(){var t={viewreset:this._updatePosition};return this._animated&&(t.zoomanim=this._zoomAnimation),("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this._close),this.options.keepInView&&
70(t.moveend=this._adjustPan),t},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var t,e="leaflet-popup",n=e+" "+this.options.className+" leaflet-zoom-"+(this._animated?"animated":"hide"),i=this._container=o.DomUtil.create("div",n);this.options.closeButton&&(t=this._closeButton=o.DomUtil.create("a",e+"-close-button",i),t.href="#close",t.innerHTML="&#215;",o.DomEvent.disableClickPropagation(t),o.DomEvent.on(t,"click",this._onCloseButtonClick,this));var r=this._wrapper=o.DomUtil.create("div",e+"-content-wrapper",i);o.DomEvent.disableClickPropagation(r),this._contentNode=o.DomUtil.create("div",e+"-content",r),o.DomEvent.disableScrollPropagation(this._contentNode),o.DomEvent.on(r,"contextmenu",o.DomEvent.stopPropagation),this._tipContainer=o.DomUtil.create("div",e+"-tip-container",i),this._tip=o.DomUtil.create("div",e+"-tip",this._tipContainer)},_updateContent:function(){if(this._content){if("string"==typeof this._content)this._contentNode.innerHTML=this._content;else{for(;this._contentNode.hasChildNodes();)this._contentNode.removeChild(this._contentNode.firstChild);this._contentNode.appendChild(this._content)}this.fire("contentupdate")}},_updateLayout:function(){var t=this._contentNode,e=t.style;e.width="",e.whiteSpace="nowrap";var n=t.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="";var i=t.offsetHeight,r=this.options.maxHeight,a="leaflet-popup-scrolled";r&&i>r?(e.height=r+"px",o.DomUtil.addClass(t,a)):o.DomUtil.removeClass(t,a),this._containerWidth=this._container.offsetWidth},_updatePosition:function(){if(this._map){var t=this._map.latLngToLayerPoint(this._latlng),e=this._animated,n=o.point(this.options.offset);e&&o.DomUtil.setPosition(this._container,t),this._containerBottom=-n.y-(e?0:t.y),this._containerLeft=-Math.round(this._containerWidth/2)+n.x+(e?0:t.x),this._container.style.bottom=this._containerBottom+"px",this._container.style.left=this._containerLeft+"px"}},_zoomAnimation:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center);o.DomUtil.setPosition(this._container,e)},_adjustPan:function(){if(this.options.autoPan){var t=this._map,e=this._container.offsetHeight,n=this._containerWidth,i=new o.Point(this._containerLeft,-e-this._containerBottom);this._animated&&i._add(o.DomUtil.getPosition(this._container));var r=t.layerPointToContainerPoint(i),a=o.point(this.options.autoPanPadding),s=o.point(this.options.autoPanPaddingTopLeft||a),l=o.point(this.options.autoPanPaddingBottomRight||a),u=t.getSize(),c=0,h=0;r.x+n+l.x>u.x&&(c=r.x+n-u.x+l.x),r.x-c-s.x<0&&(c=r.x-s.x),r.y+e+l.y>u.y&&(h=r.y+e-u.y+l.y),r.y-h-s.y<0&&(h=r.y-s.y),(c||h)&&t.fire("autopanstart").panBy([c,h])}},_onCloseButtonClick:function(t){this._close(),o.DomEvent.stop(t)}}),o.popup=function(t,e){return new o.Popup(t,e)},o.Map.include({openPopup:function(t,e,n){if(this.closePopup(),!(t instanceof o.Popup)){var i=t;t=new o.Popup(n).setLatLng(e).setContent(i)}return t._isOpen=!0,this._popup=t,this.addLayer(t)},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&(this.removeLayer(t),t._isOpen=!1),this}}),o.Marker.include({openPopup:function(){return this._popup&&this._map&&!this._map.hasLayer(this._popup)&&(this._popup.setLatLng(this._latlng),this._map.openPopup(this._popup)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(){return this._popup&&(this._popup._isOpen?this.closePopup():this.openPopup()),this},bindPopup:function(t,e){var n=o.point(this.options.icon.options.popupAnchor||[0,0]);return n=n.add(o.Popup.prototype.options.offset),e&&e.offset&&(n=n.add(e.offset)),e=o.extend({offset:n},e),this._popupHandlersAdded||(this.on("click",this.togglePopup,this).on("remove",this.closePopup,this).on("move",this._movePopup,this),this._popupHandlersAdded=!0),t instanceof o.Popup?(o.setOptions(t,e),this._popup=t):this._popup=new o.Popup(e,this).setContent(t),this}
70,setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},unbindPopup:function(){return this._popup&&(this._popup=null,this.off("click",this.togglePopup,this).off("remove",this.closePopup,this).off("move",this._movePopup,this),this._popupHandlersAdded=!1),this},getPopup:function(){return this._popup},_movePopup:function(t){this._popup.setLatLng(t.latlng)}}),o.LayerGroup=o.Class.extend({initialize:function(t){this._layers={};var e,n;if(t)for(e=0,n=t.length;n>e;e++)this.addLayer(t[e])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){var e=t in this._layers?t:this.getLayerId(t);return this._map&&this._layers[e]&&this._map.removeLayer(this._layers[e]),delete this._layers[e],this},hasLayer:function(t){return t?t in this._layers||this.getLayerId(t)in this._layers:!1},clearLayers:function(){return this.eachLayer(this.removeLayer,this),this},invoke:function(t){var e,n,i=Array.prototype.slice.call(arguments,1);for(e in this._layers)n=this._layers[e],n[t]&&n[t].apply(n,i);return this},onAdd:function(t){this._map=t,this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t),this._map=null
71},addTo:function(t){return t.addLayer(this),this},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];for(var e in this._layers)t.push(this._layers[e]);return t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:function(t){return o.stamp(t)}}),o.layerGroup=function(t){return new o.LayerGroup(t)},o.FeatureGroup=o.LayerGroup.extend({includes:o.Mixin.Events,statics:{EVENTS:"click dblclick mouseover mouseout mousemove contextmenu popupopen popupclose"},addLayer:function(t){return this.hasLayer(t)?this:("on"in t&&t.on(o.FeatureGroup.EVENTS,this._propagateEvent,this),o.LayerGroup.prototype.addLayer.call(this,t),this._popupContent&&t.bindPopup&&t.bindPopup(this._popupContent,this._popupOptions),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?(t in this._layers&&(t=this._layers[t]),t.off(o.FeatureGroup.EVENTS,this._propagateEvent,this),o.LayerGroup.prototype.removeLayer.call(this,t),this._popupContent&&this.invoke("unbindPopup"),this.fire("layerremove",{layer:t})):this},bindPopup:function(t,e){return this._popupContent=t,this._popupOptions=e,this.invoke("bindPopup",t,e)},openPopup:function(t){for(var e in this._layers){this._layers[e].openPopup(t);break}return this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t=new o.LatLngBounds;return this.eachLayer(function(e){t.extend(e instanceof o.Marker?e.getLatLng():e.getBounds())}),t},_propagateEvent:function(t){t=o.extend({layer:t.target,target:this},t),this.fire(t.type,t)}}),o.featureGroup=function(t){return new o.FeatureGroup(t)},o.Path=o.Class.extend({includes:[o.Mixin.Events],statics:{CLIP_PADDING:function(){var e=o.Browser.mobile?1280:2e3,n=(e/Math.max(t.outerWidth,t.outerHeight)-1)/2;return Math.max(0,Math.min(.5,n))}()},options:{stroke:!0,color:"#0033ff",dashArray:null,lineCap:null,lineJoin:null,weight:5,opacity:.5,fill:!1,fillColor:null,fillOpacity:.2,clickable:!0},initialize:function(t){o.setOptions(this,t)},onAdd:function(t){this._map=t,this._container||(this._initElements(),this._initEvents()),this.projectLatlngs(),this._updatePath(),this._container&&this._map._pathRoot.appendChild(this._container),this.fire("add"),t.on({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},addTo:function(t){return t.addLayer(this),this},onRemove:function(t){t._pathRoot.removeChild(this._container),this.fire("remove"),this._map=null,o.Browser.vml&&(this._container=null,this._stroke=null,this._fill=null),t.off({viewreset:this.projectLatlngs,moveend:this._updatePath},this)},projectLatlngs:function(){},setStyle:function(t){return o.setOptions(this,t),this._container&&this._updateStyle(),this},redraw:function(){return this._map&&(this.projectLatlngs(),this._updatePath()),this}}),o.Map.include({_updatePathViewport:function(){var t=o.Path.CLIP_PADDING,e=this.getSize(),n=o.DomUtil.getPosition(this._mapPane),i=n.multiplyBy(-1)._subtract(e.multiplyBy(t)._roun
71d()),r=i.add(e.multiplyBy(1+2*t)._round());this._pathViewport=new o.Bounds(i,r)}}),o.Path.SVG_NS="http://www.w3.org/2000/svg",o.Browser.svg=!(!e.createElementNS||!e.createElementNS(o.Path.SVG_NS,"svg").createSVGRect),o.Path=o.Path.extend({statics:{SVG:o.Browser.svg},bringToFront:function(){var t=this._map._pathRoot,e=this._container;return e&&t.lastChild!==e&&t.appendChild(e),this},bringToBack:function(){var t=this._map._pathRoot,e=this._container,n=t.firstChild;return e&&n!==e&&t.insertBefore(e,n),this},getPathString:function(){},_createElement:function(t){return e.createElementNS(o.Path.SVG_NS,t)},_initElements:function(){this._map._initPathRoot(),this._initPath(),this._initStyle()},_initPath:function(){this._container=this._createElement("g"),this._path=this._createElement("path"),this.options.className&&o.DomUtil.addClass(this._path,this.options.className),this._container.appendChild(this._path)},_initStyle:function(){this.options.stroke&&(this._path.setAttribute("stroke-linejoin","round"),this._path.setAttribute("stroke-linecap","round")),this.options.fill&&this._path.setAttribute("fill-rule","evenodd"),this.options.pointerEvents&&this._path.setAttribute("pointer-events",this.options.pointerEvents),this.options.clickable||this.options.pointerEvents||this._path.setAttribute("pointer-events","none"),this._updateStyle()},_updateStyle:function(){this.options.stroke?(this._path.setAttribute("stroke",this.options.color),this._path.setAttribute("stroke-opacity",this.options.opacity),this._path.setAttribute("stroke-width",this.options.weight),this.options.dashArray?this._path.setAttribute("stroke-dasharray",this.options.dashArray):this._path.removeAttribute("stroke-dasharray"),this.options.lineCap&&this._path.setAttribute("stroke-linecap",this.options.lineCap),this.options.lineJoin&&this._path.setAttribute("stroke-linejoin",this.options.lineJoin)):this._path.setAttribute("stroke","none"),this.options.fill?(this._path.setAttribute("fill",this.options.fillColor||this.options.color),this._path.setAttribute("fill-opacity",this.options.fillOpacity)):this._path.setAttribute("fill","none")},_updatePath:function(){var t=this.getPathString();t||(t="M0 0"),this._path.setAttribute("d",t)},_initEvents:function(){if(this.options.clickable){(o.Browser.svg||!o.Browser.vml)&&o.DomUtil.addClass(this._path,"leaflet-clickable"),o.DomEvent.on(this._container,"click",this._onMouseClick,this);for(var t=["dblclick","mousedown","mouseover","mouseout","mousemove","contextmenu"],e=0;e<t.length;e++)o.DomEvent.on(this._container,t[e],this._fireMouseEvent,this)}},_onMouseClick:function(t){this._map.dragging&&this._map.dragging.moved()||this._fireMouseEvent(t)},_fireMouseEvent:function(t){if(this.hasEventListeners(t.type)){var e=this._map,n=e.mouseEventToContainerPoint(t),i=e.containerPointToLayerPoint(n),r=e.layerPointToLatLng(i);this.fire(t.type,{latlng:r,layerPoint:i,containerPoint:n,originalEvent:t}),"contextmenu"===t.type&&o.DomEvent.preventDefault(t),"mousemove"!==t.type&&o.DomEvent.stopPropagation(t)}}}),o.Map.include({_initPathRoot:function(){this._pathRoot||(this._pathRoot=o.Path.prototype._createElement("svg"),this._panes.overlayPane.appendChild(this._pathRoot),this.options.zoomAnimation&&o.Browser.any3d?(o.DomUtil.addClass(this._pathRoot,"leaflet-zoom-animated"),this.on({zoomanim:this._animatePathZoom,zoomend:this._endPathZoom})):o.DomUtil.addClass(this._pathRoot,"leaflet-zoom-hide"),this.on("moveend",this._updateSvgViewport),this._updateSvgViewport())},_animatePathZoom:function(t){var e=this.getZoomScale(t.zoom),n=this._getCenterOffset(t.center)._multiplyBy(-e)._add(this._pathViewport.min);this._pathRoot.style[o.DomUtil.TRANSFORM]=o.DomUtil.getTranslateString(n)+" scale("+e+") ",this._pathZooming=!0},_endPathZoom:function(){this._pathZooming=!1},_updateSvgViewport:function(){if(!this._pathZooming){this._updatePathViewport();var t=this._pathViewport,e=t.min,n=t.max,i=n.x-e.x,r=n.y-e.y,a=this._pathRoot,s=this._panes.overlayPane;o.Browser.mobileWebkit&&s.removeChild(a),o.DomUtil.setPosition(a,e),a.setAttribute("width",i),a.setAttribute("height",r),a.setAttribute("viewBox",[e.x,e.y,i,r].join(" ")),o.Browser.mobileWebkit&&s.appendChild(a)}}}),o.Path.include({bindPopup:function(t,e){return t instanceof o.Popup?this._popup=t:((!this._popup||e)&&(this._popup=new o.Popup(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on("click",this._openPopup,this).on("remove",this.closePopup,this),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this._popup=null,this.off("click",this._openPopup).off("remove",this.closePopup),this._popupHandlersAdded=!1),this},openPopup:function(t){return this._popup&&(t=t||this._latlng||this._latlngs[Math.floor(this._latlngs.length/2)],this._openPopup({latlng:t})),this},closePopup:function(){return this._popup&&this._popup._close(),this},_openPopup:function(t){this._popup.setLatLng(t.latlng),this._map.openPopup(this._popup)}}),o.Browser.vml=!o.Browser.svg&&function(){try{var t=e.createElement("div");t.innerHTML='<v:shape adj="1"/>';var n=t.firstChild;return n.style.behavior="url(#default#VML)",n&&"object"==typeof n.adj}catch(i){return!1}}(),o.Path=o.Browser.svg||!o.Browser.vml?o.Path:o.Path.extend({statics:{VML:!0,CLIP_PADDING:.02},_createElement:function(){try{return e.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return e.createElement("<lvml:"+t+' class="lvml">')}}catch(t){return function(t){return e.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),_initPath:function(){var t=this._container=this._createElement("shape");o.DomUtil.addClass(t,"leaflet-vml-shape"+(this.options.className?" "+this.options.className:"")),this.options.clickable&&o.DomUtil.addClass(t,"leaflet-clickable"),t.coordsize="1 1",this._path=this._createElement("path"),t.appendChild(this._path),this._map._pathRoot.appendChild(t)},_initStyle:function(){this._updateStyle()},_updateStyle:function(){var t=this._stroke,e=this._fill,n=this.options,i=this._container;i.stroked=n.stroke,i.filled=n.fill,n.stroke?(t||(t=this._stroke=this._createElement("stroke"),t.endcap="round",i.appendChild(t)),t.weight=n.weight+"px",t.color=n.color,t.opacity=n.opacity,t.dashStyle=n.dashArray?o.Util.isArray(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):"",n.lineCap&&(t.endcap=n.lineCap.replace("butt","flat")),n.lineJoin&&(t.joinstyle=n.lineJoin)):t&&(i.removeChild(t),this._stroke=null),n.fill?(e||(e=this._fill=this._createElement("fill"),i.appendChild(e)),e.color=n.fillColor||n.color,e.opacity=n.fillOpacity):e&&(i.removeChild(e),this._fill=null)},_updatePath:function(){var t=this._container.style;
71t.display="none",this._path.v=this.getPathString()+" ",t.display=""}}),o.Map.include(o.Browser.svg||!o.Browser.vml?{}:{_initPathRoot:function(){if(!this._pathRoot){var t=this._pathRoot=e.createElement("div");t.className="leaflet-vml-container",this._panes.overlayPane.appendChild(t),this.on("moveend",this._updatePathViewport),this._updatePathViewport()}}}),o.Browser.canvas=function(){return!!e.createElement("canvas").getContext}(),o.Path=o.Path.SVG&&!t.L_PREFER_CANVAS||!o.Browser.canvas?o.Path:o.Path.extend({statics:{CANVAS:!0,SVG:!1},redraw:function(){return this._map&&(this.projectLatlngs(),this._requestUpdate()),this},setStyle:function(t){return o.setOptions(this,t),this._map&&(this._updateStyle(),this._requestUpdate()),this},onRemove:function(t){t.off("viewreset",this.projectLatlngs,this).off("moveend",this._updatePath,this),this.options.clickable&&(this._map.off("click",this._onClick,this),this._map.off("mousemove",this._onMouseMove,this)),this._requestUpdate(),this.fire("remove"),this._map=null},_requestUpdate:function(){this._map&&!o.Path._updateRequest&&(o.Path._updateRequest=o.Util.requestAnimFrame(this._fireMapMoveEnd,this._map))},_fireMapMoveEnd:function(){o.Path._updateRequest=null,this.fire("moveend")},_initElements:function(){this._map._initPathRoot(),this._ctx=this._map._canvasCtx},_updateStyle:function(){var t=this.options;t.stroke&&(this._ctx.lineWidth=t.weight,this._ctx.strokeStyle=t.color),t.fill&&(this._ctx.fillStyle=t.fillColor||t.color)},_drawPath:function(){var t,e,n,i,r,a;for(this._ctx.beginPath(),t=0,n=this._parts.length;n>t;t++){for(e=0,i=this._parts[t].length;i>e;e++)r=this._parts[t][e],a=(0===e?"move":"line")+"To",this._ctx[a](r.x,r.y);this instanceof o.Polygon&&this._ctx.closePath()}},_checkIfEmpty:function(){return!this._parts.length},_updatePath:function(){if(!this._checkIfEmpty()){var t=this._ctx,e=this.options;this._drawPath(),t.save(),this._updateStyle(),e.fill&&(t.globalAlpha=e.fillOpacity,t.fill()),e.stroke&&(t.globalAlpha=e.opacity,t.stroke()),t.restore()}},_initEvents:function(){this.options.clickable&&(this._map.on("mousemove",this._onMouseMove,this),this._map.on("click",this._onClick,this))},_onClick:function(t){this._containsPoint(t.layerPoint)&&this.fire("click",t)},_onMouseMove:function(t){this._map&&!this._map._animatingZoom&&(this._containsPoint(t.layerPoint)?(this._ctx.canvas.style.cursor="pointer",this._mouseInside=!0,this.fire("mouseover",t)):this._mouseInside&&(this._ctx.canvas.style.cursor="",this._mouseInside=!1,this.fire("mouseout",t)))}}),o.Map.include(o.Path.SVG&&!t.L_PREFER_CANVAS||!o.Browser.canvas?{}:{_initPathRoot:function(){var t,n=this._pathRoot;n||(n=this._pathRoot=e.createElement("canvas"),n.style.position="absolute",t=this._canvasCtx=n.getContext("2d"),t.lineCap="round",t.lineJoin="round",this._panes.overlayPane.appendChild(n),this.options.zoomAnimation&&(this._pathRoot.className="leaflet-zoom-animated",this.on("zoomanim",this._animatePathZoom),this.on("zoomend",this._endPathZoom)),this.on("moveend",this._updateCanvasViewport),this._updateCanvasViewport())},_updateCanvasViewport:function(){if(!this._pathZooming){this._updatePathViewport();var t=this._pathViewport,e=t.min,n=t.max.subtract(e),i=this._pathRoot;o.DomUtil.setPosition(i,e),i.width=n.x,i.height=n.y,i.getContext("2d").translate(-e.x,-e.y)}}}),o.LineUtil={simplify:function(t,e){if(!e||!t.length)return t.slice();var n=e*e;return t=this._reducePoints(t,n),t=this._simplifyDP(t,n)},pointToSegmentDistance:function(t,e,n){return Math.sqrt(this._sqClosestPointOnSegment(t,e,n,!0))},closestPointOnSegment:function(t,e,n){return this._sqClosestPointOnSegment(t,e,n)},_simplifyDP:function(t,e){var i=t.length,o=typeof Uint8Array!=n+""?Uint8Array:Array,r=new o(i);r[0]=r[i-1]=1,this._simplifyDPStep(t,r,e,0,i-1);var a,s=[];for(a=0;i>a;a++)r[a]&&s.push(t[a]);return s},_simplifyDPStep:function(t,e,n,i,o){var r,a,s,l=0;for(a=i+1;o-1>=a;a++)s=this._sqClosestPointOnSegment(t[a],t[i],t[o],!0),s>l&&(r=a,l=s);l>n&&(e[r]=1,this._simplifyDPStep(t,e,n,i,r),this._simplifyDPStep(t,e,n,r,o))},_reducePoints:function(t,e){for(var n=[t[0]],i=1,o=0,r=t.length;r>i;i++)this._sqDist(t[i],t[o])>e&&(n.push(t[i]),o=i);return r-1>o&&n.push(t[r-1]),n},clipSegment:function(t,e,n,i){var o,r,a,s=i?this._lastCode:this._getBitCode(t,n),l=this._getBitCode(e,n);for(this._lastCode=l;;){if(!(s|l))return[t,e];if(s&l)return!1;o=s||l,r=this._getEdgeIntersection(t,e,o,n),a=this._getBitCode(r,n),o===s?(t=r,s=a):(e=r,l=a)}},_getEdgeIntersection:function(t,e,n,i){var r=e.x-t.x,a=e.y-t.y,s=i.min,l=i.max;return 8&n?new o.Point(t.x+r*(l.y-t.y)/a,l.y):4&n?new o.Point(t.x+r*(s.y-t.y)/a,s.y):2&n?new o.Point(l.x,t.y+a*(l.x-t.x)/r):1&n?new o.Point(s.x,t.y+a*(s.x-t.x)/r):void 0},_getBitCode:function(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n},_sqDist:function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},_sqClosestPointOnSegment:function(t,e,n,i){var r,a=e.x,s=e.y,l=n.x-a,u=n.y-s,c=l*l+u*u;return c>0&&(r=((t.x-a)*l+(t.y-s)*u)/c,r>1?(a=n.x,s=n.y):r>0&&(a+=l*r,s+=u*r)),l=t.x-a,u=t.y-s,i?l*l+u*u:new o.Point(a,s)}},o.Polyline=o.Path.extend({initialize:function(t,e){o.Path.prototype.initialize.call(this,e),this._latlngs=this._convertLatLngs(t)},options:{smoothFactor:1,noClip:!1},projectLatlngs:function(){this._originalPoints=[];for(var t=0,e=this._latlngs.length;e>t;t++)this._originalPoints[t]=this._map.latLngToLayerPoint(this._latlngs[t])},getPathString:function(){for(var t=0,e=this._parts.length,n="";e>t;t++)n+=this._getPathPartStr(this._parts[t]);return n},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._latlngs=this._convertLatLngs(t),this.redraw()},addLatLng:function(t){return this._latlngs.push(o.latLng(t)),this.redraw()}
71,spliceLatLngs:function(){var t=[].splice.apply(this._latlngs,arguments);return this._convertLatLngs(this._latlngs,!0),this.redraw(),t},closestLayerPoint:function(t){for(var e,n,i=1/0,r=this._parts,a=null,s=0,l=r.length;l>s;s++)for(var u=r[s],c=1,h=u.length;h>c;c++){e=u[c-1],n=u[c];var d=o.LineUtil._sqClosestPointOnSegment(t,e,n,!0);i>d&&(i=d,a=o.LineUtil._sqClosestPointOnSegment(t,e,n))}return a&&(a.distance=Math.sqrt(i)),a},getBounds:function(){return new o.LatLngBounds(this.getLatLngs())},_convertLatLngs:function(t,e){var n,i,r=e?t:[];for(n=0,i=t.length;i>n;n++){if(o.Util.isArray(t[n])&&"number"!=typeof t[n][0])return;r[n]=o.latLng(t[n])}return r},_initEvents:function(){o.Path.prototype._initEvents.call(this)},_getPathPartStr:function(t){for(var e,n=o.Path.VML,i=0,r=t.length,a="";r>i;i++)e=t[i],n&&e._round(),a+=(i?"L":"M")+e.x+" "+e.y;return a},_clipPoints:function(){var t,e,n,i=this._originalPoints,r=i.length;if(this.options.noClip)return void(this._parts=[i]);this._parts=[];var a=this._parts,s=this._map._pathViewport,l=o.LineUtil;for(t=0,e=0;r-1>t;t++)n=l.clipSegment(i[t],i[t+1],s,t),n&&(a[e]=a[e]||[],a[e].push(n[0]),(n[1]!==i[t+1]||t===r-2)&&(a[e].push(n[1]),e++))},_simplifyPoints:function(){for(var t=this._parts,e=o.LineUtil,n=0,i=t.length;i>n;n++)t[n]=e.simplify(t[n],this.options.smoothFactor)},_updatePath:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),o.Path.prototype._updatePath.call(this))}}),o.polyline=function(t,e){return new o.Polyline(t,e)},o.PolyUtil={},o.PolyUtil.clipPolygon=function(t,e){var n,i,r,a,s,l,u,c,h,d=[1,4,2,8],p=o.LineUtil;for(i=0,u=t.length;u>i;i++)t[i]._code=p._getBitCode(t[i],e);for(a=0;4>a;a++){for(c=d[a],n=[],i=0,u=t.length,r=u-1;u>i;r=i++)s=t[i],l=t[r],s._code&c?l._code&c||(h=p._getEdgeIntersection(l,s,c,e),h._code=p._getBitCode(h,e),n.push(h)):(l._code&c&&(h=p._getEdgeIntersection(l,s,c,e),h._code=p._getBitCode(h,e),n.push(h)),n.push(s));t=n}return t},o.Polygon=o.Polyline.extend({options:{fill:!0},initialize:function(t,e){o.Polyline.prototype.initialize.call(this,t,e),this._initWithHoles(t)},_initWithHoles:function(t){var e,n,i;if(t&&o.Util.isArray(t[0])&&"number"!=typeof t[0][0])for(this._latlngs=this._convertLatLngs(t[0]),this._holes=t.slice(1),e=0,n=this._holes.length;n>e;e++)i=this._holes[e]=this._convertLatLngs(this._holes[e]),i[0].equals(i[i.length-1])&&i.pop();t=this._latlngs,t.length>=2&&t[0].equals(t[t.length-1])&&t.pop()},projectLatlngs:function(){if(o.Polyline.prototype.projectLatlngs.call(this),this._holePoints=[],this._holes){var t,e,n,i;for(t=0,n=this._holes.length;n>t;t++)for(this._holePoints[t]=[],e=0,i=this._holes[t].length;i>e;e++)this._holePoints[t][e]=this._map.latLngToLayerPoint(this._holes[t][e])}},setLatLngs:function(t){return t&&o.Util.isArray(t[0])&&"number"!=typeof t[0][0]?(this._initWithHoles(t),this.redraw()):o.Polyline.prototype.setLatLngs.call(this,t)},_clipPoints:function(){var t=this._originalPoints,e=[];if(this._parts=[t].concat(this._holePoints),!this.options.noClip){for(var n=0,i=this._parts.length;i>n;n++){var r=o.PolyUtil.clipPolygon(this._parts[n],this._map._pathViewport);r.length&&e.push(r)}this._parts=e}},_getPathPartStr:function(t){var e=o.Polyline.prototype._getPathPartStr.call(this,t);return e+(o.Browser.svg?"z":"x")}}),o.polygon=function(t,e){return new o.Polygon(t,e)},function(){function t(t){return o.FeatureGroup.extend({initialize:function(t,e){this._layers={},this._options=e,this.setLatLngs(t)},setLatLngs:function(e){var n=0,i=e.length;for(this.eachLayer(function(t){i>n?t.setLatLngs(e[n++]):this.removeLayer(t)},this);i>n;)this.addLayer(new t(e[n++],this._options));return this},getLatLngs:function(){var t=[];return this.eachLayer(function(e){t.push(e.getLatLngs())}),t}})}o.MultiPolyline=t(o.Polyline),o.MultiPolygon=t(o.Polygon),o.multiPolyline=function(t,e){return new o.MultiPolyline(t,e)},o.multiPolygon=function(t,e){return new o.MultiPolygon(t,e)}}(),o.Rectangle=o.Polygon.extend({initialize:function(t,e){o.Polygon.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=o.latLngBounds(t),[t.getSouthWest
71(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}}),o.rectangle=function(t,e){return new o.Rectangle(t,e)},o.Circle=o.Path.extend({initialize:function(t,e,n){o.Path.prototype.initialize.call(this,n),this._latlng=o.latLng(t),this._mRadius=e},options:{fill:!0},setLatLng:function(t){return this._latlng=o.latLng(t),this.redraw()},setRadius:function(t){return this._mRadius=t,this.redraw()},projectLatlngs:function(){var t=this._getLngRadius(),e=this._latlng,n=this._map.latLngToLayerPoint([e.lat,e.lng-t]);this._point=this._map.latLngToLayerPoint(e),this._radius=Math.max(this._point.x-n.x,1)},getBounds:function(){var t=this._getLngRadius(),e=this._mRadius/40075017*360,n=this._latlng;return new o.LatLngBounds([n.lat-e,n.lng-t],[n.lat+e,n.lng+t])},getLatLng:function(){return this._latlng},getPathString:function(){var t=this._point,e=this._radius;return this._checkIfEmpty()?"":o.Browser.svg?"M"+t.x+","+(t.y-e)+"A"+e+","+e+",0,1,1,"+(t.x-.1)+","+(t.y-e)+" z":(t._round(),e=Math.round(e),"AL "+t.x+","+t.y+" "+e+","+e+" 0,23592600")},getRadius:function(){return this._mRadius},_getLatRadius:function(){return this._mRadius/40075017*360},_getLngRadius:function(){return this._getLatRadius()/Math.cos(o.LatLng.DEG_TO_RAD*this._latlng.lat)},_checkIfEmpty:function(){if(!this._map)return!1;var t=this._map._pathViewport,e=this._radius,n=this._point;return n.x-e>t.max.x||n.y-e>t.max.y||n.x+e<t.min.x||n.y+e<t.min.y}}),o.circle=function(t,e,n){return new o.Circle(t,e,n)},o.CircleMarker=o.Circle.extend({options:{radius:10,weight:2},initialize:function(t,e){o.Circle.prototype.initialize.call(this,t,null,e),this._radius=this.options.radius},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng)},_updateStyle:function(){o.Circle.prototype._updateStyle.call(this),this.setRadius(this.options.radius)},setLatLng:function(t){return o.Circle.prototype.setLatLng.call(this,t),this._popup&&this._popup._isOpen&&this._popup.setLatLng(t),this},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius}}),o.circleMarker=function(t,e){return new o.CircleMarker(t,e)},o.Polyline.include(o.Path.CANVAS?{_containsPoint:function(t,e){var n,i,r,a,s,l,u,c=this.options.weight/2;for(o.Browser.touch&&(c+=10),n=0,a=this._parts.length;a>n;n++)for(u=this._parts[n],i=0,s=u.length,r=s-1;s>i;r=i++)if((e||0!==i)&&(l=o.LineUtil.pointToSegmentDistance(t,u[r],u[i]),c>=l))return!0;return!1}}:{}),o.Polygon.include(o.Path.CANVAS?{_containsPoint:function(t){var e,n,i,r,a,s,l,u,c=!1;if(o.Polyline.prototype._containsPoint.call(this,t,!0))return!0;for(r=0,l=this._parts.length;l>r;r++)for(e=this._parts[r],a=0,u=e.length,s=u-1;u>a;s=a++)n=e[a],i=e[s],n.y>t.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(c=!c);return c}}:{}),o.Circle.include(o.Path.CANVAS?{_drawPath:function(){var t=this._point;this._ctx.beginPath(),this._ctx.arc(t.x,t.y,this._radius,0,2*Math.PI,!1)},_containsPoint:function(t){var e=this._point,n=this.options.stroke?this.options.weight/2:0;return t.distanceTo(e)<=this._radius+n}}:{}),o.CircleMarker.include(o.Path.CANVAS?{_updateStyle:function(){o.Path.prototype._updateStyle.call(this)}}:{}),o.GeoJSON=o.FeatureGroup.extend({initialize:function(t,e){o.setOptions(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=o.Util.isArray(t)?t:t.features;if(r){for(e=0,n=r.length;n>e;e++)i=r[e],(i.geometries||i.geometry||i.features||i.coordinates)&&this.addData(r[e]);return this}var a=this.options;if(!a.filter||a.filter(t)){var s=o.GeoJSON.geometryToLayer(t,a.pointToLayer,a.coordsToLatLng,a);return s.feature=o.GeoJSON.asFeature(t),s.defaultOptions=s.options,this.resetStyle(s),a.onEachFeature&&a.onEachFeature(t,s),this.addLayer(s)}},resetStyle:function(t){var e=this.options.style;e&&(o.Util.extend(t.options,t.defaultOptions),this._setLayerStyle(t,e))},setStyle:function(t){this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){"function"==typeof e&&(e=e(t.feature)),t.setStyle&&t.setStyle(e)}}),o.extend(o.GeoJSON,{geometryToLayer:function(t,e,n,i){var r,a,s,l,u="Feature"===t.type?t.geometry:t,c=u.coordinates,h=[];switch(n=n||this.coordsToLatLng,u.type){case"Point":return r=n(c),e?e(t,r):new o.Marker(r);case"MultiPoint":for(s=0,l=c.length;l>s;s++)r=n(c[s]),h.push(e?e(t,r):new o.Marker(r));return new o.FeatureGroup(h);case"LineString":return a=this.coordsToLatLngs(c,0,n),new o.Polyline(a,i);case"Polygon":if(2===c.length&&!c[1].length)throw new Error("Invalid GeoJSON object.");return a=this.coordsToLatLngs(c,1,n),new o.Polygon(a,i);case"MultiLineString":return a=this.coordsToLatLngs(c,1,n),new o.MultiPolyline(a,i);case"MultiPolygon":return a=this.coordsToLatLngs(c,2,n),new o.MultiPolygon(a,i);case"GeometryCollection":for(s=0,l=u.geometries.length;l>s;s++)h.push(this.geometryToLayer({geometry:u.geometries[s],type:"Feature",properties:t.properties},e,n,i));return new o.FeatureGroup(h);default:throw new Error("Invalid GeoJSON object.")}},coordsToLatLng:function(t){return new o.LatLng(t[1],t[0],t[2])},coordsToLatLngs:function(t,e,n){var i,o,r,a=[];for(o=0,r=t.length;r>o;o++)i=e?this.coordsToLatLngs(t[o],e-1,n):(n||this.coordsToLatLng)(t[o]),a.push(i);return a},latLngToCoords:function(t){var e=[t.lng,t.lat];return t.alt!==n&&e.push(t.alt),e},latLngsToCoords:function(t){for(var e=[],n=0,i=t.length;i>n;n++)e.push(o.GeoJSON.latLngToCoords(t[n]));return e},getFeature:function(t,e){return t.feature?o.extend({},t.feature,{geometry:e}):o.GeoJSON.asFeature(e)},asFeature:function(t){return"Feature"===t.type?t:{type:"Feature",properties:{},geometry:t}}});var a={toGeoJSON:function(){return o.GeoJSON.getFeature(this,{type:"Point",coordinates:o.GeoJSON.latLngToCoords(this.getLatLng())})}};o.Marker.include(a),o.Circle.include(a),o.CircleMarker.include(a),o.Polyline.include({toGeoJSON:function(){return o.GeoJSON.getFeature(this,{type:"LineString",coordinates:o.GeoJSON.latLngsToCoords(this.getLatLngs())})}}),o.Polygon.include({toGeoJSON:function(){var t,e,n,i=[o.GeoJSON.latLngsToCoords(this.getLatLngs())];if(i[0].push(i[0][0]),this._holes)for(t=0,e=this._holes.length;e>t;t++)n=o.GeoJSON.latLngsToCoords(this._holes[t]),n.push(n[0]),i.push(n);return o.GeoJSON.getFeature(this,{type:"Polygon",coordinates:i})}}),function(){function t(t){return function(){var e=[];return this.eachLayer(function(t){e.push(t.toGeoJSON().geometry.coordinates)}),o.GeoJSON.getFeature(this,{type:t,coordinates:e})}}o.MultiPolyline.include({toGeoJSON:t("MultiLineString")}),o.MultiPolygon.include({toGeoJSON:t("MultiPolygon")}),o.LayerGroup.include({toGeoJSON:function(){var e,n=this.feature&&this.feature.geometry,i=[];if(n&&"MultiPoint"===n.type)return t("MultiPoint").call(this);var r=n&&"GeometryCollection"===n.type;return this.eachLayer(function(t){t.toGeoJSON&&(e=t.toGeoJSON(),i.push(r?e.geometry:o.GeoJSON.asFeature(e)))}),r?o.GeoJSON.getFeature(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}})}(),o.geoJson=function(t,e){return new o.GeoJSON(t,e)},o.DomEvent={addListener:function(t,e,n,i){var r,a,s,l=o.stamp(n),u="_leaflet_"+e+l;return t[u]?this:(r=function(e){return n.call(i||t,e||o.DomEvent._getEvent())},o.Browser.pointer&&0===e.indexOf("touch")?this.addPointerListener(t,e,r,l):(o.Browser.touch&&"dblclick"===e&&this.addDoubleTapListener&&this.addDoubleTapListener(t,r,l),"addEventListener"in t?"mousewheel"===e?(t.addEventListener("DOMMouseScroll",r,!1),t.addEventListener(e,r,!1)):"mouseenter"
71===e||"mouseleave"===e?(a=r,s="mouseenter"===e?"mouseover":"mouseout",r=function(e){return o.DomEvent._checkMouse(t,e)?a(e):void 0},t.addEventListener(s,r,!1)):"click"===e&&o.Browser.android?(a=r,r=function(t){return o.DomEvent._filterClick(t,a)},t.addEventListener(e,r,!1)):t.addEventListener(e,r,!1):"attachEvent"in t&&t.attachEvent("on"+e,r),t[u]=r,this))},removeListener:function(t,e,n){var i=o.stamp(n),r="_leaflet_"+e+i,a=t[r];return a?(o.Browser.pointer&&0===e.indexOf("touch")?this.removePointerListener(t,e,i):o.Browser.touch&&"dblclick"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,i):"removeEventListener"in t?"mousewheel"===e?(t.removeEventListener("DOMMouseScroll",a,!1),t.removeEventListener(e,a,!1)):"mouseenter"===e||"mouseleave"===e?t.removeEventListener("mouseenter"===e?"mouseover":"mouseout",a,!1):t.removeEventListener(e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[r]=null,this):this},stopPropagation:function(t){return t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,o.DomEvent._skipped(t),this},disableScrollPropagation:function(t){var e=o.DomEvent.stopPropagation;return o.DomEvent.on(t,"mousewheel",e).on(t,"MozMousePixelScroll",e)},disableClickPropagation:function(t){for(var e=o.DomEvent.stopPropagation,n=o.Draggable.START.length-1;n>=0;n--)o.DomEvent.on(t,o.Draggable.START[n],e);return o.DomEvent.on(t,"click",o.DomEvent._fakeStop).on(t,"dblclick",e)},preventDefault:function(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this},stop:function(t){return o.DomEvent.preventDefault(t).stopPropagation(t)},getMousePosition:function(t,e){if(!e)return new o.Point(t.clientX,t.clientY);var n=e.getBoundingClientRect();return new o.Point(t.clientX-n.left-e.clientLeft,t.clientY-n.top-e.clientTop)},getWheelDelta:function(t){var e=0;return t.wheelDelta&&(e=t.wheelDelta/120),t.detail&&(e=-t.detail/3),e},_skipEvents:{},_fakeStop:function(t){o.DomEvent._skipEvents[t.type]=!0},_skipped:function(t){var e=this._skipEvents[t.type];return this._skipEvents[t.type]=!1,e},_checkMouse:function(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(i){return!1}return n!==t},_getEvent:function(){var e=t.event;if(!e)for(var n=arguments.callee.caller;n&&(e=n.arguments[0],!e||t.Event!==e.constructor);)n=n.caller;return e},_filterClick:function(t,e){var n=t.timeStamp||t.originalEvent.timeStamp,i=o.DomEvent._lastClick&&n-o.DomEvent._lastClick;return i&&i>100&&500>i||t.target._simulatedClick&&!t._simulated?void o.DomEvent.stop(t):(o.DomEvent._lastClick=n,e(t))}},o.DomEvent.on=o.DomEvent.addListener,o.DomEvent.off=o.DomEvent.removeListener,o.Draggable=o.Class.extend({includes:o.Mixin.Events,statics:{START:o.Browser.touch?["touchstart","mousedown"]:["mousedown"],END:{mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},MOVE:{mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"}},initialize:function(t,e){this._element=t,this._dragStartTarget=e||t},enable:function(){if(!this._enabled){for(var t=o.Draggable.START.length-1;t>=0;t--)o.DomEvent.on(this._dragStartTarget,o.Draggable.START[t],this._onDown,this);this._enabled=!0}},disable:function(){if(this._enabled){for(var t=o.Draggable.START.length-1;t>=0;t--)o.DomEvent.off(this._dragStartTarget,o.Draggable.START[t],this._onDown,this);this._enabled=!1,this._moved=!1}},_onDown:function(t){if(this._moved=!1,!(t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(o.DomEvent.stopPropagation(t),o.Draggable._disabled||(o.DomUtil.disableImageDrag(),o.DomUtil.disableTextSelection(),this._moving)))){var n=t.touches?t.touches[0]:t;this._startPoint=new o.Point(n.clientX,n.clientY),this._startPos=this._newPos=o.DomUtil.getPosition(this._element),o.DomEvent.on(e,o.Draggable.MOVE[t.type],this._onMove,this).on(e,o.Draggable.END[t.type],this._onUp,this)}},_onMove:function(t){if(t.touches&&t.touches.length>1)return void(this._moved=!0);var n=t.touches&&1===t.touches.length?t.touches[0]:t,i=new o.Point(n.clientX,n.clientY),r=i.subtract(this._startPoint);(r.x||r.y)&&(o.Browser.touch&&Math.abs(r.x)+Math.abs(r.y)<3||(o.DomEvent.preventDefault(t),this._moved||(this.fire("dragstart"),this._moved=!0,this._startPos=o.DomUtil.getPosition(this._element).subtract(r),o.DomUtil.addClass(e.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,o.DomUtil.addClass(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(r),this._moving=!0,o.Util.cancelAnimFrame
71(this._animRequest),this._animRequest=o.Util.requestAnimFrame(this._updatePosition,this,!0,this._dragStartTarget)))},_updatePosition:function(){this.fire("predrag"),o.DomUtil.setPosition(this._element,this._newPos),this.fire("drag")},_onUp:function(){o.DomUtil.removeClass(e.body,"leaflet-dragging"),this._lastTarget&&(o.DomUtil.removeClass(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null);for(var t in o.Draggable.MOVE)o.DomEvent.off(e,o.Draggable.MOVE[t],this._onMove).off(e,o.Draggable.END[t],this._onUp);o.DomUtil.enableImageDrag(),o.DomUtil.enableTextSelection(),this._moved&&this._moving&&(o.Util.cancelAnimFrame(this._animRequest),this.fire("dragend",{distance:this._newPos.distanceTo(this._startPos)})),this._moving=!1}}),o.Handler=o.Class.extend({initialize:function(t){this._map=t},enable:function(){this._enabled||(this._enabled=!0,this.addHooks())},disable:function(){this._enabled&&(this._enabled=!1,this.removeHooks())},enabled:function(){return!!this._enabled
72}}),o.Map.mergeOptions({dragging:!0,inertia:!o.Browser.android23,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,inertiaThreshold:o.Browser.touch?32:18,easeLinearity:.25,worldCopyJump:!1}),o.Map.Drag=o.Handler.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new o.Draggable(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDrag,this),t.on("viewreset",this._onViewReset,this),t.whenReady(this._onViewReset,this))}this._draggable.enable()},removeHooks:function(){this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){var t=this._map;t._panAnim&&t._panAnim.stop(),t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(){if(this._map.options.inertia){var t=this._lastTime=+new Date,e=this._lastPos=this._draggable._newPos;this._positions.push(e),this._times.push(t),t-this._times[0]>200&&(this._positions.shift(),this._times.shift())}this._map.fire("move").fire("drag")},_onViewReset:function(){var t=this._map.getSize()._divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.project([0,180]).x},_onPreDrag:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,o=(i-e+n)%t+e-n,r=(i+e+n)%t-e-n,a=Math.abs(o+n)<Math.abs(r+n)?o:r;this._draggable._newPos.x=a},_onDragEnd:function(t){var e=this._map,n=e.options,i=+new Date-this._lastTime,r=!n.inertia||i>n.inertiaThreshold||!this._positions[0];if(e.fire("dragend",t),r)e.fire("moveend");else{var a=this._lastPos.subtract(this._positions[0]),s=(this._lastTime+i-this._times[0])/1e3,l=n.easeLinearity,u=a.multiplyBy(l/s),c=u.distanceTo([0,0]),h=Math.min(n.inertiaMaxSpeed,c),d=u.multiplyBy(h/c),p=h/(n.inertiaDeceleration*l),f=d.multiplyBy(-p/2).round();f.x&&f.y?(f=e._limitOffset(f,e.options.maxBounds),o.Util.requestAnimFrame(function(){e.panBy(f,{duration:p,easeLinearity:l,noMoveStart:!0})})):e.fire("moveend")}}}),o.Map.addInitHook("addHandler","dragging",o.Map.Drag),o.Map.mergeOptions({doubleClickZoom:!0}),o.Map.DoubleClickZoom=o.Handler.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom()+(t.originalEvent.shiftKey?-1:1);"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}}),o.Map.addInitHook("addHandler","doubleClickZoom",o.Map.DoubleClickZoom),o.Map.mergeOptions({scrollWheelZoom:!0}),o.Map.ScrollWheelZoom=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"mousewheel",this._onWheelScroll,this),o.DomEvent.on(this._map._container,"MozMousePixelScroll",o.DomEvent.preventDefault),this._delta=0},removeHooks:function(){o.DomEvent.off(this._map._container,"mousewheel",this._onWheelScroll),o.DomEvent.off(this._map._container,"MozMousePixelScroll",o.DomEvent.preventDefault)},_onWheelScroll:function(t){var e=o.DomEvent.getWheelDelta(t);this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date);var n=Math.max(40-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(o.bind(this._performZoom,this),n),o.DomEvent.preventDefault(t),o.DomEvent.stopPropagation(t)},_performZoom:function(){var t=this._map,e=this._delta,n=t.getZoom();e=e>0?Math.ceil(e):Math.floor(e),e=Math.max(Math.min(e,4),-4),e=t._limitZoom(n+e)-n,this._delta=0,this._startTime=null,e&&("center"===t.options.scrollWheelZoom?t.setZoom(n+e):t.setZoomAround(this._lastMousePos,n+e))}}),o.Map.addInitHook("addHandler","scrollWheelZoom",o.Map.ScrollWheelZoom),o.extend(o.DomEvent,{_touchstart:o.Browser.msPointer?"MSPointerDown":o.Browser.pointer?"pointerdown":"touchstart",_touchend:o.Browser.msPointer?"MSPointerUp":o.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(t,n,i){function r(t){var e;if(o.Browser.pointer?(f.push(t.pointerId),e=f.length):e=t.touches.length,!(e>1)){var n=Date.now(),i=n-(s||n);l=t.touches?t.touches[0]:t,u=i>0&&c>=i,s=n}}function a(t){if(o.Browser.pointer){var e=f.indexOf(t.pointerId);if(-1===e)return;f.splice(e,1)}if(u){if(o.Browser.pointer){var i,r={};for(var a in l)i=l[a],r[a]="function"==typeof i?i.bind(l):i;l=r}l.type="dblclick",n(l),s=null}}var s,l,u=!1,c=250,h="_leaflet_",d=this._touchstart,p=this._touchend,f=[];t[h+d+i]=r,t[h+p+i]=a;var m=o.Browser.pointer?e.documentElement:t;return t.addEventListener(d,r,!1),m.addEventListener(p,a,!1),o.Browser.pointer&&m.addEventListener(o.DomEvent.POINTER_CANCEL,a,!1),this},removeDoubleTapListener:function(t,n){var i="_leaflet_";return t.removeEventListener(this._touchstart,t[i+this._touchstart+n],!1),(o.Browser.pointer?e.documentElement:t).removeEventListener(this._touchend,t[i+this._touchend+n],!1),o.Browser.pointer&&e.documentElement.removeEventListener(o.DomEvent.POINTER_CANCEL,t[i+this._touchend+n],!1),this}}),o.extend(o.DomEvent,{POINTER_DOWN:o.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MO
72VE:o.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:o.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:o.Browser.msPointer?"MSPointerCancel":"pointercancel",_pointers:[],_pointerDocumentListener:!1,addPointerListener:function(t,e,n,i){switch(e){case"touchstart":return this.addPointerListenerStart(t,e,n,i);case"touchend":return this.addPointerListenerEnd(t,e,n,i);case"touchmove":return this.addPointerListenerMove(t,e,n,i);default:throw"Unknown touch event type"}},addPointerListenerStart:function(t,n,i,r){var a="_leaflet_",s=this._pointers,l=function(t){o.DomEvent.preventDefault(t);for(var e=!1,n=0;n<s.length;n++)if(s[n].pointerId===t.pointerId){e=!0;break}e||s.push(t),t.touches=s.slice(),t.changedTouches=[t],i(t)};if(t[a+"touchstart"+r]=l,t.addEventListener(this.POINTER_DOWN,l,!1),!this._pointerDocumentListener){var u=function(t){for(var e=0;e<s.length;e++)if(s[e].pointerId===t.pointerId){s.splice(e,1);break}};e.documentElement.addEventListener(this.POINTER_UP,u,!1),e.documentElement.addEventListener(this.POINTER_CANCEL,u,!1),this._pointerDocumentListener=!0}return this},addPointerListenerMove:function(t,e,n,i){function o(t){if(t.pointerType!==t.MSPOINTER_TYPE_MOUSE&&"mouse"!==t.pointerType||0!==t.buttons){for(var e=0;e<a.length;e++)if(a[e].pointerId===t.pointerId){a[e]=t;break}t.touches=a.slice(),t.changedTouches=[t],n(t)}}var r="_leaflet_",a=this._pointers;return t[r+"touchmove"+i]=o,t.addEventListener(this.POINTER_MOVE,o,!1),this},addPointerListenerEnd:function(t,e,n,i){var o="_leaflet_",r=this._pointers,a=function(t){for(var e=0;e<r.length;e++)if(r[e].pointerId===t.pointerId){r.splice(e,1);break}t.touches=r.slice(),t.changedTouches=[t],n(t)};return t[o+"touchend"+i]=a,t.addEventListener(this.POINTER_UP,a,!1),t.addEventListener(this.POINTER_CANCEL,a,!1),this},removePointerListener:function(t,e,n){var i="_leaflet_",o=t[i+e+n];switch(e){case"touchstart":t.removeEventListener(this.POINTER_DOWN,o,!1);break;case"touchmove":t.removeEventListener(this.POINTER_MOVE,o,!1);break;case"touchend":t.removeEventListener(this.POINTER_UP,o,!1),t.removeEventListener(this.POINTER_CANCEL,o,!1)}return this}}),o.Map.mergeOptions({touchZoom:o.Browser.touch&&!o.Browser.android23,bounceAtZoomLimits:!0}),o.Map.TouchZoom=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){o.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var n=this._map;if(t.touches&&2===t.touches.length&&!n._animatingZoom&&!this._zooming){var i=n.mouseEventToLayerPoint(t.touches[0]),r=n.mouseEventToLayerPoint(t.touches[1]),a=n._getCenterLayerPoint();this._startCenter=i.add(r)._divideBy(2),this._startDist=i.distanceTo(r),this._moved=!1,this._zooming=!0,this._centerOffset=a.subtract(this._startCenter),n._panAnim&&n._panAnim.stop(),o.DomEvent.on(e,"touchmove",this._onTouchMove,this).on(e,"touchend",this._onTouchEnd,this),o.DomEvent.preventDefault(t)}},_onTouchMove:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&this._zooming){var n=e.mouseEventToLayerPoint(t.touches[0]),i=e.mouseEventToLayerPoint(t.touches[1]);this._scale=n.distanceTo(i)/this._startDist,this._delta=n._add(i)._divideBy(2)._subtract(this._startCenter),1!==this._scale&&(e.options.bounceAtZoomLimits||!(e.getZoom()===e.getMinZoom()&&this._scale<1||e.getZoom()===e.getMaxZoom()&&this._scale>1))&&(this._moved||(o.DomUtil.addClass(e._mapPane,"leaflet-touching"),e.fire("movestart").fire("zoomstart"),this._moved=!0),o.Util.cancelAnimFrame(this._animRequest),this._animRequest=o.Util.requestAnimFrame(this._updateOnMove,this,!0,this._map._container),o.DomEvent.preventDefault(t))}},_updateOnMove:function(){var t=this._map,e=this._getScaleOrigin(),n=t.layerPointToLatLng(e),i=t.getScaleZoom(this._scale);t._animateZoom(n,i,this._startCenter,this._scale,this._delta,!1,!0)},_onTouchEnd:function(){if(!this._moved||!this._zooming)return void(this._zooming=!1);var t=this._map;this._zooming=!1,o.DomUtil.removeClass(t._mapPane,"leaflet-touching"),o.Util.cancelAnimFrame(this._animRequest),o.DomEvent.off(e,"touchmove",this._onTouchMove).off(e,"touchend",this._onTouchEnd);var n=this._getScaleOrigin(),i=t.layerPointToLatLng(n),r=t.getZoom(),a=t.getScaleZoom(this._scale)-r,s=a>0?Math.ceil(a):Math.floor(a),l=t._limitZoom(r+s),u=t.getZoomScale(l)/this._scale;t._animateZoom(i,l,n,u)},_getScaleOrigin:function(){var t=this._centerOffset.subtract(this._delta).divideBy(this._scale);return this._startCenter.add(t)}}),o.Map.addInitHook("addHandler","touchZoom",o.Map.TouchZoom),o.Map.mergeOptions({tap:!0,tapTolerance:15}),o.Map.Tap=o.Handler.extend({addHooks:function(){o.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){o.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(o.DomEvent.preventDefault(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var n=t.touches[0],i=n.target;this._startPos=this._newPos=new o.Point(n.clientX,n.clientY),i.tagName&&"a"===i.tagName.toLowerCase()&&o.DomUtil.addClass(i,"leaflet-active"),this._holdTimeout=setTimeout(o.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",n))},this),1e3),o.DomEvent.on(e,"touchmove",this._onMove,this).on(e,"touchend",this._onUp,this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),o.DomEvent.off(e,"touchmove",this._onMove,this).off(e,"touchend",this._onUp,this),this._fireClick&&t&&t.changedTouches){var n=t.changedTouches[0],i=n.target;i&&i.tagName&&"a"===i.tagName.toLowerCase()&&o.DomUtil.removeClass(i,"leaflet-active"),this._isTapValid()&&this._simulateEvent("click",n)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new o.Point(e.clientX,e.clientY)},_simulateEvent:function(n,i){var o=e.createEvent("MouseEvents");o._simulated=!0,i.target._simulatedClick=!0,o.initMouseEvent(n,!0,!0,t,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),i.target.dispatchEvent(o)}}),o.Browser.touch&&!o.Browser.pointer&&o.Map.addInitHook("addHandler","tap",o.Map.Tap),o.Map.mergeOptions({boxZoom:!0}),o.Map.BoxZoom=o.Handler.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._moved=!1},addHooks:function(){o.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){o.DomEvent.off(this._container,"mousedown",this._onMouseDown),this._moved=!1},moved:function(){return this._moved},_onMouseDown:function(t){return this._moved=!1,!t.shiftKey||1!==t.which&&1!==t.button?!1:(o.DomUtil.disableTextSelection(),o.DomUtil.disableImageDrag(),this._startLayerPoint=this._map.mouseEventToLayerPoint(t),void o.DomEvent.on(e,"mousemove",this._onMouseMove,this).on(e,"mouseup",this._onMouseUp,this).on(e,"keydown",this._onKeyDown,this))},_onMouseMove:function(t){this._moved||(this._box=o.DomUtil.create("div","leaflet-zoom-box",this._pane),o.DomUtil.setPosition(this._box,this._startLayerPoint),this._container.style.cursor="crosshair",this._map.fire("boxzoomstart"));var e=this._startLayerPoint,n=this._box,i=this._map.mouseEventToLayerPoint(t),r=i.subtract(e),a=new o.Point(Math.min(i.x,e.x),Math.min(i.y,e.y));o.DomUtil.setPosition(n,a),this._moved=!0,n.style.width=Math.max(0,Math.abs(r.x)-4)+"px",n.style.height=Math.max(0,Math.abs(r.y)-4)+"px"},_finish:function(){this._moved&&(this._pane.removeChild(this._box),this._container.style.cursor=""),o.DomUtil.enableTextSelection(),o.DomUtil.enableImageDrag(),o.DomEvent.off(e,"mousemove",this._onMouseMove).off(e,"mouseup",this._onMouseUp).off(e,"keydown",this._onKeyDown)},_onMouseUp:function(t){this._finish();var e=this._map,n=e.mouseEventToLayerPoint(t);if(!this._startLayerPoint.equals(n)){var i=new o.LatLngBounds(e.layerPointToLatLng(this._startLayerPoint),e.layerPointToLatLng(n));e.fitBounds(i),e.fire("boxzoomend",{boxZoomBounds:i})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}}),o.Map.addInitHook("addHandler","boxZoom",o.Map.BoxZoom),o.Map.mergeOptions({keyboard:!0,keyboardPanOffset:80,keyboardZoomOffset:1}),o.Map.Keyboard=o.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,173]},initialize:function(t){this._map=t,this._setPanOffset(t.options.keyboardPanOffset),this._setZoomOffset(t.options.keyboardZoomOffset)},addHooks:function(){var t=this._map._container;-1===t.tabIndex&&(t.tabIndex="0"),o.DomEvent.on(t,"focus",this._onFocus,this).on(t,"blur",this._onBlur,this).on(t,"mousedown",this._onMouseDown,this),this._map.on("focus",this._addHooks,this).on("blur",this._removeHooks,this)},removeHooks:function(){this._removeHooks();var t=this._map._container;o.DomEvent.off(t,"focus",this._onFocus,this).off(t,"blur",this._onBlur,this).off(t,"mousedown",this._onMouseDown,this),this._map.off("focus",this._addHooks,this).off("blur",this._removeHooks,this)},_onMouseDown:function(){if(!this._focused){var n=e.body,i=e.documentElement,o=n.scrollTop||i.scrollTop,r
72=n.scrollLeft||i.scrollLeft;this._map._container.focus(),t.scrollTo(r,o)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanOffset:function(t){var e,n,i=this._panKeys={},o=this.keyCodes;for(e=0,n=o.left.length;n>e;e++)i[o.left[e]]=[-1*t,0];for(e=0,n=o.right.length;n>e;e++)i[o.right[e]]=[t,0];for(e=0,n=o.down.length;n>e;e++)i[o.down[e]]=[0,t];for(e=0,n=o.up.length;n>e;e++)i[o.up[e]]=[0,-1*t]},_setZoomOffset:function(t){var e,n,i=this._zoomKeys={},o=this.keyCodes;for(e=0,n=o.zoomIn.length;n>e;e++)i[o.zoomIn[e]]=t;for(e=0,n=o.zoomOut.length;n>e;e++)i[o.zoomOut[e]]=-t},_addHooks:function(){o.DomEvent.on(e,"keydown",this._onKeyDown,this)},_removeHooks:function(){o.DomEvent.off(e,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){var e=t.keyCode,n=this._map;if(e in this._panKeys){if(n._panAnim&&n._panAnim._inProgress)return;n.panBy(this._panKeys[e]),n.options.maxBounds&&n.panInsideBounds(n.options.maxBounds)}else{if(!(e in this._zoomKeys))return;n.setZoom(n.getZoom()+this._zoomKeys[e])}o.DomEvent.stop(t)}}),o.Map.addInitHook("addHandler","keyboard",o.Map.Keyboard),o.Handler.MarkerDrag=o.Handler.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new o.Draggable(t,t)),this._draggable.on("dragstart",this._onDragStart,this).on("drag",this._onDrag,this).on("dragend",this._onDragEnd,this),this._draggable.enable(),o.DomUtil.addClass(this._marker._icon,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off("dragstart",this._onDragStart,this).off("drag",this._onDrag,this).off("dragend",this._onDragEnd,this),this._draggable.disable(),o.DomUtil.removeClass(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_onDragStart:function(){this._marker.closePopup().fire("movestart").fire("dragstart")},_onDrag:function(){var t=this._marker,e=t._shadow,n=o.DomUtil.getPosition(t._icon),i=t._map.layerPointToLatLng(n);e&&o.DomUtil.setPosition(e,n),t._latlng=i,t.fire("move",{latlng:i}).fire("drag")},_onDragEnd:function(t){this._marker.fire("moveend").fire("dragend",t)}}),o.Control=o.Class.extend({options:{position:"topright"},initialize:function(t){o.setOptions(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return o.DomUtil.addClass(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this},removeFrom:function(t){var e=this.getPosition(),n=t._controlCorners[e];return n.removeChild(this._container),this._map=null,this.onRemove&&this.onRemove(t),this},_refocusOnMap:function(){this._map&&this._map.getContainer().focus()}}),o.control=function(t){return new o.Control(t)},o.Map.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.removeFrom(this),this},_initControlPos:function(){function t(t,r){var a=n+t+" "+n+r;e[t+r]=o.DomUtil.create("div",a,i)}var e=this._controlCorners={},n="leaflet-",i=this._controlContainer=o.DomUtil.create("div",n+"control-container",this._container);t("top","left"),t("top","right"),t("bottom","left"),t("bottom","right")},_clearControlPos:function(){this._container.removeChild(this._controlContainer)}}),o.Control.Zoom=o.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=o.DomUtil.create("div",e+" leaflet-bar");return this._map=t,this._zoomInButton=this._createButton(this.options.zoomInText,this.options.zoomInTitle,e+"-in",n,this._zoomIn,this),this._zoomOutButton=this._createButton(this.options.zoomOutText,this.options.zoomOutTitle,e+"-out",n,this._zoomOut,this),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},_zoomIn:function(t){this._map.zoomIn(t.shiftKey?3:1)},_zoomOut:function(t){this._map.zoomOut(t.shiftKey?3:1)},_createButton:function(t,e,n,i,r,a){var s=o.DomUtil.create("a",n,i);
72s.innerHTML=t,s.href="#",s.title=e;var l=o.DomEvent.stopPropagation;return o.DomEvent.on(s,"click",l).on(s,"mousedown",l).on(s,"dblclick",l).on(s,"click",o.DomEvent.preventDefault).on(s,"click",r,a).on(s,"click",this._refocusOnMap,a),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";o.DomUtil.removeClass(this._zoomInButton,e),o.DomUtil.removeClass(this._zoomOutButton,e),t._zoom===t.getMinZoom()&&o.DomUtil.addClass(this._zoomOutButton,e),t._zoom===t.getMaxZoom()&&o.DomUtil.addClass(this._zoomInButton,e)}}),o.Map.mergeOptions({zoomControl:!0}),o.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new o.Control.Zoom,this.addControl(this.zoomControl))}),o.control.zoom=function(t){return new o.Control.Zoom(t)},o.Control.Attribution=o.Control.extend({options:{position:"bottomright",prefix:'<a href="http://leafletjs.com" title="A JS library for interactive maps">Leaflet</a>'},initialize:function(t){o.setOptions(this,t),this._attributions={}},onAdd:function(t){this._container=o.DomUtil.create("div","leaflet-control-attribution"),o.DomEvent.disableClickPropagation(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return t.on("layeradd",this._onLayerAdd,this).on("layerremove",this._onLayerRemove,this),this._update(),this._container},onRemove:function(t){t.off("layeradd",this._onLayerAdd).off("layerremove",this._onLayerRemove)},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):void 0},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):void 0},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}},_onLayerAdd:function(t){t.layer.getAttribution&&this.addAttribution(t.layer.getAttribution())},_onLayerRemove:function(t){t.layer.getAttribution&&this.removeAttribution(t.layer.getAttribution())}}),o.Map.mergeOptions({attributionControl:!0}),o.Map.addInitHook(function(){this.options.attributionControl&&(this.attributionControl=(new o.Control.Attribution).addTo(this))}),o.control.attribution=function(t){return new o.Control.Attribution(t)},o.Control.Scale=o.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0,updateWhenIdle:!1},onAdd:function(t){this._map=t;var e="leaflet-control-scale",n=o.DomUtil.create("div",e),i=this.options;return this._addScales(i,e,n),t.on(i.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=o.DomUtil.create("div",e+"-line",n)),t.imperial&&(this._iScale=o.DomUtil.create("div",e+"-line",n))},_update:function(){var t=this._map.getBounds(),e=t.getCenter().lat,n=6378137*Math.PI*Math.cos(e*Math.PI/180),i=n*(t.getNorthEast().lng-t.getSouthWest
72().lng)/180,o=this._map.getSize(),r=this.options,a=0;o.x>0&&(a=i*(r.maxWidth/o.x)),this._updateScales(r,a)},_updateScales:function(t,e){t.metric&&e&&this._updateMetric(e),t.imperial&&e&&this._updateImperial(e)},_updateMetric:function(t){var e=this._getRoundNum(t);this._mScale.style.width=this._getScaleWidth(e/t)+"px",this._mScale.innerHTML=1e3>e?e+" m":e/1e3+" km"},_updateImperial:function(t){var e,n,i,o=3.2808399*t,r=this._iScale;o>5280?(e=o/5280,n=this._getRoundNum(e),r.style.width=this._getScaleWidth(n/e)+"px",r.innerHTML=n+" mi"):(i=this._getRoundNum(o),r.style.width=this._getScaleWidth(i/o)+"px",r.innerHTML=i+" ft")},_getScaleWidth:function(t){return Math.round(this.options.maxWidth*t)-10},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,e*n}}),o.control.scale=function(t){return new o.Control.Scale(t)},o.Control.Layers=o.Control.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0},initialize:function(t,e,n){o.setOptions(this,n),this._layers={},this._lastZIndex=0,this._handlingClick=!1;for(var i in t)this._addLayer(t[i],i);for(i in e)this._addLayer(e[i],i,!0)},onAdd:function(t){return this._initLayout(),this._update(),t.on("layeradd",this._onLayerChange,this).on("layerremove",this._onLayerChange,this),this._container},onRemove:function(t){t.off("layeradd",this._onLayerChange,this).off("layerremove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._update(),this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._update(),this},removeLayer:function(t){var e=o.stamp(t);return delete this._layers[e],this._update(),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=o.DomUtil.create("div",t);e.setAttribute("aria-haspopup",!0),o.Browser.touch?o.DomEvent.on(e,"click",o.DomEvent.stopPropagation):o.DomEvent.disableClickPropagation(e).disableScrollPropagation(e);var n=this._form=o.DomUtil.create("form",t+"-list");if(this.options.collapsed){o.Browser.android||o.DomEvent.on(e,"mouseover",this._expand,this).on(e,"mouseout",this._collapse,this);var i=this._layersLink=o.DomUtil.create("a",t+"-toggle",e);i.href="#",i.title="Layers",o.Browser.touch?o.DomEvent.on(i,"click",o.DomEvent.stop).on(i,"click",this._expand,this):o.DomEvent.on(i,"focus",this._expand,this),o.DomEvent.on(n,"click",function(){setTimeout(o.bind(this._onInputClick,this),0)},this),this._map.on("click",this._collapse,this)}else this._expand();this._baseLayersList=o.DomUtil.create("div",t+"-base",n),this._separator=o.DomUtil.create("div",t+"-separator",n),this._overlaysList=o.DomUtil.create("div",t+"-overlays",n),e.appendChild(n)},_addLayer:function(t,e,n){var i=o.stamp(t);this._layers[i]={layer:t,name:e,overlay:n},this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex))},_update:function(){if(this._container){this._baseLayersList.innerHTML="",this._overlaysList.innerHTML="";var t,e,n=!1,i=!1;for(t in this._layers)e=this._layers[t],this._addItem(e),i=i||e.overlay,n=n||!e.overlay;this._separator.style.display=i&&n?"":"none"}},_onLayerChange:function(t){var e=this._layers[o.stamp(t.layer)];if(e){this._handlingClick||this._update();var n=e.overlay?"layeradd"===t.type?"overlayadd":"overlayremove":"layeradd"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)}},_createRadioElement:function(t,n){var i='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"';n&&(i+=' checked="checked"'),i+="/>";var o=e.createElement("div");return o.innerHTML=i,o.firstChild},_addItem:function(t){var n,i=e.createElement("label"),r=this._map.hasLayer(t.layer);t.overlay?(n=e.createElement("input"),n.type="checkbox",n.className="leaflet-control-layers-selector",n.defaultChecked=r):n=this._createRadioElement("leaflet-base-layers",r),n.layerId=o.stamp(t.layer),o.DomEvent.on(n,"click",this._onInputClick,this);var a=e.createElement("span");a.innerHTML=" "+t.name,i.appendChild(n),i.appendChild(a);var s=t.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(i),i},_onInputClick:function(){var t,e,n,i=this._form.getElementsByTagName("input"),o=i.length;for(this._handlingClick=!0,t=0;o>t;t++)e=i[t],n=this._layers[e.layerId],e.checked&&!this._map.hasLayer(n.layer)?this._map.addLayer(n.layer):!e.checked&&this._map.hasLayer(n.layer)&&this._map.removeLayer(n.layer);this._handlingClick=!1,this._refocusOnMap()},_expand:function(){o.DomUtil.addClass(this._container,"leaflet-control-layers-expanded")},_collapse:function(){this._container.className=this._container.className.replace(" leaflet-control-layers-expanded","")}}),o.control.layers=function(t,e,n){return new o.Control.Layers(t,e,n)},o.PosAnimation=o.Class.extend({includes:o.Mixin.Events,run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._newPos=e,this.fire("start"),t.style[o.Dom
72Util.TRANSITION]="all "+(n||.25)+"s cubic-bezier(0,0,"+(i||.5)+",1)",o.DomEvent.on(t,o.DomUtil.TRANSITION_END,this._onTransitionEnd,this),o.DomUtil.setPosition(t,e),o.Util.falseFn(t.offsetWidth),this._stepTimer=setInterval(o.bind(this._onStep,this),50)},stop:function(){this._inProgress&&(o.DomUtil.setPosition(this._el,this._getPos()),this._onTransitionEnd(),o.Util.falseFn(this._el.offsetWidth))},_onStep:function(){var t=this._getPos();return t?(this._el._leaflet_pos=t,void this.fire("step")):void this._onTransitionEnd()},_transformRe:/([-+]?(?:\d*\.)?\d+)\D*, ([-+]?(?:\d*\.)?\d+)\D*\)/,_getPos:function(){var e,n,i,r=this._el,a=t.getComputedStyle(r);if(o.Browser.any3d){if(i=a[o.DomUtil.TRANSFORM].match(this._transformRe),!i)return;e=parseFloat(i[1]),n=parseFloat(i[2])}else e=parseFloat(a.left),n=parseFloat(a.top);return new o.Point(e,n,!0)},_onTransitionEnd:function(){o.DomEvent.off(this._el,o.DomUtil.TRANSITION_END,this._onTransitionEnd,this),this._inProgress&&(this._inProgress=!1,this._el.style[o.DomUtil.TRANSITION]="",this._el._leaflet_pos=this._newPos,clearInterval(this._stepTimer),this.fire("step").fire("end"))}}),o.Map.include({setView:function(t,e,i){if(e=e===n?this._zoom:this._limitZoom(e),t=this._limitCenter(o.latLng(t),e,this.options.maxBounds),i=i||{},this._panAnim&&this._panAnim.stop(),this._loaded&&!i.reset&&i!==!0){i.animate!==n&&(i.zoom=o.extend({animate:i.animate},i.zoom),i.pan=o.extend({animate:i.animate},i.pan));var r=this._zoom!==e?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,e,i.zoom):this._tryAnimatedPan(t,i.pan);if(r)return clearTimeout(this._sizeTimer),this}return this._resetView(t,e),this},panBy:function(t,e){if(t=o.point(t).round(),e=e||{},!t.x&&!t.y)return this;if(this._panAnim||(this._panAnim=new o.PosAnimation,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),e.animate!==!1){o.DomUtil.addClass(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(t);this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)}else this._rawPanBy(t),this.fire("move").fire("moveend");return this},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){o.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._floor();return(e&&e.animate)===!0||this.getSize().contains(n)?(this.panBy(n,e),!0):!1}}),o.PosAnimation=o.DomUtil.TRANSITION?o.PosAnimation:o.PosAnimation.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=o.DomUtil.getPosition(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(),this._complete())},_animate:function(){this._animId=o.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(){var t=+new Date-this._startTime,e=1e3*this._duration;e>t?this._runFrame(this._easeOut(t/e)):(this._runFrame(1),this._complete())},_runFrame:function(t){var e=this._startPos.add(this._offset.multiplyBy(t));o.DomUtil.setPosition(this._el,e),this.fire("step")},_complete:function(){o.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),o.Map.mergeOptions({zoomAnimation:!0,zoomAnimationThreshold:4}),o.DomUtil.TRANSITION&&o.Map.addInitHook(function(){this._zoomAnimated=this.options.zoomAnimation&&o.DomUtil.TRANSITION&&o.Browser.any3d&&!o.Browser.android23&&!o.Browser.mobileOpera,this._zoomAnimated&&o.DomEvent.on(this._mapPane,o.DomUtil.TRANSITION_END,this._catchTransitionEnd,this)}),o.Map.include(o.DomUtil.TRANSITION?{_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/i),r=this._getCenterLayerPoint()._add(o);
72return n.animate===!0||this.getSize().contains(o)?(this.fire("movestart").fire("zoomstart"),this._animateZoom(t,e,r,i,null,!0),!0):!1},_animateZoom:function(t,e,n,i,r,a,s){s||(this._animatingZoom=!0),o.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim"),this._animateToCenter=t,this._animateToZoom=e,o.Draggable&&(o.Draggable._disabled=!0),o.Util.requestAnimFrame(function(){this.fire("zoomanim",{center:t,zoom:e,origin:n,scale:i,delta:r,backwards:a})},this)},_onZoomTransitionEnd:function(){this._animatingZoom=!1,o.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._resetView(this._animateToCenter,this._animateToZoom,!0,!0),o.Draggable&&(o.Draggable._disabled=!1)}}:{}),o.TileLayer.include({_animateZoom:function(t){this._animating||(this._animating=!0,this._prepareBgBuffer());var e=this._bgBuffer,n=o.DomUtil.TRANSFORM,i=t.delta?o.DomUtil.getTranslateString(t.delta):e.style[n],r=o.DomUtil.getScaleString(t.scale,t.origin);e.style[n]=t.backwards?r+" "+i:i+" "+r},_endZoomAnim:function(){var t=this._tileContainer,e=this._bgBuffer;t.style.visibility="",t.parentNode.appendChild(t),o.Util.falseFn(e.offsetWidth),this._animating=!1},_clearBgBuffer:function(){var t=this._map;!t||t._animatingZoom||t.touchZoom._zooming||(this._bgBuffer.innerHTML="",this._bgBuffer.style[o.DomUtil.TRANSFORM]="")},_prepareBgBuffer:function(){var t=this._tileContainer,e=this._bgBuffer,n=this._getLoadedTilesPercentage(e),i=this._getLoadedTilesPercentage(t);return e&&n>.5&&.5>i?(t.style.visibility="hidden",void this._stopLoadingImages(t)):(e.style.visibility="hidden",e.style[o.DomUtil.TRANSFORM]="",this._tileContainer=e,e=this._bgBuffer=t,this._stopLoadingImages(e),void clearTimeout(this._clearBgBufferTimer))
73},_getLoadedTilesPercentage:function(t){var e,n,i=t.getElementsByTagName("img"),o=0;for(e=0,n=i.length;n>e;e++)i[e].complete&&o++;return o/n},_stopLoadingImages:function(t){var e,n,i,r=Array.prototype.slice.call(t.getElementsByTagName("img"));for(e=0,n=r.length;n>e;e++)i=r[e],i.complete||(i.onload=o.Util.falseFn,i.onerror=o.Util.falseFn,i.src=o.Util.emptyImageUrl,i.parentNode.removeChild(i))}}),o.Map.include({_defaultLocateOptions:{watch:!1,setView:!1,maxZoom:1/0,timeout:1e4,maximumAge:0,enableHighAccuracy:!1},locate:function(t){if(t=this._locateOptions=o.extend(this._defaultLocateOptions,t),!navigator.geolocation)return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=o.bind(this._handleGeolocationResponse,this),n=o.bind(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,n,t):navigator.geolocation.getCurrentPosition(e,n,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=t.coords.latitude,n=t.coords.longitude,i=new o.LatLng(e,n),r=180*t.coords.accuracy/40075017,a=r/Math.cos(o.LatLng.DEG_TO_RAD*e),s=o.latLngBounds([e-r,n-a],[e+r,n+a]),l=this._locateOptions;if(l.setView){var u=Math.min(this.getBoundsZoom(s),l.maxZoom);this.setView(i,u)}var c={latlng:i,bounds:s,timestamp:t.timestamp};for(var h in t.coords)"number"==typeof t.coords[h]&&(c[h]=t.coords[h]);this.fire("locationfound",c)}})}(window,document),L.Icon.Text=L.Icon.extend({initialize:function(t,e){this._text=t,L.Icon.prototype.initialize.apply(this,[e])},createIcon:function(){var t=document.createElement("div");return t.appendChild(document.createTextNode(this._text)),this._setIconStyles(t,"icon"),t.style.textShadow="2px 2px 2px #fff",t},createShadow:function(){return null}}),L.Marker.Text=L.Marker.extend({initialize:function(t,e,n){L.Marker.prototype.initialize.apply(this,[t,n]),this._fakeicon=new L.Icon.Text(e)},_initIcon:function(){L.Marker.prototype._initIcon.apply(this);var t=this._icon,e=this._shadow,n=this.options.icon;this._icon=this._shadow=null,this.options.icon=this._fakeicon,L.Marker.prototype._initIcon.apply(this),this.options.icon=n,e&&(e.parentNode.removeChild(e),this._icon.appendChild(e)),t.parentNode.removeChild(t),this._icon.appendChild(t);var i=this._icon.clientWidth,o=this._icon.clientHeight;this._icon.style.marginLeft=-i/2+"px";var r=new L.Point(i/2,0);L.Browser.webkit&&(r.y=-o),L.DomUtil.setPosition(t,r),e&&L.DomUtil.setPosition(e,r)}}),/*! leaflet-dvf 03-04-2015 */
74L.LinearFunction=L.Class.extend({options:{constrainX:!1},initialize:function(t,e,n){this.setOptions(n),this.setRange(t,e)},_calculateParameters:function(t,e){0===this._xRange?(this._slope=0,this._b=t.y):(this._slope=(e.y-t.y)/this._xRange,this._b=t.y-this._slope*t.x)},_arrayToPoint:function(t){return{x:t[0],y:t[1]}},setOptions:function(t){L.Util.setOptions(this,t),this._preProcess=this.options.preProcess,this._postProcess=this.options.postProcess},getBounds:function(){var t=Math.min(this._minPoint.x,this._maxPoint.x),e=Math.max(this._minPoint.x,this._maxPoint.x),n=Math.min(this._minPoint.y,this._maxPoint.y),i=Math.max(this._minPoint.y,this._maxPoint.y);return[new L.Point(t,n),new L.Point(e,i)]},setRange:function(t,e){return t=t instanceof Array?this._arrayToPoint(t):t,e=e instanceof Array?this._arrayToPoint(e):e,this._minPoint=t,this._maxPoint=e,this._xRange=e.x-t.x,this._calculateParameters(t,e),this},setMin:function(t){return this.setRange(t,this._maxPoint),this},setMax:function(t){return this.setRange(this._minPoint,t),this},setPreProcess:function(t){return this._preProcess=t,this},setPostProcess:function(t){return this._postProcess=t,this},constrainX:function(t){return t=Number(t),this.options.constrainX&&(t=Math.max(t,this._minPoint.x),t=Math.min(t,this._maxPoint.x)),t},evaluate:function(t){var e;return this._preProcess&&(t=this._preProcess(t)),e=Number((this._slope*t).toFixed(6))+Number(this._b.toFixed(6)),this._postProcess&&(e=this._postProcess(e)),e},random:function(){var t=Math.random()*this._xRange+this._minPoint.x;return this.evaluate(t)},sample:function(t){t=Math.max(t,2);for(var e=t-1,n=this._xRange/e,i=this._minPoint.x,o=[];i<=this._maxPoint.x;)o.push(this.evaluate(i)),i+=n;return o},samplePoints:function(t){t=Math.max(t,2);for(var e=t-1,n=this._xRange/e,i=this._minPoint.x,o=[];i<=this._maxPoint.x;)o.push(new L.Point(i,this.evaluate(i))),i+=n;return o},getIntersectionPoint:function(t){var e=null;if(this._slope!==t._slope){var n=(this._b-t._b)/(t._slope-this._slope),i=this.evaluate(n);e=new L.Point(n,i)}return e}}),L.ColorFunction=L.LinearFunction.extend({options:{alpha:1,includeAlpha:!1}
74,initialize:function(t,e,n){L.Util.setOptions(this,n),this._parts=[],this._dynamicPart=null,this._outputPrecision=0,this._prefix=null,this._formatOutput=function(t){return t.toFixed(this._outputPrecision)},this._mapOutput=function(t){for(var e=[],n=0;n<this._parts.length;++n){var i=this._parts[n];e.push(t[i])}return this.options.includeAlpha&&e.push(this.options.alpha),e},this._getColorString=function(t){t=this._formatOutput(t),this.options[this._dynamicPart]=t;var e=this._mapOutput(this.options);return this._writeColor(this._prefix,e)},this._writeColor=function(t,e){return this.options.includeAlpha&&(t+="a"),t+"("+e.join(",")+")"},n=this.options;var i=function(t){n&&n.postProcess&&(t=n.postProcess.call(this,t));var e=this._getColorString(t);return(L.Browser.ie&&e.indexOf("hsl")>-1||n.rgb)&&(e=L.hslColor(e).toRGBString()),e};L.LinearFunction.prototype.initialize.call(this,t,e,{preProcess:this.options.preProcess,postProcess:i})}}),L.HSLColorFunction=L.ColorFunction.extend({initialize:function(t,e,n){L.ColorFunction.prototype.initialize.call(this,t,e,n),this._parts=["outputHue","outputSaturation","outputLuminosity"],this._prefix="hsl",this._outputPrecision=2}}),L.RGBColorFunction=L.ColorFunction.extend({initialize:function(t,e,n){L.ColorFunction.prototype.initialize.call(this,t,e,n),this._parts=["outputRed","outputBlue","outputGreen"],this._prefix="rgb",this._outputPrecision=0}}),L.RGBRedFunction=L.LinearFunction.extend({options:{outputGreen:0,outputBlue:0},initialize:function(t,e,n){L.RGBColorFunction.prototype.initialize.call(this,t,e,n),this._dynamicPart="outputRed"}}),L.RGBBlueFunction=L.LinearFunction.extend({options:{outputRed:0,outputGreen:0},initialize:function(t,e,n){L.RGBColorFunction.prototype.initialize.call(this,t,e,n),this._dynamicPart="outputBlue"}}),L.RGBGreenFunction=L.LinearFunction.extend({options:{outputRed:0,outputBlue:0},initialize:function(t,e,n){L.RGBColorFunction.prototype.initialize.call(this,t,e,n),this._dynamicPart="outputGreen"}}),L.RGBColorBlendFunction=L.LinearFunction.extend({initialize:function(t,e,n,i){n=new L.RGBColor(n),i=new L.RGBColor(i);var o=n.r(),r=i.r(),a=n.g(),s=i.g(),l=n.b(),u=i.b();this._minX=t,this._maxX=e,this._redFunction=new L.LinearFunction(new L.Point(t,o),new L.Point(e,r)),this._greenFunction=new L.LinearFunction(new L.Point(t,a),new L.Point(e,s)),this._blueFunction=new L.LinearFunction(new L.Point(t,l),new L.Point(e,u))},getBounds:function(){var t=this._redFunction.getBounds(),e=this._greenFunction.getBounds(),n=this._blueFunction.getBounds(),i=Math.min(t[0].y,e[0].y,n[0].y),o=Math.max(t[0].y,e[0].y,n[0].y);return[new L.Point(t[0].x,i),new L.Point(t[1].x,o)]},evaluate:function(t){return new L.RGBColor([this._redFunction.evaluate(t),this._greenFunction.evaluate(t),this._blueFunction.evaluate(t)]).toRGBString()}}),L.HSLHueFunction=L.HSLColorFunction.extend({options:{outputSaturation:"100%",outputLuminosity:"50%"},initialize:function(t,e,n){L.HSLColorFunction.prototype.initialize.call(this,t,e,n),this._dynamicPart="outputHue"}}),L.HSLSaturationFunction=L.LinearFunction.extend({options:{outputHue:0,outputLuminosity:"50%"},initialize:function(t,e,n){L.HSLColorFunction.prototype.initialize.call(this,t,e,n),this._formatOutput=function(t){return(100*t).toFixed(this._outputPrecision)+"%"},this._dynamicPart="outputSaturation"}}),L.HSLLuminosityFunction=L.LinearFunction.extend({options:{outputHue:0,outputSaturation:"100%"},initialize:function(t,e,n){L.HSLColorFunction.prototype.initialize.call(this,t,e,n),this._formatOutput=function(t){return(100*t).toFixed(this._outputPrecision)+"%"},this._dynamicPart="outputLuminosity"}}),L.HSLColorBlendFunction=L.LinearFunction.extend({initialize:function(t,e,n,i){n=new L.HSLColor(n),i=new L.HSLColor(i);var o=n.h(),r=i.h(),a=n.s(),s=i.s(),l=n.l(),u=i.l();this._minX=t,this._maxX=e,this._hueFunction=new L.LinearFunction(new L.Point(t,o),new L.Point(e,r)),this._saturationFunction=new L.LinearFunction(new L.Point(t,a),new L.Point(e,s)),this._luminosityFunction=new L.LinearFunction(new L.Point(t,l),new L.Point(e,u))},getBounds:function(){var t=this._hueFunction.getBounds(),e=this._saturationFunction.getBounds(),n=this._luminosityFunction.getBounds(),i=Math.min(t[0].y,e[0].y,n[0].y),o=Math.max(t[0].y,e[0].y,n[0].y);return[new L.Point(t[0].x,i),new L.Point(t[1].x,o)]},evaluate:function(t){return new L.HSLColor([this._hueFunction.evaluate(t),this._saturationFunction.evaluate(t),this._luminosityFunction.evaluate(t)]).toHSLString()}}),L.PiecewiseFunction=L.LinearFunction.extend({options:{constrainX:!0},initialize:function(t,e){L.Util.setOptions(this,e),this._functions=t;var n,i;n=t[0].getBounds()[0],i=t[t.length-1].getBounds()[1],L.LinearFunction.prototype.initialize.call(this,n,i,{preProcess:this.options.preProcess,postProcess:this.options.postProcess})},_getFunction:function(t){var e,n,i,o;if(t<this._minPoint.x)o=this._functions[0];else if(t>=this._maxPoint.x)o=this._functions[this._functions.length-1];else for(var r=0;r<this._functions.length&&(o=this._functions[r],e=o.getBounds(),n=e[0],i=e[1],!(t>=n.x&&t<i.x));++r);return o},evaluate:function(t){var e,n=null;return t=this.constrainX(t),this._preProcess&&(t=this._preProcess(t)),e=this._getFunction(t),e&&(n=e.evaluate(t),this._postProcess&&(n=this._postProcess(n))),n}}),L.ColorClassFunction=L.PiecewiseFunction.extend({options:{interpolate:!1},initialize:function(t,e,n){var i,o=[];L.Util.setOptions(this,n);for(var r=0;r<t.length-1;++r){var a=t[r],s=t[r+1],l=e[r],u=this.options.interpolate?e[Math.min(e.length-1,r+1)]:e[r];i=new L.RGBColorBlendFunction(a,s,l,u),o.push(i)}L.PiecewiseFunction.prototype.initialize.call(this,o)}}),L.CustomColorFunction=L.PiecewiseFunction.extend({options:{interpolate:!0},initialize:function(t,e,n,i){L.Util.setOptions(this,i);for(var o,r,a=this.options.interpolate?n.length-1:n.length,s=[],l=new L.LinearFunction([0,t],[a,e]),u=0;a>u;++u)r=u+1,o=this.options.interpolate?new L.RGBColorBlendFunction(l.evaluate(u),l.evaluate(r),n[u],n[r]):new L.RGBColorBlendFunction(l.evaluate(u),l.evaluate(r),n[u],n[u]),s.push(o);l=null,L.PiecewiseFunction.prototype.initialize.call(this,s)}}),L.CategoryFunction=L.Class.extend({initialize:function(t,e){L.Util.setOptions(this,e),this._categoryKeys=Object.keys(t),this._categoryMap=t,this._preProcess=this.options.preProcess,this._postProcess=this.options.postProcess},evaluate:function(t){var e;return this._preProcess&&(t=this._preProcess(t)),e=this._categoryMap[t],this._postProcess&&(e=this._postProcess(e)),e},getCategories:function(){return this._categoryKeys}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,e){for(var n=e||0,i=this.length;i>n;n++)if(this[n]===t)return n;return-1}),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}
74.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(o){var r,a,s;if("object"!=typeof o&&"function"!=typeof o||null===o)throw new TypeError("Object.keys called on non-object");r=[];for(a in o)t.call(o,a)&&r.push(a);if(e)for(s=0;i>s;s++)t.call(o,n[s])&&r.push(n[s]);return r}}()),L.Util.guid=function(){var t=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},L.Util.getProperty=function(t,e,n){return e in t?t[e]:n},L.Util.setFieldValue=function(t,e,n){for(var i,o=e.split("."),r=t,a=0;a<o.length-1;++a)i=o[a],r[i]=r[i]||{},r=r[i];r[o[o.length-1]]=n},L.Util.getFieldValue=function(t,e){var n=null;if(e){for(var i,o,r,a,s,l,u,c=e.split("."),h=t,d=-1,p=0;p<c.length;++p)if(i=c[p],d=i.indexOf("["),d>-1){l=i.substring(d),i=i.substring(0,d),l=l.replace("[","").replace("]",""),o=l.split("="),r=o[0],a=o[1],h=h[i];for(var f=0;f<h.length;++f)s=h[f],u=s[r],u&&u===a&&(h=s)}else{if(!h||!h.hasOwnProperty(i)){h=null;break}h=h[i]}n=h}else n=t;return n},L.Util.getNumericRange=function(t,e){var n=Number.MAX_VALUE,i=Number.MIN_VALUE;for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],a=L.Util.getFieldValue(r,e);n=Math.min(n,a),i=Math.max(i,a)}return[n,i]},L.Util.pointToGeoJSON=function(){var t={type:"Feature",geometry:{type:"Point",coordinates:[this._latlng[1],this._latlng[0]]},properties:{}};for(var e in this.options)if(this.options.hasOwnProperty(e)){var n=this.options[e];"function"!=typeof n&&(t.properties[e]=n)}return t},L.Util.updateLayer=function(t,e){t.eachLayer&&!t instanceof L.FeatureGroup?t.eachLayer(function(t){L.Util.updateLayer(t,e)}):e.call(this,t)},L.CategoryLegend=L.Class.extend({initialize:function(t){L.Util.setOptions(this,t)},generate:function(t){t=t||{};var e=document.createElement("div"),n=L.DomUtil.create("div","legend",e),i=t.className,o=this.options;i&&L.DomUtil.addClass(n,i),t.title&&(L.DomUtil.create("div","legend-title",n).innerHTML=t.title);for(var r in o){categoryOptions=o[r];var a=categoryOptions.displayName||r,s=L.DomUtil.create("div","data-layer-legend",n),l=L.DomUtil.create("div","legend-box",s);L.DomUtil.create("div","key",s).innerHTML=a,L.StyleConverter.applySVGStyle(l,categoryOptions)}return e.innerHTML}}),L.LegendIcon=L.DivIcon.extend({initialize:function(t,e,n){var i,o=document.createDocumentFragment(),r=document.createElement("div","",o),a=L.DomUtil.create("div","legend",r),s=L.DomUtil.create("div","title",a),l=L.DomUtil.create("div","legend-box",a),u=L.DomUtil.create("div","legend-values",a),c=e.title||e.name;c&&(s.innerHTML=c);for(var h in t)i=t[h],L.DomUtil.create("div","key",u).innerHTML=i.name||h,L.DomUtil.create("div","value",u).innerHTML=i.value;L.StyleConverter.applySVGStyle(l,e),l.style.height="5px",n.html=r.innerHTML,n.className=n.className||"legend-icon",L.DivIcon.prototype.initialize.call(this,n)}}),L.legendIcon=function(t,e,n){return new L.LegendIcon(t,e,n)},L.GeometryUtils={getName:function(t){var e=null;if(t&&t.features)for(var n=0;n<t.features.length;++n){var i=t.features[n];if(i.properties&&i.properties.name){e=i.properties.name;break}}return e},getGeoJSONLocation:function(t,e,n,i){var o=new L.GeoJSON(t,{pointToLayer:function(t,o){var r={location:o,text:n?L.Util.getFieldValue(e,n):[o.lat.toFixed(3),o.lng.toFixed(3)].join(", "),center:o};return i(r,e)}}),r=null;try{r=L.GeometryUtils.loadCentroid(t)}catch(a){console.log("Error loading centroid for "+JSON.stringify(t))}return{location:o,text:n?L.Util.getFieldValue(e,n):null,center:r}},mergeProperties:function(t,e,n){var i,o,r=e.features,a=L.GeometryUtils.indexFeatureCollection(r,n),s={type:"FeatureCollection",features:[]};for(var l in t)if(t.hasOwnProperty(l)&&(i=t[l],o=i[n])){var u=a[o];for(var c in i)u.properties[c]=i[c];s.features.push(u)}return s},indexFeatureCollection:function(t,e){for(var n,i,o,r=t.features,a={},s=0;s<r.length;++s)if(n=r[s],i=n.properties,o=i[e],o in a){var l=a[o];"GeometryCollection"!==l.geometry.type?a[o]={type:"Feature",geometry:{type:"GeometryCollection",geometries:[n.geometry,l.geometry]}}:l.geometry.geometries.push(n.geometry)}else a[o]=n;return a},arrayToMap:function(t,e,n){for(var i,o,r,a={},s=0;s<t.length;++s)i=t[s],o=i[e],r=n?i[n]:i,a[o]=r;return a},arrayToMaps:function(t,e){for(var n,i,o,r,a,s,l,u=[],c=0;c<e.length;++c)u.push({});for(var h=0;h<t.length;++h){i=t[h];for(var d=0;d<e.length;++d)n=u[d],a=e[d],s=a.from,l=a.to,o=i[s],r=l?i[l]:i,n[o]=r}return u},loadCentroid:function(t){var e,n,i,o=null;if(t.geometry&&"Point"===t.geometry.type)o=new L.LatLng(t.geometry.coordinates[1],t.geometry.coordinates[0]);else if("undefined"!=typeof jsts){var r=new jsts.io.GeoJSONParser,a=r.read(t);if(a.getCentroid)e=a.getCentroid(),n=e.coordinate.x,i=e.coordinate.y;else if(a.features){for(var s=0,l=0,u=0;u<a.features.length;++u)e=a.features[u].geometry.getCentroid(),s+=e.coordinate.x,l+=e.coordinate.y;n=s/a.features.length,i=l/a.features.length}else e=a.geometry.getCentroid(),n=e.coordinate.x,i=e.coordinate.y;o=new L.LatLng(i,n)}return o},loadCentroids:function(t){var e,n={};for(var i in t)e=t[i],n[i]=L.GeometryUtils.loadCentroid(e);return n}},L.SVGPathBuilder=L.Class.extend({initialize:function(t,e,n){this._points=t||[],this._innerPoints=e||[],L.Util.setOptions(this,n)},options:{closePath:!0},_getPathString:function(t,e){var n="";if(t.length>0){var i=t[0];e=null!==e?e:2;var o="M",r="L",a="Z";L.Browser.vml&&(e=0,o="m",r="l",a="xe"),n=o+i.x.toFixed(e)+","+i.y.toFixed(e);for(var s=1;s<t.length;s++)i=t[s],n+=r+i.x.toFixed(e)+","+i.y.toFixed(e);this.options.closePath&&(n+=a)}return n},addPoint:function(t,e){e?this._innerPoints.push(t):this._points.push(t)},build:function(t){t=t||this.options.digits;var e=this._getPathString(this._points,t);return this._innerPoints&&(e+=this._getPathString(this._innerPoints,t)),e}}),L.StyleConverter={keyMap:{fillColor:{property:["background-color"],valueFunction:function(t){return t}},color:{property:["color","border-top-color","border-right-color","border-bottom-color","border-left-color"],valueFunction:function(t){return t}},weight:{property:["border-width"],valueFunction:function(t){return Math.ceil(t)+"px"}},stroke:{property:["border-style"],valueFunction:function(t){return t===!0?"solid":"none"}},dashArray:{property:["border-style"],valueFunction:function(t){var e="solid";return t&&(e="dashed"),e}},barThickness:{property:["height"],valueFunction:function(t){return t+"px"}},radius:{property:["height"],valueFunction:function(t){return 2*t+"px"}},fillOpacity:{property:["opacity"],valueFunction:function(t){return t}}},applySVGStyle:function(t,e,n){var i=L.StyleConverter.keyMap;n&&(i=L.Util.extend(i,n)),t.style.borderStyle="solid";for(var o in e)L.StyleConverter.setCSSProperty(t,o,e[o],i);return t},setCSSProperty:function(t,e,n,i){i=i||L.StyleConverter.keyMap;var o=i[e],r="";if(o)for(var a=o.property,s=0,l=a.length;l>s;++s)r+=a[s]+":"+o.valueFunction(n)+";";return t.style.cssText+=r,t}},L.StylesBuilder=L.Class.extend({initialize:function(t,e){this._categories=t,this._styleFunctionMap=e,this._buildStyles()},_buildStyles:function(){for(var t,e,n,i={},o=0;o<this._categories.length;++o){t=this._categories[o],i[t]={};for(var r in this._styleFunctionMap)e=this._styleFunctionMap[r],n=e.evaluate?e.evaluate(o):"function"==typeof e?e(o):e,i[t][r]=n}this._styleMap=i},getStyles:function(){return this._styleMap}}),L.PaletteBuilder=L.Class.extend({initialize:function(t){this._styleFunctionMap=t},generate:function(t){t=t||{};var e=document.createElement("div"),n=L.DomUtil.create("div","palette",e),i=t.count||10,o=function(t){for(var e=[],n=0;t>n;++n)e.push(n);return e}(i),r=new L.StylesBuilder(o,this._styleFunctionMap),a=r.getStyles();t.className&&L.DomUtil.addClass(n,t.className);for(var s in a){var l=L.DomUtil.create("i","palette-element",n),u=a[s];L.StyleConverter.applySVGStyle(l,u)}return e.innerHTML}}),L.HTMLUtils={buildTable:function(t,e,n){function i(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return!0;return!1}e=e||"table table-condensed table-striped table-bordered";for(var o=document.createDocumentFragment(),r=L.DomUtil.create("table",e,o),a=L.DomUtil.create("thead","",r),s=L.DomUtil.create("tbody","",r),l=L.DomUtil.create("tr","",a),u=["Name","Value"],c=0,h=u.length;h>c;c++){var d=L.DomUtil.create("th","",l);d.innerHTML=u[c]}n=n||[];for(var p in t)if(t.hasOwnProperty(p)&&!i(n,p)){var f=t[p];if("object"==typeof f){var m=document.createElement("div");m.appendChild(L.HTMLUtils.buildTable(f,n)),f=m.innerHTML}var g=L.DomUtil.create("tr","",s),_=[p,f];for(c=0,h=_.length;h>c;c++){var v=L.DomUtil.create("td","",g);v.innerHTML=_[c]}}return r}},L.AnimationUtils={animate:function(t,e,n,i){var o=i.delay||0,r=i.frames||30,a=i.duration||500,s={},l=i.easeFunction||function(t){return t},u=i.complete,c=a/r;for(var h in e)"color"!=h&&"fillColor"!=h&&n[h]?s[h]=new L.LinearFunction([0,e[h]],[r-1,n[h]]):("color"==h||"fillColor"==h)&&(s[h]=new L.RGBColorBlendFunction(0,r-1,e[h],n[h]));var d={},p=0,f=function(){for(var e in s)d[e]=s[e].evaluate(p);t.options=L.extend({},t.options,d),t.setStyle(t.options).redraw(),p++,c=l(c),r>p?setTimeout(f,c):u()};setTimeout(f,o)}}
74,L.Color=L.Class.extend({initialize:function(t){this._rgb=[0,0,0],this._hsl=[0,1,.5],this._a=1,t&&this.parseColorDef(t)},parseColorDef:function(){},rgbToHSL:function(t,e,n){t/=255,e/=255,n/=255;var i,o,r=Math.max(t,e,n),a=Math.min(t,e,n),s=(r+a)/2;if(r==a)i=o=0;else{var l=r-a;switch(o=s>.5?l/(2-r-a):l/(r+a),r){case t:i=(e-n)/l+(n>e?6:0);break;case e:i=(n-t)/l+2;break;case n:i=(t-e)/l+4}i/=6}return[i,o,s]},hslToRGB:function(t,e,n){var i,o,r,a=function(t,e,n){return 0>n&&(n+=1),n>1&&(n-=1),1/6>n?t+6*(e-t)*n:.5>n?e:2/3>n?t+(e-t)*(2/3-n)*6:t};if(0===e)i=o=r=n;else{var s=.5>n?n*(1+e):n+e-n*e,l=2*n-s;i=a(l,s,t+1/3),o=a(l,s,t),r=a(l,s,t-1/3)}return[Math.floor(255*i),Math.floor(255*o),Math.floor(255*r)]},setRGB:function(t,e,n){return this._rgb=[t,e,n],this._hsl=this.rgbToHSL(t,e,n),this},setHSL:function(t,e,n){return this._hsl=[t,e,n],this._rgb=this.hslToRGB(t,e,n),this},toHSL:function(){return this._hsl},toHSLString:function(){var t="hsl";return this._a<1&&(t+="a"),t+"("+(360*this._hsl[0]).toFixed(1)+","+(100*this._hsl[1]).toFixed(0)+"%,"+(100*this._hsl[2]).toFixed(0)+"%)"},toRGB:function(){return this._rgb},toRGBString:function(){var t;if(this._a<1)t="rgba("+this._rgb[0].toFixed(0)+","+this._rgb[1].toFixed(0)+","+this._rgb[2].toFixed(0)+","+this._a.toFixed(1)+")";else{for(var e=[this._rgb[0].toString(16),this._rgb[1].toString(16),this._rgb[2].toString(16)],n=0;n<e.length;++n)1===e[n].length&&(e[n]="0"+e[n]);t="#"+e.join("")}return t},r:function(t){return arguments.length?this.setRGB(t,this._rgb[1],this._rgb[2]):this._rgb[0]},g:function(t){return arguments.length?this.setRGB(this._rgb[0],t,this._rgb[2]):this._rgb[1]},b:function(t){return arguments.length?this.setRGB(this._rgb[0],this._rgb[1],t):this._rgb[2]},h:function(t){return arguments.length?this.setHSL(t,this._hsl[1],this._hsl[2]):this._hsl[0]},s:function(t){return arguments.length?this.setHSL(this._hsl[0],t,this._hsl[2]):this._hsl[1]},l:function(t){return arguments.length?this.setHSL(this._hsl[0],this._hsl[1],t):this._hsl[2]},a:function(t){return arguments.length?(this._a=t,this):this._a}}),L.RGBColor=L.Color.extend({initialize:function(t){L.Color.prototype.initialize.call(this,t)},parseColorDef:function(t){var e,n,i,o,r=t instanceof Array,a=0===t.indexOf("#"),s=[];r?(e=Math.floor(t[0]),n=Math.floor(t[1]),i=Math.floor(t[2]),o=4===t.length?t[3]:1):a?(t=t.replace("#",""),e=parseInt(t.substring(0,2),16),n=parseInt(t.substring(2,4),16),i=parseInt(t.substring(4,6),16),o=8===t.length?parseInt(t.substring(6,8),16):1):(s=t.replace("rgb","").replace("a","").replace(/\s+/g,"").replace("(","").replace(")","").split(","),e=parseInt(s[0]),n=parseInt(s[1]),i=parseInt(s[2]),o=4===s.length?parseInt(s[3]):1),this.setRGB(e,n,i),this._a=o}}),L.rgbColor=function(t){return new L.RGBColor(t)},L.HSLColor=L.Color.extend({initialize:function(t){L.Color.prototype.initialize.call(this,t)},parseColorDef:function(t){var e,n,i,o,r=t instanceof Array;if(r)e=t[0],n=t[1],i=t[2],o=4===t.length?t[3]:1;else{var a=t.replace("hsl","").replace("a","").replace("(","").replace(/\s+/g,"").replace(/%/g,"").replace(")","").split(",");e=Number(a[0])/360,n=Number(a[1])/100,i=Number(a[2])/100,o=4===a.length?parseInt(a[3]):1}this.setHSL(e,n,i),this._a=o}}),L.hslColor=function(t){return new L.HSLColor(t)},L.Animation=L.Class.extend({initialize:function(t,e){this._easeFunction=t,this._animateFrame=e},run:function(t,e){this.stop(),this._el=t,this._inProgress=!0,this._duration=e.duration||.25,this._animationOptions=e,this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(),this._complete())},_animate:function(){this._animId=L.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(){var t=+new Date-this._startTime,e=1e3*this._duration;e>t?this._runFrame(this._easeFunction(t/e)):(this._runFrame(1),this._complete())},_runFrame:function(t){this._animateFrame(t),this.fire("step")},_complete:function(){L.Util.cancelAnimFrame(this._animId),this._inProgress=!1,this.fire("end")}}),L.ColorBrewer={Sequential:
vendor: 1,822 bytes, line 74
74{YlGn:{3:["#f7fcb9","#addd8e","#31a354"],4:["#ffffcc","#c2e699","#78c679","#238443"],5:["#ffffcc","#c2e699","#78c679","#31a354","#006837"],6:["#ffffcc","#d9f0a3","#addd8e","#78c679","#31a354","#006837"],7:["#ffffcc","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#005a32"],8:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#005a32"],9:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"]},YlGnBu:{3:["#edf8b1","#7fcdbb","#2c7fb8"],4:["#ffffcc","#a1dab4","#41b6c4","#225ea8"],5:["#ffffcc","#a1dab4","#41b6c4","#2c7fb8","#253494"],6:["#ffffcc","#c7e9b4","#7fcdbb","#41b6c4","#2c7fb8","#253494"],7:["#ffffcc","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#0c2c84"],8:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#0c2c84"],9:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"]},GnBu:{3:["#e0f3db","#a8ddb5","#43a2ca"],4:["#f0f9e8","#bae4bc","#7bccc4","#2b8cbe"],5:["#f0f9e8","#bae4bc","#7bccc4","#43a2ca","#0868ac"],6:["#f0f9e8","#ccebc5","#a8ddb5","#7bccc4","#43a2ca","#0868ac"],7:["#f0f9e8","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#08589e"],8:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#08589e"],9:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"]},BuGn:{3:["#e5f5f9","#99d8c9","#2ca25f"],4:["#edf8fb","#b2e2e2","#66c2a4","#238b45"],5:["#edf8fb","#b2e2e2","#66c2a4","#2ca25f","#006d2c"],6:["#edf8fb","#ccece6","#99d8c9","#66c2a4","#2ca25f","#006d2c"],7:["#edf8fb","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#005824"],8:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#005824"],9:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"]}
vendor: 6,386 bytes, line 74
74,PuBuGn:{3:["#ece2f0","#a6bddb","#1c9099"],4:["#f6eff7","#bdc9e1","#67a9cf","#02818a"],5:["#f6eff7","#bdc9e1","#67a9cf","#1c9099","#016c59"],6:["#f6eff7","#d0d1e6","#a6bddb","#67a9cf","#1c9099","#016c59"],7:["#f6eff7","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016450"],8:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016450"],9:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"]},PuBu:{3:["#ece7f2","#a6bddb","#2b8cbe"],4:["#f1eef6","#bdc9e1","#74a9cf","#0570b0"],5:["#f1eef6","#bdc9e1","#74a9cf","#2b8cbe","#045a8d"],6:["#f1eef6","#d0d1e6","#a6bddb","#74a9cf","#2b8cbe","#045a8d"],7:["#f1eef6","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#034e7b"],8:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#034e7b"],9:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"]},BuPu:{3:["#e0ecf4","#9ebcda","#8856a7"],4:["#edf8fb","#b3cde3","#8c96c6","#88419d"],5:["#edf8fb","#b3cde3","#8c96c6","#8856a7","#810f7c"],6:["#edf8fb","#bfd3e6","#9ebcda","#8c96c6","#8856a7","#810f7c"],7:["#edf8fb","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#6e016b"],8:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#6e016b"],9:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"]},RdPu:{3:["#fde0dd","#fa9fb5","#c51b8a"],4:["#feebe2","#fbb4b9","#f768a1","#ae017e"],5:["#feebe2","#fbb4b9","#f768a1","#c51b8a","#7a0177"],6:["#feebe2","#fcc5c0","#fa9fb5","#f768a1","#c51b8a","#7a0177"],7:["#feebe2","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177"],8:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177"],9:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"]},PuRd:{3:["#e7e1ef","#c994c7","#dd1c77"],4:["#f1eef6","#d7b5d8","#df65b0","#ce1256"],5:["#f1eef6","#d7b5d8","#df65b0","#dd1c77","#980043"],6:["#f1eef6","#d4b9da","#c994c7","#df65b0","#dd1c77","#980043"],7:["#f1eef6","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#91003f"],8:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#91003f"],9:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"]},OrRd:{3:["#fee8c8","#fdbb84","#e34a33"],4:["#fef0d9","#fdcc8a","#fc8d59","#d7301f"],5:["#fef0d9","#fdcc8a","#fc8d59","#e34a33","#b30000"],6:["#fef0d9","#fdd49e","#fdbb84","#fc8d59","#e34a33","#b30000"],7:["#fef0d9","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#990000"],8:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#990000"],9:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"]},YlOrRd:{3:["#ffeda0","#feb24c","#f03b20"],4:["#ffffb2","#fecc5c","#fd8d3c","#e31a1c"],5:["#ffffb2","#fecc5c","#fd8d3c","#f03b20","#bd0026"],6:["#ffffb2","#fed976","#feb24c","#fd8d3c","#f03b20","#bd0026"],7:["#ffffb2","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#b10026"],8:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#b10026"],9:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"]},YlOrBr:{3:["#fff7bc","#fec44f","#d95f0e"],4:["#ffffd4","#fed98e","#fe9929","#cc4c02"],5:["#ffffd4","#fed98e","#fe9929","#d95f0e","#993404"],6:["#ffffd4","#fee391","#fec44f","#fe9929","#d95f0e","#993404"],7:["#ffffd4","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#8c2d04"],8:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#8c2d04"],9:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"]},Purples:{3:["#efedf5","#bcbddc","#756bb1"],4:["#f2f0f7","#cbc9e2","#9e9ac8","#6a51a3"],5:["#f2f0f7","#cbc9e2","#9e9ac8","#756bb1","#54278f"],6:["#f2f0f7","#dadaeb","#bcbddc","#9e9ac8","#756bb1","#54278f"],7:["#f2f0f7","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#4a1486"],8:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#4a1486"],9:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"]},Blues:{3:["#deebf7","#9ecae1","#3182bd"],4:["#eff3ff","#bdd7e7","#6baed6","#2171b5"],5:["#eff3ff","#bdd7e7","#6baed6","#3182bd","#08519c"],6:["#eff3ff","#c6dbef","#9ecae1","#6baed6","#3182bd","#08519c"],7:["#eff3ff","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#084594"],8:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#084594"],9:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"]},Greens:{3:["#e5f5e0","#a1d99b","#31a354"],4:["#edf8e9","#bae4b3","#74c476","#238b45"],5:["#edf8e9","#bae4b3","#74c476","#31a354","#006d2c"],6:["#edf8e9","#c7e9c0","#a1d99b","#74c476","#31a354","#006d2c"],7:["#edf8e9","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#005a32"],8:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#005a32"],9:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"]},Oranges:{3:["#fee6ce","#fdae6b","#e6550d"],4:["#feedde","#fdbe85","#fd8d3c","#d94701"],5:["#feedde","#fdbe85","#fd8d3c","#e6550d","#a63603"],6:["#feedde","#fdd0a2","#fdae6b","#fd8d3c","#e6550d","#a63603"],7:["#feedde","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#8c2d04"],8:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#8c2d04"],9:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"]},Reds:{3:["#fee0d2","#fc9272","#de2d26"],4:["#fee5d9","#fcae91","#fb6a4a","#cb181d"],5:["#fee5d9","#fcae91","#fb6a4a","#de2d26","#a50f15"],6:["#fee5d9","#fcbba1","#fc9272","#fb6a4a","#de2d26","#a50f15"],7:["#fee5d9","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#99000d"],8:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#99000d"],9:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"]},Greys:{3:["#f0f0f0","#bdbdbd","#636363"],4:["#f7f7f7","#cccccc","#969696","#525252"],5:["#f7f7f7","#cccccc","#969696","#636363","#252525"],6:["#f7f7f7","#d9d9d9","#bdbdbd","#969696","#636363","#252525"],7:["#f7f7f7","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525"],8:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525"],9:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"]}
74},Diverging:{PuOr:{3:["#f1a340","#f7f7f7","#998ec3"],4:["#e66101","#fdb863","#b2abd2","#5e3c99"],5:["#e66101","#fdb863","#f7f7f7","#b2abd2","#5e3c99"],6:["#b35806","#f1a340","#fee0b6","#d8daeb","#998ec3","#542788"],7:["#b35806","#f1a340","#fee0b6","#f7f7f7","#d8daeb","#998ec3","#542788"],8:["#b35806","#e08214","#fdb863","#fee0b6","#d8daeb","#b2abd2","#8073ac","#542788"],9:["#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788"],10:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],11:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"]},BrBG:{3:["#d8b365","#f5f5f5","#5ab4ac"],4:["#a6611a","#dfc27d","#80cdc1","#018571"],5:["#a6611a","#dfc27d","#f5f5f5","#80cdc1","#018571"],6:["#8c510a","#d8b365","#f6e8c3","#c7eae5","#5ab4ac","#01665e"],7:["#8c510a","#d8b365","#f6e8c3","#f5f5f5","#c7eae5","#5ab4ac","#01665e"],8:["#8c510a","#bf812d","#dfc27d","#f6e8c3","#c7eae5","#80cdc1","#35978f","#01665e"],9:["#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e"],10:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],11:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"]},PRGn:{3:["#af8dc3","#f7f7f7","#7fbf7b"],4:["#7b3294","#c2a5cf","#a6dba0","#008837"],5:["#7b3294","#c2a5cf","#f7f7f7","#a6dba0","#008837"],6:["#762a83","#af8dc3","#e7d4e8","#d9f0d3","#7fbf7b","#1b7837"],7:["#762a83","#af8dc3","#e7d4e8","#f7f7f7","#d9f0d3","#7fbf7b","#1b7837"],8:["#762a83","#9970ab","#c2a5cf","#e7d4e8","#d9f0d3","#a6dba0","#5aae61","#1b7837"],9:["#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837"],10:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],11:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"]},PiYG:{3:["#e9a3c9","#f7f7f7","#a1d76a"],4:["#d01c8b","#f1b6da","#b8e186","#4dac26"],5:["#d01c8b","#f1b6da","#f7f7f7","#b8e186","#4dac26"],6:["#c51b7d","#e9a3c9","#fde0ef","#e6f5d0","#a1d76a","#4d9221"],7:["#c51b7d","#e9a3c9","#fde0ef","#f7f7f7","#e6f5d0","#a1d76a","#4d9221"],8:["#c51b7d","#de77ae","#f1b6da","#fde0ef","#e6f5d0","#b8e186","#7fbc41","#4d9221"],9:["#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221"],10:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],11:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"]},RdBu:{3:["#ef8a62","#f7f7f7","#67a9cf"],4:["#ca0020","#f4a582","#92c5de","#0571b0"],5:["#ca0020","#f4a582","#f7f7f7","#92c5de","#0571b0"],6:["#b2182b","#ef8a62","#fddbc7","#d1e5f0","#67a9cf","#2166ac"],7:["#b2182b","#ef8a62","#fddbc7","#f7f7f7","#d1e5f0","#67a9cf","#2166ac"],8:["#b2182b","#d6604d","#f4a582","#fddbc7","#d1e5f0","#92c5de","#4393c3","#2166ac"],9:["#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac"],10:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],11:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"]},RdGy:{3:["#ef8a62","#ffffff","#999999"],4:["#ca0020","#f4a582","#bababa","#404040"],5:["#ca0020","#f4a582","#ffffff","#bababa","#404040"],6:["#b2182b","#ef8a62","#fddbc7","#e0e0e0","#999999","#4d4d4d"],7:["#b2182b","#ef8a62","#fddbc7","#ffffff","#e0e0e0","#999999","#4d4d4d"],8:["#b2182b","#d6604d","#f4a582","#fddbc7","#e0e0e0","#bababa","#878787","#4d4d4d"],9:["#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d"],10:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],11:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"]},RdYlBu:{3:["#fc8d59","#ffffbf","#91bfdb"],4:["#d7191c","#fdae61","#abd9e9","#2c7bb6"],5:["#d7191c","#fdae61","#ffffbf","#abd9e9","#2c7bb6"],6:["#d73027","#fc8d59","#fee090","#e0f3f8","#91bfdb","#4575b4"],7:["#d73027","#fc8d59","#fee090","#ffffbf","#e0f3f8","#91bfdb","#4575b4"],8:["#d73027","#f46d43","#fdae61","#fee090","#e0f3f8","#abd9e9","#74add1","#4575b4"],9:["#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4"],10:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],11:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"]},Spectral:{3:["#fc8d59","#ffffbf","#99d594"],4:["#d7191c","#fdae61","#abdda4","#2b83ba"],5:["#d7191c","#fdae61","#ffffbf","#abdda4","#2b83ba"],
746:["#d53e4f","#fc8d59","#fee08b","#e6f598","#99d594","#3288bd"],7:["#d53e4f","#fc8d59","#fee08b","#ffffbf","#e6f598","#99d594","#3288bd"],8:["#d53e4f","#f46d43","#fdae61","#fee08b","#e6f598","#abdda4","#66c2a5","#3288bd"],9:["#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd"],10:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],11:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"]},RdYlGn:{3:["#fc8d59","#ffffbf","#91cf60"],4:["#d7191c","#fdae61","#a6d96a","#1a9641"],5:["#d7191c","#fdae61","#ffffbf","#a6d96a","#1a9641"],6:["#d73027","#fc8d59","#fee08b","#d9ef8b","#91cf60","#1a9850"],7:["#d73027","#fc8d59","#fee08b","#ffffbf","#d9ef8b","#91cf60","#1a9850"],8:["#d73027","#f46d43","#fdae61","#fee08b","#d9ef8b","#a6d96a","#66bd63","#1a9850"],9:["#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850"],10:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],11:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"]}},Qualitative:{Accent:{3:["#7fc97f","#beaed4","#fdc086"],4:["#7fc97f","#beaed4","#fdc086","#ffff99"],5:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0"],6:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f"],7:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17"],8:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"]},Dark2:{3:["#1b9e77","#d95f02","#7570b3"],4:["#1b9e77","#d95f02","#7570b3","#e7298a"],5:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e"],6:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02"],7:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d"],8:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"]},Paired:{3:["#a6cee3","#1f78b4","#b2df8a"],4:["#a6cee3","#1f78b4","#b2df8a","#33a02c"],5:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99"],6:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c"],7:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f"],8:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00"],9:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6"],10:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a"],11:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99"],12:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"]},Pastel1:{3:["#fbb4ae","#b3cde3","#ccebc5"],4:["#fbb4ae","#b3cde3","#ccebc5","#decbe4"],5:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6"],6:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc"],7:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd"],8:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec"],9:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Pastel2:{3:["#b3e2cd","#fdcdac","#cbd5e8"],4:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4"],5:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9"],6:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae"],7:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc"],8:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"]},Set1:{3:["#e41a1c","#377eb8","#4daf4a"],4:["#e41a1c","#377eb8","#4daf4a","#984ea3"],5:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00"],6:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33"],7:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628"],8:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf"],9:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"]},Set2:{3:["#66c2a5","#fc8d62","#8da0cb"],4:["#66c2a5","#fc8d62","#8da0cb","#e78ac3"],5:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854"],6:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f"],7:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494"],8:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"]},Set3:{3:["#8dd3c7","#ffffb3","#bebada"],4:["#8dd3c7","#ffffb3","#bebada","#fb8072"],5:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3"],6:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462"],7:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69"],8:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5"],9:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9"],10:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd"],11:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5"],12:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"]}}},L.Palettes={huePalette:function(t,e,n,i,o){return new L.HSLHueFunction(new L.Point(t,n),new L.Point(e,i),o)
75},luminosityPalette:function(t,e,n,i,o){return new L.HSLLuminosityFunction(new L.Point(t,n),new L.Point(e,i),o)},saturationPalette:function(t,e,n,i,o){return new L.HSLSaturationFunction(new L.Point(t,n),new L.Point(e,i),o)},rgbBlendPalette:function(t,e,n,i,o){return new L.RGBColorBlendFunction(t,e,n,i,o)},hslBlendPalette:function(t,e,n,i,o){return new L.HSLColorBlendFunction(t,e,n,i,o)},customColorPalette:function(t,e,n,i){return new L.CustomColorFunction(t,e,n,i)}},L.DynamicColorPalettes={rainbow:{text:"Rainbow",getPalette:function(t,e,n){return L.Palettes.huePalette
75(t,e,0,300,n)}},greentored:{text:"Green - Red",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,120,0,n)}},yellowtored:{text:"Yellow - Red",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,60,0,n)}},orangetored:{text:"Orange - Red",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,30,0,n)}},redtopurple:{text:"Red - Purple",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,360,270,n)}},bluetored:{text:"Blue - Red",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,210,360,n)}},bluetored2:{text:"Blue - Red 2",getPalette:function(t,e,n){return L.Palettes.huePalette(t,e,180,0,n)}},whitetored:{text:"White - Red",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:0}))}},whitetoorange:{text:"White - Orange",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:30}))}},whitetoyellow:{text:"White - Yellow",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:60}))}},whitetogreen:{text:"White - Green",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:120}))}},whitetoltblue:{text:"White - Lt. Blue",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:180}))}},whitetoblue:{text:"White - Blue",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:240}))}},whitetopurple:{text:"White - Purple",getPalette:function(t,e){return L.Palettes.luminosityPalette(t,e,1,.5,L.Util.extend(option,{outputHue:270}))}},graytored:{text:"Gray - Red",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:0}))}},graytoorange:{text:"Gray - Orange",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:30}))}},graytoyellow:{text:"Gray - Yellow",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:60}))}},graytogreen:{text:"Gray - Green",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:120}))}},graytoltblue:{text:"Gray - Lt. Blue",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:180}))}},graytoblue:{text:"Gray - Blue",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:240}))}},graytopurple:{text:"Gray - Purple",getPalette:function(t,e){return L.Palettes.saturationPalette(t,e,0,1,L.Util.extend(option,{outputHue:270}))}}},L.DynamicPaletteElement=L.Class.extend({initialize:function(t,e){this._key=t,this._dynamicPalette=e},generate:function(t){var e=L.DomUtil.create("div","palette"),n=t.count,i=this._dynamicPalette.getPalette(0,n-1),o=t.width,r=!0;t.showText&&(r=t.showText),e.setAttribute("data-palette-key",this._key),this._dynamicPalette.text&&r&&(L.DomUtil.create("div","palette-text",e).innerHTML='<i class="icon-ok hidden"></i>'+this._dynamicPalette.text);var a=o/n;t.className&&L.DomUtil.addClass(e,t.className);for(var s=0;n>s;++s){var l=L.DomUtil.create("i","palette-element");for(var u in i){var c=i[u],h=c.evaluate?c.evaluate(s):c;L.StyleConverter.setCSSProperty(l,u,h)}l.style.width=a+"px",e.appendChild(l)}return e}}),L.RegularPolygon=L.Polygon.extend({statics:{R:6378.137,M_PER_KM:1e3},initialize:function(t,e){this._centerLatLng=t,L.Util.setOptions(this,e),L.Polygon.prototype.initialize.call(this,this._getLatLngs(),e)},options:{fill:!0,radius:1e3,numberOfSides:4,rotation:0,maxDegrees:360},getLatLng:function(){return this._centerLatLng},setRadius:function(t){this.options.radius=t,this._latlngs=this._getLatLngs(),this.redraw()},_getLatLngs:function(){for(var t,e=this.options.maxDegrees||360,n=e/Math.max(this.options.numberOfSides,3),i=e+this.options.rotation,o=this.options.rotation,r=[];i>o;)t=this._getPoint(o),r.push(t),o+=n;return r},_getPoint:function(t){var e=function(t){return t*L.LatLng.DEG_TO_RAD},n=function(t){return t*L.LatLng.RAD_TO_DEG},i=e(t),o=this.options.radius/L.RegularPolygon.M_PER_KM/L.RegularPolygon.R,r=e(this._centerLatLng.lat),a=e(this._centerLatLng.lng),s=Math.asin(Math.sin(r)*Math.cos(o)+Math.cos(r)*Math.sin(o)*Math.cos(i)),l=a+Math.atan2(Math.sin(i)*Math.sin(o)*Math.cos(r),Math.cos(o)-Math.sin(r)*Math.sin(s));return s=n(s),l=n(l),new L.LatLng(s,l)},toGeoJSON:function(){for(var t={type:"Feature",geometry:{type:"Polygon",coordinates:[[],[]]},properties:this.options},e=0;e<this._latlngs.length;++e){var n=this._latlngs[e];t.geometry.coordinates[0].push([n.lng,n.lat])}return t}}),L.regularPolygon=function(t,e){return new L.RegularPolygon(t,e)},L.Path.XLINK_NS="http://www.w3.org/1999/xlink";var TextFunctions=TextFunctions||{__updatePath:L.Path.prototype._updatePath,_updatePath:function(){this.__updatePath.call(this),this.options.text&&this._createText(this.options.text)},_initText:function(){this.options.text&&this._createText(this.options.text)},getTextAnchor:function(){return this._point?this._point:void 0},setTextAnchor:function(t){this._text&&(this._text.setAttribute("x",t.x),this._text.setAttribute("y",t.y))},_createText:function(t){this._text&&this._container.removeChild(this._text),this._pathDef&&this._defs.removeChild(this._pathDef);var e=function(t,e){var n="";for(var i in e)n+=i+": "+e[i]+";";return t.setAttribute("style",n),t},n=function(t,e){for(var n in e)t.setAttribute(n,e[n]);return t};this._text=this._createElement("text");var i=document.createTextNode(t.text);if(t.path){var o=t.path,r=L.Util.guid(),a=this._createElement("path");a.setAttribute("d",this._path.getAttribute("d")),a.setAttribute("id",r),this._defs||(this._defs=this._createElement("defs"),this._container.appendChild(this._defs)),this._defs.appendChild(a),this._pathDef=a;var s=this._createElement("textPath");o.startOffset&&s.setAttribute("startOffset",o.startOffset),o.attr&&n(s,o.attr),o.style&&e(s,o.style),s.setAttributeNS(L.Path.XLINK_NS,"xlink:href","#"+r),s.appendChild(i),this._text.appendChild(s)}else{this._text.appendChild(i);var l=this.getTextAnchor();this.setTextAnchor(l)}t.className?this._text.setAttribute("class",t.className):this._text.setAttribute("class","leaflet-svg-text"),t.attr&&n(this._text,t.attr),t.style&&e(this._text,t.style),this._container.appendChild(this._text)}},PathFunctions=PathFunctions||{__updateStyle:L.Path.prototype._updateStyle,_createDefs:function(){this._defs=this._createElement("defs"),this._container.appendChild(this._defs)},_createGradient:function(t){this._defs||this._createDefs(),this._gradient&&this._defs.removeChild(this._gradient),t=t!==!0?L.extend({},t):{};var e=L.Util.guid();this._gradientGuid=e;var n,i;if("radial"==t.gradientType)n=this._createElement("radialGradient"),i=t.radial||{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};else{n=this._createElement("linearGradient");var o=t.vector||[["0%","0%"],["100%","100%"]];i={x1:o[0][0],x2:o[1][0],y1:o[0][1],y2:o[1][1]}}i.id="grad"+e;var r,a=t.stops||[{offset:"0%",style:{color:"rgb(255, 255, 255)",opacity:1}}
75,{offset:"60%",style:{color:this.options.fillColor||this.options.color,opacity:1}}];for(r in i)n.setAttribute(r,i[r]);for(var s=0;s<a.length;++s){var l=a[s],u=this._createElement("stop");l.style=l.style||{};for(r in l){var c=l[r];if("style"===r){var h="";c.color=c.color||this.options.fillColor||this.options.color,c.opacity="undefined"==typeof c.opacity?1:c.opacity;for(var d in c)h+="stop-"+d+":"+c[d]+";";c=h}u.setAttribute(r,c)}n.appendChild(u)}this._gradient=n,this._defs.appendChild(n)},_createDropShadow:function(t){this._defs||this._createDefs(),this._dropShadow&&this._defs.removeChild(this._dropShadow);var e=L.Util.guid(),n=this._createElement("filter"),i=this._createElement("feOffset"),o=this._createElement("feGaussianBlur"),r=this._createElement("feBlend");t=t||{width:"200%",height:"200%"},t.id="filter"+e;var a;for(a in t)n.setAttribute(a,t[a]);var s={result:"offOut","in":"SourceAlpha",dx:"2",dy:"2"},l={result:"blurOut","in":"offOut",stdDeviation:"2"},u={"in":"SourceGraphic",in2:"blurOut",mode:"lighten"};for(a in s)i.setAttribute(a,s[a]);for(a in l)o.setAttribute(a,l[a]);for(a in u)r.setAttribute(a,u[a]);n.appendChild(i),n.appendChild(o),n.appendChild(r),this._dropShadow=n,this._defs.appendChild(n)},_createCustomElement:function(t,e){var n=this._createElement(t);for(var i in e)e.hasOwnProperty(i)&&n.setAttribute(i,e[i]);return n},_createImage:function(t){var e=this._createElement("image");return e.setAttribute("width",t.width),e.setAttribute("height",t.height),e.setAttribute("x",t.x||0),e.setAttribute("y",t.y||0),e.setAttributeNS(L.Path.XLINK_NS,"xlink:href",t.url),e},_createPattern:function(t){this._pattern&&this._defs.removeChild(this._pattern);var e=this._createCustomElement("pattern",t);return this._pattern=e,e},_createShape:function(t,e){this._shape&&this._container.removeChild(this._shape);var n=this._createCustomElement(t,e);return n},_applyCustomStyles:function(){},_createFillPattern:function(t){var e=L.Util.guid(),n=t.pattern;n.id=e,n.patternUnits=n.patternUnits||"objectBoundingBox";var i=this._createPattern(n),o=this._createImage(t.image);o.setAttributeNS(L.Path.XLINK_NS,"xlink:href",t.url),i.appendChild(o),this._defs||this._createDefs(),this._defs.appendChild(i),this._path.setAttribute("fill","url(#"+e+")")},_getDefaultDiameter:function(t){return 1.75*t},_createShapeImage:function(t){t=t||{};var e=L.Util.guid(),n=this.options.radius||Math.max(this.options.radiusX,this.options.radiusY),i=this._getDefaultDiameter(n),o=t.imageSize||new L.Point(i,i),r=t.radius||i/2,a=t.shape||{circle:{r:r,cx:0,cy:0}},s=t.pattern||{width:o.x,height:o.y,x:0,y:0},l=Object.keys(a),u=l.length>0?l[0]:"circle";a[u].fill="url(#"+e+")";var c=this._createShape(u,a[u]);this.options.clickable&&c.setAttribute("class","leaflet-clickable"),s.id=e,s.patternUnits=s.patternUnits||"objectBoundingBox";var h=this._createPattern(s);t=t.image||{width:o.x,height:o.y,x:0,y:0,url:this.options.imageCircleUrl};var d=this._createImage(t);d.setAttributeNS(L.Path.XLINK_NS,"xlink:href",t.url),h.appendChild(d),this._defs.appendChild(h),this._container.insertBefore(c,this._defs),this._shape=c;var p=this;this._shape.addEventListener("mouseover",function(){p.fire("mouseover")}),this._shape.addEventListener("mouseout",function(){p.fire("mouseout")}),this._shape.addEventListener("mousemove",function(){p.fire("mousemove")});var f=this.getTextAnchor();if(this._shape&&f)if("circle"===this._shape.tagName||"ellipse"===this._shape.tagName)this._shape.setAttribute("cx",f.x),this._shape.setAttribute("cy",f.y);else{var m=this._shape.getAttribute("width"),g=this._shape.getAttribute("height");this._shape.setAttribute("x",f.x-Number(m)/2),this._shape.setAttribute("y",f.y-Number(g)/2)}},_updateStyle:function(t){this.__updateStyle.call(this,t);var e=t?t:this;e.options.stroke&&(e.options.lineCap&&e._path.setAttribute("stroke-linecap",e.options.lineCap),e.options.lineJoin&&e._path.setAttribute("stroke-linejoin",e.options.lineJoin)),e.options.gradient?(e._createGradient(e.options.gradient),e._path.setAttribute("fill","url(#"+e._gradient.getAttribute("id")+")")):e.options.fill||e._path.setAttribute("fill","none"),e.options.dropShadow?(e._createDropShadow(),e._path.setAttribute("filter","url(#"+e._dropShadow.getAttribute("id")+")")):e._path.removeAttribute("filter"),e.options.fillPattern&&e._createFillPattern(e.options.fillPattern),e._applyCustomStyles()}};if(L.SVG){var SVGStyleFunctions=L.Util.extend(PathFunctions,{__updateStyle:L.SVG.prototype._updateStyle}),SVGTextFunctions=L.Util.extend(TextFunctions,{__updatePath:L.SVG.prototype._updatePath});L.SVG.include(SVGStyleFunctions),L.SVG.include(SVGTextFunctions)}var LineTextFunctions=L.extend({},TextFunctions);LineTextFunctions.__updatePath=L.Polyline.prototype._updatePath,LineTextFunctions.getCenter=function(){var t,e,n,i,o,r,a=this._latlngs,s=a.length;for(t=0,e=s-1,area=0,lat=0,lng=0;s>t;e=t++)n=a[t],i=a[e],o=n.lat*i.lng-i.lat*n.lng,lat+=(n.lat+i.lat)*o,lng+=(n.lng+i.lng)*o,area+=o/2;return r=area?new L.LatLng(lat/(6*area),lng/(6*area)):a[0],r.area=area,r},LineTextFunctions.getTextAnchor=function(){var t=this.getCenter();return this._map.latLngToLayerPoint(t)},L.Polyline.include(LineTextFunctions),L.CircleMarker.include(TextFunctions),L.Path.include(PathFunctions),L.Polygon.include(PathFunctions),L.Polyline.include(PathFunctions),L.CircleMarker.include(PathFunctions),L.CircleMarker=L.CircleMarker.extend({_applyCustomStyles:function(){(this.options.shapeImage||this.options.imageCircleUrl)&&this._createShapeImage(this.options.shapeImage)},getTextAnchor:function(){var t=null;return this._point&&(t=new L.Point(this._point.x,this._point.y)),t}}),L.Point.prototype.rotate=function(t,e){var n=this.distanceTo(e),i=t*L.LatLng.DEG_TO_RAD+Math.atan2(this.y-e.y,this.x-e.x);this.x=e.x+n*Math.cos(i),this.y=e.y+n*Math.sin(i)},L.MapMarker=L.Path.extend({includes:TextFunctions,initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlng=t},options:{fill:!0,fillOpacity:1,opacity:1,radius:15,innerRadius:5,position:{x:0,y:0},rotation:0,numberOfSides:50,color:"#000000",fillColor:"#0000FF",weight:1,gradient:!0,dropShadow:!0,clickable:!0},setLatLng:function(t){return this._latlng=t,this.redraw()},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._points=this._getPoints(),this.options.innerRadius>0&&(this._innerPoints=this._getPoints(!0).reverse())},getBounds:function(){var t=this._map,e=3*this.options.radius,n=t.project(this._latlng),i=new L.Point(n.x-this.options.radius,n.y),o=new L.Point(n.x+this.options.radius,n.y-e),r=t.unproject(i),a=t.unproject(o);return new L.LatLngBounds(r,a)},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=t,this.redraw()},setInnerRadius:function(t){return this.options.innerRadius=t,this.redraw()},setRotation:function(t){return this.options.rotation=t,this.redraw()},setNumberOfSides:function(t){return this.options.numberOfSides=t,this.redraw()},getPathString:function(){var t=this.getTextAnchor();if(this._shape)if("circle"===this._shape.tagName||"ellipse"===this._shape.tagName)this._shape.setAttribute("cx",t.x),this._shape.setAttribute("cy",t.y);else{var e=this._shape.getAttribute("width"),n=this._shape.getAttribute("height");this._shape.setAttribute("x",t.x-Number(e)/2),this._shape.setAttribute("y",t.y-Number(n)/2)}return this._path.setAttribute("shape-rendering","geometricPrecision"),new L.SVGPathBuilder(this._points,this._innerPoints).build(6)},getTextAnchor:function(){var t=null;return this._point&&(t=new L.Point(this._point.x,this._point.y-2*this.options.radius)),t},_getPoints:function(t){var e,n,i=t?360:210,o=t?i/Math.max(this.options.numberOfSides,3):i/50,r=t?i+this.options.rotation:i,a=t?this.options.rotation:-30,s=[],l=this.options.radius,u=Math.sqrt(.75),c=function(t){return t*L.LatLng.DEG_TO_RAD},h=this._point;for(t||(s.push(h),s.push(new L.Point(h.x+u*l,h.y-1.5*l)));r>a;)n=c(a),e=this._getPoint(n,l,t),s.push(e),a+=o;return t||s.push(new L.Point(h.x-u*l,h.y-1.5*l)),s},_getPoint:function(t,e,n){var i=e;return e=n?this.options.innerRadius:e,new L.Point(this._point.x+this.options.position.x+e*Math.cos(t),this._point.y-2*i+this.options.position.y-e*Math.sin(t))},_applyCustomStyles:function(){(this.options.shapeImage||this.options.imageCircleUrl)&&this._createShapeImage(this.options.shapeImage)},toGeoJSON:function(){return L.Util.pointToGeoJSON.call(this)}}),L.mapMarker=function(t,e){return new L.MapMarker(t,e)},L.RegularPolygonMarker=L.Path.extend({includes:TextFunctions,initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlng=t,this.options.numberOfSides=Math.max(this.options.numberOfSides,3)},options:{fill:!0,radiusX:10,radiusY:10,rotation:0,numberOfSides:3,position:{x:0,y:0},maxDegrees:360,gradient:!0,dropShadow:!1,clickable:!0},setLatLng:function(t){return this._latlng=t,this.redraw()},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._points=this._getPoints(),(this.options.innerRadius||this.options.innerRadiusX&&this.options.innerRadiusY)&&(this._innerPoints=this._getPoints(!0).reverse())},getBounds:function(){var t=this._map,e=this.options.radius||this.options.radiusX,n=this.options.radius||this.options.radiusY,i=e*Math.cos(Math.PI/4),o=n*Math.sin(Math.PI/4),r=t.project(this._latlng),a=new L.Point(r.x-i,r.y+o),s=new L.Point(r.x+i,r.y-o),l=t.unproject(a),u=t.unproject(s);return new L.LatLngBounds(l,u)},setRadius:function(t){return this.options.radius=t,this.redraw()},setRadiusXY:function(t,e){return this.options.radius=null,this.options.radiusX=t,this.options.radiusY=e,this.redraw()},setInnerRadius:function(t){return this.options.innerRadius=t,this.redraw()},setInnerRadiusXY:function(t,e){return this.options.innerRadius=null,this.options.innerRadiusX=t,this.options.innerRadiusY=e,this.redraw()},setRotation:function(t){return this.options.rotation=t,this.redraw()},setNumberOfSides:function(t){return this.options.numberOfSides=t,this.redraw()},getLatLng:function(){return this._latlng},getPathString:function(){var t=this.getTextAnchor();if(this._shape)if("circle"===this._shape.tagName||"ellipse"===this._shape.tagName)this._shape.setAttribute("cx",t.x),this._shape.setAttribute("cy",t.y);else{var e=this._shape.getAttribute("width"),n=this._shape.getAttribute("height");this._shape.setAttribute("x",t.x-Number(e)/2),this._shape.setAttribute("y",t.y-Number(n)/2)}return this._path.setAttribute("shape-rendering","geometricPrecision"),new L.SVGPathBuilder(this._points,this._innerPoints).build(6)},_getPoints:function(t){for(var e,n,i=this.options.maxDegrees||360,o=i/Math.max(this.options.numberOfSides,3),r=i,a=0,s=[],l=t?this.options.innerRadius||this.options.innerRadiusX:this.options.radius||this.options.radiusX,u=t?this.options.innerRadius||this.options.innerRadiusY:this.options.radius||this.options.radiusY,c=function(t){return t*L.LatLng.DEG_TO_RAD};r>a;)n=c(a),e=this._getPoint(n,l,u),s.push(e),a+=o;return s},_getPoint:function(t,e,n){var i=this.options.position?this._point.add(new L.Point(this.options.position.x,this.options.position.y)):this._point,o=new L.Point(i.x+e*Math.cos(t),i.y+n*Math.sin(t));return o.rotate(this.options.rotation,i),o},_getDefaultDiameter:function(t){var e=Math.PI/this.options.numberOfSides,n=t*Math.cos(e);return 1.75*n},_applyCustomStyles:function(){(this.options.shapeImage||this.options.imageCircleUrl)&&this._createShapeImage(this.options.shapeImage)},toGeoJSON:function(){return L.Util.pointToGeoJSON.call(this)}}),L.regularPolygonMarker=function(t,e){return new L.RegularPolygonMarker(t,e)},L.StarMarker=L.RegularPolygonMarker.extend({options:{numberOfPoints:5,rotation:-15,maxDegrees:360,gradient:!0,dropShadow:!0}
75,setNumberOfPoints:function(t){return this.options.numberOfPoints=t,this.redraw()},_getPoints:function(t){for(var e,n,i,o=this.options.maxDegrees||360,r=o/this.options.numberOfPoints,a=o,s=0,l=[],u=t?this.options.innerRadius||this.options.innerRadiusX:this.options.radius||this.options.radiusX,c=t?this.options.innerRadius||this.options.innerRadiusY:this.options.radius||this.options.radiusY,h=function(t){return t*L.LatLng.DEG_TO_RAD};a>s;)i=h(s),e=this._getPoint(i,u,c),n=this._getPoint(i+h(r)/2,u/2,c/2),l.push(e),l.push(n),s+=r;return l}}),L.starMarker=function(t,e){return new L.StarMarker(t,e)},L.TriangleMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:3,rotation:30,radius:5}}),L.triangleMarker=function(t,e){return new L.TriangleMarker(t,e)},L.DiamondMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:4,radiusX:5,radiusY:10}}),L.diamondMarker=function(t,e){return new L.DiamondMarker(t,e)},L.SquareMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:4,rotation:45,radius:5}}),L.squareMarker=function(t,e){return new L.SquareMarker(t,e)},L.PentagonMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:5,rotation:-18,radius:5}}),L.pentagonMarker=function(t,e){return new L.PentagonMarker(t,e)},L.HexagonMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:6,rotation:30,radius:5}}),L.hexagonMarker=function(t,e){return new L.HexagonMarker(t,e)},L.OctagonMarker=L.RegularPolygonMarker.extend({options:{numberOfSides:8,rotation:22.5,radius:5}}),L.octagonMarker=function(t,e){return new L.OctagonMarker(t,e)},L.SVGMarker=L.Path.extend({initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._svg=e.svg,0===this._svg.indexOf("<")&&(this._data=this._svg),this._latlng=t},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng)},setLatLng:function(t){this._latlng=t,this.redraw()},getLatLng:function(){return this._latlng},getPathString:function(){var t=this,e=function(){for(var e=t._path.parentNode;"g"!==e.nodeName.toLowerCase();)e=e.parentNode;t.options.clickable&&e.setAttribute("class","leaflet-clickable");var n=t._data,i="svg"===n.nodeName.toLowerCase()?n.cloneNode(!0):n.querySelector("svg").cloneNode(!0);t.options.setStyle&&t.options.setStyle.call(t,i);var o=i.getAttribute("width"),r=i.getAttribute("height"),a=o?o.replace("px",""):"100%",s=r?r.replace("px",""):"100%";"100%"===a&&(a=t.options.size.x,s=t.options.size.y,i.setAttribute("width",a+(-1!==String(a).indexOf("%")?"":"px")),i.setAttribute("height",s+(-1!==String(s).indexOf("%")?"":"px")));var l=t.options.size||new L.Point(a,s),u=new L.Point(l.x/a,l.y/s),c=e.getElementsByTagName("svg");c.length>0&&c[0].parentNode.removeChild(c[0]),e.appendChild(i);var h=[],d=t.options.anchor||new L.Point(-l.x/2,-l.y/2),p=t._point.x+d.x,f=t._point.y+d.y;h.push("translate("+p+" "+f+")"),h.push("scale("+u.x+" "+u.y+")"),t.options.rotation&&h.push("rotate("+t.options.rotation+" "+a/2+" "+s/2+")"),e.setAttribute("transform",h.join(" "))};if(this._data)e();else{var n=new XMLHttpRequest;n.onreadystatechange=function(){4==this.readyState&&200==this.status&&(t._data=this.responseXML,e())},n.open("GET",this._svg,!0),n.send(null)}},toGeoJSON:function(){return pointToGeoJSON.call(this)}}),L.MarkerGroup=L.FeatureGroup.extend({initialize:function(t,e){L.FeatureGroup.prototype.initialize.call(this,e),this.setLatLng(t)},setStyle:function(){return this},setLatLng:function(t){return this._latlng=t,this.eachLayer(function(e){e.setLatLng&&e.setLatLng(t)}),this},getLatLng:function(){return this._latlng},toGeoJSON:function(){var t={type:"FeatureCollection",features:[]},e=function(t){return function(e){t.features.push(L.Util.pointToGeoJSON.call(e))}};return this.eachLayer(e(t)),t}}),L.BarMarker=L.Path.extend({initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlng=t},options:{fill:!0,width:2,maxHeight:10,position:{x:0,y:0},weight:1,color:"#000",opacity:1,gradient:!0,dropShadow:!1,lineCap:"square",lineJoin:"miter"},setLatLng:function(t){return this._latlng=t,this.redraw()},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._points=this._getPoints()},getBounds:function(){var t=this._map,e=t.project(this._latlng),n=this.options.width/2,i=new L.Point(e.x-n,e.y),o=new L.Point(e.x+n,e.y-this.options.maxHeight),r=t.unproject(i),a=t.unproject(o);return new L.LatLngBounds(r,a)},getLatLng:function(){return this._latlng},getPathString:function(){return this._path.setAttribute("shape-rendering","crispEdges"),new L.SVGPathBuilder(this._points).build()},_getPoints:function(){var t,e,n,i,o=[],r=this._point.x+this.options.position.x,a=this._point.y+this.options.position.y,s=this.options.width/2,l=this.options.value/this.options.maxValue*this.options.maxHeight;return t=new L.Point(r+s,a),e=new L.Point(r+s,a-l),n=new L.Point(r-s,a-l),i=new L.Point(r-s,a),o=[t,e,n,i]}}),L.barMarker=function(t,e){return new L.BarMarker(t,e)},L.ChartMarker=L.FeatureGroup.extend({initialize:function(t,e){L.Util.setOptions(this,e),this._layers={},this._latlng=t,this._loadComponents()},setLatLng:function(t){return this._latlng=t,this.redraw()},getLatLng:function(){return this._latlng},_loadComponents:function(){},_highlight:function(t){return t.weight&&(t.weight*=2),t},_unhighlight:function(t){return t.weight&&(t.weight/=2),t},_bindMouseEvents:function(t){var e=this,n=this.options.tooltipOptions;t.on("mouseover",function(t){var i,o=this.options,r=o.key,a=o.value,s=t.layerPoint,l=s.x-this._point.x,u=s.y-this._point.y,c=o.iconSize,h=l,d=u,p=5;h=0>l?c.x-l+p:-l-p,d=0>u?c.y-u+p:-u-p,i=new L.Point(h,d);var f={},m=o.displayText?o.displayText(a):a;f[r]={name:o.displayName,value:m};var g=new L.LegendIcon(f,o,{className:"leaflet-div-icon",iconSize:n?n.iconSize:c,iconAnchor:i});o.marker=new L.Marker(e._latlng,{icon:g}),o=e._highlight(o),this.initialize(e._latlng,o),this.redraw(),this.setStyle(o),e.addLayer(o.marker)}),t.on("mouseout",function(){var t=this.options;t=e._unhighlight(t),this.initialize(e._latlng,t),this.redraw(),this.setStyle(t),e.removeLayer(t.marker)})},bindPopup:function(t,e){this.eachLayer(function(n){n.bindPopup(t,e)})},openPopup:function(t){for(var e in this._layers){var n=this._layers[e];t=t||this._latlng,n.openPopup(t);break}},closePopup:function(){for(var t in this._layers){var e=this._layers[t];latlng=latlng||this._latlng,e.closePopup();break}},redraw:function(){this.clearLayers(),this._loadComponents()},toGeoJSON:function(){return L.Util.pointToGeoJSON.call(this)}}),L.BarChartMarker=L.ChartMarker.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.ChartMarker.prototype.initialize.call(this,t,e)},options:{weight:1,opacity:1,color:"#000",fill:!0,position:{x:0,y:0},width:10,offset:0,iconSize:new L.Point(50,40)},_loadComponents:function(){var t,e,n,i,o,r,a,s=this.options,l=Object.keys(this.options.data),u=l.length,c=this.options.width,h=this.options.offset||0,d=this.options.data,p=this.options.chartOptions;o=-(c*u+h*(u-1))/2+c/2,r=0;for(var f in d)t=d[f],a=p[f],e=a.minValue||0,n=a.maxValue||100,s.fillColor=a.fillColor||this.options.fillColor,s.value=t,s.minValue=e,s.maxValue=n,s.position={x:o,y:r},s.width=c,s.maxHeight=a.maxHeight||10,s.key=f,s.value=t,s.displayName=a.displayName,s.opacity=this.options.opacity||1,s.fillOpacity=this.options.fillOpacity||.7,s.weight=this.options.weight||1,s.color=a.color||this.options.color,s.displayText=a.displayText,i=new L.BarMarker(this._latlng,s),this._bindMouseEvents(i),this.addLayer(i),o+=c+h}}),L.RadialBarMarker=L.Path.extend({initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlng=t},options:{fill:!0,radius:10,rotation:0,numberOfSides:30,position:{x:0,y:0},gradient:!0,dropShadow:!1},setLatLng:function(t){return this._latlng=t,this.redraw()},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._points=this._getPoints()},getBounds:function(){var t=this._map,e=this.options.radiusX||this.options.radius,n=this.options.radiusY||this.options.radius,i=e*Math.cos(Math.PI/4),o=n*Math.sin(Math.PI/4),r=t.project(this._latlng),a=new L.Point(r.x-i,r.y+o),s=new L.Point(r.x+i,r.y-o),l=t.unproject(a),u=t.unproject(s);return new L.LatLngBounds(l,u)},getLatLng:function(){return this._latlng},getPathString:function(){var t=this.options.endAngle-this.options.startAngle,e=t>=180?"1":"0",n=this.options.radiusX||this.options.radius,i=this.options.radiusY||this.options.radius,o="M"+this._points[0].x.toFixed(2)+","+this._points[0].y.toFixed(2)+"A"+n.toFixed(2)+","+i.toFixed(2)+" 0 "+e+",1 "+this._points[1].x.toFixed(2)+","+this._points[1].y.toFixed(2)+"L";return this._innerPoints?(o=o+this._innerPoints[0].x.toFixed(2)+","+this._innerPoints[0].y.toFixed(2),o=o+"A"+(n-this.options.barThickness).toFixed(2)+","+(i-this.options.barThickness).toFixed(2)+" 0 "+e+",0 "+this._innerPoints[1].x.toFixed(2)+","+this._innerPoints[1].y.toFixed(2)+"z"):o=o+this._point.x.toFixed(2)+","+this._point.y.toFixed(2)+"z",L.Browser.vml&&(o=Core.SVG.path(o)),this._path.setAttribute("shape-rendering","geometricPrecision"),o},_getPoints:function(){var t=this.options.endAngle-this.options.startAngle,e=this.options.endAngle+this.options.rotation,n=this.options.startAngle+this.options.rotation,i=[],o="radiusX"in this.options?this.options.radiusX:this.options.radius,r="radiusY"in this.options?this.options.radiusY:this.options.radius,a=function(t){return t*L.LatLng.DEG_TO_RAD};e=e||0,360===t&&(e-=.1);var s=a(n),l=a(e);return i.push(this._getPoint(s,o,r)),i.push(this._getPoint(l,o,r)),this.options.barThickness&&(this._innerPoints=[],this._innerPoints.push(this._getPoint(l,o-this.options.barThickness,r-this.options.barThickness)),this._innerPoints.push(this._getPoint(s,o-this.options.barThickness,r-this.options.barThickness))),i},_getPoint:function(t,e,n){return new L.Point(this._point.x+this.options.position.x+e*Math.cos(t),this._point.y+this.options.position.y+n*Math.sin(t))}}),L.radialBarMarker=function(t,e){return new L.RadialBarMarker(t,e)},L.PieChartMarker=L.ChartMarker.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.ChartMarker.prototype.initialize.call(this,t,e)},options:{weight:1,opacity:1,color:"#000",fill:!0,radius:10,rotation:0,numberOfSides:50,mouseOverExaggeration:1.2,maxDegrees:360,iconSize:new L.Point(50,40)},_highlight:function(t){var e=t.radiusX,n=t.radiusY,i=t.barThickness;return t.oldBarThickness=i,t.oldRadiusX=e,t.oldRadiusY=n,t.radiu
75sX*=t.mouseOverExaggeration,t.radiusY*=t.mouseOverExaggeration,t.barThickness=t.radiusX-e+i,t},_unhighlight:function(t){return t.radiusX=t.oldRadiusX,t.radiusY=t.oldRadiusY,t.barThickness=t.oldBarThickness,t},_loadComponents:function(){var t,e,n,i,o=0,r=0,a=0,s=this.options.maxDegrees||360,l=this.options.rotation,u=this.options,c=this.options.data,h=this.options.chartOptions,d=function(t,e){var n=0;return t[e]&&(n=parseFloat(t[e])),n};for(i in c)t=d(c,i),o+=t;if(o>0)for(i in c)t=parseFloat(c[i])||0,n=h[i],a=t/o,r=a*s,u.startAngle=l,u.endAngle=l+r,u.fillColor=n.fillColor,u.color=n.color||"#000",u.radiusX=this.options.radiusX||this.options.radius,u.radiusY=this.options.radiusY||this.options.radius,u.rotation=0,u.key=i,u.value=t,u.displayName=n.displayName,u.displayText=n.displayText,e=new L.RadialBarMarker(this._latlng,u),this._bindMouseEvents(e),l=u.endAngle,this.addLayer(e)}}),L.pieChartMarker=function(t,e){return new L.PieChartMarker(t,e)},L.CoxcombChartMarker=L.PieChartMarker.extend({statics:{SIZE_MODE_RADIUS:"radius",SIZE_MODE_AREA:"area"}}),L.CoxcombChartMarker=L.CoxcombChartMarker.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.PieChartMarker.prototype.initialize.call(this,t,e)},options:{weight:1,opacity:1,color:"#000",fill:!0,radius:10,rotation:0,numberOfSides:50,mouseOverExaggeration:1.2,maxDegrees:360,iconSize:new L.Point(50,40),sizeMode:L.CoxcombChartMarker.SIZE_MODE_AREA},_loadComponents:function(){var t,e,n,i,o,r=0,a=this.options.maxDegrees||360,s=this.options.rotation,l=this.options,u="radiusX"in this.options?this.options.radiusX:this.options.radius,c="radiusY"in this.options?this.options.radiusY:this.options.radius,h=Object.keys(this.options.data),d=h.length,p=this.options.data,f=this.options.chartOptions;r=a/d;var m=function(t){return Math.sqrt(d*t/Math.PI)};for(var g in p){if(t=parseFloat(p[g])||0,o=f[g],e=o.minValue||0,n=o.maxValue,this.options.sizeMode===L.CoxcombChartMarker.SIZE_MODE_RADIUS){var _=new L.LinearFunction(new L.Point(e,0),new L.Point(n,u)),v=new L.LinearFunction(new L.Point(e,0),new L.Point(n,c));l.radiusX=_.evaluate(t),l.radiusY=v.evaluate(t)}else{var y=Math.max(u,c),b=Math.PI*Math.pow(y,2)/d,w=new L.LinearFunction(new L.Point(e,0),new L.Point(n,b),{postProcess:m});l.radiusX=w.evaluate(t),l.radiusY=l.radiusX}l.startAngle=s,l.endAngle=s+r,l.fillColor=o.fillColor,l.color=o.color||"#000",l.rotation=0,l.key=g,l.value=t,l.displayName=o.displayName,l.displayText=o.displayText,i=new L.RadialBarMarker(this._latlng,l),this._bindMouseEvents(i),s=l.endAngle,this.addLayer(i)}}}),L.coxcombChartMarker=function(t,e){return new L.CoxcombChartMarker(t,e)},L.RadialBarChartMarker=L.ChartMarker.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.ChartMarker.prototype.initialize.call(this,t,e)},options:{weight:1,opacity:1,color:"#000",fill:!0,radius:10,rotation:0,numberOfSides:30,offset:2,barThickness:5,maxDegrees:360,iconSize:new L.Point(50,40)},_loadComponents:function(){var t,e,n,i,o,r=this.options.rotation,a=this.options.maxDegrees||360,s=this.options,l=this.options.radiusX||this.options.radius,u=this.options.radiusY||this.options.radius,c=this.options.data,h=this.options.chartOptions,d=this.options.barThickness||4,p=this.options.offset||2;
76for(var f in c){t=parseFloat(c[f]),o=h[f],e=o.minValue||0,n=o.maxValue||100;var m=new L.LinearFunction(new L.Point(e,0),new L.Point(n,a));r=m.evaluate(t),s.startAngle=this.options.rotation,s.endAngle=this.options.rotation+r,s.fillColor=o.fillColor,s.radiusX=l,s.radiusY=u,s.barThickness=d,s.rotation=0,s.key=f,s.value=t,s.displayName=o.displayName,s.displayText=o.displayText,s.weight=this.options.weight||1,i=new L.RadialBarMarker(this._latlng,s),this._bindMouseEvents(i),this.addLayer(i),l+=d+p,u+=d+p}}}),L.radialBarChartMarker=function(t,e){return new L.RadialBarChartMarker(t,e)},L.StackedRegularPolygonMarker=L.ChartMarker.extend({options:{iconSize:new L.Point(50,40)},initialize:function(t,e){L.Util.setOptions(this,e),L.ChartMarker.prototype.initialize.call(this,t,e)},_loadComponents:function(){var t,e,n,i,o=0,r=0,a=this.options,s=this.options.data,l=this.options.chartOptions,u=[];for(i in s){t=parseFloat(s[i]),n=l[i],minValue=n.minValue||0,maxValue=n.maxValue||100,minRadius=n.minRadius||0,maxRadius=n.maxRadius||10,a.fillColor=n.fillColor||this.options.fillColor,a.value=t,a.minValue=minValue,a.maxValue=maxValue;var c=new L.LinearFunction(new L.Point(minValue,minRadius),new L.Point(maxValue,maxRadius)),h=c.evaluate(t);
76a.radiusX=o+h,a.radiusY=r+h,a.innerRadiusX=o,a.innerRadiusY=r,a.key=i,a.displayName=n.displayName,a.opacity=this.options.opacity||1,a.fillOpacity=this.options.fillOpacity||.7,a.weight=this.options.weight||1,a.color=n.color||this.options.color,a.displayText=n.displayText,e=new L.RegularPolygonMarker(this._latlng,a),this._bindMouseEvents(e),o=a.radiusX,r=a.radiusY,this.options.drawReverse?u.push(e):this.addLayer(e)}if(this.options.drawReverse)for(var d=u.pop();d;)this.addLayer(d),d=u.pop()}}),L.RadialMeterMarker=L.ChartMarker.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.ChartMarker.prototype.initialize.call(this,t,e)},options:{weight:1,opacity:1,color:"#000",fill:!0,radius:10,rotation:180,numberOfSides:30,offset:2,barThickness:5,maxDegrees:180,iconSize:new L.Point(50,40),backgroundStyle:{fill:!0,fillColor:"#707070",fillOpacity:.2,opacity:.8,color:"#505050"}},_loadComponents:function(){var t,e,n,i,o,r,a=this.options.rotation,s=this.options.maxDegrees||360,l=this.options,u=this.options.radiusX||this.options.radius,c=this.options.radiusY||this.options.radius,h=this.options.data,d=this.options.chartOptions,p=this.options.barThickness||4,f=a,m=this.options.numSegments||10,g=s/m;for(var _ in h){t=parseFloat(h[_]),o=d[_],r=this.options.displayOptions?this.options.displayOptions[_]:{},e=o.minValue||0,n=o.maxValue||100;for(var v,y,b=n-e,w=s/b*(t-e),x=a+w,S=a+s,C=new L.LinearFunction(new L.Point(a,e),new L.Point(S,n));x>f;){l.startAngle=f,v=Math.min(g,x-f),l.endAngle=f+v,l.fillColor=o.fillColor,l.radiusX=u,l.radiusY=c,l.barThickness=p,l.rotation=0,l.key=_,l.value=t,l.displayName=o.displayName,l.displayText=o.displayText,y=C.evaluate(f+v);for(var P in r)l[P]=r[P].evaluate?r[P].evaluate(y):r[P];i=new L.RadialBarMarker(this._latlng,l),this._bindMouseEvents(i),this.addLayer(i),f+=v}if(this.options.backgroundStyle&&S>f){v=S-f,l.endAngle=f+v,l.radiusX=u,l.radiusY=c,l.barThickness=p,l.rotation=0,l.key=_,l.value=t,l.displayName=o.displayName,l.displayText=o.displayText,l.fillColor=null,l.fill=!1,l.gradient=!1;for(var k in this.options.backgroundStyle)l[k]=this.options.backgroundStyle[k];y=C.evaluate(f+v),i=new L.RadialBarMarker(this._latlng,l),this.addLayer(i)}}}}),L.LocationModes={LATLNG:function(t){var e=function(e,n){var i=L.Util.getFieldValue(t,e),o=L.Util.getFieldValue(t,n),r=null;if(i&&o){var a=new L.LatLng(i,o);r={location:a,text:[a.lat.toFixed(3),a.lng.toFixed(3)].join(", "),center:a}}return r},n=e(this.options.latitudeField,this.options.longitudeField);if(!n&&this.options.fallbackLocationFields)for(var i,o=0;!n&&o<this.options.fallbackLocationFields.length;)i=this.options.fallbackLocationFields[o],n=e(i.latitudeField,i.longitudeField),o++;return n},GEOHASH:function(t,e){var n,i=this.options.geohashField?L.Util.getFieldValue(t,this.options.geohashField):e,o=decodeGeoHash(i);return o.latitude[2]&&o.longitude[2]&&(n=new L.LatLngBounds(new L.LatLng(o.latitude[0],o.longitude[0]),new L.LatLng(o.latitude[1],o.longitude[1]))),{location:n,text:i,center:n.getCenter()}},GWCOUNTRY:function(t,e){var n,i,o=this.options.codeField?L.Util.getFieldValue(t,this.options.codeField):e,r=L.gwNoLookup||{},a=L.countries||{},s=L.countryCentroids||{},l=o.toUpperCase();o=l;var u=l in r;u&&(o=r[l]||o),o?(n=a[o],i=s[o]):console.log("Code not found: "+l);var c=new L.GeoJSON(n);return{location:c,text:L.GeometryUtils.getName(n)||o,center:i}},COUNTRY:function(t,e){var n,i,o=this.options.codeField?L.Util.getFieldValue(t,this.options.codeField):e,r=L.codeLookup||{},a=L.alpha2Lookup||{},s=L.fips2Lookup||{},l=L.countries||{},u=L.countryCentroids||{},c=o.toUpperCase();o=c,2===o.length?o=a[c]||s[c]:3===o.length&&(o=r[c]||o),o?(n=l[o],i=u[o]):console.log("Code not found: "+c);var h=new L.GeoJSON(n);return{location:h,text:L.GeometryUtils.getName(n)||o,center:i}},STATE:function(t,e){var n,i,o=this.options.codeField?L.Util.getFieldValue(t,this.options.codeField):e,r=L.states||{},a=L.stateCentroids||{},s=o.toUpperCase();o=s,n=r[o],i=a[o];var l=new L.GeoJSON(n);return{location:l,text:L.GeometryUtils.getName(n)||o,center:i}},GEOJSON:function(t){var e=this.options.geoJSONField,n=e?L.Util.getFieldValue(t,e):t,i=null;if(n){var o=this,r=function(t,e){return o.recordToLayer(t,e)};i=L.GeometryUtils.getGeoJSONLocation(n,t,this.options.locationTextField,r)}return i},LOOKUP:function(t,e){var n=this.options.codeField?L.Util.getFieldValue(t,this.options.codeField):e;this._lookupIndex=this._lookupIndex||L.GeometryUtils.indexFeatureCollection(this.options.locationLookup,this.options.locationIndexField||this.options.codeField);var i=this._lookupIndex[n],o=null;if(i||0!==n.indexOf("0")||(i=this._lookupIndex[n.substring(1)]),i){var r=this,a=function(t,e){return r.recordToLayer(t,e)};o=L.GeometryUtils.getGeoJSONLocation(i,t,this.options.locationTextField,a)}return o},CUSTOM:function(t){var e,n=this.options.codeField,i=L.Util.getFieldValue(t,n),o={};if(o[i]=t,this.options.getLocation){var r=this,a=function(t,e){r.locationToLayer(e,o[t])};e=this.options.getLocation(o,n,[i],a)}return e}},L.DataLayer=L.LayerGroup.extend({includes:L.Mixin.Events,options:{recordsField:"features",locationMode:L.LocationModes.LATLNG,latitudeField:"geometry.coordinates.1",longitudeField:"geometry.coordinates.0",displayField:null,displayOptions:null,layerOptions:{numberOfSides:4,radius:10,weight:1,color:"#000"},showLegendTooltips:!0,tooltipOptions:{iconSize:new L.Point(60,50),iconAnchor:new L.Point(-5,50),mouseOverExaggeration:2},setHighlight:function(t){return t.weight=t.weight||1,t.fillOpacity=t.fillOpacity||.5,t.weight*=2,t.fillOpacity/=1.5,t},unsetHighlight:function(t){return t.weight=t.weight||1,t.fillOpacity=t.fillOpacity||.25,t.weight/=2,t.fillOpacity*=1.5,t}},initialize:function(t,e){L.Util.setOptions(this,e),L.LayerGroup.prototype.initialize.call(this,e),t=t||{},this._includeFunction=this.options.filter||this.options.includeLayer,this._markerFunction=this.options.getMarker||this._getMarker,this._addChildLayers(),this.addData(t)},_addChildLayers:function(){this._boundaryLayer=new L.LayerGroup,this.addLayer(this._boundaryLayer),this._trackLayer=new L.LayerGroup,this.addLayer(this._trackLayer)},_zoomFunction:function(){var t=this._map,e=this,n=t.getZoom();if(this.options.maxZoom&&n>this.options.maxZoom)this.hiddenLayers=[],this.eachLayer(function(n){e.hiddenLayers.push(n),t.removeLayer(n)});else if(this.hiddenLayers){for(;this.hiddenLayers.length>0;){var i=this.hiddenLayers.pop();t.addLayer(i),this.options.backgroundLayer&&i.bringToBack&&i.bringToBack()}this.hiddenLayers=null}},onAdd:function(t){L.LayerGroup.prototype.onAdd.call(this,t),t.on("zoomend",this._zoomFunction,this)},onRemove:function(t){L.LayerGroup.prototype.onRemove.call(this,t),t.off("zoomend",this._zoomFunction,this)},bringToBack:function(){this.invoke("bringToBack"),this._trackLayer&&this._trackLayer.invoke("bringToBack"),this._boundaryLayer&&this._boundaryLayer.invoke("bringToBack")},bringToFront:function(){this._boundaryLayer&&this._boundaryLayer.invoke("bringToFront"),this._trackLayer&&this._trackLayer.invoke("bringToFront"),this.invoke("bringToFront")},getBounds:function(){var t;return this.eachLayer(function(e){e.getBounds&&(t?t.extend(e.getBounds()):t=e.getBounds())}),t},_getLocation:function(t,e){return this.options.locationMode.call(this,t,e)},_processLocation:function(t){var e=t.center;return e},_styleBoundary:function(t,e,n){if(t.setStyle){var i;this.options.boundaryStyle instanceof Function&&(i=this.options.boundaryStyle.call(this,n,t)),i=i||this.options.boundaryStyle||L.extend({},e,{fillOpacity:.2,clickable:!1}),t.setStyle(i)}return t},_addBoundary:function(t,e,n){var i,o=t.location;return this.options.includeBoundary&&(o instanceof L.LatLngBounds&&(o=new L.Rectangle(o)),o=this._styleBoundary(o,e,n),this._boundaryLayer.addLayer(o),i=o),i},_getLayer:function(t,e,n){var i=this._addBoundary(t,e,n);t=this._processLocation(t);var o;return t&&(o=this._markerFunction.call(this,t,e,n),o.boundaryLayer=i),o},_getMarker:function(t,e){var n;return t&&(n=e.numberOfSides>=30&&!(e.innerRadius||e.innerRadiusX&&e.innerRadiusY)?new L.CircleMarker(t,e):new L.RegularPolygonMarker(t,e)),n},_preProcessRecords:function(t){return t},_shouldLoadRecord:function(t){return this._includeFunction?this._includeFunction.call(this,t):!0},_loadRecords:function(t){var e;t=this._preProcessRecords(t);for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];i=this.options.deriveProperties?this.options.deriveProperties(i):i;var o=this._shouldLoadRecord(i);o&&(e=this._getLocation(i,n),this.locationToLayer(e,i))}},_preloadLocations:function(t){var e=this.options.codeField,n=[],i={};for(var o in t)if(t.hasOwnProperty(o)){var r=t[o],a=L.Util.getFieldValue(r,e);i[a]=r,n.push(a)}if(this.options.getLocation){var s=this,l=function(t,e){s.locationToLayer(e,i[t])};this.options.getLocation(i,e,n,l)}},setDisplayOptions:function(t){return this.options.displayOptions=t,this.reloadData(),this},setDisplayOption:function(t,e){if(this.options.displayOptions=this.options.displayOptions||{},t in this.options.displayOptions){var n=this.options.displayOptions[t];this.options.displayOptions[t]=L.extend({},n,e)}else this.options.displayOptions[t]=e;return this.reloadData(),this},setFilter:function(t){return this.options.filter=t,this.reloadData(),this},setData:function(t){this._data=t,this.reloadData()},reloadData:function(){return this._layerIndex||(this.clearLayers(),this._addChildLayers()),this._data&&this.addData(this._data),this.fire("legendChanged",this),this},addData:function(t){var e=null!==this.options.recordsField&&this.options.recordsField.length>0?L.Util.getFieldValue(t,this.options.recordsField):t;this.options.getIndexKey&&!this._layerIndex&&(this._layerIndex={},this._boundaryIndex={}),this.options.locationMode===L.LocationModes.CUSTOM&&this.options.preload?this._preloadLocations(e):this._loadRecords(e),this._data=t},locationToLayer:function(t,e){var n;n=this.recordToLayer(t,e),n&&this.addLayer(n)},_bindMouseEvents:function(t,e,n){var i=this,o=this.options,r=o.setHighlight,a=o.unsetHighlight,s=o.tooltipOptions,l=function(t){var e=t.target,o=this.options||e.options,a=new L.LegendIcon(n,o,{className:s.className||"leaflet-div-icon",iconSize:s.iconSize,iconAnchor:s.iconAnchor}),l=t.latlng||t.target._latlng,u=new L.Marker(l,{icon:a});i.addLayer(u),i.tooltip&&(i.removeLayer(i.tooltip),i.tooltip=null),i.tooltip=u,r&&(o=r(o)),e.setStyle&&e.setStyle(o),e.isHighlighted=!0},u=function(t){i.tooltip&&i.tooltip.setLatLng(t.latlng)}
76,c=function(t){if(t.target.isHighlighted){t.target.isHighlighted=!1,i.tooltip&&(i.removeLayer(i.tooltip),i.tooltip=null);var e=t.target,n=this.options||e.options;a&&(n=a(n)),e.setStyle&&e.setStyle(n)}},h=function(t){t.off("mouseover"),t.off("mouseout"),t.off("mousemove"),t.on({mouseover:l,mouseout:c,mousemove:u})},d=function(t){t.eachLayer?t.eachLayer(function(t){d(t)}):h(t)};d(t)},_getDynamicOptions:function(t){var e=L.Util.extend({},this.options.layerOptions),n=this.options.displayOptions,i={};if(n)for(var o in n){var r,a=n[o],s=L.Util.getFieldValue(t,o),l=a.displayText?a.displayText(s):s;if(i[o]={name:a.displayName,value:l},a.styles)e=L.Util.extend(e,a.styles[s]),a.styles[s]=e;else for(var u in a)r=a[u],e[u]=r.evaluate?r.evaluate(s):r.call?r.call(this,s):r}return{layerOptions:e,legendDetails:i}},_getIndexedLayer:function(t,e,n,i){if(this.options.getIndexKey){var o=this.options.getIndexKey.call(this,e,i);if(o in t){layer=t[o];var r=function(t){n.radius&&t instanceof L.CircleMarker&&t.setRadius(n.radius),t.setStyle(n),t.setLatLng&&t.getLatLng()!==e.center?t.setLatLng(e.center):t.redraw()};L.Util.updateLayer(layer,r),layer.boundaryLayer&&(layer.boundaryLayer=this._styleBoundary(layer.boundaryLayer,n,i))}else layer=this._getLayer(e,n,i),t[o]=layer;if(this.options.getTrack){var a=!layer.trackLayer;layer.trackLayer=this.options.getTrack.call(this,layer,e,layer.trackLayer),a&&this._trackLayer.addLayer(layer.trackLayer)}}else layer=this._getLayer(e,n,i);return layer},recordToLayer:function(t,e){var n,i=L.Util.extend({},this.options.layerOptions),o={},r=!0;if(this._includeFunction&&(r=this._includeFunction.call(this,e)),r){var a=this._getDynamicOptions(e);i=a.layerOptions,o=a.legendDetails,t&&i&&(i.title=t.text,n=this._getIndexedLayer(this._layerIndex,t,i,e),n&&(this.options.showLegendTooltips&&this._bindMouseEvents(n,i,o),this.options.onEachRecord&&this.options.onEachRecord.call(this,n,e,t,this)))}return n},getLegend:function(t){return this.options.getLegend?this.options.getLegend.call(this,t):this._getLegend(t)},_getLegendElement:function(t){var e,n,i=document.createElement("i"),o=t.displayProperties,r=t.layerOptions,a=t.ignoreProperties,s=t.displayTextFunction,l=t.index,u=t.numSegments,c=t.segmentWidth,h=t.minValue,d=t.maxValue;L.StyleConverter.applySVGStyle(i,r);var p={evaluate:function(e){return t.breaks[e]}};for(var f in o)if(o.hasOwnProperty(f)&&-1===a.indexOf(f)&&(valueFunction=o[f],valueFunction&&(valueFunction.getBounds||o.minValue&&o.maxValue))){var m=valueFunction.getBounds?valueFunction.getBounds():null,g=m?m[0].x:o.minValue,_=m?m[1].x:o.maxValue,v=t.breaks?p:new L.LinearFunction(new L.Point(0,g),new L.Point(u,_));e=g,n=_,s&&(e=s(g),n=s(_)),0===l&&(h.innerHTML=e,d.innerHTML=n);var y=(_-g)/u,b=v.evaluate(l),w=v.evaluate(l+1),x=valueFunction.evaluate?valueFunction.evaluate(b):valueFunction(b),S=valueFunction.evaluate?valueFunction.evaluate(w):valueFunction(w);L.StyleConverter.setCSSProperty(i,f,x),"fillColor"===f&&(i.style.cssText+=t.gradient?"background-image:linear-gradient(left , "+x+" 0%, "+S+" 100%);background-image:-ms-linear-gradient(left , "+x+" 0%, "+S+" 100%);background-image:-moz-linear-gradient(left , "+x+" 0%, "+S+" 100%);background-image:-webkit-linear-gradient(left , "+x+" 0%, "+S+" 100%);":"background-color:"+x+";"),"color"===f&&(i.style.cssText+="border-top-color:"+x+";border-bottom-color:"+S+";border-left-color:"+x+";border-right-color:"+S+";"),"weight"===f&&(i.style.cssText+="border-top-width:"+x+";border-bottom-width:"+S+";border-left-width:"+x+";border-right-width:"+S+";");var C=t.minX||y*l+g,P=t.maxX||C+y;s&&valueFunction&&(C=s(C),P=s(P)),i.setAttribute("title",C+" - "+P)}return i.style.width=c+"px",i},_getLegend:function(t){t=t||this.options.legendOptions||{};var e,n=t.className,i=document.createElement("div"),o=L.DomUtil.create("div","legend",i),r=t.numSegments||10,a=t.width||100,s=this.options.layerOptions||{},l=s.weight||0,u=a/r-2*l,c=this.options.displayOptions||{};n&&L.DomUtil.addClass(o,n),t.title&&(L.DomUtil.create("legend","",o).innerHTML=t.title);var h=function(t){return t};for(var d in c)if(c.hasOwnProperty(d)){var p=c[d];if(!p.excludeFromLegend){var f=p.displayName||d;e=p.displayText;var m=e?e:h,g=p.styles;if(L.DomUtil.create("div","legend-title",o).innerHTML=f,g)o.innerHTML+=new L.CategoryLegend(g).generate();else{var _=L.DomUtil.create("div","data-layer-legend"),v=L.DomUtil.create("div","min-value",_),y=L.DomUtil.create("div","scale-bars",_),b=L.DomUtil.create("div","max-value",_),w=["displayName","displayText","minValue","maxValue"],x=p.breaks,S=[];if(r=t.numSegments||10,x){for(var C=new L.LinearFunction([x[0],0],[x[x.length-1],a]),P=0,k=0,T=1;T<x.length;++T)k=C.evaluate(x[T]),S.push(k-P-2*l),P=k;r=S.length}for(var D=0;r>D;++D){var E={displayProperties:p,layerOptions:s,ignoreProperties:w,displayTextFunction:m,index:D,numSegments:r,segmentWidth:u,minValue:v,maxValue:b,gradient:t.gradient};x&&S.length>0&&(E.segmentWidth=S[D],E.segmentSize=S[D],E.minX=x[D],E.maxX=x[D+1],E.breaks=x);var M=this._getLegendElement(E);y.appendChild(M)}o.appendChild(_)}}}return i.innerHTML}}),L.dataLayer=function(t,e){return new L.DataLayer(t,e)},L.MapMarkerDataLayer=L.DataLayer.extend({_getMarker:function(t,e){return new L.MapMarker(t,e)}}),L.mapMarkerDataLayer=function(t,e){return new L.MapMarkerDataLayer(t,e)},L.MarkerDataLayer=L.DataLayer.extend({initialize:function(t,e){this._markerMap={},L.DataLayer.prototype.initialize.call(this,t,e)},options:{recordsField:"features",locationMode:L.LocationModes.LATLNG,latitudeField:"latitude",longitudeField:"longitude",layerOptions:{icon:null},showLegendTooltips:!1},_getMarker:function(t,e,n){return this.options.setIcon&&(e.icon=this.options.setIcon.call(this,n,e)),new L.Marker(t,e)},_getLegendElement:function(){},_getLegend:function(){return"<span>No legend available</span>"}}),L.markerDataLayer=function(t,e){return new L.MarkerDataLayer(t,e)},L.PanoramioLayer=L.MarkerDataLayer.extend({statics:{UPLOAD_DATE_FORMAT:"DD MMM YYYY",SIZE_BY_DATE:"date",SIZE_BY_POPULARITY:"popularity",SIZE_BY_NONE:"none",SIZES:{square:[60,60],mini_square:[32,32]},NUM_PHOTOS:50}}),L.PanoramioLayer=L.PanoramioLayer.extend({initialize:function(t){L.MarkerDataLayer.prototype.initialize.call(this,{},t),this._from=0,this._to=L.PanoramioLayer.NUM_PHOTOS,this._calls=[]},options:{recordsField:"photos",latitudeField:"latitude",longitudeField:"longitude",locationMode:L.LocationModes.LATLNG,showLegendTooltips:!1,sizeBy:L.PanoramioLayer.SIZE_BY_DATE,layerOptions:{opacity:1},onEachRecord:function(t,e){var n=e.photo_file_url,i=e.photo_title,o=this,r=e.width,a=e.height,s=2e4;t.on("click",function(l){var u=document.createElement("div"),c=L.Dom
76Util.create("div","",u);L.DomUtil.addClass(c,"panoramio-content");var h=L.DomUtil.create("img","photo",c);h.setAttribute("onload","this.style.opacity=1;"),h.setAttribute("src",n),h.style.width=r+"px";var d=L.DomUtil.create("div","photo-info",c);d.style.width=r-20+"px",d.innerHTML="<span>"+i+'</span><a class="photo-link" target="_blank" href="'+e.photo_url+'"><img src="http://www.panoramio.com/img/glass/components/logo_bar/panoramio.png" style="height: 14px;"/></a>';var p=L.DomUtil.create("a","author-link",c);p.setAttribute("target","_blank"),p.setAttribute("href",e.owner_url),p.innerHTML="by "+e.owner_name;var f=new L.DivIcon({className:"photo-details",html:u.innerHTML,iconAnchor:[r/2,a/2]}),m=new L.Marker(l.target._latlng,{icon:f,zIndexOffset:s});m.on("click",function(t){o.removeLayer(t.target)}),t.viewedImage=m,o.viewedImage=m,o.addLayer(m)}),this.options.onEachPhoto&&this.options.onEachPhoto.call(this,t,e)},setIcon:function(t){var e=L.Util.getFieldValue(t,"photo_title"),n=null;this._sizeFunction&&(n=this._sizeFunction.evaluate(t.index));var i=n?new L.Point(n,n):L.PanoramioLayer.SIZES[this.options.size],o=t.photo_file_url.replace("/medium/","/"+this.options.size+"/"),r=new L.DivIcon({iconSize:i,className:"",html:'<img class="photo" onload="this.style.opacity=1" title="'+e+'" src="'+o+'"/>'});return r},updateInterval:3e5,size:"square",attributionText:'Photos provided by <a href="http://www.panoramio.com"><img src="http://www.panoramio.com/img/glass/components/logo_bar/panoramio.png" style="height: 10px;"/></a>.  Photos provided by <a href="http://www.panoramio.com"><img src="http://www.panoramio.com/img/glass/components/logo_bar/panoramio.png" style="height: 10px;"/></a> are under the copyright of their owners',refreshEvents:"moveend",photoSet:"public"},includes:L.Mixin.Events,onAdd:function(t){L.DataLayer.prototype.onAdd.call(this,t),t.attributionControl&&t.attributionControl.addAttribution(this.options.attributionText);var e=this,n=function(){e._from=0,e._to=L.PanoramioLayer.NUM_PHOTOS,e.fire("requestingPhotos"),e._call&&clearTimeout(e._call);var t=function(){e.requestPhotos()};e._call=setTimeout(t,1e3)};this.requestPhotos(),this._interval=setInterval(n,this.options.updateInterval),this._resetFunction=n,t.on(this.options.refreshEvents,n)},onRemove:function(t){L.DataLayer.prototype.onRemove.call(this,t),t.attributionControl&&t.attributionControl.removeAttribution(this.options.attributionText),this._interval&&(clearInterval(this._interval),this._interval=null),t.off(this.options.refreshEvents,this._resetFunction)},calculateSizeByDate:function(t){for(var e=t.photos,n=[],i=0;i<e.length;++i){var o=e[i],r=moment(o.upload_date,L.PanoramioLayer.UPLOAD_DATE_FORMAT);n.push(r),e[i].index=r}n.sort(function(t,e){return t-e});var a=L.PanoramioLayer.SIZES[this.options.size][0];return this._sizeFunction=new L.LinearFunction([n[0],a/2],[n[n.length-1],a]),t},calculateSizeByPopularity:function(t){for(var e=t.photos,n=0;n<e.length;++n)e[n].index=n;var i=L.PanoramioLayer.SIZES[this.options.size][0];return this._sizeFunction=new L.LinearFunction([0,i/2],[e.length,i]),t},next:function(){this._from=this._to,this._to=this._from+L.PanoramioLayer.NUM_PHOTOS,this.requestPhotos()},previous:function(){this._to=this._from,this._from=this._from-L.PanoramioLayer.NUM_PHOTOS,this.requestPhotos()},requestJsonp:function(t,e,n){var i=this,o="function"+(new Date).getTime(),r=[];e.callback="window.LeafletDvfJsonpCallbacks."+o;for(var a in e)e.hasOwnProperty(a)&&r.push(a+"="+encodeURIComponent(e[a]));return t+=(t.indexOf("?")>0?"&":"?")+r.join("&"),"undefined"==typeof window.LeafletDvfJsonpCallbacks&&(window.LeafletDvfJsonpCallbacks={}),window.LeafletDvfJsonpCallbacks[o]=function(t){n.call(i,t),delete window.LeafletDvfJsonpCallbacks[o]},this.jsonpScript&&(document.head.removeChild(this.jsonpScript),this.jsonpScript=null),this.jsonpScript=document.createElement("script"),this.jsonpScript.setAttribute("type","text/javascript"),this.jsonpScript.setAttribute("async","true"),this.jsonpScript.setAttribute("src",t),document.head.appendChild(this.jsonpScript),{abort:function(){o in window.LeafletDvfJsonpCallbacks&&(window.LeafletDvfJsonpCallbacks[o]=function(){delete window.LeafletDvfJsonpCallbacks[o]})}}},requestPhotos:function(){for(var t=this,e=this._map.getBounds(),n=e.getSouthWest
76(),i=e.getNorthEast();t._calls.length>0;)t._calls.pop().abort();var o=this.requestJsonp("http://www.panoramio.com/map/get_panoramas.php",{set:this.options.photoSet,from:t._from,to:t._to,minx:n.lng,miny:n.lat,maxx:i.lng,maxy:i.lat,size:"medium",mapfilter:"true"},function(e){t._count=e.count,moment&&t.options.sizeBy===L.PanoramioLayer.SIZE_BY_DATE?e=t.calculateSizeByDate(e):t.options.sizeBy===L.PanoramioLayer.SIZE_BY_POPULARITY&&(e=t.calculateSizeByPopularity(e)),t.fire("photosAvailable",e),t.clearLayers(),t.addData(e)});t._calls.push(o)}}),L.panoramioLayer=function(t){return new L.PanoramioLayer(t)},L.GeohashDataLayer=L.DataLayer.extend({initialize:function(t,e){L.DataLayer.prototype.initialize.call(this,t,e)},options:{recordsField:"features",locationMode:L.LocationModes.GEOHASH,geohashField:"geohash",displayField:null,displayOptions:null,layerOptions:{weight:1,color:"#000"},getIndexKey:function(t){return t.text}},_getLayer:function(t,e){return new L.Rectangle(t.location,e)}}),L.geohashDataLayer=function(t,e){return new L.GeohashDataLayer(t,e)},L.ChoroplethDataLayer=L.DataLayer.extend({initialize:function(t,e){L.DataLayer.prototype.initialize.call(this,t,e)},options:{recordsField:"features",locationMode:L.LocationModes.COUNTRY,codeField:"ISO",displayField:null,displayOptions:null,layerOptions:{weight:1,color:"#000"},maxZoom:16,backgroundLayer:!0},_getLayer:function(t,e,n){return t.location instanceof L.LatLng?t.location=this._markerFunction.call(this,t.location,e,n):t.location instanceof L.LatLngBounds&&(t.location=new L.Rectangle(t.location,e)),t.location.setStyle&&(e.gradient=t.location instanceof L.Polyline?!1:e.gradient,t.location.setStyle(e)),t.location}}),L.choroplethDataLayer=function(t,e){return new L.ChoroplethDataLayer(t,e)},L.ChartDataLayer=L.DataLayer.extend({options:{showLegendTooltips:!1},initialize:function(t,e){L.DataLayer.prototype.initialize.call(this,t,e)},_getLayer:function(t,e,n){var i=this._addBoundary(t,e,n);t=this._processLocation(t);var o=this.options.chartOptions,r=this.options.tooltipOptions,a={};a=e,a.data={},a.chartOptions=o;for(var s in this.options.chartOptions)a.data[s]=this.options.getFieldValue?this.options.getFieldValue.call(this,n,s):L.Util.getFieldValue(n,s);for(s in r)a[s]=r[s];var l;return t&&(l=this._getMarker(t,a),l.boundaryLayer=i),l},_getMarker:function(){},_getLegend:function(t){var e=(L.DataLayer.prototype._getLegend.call(this,t),new L.CategoryLegend(this.options.chartOptions));return t=t||this.options.legendOptions,e.generate(t)}}),L.BarChartDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.BarChartMarker(t,e)}}),L.barChartDataLayer=function(t,e){return new L.BarChartDataLayer(t,e)},L.RadialBarChartDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.RadialBarChartMarker(t,e)}}),L.radialBarChartDataLayer=function(t,e){return new L.RadialBarChartDataLayer(t,e)},L.PieChartDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.PieChartMarker(t,e)}}),L.pieChartDataLayer=function(t,e){return new L.PieChartDataLayer(t,e)},L.CoxcombChartDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.CoxcombChartMarker(t,e)}}),L.coxcombChartDataLayer=function(t,e){return new L.CoxcombChartDataLayer(t,e)},L.StackedRegularPolygonDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.StackedRegularPolygonMarker(t,e)}}),L.stackedRegularPolygonDataLayer=function(t,e){return new L.StackedRegularPolygonDataLayer(t,e)},L.StackedPieChartDataLayer=L.ChartDataLayer.extend({initialize:function(t,e){L.ChartDataLayer.prototype.initialize.call(this,t,e)},_getMarker:function(t,e){return new L.StackedPieChartMarker(t,e)}}),L.stackedPieChartDataLayer=function(t,e){return new L.StackedPieChartDataLayer(t,e)},L.RadialMeterMarkerDataLayer=L.DataLayer.extend({options:{showLegendTooltips:!1},initialize:function(t,e){L.DataLayer.prototype.initialize.call(this,t,e)},_getLayer:function(t,e,n){this._addBoundary(t,e),t=this._processLocation(t);var i=this.options.chartOptions,o=this.options.tooltipOptions,r=this.options.displayOptions,a={};a=e,a.data={},a.chartOptions=i,a.displayOptions=r;for(var s in this.options.chartOptions)a.data[s]=L.Util.getFieldValue(n,s);for(s in o)a[s]=o[s];var l;return t&&(l=this._getMarker(t,a)),l},_getMarker:function(t,e){return new L.RadialMeterMarker(t,e)}}),L.radialMeterMarkerDataLayer=function(t,e){return new L.RadialMeterMarkerDataLayer(t,e)},L.CalloutLine=L.Path.extend({statics:{LINESTYLE:{ARC:"arc",ANGLE:"angle",STRAIGHT:"straight"},DIRECTION:{NE:"ne",NW:"nw",SE:"se",SW:"sw"}}}),L.CalloutLine=L.CalloutLine.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.Path.prototype.initialize.call(this,e),this._latlng=t},options:{size:new L.Point(60,30),position:new L.Point(0,0),color:"#FFFFFF",opacity:1,weight:2,fillColor:"#000000",fill:!1,gradient:!1,dropShadow:!1,direction:L.CalloutLine.DIRECTION.NE,lineStyle:L.CalloutLine.LINESTYLE.ANGLE,lineCap:"butt",lineJoin:"miter",arrow:!1},projectLatlngs:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._points=this._getPoints()},getEndPoint:function(){return this.projectLatlngs(),this._points[this._points.length-1]},_getPathAngle:function(){return new L.SVGPathBuilder(this._points,[],{closePath:!1}).build(6)},_getPathArc:function(){var t=(this.options.direction||L.CalloutLine.DIRECTION.NE).toLowerCase(),e=t[0],n="n"===e?-1:1,i=this._points[0],o=this._points[this._points.length-1],r=["M",i.x,",",i.y," Q",i.x,",",i.y+n*this.options.size.y," ",o.x,",",o.y];return r.join(" ")},_getPoints:function(){var t=this._point.x+this.options.position.x,e=this._point.y+this.options.position.y,n=this.options.size.x,i=this.options.size.y,o=(this.options.direction||L.CalloutLine.DIRECTION.NE).toLowerCase(),r=[],a=o[1],s=o[0],l="w"===a?-1:1,u="n"===s?-1:1;r.push(new L.Point(t,e));var c=e+u*i,h=n/2,d=Math.atan(i/h);if(this.options.lineStyle===L.CalloutLine.LINESTYLE.ARC?d=Math.atan(Math.pow(i,2)/h):this.options.lineStyle===L.CalloutLine.LINESTYLE.STRAIGHT&&(d=Math.atan(i/n)),this._angle=d,this.options.lineStyle!==L.CalloutLine.LINESTYLE.STRAIGHT){var p=new L.Point(t+l*h,c);r.push(p)}var f=new L.Point(t+l*n,c);return r.push(f),r},getBounds:function(){var t=this._map,e=t.project(this._latlng),n=new L.Point(e.x+this.options.position.x,e.y+this.options.position.y),i=new L.Point(n.x+this.options.size.x,n.y-this.options.size.y),o=t.unproject(n),r=t.unproject(i);return new L.LatLngBounds(o,r)},setLatLng:function(t){this._latlng=t,this.redraw()},getLatLng:function(){return this._latlng},getPathString:function(){this._path.setAttribute("shape-rendering","geometricPrecision");var t=this.options.lineStyle||L.CalloutLine.LINESTYLE.ANGLE,e="";return e+=t===L.CalloutLine.LINESTYLE.ANGLE||t===L.CalloutLine.LINESTYLE.STRAIGHT?this._getPathAngle():this._getPathArc()}}),L.calloutLine=function(t,e){return new L.CalloutLine(t,e)},L.Callout=L.LayerGroup.extend({options:{color:"#FFFFFF",fillColor:"#FFFFFF"},initialize:function(t,e){L.Util.setOptions(this,e),L.LayerGroup.prototype.initialize.call(this,e),this._latlng=t},onAdd:function(t){L.LayerGroup.prototype.onAdd.call(this,t),this.addLayers()},onRemove:function(t){L.LayerGroup.prototype.onRemove.call(this,t),this.clearLayers()},addArrow:function(t,e,n){if(this.options.arrow){t=L.LatLng.RAD_TO_DEG*t;var i=this.options.numberOfSides||3,o=this.options.radius||6,r=180/i,a={se:r+t,sw:180+r-t,nw:180+r+t,ne:r-t},s=a[e],l=new L.RegularPolygonMarker(this._latlng,{position:n,numberOfSides:i,rotation:s,fillColor:this.options.fillColor,color:this.options.color,gradient:this.options.gradient,weight:this.options.weight,opacity:this.options.opacity,fillOpacity:this.options.fillOpacity,radius:o,lineCap:"butt",lineJoin:"miter"});this.addLayer(l)}},addLine:function(){var t={};for(var e in this.options)"icon"!==e&&(t[e]=this.options[e]);var n=new L.CalloutLine(this._latlng,t);return this.addLayer(n),n},addIcon:function(t,e){var n=this.options.size,i=this.options.icon,o=i.options.iconSize,r=t[0],a=t[1],s="w"===a?o.x+n.x-e.x:-1*(n.x+e.x),l="n"===r?o.y/2+n.y-e.y:-1*(-o.y/2+n.y+e.y);i.options.iconAnchor=new L.Point(s,l);var u=new L.Marker(this._latlng,{icon:i});this.addLayer(u)},addLayers:function(){var t,e=(this.options.direction||"ne").toLowerCase(),n=this.options.position||new L.Point(0,0);t=this.addLine(),this.addIcon(e,n),this.addArrow(t._angle,e,n)}}),L.callout=function(t,e){return new L.Callout(t,e)},L.FlowLine=L.DataLayer.extend({statics:{LINE_FUNCTION:function(t,e,n){return new L.Polyline([t,e],n)},LINE_FUNCTION_INTERPOLATED:function(t,e,n){var i=this._map.latlngToLayerPoint(t),o=this._map.latlngToLayerPoint(e),r=new L.LinearFunction(i,o),a=Math.ceil(i.distanceTo(o)/n.interpolationOptions.segmentLength);r.samplePoints(a)}}}),L.FlowLine=L.FlowLine.extend({initialize:function(t,e){L.Util.setOptions(this,e),L.DataLayer.prototype.initialize.call(this,t,e)},options:{getLine:L.FlowLine.LINE_FUNCTION,showLegendTooltips:!0,setHighlight:function(t){return t.opacity=t.opacity||1,t.opacity/=1.5,t},unsetHighlight:function(t){return t.opacity=t.opacity||.66,t.opacity*=1.5,t}},onEachSegment:function(t,e,n){var i={};if(this.options.timeField){var o=L.Util.getFieldValue(t,this.options.timeField),r=L.Util.getFieldValue(e,this.options.timeField),a=this.options.timeFormat,s=a?moment(o,a):moment(o),l=a?moment(r,a):moment(r),u=l.valueOf()-s.valueOf();i.time=u}for(var c in this.options.displayOptions){var h=L.Util.getFieldValue(t,c),d=L.Util.getFieldValue(e,c),p=d-h,f=p/h*100;i[c]={from:h,to:d,change:p,percentChange:f},i.time&&(i[c].changeOverTime=p/i.time)}var m,g=n.getLatLngs(),_=g[0].distanceTo(g[1]);i.time&&(m=_/(1e3*i.time)),this.options.onEachSegment&&this.options.onEachSegment.call(this,t,e,n,i,_,m)
77},_loadRecords:function(t){var e=[];this._lastRecord=null;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];i=this.options.deriveProperties?this.options.deriveProperties(i):i,e=this._addRecord(i,n,e)}for(;e.length>0;)this.addLayer(e.pop())},addRecord:function(t){return this._addRecord(t),this},_addRecord:function(t,e,n){var i=this._getLocation(t,e),o=this.options.layerOptions;if(i){var r,a=this._getLayer(i,o,t),s=!0;this.options.includeLayer&&(s=this.options.includeLayer(t)),this._lastRecord&&s&&(o=this._getDynamicOptions(this._lastRecord),r=this.options.getLine.call(this,this._lastMarker.getLatLng(),a.getLatLng(),o.layerOptions),this.addLayer(r),this.options.showLegendTooltips&&this._bindMouseEvents(r,o.layerOptions,o.legendDetails),this.onEachSegment(this._lastRecord,t,r)),s&&(this._lastRecord=t,this._lastMarker=a)}return n}}),L.flowLine=function(t,e){return new L.FlowLine(t,e)},L.ArcedFlowLine=L.FlowLine.extend({options:{getLine:function(t,e,n){return new L.ArcedPolyline([t,e],n)}},initialize:function(t,e){L.FlowLine.prototype.initialize.call(this,t,e)}}),L.arcedFlowLine=function(t,e){return new L.ArcedFlowLine(t,e)},L.ArcedPolyline=L.Path.extend({includes:TextFunctions,initialize:function(t,e){L.Path.prototype.initialize.call(this,e),this._latlngs=t},options:{distanceToHeight:new L.LinearFunction([0,5],[1e3,200]),color:"#FFFFFF",opacity:1,weight:1,fillColor:"#000000",fill:!1,gradient:!1,dropShadow:!1,optimizeSpeed:!1},projectLatlngs:function(){this._points=[];for(var t=0;t<this._latlngs.length;++t)this._points.push(this._map.latLngToLayerPoint(this._latlngs[t]))},getBounds:function(){for(var t=new L.LatLngBounds,e=0;e<this._latlngs.length;++e)t.extend(this._latlngs[e]);return t},setLatLngs:function(t){this._latlngs=t,this.redraw()},getLatLngs:function(){return this._latlngs},drawSegment:function(t,e){var n=Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)),i=this.options.distanceToHeight.evaluate(n),o=["M",t.x,",",t.y," C",t.x,",",t.y-i," ",e.x,",",e.y-i," ",e.x,",",e.y];return o.join(" ")},getPathString:function(){this.options.optimizeSpeed&&this._path.setAttribute("shape-rendering","optimizeSpeed");for(var t=[],e=0;e<this._points.length-1;++e)t.push(this.drawSegment(this._points[e],this._points[e+1]));return t.join("")}}),L.arcedPolyline=function(t,e){return new L.ArcedPolyline(t,e)},L.Control.Legend=L.Control.extend({options:{position:"bottomright",autoAdd:!0}
77,onAdd:function(t){var e="leaflet-control-legend",n=L.DomUtil.create("div",e),i=this;return this.options.autoAdd&&(t.on("layeradd",function(t){var e=t.layer;i.addLayer(e)}),t.on("layerremove",function(t){var e=t.layer;i.removeLayer(e)})),this.toggleSize=L.bind(this.toggleSize,this),L.DomEvent.addListener(n,"mouseover",this.toggleSize).addListener(n,"mouseout",this.toggleSize).addListener(n,"touchstart",this.toggleSize).addListener(n,"touchend",this.toggleSize).addListener(n,"click",L.DomEvent.stopPropagation).addListener(n,"click",L.DomEvent.preventDefault),n},clear:function(){this._container.innerHTML=""},toggleSize:function(){L.DomUtil.hasClass(this._container,"larger")?L.DomUtil.removeClass(this._container,"larger"):L.DomUtil.addClass(this._container,"larger")},redrawLayer:function(t){this.removeLayer(t),this.addLayer(t)},addLayer:function(t){var e=L.Util.stamp(t),n=this;t.getLegend&&(this.addLegend(e,t.getLegend()),t.on("legendChanged",function(){n.redrawLayer(t)}))},removeLayer:function(t){var e=L.Util.stamp(t);if(t.getLegend){var n=document.getElementById(e);n.parentNode.removeChild(n),t.off("legendChanged")}},addLegend:function(t,e){var n=this._container,i=document.getElementById(t);i||(i=L.DomUtil.create("div","",n),i.id=t),i.innerHTML=e}}),L.control.legend=function(t){return new L.Control.Legend(t)},function(){L.Control.FullScreen=L.Control.extend({options:{position:"topleft",title:"Full Screen",forceSeparateButton:!1,forcePseudoFullscreen:!1},onAdd:function(t){var e,n="leaflet-control-zoom-fullscreen",i="";return e=t.zoomControl&&!this.options.forceSeparateButton?t.zoomControl._container:L.DomUtil.create("div","leaflet-bar"),this.options.content?i=this.options.content:n+=" fullscreen-icon",this._createButton(this.options.title,n,i,e,this.toggleFullScreen,this),e},_createButton:function(e,n,i,o,r,a){var s=L.DomUtil.create("a",n,o);return s.href="#",s.title=e,s.innerHTML=i,L.DomEvent.addListener(s,"click",L.DomEvent.stopPropagation).addListener(s,"click",L.DomEvent.preventDefault).addListener(s,"click",r,a),L.DomEvent.addListener(o,t.fullScreenEventName,L.DomEvent.stopPropagation).addListener(o,t.fullScreenEventName,L.DomEvent.preventDefault).addListener(o,t.fullScreenEventName,this._handleEscKey,a),L.DomEvent.addListener(document,t.fullScreenEventName,L.DomEvent.stopPropagation).addListener(document,t.fullScreenEventName,L.DomEvent.preventDefault).addListener(document,t.fullScreenEventName,this._handleEscKey,a),s},toggleFullScreen:function(){var e=this._map;e._exitFired=!1,e._isFullscreen?(t.supportsFullScreen&&!this.options.forcePseudoFullscreen?t.cancelFullScreen(e._container):L.DomUtil.removeClass(e._container,"leaflet-pseudo-fullscreen"),e.invalidateSize(),e.fire("exitFullscreen"),e._exitFired=!0,e._isFullscreen=!1):(t.supportsFullScreen&&!this.options.forcePseudoFullscreen?t.requestFullScreen(e._container):L.DomUtil.addClass(e._container,"leaflet-pseudo-fullscreen"),e.invalidateSize(),e.fire("enterFullscreen"),e._isFullscreen=!0)},_handleEscKey:function(){var e=this._map;t.isFullScreen(e)||e._exitFired||(e.fire("exitFullscreen"),e._exitFired=!0,e._isFullscreen=!1)}}),L.Map.addInitHook(function(){this.options.fullscreenControl&&(this.fullscreenControl=L.control.fullscreen(this.options.fullscreenControlOptions),this.addControl(this.fullscreenControl))}),L.control.fullscreen=function(t){return new L.Control.FullScreen(t)};var t={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},e="webkit moz o ms khtml".split(" ");if("undefined"!=typeof document.exitFullscreen)t.supportsFullScreen=!0;else for(var n=0,i=e.length;i>n;n++)if(t.prefix=e[n],"undefined"!=typeof document[t.prefix+"CancelFullScreen"]){t.supportsFullScreen=!0;break}t.supportsFullScreen&&(t.fullScreenEventName=t.prefix+"fullscreenchange",t.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},t.requestFullScreen=function(t){return""===this.prefix?t.requestFullscreen():t[this.prefix+"RequestFullScreen"]()},t.cancelFullScreen=function(){return""===this.prefix?document.exitFullscreen():document[this.prefix+"CancelFullScreen"]()}),"undefined"!=typeof jQuery&&(jQuery.fn.requestFullScreen=function(){return this.each(function(){var e=jQuery(this);t.supportsFullScreen&&t.requestFullScreen(e)})}),window.fullScreenApi=t}(),function(t){var e=t.L;e.labelVersion="0.2.2-dev",e.Label=(e.Layer?e.Layer:e.Class).extend({includes:e.Mixin.Events,options:{className:"",clickable:!1,direction:"right",noHide:!1,offset:[12,-15],opacity:1,zoomAnimation:!0},initialize:function(t,n){e.setOptions(this,t),this._source=n,this._animated=e.Browser.any3d&&this.options.zoomAnimation,this._isOpen=!1},onAdd:function(t){this._map=t,this._pane=this.options.pane?t._panes[this.options.pane]:this._source instanceof e.Marker?t._panes.markerPane:t._panes.popupPane,this._container||this._initLayout(),this._pane.appendChild(this._container),this._initInteraction(),this._update(),this.setOpacity(this.options.opacity),t.on("moveend",this._onMoveEnd,this).on("viewreset",this._onViewReset,this),this._animated&&t.on("zoomanim",this._zoomAnimation,this),e.Browser.touch&&!this.options.noHide&&(e.DomEvent.on(this._container,"click",this.close,this),t.on("click",this.close,this))},onRemove:function(t){this._pane.removeChild(this._container),t.off({zoomanim:this._zoomAnimation,moveend:this._onMoveEnd,viewreset:this._onViewReset},this),this._removeInteraction(),this._map=null},setLatLng:function(t){return this._latlng=e.latLng(t),this._map&&this._updatePosition(),this},setContent:function(t){return this._previousContent=this._content,this._content=t,this._updateContent(),this},close:function(){var t=this._map;t&&(e.Browser.touch&&!this.options.noHide&&(e.DomEvent.off(this._container,"click",this.close),t.off("click",this.close,this)),t.removeLayer(this))},updateZIndex:function(t){this._zIndex=t,this._container&&this._zIndex&&(this._container.style.zIndex=t)},setOpacity:function(t){this.options.opacity=t,this._container&&e.DomUtil.setOpacity(this._container,t)},_initLayout:function(){this._container=e.DomUtil.create("div","leaflet-label "+this.options.className+" leaflet-zoom-animated"),this.updateZIndex(this._zIndex)},_update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updatePosition(),this._container.style.visibility="")},_updateContent:function(){this._content&&this._map&&this._prevContent!==this._content&&"string"==typeof this._content&&(this._container.innerHTML=this._content,this._prevContent=this._content,this._labelWidth=this._container.offsetWidth)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},_setPosition:function(t){var n=this._map,i=this._container,o=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,s=this._labelWidth,l=e.point(this.options.offset);"right"===a||"auto"===a&&r.x<o.x?(e.DomUtil.addClass(i,"leaflet-label-right"),e.DomUtil.removeClass(i,"leaflet-label-left"),t=t.add(l)):(e.DomUtil.addClass(i,"leaflet-label-left"),e.DomUtil.removeClass(i,"leaflet-label-right"),t=t.add(e.point(-l.x-s,l.y))),e.DomUtil.setPosition(i,t)},_zoomAnimation:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round();this._setPosition(e)},_onMoveEnd:function(){this._animated&&"auto"!==this.options.direction||this._updatePosition()},_onViewReset:function(t){t&&t.hard&&this._update()},_initInteraction:function(){if(this.options.clickable){var t=this._container,n=["dblclick","mousedown","mouseover","mouseout","contextmenu"];e.DomUtil.addClass(t,"leaflet-clickable"),e.DomEvent.on(t,"click",this._onMouseClick,this);for(var i=0;n.length>i;i++)e.DomEvent.on(t,n[i],this._fireMouseEvent,this)}},_removeInteraction:function(){if(this.options.clickable){var t=this._container,n=["dblclick","mousedown","mouseover","mouseout","contextmenu"];e.DomUtil.removeClass(t,"leaflet-clickable"),e.DomEvent.off(t,"click",this._onMouseClick,this);for(var i=0;n.length>i;i++)e.DomEvent.off(t,n[i],this._fireMouseEvent,this)}},_onMouseClick:function(t){this.hasEventListeners(t.type)&&e.DomEvent.stopPropagation(t),this.fire(t.type,{originalEvent:t})},_fireMouseEvent:function(t){this.fire(t.type,{originalEvent:t}),"contextmenu"===t.type&&this.hasEventListeners(t.type)&&e.DomEvent.preventDefault(t),"mousedown"!==t.type?e.DomEvent.stopPropagation(t):e.DomEvent.preventDefault(t)}}),e.BaseMarkerMethods={showLabel:function(){return this.label&&this._map&&(this.label.setLatLng(this._latlng),this._map.showLabel(this.label)),this},hideLabel:function(){return this.label&&this.label.close(),this},setLabelNoHide:function(t){this._labelNoHide!==t&&(this._labelNoHide=t,t?(this._removeLabelRevealHandlers(),this.showLabel()):(this._addLabelRevealHandlers(),this.hideLabel()))},bindLabel:function(t,n){var i=this.options.icon?this.options.icon.options.labelAnchor:this.options.labelAnchor,o=e.point(i)||e.point(0,0);return o=o.add(e.Label.prototype.options.offset),n&&n.offset&&(o=o.add(n.offset)),n=e.Util.extend({offset:o},n),this._labelNoHide=n.noHide,this.label||(this._labelNoHide||this._addLabelRevealHandlers(),this.on("remove",this.hideLabel,this).on("move",this._moveLabel,this).on("add",this._onMarkerAdd,this),this._hasLabelHandlers=!0),this.label=new e.Label(n,this).setContent(t),this},unbindLabel:function(){return this.label&&(this.hideLabel(),this.label=null,this._hasLabelHandlers&&(this._labelNoHide||this._removeLabelRevealHandlers(),this.off("remove",this.hideLabel,this).off("move",this._moveLabel,this).off("add",this._onMarkerAdd,this)),this._hasLabelHandlers=!1),this},updateLabelContent:function(t){this.label&&this.label.setContent(t)},getLabel:function(){return this.label},_onMarkerAdd:function(){this._labelNoHide&&this.showLabel()},_addLabelRevealHandlers:function(){this.on("mouseover",this.showLabel,this).on("mouseout",this.hideLabel,this),e.Browser.touch&&this.on("click",this.showLabel,this)},_removeLabelRevealHandlers:function(){this.off("mouseover",this.showLabel,this).off("mouseout",this.hideLabel,this),e.Browser.touch&&this.off("click",this.showLabel,this)},_moveLabel:function(t){this.label.setLatLng(t.latlng)}
77},e.Icon.Default.mergeOptions({labelAnchor:new e.Point(9,-20)}),e.Marker.mergeOptions({icon:new e.Icon.Default}),e.Marker.include(e.BaseMarkerMethods),e.Marker.include({_originalUpdateZIndex:e.Marker.prototype._updateZIndex,_updateZIndex:function(t){var e=this._zIndex+t;this._originalUpdateZIndex(t),this.label&&this.label.updateZIndex(e)},_originalSetOpacity:e.Marker.prototype.setOpacity,setOpacity:function(t,e){this.options.labelHasSemiTransparency=e,this._originalSetOpacity(t)},_originalUpdateOpacity:e.Marker.prototype._updateOpacity,_updateOpacity:function(){var t=0===this.options.opacity?0:1;this._originalUpdateOpacity(),this.label&&this.label.setOpacity(this.options.labelHasSemiTransparency?this.options.opacity:t)},_originalSetLatLng:e.Marker.prototype.setLatLng,setLatLng:function(t){return this.label&&!this._labelNoHide&&this.hideLabel(),this._originalSetLatLng(t)}}),e.CircleMarker.mergeOptions({labelAnchor:new e.Point(0,0)}),e.CircleMarker.include(e.BaseMarkerMethods),e.Path.include({bindLabel:function(t,n){return this.label&&this.label.options===n||(this.label=new e.Label(n,this)),this.label.setContent(t),this._showLabelAdded||(this.on("mouseover",this._showLabel,this).on("mousemove",this._moveLabel,this).on("mouseout remove",this._hideLabel,this),e.Browser.touch&&this.on("click",this._showLabel,this),this._showLabelAdded=!0),this},unbindLabel:function(){return this.label&&(this._hideLabel(),this.label=null,this._showLabelAdded=!1,this.off("mouseover",this._showLabel,this).off("mousemove",this._moveLabel,this).off("mouseout remove",this._hideLabel,this)),this},updateLabelContent:function(t){this.label&&this.label.setContent(t)},_showLabel:function(t){this.label.setLatLng(t.latlng),this._map.showLabel(this.label)},_moveLabel:function(t){this.label.setLatLng(t.latlng)},_hideLabel:function(){this.label.close()}}),e.Map.include({showLabel:function(t){return this.addLayer(t)}}),e.FeatureGroup.include({clearLayers:function(){return this.unbindLabel(),this.eachLayer(this.removeLayer,this),this},bindLabel:function(t,e){return this.invoke("bindLabel",t,e)},unbindLabel:function(){return this.invoke("unbindLabel")},updateLabelContent:function(t){this.invoke("updateLabelContent",t)}})}(window,document),function(t,e){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.on(L.FeatureGroup.EVENTS,this._propagateEvent,this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.on(L.FeatureGroup.EVENTS,this._propagateEvent,this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[]},addLayer:function(t){if(t instanceof L.LayerGroup){var e=[];for(var n in t._layers)e.push(t._layers[n]);return this.addLayers(e)}if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this;if(!this._map)return this._needsClustering.push(t),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom);var i=t,o=this._map.getZoom();if(t.__parent)for(;i.__parent._zoom>=o;)i=i.__parent;return this._currentShownBounds.contains(i.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,i):this._animationAddLayerNonAnimated(t,i)),this},removeLayer:function(t){if(t instanceof L.LayerGroup){var e=[];for(var n in t._layers)e.push(t._layers[n]);return this.removeLayers(e)}return t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.setOpacity&&t.setOpacity(1)),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push(t),this):(this._nonPointGroup.removeLayer(t),this)},addLayers:function(t){var e,n,i,o=this._map,r=this._featureGroup,a=this._nonPointGroup;for(e=0,n=t.length;n>e;e++)if(i=t[e],i.getLatLng){if(!this.hasLayer(i))if(o){if(this._addLayer(i,this._maxZoom),i.__parent&&2===i.__parent.getChildCount()){var s=i.__parent.getAllChildMarkers(),l=s[0]===i?s[1]:s[0];r.removeLayer(l)}}else this._needsClustering.push(i)}else a.addLayer(i);return o&&(r.eachLayer(function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()}),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)),this},removeLayers:function(t){var e,n,i,o=this._featureGroup,r=this._nonPointGroup;if(!this._map){for(e=0,n=t.length;n>e;e++)i=t[e],this._arraySplice(this._needsClustering,i),r.removeLayer(i);return this}for(e=0,n=t.length;n>e;e++)i=t[e],i.__parent?(this._removeLayer(i,!0,!0),o.hasLayer(i)&&(o.removeLayer(i),i.setOpacity&&i.setOpacity(1))):r.removeLayer(i);return this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds),o.eachLayer(function(t){t instanceof L.MarkerCluster&&t._updateIcon()}),this},clearLayers:function(){return this._map||(this._needsClustering=[],delete this._gridClusters,delete this._gridUnclustered),this._noanimationUnspiderfy&&this._noanimationUnspiderfy(),this._featureGroup.clearLayers(),this._nonPointGroup.clearLayers(),this.eachLayer(function(t){delete t.__parent}),this._map&&this._generateInitialClusters(),this},getBounds:function(){var t=new L.LatLngBounds;if(this._topClusterLevel)t.extend(this._topClusterLevel._bounds);else for(var e=this._needsClustering.length-1;e>=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var n,i=this._needsClustering.slice();for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(i),n=i.length-1;n>=0;n--)t.call(e,i[n]);this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer(function(e){t.push(e)}),t},getLayer:function(t){var e=null;return this.eachLayer(function(n){L.stamp(n)===t&&(e=n)}),e},hasLayer:function(t){if(!t)return!1;var e,n=this._needsClustering;for(e=n.length-1;e>=0;e--)if(n[e]===t)return!0;for(n=this._needsRemoving,e=n.length-1;e>=0;e--)if(n[e]===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){var n=function(){if((t._icon||t.__parent._icon)&&!this._inZoomAnimation)if(this._map.off("moveend",n,this),this.off("animationend",n,this),t._icon)e();else if(t.__parent._icon){var i=function(){this.off("spiderfied",i,this),e()};this.on("spiderfied",i,this),t.__parent.spiderfy()}};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom<this._map.getZoom()?(this._map.on("moveend",n,this),this._map.panTo(t.getLatLng())):(this._map.on("moveend",n,this),this.on("animationend",n,this),this._map.setVie
77w(t.getLatLng(),t.__parent._zoom+1),t.__parent.zoomToBounds())},onAdd:function(t){this._map=t;var e,n,i;if(!isFinite(this._map.getMaxZoom()))throw"Map has no maxZoom specified";for(this._featureGroup.onAdd(t),this._nonPointGroup.onAdd(t),this._gridClusters||this._generateInitialClusters(),e=0,n=this._needsRemoving.length;n>e;e++)i=this._needsRemoving[e],this._removeLayer(i,!0);for(this._needsRemoving=[],e=0,n=this._needsClustering.length;n>e;e++)i=this._needsClustering[e],i.getLatLng?i.__parent||this._addLayer(i,this._maxZoom):this._featureGroup.addLayer(i);this._needsClustering=[],this._map.on("zoomend",this._zoomEnd,this),this._map.on("moveend",this._moveEnd,this),this._spiderfierOnAdd&&this._spiderfierOnAdd(),this._bindEvents(),this._zoom=this._map.getZoom(),this._currentShownBounds=this._getExpandedVisibleBounds(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)},onRemove:function(t){t.off("zoomend",this._zoomEnd,this),t.off("moveend",this._moveEnd,this),this._unbindEvents(),this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim",""),this._spiderfierOnRemove&&this._spiderfierOnRemove(),this._hideCoverage(),this._featureGroup.onRemove(t),this._nonPointGroup.onRemove(t),this._featureGroup.clearLayers(),this._map=null},getVisibleParent:function(t){for(var e=t;e&&!e._icon;)e=e.__parent;return e||null},_arraySplice:function(t,e){for(var n=t.length-1;n>=0;n--)if(t[n]===e)return t.splice(n,1),!0},_removeLayer:function(t,e,n){var i=this._gridClusters,o=this._gridUnclustered,r=this._featureGroup,a=this._map;if(e)for(var s=this._maxZoom;s>=0&&o[s].removeObject(t,a.project(t.getLatLng(),s));s--);var l,u=t.__parent,c=u._markers;for(this._arraySplice(c,t);u&&(u._childCount--,!(u._zoom<0));)e&&u._childCount<=1?(l=u._markers[0]===t?u._markers[1]:u._markers[0],i[u._zoom].removeObject(u,a.project(u._cLatLng,u._zoom)),o[u._zoom].addObject(l,a.project(l.getLatLng(),u._zoom)),this._arraySplice(u.__parent._childClusters,u),u.__parent._markers.push(l),l.__parent=u.__parent,u._icon&&(r.removeLayer(u),n||r.addLayer(l))):(u._recalculateBounds(),n&&u._icon||u._updateIcon()),u=u.__parent;delete t.__parent},_isOrIsParent:function(t,e){for(;e;){if(t===e)return!0;e=e.parentNode}return!1},_propagateEvent:function(t){if(t.layer instanceof L.MarkerCluster){if(t.originalEvent&&this._isOrIsParent(t.layer._icon,t.originalEvent.relatedTarget))return;t.type="cluster"+t.type}this.fire(t.type,t)},_defaultIconCreateFunction:function(t){var e=t.getChildCount(),n=" marker-cluster-";return n+=10>e?"small":100>e?"medium":"large",new L.DivIcon({html:"<div><span>"+e+"</span></div>",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick;(e||i)&&this.on("clusterclick",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){var e=this._map;e.getMaxZoom()===e.getZoom()?this.options.spiderfyOnMaxZoom&&t.layer.spiderfy():this.options.zoomToBoundsOnClick&&t.layer.zoomToBounds(),t.originalEvent&&13===t.originalEvent.keyCode&&e._container.focus()},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this._map;(t||n)&&this.off("clusterclick",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.off("zoomend",this._hideCoverage,this))}
77,_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=this._map._zoom,this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._map._zoom,t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=this._map.getMaxZoom(),e=this.options.maxClusterRadius,n=e;"function"!=typeof e&&(n=function(){return e}),this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var i=t;i>=0;i--)this._gridClusters[i]=new L.DistanceGrid(n(i)),this._gridUnclustered[i]=new L.DistanceGrid(n(i));this._topClusterLevel=new L.MarkerCluster(this,-1)},_addLayer:function(t,e){var n,i,o=this._gridClusters,r=this._gridUnclustered;for(this.options.singleMarkerMode&&(t.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[t]}}));e>=0;e--){n=this._map.project(t.getLatLng(),e);var a=o[e].getNearObject(n);if(a)return a._addChild(t),void(t.__parent=a);if(a=r[e].getNearObject(n)){var s=a.__parent;s&&this._removeLayer(a,!1);var l=new L.MarkerCluster(this,e,a,t);o[e].addObject(l,this._map.project(l._cLatLng,e)),a.__parent=l,t.__parent=l;var u=l;for(i=e-1;i>s._zoom;i--)u=new L.MarkerCluster(this,i,u),o[i].addObject(u,this._map.project(a.getLatLng(),i));for(s._addChild(u),i=e;i>=0&&r[i].removeObject(a,this._map.project(a.getLatLng(),i));i--);return}r[e].addObject(t,n)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;t<this._queue.length;t++)this._queue[t].call(this);this._queue.length=0,clearTimeout(this._queueTimeout),this._queueTimeout=null},_mergeSplitClusters:function(){this._processQueue(),this._zoom<this._map._zoom&&this._currentShownBounds.contains(this._getExpandedVisibleBounds())?(this._animationStart(),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,this._zoom,this._getExpandedVisibleBounds()),this._animationZoomIn(this._zoom,this._map._zoom)):this._zoom>this._map._zoom?(this._animationStart(),this._animationZoomOut(this._zoom,this._map._zoom)):this._moveEnd()},_getExpandedVisibleBounds:function(){if(!this.options.removeOutsideVisibleBounds)return this.getBounds();var t=this._map,e=t.getBounds(),n=e._southWest,i=e._northEast,o=L.Browser.mobile?0:Math.abs(n.lat-i.lat),r=L.Browser.mobile?0:Math.abs(n.lng-i.lng);return new L.LatLngBounds(new L.LatLng(n.lat-o,n.lng-r,!0),new L.LatLng(i.lat+o,i.lng+r,!0))},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var n=e.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else e._updateIcon()}}),L.MarkerClusterGroup.include(L.DomUtil.TRANSITION?{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_animationZoomIn:function(t,e){var n,i=this._getExpandedVisibleBounds(),o=this._featureGroup;this._topClusterLevel._recursively(i,t,0,function(r){var a,s=r._latlng,l=r._markers;for(i.contains(s)||(s=null),r._isSingleParent()&&t+1===e?(o.removeLayer(r),r._recursivelyAddChildrenToMap(null,e,i)):(r.setOpacity(0),r._recursivelyAddChildrenToMap(s,e,i)),n=l.length-1;n>=0;n--)a=l[n],i.contains(a._latlng)||o.removeLayer(a)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,e),o.eachLayer(function(t){t instanceof L.MarkerCluster||!t._icon||t.setOpacity(1)}),this._topClusterLevel._recursively(i,t,e,function(t){t._recursivelyRestoreChildPositions(e)}),this._enqueue(function(){this._topClusterLevel._recursively(i,t,0,function(t){o.removeLayer(t),t.setOpacity(1)}),this._animationEnd()})},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,t,this._getExpandedVisibleBounds())},_animationZoomOutSingle:function(t,e,n){var i=this._getExpandedVisibleBounds();t._recursivelyAnimateChildrenInAndAddSelfToMap(i,e+1,n);var o=this;this._forceLayout(),t._recursivelyBecomeVisible(i,n),this._enqueue(function(){if(1===t._childCount){var r=t._markers[0];r.setLatLng(r.getLatLng()),r.setOpacity&&r.setOpacity(1)}else t._recursively(i,n,0,function(t){t._recursivelyRemoveChildrenFromMap(i,e+1)});o._animationEnd()})},_animationAddLayer:function(t,e){var n=this,i=this._featureGroup;i.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.setOpacity(0),this._enqueue(function(){i.removeLayer(t),t.setOpacity(1),n._animationEnd()})):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(e,this._map.getMaxZoom(),this._map.getZoom())))},_forceLayout:function(){L.Util.falseFn(e.body.offsetWidth)}}:{_animationStart:function(){},_animationZoomIn:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds())},_animationZoomOut:function(t,e){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){this._animationAddLayerNonAnimated(t,e)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)}
77,L.MarkerCluster=L.Marker.extend({initialize:function(t,e,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(t){t=t||[];for(var e=this._childClusters.length-1;e>=0;e--)this._childClusters[e].getAllChildMarkers(t);for(var n=this._markers.length-1;n>=0;n--)t.push(this._markers[n]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(){for(var t,e=this._childClusters.slice(),n=this._group._map,i=n.getBoundsZoom(this._bounds),o=this._zoom+1,r=n.getZoom();e.length>0&&i>o;){o++;var a=[];for(t=0;t<e.length;t++)a=a.concat(e[t]._childClusters);e=a}i>o?this._group._map.setView(this._latlng,o):r>=i?this._group._map.setView(this._latlng,r+1):this._group._map.fitBounds(this._bounds)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._expandBounds(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_expandBounds:function(t){var e,n=t._wLatLng||t._latlng;t instanceof L.MarkerCluster?(this._bounds.extend(t._bounds),e=t._childCount):(this._bounds.extend(n),e=1),this._cLatLng||(this._cLatLng=t._cLatLng||n);var i=this._childCount+e;this._wLatLng?(this._wLatLng.lat=(n.lat*e+this._wLatLng.lat*this._childCount)/i,this._wLatLng.lng=(n.lng*e+this._wLatLng.lng*this._childCount)/i):this._latlng=this._wLatLng=new L.LatLng(n.lat,n.lng)},_addToMap:function(t){t&&(this._backupLatlng=this._latlng,this.setLatLng(t)),this._group._featureGroup.addLayer(this)},_recursivelyAnimateChildrenIn:function(t,e,n){this._recursively(t,0,n-1,function(t){var n,i,o=t._markers;for(n=o.length-1;n>=0;n--)i=o[n],i._icon&&(i._setPos(e),i.setOpacity(0))},function(t){var n,i,o=t._childClusters;for(n=o.length-1;n>=0;n--)i=o[n],i._icon&&(i._setPos(e),i.setOpacity(0))})},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,n){this._recursively(t,n,0,function(i){i._recursivelyAnimateChildrenIn(t,i._group._map.latLngToLayerPoint(i.getLatLng()).round(),e),i._isSingleParent()&&e-1===n?(i.setOpacity(1),i._recursivelyRemoveChildrenFromMap(t,e)):i.setOpacity(0),i._addToMap()
78})},_recursivelyBecomeVisible:function(t,e){this._recursively(t,0,e,null,function(t){t.setOpacity(1)})},_recursivelyAddChildrenToMap:function(t,e,n){this._recursively(n,-1,e,function(i){if(e!==i._zoom)for(var o=i._markers.length-1;o>=0;o--){var r=i._markers[o];n.contains(r._latlng)&&(t&&(r._backupLatlng=r.getLatLng(),r.setLatLng(t),r.setOpacity&&r.setOpacity(0)),i._group._featureGroup.addLayer(r))}},function(e){e._addToMap(t)})},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var n=this._markers[e];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(t-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var o=this._childClusters.length-1;o>=0;o--)this._childClusters[o]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,n){var i,o;this._recursively(t,-1,e-1,function(t){for(o=t._markers.length-1;o>=0;o--)i=t._markers[o],n&&n.contains(i._latlng)||(t._group._featureGroup.removeLayer(i),i.setOpacity&&i.setOpacity(1))},function(t){for(o=t._childClusters.length-1;o>=0;o--)i=t._childClusters[o],n&&n.contains(i._latlng)||(t._group._featureGroup.removeLayer(i),i.setOpacity&&i.setOpacity(1))})},_recursively:function(t,e,n,i,o){var r,a,s=this._childClusters,l=this._zoom;if(e>l)for(r=s.length-1;r>=0;r--)a=s[r],t.intersects(a._bounds)&&a._recursively(t,e,n,i,o);else if(i&&i(this),o&&this._zoom===n&&o(this),n>l)for(r=s.length-1;r>=0;r--)a=s[r],t.intersects(a._bounds)&&a._recursively(t,e,n,i,o)},_recalculateBounds:function(){var t,e=this._markers,n=this._childClusters;for(this._bounds=new L.LatLngBounds,delete this._wLatLng,t=e.length-1;t>=0;t--)this._expandBounds(e[t]);for(t=n.length-1;t>=0;t--)this._expandBounds(n[t])},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var n=this._getCoord(e.x),i=this._getCoord(e.y),o=this._grid,r=o[i]=o[i]||{},a=r[n]=r[n]||[],s=L.Util.stamp(t);this._objectPoint[s]=e,a.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var n,i,o=this._getCoord(e.x),r=this._getCoord(e.y),a=this._grid,s=a[r]=a[r]||{},l=s[o]=s[o]||[];for(delete this._objectPoint[L.Util.stamp(t)],n=0,i=l.length;i>n;n++)if(l[n]===t)return l.splice(n,1),1===i&&delete s[o],!0},eachObject:function(t,e){var n,i,o,r,a,s,l,u=this._grid;for(n in u){a=u[n];for(i in a)for(s=a[i],o=0,r=s.length;r>o;o++)l=t.call(e,s[o]),l&&(o--,r--)}},getNearObject:function(t){var e,n,i,o,r,a,s,l,u=this._getCoord(t.x),c=this._getCoord(t.y),h=this._objectPoint,d=this._sqCellSize,p=null;for(e=c-1;c+1>=e;e++)if(o=this._grid[e])for(n=u-1;u+1>
78=n;n++)if(r=o[n])for(i=0,a=r.length;a>i;i++)s=r[i],l=this._sqDist(h[L.Util.stamp(s)],t),d>l&&(d=l,p=s);return p},_getCoord:function(t){return Math.floor(t/this._cellSize)},_sqDist:function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i}},/* Copyright (c) 2012 the authors listed at the following URL, and/or
79the authors of referenced articles or incorporated external code:
80http://en.literateprograms.org/Quickhull_(Javascript)?action=history&offset=20120410175256
81
82Permission is hereby granted, free of charge, to any person obtaining
83a copy of this software and associated documentation files (the
84"Software"), to deal in the Software without restriction, including
85without limitation the rights to use, copy, modify, merge, publish,
86distribute, sublicense, and/or sell copies of the Software, and to
87permit persons to whom the Software is furnished to do so, subject to
88the following conditions:
89
90The above copyright notice and this permission notice shall be
91included in all copies or substantial portions of the Software.
92
93THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
94EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
95MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
96IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
97CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
98TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
99SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
100
101Retrieved from: http://en.literateprograms.org/Quickhull_(Javascript)?oldid=18434
102*/
103function(){L.QuickHull={getDistant:function(t,e){var n=e[1].lat-e[0].lat,i=e[0].lng-e[1].lng;return i*(t.lat-e[0].lat)+n*(t.lng-e[0].lng)},findMostDistantPointFromBaseLine:function(t,e){var n,i,o,r=0,a=null,s=[];for(n=e.length-1;n>=0;n--)i=e[n],o=this.getDistant(i,t),o>0&&(s.push(i),o>r&&(r=o,a=i));return{maxPoint:a,newPoints:s}},buildConvexHull:function(t,e){var n=[],i=this.findMostDistantPointFromBaseLine(t,e);return i.maxPoint?(n=n.concat(this.buildConvexHull([t[0],i.maxPoint],i.newPoints)),n=n.concat(this.buildConvexHull([i.maxPoint,t[1]],i.newPoints))):[t[0]]},getConvexHull:function(t){var e,n=!1,i=!1,o=null,r=null;for(e=t.length-1;e>=0;e--){var a=t[e];(n===!1||a.lat>n)&&(o=a,n=a.lat),(i===!1||a.lat<i)&&(r=a,i=a.lat)}var s=[].concat(this.buildConvexHull([r,o],t),this.buildConvexHull([o,r],t));return s}}}(),L.MarkerCluster.include({getConvexHull:function(){var t,e,n=this.getAllChildMarkers(),i=[];for(e=n.length-1;e>=0;e--)t=n[e].getLatLng(),i.push(t);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:Math.PI/6,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(),n=this._group,i=n._map,o=i.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,o):(o.y+=10,t=this._generatePointsCircle(e.length,o)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var n,i,o=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t),r=o/this._2PI,a=this._2PI/t,s=[];for(s.length=t,n=t-1;n>=0;n--)i=this._circleStartAngle+n*a,s[n]=new L.Point(e.x+r*Math.cos(i),e.y+r*Math.sin(i))._round();return s},_generatePointsSpiral:function(t,e){var n,i=this._group.options.spiderfyDistanceMultiplier*this._spiralLengthStart,o=this._group.options.spiderfyDistanceMultiplier*this._spiralFootSeparation,r=this._group.options.spiderfyDistanceMultiplier*this._spiralLengthFactor,a=0,s=[];for(s.length=t,n=t-1;n>=0;n--)a+=o/i+5e-4*n,s[n]=new L.Point(e.x+i*Math.cos(a),e.y+i*Math.sin(a))._round(),i+=this._2PI*r/a;return s},_noanimationUnspiderfy:function(){var t,e,n=this._group,i=n._map,o=n._featureGroup,r=this.getAllChildMarkers();for(this.setOpacity(1),e=r.length-1;e>=0;e--)t=r[e],o.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(i.removeLayer(t._spiderLeg),delete t._spiderLeg);n._spiderfied=null}}),L.MarkerCluster.include(L.DomUtil.TRANSITION?{SVG_ANIMATION:function(){return e.createElementNS("http://www.w3.org/2000/svg","animate").toString().indexOf("SVGAnimate")>-1}(),_animationSpiderfy:function(t,n){var i,o,r,a,s=this,l=this._group,u=l._map,c=l._featureGroup,h=u.latLngToLayerPoint(this._latlng);for(i=t.length-1;i>=0;i--)o=t[i],o.setOpacity?(o.setZIndexOffset(1e6),o.setOpacity(0),c.addLayer(o),o._setPos(h)):c.addLayer(o);l._forceLayout(),l._animationStart();var d=L.Path.SVG?0:.3,p=L.Path.SVG_NS;for(i=t.length-1;i>=0;i--)if(a=u.layerPointToLatLng(n[i]),o=t[i],o._preSpiderfyLatlng=o._latlng,o.setLatLng(a),o.setOpacity&&o.setOpacity(1),r=new L.Polyline([s._latlng,a],{weight:1.5,color:"#222",opacity:d}),u.addLayer(r),o._spiderLeg=r,L.Path.SVG&&this.SVG_ANIMATION){var f=r._path.getTotalLength();r._path.setAttribute("stroke-dasharray",f+","+f);var m=e.createElementNS(p,"animate");m.setAttribute("attributeName","stroke-dashoffset"),m.setAttribute("begin","indefinite"),m.setAttribute("from",f),m.setAttribute("to",0),m.setAttribute("dur",.25),r._path.appendChild(m),m.beginElement(),m=e.createElementNS(p,"animate"),m.setAttribute("attributeName","stroke-opacity"),m.setAttribute("attributeName","stroke-opacity"),m.setAttribute("begin","indefinite"),m.setAttribute("from",0),m.setAttribute("to",.5),m.setAttribute("dur",.25),r._path.appendChild(m),m.beginElement()}if(s.setOpacity(.3),L.Path.SVG)for(this._group._forceLayout(),i=t.length-1;i>=0;i--)o=t[i]._spiderLeg,o.options.opacity=.5,o._path.setAttribute("stroke-opacity",.5);setTimeout(function(){l._animationEnd(),l.fire("spiderfied")},200)},_animationUnspiderfy:function(t){var e,n,i,o=this._group,r=o._map,a=o._featureGroup,s=t?r._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):r.latLngToLayerPoint(this._latlng),l=this.getAllChildMarkers(),u=L.Path.SVG&&this.SVG_ANIMATION;for(o._animationStart(),this.setOpacity(1),n=l.length-1;n>=0;
103n--)e=l[n],e._preSpiderfyLatlng&&(e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,e.setOpacity?(e._setPos(s),e.setOpacity(0)):a.removeLayer(e),u&&(i=e._spiderLeg._path.childNodes[0],i.setAttribute("to",i.getAttribute("from")),i.setAttribute("from",0),i.beginElement(),i=e._spiderLeg._path.childNodes[1],i.setAttribute("from",.5),i.setAttribute("to",0),i.setAttribute("stroke-opacity",0),i.beginElement(),e._spiderLeg._path.setAttribute("stroke-opacity",0)));setTimeout(function(){var t=0;for(n=l.length-1;n>=0;n--)e=l[n],e._spiderLeg&&t++;for(n=l.length-1;n>=0;n--)e=l[n],e._spiderLeg&&(e.setOpacity&&(e.setOpacity(1),e.setZIndexOffset(0)),t>1&&a.removeLayer(e),r.removeLayer(e._spiderLeg),delete e._spiderLeg);o._animationEnd()},200)}}:{_animationSpiderfy:function(t,e){var n,i,o,r,a=this._group,s=a._map,l=a._featureGroup;for(n=t.length-1;n>=0;n--)r=s.layerPointToLatLng(e[n]),i=t[n],i._preSpiderfyLatlng=i._latlng,i.setLatLng(r),i.setZIndexOffset&&i.setZIndexOffset(1e6),l.addLayer(i),o=new L.Polyline([this._latlng,r],{weight:1.5,color:"#222"}),s.addLayer(o),i._spiderLeg=o;this.setOpacity(.3),a.fire("spiderfied")},_animationUnspiderfy:function(){this._noanimationUnspiderfy()}}),L.MarkerClusterGroup.include({_spiderfied:null,_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Path.SVG&&!L.Browser.touch&&this._map._initPathRoot()},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.setOpacity(1),t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}})}(window,document),function(){"use strict";L.Control.ZoomHome=L.Control.Zoom.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out",zoomHomeIcon:"home",zoomHomeTitle:"Home",homeCoordinates:null,homeZoom:null},onAdd:function(t){var e="leaflet-control-zoomhome",n=L.DomUtil.create("div",e+" leaflet-bar"),i=this.options;null===i.homeCoordinates&&(i.homeCoordinates=t.getCenter()),null===i.homeZoom&&(i.homeZoom=t.getZoom()),this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn.bind(this));var o='<i class="fa fa-'+i.zoomHomeIcon+'" style="line-height:1.65;"></i>';return this._zoomHomeButton=this._createButton(o,i.zoomHomeTitle,e+"-home",n,this._zoomHome.bind(this)),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut.bind(this)),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n}
103,_zoomHome:function(){this._map.setView(this.options.homeCoordinates,this.options.homeZoom)}}),L.Control.zoomHome=function(t){return new L.Control.ZoomHome(t)}}(),L.Google=L.Class.extend({includes:L.Mixin.Events,options:{minZoom:0,maxZoom:18,tileSize:256,subdomains:"abc",errorTileUrl:"",attribution:"",opacity:1,continuousWorld:!1,noWrap:!1},initialize:function(t,e){L.Util.setOptions(this,e),this._ready=void 0!=google.maps.Map,this._ready||L.Google.asyncWait.push(this),this._type=t||"SATELLITE"},onAdd:function(t,e){this._map=t,this._insertAtTheBottom=e,this._initContainer(),this._initMapObject(),t.on("viewreset",this._resetCallback,this),this._limitedUpdate=L.Util.limitExecByInterval(this._update,150,this),t.on("move",this._update,this),t._controlCorners.bottomright.style.marginBottom="1em",this._reset(),this._update()},onRemove:function(t){this._map._container.removeChild(this._container),this._map.off("viewreset",this._resetCallback,this),this._map.off("move",this._update,this),t._controlCorners.bottomright.style.marginBottom="0em"},getAttribution:function(){return this.options.attribution},setOpacity:function(t){this.options.opacity=t,1>t&&L.DomUtil.setOpacity(this._container,t)},setElementSize:function(t,e){t.style.width=e.x+"px",t.style.height=e.y+"px"},_initContainer:function(){var t=this._map._container,e=t.firstChild;this._container||(this._container=L.DomUtil.create("div","leaflet-google-layer leaflet-top leaflet-left"),this._container.id="_GMapContainer_"+L.Util.stamp(this),this._container.style.zIndex="auto"),t.insertBefore(this._container,e),this.setOpacity(this.options.opacity),this.setElementSize(this._container,this._map.getSize())},_initMapObject:function(){if(this._ready){this._google_center=new google.maps.LatLng(0,0);var t=new google.maps.Map(this._container,{center:this._google_center,zoom:0,tilt:0,mapTypeId:google.maps.MapTypeId[this._type],disableDefaultUI:!0,keyboardShortcuts:!1,draggable:!1,disableDoubleClickZoom:!0,scrollwheel:!1,streetViewControl:!1}),e=this;this._reposition=google.maps.event.addListenerOnce(t,"center_changed",function(){e.onReposition()}),t.backgroundColor="#ff0000",this._google=t}},_resetCallback:function(t){this._reset(t.hard)},_reset:function(){this._initContainer()},_update:function(){if(this._google){this._resize();
103var t=this._map.getBounds(),e=t.getNorthEast(),n=t.getSouthWest(),i=(new google.maps.LatLngBounds(new google.maps.LatLng(n.lat,n.lng),new google.maps.LatLng(e.lat,e.lng)),this._map.getCenter()),o=new google.maps.LatLng(i.lat,i.lng);this._google.setCenter(o),this._google.setZoom(this._map.getZoom())}},_resize:function(){var t=this._map.getSize();(this._container.style.width!=t.x||this._container.style.height!=t.y)&&(this.setElementSize(this._container,t),this.onReposition())},onReposition:function(){this._google&&google.maps.event.trigger(this._google,"resize")}}),L.Google.asyncWait=[],L.Google.asyncInitialize=function(){var t;for(t=0;t<L.Google.asyncWait.length;t++){var e=L.Google.asyncWait[t];e._ready=!0,e._container&&(e._initMapObject(),e._update())}L.Google.asyncWait=[]},L.Yandex=L.Class.extend({includes:L.Mixin.Events,options:{minZoom:0,maxZoom:18,attribution:'<a href="http://geophystech.ru">Geophystech</a> | <a href="http://imgg.ru">IMGG FEB RAS</a>',opacity:1,traffic:!1},initialize:function(t,e){L.Util.setOptions(this,e),this._type="yandex#"+(t||"map")},onAdd:function(t,e){this._map=t,this._insertAtTheBottom=e,this._initContainer(),this._initMapObject(),t.on("viewreset",this._resetCallback,this),this._limitedUpdate=L.Util.limitExecByInterval(this._update,150,this),t.on("move",this._update,this),t._controlCorners.bottomright.style.marginBottom="3em",this._reset(),this._update(!0)},onRemove:function(t){this._map._container.removeChild(this._container),this._map.off("viewreset",this._resetCallback,this),this._map.off("move",this._update,this),t._controlCorners.bottomright.style.marginBottom="0em"},getAttribution:function(){return this.options.attribution},setOpacity:function(t){this.options.opacity=t,1>t&&L.DomUtil.setOpacity(this._container,t)},setElementSize:function(t,e){t.style.width=e.x+"px",t.style.height=e.y+"px"},_initContainer:function(){var t=this._map._container,e=t.firstChild;this._container||(this._container=L.DomUtil.create("div","leaflet-yandex-layer leaflet-top leaflet-left"),this._container.id="_YMapContainer_"+L.Util.stamp(this),this._container.style.zIndex="auto"),this.options.overlay&&(e=this._map._container.getElementsByClassName("leaflet-map-pane")[0],e=e.nextSibling,L.Browser.opera&&(this._container.className+=" leaflet-objects-pane")),t.insertBefore(this._container,e),this.setOpacity(this.options.opacity),this.setElementSize(this._container,this._map.getSize())},_initMapObject:function(){if(!this._yandex){if(void 0===ymaps.Map)return console.debug("L.Yandex: Waiting on ymaps.load('package.map')"),ymaps.load(["package.map"],this._initMapObject,this);if(this.options.traffic&&(void 0===ymaps.control||void 0===ymaps.control.TrafficControl))return console.debug("L.Yandex: loading traffic and controls"),ymaps.load(["package.traffic","package.controls"],this._initMapObject,this);var t=new ymaps.Map(this._container,{center:[0,0],zoom:0,behaviors:[]});this.options.traffic&&t.controls.add(new ymaps.control.TrafficControl({shown:!0})),"yandex#null"==this._type&&(this._type=new ymaps.MapType("null",[]),t.container.getElement().style.background="transparent"),t.setType(this._type),this._yandex=t,this._update(!0)}},_resetCallback:function(t){this._reset(t.hard)},_reset:function(){this._initContainer()},_update:function(t){if(this._yandex){this._resize(t);var e=this._map.getCenter(),n=[e.lat,e.lng],i=this._map.getZoom();(t||this._yandex.getZoom()!=i)&&this._yandex.setZoom(i),this._yandex.panTo(n,{duration:0,delay:0})}},_resize:function(t){var e=this._map.getSize(),n=this._container.style;if(n.width!=e.x+"px"||n.height!=e.y+"px"||1==t){this.setElementSize(this._container,e);{var i=this._map.getBounds();
103i.getSouthWest(),i.getNorthEast()}this._yandex.container.fitToViewport()}}}),function(t,e){function n(){var t=m.elements;return"string"==typeof t?t.split(" "):t}function i(t){var e=f[t[d]];return e||(e={},p++,t[d]=p,f[p]=e),e}function o(t,n,o){return n||(n=e),l?n.createElement(t):(o||(o=i(n)),n=o.cache[t]?o.cache[t].cloneNode():h.test(t)?(o.cache[t]=o.createElem(t)).cloneNode():o.createElem(t),n.canHaveChildren&&!c.test(t)?o.frag.appendChild(n):n)}function r(t,e){e.cache||(e.cache={},e.createElem=t.createElement,e.createFrag=t.createDocumentFragment,e.frag=e.createFrag()),t.createElement=function(n){return m.shivMethods?o(n,t,e):e.createElem(n)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/[\w\-]+/g,function(t){return e.createElem(t),e.frag.createElement(t),'c("'+t+'")'})+");return n}")(m,e.frag)}function a(t){t||(t=e);var n=i(t);if(m.shivCSS&&!s&&!n.hasCSS){var o,a=t;o=a.createElement("p"),a=a.getElementsByTagName("head")[0]||a.documentElement,o.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>",o=a.insertBefore(o.lastChild,a.firstChild),n.hasCSS=!!o}return l||r(t,n),t}var s,l,u=t.html5||{},c=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,h=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,d="_html5shiv",p=0,f={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",s="hidden"in t;var n;if(!(n=1==t.childNodes.length)){e.createElement("a");var i=e.createDocumentFragment();n="undefined"==typeof i.cloneNode||"undefined"==typeof i.createDocumentFragment||"undefined"==typeof i.createElement}l=n}catch(o){l=s=!0}}();var m={elements:u.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==u.shivCSS,supportsUnknownElements:l,shivMethods:!1!==u.shivMethods,type:"default",shivDocument:a,createElement:o,createDocumentFragment:function(t,o){if(t||(t=e),l)return t.createDocumentFragment();for(var o=o||i(t),r=o.frag.cloneNode(),a=0,s=n(),u=s.length;u>a;a++)r.createElement(s[a]);return r}};t.html5=m,a(e)}(this,document),/* HTML5 Placeholder jQuery Plugin - v2.1.0
104 * Copyright (c)2015 Mathias Bynens
105 * 2015-01-27
106 */
107!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(e){var n={},i=/^jQuery\d+$/;return t.each(e.attributes,function(t,e){e.specified&&!i.test(e.name)&&(n[e.name]=e.value)}),n}function n(e,n){var i=this,r=t(i);if(i.value==r.attr("placeholder")&&r.hasClass(d.customClass))if(r.data("placeholder-password")){if(r=r.hide().nextAll('input[type="password"]:first').show().attr("id",r.removeAttr("id").data("placeholder-id")),e===!0)return r[0].value=n;r.focus()}else i.value="",r.removeClass(d.customClass),i==o()&&i.select()}function i(){var i,o=this,r=t(o),a=this.id;if(""===o.value){if("password"===o.type){if(!r.data("placeholder-textinput")){try{i=r.clone().attr({type:"text"})}catch(s){i=t("<input>").attr(t.extend(e(this),{type:"text"}))}i.removeAttr("name").data({"placeholder-password":r,"placeholder-id":a}).bind("focus.placeholder",n),r.data({"placeholder-textinput":i,"placeholder-id":a}).before(i)}r=r.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",a).show()}r.addClass(d.customClass),r[0].value=r.attr("placeholder")}else r.removeClass(d.customClass)}function o(){try{return document.activeElement}catch(t){}}var r,a,s="[object OperaMini]"==Object.prototype.toString.call(window.operamini),l="placeholder"in document.createElement("input")&&!s,u="placeholder"in document.createElement("textarea")&&!s,c=t.valHooks,h=t.propHooks;if(l&&u)a=t.fn.placeholder=function(){return this},a.input=a.textarea=!0;else{var d={};a=t.fn.placeholder=function(e){var o={customClass:"placeholder"};d=t.extend({},o,e);var r=this;return r.filter((l?"textarea":":input")+"[placeholder]").not("."+d.customClass).bind({"focus.placeholder":n,"blur.placeholder":i}).data("placeholder-enabled",!0).trigger("blur.placeholder"),r},a.input=l,a.textarea=u,r={get:function(e){var n=t(e),i=n.data("placeholder-password");return i?i[0].value:n.data("placeholder-enabled")&&n.hasClass(d.customClass)?"":e.value},set:function(e,r){var a=t(e),s=a.data("placeholder-password");return s?s[0].value=r:a.data("placeholder-enabled")?(""===r?(e.value=r,e!=o()&&i.call(e)):a.hasClass(d.customClass)?n.call(e,!0,r)||(e.value=r):e.value=r,a):e.value=r}},l||(c.input=r,h.value=r),u||(c.textarea=r,h.value=r),t(function(){t(document).delegate("form","submit.placeholder",function(){var e=t("."+d.customClass,this).each(n);setTimeout(function(){e.each(i)},10)})}),t(window).bind("beforeunload.placeholder",function(){t("."+d.customClass).each(function(){this.value=""})})}}
vendor: 6,198 bytes, lines 107-115
107),/*! Respond.js v1.4.2: min/max-width media query polyfill * Copyright 2013 Scott Jehl
108 * Licensed under https://github.com/scottjehl/Respond/blob/master/LICENSE-MIT
109 *  */
110!function(t){"use strict";t.matchMedia=t.matchMedia||function(t){var e,n=t.documentElement,i=n.firstElementChild||n.firstChild,o=t.createElement("body"),r=t.createElement("div");return r.id="mq-test-1",r.style.cssText="position:absolute;top:-100em",o.style.background="none",o.appendChild(r),function(t){return r.innerHTML='&shy;<style media="'+t+'"> #mq-test-1 { width: 42px; }</style>',n.insertBefore(o,i),e=42===r.offsetWidth,n.removeChild(o),{matches:e,media:t}}}(t.document)}(this),function(t){"use strict";function e(){b(!0)}var n={};t.respond=n,n.update=function(){};var i=[],o=function(){var e=!1;try{e=new t.XMLHttpRequest}catch(n){e=new t.ActiveXObject("Microsoft.XMLHTTP")}return function(){return e}}(),r=function(t,e){var n=o();n&&(n.open("GET",t,!0),n.onreadystatechange=function(){4!==n.readyState||200!==n.status&&304!==n.status||e(n.responseText)},4!==n.readyState&&n.send(null))};if(n.ajax=r,n.queue=i,n.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media *([^\{]+)\{([\S\s]+?)$/,only:/(only\s+)?([a-zA-Z]+)\s?/,minw:/\([\s]*min\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/,maxw:/\([\s]*max\-width\s*:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/},n.mediaQueriesSupported=t.matchMedia&&null!==t.matchMedia("only all")&&t.matchMedia("only all").matches,!n.mediaQueriesSupported){var a,s,l,u=t.document,c=u.documentElement,h=[],d=[],p=[],f={},m=30,g=u.getElementsByTagName("head")[0]||c,_=u.getElementsByTagName("base")[0],v=g.getElementsByTagName("link"),y=function(){var t,e=u.createElement("div"),n=u.body,i=c.style.fontSize,o=n&&n.style.fontSize,r=!1;return e.style.cssText="position:absolute;font-size:1em;width:1em",n||(n=r=u.createElement("body"),n.style.background="none"),c.style.fontSize="100%",n.style.fontSize="100%",n.appendChild(e),r&&c.insertBefore(n,c.firstChild),t=e.offsetWidth,r?c.removeChild(n):n.removeChild(e),c.style.fontSize=i,o&&(n.style.fontSize=o),t=l=parseFloat(t)},b=function(e){var n="clientWidth",i=c[n],o="CSS1Compat"===u.compatMode&&i||u.body[n]||i,r={},f=v[v.length-1],_=(new Date).getTime();if(e&&a&&m>_-a)return t.clearTimeout(s),void(s=t.setTimeout(b,m));a=_;for(var L in h)if(h.hasOwnProperty(L)){var w=h[L],x=w.minw,S=w.maxw,C=null===x,P=null===S,k="em";x&&(x=parseFloat(x)*(x.indexOf(k)>-1?l||y():1)),S&&(S=parseFloat(S)*(S.indexOf(k)>-1?l||y():1)),w.hasquery&&(C&&P||!(C||o>=x)||!(P||S>=o))||(r[w.media]||(r[w.media]=[]),r[w.media].push(d[w.rules]))}for(var T in p)p.hasOwnProperty(T)&&p[T]&&p[T].parentNode===g&&g.removeChild(p[T]);p.length=0;for(var D in r)if(r.hasOwnProperty(D)){var E=u.createElement("style"),M=r[D].join("\n");E.type="text/css",E.media=D,g.insertBefore(E,f.nextSibling),E.styleSheet?E.styleSheet.cssText=M:E.appendChild(u.createTextNode(M)),p.push(E)}},L=function(t,e,i){var o=t.replace(n.regex.keyframes,"").match(n.regex.media),r=o&&o.length||0;e=e.substring(0,e.lastIndexOf("/"));var a=function(t){return t.replace(n.regex.urls,"$1"+e+"$2$3")},s=!r&&i;e.length&&(e+="/"),s&&(r=1);for(var l=0;r>l;l++){var u,c,p,f;s?(u=i,d.push(a(t))):(u=o[l].match(n.regex.findStyles)&&RegExp.$1,d.push(RegExp.$2&&a(RegExp.$2))),p=u.split(","),f=p.length;for(var m=0;f>m;m++)c=p[m],h.push({media:c.split("(")[0].match(n.regex.only)&&RegExp.$2||"all",rules:d.length-1,hasquery:c.indexOf("(")>-1,minw:c.match(n.regex.minw)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:c.match(n.regex.maxw)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}b()},w=function(){if(i.length){var e=i.shift();r(e.href,function(n){L(n,e.href,e.media),f[e.href]=!0,t.setTimeout(function(){w()},0)})}},x=function(){for(var e=0;e<v.length;e++){var n=v[e],o=n.href,r=n.media,a=n.rel&&"stylesheet"===n.rel.toLowerCase();o&&a&&!f[o]&&(n.styleSheet&&n.styleSheet.rawCssText?(L(n.styleSheet.rawCssText,o,r),f[o]=!0):(!/^([a-zA-Z:]*\/\/)/.test(o)&&!_||o.replace(RegExp.$1,"").split("/")[0]===t.location.host)&&("//"===o.substring(0,2)&&(o=t.location.protocol+o),i.push({href:o,media:r})))}w()};x(),n.update=x,n.getEmValue=y,t.addEventListener?t.addEventListener("resize",e,!1):t.attachEvent&&t.attachEvent("onresize",e)}}(this),function(){this.LoadingIndicator=function(){function t(t,e){var n;t.length&&(this.id=t),t.html(""),t.html('<div class="loading-indicator-container"><div class="loading-indicator"></div></div>'),n=t.find(".loading-indicator-container").find(".loading-indicator"),n.css("height",e+"px"),n.css("width",e+"px")}return t.prototype.hide=function(){return this.id.length?this.id.find(".loading-indicator-container").remove():void 0},t}()}.call(this),jQuery(document).ready(function(){jQuery("#scrollup img").mouseover(function(){jQuery(this).animate({opacity:.65},100)}).mouseout(function(){jQuery(this).animate({opacity:1},100)}).click(function(){$("html, body").animate({scrollTop:0},100)}),jQuery(window).scroll(function(){jQuery(document).scrollTop()>100?jQuery("#scrollup").fadeIn("fast"):jQuery("#scrollup").fadeOut("fast")})}),//! moment.js
111//! version : 2.10.6
112//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
113//! license : MIT
114//! momentjs.com
115!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";function t(){return $i.apply(null,arguments)}function e(t){$i=t}function n(t){return"[object Array]"===Object.prototype.toString.call(t)}function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function o(t,e){var n,i=[];for(n=0;n<t.length;++n)i.push(e(t[n],n));return i}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return r(e,"toString")&&(t.toString=e.toString),r(e,"valueOf")&&(t.valueOf=e.valueOf),t}function s(t,e,n,i){return Te(t,e,n,i,!0).utc()}function l(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invali
vendor: 13,439 bytes, line 115
115dFormat:!1,userInvalidated:!1,iso:!1}}function u(t){return null==t._pf&&(t._pf=l()),t._pf}function c(t){if(null==t._isValid){var e=u(t);t._isValid=!(isNaN(t._d.getTime())||!(e.overflow<0)||e.empty||e.invalidMonth||e.invalidWeekday||e.nullInput||e.invalidFormat||e.userInvalidated),t._strict&&(t._isValid=t._isValid&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour)}return t._isValid}function h(t){var e=s(0/0);return null!=t?a(u(e),t):u(e).userInvalidated=!0,e}function d(t,e){var n,i,o;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=u(e)),"undefined"!=typeof e._locale&&(t._locale=e._locale),Ni.length>0)for(n in Ni)i=Ni[n],o=e[i],"undefined"!=typeof o&&(t[i]=o);return t}function p(e){d(this,e),this._d=new Date(null!=e._d?e._d.getTime():0/0),Fi===!1&&(Fi=!0,t.updateOffset(this),Fi=!1)}function f(t){return t instanceof p||null!=t&&null!=t._isAMomentObject}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=m(e)),n}function _(t,e,n){var i,o=Math.min(t.length,e.length),r=Math.abs(t.length-e.length),a=0;for(i=0;o>i;i++)(n&&t[i]!==e[i]||!n&&g(t[i])!==g(e[i]))&&a++;return a+r}function v(){}function y(t){return t?t.toLowerCase().replace("_","-"):t}function b(t){for(var e,n,i,o,r=0;r<t.length;){for(o=y(t[r]).split("-"),e=o.length,n=y(t[r+1]),n=n?n.split("-"):null;e>0;){if(i=L(o.slice(0,e).join("-")))return i;if(n&&n.length>=e&&_(o,n,!0)>=e-1)break;e--}r++}return null}function L(t){var e=null;if(!zi[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=Ii._abbr,require("./locale/"+t),w(e)}catch(n){}return zi[t]}function w(t,e){var n;return t&&(n="undefined"==typeof e?S(t):x(t,e),n&&(Ii=n)),Ii._abbr}function x(t,e){return null!==e?(e.abbr=t,zi[t]=zi[t]||new v,zi[t].set(e),w(t),zi[t]):(delete zi[t],null)}function S(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Ii;if(!n(t)){if(e=L(t))return e;t=[t]}return b(t)}function C(t,e){var n=t.toLowerCase();Ui[n]=Ui[n+"s"]=Ui[e]=t}function P(t){return"string"==typeof t?Ui[t]||Ui[t.toLowerCase()]:void 0}function k(t){var e,n,i={};for(n in t)r(t,n)&&(e=P(n),e&&(i[e]=t[n]));return i}function T(e,n){return function(i){return null!=i?(E(this,e,i),t.updateOffset(this,n),this):D(this,e)}}function D(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function E(t,e,n){return t._d["set"+(t._isUTC?"UTC":"")+e](n)}function M(t,e){var n;if("object"==typeof t)for(n in t)this.set(n,t[n]);else if(t=P(t),"function"==typeof this[t])return this[t](e);return this}function O(t,e,n){var i=""+Math.abs(t),o=e-i.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}function A(t,e,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),t&&(Hi[t]=o),e&&(Hi[e[0]]=function(){return O(o.apply(this,arguments),e[1],e[2])}),n&&(Hi[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function $(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function I(t){var e,n,i=t.match(Bi);for(e=0,n=i.length;n>e;e++)i[e]=Hi[i[e]]?Hi[i[e]]:$(i[e]);return function(o){var r="";for(e=0;n>e;e++)r+=i[e]instanceof Function?i[e].call(o,t):i[e];return r}}function N(t,e){return t.isValid()?(e=F(e,t.localeData()),ji[e]=ji[e]||I(e),ji[e](t)):t.localeData().invalidDate()}function F(t,e){function n(t){return e.longDateFormat(t)||t}var i=5;for(Ri.lastIndex=0;i>=0&&Ri.test(t);)t=t.replace(Ri,n),Ri.lastIndex=0,i-=1;return t}function z(t){return"function"==typeof t&&"[object Function]"===Object.prototype.toString.call(t)}function U(t,e,n){oo[t]=z(e)?e:function(t){return t&&n?n:e}}function B(t,e){return r(oo,t)?oo[t](e._strict,e._locale):new RegExp(R(t))}function R(t){return t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function j(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),"number"==typeof e&&(i=function(t,n){n[e]=g(t)}),n=0;n<t.length;n++)ro[t[n]]=i}function H(t,e){j(t,function(t,n,i,o){i._w=i._w||{},e(t,i._w,i,o)})}function G(t,e,n){null!=e&&r(ro,t)&&ro[t](e,n._a,n,t)}function Z(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function W(t){return this._months[t.month()]}function q(t){return this._monthsShort[t.month()]}function Y(t,e,n){var i,o,r;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;12>i;i++){if(o=s([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}}function V(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),Z(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function X(e){return null!=e?(V(this,e),t.updateOffset(this,!0),this):D(this,"Month")}function J(){return Z(this.year(),this.month())}function Q(t){var e,n=t._a;return n&&-2===u(t).overflow&&(e=n[so]<0||n[so]>11?so:n[lo]<1||n[lo]>Z(n[ao],n[so])?lo:n[uo]<0||n[uo]>24||24===n[uo]&&(0!==n[co]||0!==n[ho]||0!==n[po])?uo:n[co]<0||n[co]>59?co:n[ho]<0||n[ho]>59?ho:n[po]<0||n[po]>999?po:-1,u(t)._overflowDayOfYear&&(ao>e||e>lo)&&(e=lo),u(t).overflow=e),t}function K(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function te(t,e){var n=!0;return a(function(){return n&&(K(t+"\n"+(new Error).stack),n=!1),e.apply(this,arguments)},e)}function ee(t,e){go[t]||(K(e),go[t]=!0)}function ne(t){var e,n,i=t._i,o=_o.exec(i);if(o){for(u(t).iso=!0,e=0,n=vo.length;n>e;e++)if(vo[e][1].exec(i)){t._f=vo[e][0];break}for(e=0,n=yo.length;n>e;e++)if(yo[e][1].exec(i)){t._f+=(o[6]||" ")+yo[e][0];break}i.match(eo)&&(t._f+="Z"),Le(t)}else t._isValid=!1}function ie(e){var n=bo.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ne(e),void(e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e))))}function oe(t,e,n,i,o,r,a){var s=new Date(t,e,n,i,o,r,a);return 1970>t&&s.setFullYear(t),s}function re(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function ae(t){return se(t)?366:365}function se(t){return t%4===0&&t%100!==0||t%400===0}function le(){return se(this.year())}function ue(t,e,n){var i,o=n-e,r=n-t.day();return r>o&&(r-=7),o-7>r&&(r+=7),i=De(t).add(r,"d"),{week:Math.ceil(i.dayOfYear()/7),year:i.year()}}function ce(t){return ue(t,this._week.dow,this._week.doy).week}function he(){return this._week.dow}function de(){return this._week.doy}function pe(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function fe(t){var e=ue(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function me(t,e,n,i,o){var r,a=6+o-i,s=re(t,0,1+a),l=s.getUTCDay();return o>l&&(l+=7),n=null!=n?1*n:o,r=1+a+7*(e-1)-l+n,{year:r>0?t:t-1,dayOfYear:r>0?r:ae(t-1)+r}}function ge(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function _e(t,e,n){return null!=t?t:null!=e?e:n}function ve(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function ye(t){var e,n,i,o,r=[];if(!t._d){for(i=ve(t),t._w&&null==t._a[lo]&&null==t._a[so]&&be(t),t._dayOfYear&&(o=_e(t._a[ao],i[ao]),t._dayOfYear>ae(o)&&(u(t)._overflowDayOfYear=!0),n=re(o,0,t._dayOfYear),t._a[so]=n.getUTCMonth(),t._a[lo]=n.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=r[e]=i[e];for(;7>e;e++)t._a[e]=r[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[uo]&&0===t._a[co]&&0===t._a[ho]&&0===t._a[po]&&(t._nextDay=!0,t._a[uo]=0),t._d=(t._useUTC?re:oe).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[uo]=24)}}function be(t){var e,n,i,o,r,a,s;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(r=1,a=4,n=_e(e.GG,t._a[ao],ue(De(),1,4).year),i=_e(e.W,1),o=_e(e.E,1)):(r=t._locale._week.dow,a=t._locale._week.doy,n=_e(e.gg,t._a[ao],ue(De(),r,a).year),i=_e(e.w,1),null!=e.d?(o=e.d,r>o&&++i):o=null!=e.e?e.e+r:r),s=me(n,i,o,a,r),t._a[ao]=s.year,t._dayOfYear=s.dayOfYear}function Le(e){if(e._f===t.ISO_8601)return void ne(e);e._a=[],u(e).empty=!0;var n,i,o,r,a,s=""+e._i,l=s.length,c=0;for(o=F(e._f,e._locale).match(Bi)||[],n=0;n<o.length;n++)r=o[n],i=(s.match(B(r,e))||[])[0],i&&(a=s.substr(0,s.indexOf(i)),a.length>0&&u(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),Hi[r]?(i?u(e).empty=!1:u(e).unusedTokens.push(r),G(r,i,e)):e._strict&&!i&&u(e).unusedTokens.push(r);u(e).charsLeftOver=l-c,s.length>0&&u(e).unusedInput.push(s),u(e).bigHour===!0&&e._a[uo]<=12&&e._a[uo]>0&&(u(e).bigHour=void 0),e._a[uo]=we(e._locale,e._a[uo],e._meridiem),ye(e),Q(e)}function we(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(i=t.isPM(n),i&&12>e&&(e+=12),i||12!==e||(e=0),e):e}function xe(t){var e,n,i,o,r;if(0===t._f.length)return u(t).invalidFormat=!0,void(t._d=new Date(0/0));for(o=0;o<t._f.length;o++)r=0,e=d({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[o],Le(e),c(e)&&(r+=u(e).charsLeftOver,r+=10*u(e).unusedTokens.length,u(e).score=r,(null==i||i>r)&&(i=r,n=e));a(t,n||e)}function Se(t){if(!t._d){var e=k(t._i);t._a=[e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],ye(t)}}function Ce(t){var e=new p(Q(Pe(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Pe(t){var e=t._i,o=t._f;return t._locale=t._locale||S(t._l),null===e||void 0===o&&""===e?h({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),f(e)?new p(Q(e)):(n(o)?xe(t):o?Le(t):i(e)?t._d=e:ke(t),t))}function ke(e){var r=e._i;void 0===r?e._d=new Date:i(r)?e._d=new Date(+r):"string"==typeof r?ie(e):n(r)?(e._a=o(r.slice(0),function(t){return parseInt(t,10)}),ye(e)):"object"==typeof r?Se(e):"number"==typeof r?e._d=new Date(r):t.createFromInputFallback(e)}function Te(t,e,n,i,o){var r={};return"boolean"==typeof n&&(i=n,n=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=o,r._l=n,r._i=t,r._f=e,r._strict=i,Ce(r)}function De(t,e,n,i){return Te(t,e,n,i,!1)}function Ee(t,e){var i,o;if(1===e.length&&n(e[0])&&(e=e[0]),!e.length)return De();for(i=e[0],o=1;o<e.length;++o)(!e[o].isValid()||e[o][t](i))&&(i=e[o]);return i}function Me(){var t=[].slice.call(arguments,0);return Ee("isBefore",t)}function Oe(){var t=[].slice.call(arguments,0);return Ee("isAfter",t)}function Ae(t){var e=k(t),n=e.year||0,i=e.quarter||0,o=e.month||0,r=e.week||0,a=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*s,this._days=+a+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=S(),this._bubble()}function $e(t){return t instanceof Ae}function Ie(t,e){A(t,0,0,function(){var t=this.utcOffset(),n="+";return 0>t&&(t=-t,n="-"),n+O(~~(t/60),2)+e+O(~~t%60,2)})}function Ne(t){var e=(t||"").match(eo)||[],n=e[e.length-1]||[],i=(n+"").match(Co)||["-",0,0],o=+(60*i[1])+g(i[2]);return"+"===i[0]?o:-o}function Fe(e,n){var o,r;return n._isUTC?(o=n.clone(),r=(f(e)||i(e)?+e:+De(e))-+o,o._d.setTime(+o._d+r),t.updateOffset(o,!1),o):De(e).local()}function ze(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ue(e,n){var i,o=this._offset||0;return null!=e?("string"==typeof e&&(e=Ne(e)),Math.abs(e)<16&&(e=60*e),!this._isUTC&&n&&(i=ze(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!n||this._changeInProgress?en(this,Xe(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?o:ze(this)}function Be(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Re(t){return this.utcOffset(0,t)}function je(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ze(this),"m")),this}function He(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ne(this._i)),this}function Ge(t){return t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60===0}function Ze(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function We(){if("undefined"!=typeof this._isDSTShifted)return this._isDSTShifted;var t={};if(d(t,this),t=Pe(t),t._a){var e=t._isUTC?s(t._a):De(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function qe(){return!this._isUTC}function Ye(){return this._isUTC}function Ve(){return this._isUTC&&0===this._offset}function Xe(t,e){var n,i,o,a=t,s=null;return $e(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(a={},e?a[e]=t:a.milliseconds=t):(s=Po.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:g(s[lo])*n,h:g(s[uo])*n,m:g(s[co])*n,s:g(s[ho])*n,ms:g(s[po])*n}
115):(s=ko.exec(t))?(n="-"===s[1]?-1:1,a={y:Je(s[2],n),M:Je(s[3],n),d:Je(s[4],n),h:Je(s[5],n),m:Je(s[6],n),s:Je(s[7],n),w:Je(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=Ke(De(a.from),De(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),i=new Ae(a),$e(t)&&r(t,"_locale")&&(i._locale=t._locale),i}function Je(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Qe(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ke(t,e){var n;return e=Fe(e,t),t.isBefore(e)?n=Qe(t,e):(n=Qe(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function tn(t,e){return function(n,i){var o,r;return null===i||isNaN(+i)||(ee(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),r=n,n=i,i=r),n="string"==typeof n?+n:n,o=Xe(n,i),en(this,o,t),this}}function en(e,n,i,o){var r=n._milliseconds,a=n._days,s=n._months;o=null==o?!0:o,r&&e._d.setTime(+e._d+r*i),a&&E(e,"Date",D(e,"Date")+a*i),s&&V(e,D(e,"Month")+s*i),o&&t.updateOffset(e,a||s)}function nn(t,e){var n=t||De(),i=Fe(n,this).startOf("day"),o=this.diff(i,"days",!0),r=-6>o?"sameElse":-1>o?"lastWeek":0>o?"lastDay":1>o?"sameDay":2>o?"nextDay":7>o?"nextWeek":"sameElse";return this.format(e&&e[r]||this.localeData().calendar(r,this,De(n)))}function on(){return new p(this)}function rn(t,e){var n;return e=P("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=f(t)?t:De(t),+this>+t):(n=f(t)?+t:+De(t),n<+this.clone().startOf(e))}function an(t,e){var n;return e=P("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=f(t)?t:De(t),+t>+this):(n=f(t)?+t:+De(t),+this.clone().endOf(e)<n)}function sn(t,e,n){return this.isAfter(t,n)&&this.isBefore(e,n)}function ln(t,e){var n;return e=P(e||"millisecond"),"millisecond"===e?(t=f(t)?t:De(t),+this===+t):(n=+De(t),+this.clone().startOf(e)<=n&&n<=+this.clone().endOf(e))}function un(t,e,n){var i,o,r=Fe(t,this),a=6e4*(r.utcOffset()-this.utcOffset());return e=P(e),"year"===e||"month"===e||"quarter"===e?(o=cn(this,r),"quarter"===e?o/=3:"year"===e&&(o/=12)):(i=this-r,o="second"===e?i/1e3:"minute"===e?i/6e4:"hour"===e?i/36e5:"day"===e?(i-a)/864e5:"week"===e?(i-a)/6048e5:i),n?o:m(o)}function cn(t,e){var n,i,o=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(o,"months");return 0>e-r?(n=t.clone().add(o-1,"months"),i=(e-r)/(r-n)):(n=t.clone().add(o+1,"months"),i=(e-r)/(n-r)),-(o+i)}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dn(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():N(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):N(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function pn(e){var n=N(this,e||t.defaultFormat);return this.localeData().postformat(n)}function fn(t,e){return this.isValid()?Xe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function mn(t){return this.from(De(),t)}function gn(t,e){return this.isValid()?Xe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function _n(t){return this.to(De(),t)}function vn(t){var e;return void 0===t?this._locale._abbr:(e=S(t),null!=e&&(this._locale=e),this)}function yn(){return this._locale}function bn(t){switch(t=P(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this}function Ln(t){return t=P(t),void 0===t||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")}function wn(){return+this._d-6e4*(this._offset||0)}function xn(){return Math.floor(+this/1e3)}function Sn(){return this._offset?new Date(+this):this._d}function Cn(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function Pn(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function kn(){return c(this)}function Tn(){return a({},u(this))}function Dn(){return u(this).overflow}function En(t,e){A(0,[t,t.length],0,e)}function Mn(t,e,n){return ue(De([t,11,31+e-n]),e,n).week}function On(t){var e=ue(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")}function An(t){var e=ue(this,1,4).year;return null==t?e:this.add(t-e,"y")}function $n(){return Mn(this.year(),1,4)}function In(){var t=this.localeData()._week;return Mn(this.year(),t.dow,t.doy)}function Nn(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Fn(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function zn(t){return this._weekdays[t.day()]}function Un(t){return this._weekdaysShort[t.day()]}function Bn(t){return this._weekdaysMin[t.day()]}function Rn(t){var e,n,i;for(this._weekdaysParse=this._weekdaysParse||[],e=0;7>e;e++)if(this._weekdaysParse[e]||(n=De([2e3,1]).day(e),i="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(i.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e}function jn(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Fn(t,this.localeData()),this.add(t-e,"d")):e}function Hn(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Gn(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)}function Zn(t,e){A(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Wn(t,e){return e._meridiemParse}function qn(t){return"p"===(t+"").toLowerCase().charAt(0)}function Yn(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Vn(t,e){e[po]=g(1e3*("0."+t))}function Xn(){return this._isUTC?"UTC":""}function Jn(){return this._isUTC?"Coordinated Universal Time":""}function Qn(t){return De(1e3*t)}function Kn(){return De.apply(null,arguments).parseZone()}function ti(t,e,n){var i=this._calendar[t];return"function"==typeof i?i.call(e,n):i}function ei(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])}function ni(){return this._invalidDate}function ii(t){return this._ordinal.replace("%d",t)}function oi(t){return t}function ri(t,e,n,i){var o=this._relativeTime[n];return"function"==typeof o?o(t,e,n,i):o.replace(/%d/i,t)}function ai(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)}function si(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function li(t,e,n,i){var o=S(),r=s().set(i,e);return o[n](r,t)}function ui(t,e,n,i,o){if("number"==typeof t&&(e=t,t=void 0),t=t||"",null!=e)return li(t,e,n,o);var r,a=[];for(r=0;i>r;r++)a[r]=li(t,r,n,o);return a}function ci(t,e){return ui(t,e,"months",12,"month")}function hi(t,e){return ui(t,e,"monthsShort",12,"month")}function di(t,e){return ui(t,e,"weekdays",7,"day")}function pi(t,e){return ui(t,e,"weekdaysShort",7,"day")}function fi(t,e){return ui(t,e,"weekdaysMin",7,"day")}function mi(){var t=this._data;return this._milliseconds=Xo(this._milliseconds),this._days=Xo(this._days),this._months=Xo(this._months),t.milliseconds=Xo(t.milliseconds),t.seconds=Xo(t.seconds),t.minutes=Xo(t.minutes),t.hours=Xo(t.hours),t.months=Xo(t.months),t.years=Xo(t.years),this}function gi(t,e,n,i){var o=Xe(e,n);return t._milliseconds+=i*o._milliseconds,t._days+=i*o._days,t._months+=i*o._months,t._bubble()}function _i(t,e){return gi(this,t,e,1)}function vi(t,e){return gi(this,t,e,-1)}function yi(t){return 0>t?Math.floor(t):Math.ceil(t)}function bi(){var t,e,n,i,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||0>=r&&0>=a&&0>=s||(r+=864e5*yi(wi(s)+a),a=0,s=0),l.milliseconds=r%1e3,t=m(r/1e3),l.seconds=t%60,e=m(t/60),l.minutes=e%60,n=m(e/60),l.hours=n%24,a+=m(n/24),o=m(Li(a)),s+=o,a-=yi(wi(o)),i=m(s/12),s%=12,l.days=a,l.months=s,l.years=i,this}function Li(t){return 4800*t/146097}function wi(t){return 146097*t/4800}function xi(t){var e,n,i=this._milliseconds;if(t=P(t),"month"===t||"year"===t)return e=this._days+i/864e5,n=this._months+Li(e),"month"===t?n:n/12;switch(e=this._days+Math.round(wi(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}}function Si(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*g(this._months/12)}function Ci(t){return function(){return this.as(t)}}function Pi(t){return t=P(t),this[t+"s"]()}function ki(t){return function(){return this._data[t]}}function Ti(){return m(this.days()/7)}function Di(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}function Ei(t,e,n){var i=Xe(t).abs(),o=dr(i.as("s")),r=dr(i.as("m")),a=dr(i.as("h")),s=dr(i.as("d")),l=dr(i.as("M")),u=dr(i.as("y")),c=o<pr.s&&["s",o]||1===r&&["m"]||r<pr.m&&["mm",r]||
vendor: 9,395 bytes, lines 115-116
1151===a&&["h"]||a<pr.h&&["hh",a]||1===s&&["d"]||s<pr.d&&["dd",s]||1===l&&["M"]||l<pr.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=n,Di.apply(null,c)}function Mi(t,e){return void 0===pr[t]?!1:void 0===e?pr[t]:(pr[t]=e,!0)}function Oi(t){var e=this.localeData(),n=Ei(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function Ai(){var t,e,n,i=fr(this._milliseconds)/1e3,o=fr(this._days),r=fr(this._months);t=m(i/60),e=m(t/60),i%=60,t%=60,n=m(r/12),r%=12;var a=n,s=r,l=o,u=e,c=t,h=i,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||h?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(h?h+"S":""):"P0D"}var $i,Ii,Ni=t.momentProperties=[],Fi=!1,zi={},Ui={},Bi=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ri=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ji={},Hi={},Gi=/\d/,Zi=/\d\d/,Wi=/\d{3}/,qi=/\d{4}/,Yi=/[+-]?\d{6}/,Vi=/\d\d?/,Xi=/\d{1,3}/,Ji=/\d{1,4}/,Qi=/[+-]?\d{1,6}/,Ki=/\d+/,to=/[+-]?\d+/,eo=/Z|[+-]\d\d:?\d\d/gi,no=/[+-]?\d+(\.\d{1,3})?/,io=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,oo={},ro={},ao=0,so=1,lo=2,uo=3,co=4,ho=5,po=6;A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),A("MMMM",0,0,function(t){return this.localeData().months(this,t)}),C("month","M"),U("M",Vi),U("MM",Vi,Zi),U("MMM",io),U("MMMM",io),j(["M","MM"],function(t,e){e[so]=g(t)-1}),j(["MMM","MMMM"],function(t,e,n,i){var o=n._locale.monthsParse(t,i,n._strict);null!=o?e[so]=o:u(n).invalidMonth=t});var fo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),go={};t.suppressDeprecationWarnings=!1;var _o=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],yo=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],bo=/^\/?Date\((\-?\d+)/i;t.createFromInputFallback=te("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),C("year","y"),U("Y",to),U("YY",Vi,Zi),U("YYYY",Ji,qi),U("YYYYY",Qi,Yi),U("YYYYYY",Qi,Yi),j(["YYYYY","YYYYYY"],ao),j("YYYY",function(e,n){n[ao]=2===e.length?t.parseTwoDigitYear(e):g(e)}),j("YY",function(e,n){n[ao]=t.parseTwoDigitYear(e)}),t.parseTwoDigitYear=function(t){return g(t)+(g(t)>68?1900:2e3)};var Lo=T("FullYear",!1);A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),C("week","w"),C("isoWeek","W"),U("w",Vi),U("ww",Vi,Zi),U("W",Vi),U("WW",Vi,Zi),H(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=g(t)});var wo={dow:0,doy:6};A("DDD",["DDDD",3],"DDDo","dayOfYear"),C("dayOfYear","DDD"),U("DDD",Xi),U("DDDD",Wi),j(["DDD","DDDD"],function(t,e,n){n._dayOfYear=g(t)}),t.ISO_8601=function(){};var xo=te("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var t=De.apply(null,arguments);return this>t?this:t}),So=te("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var t=De.apply(null,arguments);return t>this?this:t});Ie("Z",":"),Ie("ZZ",""),U("Z",eo),U("ZZ",eo),j(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Ne(t)});var Co=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var Po=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,ko=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Xe.fn=Ae.prototype;var To=tn(1,"add"),Do=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var Eo=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),C("weekYear","gg"),C("isoWeekYear","GG"),U("G",to),U("g",to),U("GG",Vi,Zi),U("gg",Vi,Zi),U("GGGG",Ji,qi),U("gggg",Ji,qi),U("GGGGG",Qi,Yi),U("ggggg",Qi,Yi),H(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=g(t)}),H(["gg","GG"],function(e,n,i,o){n[o]=t.parseTwoDigitYear(e)}),A("Q",0,0,"quarter"),C("quarter","Q"),U("Q",Gi),j("Q",function(t,e){e[so]=3*(g(t)-1)}),A("D",["DD",2],"Do","date"),C("date","D"),U("D",Vi),U("DD",Vi,Zi),U("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),j(["D","DD"],lo),j("Do",function(t,e){e[lo]=g(t.match(Vi)[0],10)});var Mo=T("Date",!0);A("d",0,"do","day"),A("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),A("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),A("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),C("day","d"),C("weekday","e"),C("isoWeekday","E"),U("d",Vi),U("e",Vi),U("E",Vi),U("dd",io),U("ddd",io),U("dddd",io),H(["dd","ddd","dddd"],function(t,e,n){var i=n._locale.weekdaysParse(t);null!=i?e.d=i:u(n).invalidWeekday=t}),H(["d","e","E"],function(t,e,n,i){e[i]=g(t)});var Oo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ao="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$o="Su_Mo_Tu_We_Th_Fr_Sa".split("_");A("H",["HH",2],0,"hour"),A("h",["hh",2],0,function(){return this.hours()%12||12}),Zn("a",!0),Zn("A",!1),C("hour","h"),U("a",Wn),U("A",Wn),U("H",Vi),U("h",Vi),U("HH",Vi,Zi),U("hh",Vi,Zi),j(["H","HH"],uo),j(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),j(["h","hh"],function(t,e,n){e[uo]=g(t),u(n).bigHour=!0});var Io=/[ap]\.?m?\.?/i,No=T("Hours",!0);A("m",["mm",2],0,"minute"),C("minute","m"),U("m",Vi),U("mm",Vi,Zi),j(["m","mm"],co);var Fo=T("Minutes",!1);A("s",["ss",2],0,"second"),C("second","s"),U("s",Vi),U("ss",Vi,Zi),j(["s","ss"],ho);var zo=T("Seconds",!1);A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return 10*this.millisecond()}),A(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),A(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),A(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),A(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),A(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),C("millisecond","ms"),U("S",Xi,Gi),U("SS",Xi,Zi),U("SSS",Xi,Wi);var Uo;for(Uo="SSSS";Uo.length<=9;Uo+="S")U(Uo,Ki);for(Uo="S";Uo.length<=9;Uo+="S")j(Uo,Vn);var Bo=T("Milliseconds",!1);A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var Ro=p.prototype;Ro.add=To,Ro.calendar=nn,Ro.clone=on,Ro.diff=un,Ro.endOf=Ln,Ro.format=pn,Ro.from=fn,Ro.fromNow=mn,Ro.to=gn,Ro.toNow=_n,Ro.get=M,Ro.invalidAt=Dn,Ro.isAfter=rn,Ro.isBefore=an,Ro.isBetween=sn,Ro.isSame=ln,Ro.isValid=kn,Ro.lang=Eo,Ro.locale=vn,Ro.localeData=yn,Ro.max=So,Ro.min=xo,Ro.parsingFlags=Tn,Ro.set=M,Ro.startOf=bn,Ro.subtract=Do,Ro.toArray=Cn,Ro.toObject=Pn,Ro.toDate=Sn,Ro.toISOString=dn,Ro.toJSON=dn,Ro.toString=hn,Ro.unix=xn,Ro.valueOf=wn,Ro.year=Lo,Ro.isLeapYear=le,Ro.weekYear=On,Ro.isoWeekYear=An,Ro.quarter=Ro.quarters=Nn,Ro.month=X,Ro.daysInMonth=J,Ro.week=Ro.weeks=pe,Ro.isoWeek=Ro.isoWeeks=fe,Ro.weeksInYear=In,Ro.isoWeeksInYear=$n,Ro.date=Mo,Ro.day=Ro.days=jn,Ro.weekday=Hn,Ro.isoWeekday=Gn,Ro.dayOfYear=ge,Ro.hour=Ro.hours=No,Ro.minute=Ro.minutes=Fo,Ro.second=Ro.seconds=zo,Ro.millisecond=Ro.milliseconds=Bo,Ro.utcOffset=Ue,Ro.utc=Re,Ro.local=je,Ro.parseZone=He,Ro.hasAlignedHourOffset=Ge,Ro.isDST=Ze,Ro.isDSTShifted=We,Ro.isLocal=qe,Ro.isUtcOffset=Ye,Ro.isUtc=Ve,Ro.isUTC=Ve,Ro.zoneAbbr=Xn,Ro.zoneName=Jn,Ro.dates=te("dates accessor is deprecated. Use date instead.",Mo),Ro.months=te("months accessor is deprecated. Use month instead",X),Ro.years=te("years accessor is deprecated. Use year instead",Lo),Ro.zone=te("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Be);var jo=Ro,Ho={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Go={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Zo="Invalid date",Wo="%d",qo=/\d{1,2}/,Yo={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Vo=v.prototype;
116Vo._calendar=Ho,Vo.calendar=ti,Vo._longDateFormat=Go,Vo.longDateFormat=ei,Vo._invalidDate=Zo,Vo.invalidDate=ni,Vo._ordinal=Wo,Vo.ordinal=ii,
116Vo._ordinalParse=qo,Vo.preparse=oi,Vo.postformat=oi,Vo._relativeTime=Yo,Vo.relativeTime=ri,Vo.pastFuture=ai,Vo.set=si,Vo.months=W,Vo._months=fo,Vo.monthsShort=q,Vo._monthsShort=mo,Vo.monthsParse=Y,Vo.week=ce,Vo._week=wo,Vo.firstDayOfYear=de,Vo.firstDayOfWeek=he,Vo.weekdays=zn,Vo._weekdays=Oo,Vo.weekdaysMin=Bn,Vo._weekdaysMin=$o,Vo.weekdaysShort=Un,Vo._weekdaysShort=Ao,Vo.weekdaysParse=Rn,Vo.isPM=qn,Vo._meridiemParse=Io,Vo.meridiem=Yn,w("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,n=1===g(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),t.lang=te("moment.lang is deprecated. Use moment.locale instead.",w),t.langData=te("moment.langData is deprecated. Use moment.localeData instead.",S);var Xo=Math.abs,Jo=Ci("ms"),Qo=Ci("s"),Ko=Ci("m"),tr=Ci("h"),er=Ci("d"),nr=Ci("w"),ir=Ci("M"),or=Ci("y"),rr=ki("milliseconds"),ar=ki("seconds"),sr=ki("minutes"),lr=ki("hours"),ur=ki("days"),cr=ki("months"),hr=ki("years"),dr=Math.round,pr={s:45,m:45,h:22,d:26,M:11},fr=Math.abs,mr=Ae.prototype;mr.abs=mi,mr.add=_i,mr.subtract=vi,mr.as=xi,mr.asMilliseconds=Jo,mr.asSeconds=Qo,mr.asMinutes=Ko,mr.asHours=tr,mr.asDays=er,mr.asWeeks=nr,mr.asMonths=ir,mr.asYears=or,mr.valueOf=Si,mr._bubble=bi,mr.get=Pi,mr.milliseconds=rr,mr.seconds=ar,mr.minutes=sr,mr.hours=lr,mr.days=ur,mr.weeks=Ti,mr.months=cr,mr.years=hr,mr.humanize=Oi,mr.toISOString=Ai,mr.toString=Ai,mr.toJSON=Ai,mr.locale=vn,mr.localeData=yn,mr.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ai),mr.lang=Eo,A("X",0,0,"unix"),A("x",0,0,"valueOf"),U("x",to),U("X",no),j("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),j("x",function(t,e,n){n._d=new Date(g(t))}),t.version="2.10.6",e(De),t.fn=jo,t.min=Me,t.max=Oe,t.utc=s,t.unix=Qn,t.months=ci,t.isDate=i,t.locale=w,t.invalid=h,t.duration=Xe,t.isMoment=f,t.weekdays=di,t.parseZone=Kn,t.localeData=S,t.isDuration=$e,t.monthsShort=hi,t.weekdaysMin=fi,t.defineLocale=x,t.weekdaysShort=pi,t.normalizeUnits=P,t.relativeTimeThreshold=Mi;var gr=t;return gr}),//! moment.js locale configuration
117//! locale : russian (ru)
118//! author : Viktorminator : https://github.com/Viktorminator
119//! Author : Menelion Elensúle : https://github.com/Oire
120function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("../moment")):"function"==typeof define&&define.amd?define(["moment"],e):e(t.moment)}(this,function(t){"use strict";function e(t,e){var n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&4>=e%10&&(10>e%100||e%100>=20)?n[1]:n[2]}function n(t,n,i){var o={mm:n?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"};return"m"===i?n?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+e(o[i],+t)}function i(t,e){var n={nominative:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),accusative:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function o(t,e){var n={nominative:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),accusative:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_")},i=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/.test(e)?"accusative":"nominative";return n[i][t.month()]}function r(t,e){var n={nominative:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),accusative:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_")},i=/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/.test(e)?"accusative":"nominative";return n[i][t.day()]}var a=t.defineLocale("ru",{months:i,monthsShort:o,weekdays:r,weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439|\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430 \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",nextWeek:function(){return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT"},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd [\u0432] LT":"[\u0412] dddd [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd [\u0432] LT";
120case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",m:n,mm:n,h:"\u0447\u0430\u0441",hh:n,d:"\u0434\u0435\u043d\u044c",dd:n,M:"\u043c\u0435\u0441\u044f\u0446",MM:n,y:"\u0433\u043e\u0434",yy:n},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t){return 4>t?"\u043d\u043e\u0447\u0438":12>t?"\u0443\u0442\u0440\u0430":17>t?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},ordinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:7}});return a}),function(){$(document).ready(function(){return $.ajax({dataType:"json",type:"get",url:"/ru/srss/last_report.json",beforeSend:function(){var t,e;return $("#all_reports_map").tooltip({placement:"bottom"}),e=$("#srss-last-report-link"),e.length&&(e.html(""),new LoadingIndicator(e,14)),t=$("#srss-data-services"),t.length?(t.html(""),new LoadingIndicator(t,14)):void 0},complete:function(){},success:function(t){return t.success!==!0?$("#srss-last-report-link").append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445"):($("#srss-last-report-link").html(""),$("#srss-last-report-link").append('<a href="'+t.report_url+'">'+t.datetime+" UTC</a>").tooltip({placement:"bottom"}),$("#header-srss-color").addClass("header-srss-color-"+t.color),$("#srss-data-services").length&&($("#srss-data-services").html(""),$("#srss-data-services").append("("+t.magnitude+"M) "+t.distance+" \u043a\u043c \u0434\u043e "+t.settlement_title+", "+t.settlement_region),$("#srss-data-services").append("<br>"),$("#srss-data-services").length&&$("#srss-data-services").append(t.datetime+" UTC, \u0433\u043b\u0443\u0431\u0438\u043d\u0430: "+t.depth+" \u043a\u043c")),$("#srss-mainpage-links").length?($("#srss-mainpage-links").html(""),$("#srss-mainpage-links").append('<a href="'+t.report_url+'" class="btn blue-color-btn size-btn-lg">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435</a>'),$("#srss-mainpage-links").append('<a href="'+t.all_reports_url+'" class="btn gray-color-btn size-btn-lg btn-padding">\u0412\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f</a>')):void 0)},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}),$.ajax({dataType:"json",type:"get",url:"/ru/svert/last_acc.json",beforeSend:function(){var t,e;return $("#volcanos_map").tooltip({placement:"bottom"}),e=$("#svert-last-report-link"),e.length&&(e.html(""),new LoadingIndicator(e,14)),t=$("#svert-data-services"),t.length?(t.html(""),new LoadingIndicator(t,14)):void 0},complete:function(){},success:function(t){if(t.success===!0){if($("#svert-last-report-link").html(""),$("#svert-last-report-link").append('<a href="/ru/svert/reports">'+t.datetime+" UTC</a>").tooltip({placement:"bottom"}),$("#header-svert-color").addClass("header-svert-color-"+t.color),$("#svert-data-services").length&&($("#svert-data-services").html(""),$("#svert-data-services").append(t.datetime+" UTC")),$("#svert-mainpage-links").length)return $("#svert-mainpage-links").html(""),$("#svert-mainpage-links").append('<a href="/ru/svert/reports" class="btn blue-color-btn size-btn-lg">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435</a>'),$("#svert-mainpage-links").append('<a href="/ru/svert/reports" class="btn gray-color-btn size-btn-lg btn-padding">\u0412\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f</a>')}else if($("#svert-last-report-link").html(""),$("#svert-last-report-link").append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445"),$("#svert-data-services").html(""),$("#svert-data-services").length)return $("#svert-data-services").append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})})}.call(this),function(){$(document).ready(function(){return $(document).on("change",".tab-select",function(){return window.location.href=$("option:selected",this).attr("href")}),$(document).on("click",".nav-tabs li a",function(){return $(".active").removeClass("active"),$(this).parent().addClass("active"),History.pushState(null,$(document).find("title").text(),this.href.slice(0,-5)),this.li=new LoadingIndicator($("#content-container"),20)}),$(document).on("ajax:success",".nav-tabs li a",function(t,e){var n,i,o,r;return e.success!==!0?(new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 #100","alert"),this.li.hide()):(n=$("#breadcrumbs-container"),n.length&&n.html("").html(e.breadcrumbs),r=$("#title-container"),r.length&&r.html("").html(e.title),o=$("#crud-links-container"),o.length&&o.html("").html(e.crud_links),i=$("#content-container"),i.length?i.html("").html(e.content):void 0)}),$(document).on("ajax:error",".nav-tabs li a",function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 #50","alert")})})}.call(this),function(){jQuery(function(){return $(".new-announcement-calendar").length&&$(".new-announcement-calendar").datetimepicker({allowTimes:["8:00","8:30","9:00","9:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00"],dateFormat:"yy-mm-dd",dayOfWeekStart:1,inline:!0,lang:"ru",step:"30",timeFormat:"HH:mm",onChangeDateTime:function(t,e){return $("#calendar").val(e.val())}}),$(".edit-announcement-calendar").length&&$(".edit-announcement-calendar").datetimepicker({allowTimes:["8:00","8:30","9:00","9:30","10:00","10:30","11:00","11:30","12:00","12:30","13:00","13:30","14:00","14:30","15:00","15:30","16:00","16:30","17:00","17:30","18:00"],dateFormat:"yy-mm-dd",dayOfWeekStart:1,inline:!0,lang:"ru",mask:!0,step:"30",timeFormat:"HH:mm",value:$("#datetime-for-datetimepicker").val(),onChangeDateTime:function(t,e){return $("#calendar").val(e.val())}}),$(".announcements-wysiwyg-editor").elastic})}.call(this),function(){jQuery(function(){var t,e;return this.insert_image=function(t){var e,n;return n=$(t).attr("middle_size"),e=$(t).attr("full_size"),$(".tinymce").tinymce().execCommand("mceInsertContent",!1,'<a href="'+e+'" data-lightbox="image"><img class="img-responsive" src="'+n+'" /></a>')},t=function(t){var e;switch(t.result.flashtype){case"notice":e="flash-notice";break;case"alert":e="flash-alert"}return $("."+e).length&&$("."+e).remove(),$(".flash-container").append('<div class="'+e+'">'+t.result.flash+"</div>"),$(".flash-container").fadeIn(500),setTimeout(function(){return $(".flash-container").fadeOut(500),$(".flash-notice").remove(),$(".flash-alert").remove()},5e3)},e=[],$("#new_attachment, #new_attachment_publication_ru, #new_attachment_publication_en").fileupload({dataType:"json",progressall:function(){return $("#new_attachment").find("attachment[document]")?($(".fileinput-button").hide(),$("#document-message-container").html("").prepend('<span id="loading-message-indicator" class="fa fa-spinner fa-spin"></span><i>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...</i>'),$("#document-message-container").css("display","table")):void 0},done:function(n,i){return $("#new_attachment").find("attachment[image]")&&($(".fileinput-button").show(),t(i),$("#image-thumbs").prepend($('
120<img onclick="javascript:insert_image(this);">').attr({"class":"img_to_insert",id:"image-id-"+i.result.attachment.id,src:i.result.attachment.image.thumb.url,middle_size:i.result.attachment.image.middle.url,full_size:i.result.attachment.image.url}),$("<br><br>")),e.push(i.result.attachment.id),$("#attachment_ids").val(e)),$("#new_attachment").find("attachment[document]")&&"true"===i.result.success&&($("#document-message-container").html("\u0424\u0430\u0439\u043b <b>"+i.result.attachment.original_filename+"</b> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d"),$("#document-message-container").css("display","table"),$("#documents-title").css("display","block"),$("#documents").css("display","block"),$("#documents").prepend($('<div class="document-item" id="'+i.result.attachment.id+'"><a href="'+i.result.attachment.document.url+'"><img src="/images/icon/'+i.result.image_filename+'" class="icon-'+i.result.file_extension+'" />'+i.result.filename+'</a><span class="size-file">('+i.result.file_size+')</span><span><a class="delete-document-link" data-confirm="\u0442\u043e\u0447\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c?" data-method="delete" data-remote="true" data-type="json" href="'+i.result.delete_url+'" id="'+i.result.attachment.id+'" rel="nofollow">\u0443\u0434\u0430\u043b\u0438\u0442\u044c</a></span></div>').fadeIn(1e3)),$("#documents-count").text("("+i.result.documents_count+")")),$("#new_attachment").find("attachment[publication]")&&("ru"===i.result.language&&$("#publication_attachment_id_ru").attr("value",i.result.attachment.id),"en"===i.result.language&&$("#publication_attachment_id_en").attr("value",i.result.attachment.id),"true"===i.result.success&&($("#show-publication-url-ru").hide(),$("#show-word-or").hide(),$("#add-publication-button-ru").hide(),"ru"===i.result.language&&$("#uploaded-publication-file-label-ru").html("\u0424\u0430\u0439\u043b <b>"+i.result.attachment.original_filename+"</b> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d"),"en"===i.result.language))?$("#uploaded-publication-file-label-en").html("\u0424\u0430\u0439\u043b <b>"+i.result.attachment.original_filename+"</b> \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d"):void 0}}),$(document).on("ajax:success",".delete-document-link",function(t,e){return e.documents_count<1&&$("#documents").hide(),$("#"+this.id).remove(),$("#documents-count").text("("+e.documents_count+")")}),$("#close-document-modal-button").click(function(){return $("#document-message-container").html("").css("display","table"),$(".fileinput-button").show()})})}.call(this),function(){$(document).ready(function(){var t,e,n,i;return i=function(t){var e;return t.files&&t.files[0]?(e=new FileReader,e.onload=function(t){return $(".news-image-preview").attr("src",t.target.result),$("#news_remove_news_image").length&&$("#news_remove_news_image").val("false"),$(".add-image-block").hide(),$(".new-news-edit-image-block").show()},e.readAsDataURL(t.files[0])):void 0},$(document).on("change",".news-image-input-field",function(){return i(this)}),$(document).on("click",".news-image-delete-link",function(){return $(".news-image-preview").attr("src",""),$(".new-news-edit-image-block").hide(),$("#news-image-input-field").replaceWith('<input class="input-hidden news-image-input-field" id="news-image-input-field" type="file" name="news[news_image]">'),$(".add-image-block").show(),$("#news_remove_news_image").length?$("#news_remove_news_image").val("true"):void 0}),$(document).on("click",".edit-news-unarchieve-link",function(){return $("#news_archieved").length&&$("#news_archieved").val("false"),$(".display-unarchive-link-block").length&&$(".display-unarchive-link-block").hide(),$(".display-archive-link-block").length?$(".display-archive-link-block").show():void 0}),$(document).on("click",".edit-news-archieve-link",function(){return $("#news_archieved").length&&$("#news_archieved").val("true"),$(".display-archive-link-block").length&&$(".display-archive-link-block").hide(),$(".display-unarchive-link-block").length?$(".display-unarchive-link-block").show():void 0}),$(".news-wysiwyg-editor").elastic,e=$("#news-created-at"),n=$("#news-timestamps"),e.length&&n.length&&e.html(moment(moment.utc(n.val()).toDate()).format("LL")+" \u0432 "+moment(moment.utc(n.val()).toDate()).format("H:mm")),t=$(".all-news-timestamps"),t.length?t.each(function(){return $("#news-date-id-"+this.id
120).html(moment(moment.utc($(this).val()).toDate()).format("LL"))}):void 0})}.call(this),function(){$(function(){var t;return $("div .page-content-form").not(":first").hide(),$("#language-ru-button").click(function(){return $("#page-content-en").fadeOut(500),$("#page-content-ru").fadeIn(500)}),$("#language-en-button").click(function(){return $("#page-content-ru").fadeOut(500),$("#page-content-en").fadeIn(500)}),$(".pages-wysiwyg-editor").elastic,t=$(".news_created"),t.length?t.each(function(){return $("#news-id-"+this.id).html(moment(moment.utc($(this).val()).toDate()).format("L"))}):void 0})}.call(this),function(){jQuery(function(){return $("#create-publication-button").click(function(){return $("#close-modal-new-publication").hide(),$("#create-publication-button").hide(),$("#loading-message-container").html("").prepend('<span id="loading-message-indicator" class="fa fa-spinner fa-spin"></span><i>\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...</i>'),$("#loading-message-container").css("display","table"),$("#new_publication").submit()}),$("#new_publication").on("ajax:success",function(t,e,n,i){return"true"!==i.responseJSON.success&&($("#publication-errors-container").html("<h4>"+i.responseJSON.flash+"</h4>"),$("#publication-errors-container").fadeIn(1e3),$("#loading-message-container").html($("").hide()),$("#close-modal-new-publication").show(),$("#create-publication-button").show()),"true"===i.responseJSON.success?($("#publication-errors-container").html(""),$("#publication-errors-container").hide(),$("#myModal").modal("hide"),$("#new_publication")[0].reset(),$("#new_attachment_publication_ru")[0].reset(),$("#uploaded-publication-file-label-ru").text(""),$("#uploaded-publication-file-label-en").text(""),$("#show-publication-url-ru").show(),$("#show-word-or").show(),$("#add-publication-button-ru").show(),$("#publication_attachment_id_ru").val(""),$("#publication_attachment_id_en").val(""),$("#loading-message-container").html($("").hide()),$("#close-modal-new-publication").show(),$("#create-publication-button").show(),$("#form-publication-url-ru").hide(),$("#user-publications-container").prepend($(i.responseJSON.rendered_publication_html).fadeIn(1e3)),$("#publications-count").text("("+i.responseJSON.user_publications_count+")")):void 0}),$("div .new-publication-form").not(":first").hide(),$("#show-publication-url-ru").click(function(){return $("#show-publication-url-ru").fadeOut(100),$("#show-word-or").fadeOut(100),$("#add-publication-button-ru").fadeOut(100),$("#form-publication-url-ru").fadeIn(500)}),$("#close-modal-new-publication").click(function(){return $("#publication_attachment_id_ru").attr("value")&&$.ajax({type:"DELETE",dataType:"JSON",url:"/"+window.location.pathname.split("/")[1]+"/attachments/"+$("#publication_attachment_id_ru").attr("value")}),$("#publication_attachment_id_en").attr("value")&&$.ajax({type:"DELETE",dataType:"JSON",url:"/"+window.location.pathname.split("/")[1]+"/attachments/"+$("#publication_attachment_id_en").attr("value")}),$("#new_publication")[0].reset(),$("#new_attachment_publication_ru")[0].reset(),$("#show-publication-url-ru").show(),$("#show-word-or").show(),$("#add-publication-button-ru").show(),$("#form-publication-url-ru").hide(),$("#uploaded-publication-file-label-ru").text(""),$("#uploaded-publication-file-label-en").text(""),$("#publication-errors-container").html(""),$("#publication-errors-container").hide()}),$(document).on("ajax:success",".delete-publication-link",function(){return $("#publication-show-"+this.id).fadeOut(500,function(){return $(this).remove()})})})}.call(this),function(){}.call(this),function(){}.call(this),function(){$(document).ready(function(){var t,e,n,i,o;return $("#srss-last-reports-container").length&&(e=$("#srss-last-reports-container"))&&(n=$("#srss-download-xls-all-reports-lg"),i=$("#srss-download-xls-all-reports-xs"),$.ajax({dataType:"json",type:"get",url:"/ru/srss.json",beforeSend:function(){return e.html(""),this.li_svert=new LoadingIndicator(e,20),n.html(""),i.html("")},complete:function(){return this.li_svert.hide()},success:function(t){return t.success===!0?($(".srss-index-events").html(""),$(".srss-index-events").append("<li>\u0421\u043e\u0431\u044b\u0442\u0438\u0439 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 6 \u043c\u0435\u0441\u044f\u0446\u0435\u0432: "+t.reports_count+"</li>
120"),e.append(t.content)):e.append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})),t=$("#srss-all-reports-map-container"),t.length&&$.ajax({dataType:"json",type:"get",url:"/ru/srss/all_reports_map.json",beforeSend:function(){return t.html(""),this.li_srss=new LoadingIndicator(t,20)},complete:function(){return this.li_srss.hide()},success:function(e){return e.success===!0?($(".srss-index-events").html(""),$(".srss-index-events").append("<li>\u0421\u043e\u0431\u044b\u0442\u0438\u0439 \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 6 \u043c\u0435\u0441\u044f\u0446\u0435\u0432: "+e.reports_count+"</li>"),t.append(e.content)):t.append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}),$("#add-training-report-submit-button").click(function(){return $.ajax({dataType:"json",type:"post",url:"/ru/srss/create_training_report.json",data:{lat:$("#add-training-report-data-lat").val(),lon:$("#add-training-report-data-lon").val(),depth:$("#add-training-report-data-depth").val(),mag:$("#add-training-report-data-mag").val()},beforeSend:function(){return $("#add-training-report-errors-container").hide(),$("#add-training-report-errors-container").html("")},complete:function(){},success:function(t){return t.success===!0?window.location.replace(t.redirect_url):t.error?$("#add-training-report-errors-container").append("<h4>"+t.error+"</h4>").fadeIn(1e3):void 0},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$("#close-add-training-report").click(function(){return $("#add-training-report-form")[0].reset()}),o=$("#srss-event-timestamps"),o.length?o.html(moment(moment.utc(o.data("timestamps")).toDate()).format("YYYY/MM/DD HH:mm:ss")):void 0})}.call(this),function(){$(document).ready(function(){var t,e;switch(Date.months_ru=["\u042f\u041d\u0412\u0410\u0420\u042c","\u0424\u0415\u0412\u0420\u0410\u041b\u042c","\u041c\u0410\u0420\u0422","\u0410\u041f\u0420\u0415\u041b\u042c","\u041c\u0410\u0419","\u0418\u042e\u041d\u042c","\u0418\u042e\u041b\u042c","\u0410\u0412\u0413\u0423\u0421\u0422","\u0421\u0415\u041d\u0422\u042f\u0411\u0420\u042c","\u041e\u041a\u0422\u042f\u0411\u0420\u042c","\u041d\u041e\u042f\u0411\u0420\u042c","\u0414\u0415\u041a\u0410\u0411\u0420\u042c"],Date.months_en=["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"],window.location.href.split(/type=|&/)[1]){case"acc":e="\u0410\u0426\u041a";break;case"daily":e="\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u0439";break;case"weekly":e="\u0415\u0436\u0435\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u044b\u0439"}return $(".svert-wysiwyg-editor").elastic,$(".svert-report-wysiwyg-editor").elastic,$("#report-year-select").attr("disabled",!0),$("#report-month-select").attr("disabled",!0),$("#report-select").attr("disabled",!0),$(document).on("click",".btn-kuril-islands",function(){return $(".btn-kuril-islands").removeClass("active"),$(this).addClass("active")}),$(document).on("click",".svert-kuril-region",function(){return $(".btn-kuril-islands").removeClass("active")}),t=function(t){var e;return t.files&&t.files[0]?(e=new FileReader,e.onload=function(t){return $(".volcano-image-preview").attr("src",t.target.result),$("#volcano_remove_volcano_image").length&&$("#volcano_remove_volcano_image").val("false"),$(".add-image-block").hide(),$(".new-volcano-edit-image-block").show()},e.readAsDataURL(t.files[0])):void 0},$(document).on("change",".volcano-image-input-field",function(){return t(this)}),$(document).on("click",".volcano-image-delete-link",function(){return $(".volcano-image-preview").attr("src",""),$(".new-volcano-edit-image-block").hide(),$("#volcano-image-input-field").replaceWith('<input class="input-hidden volcano-image-input-field" id="volcano-image-input-field" type="file" name="volcano[volcano_image]">'),$(".add-image-block").show(),$("#volcano_remove_volcano_image").length?$("#volcano_remove_volcano_image").val("true"):void 0}),$(document).on("ajax:success",".history_delete-link",function(){return $(this).closest("tr").fadeOut(100)}),$(document).on("click",".volcano-description-ru",function(){var t,e;return t=$(this).html().replace(/^\s+|\s+$/g,""),e=$(this).attr("volcano_id"),$("#volcano-"+e+"-description-ru-text").css({display:"none"}),$("#volcano-"+e+"-description-ru-textaria").css({display:"block"}),$("#volcano-"+e+"-description-ru-textaria").focus(),$(this).removeClass("volcano-description-ru"),$("#volcano-"+e+"-description-ru-textaria").focusout(function(){var t;return $("#volcano-"+e+"-description-ru").addClass("volcano-description-ru"),t=$(this).val(),$("#volcano-"+e+"-description-ru-textaria").css({display:"none"}),$("#volcano-"+e+"-description-ru-text").html("").append(t),$("#volcano-"+e+"-description-ru-text").css({display:"block"})})}),$(document).on("click",".volcano-description-en",function(){var t,e;return t=$(this).html().replace(/^\s+|\s+$/g,""),e=$(this).attr("volcano_id"),$("#volcano-"+e+"-description-en-text").css({display:"none"}),$("#volcano-"+e+"-description-en-textaria").css({display:"block"}),$("#volcano-"+e+"-description-en-textaria").focus(),$(this).removeClass("volcano-description-en"),$("#volcano-"+e+"-description-en-textaria").focusout(function(){var t;return $("#volcano-"+e+"-description-en").addClass("volcano-description-en"),t=$(this).val(),$("#volcano-"+e+"-description-en-textaria").css({display:"none"}),$("#volcano-"+e+"-description-en-text").html("").append(t),$("#volcano-"+e+"-description-en-text").css({display:"block"})})}),$(document).on("click",".create-history-btn",function(){var t,e;return t=$(this).attr("volcano_id"),e=$(this).attr("volcano_name_ru"),$.ajax({dataType:"json",type:"post",url:"/ru/svert/histories.json",data:{acc:$("#acc_"+t).val(),description_ru:$("#volcano-"+t+"-description-ru-textaria").val(),description_en:$("#volcano-"+t+"-description-en-textaria").val(),volcano_id:t},beforeSend:function(){},complete:function(){},success:function(n){return n.success===!0?($("#volcano_"+t+"_current_acc").removeClass(),$("#volcano_"+t+"_current_acc").addClass("fa fa-circle-thin_"+$("#acc_"+t).val()),$("#create_history_"+t+"_btn").attr("volcano_current_acc",$("#acc_"+t).val()),$("#volcano-"+t+"-description-ru-textaria").val(""),$("#volcano-"+t+"-description-ru-textaria").attr("placeholder",$("#volcano-"+t+"-description-ru-text").html()),$("#volcano-"+t+"-description-en-textaria").val(""),$("#volcano-"+t+"-description-en-textaria").attr("placeholder",$("#volcano-"+t+"-description-en-text").html()),$("#create_history_"+t+"_btn").attr("disabled",!0),new FlashMessage("\u0410\u0426\u041a \u0432\u0443\u043b\u043a\u0430\u043d\u0430 "+e+" \u0438\u0437\u043c\u0435\u043d\u0435\u043d","notice")):new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430! \u0410\u0426\u041a \u0432\u0443\u043b\u043a\u0430\u043d\u0430 \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d","alert")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}),$.ajax({dataType:"json",type:"get",url:"/ru/svert/last_acc.json",beforeSend:function(){var t,e;return $("#volcanos_map").tooltip({placement:"bottom"}),e=$("#svert-last-report-link"),e.length&&(e.html(""),new LoadingIndicator(e,14)),t=$("#svert-data-services"),t.length?(t.html(""),new LoadingIndicator(t,14)):void 0},complete:function(){},success:function(t){if(t.success===!0){if($("#svert-last-report-link").html(""),$("#svert-last-report-link").append('<a href="/ru/svert/reports">'+t.datetime+" UTC</a>").tooltip({placement:"bottom"}),$("#header-svert-color").removeClass(),$("#header-svert-color").addClass("header-svert-color-"+t.color),$("#svert-data-services").length&&($("#svert-data-services").html(""),$("#svert-data-services").append(t.datetime+" UTC")),$("#svert-mainpage-links").length)return $("#svert-mainpage-links").html(""),$("#svert-mainpage-links").append('<a href="/ru/svert/reports" class="btn blue-color-btn size-btn-lg">
120\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435</a>'),$("#svert-mainpage-links").append('<a href="/ru/svert/reports" class="btn gray-color-btn size-btn-lg btn-padding">\u0412\u0441\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f</a>')}else if($("#svert-last-report-link").html(""),$("#svert-last-report-link").append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445"),$("#svert-data-services").html(""),$("#svert-data-services").length)return $("#svert-data-services").append("\u043d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("change",".svert-history-text-ru",function(){var t;return t=$(this).attr("volcano_id"),""!==$("#volcano-"+t+"-description-en-textaria").val()&&""!==$("#volcano-"+t+"-description-ru-textaria").val()?$("#create_history_"+t+"_btn").attr("disabled",!1):$("#create_history_"+t+"_btn").attr("disabled",!0)}),$(document).on("change",".svert-history-text-en",function(){var t;return t=$(this).attr("volcano_id"),""!==$("#volcano-"+t+"-description-ru-textaria").val()&&""!==$("#volcano-"+t+"-description-en-textaria").val()?$("#create_history_"+t+"_btn").attr("disabled",!1):$("#create_history_"+t+"_btn").attr("disabled",!0)}),$(document).on("click",".svert-report-type",function(){return History.pushState(null,$(document).find("title").text(),this.href.slice(0,-5)),$("#report-type-select").html(this.text+' <span class="caret"></span>'),$("#report-type-select").attr("type",$(this).attr("type")),$(".btn-group").removeClass("open"),$(".svert-report-menu-btn").attr("aria-expanded","false"),$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+$("#report-type-select").attr("type"),beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var e,n,i;if(!t.report_last)return $("#report-year-select").attr("disabled",!0),$("#report-year-select").attr("year")&&$("#report-year-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434 <span class="caret"></span>'),$("#report-month-select").attr("disabled",!0),$("#report-month-select").attr("month")&&$("#report-month-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 <span class="caret"></span>'),$("#report-select").attr("disabled",!0),$("#report-select").attr("report_id")&&$("#report-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0442\u0447\u0435\u0442 <span class="caret"></span>'),$("#report-year-select-menu").html(""),$("#report-month-select-menu").html(""),$("#report-select-menu").html(""),$("#svert-report-container").html("").append("\u041e\u0442\u0447\u0435\u0442\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.");
121$("#report-year-select").attr("disabled",!1),$("#report-year-select").attr("year")&&$("#report-year-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u043e\u0434 <span class="caret"></span>'),$("#report-month-select").attr("disabled",!0),$("#report-month-select").attr("month")&&$("#report-month-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 <span class="caret"></span>'),$("#report-select").attr("disabled",!0),$("#report-select").attr("report_id")&&$("#report-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0442\u0447\u0435\u0442 <span class="caret"></span>'),$("#report-year-select-menu").html(""),$("#report-month-select-menu").html(""),$("#report-select-menu").html(""),n=t.reports_years;for(e in n)i=n[e],$("#report-year-select-menu").append('<li><a class="svert-reports-year" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+e+'" year="'+e+'" id="reports-year-'+e+'">
121 '+e+" \u0433. (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+i+" )</a></li>");if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("click",".svert-reports-year",function(){return History.pushState(null,$(document).find("title").text(),this.href),$("#report-year-select").html($(this).attr("year")+' <span class="caret"></span>'),$("#report-year-select").attr("year",$(this).attr("year")),$(".btn-group").removeClass("open"),$(".svert-report-menu-btn").attr("aria-expanded","false"),$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year"),beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var e,n,i,o,r,a,s,l;for($("#report-month-select").attr("disabled",!1),$("#report-month-select").attr("month")&&$("#report-month-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 <span class="caret"></span>'),$("#report-select").attr("disabled",!0),$("#report-select").attr("report_id")&&$("#report-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0442\u0447\u0435\u0442 <span class="caret"></span>'),$("#report-month-select-menu").html(""),$("#report-select-menu").html(""),a=Date.months_ru,e=n=0,o=a.length;o>n;e=++n){r=a[e],s=t.reports_month_count;for(i in s)l=s[i],parseInt(""+(e+1),10)===parseInt(""+i,10)&&$("#report-month-select-menu").append('<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(e+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(e+1)+'">'+r+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+l+") </a></li>")}if(t.success===!0)if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("click",".svert-reports-month",function(){return History.pushState(null,$(document).find("title").text(),this.href),$("#report-month-select").html(Date.months_ru[parseInt($(this).attr("month"),10)-1]+' <span class="caret"></span>'),$("#report-month-select").attr("month",$(this).attr("month")),$(".btn-group").removeClass("open"),$(".svert-report-menu-btn").attr("aria-expanded","false"),$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+$("#report-month-select").attr("month"),beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var e,n,i,o;if($("#report-select").attr("disabled",!1),$("#report-select").attr("report_id")&&$("#report-select").html('\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0442\u0447\u0435\u0442 <span class="caret"></span>'),$("#report-select-menu").html(""),t.reports)for(i=t.reports,e=0,n=i.length;n>e;e++)o=i[e],$("#report-select-menu").append('<li><a class="svert-reports" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+$("#report-month-select").attr("month")+"&id="+o.id+'" year='+$("#report-year-select").attr("year")+" month="+$("#report-month-select").attr("month")+" id="+o.id+">"+moment(o.created_at).format("DD-MM-YYYY")+"</a></li>");if(!t.report_last)return $("#svert-report-container").html("").append("\u041e\u0442\u0447\u0435\u0442\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.");if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("click",".svert-reports",function(){return History.pushState(null,$(document).find("title").text(),this.href),$("#report-select").html($(this).html()+' <span class="caret"></span>'),$("#report-select").attr("report_id",$(this).attr("id")),$(".btn-group").removeClass("open"),$(".svert-report-menu-btn").attr("aria-expanded","fal
121se"),$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+$("#report-month-select").attr("month")+"&id="+$(this).attr("id"),beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){if(!t.report)return $("#svert-report-container").html("").append("\u0414\u0430\u043d\u043d\u044b\u0439 \u043e\u0442\u0447\u0435\u0442 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d.");if(t.report.content_en){if($("#svert-report-container").html("").append(t.report.content_en+"<br><br>"),t.report.content_ru)return $("#svert-report-container").append(t.report.content_ru+"<br><br>")}else if(t.report.content_ru)return $("#svert-report-container").html("").append(t.report.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("click","#svert_new_report_type_daily",function(){return $.ajax({dataType:"json",type:"get",url:"/ru/svert/reports/new",beforeSend:function(){return $(".redactor-box").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){return $("#svert_report_container_ru").redactor("code.set",""),$("#svert_report_container_en").redactor("code.set",""),t.report_daily_content_ru&&$("#svert_report_container_ru").html("").redactor("code.set",t.report_daily_content_ru),t.report_daily_content_en&&$("#svert_report_container_en").html("").redactor("code.set",t.report_daily_content_en),{error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}}})}),$(document).on("click","#svert_new_report_type_weekly",function(){return $.ajax({dataType:"json",type:"get",url:"/ru/svert/reports/new",beforeSend:function(){return $(".redactor-box").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){return $("#svert_report_container_ru").redactor("code.set",""),$("#svert_report_container_en").redactor("code.set",""),t.report_weekly_content_ru&&$("#svert_report_container_ru").html("").redactor("code.set",t.report_weekly_content_ru),t.report_weekly_content_en?$("#svert_report_container_en").html("").redactor("code.set",t.report_weekly_content_en):void 0},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}})}),$(document).on("click","#svert_new_report_type_acc",function(){return $.ajax({dataType:"json",type:"get",url:"/ru/svert/reports/new",beforeSend:function(){return $(".redactor-box").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){return $("#svert_report_container_ru").redactor("code.set",""),$("#svert_report_container_en").redactor("code.set",""),t.report_acc_content_ru&&$("#svert_report_container_ru").html("").redactor("code.set",t.report_acc_content_ru),t.report_acc_content_en&&$("#svert_report_container_en").html("").redactor("code.set",t.report_acc_content_en),{error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}}})}),window.location.href.split(/type=|&/)[1]&&window.location.href.split(/year=|&/)[2]&&window.location.href.split(/month=|&/)[3]&&window.location.href.split(/id=|&/)[4]?$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+window.location.href.split(/type=|&/)[1]+"&year="+window.location.href.split(/year=|&/)[2]+"&month="+window.location.href.split(/month=|&/)[3]+"&id="+window.location.href.split(/id=|&/)[4],beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var n,i,o,r,a,s,l,u,c,h,d,p,f;$("#report-year-select").attr("disabled",!1),$("#report-month-select").attr("disabled",!1),$("#report-select").attr("disabled",!1),$("#report-type-select").html(e+' <span class="caret"></span>'),$("#report-type-select").attr("type",window.location.href.split(/type=|&/)[1]),$("#report-year-select").html(window.location.href.split(/year=|&/)[2]+' <span class="caret"></span>'),$("#report-year-select").attr("year",window.location.href.split(/year=|&/)[2]),$("#report-month-select").html(Date.months_ru[parseInt(window.location.href.split(/month=|&/)[3],10)-1]+' <span class="caret"></span>'),$("#report-month-select").attr("month",window.location.href.split(/month=|&/)[3]),u=t.reports_years;for(r in u)f=u[r],$("#report-year-select-menu").append('<li><a class="svert-reports-year" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+r+'" year='+r+">"+r+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+f+")</a></li>");for(c=Date.months_ru,n=i=0,a=c.length;a>i;n=++i){l=c[n],h=t.reports_month_count;for(r in h)f=h[r],$("#report-month-select-menu").append(parseInt(""+(n+1),10)===parseInt(""+r,10)?'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+l+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+f+") </a></li>":'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+l+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: 0) </
121a></li>")}if(t.reports)for(d=t.reports,o=0,s=d.length;s>o;o++)p=d[o],$("#report-select-menu").append('<li><a class="svert-reports" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+$("#report-month-select").attr("month")+"&id="+p.id+'" year='+$("#report-year-select").attr("year")+" month="+$("#report-month-select").attr("month")+" id="+p.id+">"+moment(p.created_at).format("DD-MM-YYYY")+"</a></li>");if($("#report-select").html(moment(t.report.created_at).format("DD-MM-YYYY")+' <span class="caret"></span>'),$("#report-select").attr("report_id",t.report.id),t.report.content_en){if($("#svert-report-container").html("").append(t.report.content_en+"<br><br>"),t.report.content_ru)return $("#svert-report-container").append(t.report.content_ru+"<br><br>")}else if(t.report.content_ru)return $("#svert-report-container").html("").append(t.report.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}):window.location.href.split(/type=|&/)[1]&&window.location.href.split(/year=|&/)[2]&&window.location.href.split(/month=|&/)[3]?$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+window.location.href.split(/type=|&/)[1]+"&year="+window.location.href.split(/year=|&/)[2]+"&month="+window.location.href.split(/month=|&/)[3],beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var n,i,o,r,a,s,l,u,c,h,d,p,f;$("#report-year-select").attr("disabled",!1),$("#report-month-select").attr("disabled",!1),$("#report-type-select").html(e+' <span class="caret"></span>'),$("#report-type-select").attr("type",window.location.href.split(/type=|&/)[1]),$("#report-year-select").html(window.location.href.split(/year=|&/)[2]+' <span class="caret"></span>'),$("#report-year-select").attr("year",window.location.href.split(/year=|&/)[2]),$("#report-month-select").html(Date.months_ru[parseInt(window.location.href.split(/month=|&/)[3],10)-1]+' <span class="caret"></span>'),$("#report-month-select").attr("month",window.location.href.split(/month=|&/)[3]),u=t.reports_years;for(r in u)f=u[r],$("#report-year-select-menu").append('<li><a class="svert-reports-year" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+r+'" year='+r+">"+r+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+f+")</a></li>");for(c=Date.months_ru,n=i=0,a=c.length;a>i;n=++i){l=c[n],h=t.reports_month_count;for(r in h)f=h[r],$("#report-month-select-menu").append(parseInt(""+(n+1),10)===parseInt(""+r,10)?'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+l+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+f+") </a></li>":'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+l+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: 0) </a></li>")}if(!t.report_last)return $("#svert-report-container").html("").append("\u041e\u0442\u0447\u0435\u0442\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.");if($("#report-select").attr("disabled",!1),t.reports)for(d=t.reports,o=0,s=d.length;s>o;o++)p=d[o],$("#report-select-menu").append('<li><a class="svert-reports" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+$("#report-month-select").attr("month")+"&id="+p.id+'" year='+$("#report-year-select").attr("year")+" month="+$("#report-month-select").attr("month")+" id="+p.id+">"+moment(p.created_at).format("DD-MM-YYYY")+"</a></li>");if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}):window.location.href.split(/type=|&/)[1]&&window.location.href.split(/year=|&/)[2]?$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+window.location.href.split(/type=|&/)[1]+"&year="+window.location.href.split(/year=|&/)[2],beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var n,i,o,r,a,s,l,u,c;if(!t.report_last)return $("#svert-report-container").html("").append("\u041e\u0442\u0447\u0435\u0442\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.");$("#report-year-select").attr("disabled",!1),$("#report-month-select").attr("disabled",!1),$("#report-select").attr("disabled",!0),$("#report-type-select").html(e+' <span class="caret"></span>'),$("#report-type-select").attr("type",window.location.href.split(/type=|&/)[1]),$("#report-year-select").html(window.location.href.split(/year=|&/)[2]+' <span class="caret"></span>'),$("#report-year-select").attr("year",window.location.href.split(/year=|&/)[2]),s=t.reports_years;for(o in s)c=s[o],$("#report-year-select-menu").append('<li><a class="svert-reports-year" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+o+'" year='+o+">"+o+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+c+")</a></li>");for(l=Date.months_ru,n=i=0,r=l.length;r>i;n=++i){a=l[n],u=t.reports_month_count;for(o in u)c=u[o],$("#report-month-select-menu").append(parseInt(""+(n+1),10)===parseInt(""+o,10)?'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+a+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+c+") </a></li>":'<li><a class="svert-reports-month" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+$("#report-year-select").attr("year")+"&month="+(n+1)+'" year="'+$("#report-year-select").attr("year")+'" month="'+(n+1)+'">'+a+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: 0) </
121a></li>")}if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}):window.location.href.split(/type=|&/)[1]?$.ajax({dataType:"json",type:"get",url:"/ru/svert/reports?type="+window.location.href.split(/type=|&/)[1],beforeSend:function(){return $("#svert-report-container").html("").append('<div class="indicator rows=1"></div>'),this.li_svert=new LoadingIndicator($(".indicator"),20)},complete:function(){return this.li_svert.hide(),$(".indicator").remove()},success:function(t){var n,i,o;if(!t.report_last)return $("#report-type-select").html(e+' <span class="caret"></span>'),$("#report-type-select").attr("type",window.location.href.split(/type=|&/)[1]),$("#svert-report-container").html("").append("\u041e\u0442\u0447\u0435\u0442\u044b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442.");$("#report-year-select").attr("disabled",!1),$("#report-month-select").attr("disabled",!0),$("#report-select").attr("disabled",!0),$("#report-type-select").html(e+' <span class="caret"></span>'),$("#report-type-select").attr("type",window.location.href.split(/type=|&/)[1]),$("#report-month-select-menu").html(""),$("#report-select-menu").html(""),i=t.reports_years;for(n in i)o=i[n],$("#report-year-select-menu").append('<li><a class="svert-reports-year" data-remote="true" href="/ru/svert/reports?type='+$("#report-type-select").attr("type")+"&year="+n+'" year='+n+">"+n+" (\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0442\u0447\u0435\u0442\u043e\u0432: "+o+")</a></li>");if(t.report_last.content_en){if($("#svert-report-container").html("").append(t.report_last.content_en+"<br><br>"),t.report_last.content_ru)return $("#svert-report-container").append(t.report_last.content_ru+"<br><br>")}else if(t.report_last.content_ru)return $("#svert-report-container").html("").append(t.report_last.content_ru+"<br><br>")},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}):void 0})}.call(this),function(){$(function(){return $("div .team-content-form").not(":first").hide(),$("#language-ru-button").click(function(){return $("#team-content-en").fadeOut(500),$("#team-content-ru").fadeIn(500)}),$("#language-en-button").click(function(){return $("#team-content-ru").fadeOut(500),$("#team-content-en").fadeIn(500),$(".teams-wysiwyg-editor").elastic})})}.call(this),function(){$(function(){var t,e,n;return n=function(){return $(".positions").each(function(){return $(this).attr("checked")?void 0:($(this).css("display","none"),$("#label-"+this.id
121).css("display","none"))})},e=function(){return $(".degrees").each(function(){return $(this).attr("checked")?void 0:($(this).css("display","none"),$("#label-"+this.id).css("display","none"))})},$("#show-all-positions").click(function(){return $("#show-all-positions").hide(),$("#show-all-positions-angle").hide(),$("#hide-unchecked-positions").show(),$("#hide-unchecked-positions-angle").show(),$(".positions").each(function(){return $(this).show(),$("#label-"+this.id).show()})}),$("#hide-unchecked-positions").click(function(){return n(),$("#hide-unchecked-positions").hide(),$("#hide-unchecked-positions-angle").hide(),$("#show-all-positions").show(),$("#show-all-positions-angle").show()}),n(),$("#show-all-degrees").click(function(){return $("#show-all-degrees").hide(),$("#show-all-degrees-angle").hide(),$("#hide-unchecked-degrees").show(),$("#hide-unchecked-degrees-angle").show(),$(".degrees").each(function(){return $(this).show(),$("#label-"+this.id).show()})}),$("#hide-unchecked-degrees").click(function(){return e(),$("#hide-unchecked-degrees").hide(),$("#hide-unchecked-degrees-angle").hide(),$("#show-all-degrees").show(),$("#show-all-degrees-angle").show()}),e(),$("#edit-user-form").fileupload({dataType:"json",done:function(t,e){return e.result.success&&(new FlashMessage("\u0424\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u0430","notice"),$(".avatar").html('<a href="'+e.result.user.avatar.url+'"><img alt="'+e.result.user.last_name+" "+e.result.user.first_name+" "+e.result.user.middle_name+'"class="image img-responsive"src="'+e.result.user.avatar.url+'" /></a>')),e.result.success?void 0:new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438","alert")}}),$("div .about-me-form").not(":first").hide(),$("#language-ru-button").click(function(){return $("#about-me-en").fadeOut(500),$("#about-me-ru").fadeIn(500)}),$("#language-en-button").click(function(){return $("#about-me-ru").fadeOut(500),$("#about-me-en").fadeIn(500)}),$("#new-research-link").click(function(){return $("#new-research-link").hide(),$("#new_science_research").fadeIn(1e3)}),$(".edit_user input[type=checkbox]").click(function(){return $("#edit-user-form").submit(),$(".edit_user").on("ajax:success",function(){return new FlashMessage("\u0414\u0430\u043d\u043d\u044b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u044b","notice")}).bind("ajax:error",function(t,e){return e.responseJSON.status===!1?new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430","alert"):void 0})}),$("#new_science_research").on("ajax:success",function(t,e,n,i){return i.responseJSON.success||new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430","alert"),i.responseJSON.success?(new FlashMessage("\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043e","notice"),$("#new_science_research").trigger("reset"),$("#new_science_research").hide(),$(".research-container").append('<span class="research-item" id="research_"'+i.responseJSON.research.id+">"+i.responseJSON.research.since_year+" \u2014 "+i.responseJSON.research.until_year+" "+i.responseJSON.research.info+' <a class="delete-research-link" data-confirm="\u0422\u043e\u0447\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c?" data-method="delete" data-remote="true" href="/ru/science_researches/'+i.responseJSON.research.id+'" id="'+i.responseJSON.research.id+'" rel="nofollow">\u0443\u0434\u0430\u043b\u0438\u0442\u044c</a>').children(":last").hide().fadeIn(1e3),$("#new-research-link").fadeIn(1e3)):void 0}).bind("ajax:error",function(t,e){return e.responseJSON.status===!1?new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430","alert"):void 0}),$(document).on("ajax:success",".edit_degrees",function(){return new FlashMessage("\u0423\u0447\u0451\u043d\u0430\u044f \u0441\u0442\u0435\u043f\u0435\u043d\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0430")}),$(document).on("ajax:success",".delete-research-link",function(){return $(this).parent("span").fadeOut(1e3)}),$(document).on("ajax:failure",".delete_research_link",function(){return alert("FAIL")}),$(document).on("ajax:failure",".edit_degrees",function(){return alert("FAIL")}),$("#show-publications-link").click(function(){return $("#user-info-container").fadeOut(500),$("#news-container").fadeOut(500),$("#publication-container").fadeIn(500),$("#show-publications-link").removeClass("tab").addClass("tab-active"),$("#show-user-info-link").removeClass("tab-active").addClass("tab")}),$("#show-user-info-link").click(function(){return $("#publication-container").fadeOut(500),$("#news-container").fadeOut(500),$("#user-info-container").fadeIn(500),$("#show-publications-link").removeClass("tab-active").addClass("tab"),$("#show-user-info-link").removeClass("tab").addClass("tab-active")}),$("#show-news-link").click(function(){return $("#user-info-container").fadeOut(500),$("#publication-container").fadeOut(500),$("#news-container").fadeIn(500)}),$(document).on("click",".hide-all-users",function(){return $("#staff-index-name-block-"+this.id
121).hide(),$("#staff-index-name-block-"+this.id).html(""),$(".hide-all-users-id"+this.id).hide(),$(".show-all-users-id"+this.id).show()}),$(document).on("click",".show-all-users",function(){return $.ajax({dataType:"json",type:"get",url:$(this).find(".staff-index-lab-names:first").data("url"),beforeSend:function(){return new LoadingIndicator($("#staff-index-name-block-"+this.id))},complete:function(){},success:function(t){return this.staff_container=$("#staff-index-name-block-"+t.team_id),this.staff_container.html("").html(t.content)},error:function(){return new FlashMessage("\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445","alert")}}),$("#staff-index-name-block-"+this.id).css({opacity:"0",display:"block"}).show().animate({opacity:1}),$(".show-all-users-id"+this.id).hide(),$(".hide-all-users-id"+this.id).show()}),t=function(t){var e;return t.files&&t.files[0]?(e=new FileReader,e.onload=function(t){return $(".user-avatar-preview").attr("src",t.target.result),$("#user_remove_avatar").length&&$("#user_remove_avatar").val("false"),$(".add-image-block").hide(),$(".user-avatar-edit-image-block").show()},e.readAsDataURL(t.files[0])):void 0},$(document).on("change","#user-avatar-input-field",function(){return t(this)}),$(document).on("click",".user-avatar-delete-link",function(){return $(".user-avatar-preview").attr("src",""),$(".user-avatar-edit-image-block").hide(),$("#user-avatar-input-field").replaceWith('<input class="input-hidden" id="user-avatar-input-field" type="file" name="user[avatar]">'),$(".add-image-block").show(),$("#user_remove_avatar").length?$("#user_remove_avatar").val("true"):void 0}),$(".users-wysiwyg-editor").elastic})}.call(this),function(){jQuery(function(){return $(".new-vacancy-calendar").length&&$(".new-vacancy-calendar").datetimepicker({dateFormat:"yy-mm-dd",dayOfWeekStart:1,inline:!0,lang:"ru",step:"30",timepicker:!1,onChangeDateTime:function(t,e){return $("#calendar").val(e.val())}}),$(".edit-vacancy-calendar").length&&$(".edit-vacancy-calendar").datetimepicker({dateFormat:"yy-mm-dd",dayOfWeekStart:1,inline:!0,lang:"ru",mask:!0,step:"30",timepicker:!1,value:$("#datetime-for-datetimepicker").val(),onChangeDateTime:function(t,e){return $("#calendar").val(e.val())}}),$(".vacancies-wysiwyg-editor").elastic})}.call(this),/* ========================================================================
122 * Bootstrap: collapse.js v3.3.5
123 * http://getbootstrap.com/javascript/#collapse
124 * ========================================================================
125 * Copyright 2011-2015 Twitter, Inc.
126 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
127 * ======================================================================== */
128+function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),o=n.data("bs.collapse"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!o&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),o||n.data("bs.collapse",o=new i(this,r)),"string"==typeof e&&o[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.5",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(e=o.data("bs.collapse"),e&&e.transitioning))){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){o&&o.length&&(n.call(o,"hide"),e||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[n](0).one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(i.TRANSITION_DURATION):o.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var o=t(i);this.addAriaAndCollapsedClass(e(o),o)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=o,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var o=t(this);o.attr("data-target")||i.preventDefault();var r=e(o),a=r.data("bs.collapse"),s=a?"toggle":o.data();n.call(r,s)})}(jQuery),/* ========================================================================
129 * Bootstrap: modal.js v3.3.5
130 * http://getbootstrap.com/javascript/#modals
131 * ========================================================================
132 * Copyright 2011-2015 Twitter, Inc.
133 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
134 * ======================================================================== */
135+function(t){"use strict";function e(e,i){return this.each(function(){var o=t(this),r=o.data("bs.modal"),a=t.extend({},n.DEFAULTS,o.data(),"object"==typeof e&&e);r||o.data("bs.modal",r=new n(this,a)),"string"==typeof e?r[e](i):a.show&&r.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal
135-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.5",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,o=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(o),this.isShown||o.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),o&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});o?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&o;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),o=i.attr("href"),r=t(i.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(o)&&o},r.data(),i.data());i.is("a")&&n.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(r,a,this)})}(jQuery),/* ========================================================================
136 * Bootstrap: dropdown.js v3.3.5
137 * http://getbootstrap.com/javascript/#dropdowns
138 * ========================================================================
139 * Copyright 2011-2015 Twitter, Inc.
140 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
141 * ======================================================================== */
142+function(t){"use strict";function e(e){var n=e.attr("data-target");n||(n=e.attr("href"),n=n&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}function n(n){n&&3===n.which||(t(o).remove(),t(r).each(function(){var i=t(this),o=e(i),r={relatedTarget:this};o.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(o[0],n.target)||(o.trigger(n=t.Event("hide.bs.dropdown",r)),n.isDefaultPrevented()||(i.attr("aria-expanded","fal
142se"),o.removeClass("open").trigger("hidden.bs.dropdown",r))))}))}function i(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new a(this)),"string"==typeof e&&i[e].call(n)})}var o=".dropdown-backdrop",r='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.5",a.prototype.toggle=function(i){var o=t(this);if(!o.is(".disabled, :disabled")){var r=e(o),a=r.hasClass("open");if(n(),!a){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",n);var s={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;o.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},a.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var i=t(this);if(n.preventDefault(),n.stopPropagation(),!i.is(".disabled, :disabled")){var o=e(i),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(r).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=o.find(".dropdown-menu"+s);if(l.length){var u=l.index(n.target);38==n.which&&u>0&&u--,40==n.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=a,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",n).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,a.prototype.toggle).on("keydown.bs.dropdown.data-api",r,a.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",a.prototype.keydown)}(jQuery),/* ========================================================================
143 * Bootstrap: tooltip.js v3.3.5
144 * http://getbootstrap.com/javascript/#tooltip
145 * Inspired by the original jQuery.tipsy by Jason Frame
146 * ========================================================================
147 * Copyright 2011-2015 Twitter, Inc.
148 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
149 * ======================================================================== */
150+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),r="object"==typeof e&&e;(o||!/destroy|hide/.test(e))&&(o||i.data("bs.tooltip",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};n.VERSION="3.3.5",n.TRANSITION_DURATION=150,n.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},n.prototype.init=function(e,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),r=o.length;r--;){var a=o[r];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},n.prototype.getDelegateOptions=function(){var e={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},n.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusin"==e.type?"focu
150s":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState?void(n.hoverState="in"):(clearTimeout(n.timeout),n.hoverState="in",n.options.delay&&n.options.delay.show?void(n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)):n.show())},n.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},n.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),e instanceof t.Event&&(n.inState["focusout"==e.type?"focus":"hover"]=!1),n.isInStateTrue()?void 0:(clearTimeout(n.timeout),n.hoverState="out",n.options.delay&&n.options.delay.hide?void(n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)):n.hide())},n.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,r=this.tip(),a=this.getUID(this.type);this.setContent(),r.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&r.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),h=r[0].offsetWidth,d=r[0].offsetHeight;if(u){var p=s,f=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+d>f.bottom?"top":"top"==s&&c.top-d<f.top?"bottom":"right"==s&&c.right+h>f.width?"left":"left"==s&&c.left-h<f.left?"right":s,r.removeClass(p).addClass(s)}var m=this.getCalculatedOffset(s,c,h,d);this.applyPlacement(m,s);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",g).emulateTransitionEnd(n.TRANSITION_DURATION):g()}},n.prototype.applyPlacement=function(e,n){var i=this.tip(),o=i[0].offsetWidth,r=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top+=a,e.left+=s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=r&&(e.top=e.top+r-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var h=/top|bottom/.test(n),d=h?2*c.left-o+l:2*c.top-r+u,p=h?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(d,i[0][p],h)},n.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},n.prototype.hide=function(e){function i(){"in"!=o.hoverState&&r.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),e&&e()}var o=this,r=t(this.$tip),a=t.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i(),this.hoverState=null,this)},n.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},n.prototype.hasContent=function(){return this.getTitle()},n.prototype.getPosition=function(e){e=e||this.$element;var n=e[0],i="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=t.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var r=i?{top:0,left:0}:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},o,a,s,r)},n.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},n.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o={top:0,left:0};if(!this.$viewport)return o;var r=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-r-a.scroll,l=e.top+r-a.scroll+i;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var u=e.left-r,c=e.left+r+n;
vendor: 6,411 bytes, lines 150-164
150u<a.left?o.left=a.left-u:c>a.right&&(o.left=a.left+a.width-c)}return o},n.prototype.getTitle=function(){var t,e=this.$element,n=this.options;return t=e.attr("data-original-title")||("function"==typeof n.title?n.title.call(e[0]):n.title)},n.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},n.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},n.prototype.enable=function(){this.enabled=!0},n.prototype.disable=function(){this.enabled=!1},n.prototype.toggleEnabled=function(){this.enabled=!this.enabled},n.prototype.toggle=function(e){var n=this;e&&(n=t(e.currentTarget).data("bs."+this.type),n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),e?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},n.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=n,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),/* ========================================================================
151 * Bootstrap: popover.js v3.3.5
152 * http://getbootstrap.com/javascript/#popovers
153 * ========================================================================
154 * Copyright 2011-2015 Twitter, Inc.
155 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
156 * ======================================================================== */
157+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.popover"),r="object"==typeof e&&e;(o||!/destroy|hide/.test(e))&&(o||i.data("bs.popover",o=new n(this,r)),"string"==typeof e&&o[e]())})}var n=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");n.VERSION="3.3.5",n.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),n.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),n.prototype.constructor=n,n.prototype.getDefaults=function(){return n.DEFAULTS},n.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},n.prototype.hasContent=function(){return this.getTitle()||this.getContent()},n.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},n.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=n,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),/* ========================================================================
158 * Bootstrap: affix.js v3.3.5
159 * http://getbootstrap.com/javascript/#affix
160 * ========================================================================
161 * Copyright 2011-2015 Twitter, Inc.
162 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
163 * ======================================================================== */
164+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),o=i.data("bs.affix"),r="object"==typeof e&&e;o||i.data("bs.affix",o=new n(this,r)),"string"==typeof e&&o[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.5",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var o=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return n>o?"top":!1;if("bottom"==this.affixed)return null!=n?o+this.unpin<=r.top?!1:"bottom":t-i>=o+a?!1:"bottom";var s=null==this.affixed,l=s?o:r.top,u=s?a:e;return null!=n&&n>=o?"top":null!=i&&l+u>=t-i?"bottom":!1},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,o=i.top,r=i.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof i&&(r=o=i),"function"==typeof o&&(o=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var s=this.getState(a,e,o,r);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery),function(){$(document).on("page:change",function(){return null!=window._gaq?_gaq.pu
164sh(["_trackPageview"]):null!=window.pageTracker?pageTracker._trackPageview():void 0})}.call(this),function(){}.call(this);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.