/*! For license information please see scripts.js.LICENSE.txt */
(()=>{var e,t={757:(e,t,o)=>{e.exports=o(666)},539:(e,t,o)=>{"use strict";function n(e){var t,o,n,i=e.target.value,a=Number.parseFloat((t=document.documentElement,o="font-size",n=function(e){return e.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()}))},t.currentStyle?t.currentStyle[n(o)]:document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(t,null).getPropertyValue(o):t.style[n(o)]));""===document.documentElement.style.fontSize&&(document.documentElement.style.fontSize="1em"),i<0&&a<12*1.2||i>0&&a>25||(document.documentElement.style.fontSize="".concat(Number.parseFloat(document.documentElement.style.fontSize)+.2*i,"em"))}function i(e){var t=e.target,o=t.value;window.localStorage.setItem("theme",o),document.documentElement.setAttribute("data-theme",o),t.setAttribute("value","dark"===o?"light":"dark")}function a(e){switch(!0){case 0!==e.button:case e.altKey:case e.ctrlKey:case e.metaKey:case e.shiftKey:return}var t,o=e.currentTarget;if(o instanceof HTMLElement&&((t=o.hasAttribute("aria-controls")?document.getElementById(o.getAttribute("aria-controls")):"dialog"===o.getAttribute("aria-haspopup")?o.closest("dialog"):o.nextElementSibling)&&t instanceof HTMLElement)){var n="false"===o.getAttribute("aria-expanded");switch(!0){case"DIALOG"===t.nodeName.toUpperCase():case"dialog"===o.getAttribute("aria-haspopup"):case"dialog"===t.getAttribute("role"):!function(e,t,o){t?"function"==typeof e.showModal?e.showModal():(e.hasAttribute("hidden")&&e.removeAttribute("hidden"),e.setAttribute("open",""),e.dispatchEvent(new Event("open",{bubbles:!0}))):"function"==typeof e.close?e.close():(e.dispatchEvent(new Event("close",{bubbles:!0})),e.removeAttribute("open"),"dialog"===e.getAttribute("role")&&e.setAttribute("hidden","")),o.blur()}(t,n,o);break;case"true"===o.getAttribute("aria-haspopup"):case"menu"===o.getAttribute("aria-haspopup"):t.classList.toggle("opened")}n?(t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),t.focus()):t.blur(),o.setAttribute("aria-expanded",String(!n))}}function r(e){var t=parseInt(e,10)||0,o=Math.floor(t/3600),n=Math.floor((t-3600*o)/60),i=t-3600*o-60*n,a="";return o&&(a+=o<10?"0".concat(o):o,a+=":"),a+=n<10?"0".concat(n):n,a+=":",a+=i<10?"0".concat(i):i}function s(e){if(e instanceof Event&&e.target instanceof HTMLElement)switch(!0){case e.target.className.indexOf("sc-custom-open-icon")>-1:case e.target.className.indexOf("sc-launcher")>-1:document.documentElement.classList.remove("first-access"),document.documentElement.removeEventListener("click",s)}}function c(e,t,o,n,i,a,r){try{var s=e[a](r),c=s.value}catch(e){return void o(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function l(e){return function(){var t=this,o=arguments;return new Promise((function(n,i){var a=e.apply(t,o);function r(e){c(a,n,i,r,s,"next",e)}function s(e){c(a,n,i,r,s,"throw",e)}r(void 0)}))}}var d=o(757),u=o.n(d);const m=function(e){return document.cookie.split(";").some((function(t){return t.trim().startsWith("".concat(e,"="))}))};function h(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=window["ma:consents"];null!=t&&t.length&&t.forEach((function(t){if(e||m(t))for(var o=document.querySelectorAll('[data-js="'.concat(t,'"]')),n=0;n<o.length;n+=1){var i=o[n];i.hasAttribute("hidden")&&i.removeAttribute("hidden"),i.hasAttribute("disabled")&&i.removeAttribute("disabled"),i.hasAttribute("data-src")&&i.setAttribute("src",i.getAttribute("data-src")),i.hasAttribute("data-srcset")&&i.setAttribute("srcset",i.getAttribute("data-src"))}}))}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,n=new Array(t);o<t;o++)n[o]=e[o];return n}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var n,i,a=[],r=!0,s=!1;try{for(o=o.call(e);!(r=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);r=!0);}catch(e){s=!0,i=e}finally{try{r||null==o.return||o.return()}finally{if(s)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const v=function(e){return e!==decodeURIComponent(e||"")},g=function(e){for(e=decodeURIComponent(e.replace(/\+/g," "));v(e);)e=decodeURIComponent(e);return e};const w=function(e){var t=e?e.split("?")[1]:window.location.search.slice(1),o={};if(t)for(var n=t.split("#"),i=(t=f(n,1)[0]).split("&"),a=0;a<i.length;a+=1){var r=i[a].split("="),s=g(r[0]),c=void 0===r[1]||g(r[1]);if(s.match(/\[(\d+)?\]$/)){var l=s.replace(/\[(\d+)?\]/,"");if(o[l]||(o[l]=[]),s.match(/\[\d+\]$/)){var d=/\[(\d+)\]/.exec(s)[1];o[l][d]=c}else o[l].push(c)}o[s]?o[s]&&"string"==typeof o[s]?(o[s]=[o[s]],o[s].push(c)):o[s].push(c):o[s]=c}return o}(window.location.href),b=function(e){return Object.keys(e).sort((function(e,t){var o=e.toLowerCase(),n=t.toLowerCase();return o<n?-1:o>n?1:0})).map((function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&")};function y(){return Math.random().toString(16).slice(-4)}const x=function(){var e=l(u().mark((function e(t,o){var n,i,a,r,s,c,l;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.headers.get("content-disposition"),i=t.headers.get("content-type"),e.next=4,t.blob();case 4:a=e.sent,o||!n&&!i||2===(r=n?n.match(/filename="(.+)"/):i.match(/name="(.+)"/)).length&&(s=f(r,2),o=s[1]),c=window.URL.createObjectURL(a),(l=document.createElement("a")).style.display="none",l.href=c,l.setAttribute("hidden","hidden"),l.setAttribute("download",o),void 0===l.download&&l.setAttribute("target","_blank"),document.body.appendChild(l),l.click(),document.body.removeChild(l),window.URL.revokeObjectURL(c);case 17:case"end":return e.stop()}}),e)})));return function(t,o){return e.apply(this,arguments)}}();var E=function(e){var t=(e instanceof Event||e.originalEvent instanceof Event?e.currentTarget:e).elements.url_title;t&&(t.value="".concat(y()+y(),"-").concat(y(),"-").concat(y(),"-").concat(y(),"-").concat(y()).concat(y()).concat(y()))},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e.setAttribute("aria-busy","true"),e.setAttribute("disabled",""),window.parent)switch(t){case"finished":window.parent.postMessage({finished:!0},window.location.origin);break;case"submitted":window.parent.postMessage({submitted:!0},window.location.origin);break;default:window.parent.postMessage(window.location.origin)}},j=function(e){e.preventDefault();var t=e.currentTarget;t instanceof Element&&(k(t,"submitted"),function(e){var t=new FormData(e);return fetch(e.action,{method:"POST",body:t,mode:"cors",cache:"default",headers:{Accept:"text/plain, text/html, *.*"},redirect:"follow"}).then((function(e){return e})).catch((function(e){throw new Error(e)}))}(t).then((function(e){var o=e.headers.get("content-type");if(null!=o&&o.includes("text"))return e.text();throw null!=o&&o.includes("application/zip")&&x(e).then((function(){k(t,"finished")})),new Error("Oops, we don't know what to do!!!")})).then((function(e){document.body.innerHTML=e})).catch((function(){})).finally((function(){k(t)})))};const L=function(e){var t=e.type,o=void 0===t?"":t,n=e.status,i=void 0===n?"":n,a=e.year,r=void 0===a?"":a,s=o||"-",c=i||"-",l=Number.parseInt(r,10)||0,d=0;return l>0&&(l=Date.UTC(l,0,1,0,0),d=Date.UTC(l,11,31,23,59)),fetch("/pregoes/resultados/".concat(s,"/").concat(c,"/").concat(l||"-","/").concat(d||"-"),{method:"GET",mode:"cors",cache:"default",headers:{Accept:"text/plain, text/html, *.*"}}).then((function(e){return e.text()})).then((function(e){return e}))};var A=null;function T(e){if(window.location.origin===e.origin){var t=A.closest("dialog"),o=e.data,n=o.contentHeight,i=o.finished,a=o.submitted;i?"function"==typeof t.close?t.close():(t.dispatchEvent(new Event("close",{bubbles:!0})),t.removeAttribute("open")):a?t.setAttribute("aria-busy","true"):t.setAttribute("aria-busy","false"),Number.isNaN(n)||(A.height=n+12)}}const S=function(){var e=document.querySelectorAll('[data-js="dialog-opener"]'),t=f(document.getElementsByTagName("dialog"),1)[0],o=t.querySelector('[value="cancel"]');A=t.querySelector("iframe");for(var n=0;n<e.length;n+=1){e[n].addEventListener("click",(function(){"function"==typeof t.showModal?t.showModal():(t.setAttribute("open",""),t.dispatchEvent(new Event("close",{bubbles:!0}))),window.addEventListener("message",T)}))}o.addEventListener("click",(function(){"function"==typeof t.close?t.close():(t.dispatchEvent(new Event("close",{bubbles:!0})),t.removeAttribute("open"))})),t.addEventListener("close",(function(){window.removeEventListener("message",T)})),A.addEventListener("unload",(function(){t.setAttribute("aria-busy","false")}))};var q=function(){var e=l(u().mark((function e(t){var o,n,i,a,r;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=document.querySelector('[data-js="bidding-results"]')){e.next=3;break}return e.abrupt("return");case 3:return o.setAttribute("aria-busy","true"),n={},i=t.elements,["status","type","year"].forEach((function(e){i[e]&&(n[e]=i[e].value)})),a="".concat(window.location.pathname,"?").concat(b(n)),window.history.pushState(n,"",a),e.next=11,L(n);case 11:r=e.sent,o.innerHTML=r,o.hasAttribute("hidden")&&o.removeAttribute("hidden"),o.setAttribute("aria-busy","false"),S(),h();case 17:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function _(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}const C=function(e){return e.status>=200&&e.status<300?Promise.resolve(e):e.ok?Promise.reject(new Error(e.statusText||e.status)):e.json().then((function(e){throw e}))};function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function R(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){_(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const O=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n,a=t;(i.credentials||(i.credentials="same-origin"),i.headers=R({"X-Requested-With":"XMLHttpRequest"},i.headers||{}),i.body)||("POST"===(null===(e=i.method)||void 0===e?void 0:e.toUpperCase())?i.body=o:a+="?".concat(new URLSearchParams(o).toString()));return fetch(a,i).then((function(e){if(!e.ok)throw new Error(e.statusText||"Network response was not OK");return C(e)})).then((function(e){return Promise.resolve(e)})).catch((function(e){return Promise.reject(e)}))};function z(e){switch(!0){case 0!==e.button:case e.altKey:case e.ctrlKey:case e.metaKey:case e.shiftKey:return;default:e.preventDefault()}var t=window["ma:consents"];if(null!=t&&t.length){var o=e.currentTarget,n=o instanceof HTMLFormElement?new FormData(o):{},i=o.getAttribute("action")||o.href,a={method:o.method||"POST",cache:"no-cache",mode:"same-origin",redirect:"follow",Accept:"application/json, application/xml, text/plain, text/html, *.*"},r=o.closest('[data-js="toggle"]');r&&r.setAttribute("hidden",""),h(!0),o.setAttribute("aria-busy","true"),O("".concat(i),n,a).then((function(e){if(!e.ok)throw new Error("Network response was not OK");t.forEach((function(e){document.cookie="".concat(e,"=; SameSite=Strict; Secure;max-age=60*60*24*365")}))})).catch((function(){o.setAttribute("aria-busy","false"),r.removeAttribute("hidden",""),t.forEach((function(e){var t;t=e,document.cookie="".concat(t,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; SameSite=None; Secure")}))}))}}function $(){var e=document.getElementById("menu-controller");e&&e instanceof HTMLInputElement&&(e.checked=!1),document.documentElement.classList.contains("opened-menu")&&document.documentElement.classList.remove("opened-menu")}var M=o(252);var P=o(603);const H=JSON.parse('["a","acerca","adeus","agora","ainda","alem","algmas","algo","algumas","alguns","ali","além","ambas","ambos","ano","anos","antes","ao","aonde","aos","apenas","apoio","apontar","apos","após","aquela","aquelas","aquele","aqueles","aqui","aquilo","as","assim","através","atrás","até","aí","baixo","bastante","bem","boa","boas","bom","bons","breve","cada","caminho","catorze","cedo","cento","certamente","certeza","cima","cinco","coisa","com","como","comprido","conhecido","conselho","contra","contudo","corrente","cuja","cujas","cujo","cujos","custa","cá","da","daquela","daquelas","daquele","daqueles","dar","das","de","debaixo","dela","delas","dele","deles","demais","dentro","depois","desde","desligado","dessa","dessas","desse","desses","desta","destas","deste","destes","deve","devem","deverá","dez","dezanove","dezasseis","dezassete","dezoito","dia","diante","direita","dispoe","dispoem","diversa","diversas","diversos","diz","dizem","dizer","do","dois","dos","doze","duas","durante","dá","dão","dúvida","e","ela","elas","ele","eles","em","embora","enquanto","entao","entre","então","era","eram","essa","essas","esse","esses","esta","estado","estamos","estar","estará","estas","estava","estavam","este","esteja","estejam","estejamos","estes","esteve","estive","estivemos","estiver","estivera","estiveram","estiverem","estivermos","estivesse","estivessem","estiveste","estivestes","estivéramos","estivéssemos","estou","está","estás","estávamos","estão","eu","exemplo","falta","fará","favor","faz","fazeis","fazem","fazemos","fazer","fazes","fazia","faço","fez","fim","final","foi","fomos","for","fora","foram","forem","forma","formos","fosse","fossem","foste","fostes","fui","fôramos","fôssemos","geral","grande","grandes","grupo","ha","haja","hajam","hajamos","havemos","havia","hei","hoje","hora","horas","houve","houvemos","houver","houvera","houveram","houverei","houverem","houveremos","houveria","houveriam","houvermos","houverá","houverão","houveríamos","houvesse","houvessem","houvéramos","houvéssemos","há","hão","iniciar","inicio","ir","irá","isso","ista","iste","isto","já","lado","lhe","lhes","ligado","local","logo","longe","lugar","lá","maior","maioria","maiorias","mais","mal","mas","me","mediante","meio","menor","menos","meses","mesma","mesmas","mesmo","mesmos","meu","meus","mil","minha","minhas","momento","muito","muitos","máximo","mês","na","nada","nao","naquela","naquelas","naquele","naqueles","nas","nem","nenhuma","nessa","nessas","nesse","nesses","nesta","nestas","neste","nestes","no","noite","nome","nos","nossa","nossas","nosso","nossos","nova","novas","nove","novo","novos","num","numa","numas","nunca","nuns","não","nível","nós","número","o","obra","obrigada","obrigado","oitava","oitavo","oito","onde","ontem","onze","os","ou","outra","outras","outro","outros","para","parece","parte","partir","paucas","pegar","pela","pelas","pelo","pelos","perante","perto","pessoas","pode","podem","poder","poderá","podia","pois","ponto","pontos","por","porque","porquê","portanto","posição","possivelmente","posso","possível","pouca","pouco","poucos","povo","primeira","primeiras","primeiro","primeiros","promeiro","propios","proprio","própria","próprias","próprio","próprios","próxima","próximas","próximo","próximos","puderam","pôde","põe","põem","quais","qual","qualquer","quando","quanto","quarta","quarto","quatro","que","quem","quer","quereis","querem","queremas","queres","quero","questão","quieto","quinta","quinto","quinze","quáis","quê","relação","sabe","sabem","saber","se","segunda","segundo","sei","seis","seja","sejam","sejamos","sem","sempre","sendo","ser","serei","seremos","seria","seriam","será","serão","seríamos","sete","seu","seus","sexta","sexto","sim","sistema","sob","sobre","sois","somente","somos","sou","sua","suas","são","sétima","sétimo","só","tal","talvez","tambem","também","tanta","tantas","tanto","tarde","te","tem","temos","tempo","tendes","tenha","tenham","tenhamos","tenho","tens","tentar","tentaram","tente","tentei","ter","terceira","terceiro","terei","teremos","teria","teriam","terá","terão","teríamos","teu","teus","teve","tinha","tinham","tipo","tive","tivemos","tiver","tivera","tiveram","tiverem","tivermos","tivesse","tivessem","tiveste","tivestes","tivéramos","tivéssemos","toda","todas","todo","todos","trabalhar","trabalho","treze","três","tu","tua","tuas","tudo","tão","tém","têm","tínhamos","um","uma","umas","uns","usa","usar","vai","vais","valor","veja","vem","vens","ver","verdade","verdadeiro","vez","vezes","viagem","vindo","vinte","você","vocês","vos","vossa","vossas","vosso","vossos","vários","vão","vêm","vós","zero","à","às","área","é","éramos","és","último"]');function I(e){var t,o=e.target,n=e.currentTarget;if((null===(t=o.getAttribute("data-js"))||void 0===t?void 0:t.indexOf("paginationLink"))>-1){e.preventDefault();var i=o.href;n.setAttribute("aria-busy","true"),fetch(i,{method:"GET",mode:"cors",cache:"default",headers:{Accept:"text/plain, text/html, *.*"}}).then((function(e){return e.text()})).then((function(e){n.innerHTML=e})).finally((function(){n.setAttribute("aria-busy","false")}))}}const B=function(){var e,t=null===(e=document.forms)||void 0===e?void 0:e["search-form--hidden"],o=document.querySelector('[data-js="cms-results"]'),n=new FormData(t),i=t.getAttribute("action"),a="";if(o.setAttribute("aria-busy","true"),w.keywords&&w.split){var r=w.split;switch(r){case"any":case"all":case"word":w.keywords=w.keywords.split(" "),w.keywords=w.keywords.filter((function(e){return!!H&&-1===H.indexOf(e)})),"word"===r&&(w.keywords=w.keywords.join(" "))}n.set("keywords",w.keywords)}Object.keys(w).forEach((function(e){var t=w[e];if("string"==typeof t&&(t=g(w[e])).match(/^[A-Za-zÀ-ÖØ-öø-ÿ0-9]+(\|[A-Za-zÀ-ÖØ-öø-ÿ0-9]+)*$/)&&(t=t.split("|")),Array.isArray(t)){n.has("key")&&n.delete("key"),t=t.filter(Boolean);for(var o=0;o<t.length;o+=1)1===t.length?n.set(e,t[o]):n.append("".concat(e,"[]"),t[o])}else n.set(e,t)})),n.has("last_segment")&&(n.get("last_segment")&&(a+="/".concat(n.get("last_segment"))),n.delete("last_segment"));var s={method:t.method,mode:"cors",cache:"default",redirect:"follow",headers:{Accept:"text/plain, text/html, *.*"}};return O("".concat(i).concat(a),n,s).then((function(e){return e.text()})).then((function(e){o.innerHTML=e,o.addEventListener("click",I)})).catch((function(){o.hasAttribute("hidden")||o.setAttribute("hidden","")})).finally((function(){o.setAttribute("aria-busy","false"),o.hasAttribute("hidden")&&o.removeAttribute("hidden"),function(){for(var e=document.querySelectorAll('[data-js="filter-form"]'),t=0;t<e.length;t+=1)for(var o=e[t],n=0;n<o.elements.length;n+=1){var i=o.elements[n],a=Array.isArray(w[i.name])?w[i.name].forEach((function(e){return g(e)})):g(w[i.name]);switch(!0){case a&&i.value===a:case!a&&!i.value:i.className+=" tab-bar__tab--current"}}}()}))};const D=function(e){return fetch("".concat("https://pythia.appcivico.com","/text?").concat(b({text:e})),{method:"GET",mode:"cors",cache:"default",headers:{Accept:"application/json, application/xml, text/plain, text/html, *.*"}}).then((function(e){var t=e.headers.get("content-type");if(!t||!t.includes("application/json"))throw new Error("Oops, we haven't got JSON!");return e.json()})).then((function(e){return null==e?void 0:e.dialogflow_result})).catch((function(e){throw new Error(e)}))},W=l(u().mark((function e(){var t,o,n,i,a,r,s;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=document.querySelector('[data-js="pln-results"]'),o=w.keywords,n=w.pln,t&&o){e.next=4;break}return e.abrupt("return");case 4:if(t.setAttribute("aria-busy","true"),null!=n&&n.trim()){e.next=13;break}return e.next=8,D(o);case 8:a=e.sent,r=a.parameters.categoria,i=r?String(r):void 0,e.next=14;break;case 13:i=n.trim();case 14:if(!(i=i.toLowerCase())){e.next=24;break}return e.next=18,fetch("/busca/pln/".concat(i),{method:"GET",mode:"cors",cache:"default",headers:{Accept:"text/plain, text/html, *.*"}}).then((function(e){return e.text()})).then((function(e){return e}));case 18:s=e.sent,t.innerHTML=s,t.querySelector("a")&&t.hasAttribute("hidden")&&t.removeAttribute("hidden"),e.next=25;break;case 24:t.hasAttribute("hidden")||t.setAttribute("hidden","");case 25:t.setAttribute("aria-busy","false");case 26:case"end":return e.stop()}}),e)})));var Y=o(548);var F=null,U=function(e){switch(!0){case 0!==e.button:case e.altKey:case e.ctrlKey:case e.metaKey:case e.shiftKey:return;default:e.preventDefault()}var t=(e.currentTarget.href.match(/^((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w-]+\?v=|embed\/|v\/)?)([\w-]+)(\S+)?$/i)||[])[5]||"",o=t?"https://www.youtube-nocookie.com/embed/".concat(t,"?rel=0&amp;showinfo=0&enablejsapi=1"):"";if(!o)throw new Error("embed url not found");F.src=o,F.scrollIntoView(!1)};var X,G;!function(){var e=document.querySelectorAll("button[data-js]");!function(){var e=document.querySelectorAll('[data-js="themeSwitcher"]');if("dark"===window.localStorage.getItem("theme")){document.documentElement.setAttribute("data-theme","dark");for(var t=0;t<e.length;t+=1)e[t].setAttribute("value","light")}else document.documentElement.setAttribute("data-theme","light")}();for(var t=0;t<e.length;t+=1){var o=e[t];switch(o.getAttribute("data-js")){case"themeSwitcher":o.addEventListener("click",i);break;case"fontResizer":o.addEventListener("click",n)}}}(),function(){for(var e=document.querySelectorAll("[aria-controls],[aria-haspopup]"),t=0;t<e.length;t+=1)e[t].addEventListener("focus",(function(e){e.target.style.pointerEvents="auto"})),e[t].addEventListener("click",a)}(),function(){for(var e=document.querySelectorAll("[data-js=audio-player]"),t=function(t){var o=e[t],n=o.querySelector("audio"),i=o.querySelector('[data-js="audio-play-pause"]'),a=o.querySelector('[data-js="audio-play"]'),s=o.querySelector('[data-js="audio-pause"]'),c=o.querySelector('[data-js="audio-rewind"]'),l=o.querySelector('[data-js="audio-forward"]'),d=o.querySelector('[data-js="audio-progress"]'),u=o.querySelector('[data-js="audio-speed"]'),m=o.querySelector('[data-js="audio-mute"]'),h=o.querySelector('[data-js="audio-current-time"]'),p=o.querySelector('[data-js="audio-duration"]');if(n.duration?(p.textContent=r(n.duration),d.setAttribute("max",String(Math.floor(n.duration)))):n.addEventListener("loadedmetadata",(function(){d.setAttribute("max",String(Math.floor(n.duration))),p.textContent=r(n.duration)})),n.addEventListener("timeupdate",(function(){d.setAttribute("value",String(n.currentTime)),h.textContent=r(n.currentTime)})),i)i.addEventListener("click",(function(){if(!n.paused)return i.className=i.className.replace("--play","--pause"),void n.pause();n.ended&&(n.currentTime=0),i.className=i.className.replace("--pause","--play"),n.play()}),!1);else{if(!a||!s)throw new Error("player control missing");a.addEventListener("click",(function(){n.ended&&(n.currentTime=0),n.play(),a.setAttribute("hidden",""),s.removeAttribute("hidden"),s instanceof HTMLButtonElement&&s.focus()}),!1),s.addEventListener("click",(function(){n.pause(),s.setAttribute("hidden",""),a.removeAttribute("hidden"),a instanceof HTMLButtonElement&&a.focus()}),!1)}c.addEventListener("click",(function(){n.currentTime-=parseInt(c.getAttribute("data-decrement"),10)||10}),!1),l.addEventListener("click",(function(){n.currentTime+=parseInt(l.getAttribute("data-increment"),10)||30}),!1),d.addEventListener("click",(function(e){e instanceof MouseEvent&&(n.currentTime=Math.floor(n.duration)*(e.offsetX/n.offsetWidth))}),!1),u instanceof HTMLSelectElement&&u.addEventListener("click",(function(){n.playbackRate=parseInt(u.options[u.selectedIndex].value,10)||1}),!1),m.addEventListener("click",(function(){n.muted?(m.className=m.className.replace("--mute","--unmute"),n.muted=!1):(m.className=m.className.replace("--unmute","--mute"),n.muted=!0)}),!1),o.hasAttribute("hidden")&&o.removeAttribute("hidden")},o=e.length-1;o>=0;o-=1)t(o)}(),function(){var e=document.querySelectorAll('[data-js="filter"]');!function(){var e=document.getElementById("cform");e&&(E(e),e.addEventListener("change",E),e.addEventListener("submit",j))}(),window.addEventListener("load",(function(){if(window.parent){var e,t,o=0;"number"==typeof window.scrollHeight?o=window.scrollHeight:null!==(e=document.documentElement)&&void 0!==e&&e.scrollHeight?o=document.documentElement.scrollHeight:null!==(t=document.body)&&void 0!==t&&t.scrollHeight&&(o=document.body.scrollHeight),window.parent.postMessage({contentHeight:o},window.location.origin)}}));for(var t=function(t){var o=e[t];q(o),function(e){for(var t=e.elements,o=function(e){var o=t[e];w[o.name]&&(o.value=g(w[o.name]),Array.from(o.options).forEach((function(e,t){switch(g(w[o.name])){case e.value:case e.textContent:o.selectedIndex=t}})))},n=0;n<t.length;n+=1)o(n)}(o),o.addEventListener("change",(function(){q(o)})),o.addEventListener("submit",(function(e){e.preventDefault(),q(o)}))},o=0;o<e.length;o+=1)t(o)}(),function(){var e=document.querySelectorAll(".consent-controller");h();for(var t=0;t<e.length;t+=1){var o=e[t],n=o instanceof HTMLFormElement?"submit":"click";o.addEventListener(n,z)}}(),document.getElementById("webchat")&&(null!==(X=localStorage)&&void 0!==X&&X.firstVisit&&-1===window.location.search.indexOf("first-access")||(G=(new Date).getTime(),window.localStorage.setItem("firstVisit",String(G)),document.documentElement.className+=" first-access",document.documentElement.addEventListener("click",s))),function(){var e=document.querySelectorAll('[data-js="custom-header"]'),t=e[e.length*Math.random()<<0];if(t){var o=t.getAttribute("data-idx");document.documentElement.setAttribute("data-header-idx",o)}}(),function(){for(var e=document.querySelectorAll('[data-js="like-a-details"]'),t=function(t){var o=e[t];o.addEventListener("click",(function(){o.parentElement.classList.toggle("opened")}))},o=0;o<e.length;o+=1)t(o)}(),$(),window.addEventListener("pageshow",$),M.run("gallery__link--modal"),function(){for(var e=document.querySelectorAll("oembed"),t=0;t<e.length;t+=1){var o=e[t],n=document.createElement("a");n.href=o.getAttribute("url"),o.parentNode.replaceChild(n,o),new P(n,{includeHandle:!1})}}(),function(){var e=document.querySelectorAll(".search-form");if(e.length)for(var t=0;t<e.length;t+=1){e[t].addEventListener("reset",(function(e){e.target.elements.keywords.setAttribute("value","")}),!1)}}(),function(){var e=document.getElementsByName("keywords");if(e.length)for(var t=0;t<e.length;t+=1){e[t].addEventListener("focus",(function(e){e.target.select()}))}}(),function(){var e=document.getElementById("keywords"),t=null==w?void 0:w.keywords;if(e&&t&&e.setAttribute("value",g(t)),-1!==document.documentElement.className.indexOf("search")){var o=[W(),B()];document.documentElement.classList.add("going-to-search-results"),Promise.allSettled(o).finally((function(){var e;document.documentElement.classList.remove("going-to-search-results"),e=document.querySelector('main, [role="main"]'),window.location.hash||e&&e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}))}}(),function(){for(var e=document.forms,t=0;t<e.length;t+=1){var o=e[t];"select-navigation"===o.getAttribute("data-js")&&(o.hasAttribute("disabled")&&o.removeAttribute("disabled"),o.hasAttribute("hidden")&&o.removeAttribute("hidden"),o.addEventListener("submit",(function(e){if(e instanceof Event&&e.currentTarget instanceof HTMLFormElement){var t=e.currentTarget.elements["location-to"],o=(t||t.options[t.selectedIndex]).value,n=document.createElement("a");n.href=o,window.location.href=n.href,e.preventDefault()}})))}}(),function(){for(var e,t=document.querySelectorAll("[name]"),o=0;o<t.length;o+=1){var n=t[o];if(n instanceof HTMLInputElement&&w[n.name])switch(!0){case"checkbox"===n.type:case"radio"===n.type:n.checked=n.value===(null!==(e=w[n.name])&&void 0!==e?e:"");break;case"INPUT"===n.nodeName.toUpperCase():n.value=Array.isArray(w[n.name])?w[n.name].join(" "):w[n.name]}}}(),document.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll('[data-js="slider"]'),t=function(t){var o=e[t],n="auto"===o.getAttribute("data-slider-play"),i=o.querySelectorAll(".slider__item").length,a=o.hasAttribute("data-slides-to-scroll")?Number.parseInt(o.getAttribute("data-slides-to-scroll"),10):1,r=o.querySelectorAll(".js_prev, .js_next"),s={classNameFrame:"slider__frame",classNameSlideContainer:"slider__container",slidesToScroll:a},c=o.querySelector(".slider__navigation"),l=null;if(o.hasAttribute("data-slider-initial")){var d=o.querySelector(".slider__container"),u=o.getAttribute("data-slider-initial");"today"===u&&(u=String((new Date).getDate()));for(var m=0;m<d.children.length;m+=1){var h=d.children[m];if("no-initial"!==h.getAttribute("data-slider")&&h.textContent.trim()===u){h.className+=" calendar-menu__item--current",s.initialIndex=m;break}}}if(n&&(s.enableMouseEvents=!0),c){var p=function(e){l.slideTo(Array.prototype.indexOf.call(c.children,e.target))},f=document.createElement("li"),v=function(e){switch(e.type){case"before.lory.init":for(var t=0,o=i;t<o;t+=1){var n=f.cloneNode();c.appendChild(n)}c.children[0].classList.add("active");break;case"after.lory.init":for(var a=0,r=i;a<r;a+=1)c.children[a].addEventListener("click",p);break;case"after.lory.slide":for(var s=0,l=c.children.length;s<l;s+=1)c.children[s].classList.remove("active");c.children[e.detail.currentSlide-1].classList.add("active");break;case"on.lory.resize":for(var d=0,u=c.children.length;d<u;d+=1)c.children[d].classList.remove("active");c.children[0].classList.add("active")}};s.enableMouseEvents=!0,s.infinite=a,c.hasAttribute("hidden")&&c.removeAttribute("hidden"),o.addEventListener("before.lory.init",v),o.addEventListener("after.lory.init",v),o.addEventListener("after.lory.slide",v),o.addEventListener("on.lory.resize",v)}else s.rewind=!0;if(o.addEventListener("after.lory.init",(function(){if(i>0)for(var e=0;e<r.length;e+=1){var t=r[e];t.hasAttribute("hidden")&&t.removeAttribute("hidden"),(null==s?void 0:s.initialIndex)>1&&t.classList.remove("disabled")}})),l=(0,Y.lory)(o,s),n){var g,w,b,y,x=!1,E=function e(){requestAnimationFrame(e),w=Date.now(),(y=w-b)>g&&!x&&(b=w-y%g,l.next())};g=5e3,b=Date.now(),E(),o.addEventListener("mouseover",(function(){x=!0})),o.addEventListener("mouseout",(function(){w=Date.now(),b=w-(y=w-b)%g,x=!1}))}},o=0;o<e.length;o+=1)t(o)})),function(){var e=document.querySelectorAll('[data-js="video-gallery__switcher"]');if(F=document.querySelector('[data-js="video-gallery__embed"] iframe'))for(var t=0;t<e.length;t+=1){e[t].addEventListener("click",U)}}()},252:e=>{!function(){"use strict";var t={hideButtons:!0,animation:"slide",theme:"light",preload:2,swipeDownToClose:!1,swipeUpToClose:!1,nextPrevOnWheel:!0,isZoomable:!0};function o(e){var o;for(o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}function n(e,o){var n,i,a,r,s,c,l,d,u,m,h=document.getElementsByTagName("body")[0],p=document.getElementsByClassName(e),f=p.length,v=[],g=document.createElement("div"),w=document.createElement("div"),b=document.createElement("div"),y=document.createElement("div"),x=document.createElement("button"),E=document.createElement("div"),k=document.createElement("button"),j=document.createElement("div"),L=document.createElement("button"),A=document.createElement("p"),T=document.createElement("span"),S=document.createElement("span"),q=!1,_=window.innerWidth,C=window.innerWidth<window.innerHeight,N=!1,R=100,O={isSingleTapped:!1,whenSingleTapped:null,isDoubleTapped:!1},z={},$=!0,M=!0,P=!1,H=[],I=!1,B=!1;for(m in t)t.hasOwnProperty(m)&&(z[m]=t[m]);for(m in o)o.hasOwnProperty(m)&&(z[m]=o[m]);function D(e){var t=document.createElement("div");t.classList.add("hb-loader"),"dark"===z.theme&&(t.style.borderTop="5px solid #999");var o=document.createElement("img");if(v[e]=document.createElement("div"),v[e].classList.add("hb-image-div"),v[e].style.opacity=0,v[e].style.display="none",b.appendChild(v[e]),v[e].appendChild(t),v[e].appendChild(o),p[e].getAttribute("title")||p[e].getAttribute("data-title")){var n=document.createElement("p"),i=p[e].getAttribute("title")?p[e].getAttribute("title"):p[e].getAttribute("data-title");n.classList.add("hb-caption"),n.innerHTML='<span class="hb-caption-text">'+i+"</span>",v[e].appendChild(n),"light"===z.theme?n.classList.add("hb-caption-white"):"dark"===z.theme&&n.classList.add("hb-caption-black")}o.onload=function(){t.style.display="none"},o.onerror=function(){var o=document.createElement("p");o.innerHTML="Image not found.","light"===z.theme?o.classList.add("hb-err-text-black"):"dark"===z.theme&&o.classList.add("hb-err-text-white"),t.style.display="none",v[e].appendChild(o)},o.src=p[e].href}function W(e,t){e+t>=f&&(t=f-e-1);for(var o=e;o<=e+t;)v[o]||D(o),o+=1}function Y(e,t){e-t<0&&(t=e);for(var o=e;o>=e-t;)v[o]||D(o),o-=1}function F(e){s.innerHTML=e+1+" "}function U(t){f>1&&"hb-single"!==e&&!P&&(P=!0,"slide"===z.animation?(v[n].style.animation="slideNextOut 0.3s ease-out forwards",window.setTimeout((function(){v[n].style.opacity=0,v[n].style.display="none",J(v[n].getElementsByTagName("img")[0]),n>f-2&&(n=-1),F(n+=1),W(n,z.preload),v[n].style.display="block",v[n].style.animation="slideNextIn 0.3s ease-out forwards",P=!1}),300)):"fade"===z.animation&&(v[n].style.opacity=0,window.setTimeout((function(){v[n].style.display="none",J(v[n].getElementsByTagName("img")[0]),n>f-2&&(n=-1),F(n+=1),W(n,z.preload),v[n].style.display="block",window.setTimeout((function(){v[n].style.opacity=1}),50),P=!1}),300)))}function X(t){f>1&&"hb-single"!==e&&!P&&(P=!0,"slide"===z.animation?(v[n].style.animation="slidePreviousOut 0.3s ease-out forwards",window.setTimeout((function(){v[n].style.opacity=0,v[n].style.display="none",J(v[n].getElementsByTagName("img")[0]),0===n&&(n=f),F(n-=1),Y(n,z.preload),v[n].style.display="block",v[n].style.animation="slidePreviousIn 0.3s ease-out forwards",P=!1}),300)):"fade"===z.animation&&(v[n].style.opacity=0,window.setTimeout((function(){v[n].style.display="none",J(v[n].getElementsByTagName("img")[0]),0===n&&(n=f),F(n-=1),Y(n,z.preload),v[n].style.display="block",window.setTimeout((function(){v[n].style.opacity=1}),50),P=!1}),300)))}function G(){v[n].style.opacity=0,g.style.opacity=0,window.setTimeout((function(){v[n].style.display="none",g.style.display="none",J(v[n].getElementsByTagName("img")[0])}),300),p[n].focus(),p[n].blur(),ve(),$=!0,M=!0}function Q(e){e.preventDefault(),G()}function K(e){N||(e.stopPropagation(),e.preventDefault(),e.target===b||e.target===w||e.target===v[n]?Q(e):pe())}function V(t){t.stopPropagation(),t.preventDefault(),27===t.which?Q(t):37===t.which&&"hb-single"!==e?X():39===t.which&&"hb-single"!==e&&U()}function J(e){e.removeAttribute("style"),e.style.transition="all 150ms ease-in",R=100,window.setTimeout((function(){N=!1,e.style.transition="",e.removeAttribute("style")}),200)}function Z(e){var t=parseInt(window.getComputedStyle(e,null).getPropertyValue("width")),o=parseInt(window.getComputedStyle(e,null).getPropertyValue("height")),n=parseInt(window.getComputedStyle(e,null).getPropertyValue("left")),i=parseInt(window.getComputedStyle(e,null).getPropertyValue("top"));e.style.transition="all 150ms ease-out",t>=window.innerWidth?n>t/2?(e.style.left=t/2+"px",e.style.right="auto"):n<-1*(t-window.innerWidth-t/2)&&(e.style.left=-1*(t-window.innerWidth-t/2)+"px",e.style.right="auto"):t<window.innerWidth&&(n<t/2?(e.style.left=t/2+"px",e.style.right="auto"):n>window.innerWidth-t+t/2&&(e.style.left=window.innerWidth-t+t/2+"px",e.style.right="auto")),o>=window.innerHeight?i>o/2?(e.style.top=o/2+"px",e.style.bottom="auto"):i<-1*(o-window.innerHeight-o/2)&&(e.style.top=-1*(o-window.innerHeight-o/2)+"px",e.style.bottom="auto"):o<window.innerHeight&&(i<o/2?(e.style.top=o/2+"px",e.style.bottom="auto"):i>window.innerHeight-o+o/2&&(e.style.top=window.innerHeight-o+o/2+"px",e.style.bottom="auto")),t<=window.innerWidth&&o<=window.innerHeight?J(e):window.setTimeout((function(){e.style.transition=""}),200)}function ee(e,t,o){var n=window.getComputedStyle(o,null).getPropertyValue("left"),i=window.getComputedStyle(o,null).getPropertyValue("top");o.style.transition="",o.style.position="absolute",o.style.top=parseInt(i)+t+"px",o.style.left=parseInt(n)+e+"px",o.style.right="auto",o.style.bottom="auto"}function te(e){if(z.isZoomable){me(),de();var t=parseInt(window.getComputedStyle(e,null).getPropertyValue("width")),o=parseInt(window.getComputedStyle(e,null).getPropertyValue("height"));R>=50&&R<=400&&t<e.naturalWidth&&o<e.naturalHeight||R>=50&&R<=400&&R<=parseInt(e.style.maxWidth)?(e.style.position="absolute",e.style.maxWidth=parseInt(R)+"%",e.style.maxHeight=parseInt(R)+"%",N=!0):t>=e.naturalWidth||o>=e.naturalHeight?R=parseInt(e.style.maxWidth):R>=400?R=400:N=!1}}function oe(e){e.preventDefault(),c=e.clientX,d=e.clientY,v[n].addEventListener("mousemove",ne,!1)}function ne(e){e.preventDefault();var t=e.clientX-c,o=e.clientY-d;c=e.clientX,d=e.clientY,ee(t,o,v[n].getElementsByTagName("img")[0])}function ie(e){e.preventDefault(),v[n].removeEventListener("mousemove",ne),Z(v[n].getElementsByTagName("img")[0])}function ae(e){if(e.preventDefault(),e.ctrlKey){if(!z.isZoomable)return;e.deltaY<0?R+=20:N&&R>100&&(R-=20),R>100?(v[n].addEventListener("mousedown",oe,!1),v[n].addEventListener("mouseup",ie,!1),v[n].style.cursor="move",me(),de(),ve(),g.addEventListener("wheel",ae,!1)):(v[n].removeEventListener("mousedown",oe),v[n].removeEventListener("mouseup",ie),v[n].style.cursor="",he(),ue(),fe()),te(v[n].getElementsByTagName("img")[0]),Z(v[n].getElementsByTagName("img")[0])}else R<=100&&!I&&(I=!0,window.setTimeout((function(){I=!1}),600),e.deltaY<0?X():e.deltaY>0&&U())}function re(){O.isSingleTapped=!1,O.whenSingleTapped=null,O.isDoubleTapped=!1}function se(e){if(O.isSingleTapped&&1===e.touches.length&&(new Date).getTime()-O.whenSingleTapped<300)return O.isDoubleTapped=!0,!1===N?(R=200,v[n].getElementsByTagName("img")[0].style.transition="all 150ms ease-out",window.setTimeout((function(){v[n].getElementsByTagName("img")[0].style.transition=""}),200),te(v[n].getElementsByTagName("img")[0])):J(v[n].getElementsByTagName("img")[0]),void re();O.isSingleTapped||1!==e.touches.length||(O.isSingleTapped=!0,O.whenSingleTapped=(new Date).getTime(),window.setTimeout((function(){re()}),300)),window.innerWidth<window.innerHeight!==C&&(C=!0!==C,_=window.innerWidth),c=e.touches[0].clientX,d=e.touches[0].clientY,e.touches.length>1&&(l=e.touches[1].clientX,u=e.touches[1].clientY)}function ce(e){if(e.preventDefault(),!O.isDoubleTapped){q&&re();var t=e.touches[0]||e.changedTouches[0],o=e.touches.length;if(!1!==q||!1!==N||window.innerWidth!==_||2===o){if(2===o){q=!0;var i=Math.sqrt(Math.pow(l-c,2)+Math.pow(u-d,2)),a=Math.sqrt(Math.pow(e.touches[1].clientX-e.touches[0].clientX,2)+Math.pow(e.touches[1].clientY-e.touches[0].clientY,2));c=e.touches[0].clientX,d=e.touches[0].clientY,l=e.touches[1].clientX,u=e.touches[1].clientY,i<a?R+=a-i:R-=i-a,te(v[n].getElementsByTagName("img")[0])}else if(!0===N){q=!0;var r=e.touches[0].clientX-c,s=e.touches[0].clientY-d;c=e.touches[0].clientX,d=e.touches[0].clientY,ee(r,s,v[n].getElementsByTagName("img")[0])}}else t.clientX-c>50&&t.clientY-d<25&&t.clientY-d>-25?(q=!0,X()):t.clientX-c<-50&&t.clientY-d<25&&t.clientY-d>-25?(q=!0,U()):(t.clientY-d>80&&z.swipeDownToClose||t.clientY-d<-80&&z.swipeUpToClose)&&Q(e)}}function le(){q=!1,N?Z(v[n].getElementsByTagName("img")[0]):window.setTimeout((function(){Z(v[n].getElementsByTagName("img")[0])}),300)}function de(){j.style.opacity=0,E.style.opacity=0,y.style.opacity=0,A.style.opacity=0,$=!0}function ue(){j.style.opacity="",E.style.opacity="",y.style.opacity="",A.style.opacity="",$=!1}function me(){var e=b.getElementsByClassName("hb-caption"),t=0;for(t=0;t<e.length;t+=1)e[t].style.display="none";M=!0}function he(){var e=b.getElementsByClassName("hb-caption"),t=0;for(t=0;t<e.length;t+=1)e[t].style.display="";M=!1}function pe(e){M?he():me(),$&&!M?ue():!$&&M&&de()}function fe(){"hb-single"!==e&&(r.addEventListener("click",U,!1),a.addEventListener("click",X,!1)),g.addEventListener("touchstart",se,!1),g.addEventListener("touchmove",ce,!1),g.addEventListener("touchend",le,!1),z.nextPrevOnWheel&&g.addEventListener("wheel",ae,!1),i.addEventListener("click",Q,!1),b.addEventListener("click",K,!1),window.addEventListener("mouseout",de,!1),window.addEventListener("mouseover",ue,!1),window.addEventListener("keyup",V,!1)}function ve(){"hb-single"!==e&&(r.removeEventListener("click",U,!1),a.removeEventListener("click",X,!1)),g.removeEventListener("touchstart",se,!1),g.removeEventListener("touchmove",ce,!1),g.removeEventListener("touchend",le,!1),z.nextPrevOnWheel&&g.removeEventListener("wheel",ae,!1),i.removeEventListener("click",Q,!1),b.removeEventListener("click",K,!1),window.removeEventListener("mouseout",de,!1),window.removeEventListener("mouseover",ue,!1),window.removeEventListener("keyup",V,!1)}function ge(e){p[n=e].blur(),F(n),g.style.display="block",window.setTimeout((function(){g.style.opacity=1,_=window.innerWidth}),10),W(n,z.preload),Y(n,z.preload),v[n].style.animation="none",v[n].style.display="block",v[n].style.opacity=1,J(v[n].getElementsByTagName("img")[0]),pe(),fe()}function we(e,t){t.preventDefault(),ge(e)}g.setAttribute("class","hb-wrapper"),g.setAttribute("id","hb-wrapper"+e),w.setAttribute("class","hb-main-container"),b.setAttribute("class","hb-image-container"),y.setAttribute("class","hb-close-icon-container"),x.setAttribute("id","hb-close-"+e),x.setAttribute("class","hb-close"),E.setAttribute("class","hb-left-icon-container"),k.setAttribute("id","hb-left-"+e),k.setAttribute("class","hb-left"),j.setAttribute("class","hb-right-icon-container"),L.setAttribute("id","hb-right-"+e),L.setAttribute("class","hb-right"),A.setAttribute("id","hb-counter-"+e),A.setAttribute("class","hb-counter"),T.setAttribute("id","hb-counter-total"+e),T.setAttribute("class","hb-counter-total"),S.setAttribute("id","hb-counter-current"+e),S.setAttribute("class","hb-counter-current"),A.appendChild(S),A.appendChild(T),T.innerHTML="/ "+f,j.appendChild(L),L.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M576,290c0-0.1,0-0.2,0-0.3c0.1-7.9-3-15.7-8.8-21.4L311.5,12.5c-11.7-11.7-30.7-11.7-42.4,0s-11.7,30.7,0,42.4l204.5,204.5 H34c-16.6,0-30,13.4-30,30c0,0.2,0,0.3,0,0.5c0,0.2,0,0.3,0,0.5c0,16.6,13.4,30,30,30h439.6L269,525c-11.7,11.7-11.7,30.7,0,42.4 c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8l255.7-255.8c5.8-5.8,8.8-13.6,8.8-21.4C576,290.2,576,290.1,576,290z"/></svg>',E.appendChild(k),k.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M576,289.5c0-16.6-13.4-30-30-30H106.4L311,55c11.7-11.7,11.7-30.7,0-42.4c-11.7-11.7-30.7-11.7-42.4,0L12.8,268.3C7,274.1,3.9,281.8,4,289.7c0,0.1,0,0.2,0,0.3c0,0.1,0,0.2,0,0.3c-0.1,7.9,3,15.7,8.8,21.4l255.8,255.8c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8c11.7-11.7,11.7-30.7,0-42.4L106.4,320.5H546c16.6,0,30-13.4,30-30c0-0.2,0-0.3,0-0.5\tC576,289.8,576,289.7,576,289.5z"/></svg>',y.appendChild(x),x.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 580 580" style="" xml:space="preserve"><path d="M332.1,290l235-235c11.7-11.7,11.7-30.7,0-42.4c-11.7-11.7-30.7-11.7-42.4,0L290,247.2L55.3,12.5c-11.7-11.7-30.7-11.7-42.4,0C1.2,24.3,1.2,43.2,12.9,55l235,235l-235,235c-11.7,11.7-11.7,30.7,0,42.4c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8L290,332.8l234.7,234.7c5.9,5.9,13.5,8.8,21.2,8.8s15.4-2.9,21.2-8.8c11.7-11.7,11.7-30.7,0-42.4L332.1,290z"/></svg>',w.appendChild(b),w.appendChild(y),w.appendChild(E),w.appendChild(j),w.appendChild(A),g.appendChild(w),("ontouchstart"in window&&!0===z.hideButtons||"hb-single"===e||1===f)&&(j.style.display="none",E.style.display="none"),"hb-single"!==e&&1!==f||(A.style.display="none"),"dark"===z.theme&&g.classList.add("hb-dark-theme"),g.style.display="none",h.appendChild(g),i=document.getElementById("hb-close-"+e),a=document.getElementById("hb-left-"+e),r=document.getElementById("hb-right-"+e),document.getElementById("hb-counter-"+e),document.getElementById("hb-counter-total"+e),s=document.getElementById("hb-counter-current"+e);for(var be=0;be<f;be+=1)H.push(we.bind(this,be)),p[be].addEventListener("click",H[be],!1);return{open:ge,close:G,next:U,previous:X,destroy:function(){if(!B){for(var t=0;t<f;t+=1)p[t].removeEventListener("click",H[t],!1);document.getElementById("hb-wrapper"+e)&&(ve(),g.parentNode.removeChild(g)),B=!0}}}}if(void 0===e.exports)return{run:n,options:o};e.exports={run:n,options:o}}()},548:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=7)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};t.lory=function(e,t){var o=void 0,c=void 0,d=void 0,u=void 0,m=void 0,h=void 0,p=void 0,f=void 0,v=void 0,g=void 0,w=0,b={},y=!!(0,a.default)()&&{passive:!0};function x(e,t){var o=b.classNameActiveSlide;e.forEach((function(e,t){e.classList.contains(o)&&e.classList.remove(o)})),e[t].classList.add(o)}function E(t,o,n){(0,r.default)(e,t+".lory."+o,n)}function k(e,t,o){var n=h&&h.style;n&&(n[v.transition+"TimingFunction"]=o,n[v.transition+"Duration"]=t+"ms",n[v.transform]="translateX("+e+"px)")}function j(e){return e.getBoundingClientRect().width||e.offsetWidth}function L(e,t){var n=b,i=n.slideSpeed,a=n.slidesToScroll,r=n.infinite,s=n.rewind,m=n.rewindPrev,h=n.rewindSpeed,v=n.ease,y=n.classNameActiveSlide,j=n.classNameDisabledNextCtrl,L=void 0===j?"disabled":j,A=n.classNameDisabledPrevCtrl,T=void 0===A?"disabled":A,S=i,q=t?w+1:w-1,_=Math.round(c-d);E("before","slide",{index:w,nextSlide:q}),p&&p.classList.remove(T),f&&f.classList.remove(L),"number"!=typeof e&&(e=t?r&&w+2*r!==u.length?w+(r-w%r):w+a:r&&w%r!=0?w-w%r:w-a),e=Math.min(Math.max(e,0),u.length-1),r&&void 0===t&&(e+=r),m&&0===Math.abs(o.x)&&!1===t&&(e=u.length-1,S=h);var C=Math.min(Math.max(-1*u[e].offsetLeft,-1*_),0);s&&Math.abs(o.x)===_&&t&&(C=0,e=0,S=h),k(C,S,v),o.x=C,u[e].offsetLeft<=_&&(w=e),!r||e!==u.length-r&&e!==u.length-u.length%r&&0!==e||(t&&(w=r),t||(w=u.length-2*r),o.x=-1*u[w].offsetLeft,g=function(){k(-1*u[w].offsetLeft,0,void 0)}),y&&x(l.call(u),w),!p||r||m||0!==e||p.classList.add(T),!f||r||s||e+1!==u.length||f.classList.add(L),E("after","slide",{currentSlide:w})}function A(){E("before","init"),v=(0,i.default)();var a,r,c,d,g=b=n({},s.default,t),k=g.classNameFrame,j=g.classNameSlideContainer,L=g.classNamePrevCtrl,A=g.classNameNextCtrl,_=g.classNameDisabledNextCtrl,C=void 0===_?"disabled":_,N=g.classNameDisabledPrevCtrl,z=void 0===N?"disabled":N,$=g.enableMouseEvents,H=g.classNameActiveSlide,I=g.initialIndex;w=I,m=e.getElementsByClassName(k)[0],h=m.getElementsByClassName(j)[0],p=e.getElementsByClassName(L)[0],f=e.getElementsByClassName(A)[0],o={x:h.offsetLeft,y:h.offsetTop},b.infinite?(a=l.call(h.children),r=b.infinite,c=a.slice(0,r),d=a.slice(a.length-r,a.length),c.forEach((function(e){var t=e.cloneNode(!0);h.appendChild(t)})),d.reverse().forEach((function(e){var t=e.cloneNode(!0);h.insertBefore(t,h.firstChild)})),h.addEventListener(v.transitionEnd,R),u=l.call(h.children)):(u=l.call(h.children),p&&!b.rewindPrev&&p.classList.add(z),f&&1===u.length&&!b.rewind&&f.classList.add(C)),T(),H&&x(u,w),p&&f&&(p.addEventListener("click",S),f.addEventListener("click",q)),m.addEventListener("touchstart",O,y),$&&(m.addEventListener("mousedown",O),m.addEventListener("click",M)),b.window.addEventListener("resize",P),E("after","init")}function T(){var e=b,t=e.infinite,n=e.ease,i=e.rewindSpeed,a=e.rewindOnResize,r=e.classNameActiveSlide,s=e.initialIndex;c=j(h),(d=j(m))===c&&(c=u.reduce((function(e,t){return e+j(t)}),0)),a?w=s:(n=null,i=0),t?(k(-1*u[w+t].offsetLeft,0,null),w+=t,o.x=-1*u[w].offsetLeft):(k(-1*u[w].offsetLeft,i,n),o.x=-1*u[w].offsetLeft),r&&x(l.call(u),w)}function S(){L(!1,!1)}function q(){L(!1,!0)}"undefined"!=typeof jQuery&&e instanceof jQuery&&(e=e[0]);var _=void 0,C=void 0,N=void 0;function R(){g&&(g(),g=void 0)}function O(e){var t=b.enableMouseEvents,o=e.touches?e.touches[0]:e;t&&(m.addEventListener("mousemove",z),m.addEventListener("mouseup",$),m.addEventListener("mouseleave",$)),m.addEventListener("touchmove",z,y),m.addEventListener("touchend",$);var n=o.pageX,i=o.pageY;_={x:n,y:i,time:Date.now()},N=void 0,C={},E("on","touchstart",{event:e})}function z(e){var t=e.touches?e.touches[0]:e,n=t.pageX,i=t.pageY;C={x:n-_.x,y:i-_.y},void 0===N&&(N=!!(N||Math.abs(C.x)<Math.abs(C.y))),!N&&_&&k(o.x+C.x,0,null),E("on","touchmove",{event:e})}function $(e){var t=_?Date.now()-_.time:void 0,n=Number(t)<300&&Math.abs(C.x)>25||Math.abs(C.x)>d/3,i=!w&&C.x>0||w===u.length-1&&C.x<0,a=C.x<0;N||(n&&!i?L(!1,a):k(o.x,b.snapBackSpeed)),_=void 0,m.removeEventListener("touchmove",z),m.removeEventListener("touchend",$),m.removeEventListener("mousemove",z),m.removeEventListener("mouseup",$),m.removeEventListener("mouseleave",$),E("on","touchend",{event:e})}function M(e){C.x&&e.preventDefault()}function P(e){d!==j(m)&&(T(),E("on","resize",{event:e}))}return A(),{setup:A,reset:T,slideTo:function(e){L(e)},returnIndex:function(){return w-b.infinite||0},prev:S,next:q,destroy:function(){E("before","destroy"),m.removeEventListener(v.transitionEnd,R),m.removeEventListener("touchstart",O,y),m.removeEventListener("touchmove",z,y),m.removeEventListener("touchend",$),m.removeEventListener("mousemove",z),m.removeEventListener("mousedown",O),m.removeEventListener("mouseup",$),m.removeEventListener("mouseleave",$),m.removeEventListener("click",M),b.window.removeEventListener("resize",P),p&&p.removeEventListener("click",S),f&&f.removeEventListener("click",q),b.infinite&&Array.apply(null,Array(b.infinite)).forEach((function(){h.removeChild(h.firstChild),h.removeChild(h.lastChild)})),E("after","destroy")}}};var i=c(o(1)),a=c(o(2)),r=c(o(3)),s=c(o(6));function c(e){return e&&e.__esModule?e:{default:e}}var l=Array.prototype.slice},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t,o,n=void 0,i=void 0,a=void 0;return e=document.createElement("_"),t=e.style,o=void 0,""===t[o="webkitTransition"]&&(a="webkitTransitionEnd",i=o),""===t[o="transition"]&&(a="transitionend",i=o),""===t[o="webkitTransform"]&&(n=o),""===t[o="msTransform"]&&(n=o),""===t[o="transform"]&&(n=o),document.body.insertBefore(e,null),t[n]="translateX(0)",document.body.removeChild(e),{transform:n,transition:i,transitionEnd:a}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassive",null,t),window.removeEventListener("testPassive",null,t)}catch(e){}return e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,o){var n=new a.default(t,{bubbles:!0,cancelable:!0,detail:o});e.dispatchEvent(n)};var n,i=o(4),a=(n=i)&&n.__esModule?n:{default:n}},function(e,t,o){(function(t){var o=t.CustomEvent;e.exports=function(){try{var e=new o("cat",{detail:{foo:"bar"}});return"cat"===e.type&&"bar"===e.detail.foo}catch(e){}return!1}()?o:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(e,t){var o=document.createEvent("CustomEvent");return t?o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail):o.initCustomEvent(e,!1,!1,void 0),o}:function(e,t){var o=document.createEventObject();return o.type=e,t?(o.bubbles=Boolean(t.bubbles),o.cancelable=Boolean(t.cancelable),o.detail=t.detail):(o.bubbles=!1,o.cancelable=!1,o.detail=void 0),o}}).call(t,o(5))},function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={slidesToScroll:1,slideSpeed:300,rewindSpeed:600,snapBackSpeed:200,ease:"ease",rewind:!1,infinite:!1,initialIndex:0,classNameFrame:"js_frame",classNameSlideContainer:"js_slides",classNamePrevCtrl:"js_prev",classNameNextCtrl:"js_next",classNameActiveSlide:"active",enableMouseEvents:!1,window:"undefined"!=typeof window?window:null,rewindOnResize:!0}},function(e,t,o){e.exports=o(0)}])},e.exports=t()},747:()=>{},603:e=>{e.exports=function e(t,o,n){function i(r,s){if(!o[r]){if(!t[r]){if(a)return a(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var l=o[r]={exports:{}};t[r][0].call(l.exports,(function(e){var o=t[r][1][e];return i(o||e)}),l,l.exports,e,t,o,n)}return o[r].exports}for(var a=void 0,r=0;r<n.length;r++)i(n[r]);return i}({1:[function(e,t,o){var n=e("xtend/mutable"),i=e("component-ajax"),a=e("domify"),r=e("./lib/url-list"),s=e("./lib/providers"),c=e("random-string");function l(e,t){var o={fallback:!0,maxWidth:null,maxHeight:null,includeHandle:!0,embedMethod:"auto",onProviderNotFound:function(){},beforeEmbed:function(){},afterEmbed:function(){},onEmbed:!1,onError:function(e,t,o,n){console.log("err:",e,t,o,n)},ajaxOptions:{}};this.settings=n(o,t),this.data={},e instanceof Element?this.embedElement(e):[].forEach.call(e,this.embedElement.bind(this))}n(l.prototype,{providers:s,embedElement:function(e){var t,o=this,a=o.settings.url?o.settings.url:e.getAttribute("href");if(o.embedAction?o.settings.onEmbed=o.embedAction:o.settings.onEmbed||(o.settings.onEmbed=function(t){o.insertCode(e,o.settings.embedMethod,t)}),null!=a){for(var s=0,c=r.length;s<c;s++){var l=new RegExp("://"+r[s]+"/","i");if(null!==a.match(l)){var d=n({url:"http://api.longurl.org/v2/expand",dataType:"jsonp",data:{url:a,format:"json"},success:function(n){a=n["long-url"],t=o.getOEmbedProvider(n["long-url"]),0==!!o.settings.fallback&&(t="opengraph"===t.name.toLowerCase()?null:t),null!==t?(t.params=o.getNormalizedParams(o.settings[t.name])||{},t.style.maxWidth=o.settings.maxWidth+"px",t.style.maxHeight=o.settings.maxHeight+"px",o.embedCode(e,a,t)):o.settings.onProviderNotFound.call(e,a)},error:function(){o.settings.onError.call(e,a)}},o.settings.ajaxOptions||{});return i(d),e}}t=o.getOEmbedProvider(a),0==!!o.settings.fallback&&(t="opengraph"===t.name.toLowerCase()?null:t),null!==t?(t.params=o.getNormalizedParams(o.settings[t.name])||{},t.maxWidth=o.settings.maxWidth,t.maxHeight=o.settings.maxHeight,o.embedCode(e,a,t)):o.settings.onProviderNotFound.call(e,a)}return e},insertCode:function(e,t,o){var n=this;if(null!==o)switch("auto"===t&&null!==e.getAttribute("href")?t="append":"auto"==t&&(t="replace"),t){case"replace":o.code instanceof Element?e.parentNode.insertBefore(o.code,e):e.parentNode.insertBefore(a(o.code),e),e.parentNode.removeChild(e);break;case"fill":o.code instanceof Element?e.appendChild(o.code):e.innerHTML=o.code;break;case"append":var i=a('<div class="oembedall-container"></div>');e.parentNode.appendChild(i),i.appendChild(e);var r=i;if(n.settings.includeHandle){var s=a('<span class="oembedall-closehide">&darr;</span>');e.parentNode.insertBefore(s,e),s.addEventListener("click",(function(){var e=encodeURIComponent(s.innerHTML);s.innerHTML="%E2%86%91"==e?"&darr;":"&uarr;";var t=s.parentNode.lastChild;"none"==getComputedStyle(t).display?t.style.display="block":t.style.display="none"}))}r.appendChild(document.createElement("br"));try{r.appendChild(o.code.clone())}catch(e){r.appendChild(o.code)}if(n.settings.maxWidth){var c=r.parentNode.clientWidth;if(c<n.settings.maxWidth){var l=r.querySelector("iframe").clientWidth,d=r.querySelector("iframe").clientHeight,u=l/c;r.querySelector("iframe").clientWidth=frame_width_orig/u,r.querySelector("iframe").clientHeight=d/u}else n.settings.maxWidth&&(r.querySelector("iframe").clientWidth=n.settings.maxWidth),n.settings.maxHeight&&(r.querySelector("iframe").clientHeight=n.settings.maxHeight)}}},getPhotoCode:function(e,t){var o,n=t.title?t.title:"";return n+=t.author_name?" - "+t.author_name:"",n+=t.provider_name?" - "+t.provider_name:"",o=t.url?'<div><a href="'+e+"\" target='_blank'><img src=\""+t.url+'" alt="'+n+'"/></a></div>':t.thumbnail_url?'<div><a href="'+e+"\" target='_blank'><img src=\""+t.thumbnail_url.replace("_s","_b")+'" alt="'+n+'"/></a></div>':"<div>Error loading this picture</div>",t.html&&(o+="<div>"+t.html+"</div>"),o},getRichCode:function(e,t){return t.html},getGenericCode:function(e,t){var o='<a href="'+e+'">'+(t.title&&null!==t.title?t.title:e)+"</a>";return t.html&&(o+="<div>"+t.html+"</div>"),o},getOEmbedProvider:function(e){for(var t=0;t<this.providers.length;t++)for(var o=0,n=this.providers[t].urlschemes.length;o<n;o++){var i=new RegExp(this.providers[t].urlschemes[o],"i");if(null!==e.match(i))return this.providers[t]}return null},embedCode:function(e,t,o){var r=this;if(r.data["data-external-url"]&&"iframe"!=o.embedtag.tag){var s={code:r.data["data-external-url"]};r.success(s,t,e)}else if(o.yql){var l=o.yql.from||"htmlstring",d=o.yql.url?o.yql.url(t):t,u="SELECT * FROM "+l+' WHERE url="'+d+'" and '+(/html/.test(l)?"xpath":"itemPath")+"='"+(o.yql.xpath||"/")+"'";"html"==l&&(u+=" and compat='html5'");var m=n({url:"//query.yahooapis.com/v1/public/yql",dataType:"jsonp",data:{q:u,format:"json",env:"store://datatables.org/alltableswithkeys",callback:"?"},success:function(i){var a;if(o.yql.xpath&&"//meta|//title|//link"==o.yql.xpath){var s={};null==i.query&&(i.query={}),null==i.query.results&&(i.query.results={meta:[]});for(var c=0,l=i.query.results.meta.length;c<l;c++){var u=i.query.results.meta[c].name||i.query.results.meta[c].property||null;null!=u&&(s[u.toLowerCase()]=i.query.results.meta[c].content)}if(s.hasOwnProperty("title")&&s.hasOwnProperty("og:title")||null!=i.query.results.title&&(s.title=i.query.results.title),!s.hasOwnProperty("og:image")&&i.query.results.hasOwnProperty("link"))for(c=0,l=i.query.results.link.length;c<l;c++)i.query.results.link[c].hasOwnProperty("rel")&&"apple-touch-icon"==i.query.results.link[c].rel&&("/"==i.query.results.link[c].href.charAt(0)?s["og:image"]=d.match(/^(([a-z]+:)?(\/\/)?[^\/]+\/).*$/)[1]+i.query.results.link[c].href:s["og:image"]=i.query.results.link[c].href);a=o.yql.datareturn(s)}else a=o.yql.datareturn?o.yql.datareturn(i.query.results):i.query.results.result;if(!1!==a){var m=n({},a);m.code=a,r.success(m,t,e)}},error:r.settings.onError.call(e,t,o)},r.settings.ajaxOptions||{});i(m)}else if(o.templateRegex)if(""!==o.embedtag.tag){var h=o.embedtag.flashvars||"",p=o.embedtag.tag||"embed",f=o.embedtag.width||"auto",v=o.embedtag.height||"auto",g=t.replace(o.templateRegex,o.apiendpoint);o.nocache||(g+="&jqoemcache="+c({length:5})),o.apikey&&(g=g.replace("_APIKEY_",r.settings.apikeys[o.name]));var w=a("<"+p+' src="'+g+'" width="'+f+'" height="'+v+'" allowfullscreen="'+(o.embedtag.allowfullscreen||"true")+'" allowscriptaccess="'+(o.embedtag.allowfullscreen||"always")+'"/>');w.style.maxHeight=r.settings.maxHeight||"auto",w.style.maxWidth=r.settings.maxWidth||"auto","embed"==p&&(w.setAttribute("type",o.embedtag.type||"application/x-shockwave-flash"),w.setAttribute("flashvars",t.replace(o.templateRegex,h))),"iframe"==p&&(w.setAttribute("scrolling",o.embedtag.scrolling||"no"),w.setAttribute("frameborder",o.embedtag.frameborder||"0")),r.success({code:w},t,e)}else o.apiendpoint?(o.apikey&&(o.apiendpoint=o.apiendpoint.replace("_APIKEY_",r.settings.apikeys[o.name])),m=n({url:t.replace(o.templateRegex,o.apiendpoint),dataType:"jsonp",success:function(i){var a=n({},i);a.code=o.templateData(i),r.success(a,t,e)},error:r.settings.onError.call(e,t,o)},r.settings.ajaxOptions||{}),i(m)):r.success({code:t.replace(o.templateRegex,o.template)},t,e);else{var b=r.getRequestUrl(o,t);m=n({url:b,dataType:o.dataType||"jsonp",success:function(o){var i=n({},o);switch(i.type){case"file":case"photo":i.code=r.getPhotoCode(t,i);break;case"video":case"rich":i.code=r.getRichCode(t,i);break;default:i.code=r.getGenericCode(t,i)}r.success(i,t,e)},error:r.settings.onError.call(e,t,o)},r.settings.ajaxOptions||{}),i(m)}},success:function(e,t,o){this.data["data-external-url"]=e.code,this.settings.beforeEmbed.call(o,e),this.settings.onEmbed.call(o,e),this.settings.afterEmbed.call(o,e)},getRequestUrl:function(e,t){var o,n=e.apiendpoint,i="";for(o in n=(n+=n.indexOf("?")<=0?"?":"&").replace("#","%23"),null===e.maxWidth||void 0!==e.params.maxwidth&&null!==e.params.maxwidth||(e.params.maxwidth=e.maxWidth),null===e.maxHeight||void 0!==e.params.maxheight&&null!==e.params.maxheight||(e.params.maxheight=e.maxHeight),e.params)o!=e.callbackparameter&&null!==e.params[o]&&(i+="&"+escape(o)+"="+e.params[o]);return n+="format="+e.format+"&url="+escape(t)+i,"json"!=e.dataType&&(n+="&"+e.callbackparameter+"=?"),n},getNormalizedParams:function(e){if(null===e)return null;var t,o={};for(t in e)null!==t&&(o[t.toLowerCase()]=e[t]);return o}}),t.exports=l},{"./lib/providers":3,"./lib/url-list":4,"component-ajax":5,domify:6,"random-string":7,"xtend/mutable":9}],2:[function(e,t,o){function n(e,t,o,n,i){for(var a in this.name=e,this.type=t,this.urlschemes=o,this.apiendpoint=n,this.maxWidth=500,this.maxHeight=400,(i=i||{}).useYQL&&("xml"==i.useYQL?i.yql={xpath:"//oembed/html",from:"xml",apiendpoint:this.apiendpoint,url:function(e){return this.apiendpoint+"?format=xml&url="+e},datareturn:function(e){return e.html.replace(/.*\[CDATA\[(.*)\]\]>$/,"$1")||""}}:i.yql={from:"json",apiendpoint:this.apiendpoint,url:function(e){return this.apiendpoint+"?format=json&url="+e},datareturn:function(e){return"video"!=e.json.type&&(e.json.url||e.json.thumbnail_url)?'<img src="'+(e.json.url||e.json.thumbnail_url)+'" />':e.json.html||""}},this.apiendpoint=null),i)this[a]=i[a];this.format=this.format||"json",this.callbackparameter=this.callbackparameter||"callback",this.embedtag=this.embedtag||{tag:""}}t.exports=n},{}],3:[function(e,t,o){var n=e("./provider"),a=[new n("youtube","video",["youtube\\.com/watch.+v=[\\w-]+&?","youtu\\.be/[\\w-]+","youtube.com/embed"],"//www.youtube.com/embed/$1?wmode=transparent",{templateRegex:/.*(?:v\=|be\/|embed\/)([\w\-]+)&?.*/,embedtag:{tag:"iframe",width:"425",height:"349"}}),new n("wistia","video",["wistia.com/m/.+","wistia.com/embed/.+","wi.st/m/.+","wi.st/embed/.+"],"//fast.wistia.com/oembed",{useYQL:"json"}),new n("xtranormal","video",["xtranormal\\.com/watch/.+"],"//www.xtranormal.com/xtraplayr/$1/$2",{templateRegex:/.*com\/watch\/([\w\-]+)\/([\w\-]+).*/,embedtag:{tag:"iframe",width:"320",height:"269"}}),new n("scivee","video",["scivee.tv/node/.+"],"//www.scivee.tv/flash/embedCast.swf?",{templateRegex:/.*tv\/node\/(.+)/,embedtag:{width:"480",height:"400",flashvars:"id=$1&type=3"}}),new n("veoh","video",["veoh.com/watch/.+"],"//www.veoh.com/swf/webplayer/WebPlayer.swf?version=AFrontend.5.7.0.1337&permalinkId=$1&player=videodetailsembedded&videoAutoPlay=0&id=anonymous",{templateRegex:/.*watch\/([^\?]+).*/,embedtag:{width:"410",height:"341"}}),new n("gametrailers","video",["gametrailers\\.com/video/.+"],"//media.mtvnservices.com/mgid:moses:video:gametrailers.com:$2",{templateRegex:/.*com\/video\/([\w\-]+)\/([\w\-]+).*/,embedtag:{width:"512",height:"288"}}),new n("funnyordie","video",["funnyordie\\.com/videos/.+"],"//player.ordienetworks.com/flash/fodplayer.swf?",{templateRegex:/.*videos\/([^\/]+)\/([^\/]+)?/,embedtag:{width:512,height:328,flashvars:"key=$1"}}),new n("colledgehumour","video",["collegehumor\\.com/video/.+"],"//www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=$1&use_node_id=true&fullscreen=1",{templateRegex:/.*video\/([^\/]+).*/,embedtag:{width:600,height:338}}),new n("metacafe","video",["metacafe\\.com/watch/.+"],"//www.metacafe.com/fplayer/$1/$2.swf",{templateRegex:/.*watch\/(\d+)\/(\w+)\/.*/,embedtag:{width:400,height:345}}),new n("bambuser","video",["bambuser\\.com/channel/.*/broadcast/.*"],"//static.bambuser.com/r/player.swf?vid=$1",{templateRegex:/.*bambuser\.com\/channel\/.*\/broadcast\/(\w+).*/,embedtag:{width:512,height:339}}),new n("twitvid","video",["twitvid\\.com/.+"],"//www.twitvid.com/embed.php?guid=$1&autoplay=0",{templateRegex:/.*twitvid\.com\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360}}),new n("aniboom","video",["aniboom\\.com/animation-video/.+"],"//api.aniboom.com/e/$1",{templateRegex:/.*animation-video\/(\d+).*/,embedtag:{width:594,height:334}}),new n("vzaar","video",["vzaar\\.com/videos/.+","vzaar.tv/.+"],"//view.vzaar.com/$1/player?",{templateRegex:/.*\/(\d+).*/,embedtag:{tag:"iframe",width:576,height:324}}),new n("snotr","video",["snotr\\.com/video/.+"],"//www.snotr.com/embed/$1",{templateRegex:/.*\/(\d+).*/,embedtag:{tag:"iframe",width:400,height:330},nocache:1}),new n("youku","video",["v.youku.com/v_show/id_.+"],"//player.youku.com/player.php/sid/$1/v.swf",{templateRegex:/.*id_(.+)\.html.*/,embedtag:{width:480,height:400},nocache:1}),new n("tudou","video",["tudou.com/programs/view/.+/"],"//www.tudou.com/v/$1/v.swf",{templateRegex:/.*view\/(.+)\//,embedtag:{width:480,height:400},nocache:1}),new n("embedr","video",["embedr\\.com/playlist/.+"],"//embedr.com/swf/slider/$1/425/520/default/false/std?",{templateRegex:/.*playlist\/([^\/]+).*/,embedtag:{width:425,height:520}}),new n("blip","video",["blip\\.tv/.+"],"//blip.tv/oembed/"),new n("minoto-video","video",["//api.minoto-video.com/publishers/.+/videos/.+","//dashboard.minoto-video.com/main/video/details/.+","//embed.minoto-video.com/.+"],"//api.minoto-video.com/services/oembed.json",{useYQL:"json"}),new n("animoto","video",["animoto.com/play/.+"],"//animoto.com/services/oembed"),new n("hulu","video",["hulu\\.com/watch/.*"],"//www.hulu.com/api/oembed.json"),new n("ustream","video",["ustream\\.tv/recorded/.*"],"//www.ustream.tv/oembed",{useYQL:"json"}),new n("videojug","video",["videojug\\.com/(film|payer|interview).*"],"//www.videojug.com/oembed.json",{useYQL:"json"}),new n("sapo","video",["videos\\.sapo\\.pt/.*"],"//videos.sapo.pt/oembed",{useYQL:"json"}),new n("vodpod","video",["vodpod.com/watch/.*"],"//vodpod.com/oembed.js",{useYQL:"json"}),new n("vimeo","video",["www.vimeo.com/groups/.*/videos/.*","www.vimeo.com/.*","vimeo.com/groups/.*/videos/.*","vimeo.com/.*"],"//vimeo.com/api/oembed.json"),new n("dailymotion","video",["dailymotion\\.com/.+"],"//www.dailymotion.com/services/oembed"),new n("5min","video",["www\\.5min\\.com/.+"],"//api.5min.com/oembed.xml",{useYQL:"xml"}),new n("National Film Board of Canada","video",["nfb\\.ca/film/.+"],"//www.nfb.ca/remote/services/oembed/",{useYQL:"json"}),new n("qik","video",["qik\\.com/\\w+"],"//qik.com/api/oembed.json",{useYQL:"json"}),new n("revision3","video",["revision3\\.com"],"//revision3.com/api/oembed/"),new n("dotsub","video",["dotsub\\.com/view/.+"],"//dotsub.com/services/oembed",{useYQL:"json"}),new n("clikthrough","video",["clikthrough\\.com/theater/video/\\d+"],"//clikthrough.com/services/oembed"),new n("Kinomap","video",["kinomap\\.com/.+"],"//www.kinomap.com/oembed"),new n("VHX","video",["vhx.tv/.+"],"//vhx.tv/services/oembed.json"),new n("bambuser","video",["bambuser.com/.+"],"//api.bambuser.com/oembed/iframe.json"),new n("justin.tv","video",["justin.tv/.+"],"//api.justin.tv/api/embed/from_url.json",{useYQL:"json"}),new n("vine","video",["vine.co/v/.*"],null,{templateRegex:/https?:\/\/w?w?w?.?vine\.co\/v\/([a-zA-Z0-9]*).*/,template:'<iframe src="//vine.co/v/$1/embed/postcard" width="600" height="600" allowfullscreen="true" allowscriptaccess="always" scrolling="no" frameborder="0"></iframe><script async src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"><\/script>',nocache:1}),new n("boxofficebuz","video",["boxofficebuz\\.com\\/embed/.+"],"//boxofficebuz.com/embed/$1/$2",{templateRegex:[/.*boxofficebuz\.com\/embed\/(\w+)\/([\w*\-*]+)/],embedtag:{tag:"iframe",width:480,height:360}}),new n("clipsyndicate","video",["clipsyndicate\\.com/video/play/.+","clipsyndicate\\.com/embed/iframe?.+"],"//eplayer.clipsyndicate.com/embed/iframe?pf_id=1&show_title=0&va_id=$1&windows=1",{templateRegex:[/.*www\.clipsyndicate\.com\/video\/play\/(\w+)\/.*/,/.*eplayer\.clipsyndicate\.com\/embed\/iframe\?.*va_id=(\w+).*.*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("coub","video",["coub\\.com/.+"],"//www.coub.com/embed/$1?muted=false&autostart=false&originalSize=false&hideTopBar=false&noSiteButtons=false&startWithHD=false",{templateRegex:[/.*coub\.com\/embed\/(\w+)\?*.*/,/.*coub\.com\/view\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("discoverychannel","video",["snagplayer\\.video\\.dp\\.discovery\\.com/.+"],"//snagplayer.video.dp.discovery.com/$1/snag-it-player.htm?auto=no",{templateRegex:[/.*snagplayer\.video\.dp\.discovery\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360}}),new n("telly","video",["telly\\.com/.+"],"//www.telly.com/embed.php?guid=$1&autoplay=0",{templateRegex:[/.*telly\.com\/embed\.php\?guid=(\w+).*/,/.*telly\.com\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360}}),new n("minilogs","video",["minilogs\\.com/.+"],"//www.minilogs.com/e/$1",{templateRegex:[/.*minilogs\.com\/e\/(\w+).*/,/.*minilogs\.com\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("viddy","video",["viddy\\.com/.+"],"//www.viddy.com/embed/video/$1",{templateRegex:[/.*viddy\.com\/embed\/video\/(\.*)/,/.*viddy\.com\/video\/(\.*)/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("worldstarhiphop","video",["worldstarhiphop\\.com/embed/.+"],"//www.worldstarhiphop.com/embed/$1",{templateRegex:/.*worldstarhiphop\.com\/embed\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("zapiks","video",["zapiks\\.fr/.+"],"//www.zapiks.fr/index.php?action=playerIframe&media_id=$1&autoStart=fals",{templateRegex:/.*zapiks\.fr\/index.php\?[\w\=\&]*media_id=(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("official.fm","rich",["official.fm/.+"],"//official.fm/services/oembed",{useYQL:"json"}),new n("chirbit","rich",["chirb.it/.+"],"//chirb.it/oembed.json",{useYQL:"json"}),new n("chirbit","audio",["chirb\\.it/.+"],"//chirb.it/wp/$1",{templateRegex:[/.*chirb\.it\/wp\/(\w+).*/,/.*chirb\.it\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("Huffduffer","rich",["huffduffer.com/[-.\\w@]+/\\d+"],"//huffduffer.com/oembed"),new n("Spotify","rich",["open.spotify.com/(track|album|user)/"],"//embed.spotify.com/oembed/"),new n("shoudio","rich",["shoudio.com/.+","shoud.io/.+"],"//shoudio.com/api/oembed"),new n("mixcloud","rich",["mixcloud.com/.+"],"//www.mixcloud.com/oembed/",{useYQL:"json"}),new n("rdio.com","rich",["rd.io/.+","rdio.com"],"//www.rdio.com/api/oembed/"),new n("Soundcloud","rich",["soundcloud.com/.+","snd.sc/.+"],"//soundcloud.com/oembed",{format:"js"}),new n("bandcamp","rich",["bandcamp\\.com/album/.+"],null,{yql:{xpath:"//meta[contains(@content, \\'EmbeddedPlayer\\')]",from:"html",datareturn:function(e){return!!e.meta&&'<iframe width="400" height="100" src="'+e.meta.content+'" allowtransparency="true" frameborder="0"></iframe>'}}}),new n("deviantart","photo",["deviantart.com/.+","fav.me/.+","deviantart.com/.+"],"//backend.deviantart.com/oembed",{format:"jsonp"}),new n("skitch","photo",["skitch.com/.+"],null,{yql:{xpath:"json",from:"json",url:function(e){return"//skitch.com/oembed/?format=json&url="+e},datareturn:function(e){return window.oembed.getPhotoCode(e.json.url,e.json)}}}),new n("mobypicture","photo",["mobypicture.com/user/.+/view/.+","moby.to/.+"],"//api.mobypicture.com/oEmbed"),new n("flickr","photo",["flickr\\.com/photos/.+"],"//flickr.com/services/oembed",{callbackparameter:"jsoncallback"}),new n("photobucket","photo",["photobucket\\.com/(albums|groups)/.+"],"//photobucket.com/oembed/"),new n("instagram","photo",["instagr\\.?am(\\.com)?/.+"],"//api.instagram.com/oembed"),new n("SmugMug","photo",["smugmug.com/[-.\\w@]+/.+"],"//api.smugmug.com/services/oembed/"),new n("dribbble","photo",["dribbble.com/shots/.+"],"//api.dribbble.com/shots/$1?callback=?",{templateRegex:/.*shots\/([\d]+).*/,templateData:function(e){return!!e.image_teaser_url&&'<img src="'+e.image_teaser_url+'"/>'}}),new n("chart.ly","photo",["chart\\.ly/[a-z0-9]{6,8}"],"//chart.ly/uploads/large_$1.png",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n("circuitlab","photo",["circuitlab.com/circuit/.+"],"//www.circuitlab.com/circuit/$1/screenshot/540x405/",{templateRegex:/.*circuit\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n("23hq","photo",["23hq.com/[-.\\w@]+/photo/.+"],"//www.23hq.com/23/oembed",{useYQL:"json"}),new n("img.ly","photo",["img\\.ly/.+"],"//img.ly/show/thumb/$1",{templateRegex:/.*ly\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n("twitgoo.com","photo",["twitgoo\\.com/.+"],"//twitgoo.com/show/thumb/$1",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n("imgur.com","photo",["imgur\\.com/gallery/.+"],"//imgur.com/$1l.jpg",{templateRegex:/.*gallery\/([^\/]+).*/,embedtag:{tag:"img"},nocache:1}),new n("visual.ly","rich",["visual\\.ly/.+"],null,{yql:{xpath:"//a[@id=\\'gc_article_graphic_image\\']/img",from:"htmlstring"}}),new n("achewood","photo",["achewood\\.com\\/index.php\\?date=.+"],"//www.achewood.com/comic.php?date=$1",{templateRegex:/.*achewood\.com\/index.php\?date=(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("fotokritik","photo",["fotokritik\\.com/.+"],"//www.fotokritik.com/embed/$1",{templateRegex:[/.*fotokritik\.com\/embed\/(\w+).*/,/.*fotokritik\.com\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("giflike","photo",["giflike\\.com/.+"],"//www.giflike.com/embed/$1",{templateRegex:[/.*giflike\.com\/embed\/(\w+).*/,/.*giflike\.com\/a\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("twitter","rich",["twitter.com/.+"],"//api.twitter.com/1/statuses/oembed.json"),new n("gmep","rich",["gmep.imeducate.com/.*","gmep.org/.*"],"//gmep.org/oembed.json"),new n("urtak","rich",["urtak.com/(u|clr)/.+"],"//oembed.urtak.com/1/oembed"),new n("cacoo","rich",["cacoo.com/.+"],"//cacoo.com/oembed.json"),new n("dailymile","rich",["dailymile.com/people/.*/entries/.*"],"//api.dailymile.com/oembed"),new n("dipity","rich",["dipity.com/timeline/.+"],"//www.dipity.com/oembed/timeline/",{useYQL:"json"}),new n("sketchfab","rich",["sketchfab.com/show/.+"],"//sketchfab.com/oembed",{useYQL:"json"}),new n("speakerdeck","rich",["speakerdeck.com/.+"],"//speakerdeck.com/oembed.json",{useYQL:"json"}),new n("popplet","rich",["popplet.com/app/.*"],"//popplet.com/app/Popplet_Alpha.swf?page_id=$1&em=1",{templateRegex:/.*#\/([^\/]+).*/,embedtag:{width:460,height:460}}),new n("pearltrees","rich",["pearltrees.com/.*"],"//cdn.pearltrees.com/s/embed/getApp?",{templateRegex:/.*N-f=1_(\d+).*N-p=(\d+).*/,embedtag:{width:460,height:460,flashvars:"lang=en_US&amp;embedId=pt-embed-$1-693&amp;treeId=$1&amp;pearlId=$2&amp;treeTitle=Diagrams%2FVisualization&amp;site=www.pearltrees.com%2FF"}}),new n("prezi","rich",["prezi.com/.*"],"//prezi.com/bin/preziloader.swf?",{templateRegex:/.*com\/([^\/]+)\/.*/,embedtag:{width:550,height:400,flashvars:"prezi_id=$1&amp;lock_to_path=0&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0"}}),new n("tourwrist","rich",["tourwrist.com/tours/.+"],null,{templateRegex:/.*tours.([\d]+).*/,template:function(e,t){return setTimeout((function(){loadEmbeds&&loadEmbeds()}),2e3),"<div id='"+t+"' class='tourwrist-tour-embed direct'></div> <script type='text/javascript' src='//tourwrist.com/tour_embed.js'><\/script>"}}),new n("meetup","rich",["meetup\\.(com|ps)/.+"],"//api.meetup.com/oembed"),new n("ebay","rich",["ebay\\.*"],"//togo.ebay.com/togo/togo.swf?2008013100",{templateRegex:/.*\/([^\/]+)\/(\d{10,13}).*/,embedtag:{width:355,height:300,flashvars:"base=//togo.ebay.com/togo/&lang=en-us&mode=normal&itemid=$2&query=$1"}}),new n("wikipedia","rich",["wikipedia.org/wiki/.+"],"//$1.wikipedia.org/w/api.php?action=parse&page=$2&format=json&section=0&callback=?",{templateRegex:/.*\/\/([\w]+).*\/wiki\/([^\/]+).*/,templateData:function(e){if(!e.parse)return!1;var t=e.parse.text["*"].replace(/href="\/wiki/g,'href="//en.wikipedia.org/wiki');return'<div id="content"><h3><a class="nav-link" href="//en.wikipedia.org/wiki/'+e.parse.displaytitle+'">'+e.parse.displaytitle+"</a></h3>"+t+"</div>"}}),new n("imdb","rich",["imdb.com/title/.+"],"//www.imdbapi.com/?i=$1&callback=?",{templateRegex:/.*\/title\/([^\/]+).*/,templateData:function(e){return!!e.Title&&'<div id="content"><h3><a class="nav-link" href="//imdb.com/title/'+e.imdbID+'/">'+e.Title+"</a> ("+e.Year+")</h3><p>Rating: "+e.imdbRating+"<br/>Genre: "+e.Genre+"<br/>Starring: "+e.Actors+'</p></div>  <div id="view-photo-caption">'+e.Plot+"</div></div>"}}),new n("livejournal","rich",["livejournal.com/"],"//ljpic.seacrow.com/json/$2$4?jsonp=?",{templateRegex:/(\/\/(((?!users).)+)\.livejournal\.com|.*users\.livejournal\.com\/([^\/]+)).*/,templateData:function(e){return!!e.username&&'<div><img src="'+e.image+'" align="left" style="margin-right: 1em;" /><span class="oembedall-ljuser"><a href="//'+e.username+'.livejournal.com/profile"><img src="//www.livejournal.com/img/userinfo.gif" alt="[info]" width="17" height="17" /></a><a href="//'+e.username+'.livejournal.com/">'+e.username+"</a></span><br />"+e.name+"</div>"}}),new n("circuitbee","rich",["circuitbee\\.com/circuit/view/.+"],"//c.circuitbee.com/build/r/schematic-embed.html?id=$1",{templateRegex:/.*circuit\/view\/(\d+).*/,embedtag:{tag:"iframe",width:"500",height:"350"}}),new n("googlecalendar","rich",["www.google.com/calendar/embed?.+"],"$1",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"800",height:"600"}}),new n("jsfiddle","rich",["jsfiddle.net/[^/]+/?"],"//jsfiddle.net/$1/embedded/result,js,resources,html,css/?",{templateRegex:/.*net\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"300"}}),new n("jsbin","rich",["jsbin.com/.+"],"//jsbin.com/$1/?",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"300"}}),new n("jotform","rich",["form.jotform.co/form/.+"],"$1?",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"100%",height:"507"}}),new n("reelapp","rich",["reelapp\\.com/.+"],"//www.reelapp.com/$1/embed",{templateRegex:/.*com\/(\S{6}).*/,embedtag:{tag:"iframe",width:"400",height:"338"}}),new n("linkedin","rich",["linkedin.com/pub/.+"],"//www.linkedin.com/cws/member/public_profile?public_profile_url=$1&format=inline&isFramed=true",{templateRegex:/(.*)/,embedtag:{tag:"iframe",width:"368px",height:"auto"}}),new n("timetoast","rich",["timetoast.com/timelines/[0-9]+"],"//www.timetoast.com/flash/TimelineViewer.swf?passedTimelines=$1",{templateRegex:/.*timelines\/([0-9]*)/,embedtag:{width:550,height:400},nocache:1}),new n("pastebin","rich",["pastebin\\.com/[\\S]{8}"],"//pastebin.com/embed_iframe.php?i=$1",{templateRegex:/.*\/(\S{8}).*/,embedtag:{tag:"iframe",width:"100%",height:"auto"}}),new n("mixlr","rich",["mixlr.com/.+"],"//mixlr.com/embed/$1?autoplay=ae",{templateRegex:/.*com\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:"auto"}}),new n("pastie","rich",["pastie\\.org/pastes/.+"],null,{yql:{xpath:'//pre[@class="textmate-source"]'}}),new n("github","rich",["gist.github.com/.+"],"//github.com/api/oembed"),new n("github","rich",["github.com/[-.\\w@]+/[-.\\w@]+"],"//api.github.com/repos/$1/$2?callback=?",{templateRegex:/.*\/([^\/]+)\/([^\/]+).*/,templateData:function(e){return!!e.data.html_url&&'<div class="oembedall-githubrepos"><ul class="oembedall-repo-stats"><li>'+e.data.language+'</li><li class="oembedall-watchers"><a title="Watchers" href="'+e.data.html_url+'/watchers">&#x25c9; '+e.data.watchers+'</a></li><li class="oembedall-forks"><a title="Forks" href="'+e.data.html_url+'/network">&#x0265; '+e.data.forks+'</a></li></ul><h3><a href="'+e.data.html_url+'">'+e.data.name+'</a></h3><div class="oembedall-body"><p class="oembedall-description">'+e.data.description+'</p><p class="oembedall-updated-at">Last updated: '+e.data.pushed_at+"</p></div></div>"}}),new n("facebook","rich",["facebook.com"],null,{templateRegex:/.*\/([^\/]+)\/([^\/]+).*/,template:function(e){if(!window.oembed.facebokScriptHasBeenAdded){document.body.appendChild(domify('<div id="fb-root"></div>'));var t=document.createElement("script");t.type="text/javascript",t.text='(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));',document.body.appendChild(t),window.oembed.facebokScriptHasBeenAdded=!0}return'<div class="fb-post" data-href="'+e+'" data-width="520"><div class="fb-xfbml-parse-ignore"><a href="'+e+'"></div></div>'}}),new n("stackoverflow","rich",["stackoverflow.com/questions/[\\d]+"],"//api.stackoverflow.com/1.1/questions/$1?body=true&jsonp=?",{templateRegex:/.*questions\/([\d]+).*/,templateData:function(e){if(!e.questions)return!1;var t=e.questions[0],o=domify(t.body).innerHTML,n='<div class="oembedall-stoqembed"><div class="oembedall-statscontainer"><div class="oembedall-statsarrow"></div><div class="oembedall-stats"><div class="oembedall-vote"><div class="oembedall-votes"><span class="oembedall-vote-count-post"><strong>'+(t.up_vote_count-t.down_vote_count)+'</strong></span><div class="oembedall-viewcount">vote(s)</div></div></div><div class="oembedall-status"><strong>'+t.answer_count+'</strong>answer</div></div><div class="oembedall-views">'+t.view_count+' view(s)</div></div><div class="oembedall-summary"><h3><a class="oembedall-question-hyperlink" href="//stackoverflow.com/questions/'+t.question_id+'/">'+t.title+'</a></h3><div class="oembedall-excerpt">'+o.substring(0,100)+'...</div><div class="oembedall-tags">';for(i in t.tags)n+='<a title="" class="oembedall-post-tag" href="//stackoverflow.com/questions/tagged/'+t.tags[i]+'">'+t.tags[i]+"</a>";return n+='</div><div class="oembedall-fr"><div class="oembedall-user-info"><div class="oembedall-user-gravatar32"><a href="//stackoverflow.com/users/'+t.owner.user_id+"/"+t.owner.display_name+'"><img width="32" height="32" alt="" src="//www.gravatar.com/avatar/'+t.owner.email_hash+'?s=32&amp;d=identicon&amp;r=PG"></a></div><div class="oembedall-user-details"><a href="//stackoverflow.com/users/'+t.owner.user_id+"/"+t.owner.display_name+'">'+t.owner.display_name+'</a><br><span title="reputation score" class="oembedall-reputation-score">'+t.owner.reputation+"</span></div></div></div></div></div>"}}),new n("wordpress","rich",["wordpress\\.com/.+","blogs\\.cnn\\.com/.+","techcrunch\\.com/.+","wp\\.me/.+"],"//public-api.wordpress.com/oembed/1.0/?for=jquery-oembed-all"),new n("screenr","rich",["screenr.com"],"//www.screenr.com/embed/$1",{templateRegex:/.*\/([^\/]+).*/,embedtag:{tag:"iframe",width:"650",height:396}}),new n("gigpans","rich",["gigapan\\.org/[-.\\w@]+/\\d+"],"//gigapan.org/gigapans/$1/options/nosnapshots/iframe/flash.html",{templateRegex:/.*\/(\d+)\/?.*/,embedtag:{tag:"iframe",width:"100%",height:400}}),new n("scribd","rich",["scribd\\.com/.+"],"//www.scribd.com/embeds/$1/content?start_page=1&view_mode=list",{templateRegex:/.*doc\/([^\/]+).*/,embedtag:{tag:"iframe",width:"100%",height:600}}),new n("kickstarter","rich",["kickstarter\\.com/projects/.+"],"$1/widget/card.html",{templateRegex:/([^\?]+).*/,embedtag:{tag:"iframe",width:"220",height:380}}),new n("amazon","rich",["amzn.com/B+","amazon.com.*/(B\\S+)($|\\/.*)"],"//rcm.amazon.com/e/cm?t=_APIKEY_&o=1&p=8&l=as1&asins=$1&ref=qf_br_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr",{apikey:!0,templateRegex:/.*\/(B[0-9A-Z]+)($|\/.*)/,embedtag:{tag:"iframe",width:"120px",height:"240px"}}),new n("slideshare","rich",["slideshare.net"],"//www.slideshare.net/api/oembed/2",{format:"jsonp"}),new n("roomsharejp","rich",["roomshare\\.jp/(en/)?post/.*"],"//roomshare.jp/oembed.json"),new n("lanyard","rich",["lanyrd.com/\\d+/.+"],null,{yql:{xpath:'(//div[@class="primary"])[1]',from:"htmlstring",datareturn:function(e){return!!e.result&&'<div class="oembedall-lanyard">'+e.result+"</div>"}}}),new n("asciiartfarts","rich",["asciiartfarts.com/\\d+.html"],null,{yql:{xpath:"//pre/font",from:"htmlstring",datareturn:function(e){return!!e.result&&'<pre style="background-color:#000;">'+e.result+"</div>"}}}),new n("coveritlive","rich",["coveritlive.com/"],null,{templateRegex:/(.*)/,template:'<iframe src="$1" allowtransparency="true" scrolling="no" width="615px" frameborder="0" height="625px"></iframe>'}),new n("polldaddy","rich",["polldaddy.com/"],null,{templateRegex:/(?:https?:\/\/w?w?w?.?polldaddy.com\/poll\/)([0-9]*)\//,template:'<script async type="text/javascript" charset="utf-8" src="//static.polldaddy.com/p/$1.js"><\/script>',nocache:1}),new n("360io","rich",["360\\.io/.+"],"//360.io/$1",{templateRegex:/.*360\.io\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("bubbli","rich",["on\\.bubb\\.li/.+"],"//on.bubb.li/$1",{templateRegex:/.*on\.bubb\.li\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("cloudup","rich",["cloudup\\.com/.+"],"//cloudup.com/$1?chromeless",{templateRegex:[/.*cloudup\.com\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360}}),new n("codepen","rich",["codepen.io/.+"],"//codepen.io/$1/embed/$2",{templateRegex:[/.*io\/(\w+)\/pen\/(\w+).*/,/.*io\/(\w+)\/full\/(\w+).*/],embedtag:{tag:"iframe",width:"100%",height:"300"},nocache:1}),new n("googleviews","rich",["(.*maps\\.google\\.com\\/maps\\?).+(output=svembed).+(cbp=(.*)).*"],"//maps.google.com/maps?layer=c&panoid=$3&ie=UTF8&source=embed&output=svembed&cbp=$5",{templateRegex:/(.*maps\.google\.com\/maps\?).+(panoid=(\w+)&).*(cbp=(.*)).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("googlemaps","rich",["google\\.com/maps/place/.+"],"//maps.google.com/maps?t=m&q=$1&output=embed",{templateRegex:/.*google\.com\/maps\/place\/([\w\+]*)\/.*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("imajize","rich",["embed\\.imajize\\.com/.+"],"//embed.imajize.com/$1",{templateRegex:/.*embed\.imajize\.com\/(.*)/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("mapjam","rich",["mapjam\\.com/.+"],"//www.mapjam.com/$1",{templateRegex:/.*mapjam\.com\/(.*)/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("polar","rich",["polarb\\.com/.+"],"//assets-polarb-com.a.ssl.fastly.net/api/v4/publishers/unknown/embedded_polls/iframe?poll_id=$1",{templateRegex:/.*polarb\.com\/polls\/(\w+).*/,embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("ponga","rich",["ponga\\.com/.+"],"//www.ponga.com/embedded?id=$1",{templateRegex:[/.*ponga\.com\/embedded\?id=(\w+).*/,/.*ponga\.com\/(\w+).*/],embedtag:{tag:"iframe",width:480,height:360},nocache:1}),new n("opengraph","rich",[".*"],null,{yql:{xpath:"//meta|//title|//link",from:"html",datareturn:function(e){if(!e["og:title"]&&e.title&&e.description&&(e["og:title"]=e.title),!e["og:title"]&&!e.title)return!1;var t=domify("<p></p>");if(e["og:video"]){var o=domify('<embed src="'+e["og:video"]+'"/>');o.setAttribute("type",e["og:video:type"]||"application/x-shockwave-flash"),css(o,"max-height",settings.maxHeight||"auto"),css(o,"max-width",settings.maxWidth||"auto"),e["og:video:width"]&&o.setAttribute("width",e["og:video:width"]),e["og:video:height"]&&o.setAttribute("height",e["og:video:height"]),t.append(o)}else if(e["og:image"]){var n=domify('<img src="'+e["og:image"]+'">');css(n,"max-height",settings.maxHeight||"auto"),css(n,"max-width",settings.maxWidth||"auto"),e["og:image:width"]&&n.setAttribute("width",e["og:image:width"]),e["og:image:height"]&&n.setAttribute("height",e["og:image:height"]),t.append(n)}return e["og:title"]&&t.append("<b>"+e["og:title"]+"</b><br/>"),e["og:description"]?t.append(e["og:description"]+"<br/>"):e.description&&t.append(e.description+"<br/>"),t}}})];t.exports=a},{"./provider":2}],4:[function(e,t,o){t.exports=["0rz.tw","1link.in","1url.com","2.gp","2big.at","2tu.us","3.ly","307.to","4ms.me","4sq.com","4url.cc","6url.com","7.ly","a.gg","a.nf","aa.cx","abcurl.net","ad.vu","adf.ly","adjix.com","afx.cc","all.fuseurl.com","alturl.com","amzn.to","ar.gy","arst.ch","atu.ca","azc.cc","b23.ru","b2l.me","bacn.me","bcool.bz","binged.it","bit.ly","bizj.us","bloat.me","bravo.ly","bsa.ly","budurl.com","canurl.com","chilp.it","chzb.gr","cl.lk","cl.ly","clck.ru","cli.gs","cliccami.info","clickthru.ca","clop.in","conta.cc","cort.as","cot.ag","crks.me","ctvr.us","cutt.us","dai.ly","decenturl.com","dfl8.me","digbig.com","http://digg\\.com/[^/]+$","disq.us","dld.bz","dlvr.it","do.my","doiop.com","dopen.us","easyuri.com","easyurl.net","eepurl.com","eweri.com","fa.by","fav.me","fb.me","fbshare.me","ff.im","fff.to","fire.to","firsturl.de","firsturl.net","flic.kr","flq.us","fly2.ws","fon.gs","freak.to","fuseurl.com","fuzzy.to","fwd4.me","fwib.net","g.ro.lt","gizmo.do","gl.am","go.9nl.com","go.ign.com","go.usa.gov","goo.gl","goshrink.com","gurl.es","hex.io","hiderefer.com","hmm.ph","href.in","hsblinks.com","htxt.it","huff.to","hulu.com","hurl.me","hurl.ws","icanhaz.com","idek.net","ilix.in","is.gd","its.my","ix.lt","j.mp","jijr.com","kl.am","klck.me","korta.nu","krunchd.com","l9k.net","lat.ms","liip.to","liltext.com","linkbee.com","linkbun.ch","liurl.cn","ln-s.net","ln-s.ru","lnk.gd","lnk.ms","lnkd.in","lnkurl.com","lru.jp","lt.tl","lurl.no","macte.ch","mash.to","merky.de","migre.me","miniurl.com","minurl.fr","mke.me","moby.to","moourl.com","mrte.ch","myloc.me","myurl.in","n.pr","nbc.co","nblo.gs","nn.nf","not.my","notlong.com","nsfw.in","nutshellurl.com","nxy.in","nyti.ms","o-x.fr","oc1.us","om.ly","omf.gd","omoikane.net","on.cnn.com","on.mktw.net","onforb.es","orz.se","ow.ly","ping.fm","pli.gs","pnt.me","politi.co","post.ly","pp.gg","profile.to","ptiturl.com","pub.vitrue.com","qlnk.net","qte.me","qu.tc","qy.fi","r.ebay.com","r.im","rb6.me","read.bi","readthis.ca","reallytinyurl.com","redir.ec","redirects.ca","redirx.com","retwt.me","ri.ms","rickroll.it","riz.gd","rt.nu","ru.ly","rubyurl.com","rurl.org","rww.tw","s4c.in","s7y.us","safe.mn","sameurl.com","sdut.us","shar.es","shink.de","shorl.com","short.ie","short.to","shortlinks.co.uk","shorturl.com","shout.to","show.my","shrinkify.com","shrinkr.com","shrt.fr","shrt.st","shrten.com","shrunkin.com","simurl.com","slate.me","smallr.com","smsh.me","smurl.name","sn.im","snipr.com","snipurl.com","snurl.com","sp2.ro","spedr.com","srnk.net","srs.li","starturl.com","stks.co","su.pr","surl.co.uk","surl.hu","t.cn","t.co","t.lh.com","ta.gd","tbd.ly","tcrn.ch","tgr.me","tgr.ph","tighturl.com","tiniuri.com","tiny.cc","tiny.ly","tiny.pl","tinylink.in","tinyuri.ca","tinyurl.com","tk.","tl.gd","tmi.me","tnij.org","tnw.to","tny.com","to.ly","togoto.us","totc.us","toysr.us","tpm.ly","tr.im","tra.kz","trunc.it","twhub.com","twirl.at","twitclicks.com","twitterurl.net","twitterurl.org","twiturl.de","twurl.cc","twurl.nl","u.mavrev.com","u.nu","u76.org","ub0.cc","ulu.lu","updating.me","ur1.ca","url.az","url.co.uk","url.ie","url360.me","url4.eu","urlborg.com","urlbrief.com","urlcover.com","urlcut.com","urlenco.de","urli.nl","urls.im","urlshorteningservicefortwitter.com","urlx.ie","urlzen.com","usat.ly","use.my","vb.ly","vevo.ly","vgn.am","vl.am","vm.lc","w55.de","wapo.st","wapurl.co.uk","wipi.es","wp.me","x.vu","xr.com","xrl.in","xrl.us","xurl.es","xurl.jp","y.ahoo.it","yatuc.com","ye.pe","yep.it","yfrog.com","yhoo.it","yiyd.com","youtu.be","yuarel.com","z0p.de","zi.ma","zi.mu","zipmyurl.com","zud.me","zurl.ws","zz.gd","zzang.kr","›.ws","✩.ws","✿.ws","❥.ws","➔.ws","➞.ws","➡.ws","➨.ws","➯.ws","➹.ws","➽.ws"]},{}],5:[function(e,t,o){var n;try{n=e("type-of")}catch(t){n=e("type")}var i,a,r=0,s=window.document,c=/^(?:text|application)\/javascript/i,l=/^(?:text|application)\/xml/i,d="application/json",u="text/html",m=/^\s*$/,h=t.exports=function(e){var t=q({},e||{});for(i in h.settings)void 0===t[i]&&(t[i]=h.settings[i]);v(t),t.crossDomain||(t.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(t.url)&&RegExp.$2!=window.location.host);var o=t.dataType,n=/=\?/.test(t.url);if("jsonp"==o||n)return n||(t.url=j(t.url,"callback=?")),h.JSONP(t);t.url||(t.url=window.location.toString()),L(t);var r,s=t.accepts[o],c={},l=/^([\w-]+:)\/\//.test(t.url)?RegExp.$1:window.location.protocol,d=h.settings.xhr();t.crossDomain||(c["X-Requested-With"]="XMLHttpRequest"),s&&(c.Accept=s,s.indexOf(",")>-1&&(s=s.split(",",2)[0]),d.overrideMimeType&&d.overrideMimeType(s)),(t.contentType||t.data&&"GET"!=t.type.toUpperCase())&&(c["Content-Type"]=t.contentType||"application/x-www-form-urlencoded"),t.headers=q(c,t.headers||{}),d.onreadystatechange=function(){if(4==d.readyState){clearTimeout(r);var e,n=!1;if(d.status>=200&&d.status<300||304==d.status||0==d.status&&"file:"==l){o=o||k(d.getResponseHeader("content-type")),e=d.responseText;try{"script"==o?(0,eval)(e):"xml"==o?e=d.responseXML:"json"==o&&(e=m.test(e)?null:JSON.parse(e))}catch(e){n=e}n?y(n,"parsererror",d,t):b(e,d,t)}else y(null,"error",d,t)}};var u=!("async"in t)||t.async;for(a in d.open(t.type,t.url,u),t.headers)d.setRequestHeader(a,t.headers[a]);return!1===w(d,t)?(d.abort(),!1):(t.timeout>0&&(r=setTimeout((function(){d.onreadystatechange=E,d.abort(),y(null,"timeout",d,t)}),t.timeout)),d.send(t.data?t.data:null),d)};function p(e,t,o){return!0}function f(e,t,o,n){if(e.global)return p(t||s,o,n)}function v(e){e.global&&0==h.active++&&f(e,null,"ajaxStart")}function g(e){e.global&&!--h.active&&f(e,null,"ajaxStop")}function w(e,t){var o=t.context;if(!1===t.beforeSend.call(o,e,t)||!1===f(t,o,"ajaxBeforeSend",[e,t]))return!1;f(t,o,"ajaxSend",[e,t])}function b(e,t,o){var n=o.context,i="success";o.success.call(n,e,i,t),f(o,n,"ajaxSuccess",[t,o,e]),x(i,t,o)}function y(e,t,o,n){var i=n.context;n.error.call(i,o,t,e),f(n,i,"ajaxError",[o,n,e]),x(t,o,n)}function x(e,t,o){var n=o.context;o.complete.call(n,t,e),f(o,n,"ajaxComplete",[t,o]),g(o)}function E(){}function k(e){return e&&(e==u?"html":e==d?"json":c.test(e)?"script":l.test(e)&&"xml")||"text"}function j(e,t){return(e+"&"+t).replace(/[&?]{1,2}/,"?")}function L(e){"object"===n(e.data)&&(e.data=S(e.data)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=j(e.url,e.data))}h.active=0,h.JSONP=function(e){if(!("type"in e))return h(e);var t,o="jsonp"+ ++r,n=s.createElement("script"),i={abort:function(){o in window&&(window[o]=E),x("abort",i,e)}},a=s.getElementsByTagName("head")[0]||s.documentElement;return e.error&&(n.onerror=function(){i.abort(),e.error()}),window[o]=function(n){clearTimeout(t),delete window[o],b(n,i,e)},L(e),n.src=e.url.replace(/=\?/,"="+o),a.insertBefore(n,a.firstChild),e.timeout>0&&(t=setTimeout((function(){i.abort(),x("timeout",i,e)}),e.timeout)),i},h.settings={type:"GET",beforeSend:E,success:E,error:E,complete:E,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:d,xml:"application/xml, text/xml",html:u,text:"text/plain"},crossDomain:!1,timeout:0},h.get=function(e,t){return h({url:e,success:t})},h.post=function(e,t,o,i){return"function"===n(t)&&(i=i||o,o=t,t=null),h({type:"POST",url:e,data:t,success:o,dataType:i})},h.getJSON=function(e,t){return h({url:e,success:t,dataType:"json"})};var A=encodeURIComponent;function T(e,t,o,i){var a="array"===n(t);for(var r in t){var s=t[r];i&&(r=o?i:i+"["+(a?"":r)+"]"),!i&&a?e.add(s.name,s.value):(o?"array"===n(s):"object"===n(s))?T(e,s,o,r):e.add(r,s)}}function S(e,t){var o=[];return o.add=function(e,t){this.push(A(e)+"="+A(t))},T(o,e,t),o.join("&").replace("%20","+")}function q(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){for(i in t)void 0!==t[i]&&(e[i]=t[i])})),e}},{"type-of":8}],6:[function(e,t,o){t.exports=r;var n,i=!1;"undefined"!=typeof document&&((n=document.createElement("div")).innerHTML='  <link/><table></table><a href="/a">a</a><input type="checkbox"/>',i=!n.getElementsByTagName("link").length,n=void 0);var a={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:i?[1,"X<div>","</div>"]:[0,"",""]};function r(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var o=/<([\w:]+)/.exec(e);if(!o)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var n=o[1];if("body"==n)return(i=t.createElement("html")).innerHTML=e,i.removeChild(i.lastChild);var i,r=a[n]||a._default,s=r[0],c=r[1],l=r[2];for((i=t.createElement("div")).innerHTML=c+e+l;s--;)i=i.lastChild;if(i.firstChild==i.lastChild)return i.removeChild(i.firstChild);for(var d=t.createDocumentFragment();i.firstChild;)d.appendChild(i.removeChild(i.firstChild));return d}a.td=a.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],a.option=a.optgroup=[1,'<select multiple="multiple">',"</select>"],a.thead=a.tbody=a.colgroup=a.caption=a.tfoot=[1,"<table>","</table>"],a.polyline=a.ellipse=a.polygon=a.circle=a.text=a.line=a.path=a.rect=a.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"]},{}],7:[function(e,t,o){"use strict";var n="0123456789",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",a="!$%^&*()_+|~-=`{}[]:;<>?,./";function r(e){return e||(e={}),{length:e.length||8,numeric:"boolean"!=typeof e.numeric||e.numeric,letters:"boolean"!=typeof e.letters||e.letters,special:"boolean"==typeof e.special&&e.special}}function s(e){var t="";return e.numeric&&(t+=n),e.letters&&(t+=i),e.special&&(t+=a),t}t.exports=function(e){var t,o,n="",i=(e=r(e)).length,a=s(e);for(t=1;t<=i;t++)n+=a.substring(o=Math.floor(Math.random()*a.length),o+1);return n}},{}],8:[function(e,t,o){var n=Object.prototype.toString;t.exports=function(e){switch(n.call(e)){case"[object Function]":return"function";case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object String]":return"string"}if("object"==typeof e&&e&&"number"==typeof e.length)try{if("function"==typeof e.callee)return"arguments"}catch(e){if(e instanceof TypeError)return"arguments"}return null===e?"null":void 0===e?"undefined":e&&1===e.nodeType?"element":e===Object(e)?"object":typeof e}},{}],9:[function(e,t,o){t.exports=i;var n=Object.prototype.hasOwnProperty;function i(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)n.call(o,i)&&(e[i]=o[i])}return e}},{}]},{},[1])(1)},666:e=>{var t=function(e){"use strict";var t,o=Object.prototype,n=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,o){return e[t]=o}}function l(e,t,o,n){var i=t&&t.prototype instanceof v?t:v,a=Object.create(i.prototype),r=new S(n||[]);return a._invoke=function(e,t,o){var n=u;return function(i,a){if(n===h)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw a;return _()}for(o.method=i,o.arg=a;;){var r=o.delegate;if(r){var s=L(r,o);if(s){if(s===f)continue;return s}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(n===u)throw n=p,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);n=h;var c=d(e,t,o);if("normal"===c.type){if(n=o.done?p:m,c.arg===f)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(n=p,o.method="throw",o.arg=c.arg)}}}(e,o,r),a}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",m="suspendedYield",h="executing",p="completed",f={};function v(){}function g(){}function w(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(q([])));x&&x!==o&&n.call(x,a)&&(b=x);var E=w.prototype=v.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function o(i,a,r,s){var c=d(e[i],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,r,s)}),(function(e){o("throw",e,r,s)})):t.resolve(u).then((function(e){l.value=e,r(l)}),(function(e){return o("throw",e,r,s)}))}s(c.arg)}var i;this._invoke=function(e,n){function a(){return new t((function(t,i){o(e,n,t,i)}))}return i=i?i.then(a,a):a()}}function L(e,o){var n=e.iterator[o.method];if(n===t){if(o.delegate=null,"throw"===o.method){if(e.iterator.return&&(o.method="return",o.arg=t,L(e,o),"throw"===o.method))return f;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var i=d(n,e.iterator,o.arg);if("throw"===i.type)return o.method="throw",o.arg=i.arg,o.delegate=null,f;var a=i.arg;return a?a.done?(o[e.resultName]=a.value,o.next=e.nextLoc,"return"!==o.method&&(o.method="next",o.arg=t),o.delegate=null,f):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,f)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function q(e){if(e){var o=e[a];if(o)return o.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,r=function o(){for(;++i<e.length;)if(n.call(e,i))return o.value=e[i],o.done=!1,o;return o.value=t,o.done=!0,o};return r.next=r}}return{next:_}}function _(){return{value:t,done:!0}}return g.prototype=w,c(E,"constructor",w),c(w,"constructor",g),g.displayName=c(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},k(j.prototype),c(j.prototype,r,(function(){return this})),e.AsyncIterator=j,e.async=function(t,o,n,i,a){void 0===a&&(a=Promise);var r=new j(l(t,o,n,i),a);return e.isGeneratorFunction(o)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},k(E),c(E,s,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var o in e)t.push(o);return t.reverse(),function o(){for(;t.length;){var n=t.pop();if(n in e)return o.value=n,o.done=!1,o}return o.done=!0,o}},e.values=q,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var o in this)"t"===o.charAt(0)&&n.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var o=this;function i(n,i){return s.type="throw",s.arg=e,o.next=n,i&&(o.method="next",o.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a],s=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var c=n.call(r,"catchLoc"),l=n.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var r=a?a.completion:{};return r.type=e,r.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),T(o),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var n=o.completion;if("throw"===n.type){var i=n.arg;T(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,n){return this.delegate={iterator:q(e),resultName:o,nextLoc:n},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},o={};function n(e){var i=o[e];if(void 0!==i)return i.exports;var a=o[e]={exports:{}};return t[e].call(a.exports,a,a.exports,n),a.exports}n.m=t,e=[],n.O=(t,o,i,a)=>{if(!o){var r=1/0;for(d=0;d<e.length;d++){for(var[o,i,a]=e[d],s=!0,c=0;c<o.length;c++)(!1&a||r>=a)&&Object.keys(n.O).every((e=>n.O[e](o[c])))?o.splice(c--,1):(s=!1,a<r&&(r=a));if(s){e.splice(d--,1);var l=i();void 0!==l&&(t=l)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[o,i,a]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={661:0,532:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var i,a,[r,s,c]=o,l=0;if(r.some((t=>0!==e[t]))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(c)var d=c(n)}for(t&&t(o);l<r.length;l++)a=r[l],n.o(e,a)&&e[a]&&e[a][0](),e[r[l]]=0;return n.O(d)},o=self.webpackChunkgovtech=self.webpackChunkgovtech||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),n.O(void 0,[532],(()=>n(539)));var a=n.O(void 0,[532],(()=>n(747)));a=n.O(a)})();