function _typeof(n){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_typeof(n)}var XSLTProcessor,NBP;if(function(n,t){"function"==typeof define&&define.amd?define(t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t():n.Blazy=t()}(this,function(){"use strict";function p(n){var t=n._util;t.elements=function(n){for(var t=[],i=n.root.querySelectorAll(n.selector),r=i.length;r--;t.unshift(i[r]));return t}(n.options);t.count=t.elements.length;t.destroyed&&(t.destroyed=!1,n.options.container&&i(n.options.container,function(n){r(n,"scroll",t.validateT)}),r(window,"resize",t.saveViewportOffsetT),r(window,"resize",t.validateT),r(window,"scroll",t.validateT));w(n)}function w(n){for(var r,t=n._util,i=0;in.top?e:n.top,right:sn.left?c:n.left})}return!1}return o(f,n)}function o(n,t){return n.right>=t.left&&n.bottom>=t.top&&n.left<=t.right&&n.top<=t.bottom}function b(n,e,o){var w;if(!c(n,o.successClass)&&(e||o.loadInvisible||n.offsetWidth>0&&n.offsetHeight>0))if(w=f(n,u)||f(n,o.src),w){var g=w.split(o.separator),p=g[a&&g.length>1?1:0],nt=f(n,o.srcset),tt=h(n,"img"),b=n.parentNode,it=b&&h(b,"picture");if(tt||void 0===n.src){var v=new Image,rt=function u(){o.error&&o.error(n,"invalid");l(n,o.errorClass);t(v,"error",u);t(v,"load",ut)},ut=function u(){tt?it||d(n,p,nt):n.style.backgroundImage='url("'+p+'")';s(n,o);t(v,"load",u);t(v,"error",rt)};it&&(v=n,i(b.getElementsByTagName("source"),function(n){k(n,y,o.srcset)}));r(v,"error",rt);r(v,"load",ut);d(v,p,nt)}else n.src=p,s(n,o)}else h(n,"video")?(i(n.getElementsByTagName("source"),function(n){k(n,"src",o.src)}),n.load(),s(n,o)):(o.error&&o.error(n,"missing"),l(n,o.errorClass))}function s(n,t){l(n,t.successClass);t.success&&t.success(n);e(n,t.src);e(n,t.srcset);i(t.breakpoints,function(t){e(n,t.src)})}function k(n,t,i){var r=f(n,i);r&&(g(n,t,r),e(n,i))}function d(n,t,i){i&&g(n,y,i);n.src=t}function g(n,t,i){n.setAttribute(t,i)}function f(n,t){return n.getAttribute(t)}function e(n,t){n.removeAttribute(t)}function h(n,t){return n.nodeName.toLowerCase()===t}function c(n,t){return-1!==(" "+n.className+" ").indexOf(" "+t+" ")}function l(n,t){c(n,t)||(n.className+=" "+t)}function nt(t){n.bottom=(window.innerHeight||document.documentElement.clientHeight)+t;n.right=(window.innerWidth||document.documentElement.clientWidth)+t}function r(n,t,i){n.attachEvent?n.attachEvent&&n.attachEvent("on"+t,i):n.addEventListener(t,i,{capture:!1,passive:!0})}function t(n,t,i){n.detachEvent?n.detachEvent&&n.detachEvent("on"+t,i):n.removeEventListener(t,i,{capture:!1,passive:!0})}function i(n,t){if(n&&t)for(var r=n.length,i=0;i1;(n={}).top=0-f.options.offset;n.left=0-f.options.offset;f.revalidate=function(){p(f)};f.load=function(n,t){var r=this.options;n&&void 0===n.length?b(n,t,r):i(n,function(n){b(n,t,r)})};f.destroy=function(){var n=f._util;f.options.container&&i(f.options.container,function(i){t(i,"scroll",n.validateT)});t(window,"scroll",n.validateT);t(window,"resize",n.validateT);t(window,"resize",n.saveViewportOffsetT);n.count=0;n.elements.length=0;n.destroyed=!0};e.validateT=tt(function(){w(f)},f.options.validateDelay,f);e.saveViewportOffsetT=tt(function(){nt(f.options.offset)},f.options.saveViewportOffsetDelay,f);nt(f.options.offset);i(f.options.breakpoints,function(n){if(n.width>=window.screen.width)return u=n.src,!1});setTimeout(function(){p(f)})}}),function(n){var t,i,r=n.event;t=r.special.debouncedresize={setup:function(){n(this).on("resize",t.handler)},teardown:function(){n(this).off("resize",t.handler)},handler:function(n,u){var e=this,o=arguments,f=function(){n.type="debouncedresize";r.dispatch.apply(e,o)};i&&clearTimeout(i);u?f():i=setTimeout(f,t.threshold)},threshold:150}}(jQuery),function(n){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],n):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){return function(){function t(n){return n.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}n.validator.addMethod("maxWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length<=r},n.validator.format("Please enter {0} words or less."));n.validator.addMethod("minWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length>=r},n.validator.format("Please enter at least {0} words."));n.validator.addMethod("rangeWords",function(n,i,r){var u=t(n),f=/\b\w+\b/g;return this.optional(i)||u.match(f).length>=r[0]&&u.match(f).length<=r[1]},n.validator.format("Please enter between {0} and {1} words."))}(),n.validator.addMethod("accept",function(t,i,r){var u,e,f="string"==typeof r?r.replace(/\s/g,""):"image/*",o=this.optional(i);if(o)return o;if("file"===n(i).attr("type")&&(f=f.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),i.files&&i.files.length))for(e=new RegExp(".?("+f+")$","i"),u=0;u9?"0":i,e="JABCDEFGHI".substr(i,1).toString(),o.match(/[ABEH]/)?f===i:o.match(/[KPQS]/)?f===e:f===i||f===e},"Please specify a valid CIF number."),n.validator.addMethod("cpfBR",function(n){if(11!==(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,"")).length)return!1;var u,f,r,t,i=0;if(u=parseInt(n.substring(9,10),10),f=parseInt(n.substring(10,11),10),r=function(n,t){var i=10*n%11;return 10!==i&&11!==i||(i=0),i===t},""===n||"00000000000"===n||"11111111111"===n||"22222222222"===n||"33333333333"===n||"44444444444"===n||"55555555555"===n||"66666666666"===n||"77777777777"===n||"88888888888"===n||"99999999999"===n)return!1;for(t=1;t<=9;t++)i+=parseInt(n.substring(t-1,t),10)*(11-t);if(r(i,u)){for(i=0,t=1;t<=10;t++)i+=parseInt(n.substring(t-1,t),10)*(12-t);return r(i,f)}return!1},"Please specify a valid CPF number"),n.validator.addMethod("creditcard",function(n,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var i,f,e=0,r=0,u=!1;if((n=n.replace(/\D/g,"")).length<13||n.length>19)return!1;for(i=n.length-1;i>=0;i--)f=n.charAt(i),r=parseInt(f,10),u&&(r*=2)>9&&(r-=9),e+=r,u=!u;return e%10==0},"Please enter a valid credit card number."),n.validator.addMethod("creditcardtypes",function(n,t,i){if(/[^0-9\-]+/.test(n))return!1;n=n.replace(/\D/g,"");var r=0;return i.mastercard&&(r|=1),i.visa&&(r|=2),i.amex&&(r|=4),i.dinersclub&&(r|=8),i.enroute&&(r|=16),i.discover&&(r|=32),i.jcb&&(r|=64),i.unknown&&(r|=128),i.all&&(r=255),1&r&&/^(5[12345])/.test(n)||2&r&&/^(4)/.test(n)?16===n.length:4&r&&/^(3[47])/.test(n)?15===n.length:8&r&&/^(3(0[012345]|[68]))/.test(n)?14===n.length:16&r&&/^(2(014|149))/.test(n)?15===n.length:32&r&&/^(6011)/.test(n)||64&r&&/^(3)/.test(n)?16===n.length:64&r&&/^(2131|1800)/.test(n)?15===n.length:!!(128&r)},"Please enter a valid credit card number."),n.validator.addMethod("currency",function(n,t,i){var u,f="string"==typeof i,r=f?i:i[0],e=!!f||i[1];return r=r.replace(/,/g,""),u="^["+(r=e?r+"]":r+"]?")+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",u=new RegExp(u),this.optional(t)||u.test(n)},"Please specify a valid currency"),n.validator.addMethod("dateFA",function(n,t){return this.optional(t)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(n)},n.validator.messages.date),n.validator.addMethod("dateITA",function(n,t){var i,r,u,f,e,o=!1;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(n)?(i=n.split("/"),r=parseInt(i[0],10),u=parseInt(i[1],10),f=parseInt(i[2],10),o=(e=new Date(Date.UTC(f,u-1,r,12,0,0,0))).getUTCFullYear()===f&&e.getUTCMonth()===u-1&&e.getUTCDate()===r):o=!1,this.optional(t)||o},n.validator.messages.date),n.validator.addMethod("dateNL",function(n,t){return this.optional(t)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(n)},n.validator.messages.date),n.validator.addMethod("extension",function(n,t,i){return i="string"==typeof i?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||n.match(new RegExp("\\.("+i+")$","i"))},n.validator.format("Please enter a value with a valid extension.")),n.validator.addMethod("giroaccountNL",function(n,t){return this.optional(t)||/^[0-9]{1,7}$/.test(n)},"Please specify a valid giro account number"),n.validator.addMethod("iban",function(n,t){if(this.optional(t))return!0;var f,s,h,r,u,i=n.replace(/ /g,"").toUpperCase(),e="",c=!0,o="";if(i.length<5||void 0!==(h={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"}[i.substring(0,2)])&&!new RegExp("^[A-Z]{2}\\d{2}"+h+"$","").test(i))return!1;for(f=i.substring(4,i.length)+i.substring(0,4),r=0;r9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),n.validator.addMethod("netmask",function(n,t){return this.optional(t)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(n)},"Please enter a valid netmask."),n.validator.addMethod("nieES",function(n,t){"use strict";if(this.optional(t))return!0;var i,r=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),u=n.substr(n.length-1).toUpperCase();return!((n=n.toString().toUpperCase()).length>10||n.length<9||!r.test(n))&&(i=9===(n=n.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2")).length?n.substr(0,8):n.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(i,10)%23)===u)},"Please specify a valid NIE number."),n.validator.addMethod("nifES",function(n,t){"use strict";return!!this.optional(t)||!!(n=n.toUpperCase()).match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)")&&(/^[0-9]{8}[A-Z]{1}$/.test(n)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,0)%23)===n.charAt(8):!!/^[KLM]{1}/.test(n)&&n[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,1)%23))},"Please specify a valid NIF number."),n.validator.addMethod("nipPL",function(n){"use strict";var i;if(10!==(n=n.replace(/[^0-9]/g,"")).length)return!1;for(var u=[6,5,7,2,3,4,5,6,7],r=0,t=0;t<9;t++)r+=u[t]*n[t];return i=r%11,(10===i?0:i)===parseInt(n[9],10)},"Please specify a valid NIP number."),n.validator.addMethod("notEqualTo",function(t,i,r){return this.optional(i)||!n.validator.methods.equalTo.call(this,t,i,r)},"Please enter a different value, values must not be the same."),n.validator.addMethod("nowhitespace",function(n,t){return this.optional(t)||/^\S+$/i.test(n)},"No white space please"),n.validator.addMethod("pattern",function(n,t,i){return!!this.optional(t)||("string"==typeof i&&(i=new RegExp("^(?:"+i+")$")),i.test(n))},"Invalid format."),n.validator.addMethod("phoneNL",function(n,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(n)},"Please specify a valid phone number."),n.validator.addMethod("phonesUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),n.validator.addMethod("phoneUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),n.validator.addMethod("phoneUS",function(n,t){return n=n.replace(/\s+/g,""),this.optional(t)||n.length>9&&n.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]([02-9]\d|1[02-9])-?\d{4}$/)},"Please specify a valid phone number"),n.validator.addMethod("postalcodeBR",function(n,t){return this.optional(t)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(n)},"Informe um CEP válido."),n.validator.addMethod("postalCodeCA",function(n,t){return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeIT",function(n,t){return this.optional(t)||/^\d{5}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeNL",function(n,t){return this.optional(t)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postcodeUK",function(n,t){return this.optional(t)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(n)},"Please specify a valid UK postcode"),n.validator.addMethod("require_from_group",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_req_grp")?f.data("valid_req_grp"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length>=r[0];return f.data("valid_req_grp",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),o},n.validator.format("Please fill at least {0} of these fields.")),n.validator.addMethod("skip_or_fill_minimum",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_skip")?f.data("valid_skip"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length,s=0===o||o>=r[0];return f.data("valid_skip",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),s},n.validator.format("Please either skip these fields or fill at least {0} of them.")),n.validator.addMethod("stateUS",function(n,t,i){var r,u=void 0===i,o=!u&&void 0!==i.caseSensitive&&i.caseSensitive,f=!u&&void 0!==i.includeTerritories&&i.includeTerritories,e=!u&&void 0!==i.includeMilitary&&i.includeMilitary;return r=f||e?f&&e?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":f?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",r=o?new RegExp(r):new RegExp(r,"i"),this.optional(t)||r.test(n)},"Please specify a valid state"),n.validator.addMethod("strippedminlength",function(t,i,r){return n(t).text().length>=r},n.validator.format("Please enter at least {0} characters")),n.validator.addMethod("time",function(n,t){return this.optional(t)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(n)},"Please enter a valid time, between 00:00 and 23:59"),n.validator.addMethod("time12h",function(n,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(n)},"Please enter a valid time in 12-hour am/pm format"),n.validator.addMethod("url2",function(n,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(n)},n.validator.messages.url),n.validator.addMethod("vinUS",function(n){if(17!==n.length)return!1;for(var r,t,f,e,u,o=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],h=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],c=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],s=0,i=0;i<17;i++){if(f=c[i],t=n.slice(i,i+1),8===i&&(u=t),isNaN(t)){for(r=0;r',n,"<\/style>"].join(""),f.id=e,(h?f:o).innerHTML+=c,o.appendChild(f),h||(o.style.background="",o.style.overflow="hidden",v=s.style.overflow,s.style.overflow="hidden",s.appendChild(o)),l=i(f,n),h?f.parentNode.removeChild(f):(o.parentNode.removeChild(o),s.style.overflow=v),!!l},ct=(rt={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(n,r){r=r||t.createElement(rt[n]||"div");var u=(n="on"+n)in r;return u||(r.setAttribute||(r=t.createElement("div")),r.setAttribute&&r.removeAttribute&&(r.setAttribute(n,""),u=h(r[n],"function"),h(r[n],"undefined")||(r[n]=i),r.removeAttribute(n))),r=null,u}),tt={}.hasOwnProperty;for(var it in k=h(tt,"undefined")||h(tt.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return tt.call(n,t)},Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i;if("function"!=typeof t)throw new TypeError;return i=nt.call(arguments,1),function r(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(nt.call(arguments))),Object(u)===u?u:e):t.apply(n,i.concat(nt.call(arguments)))}}),r.flexbox=function(){return f("flexWrap")},r.flexboxlegacy=function(){return f("boxDirection")},r.canvas=function(){var n=t.createElement("canvas");return!(!n.getContext||!n.getContext("2d"))},r.canvastext=function(){return!(!u.canvas||!h(t.createElement("canvas").getContext("2d").fillText,"function"))},r.webgl=function(){return!!n.WebGLRenderingContext},r.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:l(["@media (",p.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=9===n.offsetTop}),i},r.geolocation=function(){return"geolocation"in navigator},r.postmessage=function(){return!!n.postMessage},r.websqldatabase=function(){return!!n.openDatabase},r.indexedDB=function(){return!!f("indexedDB",n)},r.hashchange=function(){return ct("hashchange",n)&&(t.documentMode===i||t.documentMode>7)},r.history=function(){return!(!n.history||!history.pushState)},r.draganddrop=function(){var n=t.createElement("div");return"draggable"in n||"ondragstart"in n&&"ondrop"in n},r.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n},r.rgba=function(){return a("background-color:rgba(150,255,150,.5)"),v(c.backgroundColor,"rgba")},r.hsla=function(){return a("background-color:hsla(120,40%,100%,.5)"),v(c.backgroundColor,"rgba")||v(c.backgroundColor,"hsla")},r.multiplebgs=function(){return a("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(c.background)},r.backgroundsize=function(){return f("backgroundSize")},r.borderimage=function(){return f("borderImage")},r.borderradius=function(){return f("borderRadius")},r.boxshadow=function(){return f("boxShadow")},r.textshadow=function(){return""===t.createElement("div").style.textShadow},r.opacity=function(){var n,t;return n="opacity:.55",a(p.join(n+";")+(t||"")),/^0.55$/.test(c.opacity)},r.cssanimations=function(){return f("animationName")},r.csscolumns=function(){return f("columnCount")},r.cssgradients=function(){var n="background-image:";return a((n+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+n)+p.join("linear-gradient(left top,#9f9, white);"+n)).slice(0,-17)),v(c.backgroundImage,"gradient")},r.cssreflections=function(){return f("boxReflect")},r.csstransforms=function(){return!!f("transform")},r.csstransforms3d=function(){var n=!!f("perspective");return n&&"webkitPerspective"in s.style&&l("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=9===t.offsetLeft&&3===t.offsetHeight}),n},r.csstransitions=function(){return f("transition")},r.fontface=function(){var n;return l('@font-face {font-family:"font";src:url("https://")}',function(i,r){var f=t.getElementById("smodernizr"),u=f.sheet||f.styleSheet,e=u?u.cssRules&&u.cssRules[0]?u.cssRules[0].cssText:u.cssText||"":"";n=/src/i.test(e)&&0===e.indexOf(r.split(" ")[0])}),n},r.generatedcontent=function(){var n;return l(["#",e,"{font:0/0 a}#",e,':after{content:"',d,'";visibility:hidden;font:3px/1 a}'].join(""),function(t){n=t.offsetHeight>=3}),n},r.video=function(){var i=t.createElement("video"),n=!1;try{(n=!!i.canPlayType)&&((n=new Boolean(n)).ogg=i.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),n.h264=i.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),n.webm=i.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(i){}return n},r.audio=function(){var i=t.createElement("audio"),n=!1;try{(n=!!i.canPlayType)&&((n=new Boolean(n)).ogg=i.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),n.mp3=i.canPlayType("audio/mpeg;").replace(/^no$/,""),n.wav=i.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),n.m4a=(i.canPlayType("audio/x-m4a;")||i.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(i){}return n},r.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}},r.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}},r.webworkers=function(){return!!n.Worker},r.applicationcache=function(){return!!n.applicationCache},r.svg=function(){return!!t.createElementNS&&!!t.createElementNS(w,"svg").createSVGRect},r.inlinesvg=function(){var n=t.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==w},r.smil=function(){return!!t.createElementNS&&/SVGAnimate/.test(ft.call(t.createElementNS(w,"animate")))},r.svgclippaths=function(){return!!t.createElementNS&&/SVGClipPath/.test(ft.call(t.createElementNS(w,"clipPath")))},r)k(r,it)&&(y=it.toLowerCase(),u[y]=r[it](),g.push((u[y]?"":"no-")+y));return u.input||(u.input=function(i){for(var r=0,u=i.length;r",r.insertBefore(i.lastChild,r.firstChild)}(n,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),i||function(n,t){t.cache||(t.cache={},t.createElem=n.createElement,t.createFrag=n.createDocumentFragment,t.frag=t.createFrag());n.createElement=function(i){return r.shivMethods?l(i,n,t):t.createElem(i)};n.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+c().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(r,t.frag)}(n,f),n}var u,i,f=n.html5||{},v=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,y=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s="_html5shiv",e=0,h={},r;!function(){try{var n=t.createElement("a");n.innerHTML="<\/xyz>";u="hidden"in n;i=1==n.childNodes.length||function(){t.createElement("a");var n=t.createDocumentFragment();return void 0===n.cloneNode||void 0===n.createDocumentFragment||void 0===n.createElement}()}catch(n){u=!0;i=!0}}();r={elements:f.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==f.shivCSS,supportsUnknownElements:i,shivMethods:!1!==f.shivMethods,type:"default",shivDocument:a,createElement:l,createDocumentFragment:function(n,r){if(n||(n=t),i)return n.createDocumentFragment();for(var f=(r=r||o(n)).frag.cloneNode(),u=0,e=c(),s=e.length;u1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=n.nodeName,r;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,(n.ownerDocument.scrollingElement||r)[t]):n[t]}function yt(n,t){var i="x"===t?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function pt(n,t,i,r){return Math.max(t["offset"+n],t["scroll"+n],i["client"+n],i["offset"+n],i["scroll"+n],v()?i["offset"+n]+r["margin"+("Height"===n?"Top":"Left")]+r["margin"+("Height"===n?"Bottom":"Right")]:0)}function wt(){var t=document.body,n=document.documentElement,i=v()&&getComputedStyle(n);return{height:pt("Height",t,n,i),width:pt("Width",t,n,i)}}function e(n){return u({},n,{right:n.left+n.width,bottom:n.top+n.height})}function it(n){var t={},r,u,h;if(v())try{t=n.getBoundingClientRect();r=c(n,"top");u=c(n,"left");t.top+=r;t.left+=u;t.bottom+=r;t.right+=u}catch(n){}else t=n.getBoundingClientRect();var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},l="HTML"===n.nodeName?wt():{},a=l.width||n.clientWidth||i.right-i.left,y=l.height||n.clientHeight||i.bottom-i.top,f=n.offsetWidth-a,o=n.offsetHeight-y;return(f||o)&&(h=s(n),f-=yt(h,"x"),o-=yt(h,"y"),i.width-=f,i.height-=o),e(i)}function rt(n,t){var p=v(),b="HTML"===t.nodeName,r=it(n),w=it(t),h=a(n),u=s(t),l=parseFloat(u.borderTopWidth,10),y=parseFloat(u.borderLeftWidth,10),i=e({top:r.top-w.top-l,left:r.left-w.left-y,width:r.width,height:r.height}),f,o;return(i.marginTop=0,i.marginLeft=0,!p&&b)&&(f=parseFloat(u.marginTop,10),o=parseFloat(u.marginLeft,10),i.top-=l-f,i.bottom-=l-f,i.left-=y-o,i.right-=y-o,i.marginTop=f,i.marginLeft=o),(p?t.contains(h):t===h&&"BODY"!==h.nodeName)&&(i=function(n,t){var f=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=c(t,"top"),u=c(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}(i,t)),i}function bt(n){var t=n.nodeName;return"BODY"!==t&&"HTML"!==t&&("fixed"===s(n,"position")||bt(nt(n)))}function ut(n,t,i,r){var u={top:0,left:0},s=p(n,t),o,f;if("viewport"===r)u=function(n){var t=n.ownerDocument.documentElement,i=rt(n,t),r=Math.max(t.clientWidth,window.innerWidth||0),u=Math.max(t.clientHeight,window.innerHeight||0),f=c(t),o=c(t,"left");return e({top:f-i.top+i.marginTop,left:o-i.left+i.marginLeft,width:r,height:u})}(s);else if(o=void 0,"scrollParent"===r?"BODY"===(o=a(nt(t))).nodeName&&(o=n.ownerDocument.documentElement):o="window"===r?n.ownerDocument.documentElement:r,f=rt(o,s),"HTML"!==o.nodeName||bt(s))u=f;else{var h=wt(),l=h.height,v=h.width;u.top+=f.top-f.marginTop;u.bottom=l+f.top;u.left+=f.left-f.marginLeft;u.right=v+f.left}return u.left+=i,u.top+=i,u.right-=i,u.bottom-=i,u}function kt(n,t,i,r,f){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===n.indexOf("auto"))return n;var e=ut(i,r,l,f),o={top:{width:e.width,height:t.top-e.top},right:{width:e.right-t.right,height:e.height},bottom:{width:e.width,height:e.bottom-t.bottom},left:{width:t.left-e.left,height:e.height}},s=Object.keys(o).map(function(n){return u({key:n},o[n],{area:(t=o[n],t.width*t.height)});var t}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,r=n.height;return t>=i.clientWidth&&r>=i.clientHeight}),a=h.length>0?h[0].key:s[0].key,c=n.split("-")[1];return a+(c?"-"+c:"")}function dt(n,t,i){return rt(i,p(t,i))}function gt(n){var t=getComputedStyle(n),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),r=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:n.offsetWidth+r,height:n.offsetHeight+i}}function b(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function ni(n,t,i){i=i.split("-")[0];var r=gt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[b(f)],e}function y(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function ti(n,t,i){return(void 0===i?n:n.slice(0,function(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=y(n,function(n){return n[t]===i});return n.indexOf(r)}(n,"name",i))).forEach(function(n){n.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=n.function||n.fn;n.enabled&&vt(i)&&(t.offsets.popper=e(t.offsets.popper),t.offsets.reference=e(t.offsets.reference),t=i(t,n))}),t}function vi(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=dt(this.state,this.popper,this.reference);n.placement=kt(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.offsets.popper=ni(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position="absolute";n=ti(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function ii(n,t){return n.some(function(n){var i=n.name;return n.enabled&&i===t})}function ri(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t1&&void 0!==arguments[1]&&arguments[1],t=k.indexOf(n),i=k.slice(t+1).concat(k.slice(0,t));return r?i.reverse():i}function nr(n,t,i,r){var h=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(y(u,function(n){return-1!==n.search(/,|\s/)})),s,o;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),s=/\s*,\s*|\s+/,o=-1!==f?[u.slice(0,f).concat([u[f].split(s)[0]]),[u[f].split(s)[1]].concat(u.slice(f+1))]:[u],o=o.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return function(n,t,i,r){var o=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),f=+o[1],u=o[2];return f?0===u.indexOf("%")?e("%p"===u?i:r)[t]/100*f:"vh"===u||"vw"===u?("vh"===u?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*f:f:n}(n,f,t,i)})}),o.forEach(function(n,t){n.forEach(function(i,r){ft(i)&&(h[t]+=i*("-"===n[r-1]?-1:1))})}),h}for(var at,w,v,ot,k,i=function(n){function r(i){var u=this,r=!1;return n(this).one(t.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}var i=!1,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target");i&&"#"!==i||(i=t.getAttribute("href")||"");"#"===i.charAt(0)&&(i=function(t){return"function"==typeof n.escapeSelector?n.escapeSelector(t).substr(1):t.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1")}(i));try{return n(document).find(i).length>0?i:null}catch(n){return null}},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i.end)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){var u,s;for(u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var e=r[u],f=i[u],o=f&&t.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+': Option "'+u+'" provided type "'+o+'" but expected type "'+e+'".');}}};return i=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=r,t.supportsTransitionEnd()&&(n.event.special[t.TRANSITION_END]={bindType:i.end,delegateType:i.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),t}(t=t&&t.hasOwnProperty("default")?t.default:t),si=function(n){var r="alert",u="bs.alert",e="."+u,s=n.fn[r],o={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},h="alert",c="fade",l="show",t=function(){function t(n){this._element=n}var r=t.prototype;return r.close=function(n){n=n||this._element;var t=this._getRootElement(n);this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},r.dispose=function(){n.removeData(this._element,u);this._element=null},r._getRootElement=function(t){var u=i.getSelectorFromElement(t),r=!1;return u&&(r=n(u)[0]),r||(r=n(t).closest("."+h)[0]),r},r._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},r._removeElement=function(t){var r=this;n(t).removeClass(l);i.supportsTransitionEnd()&&n(t).hasClass(c)?n(t).one(i.TRANSITION_END,function(n){return r._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},r._destroyElement=function(t){n(t).detach().trigger(o.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(u);r||(r=new t(this),f.data(u,r));"close"===i&&r[i](this)})},t._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}();return n(document).on(o.CLICK_DATA_API,'[data-dismiss="alert"]',t._handleDismiss(new t)),n.fn[r]=t._jQueryInterface,n.fn[r].Constructor=t,n.fn[r].noConflict=function(){return n.fn[r]=s,t._jQueryInterface},t}(t),hi=function(n){var t="button",u="bs.button",e="."+u,o=".data-api",l=n.fn[t],i="active",a="btn",v="focus",s='[data-toggle^="button"]',y='[data-toggle="buttons"]',p="input",w=".active",h=".btn",c={CLICK_DATA_API:"click"+e+o,FOCUS_BLUR_DATA_API:"focus"+e+o+" blur"+e+o},r=function(){function t(n){this._element=n}var r=t.prototype;return r.toggle=function(){var u=!0,e=!0,r=n(this._element).closest(y)[0],t,f;if(r&&(t=n(this._element).find(p)[0],t)){if("radio"===t.type&&(t.checked&&n(this._element).hasClass(i)?u=!1:(f=n(r).find(w)[0],f&&n(f).removeClass(i))),u){if(t.hasAttribute("disabled")||r.hasAttribute("disabled")||t.classList.contains("disabled")||r.classList.contains("disabled"))return;t.checked=!n(this._element).hasClass(i);n(t).trigger("change")}t.focus();e=!1}e&&this._element.setAttribute("aria-pressed",!n(this._element).hasClass(i));u&&n(this._element).toggleClass(i)},r.dispose=function(){n.removeData(this._element,u);this._element=null},t._jQueryInterface=function(i){return this.each(function(){var r=n(this).data(u);r||(r=new t(this),n(this).data(u,r));"toggle"===i&&r[i]()})},f(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}();return n(document).on(c.CLICK_DATA_API,s,function(t){t.preventDefault();var i=t.target;n(i).hasClass(a)||(i=n(i).closest(h));r._jQueryInterface.call(n(i),"toggle")}).on(c.FOCUS_BLUR_DATA_API,s,function(t){var i=n(t.target).closest(h)[0];n(i).toggleClass(v,/^focus(in)?$/.test(t.type))}),n.fn[t]=r._jQueryInterface,n.fn[t].Constructor=r,n.fn[t].noConflict=function(){return n.fn[t]=l,r._jQueryInterface},r}(t),ci=function(n){var o="carousel",h="bs.carousel",t="."+h,y=".data-api",p=n.fn[o],a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},w={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},c="next",l="prev",b="left",k="right",u={SLIDE:"slide"+t,SLID:"slid"+t,KEYDOWN:"keydown"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t,TOUCHEND:"touchend"+t,LOAD_DATA_API:"load"+t+y,CLICK_DATA_API:"click"+t+y},d="carousel",e="active",g="slide",nt="carousel-item-right",tt="carousel-item-left",it="carousel-item-next",rt="carousel-item-prev",ut=".active",v=".active.carousel-item",ft=".carousel-item",et=".carousel-item-next, .carousel-item-prev",ot=".carousel-indicators",st='[data-ride="carousel"]',s=function(){function y(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(ot)[0];this._addEventListeners()}var s=y.prototype;return s.next=function(){this._isSliding||this._slide(c)},s.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&"hidden"!==n(this._element).css("visibility")&&this.next()},s.prev=function(){this._isSliding||this._slide(l)},s.pause=function(t){t||(this._isPaused=!0);n(this._element).find(et)[0]&&i.supportsTransitionEnd()&&(i.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},s.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},s.to=function(t){var f=this,i,r;if(this._activeElement=n(this._element).find(v)[0],i=this._getItemIndex(this._activeElement),!(t>this._items.length-1||t<0))if(this._isSliding)n(this._element).one(u.SLID,function(){return f.to(t)});else{if(i===t)return this.pause(),void this.cycle();r=t>i?c:l;this._slide(r,this._items[t])}},s.dispose=function(){n(this._element).off(t);n.removeData(this._element,h);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},s._getConfig=function(n){return n=r({},a,n),i.typeCheckConfig(o,n,w),n},s._addEventListeners=function(){var t=this;this._config.keyboard&&n(this._element).on(u.KEYDOWN,function(n){return t._keydown(n)});"hover"===this._config.pause&&(n(this._element).on(u.MOUSEENTER,function(n){return t.pause(n)}).on(u.MOUSELEAVE,function(n){return t.cycle(n)}),"ontouchstart"in document.documentElement&&n(this._element).on(u.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},500+t._config.interval)}))},s._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},s._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(ft)),this._items.indexOf(t)},s._getItemByDirection=function(n,t){var u=n===c,f=n===l,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===l?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},s._triggerSlideEvent=function(t,i){var f=this._getItemIndex(t),e=this._getItemIndex(n(this._element).find(v)[0]),r=n.Event(u.SLIDE,{relatedTarget:t,direction:i,from:e,to:f});return n(this._element).trigger(r),r},s._setActiveIndicatorElement=function(t){if(this._indicatorsElement){n(this._indicatorsElement).find(ut).removeClass(e);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&n(i).addClass(e)}},s._slide=function(t,r){var s,h,l,y=this,o=n(this._element).find(v)[0],w=this._getItemIndex(o),f=r||o&&this._getItemByDirection(t,o),d=this._getItemIndex(f),p=Boolean(this._interval),a;(t===c?(s=tt,h=it,l=b):(s=nt,h=rt,l=k),f&&n(f).hasClass(e))?this._isSliding=!1:!this._triggerSlideEvent(f,l).isDefaultPrevented()&&o&&f&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(f),a=n.Event(u.SLID,{relatedTarget:f,direction:l,from:w,to:d}),i.supportsTransitionEnd()&&n(this._element).hasClass(g)?(n(f).addClass(h),i.reflow(f),n(o).addClass(s),n(f).addClass(s),n(o).one(i.TRANSITION_END,function(){n(f).removeClass(s+" "+h).addClass(e);n(o).removeClass(e+" "+h+" "+s);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(a)},0)}).emulateTransitionEnd(600)):(n(o).removeClass(e),n(f).addClass(e),this._isSliding=!1,n(this._element).trigger(a)),p&&this.cycle())},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(h),u=r({},a,n(this).data()),f;if("object"===_typeof(t)&&(u=r({},u,t)),f="string"==typeof t?t:u.slide,i||(i=new y(this,u),n(this).data(h,i)),"number"==typeof t)i.to(t);else if("string"==typeof f){if(void 0===i[f])throw new TypeError('No method named "'+f+'"');i[f]()}else u.interval&&(i.pause(),i.cycle())})},y._dataApiClickHandler=function(t){var o=i.getSelectorFromElement(this),u,e,f;o&&(u=n(o)[0],u&&n(u).hasClass(d)&&(e=r({},n(u).data(),n(this).data()),f=this.getAttribute("data-slide-to"),f&&(e.interval=!1),y._jQueryInterface.call(n(u),e),f&&n(u).data(h).to(f),t.preventDefault()))},f(y,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),y}();return n(document).on(u.CLICK_DATA_API,"[data-slide], [data-slide-to]",s._dataApiClickHandler),n(window).on(u.LOAD_DATA_API,function(){n(st).each(function(){var t=n(this);s._jQueryInterface.call(t,t.data())})}),n.fn[o]=s._jQueryInterface,n.fn[o].Constructor=s,n.fn[o].noConflict=function(){return n.fn[o]=p,s._jQueryInterface},s}(t),li=function(n){var e="collapse",t="bs.collapse",o="."+t,w=n.fn[e],a={toggle:!0,parent:""},b={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},u="show",c="collapse",l="collapsing",v="collapsed",y="width",k="height",d=".show, .collapsing",p='[data-toggle="collapse"]',h=function(){function h(t,r){var e,u,o,f;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(r),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),e=n(p),u=0;u0&&(this._selector=f,this._triggerArray.push(o));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=h.prototype;return o.toggle=function(){n(this._element).hasClass(u)?this.hide():this.show()},o.show=function(){var r,o,e=this,a,f,y,p;this._isTransitioning||n(this._element).hasClass(u)||(this._parent&&0===(r=n.makeArray(n(this._parent).find(d).filter('[data-parent="'+this._config.parent+'"]'))).length&&(r=null),r&&(o=n(r).not(this._selector).data(t))&&o._isTransitioning)||(a=n.Event(s.SHOW),(n(this._element).trigger(a),a.isDefaultPrevented())||(r&&(h._jQueryInterface.call(n(r).not(this._selector),"hide"),o||n(r).data(t,null)),f=this._getDimension(),n(this._element).removeClass(c).addClass(l),this._element.style[f]=0,this._triggerArray.length>0&&n(this._triggerArray).removeClass(v).attr("aria-expanded",!0),this.setTransitioning(!0),y=function(){n(e._element).removeClass(l).addClass(c).addClass(u);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},i.supportsTransitionEnd()?(p="scroll"+(f[0].toUpperCase()+f.slice(1)),n(this._element).one(i.TRANSITION_END,y).emulateTransitionEnd(600),this._element.style[f]=this._element[p]+"px"):y()))},o.hide=function(){var a=this,f,t,r,e,o,h;if(!this._isTransitioning&&n(this._element).hasClass(u)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(t=this._getDimension(),this._element.style[t]=this._element.getBoundingClientRect()[t]+"px",i.reflow(this._element),n(this._element).addClass(l).removeClass(c).removeClass(u),this._triggerArray.length>0)for(r=0;r0&&n(i).toggleClass(v,!r).attr("aria-expanded",r)}},h._getTargetFromElement=function(t){var r=i.getSelectorFromElement(t);return r?n(r)[0]:null},h._jQueryInterface=function(i){return this.each(function(){var f=n(this),u=f.data(t),e=r({},a,f.data(),"object"===_typeof(i)&&i);if(!u&&e.toggle&&/show|hide/.test(i)&&(e.toggle=!1),u||(u=new h(this,e),f.data(t,u)),"string"==typeof i){if(void 0===u[i])throw new TypeError('No method named "'+i+'"');u[i]()}})},f(h,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return a}}]),h}();return n(document).on(s.CLICK_DATA_API,p,function(r){"A"===r.currentTarget.tagName&&r.preventDefault();var u=n(this),f=i.getSelectorFromElement(this);n(f).each(function(){var i=n(this),r=i.data(t)?"toggle":u.data();h._jQueryInterface.call(i,r)})}),n.fn[e]=h._jQueryInterface,n.fn[e].Constructor=h,n.fn[e].noConflict=function(){return n.fn[e]=w,h._jQueryInterface},h}(t),ht="undefined"!=typeof window&&"undefined"!=typeof document,ct=["Edge","Trident","Firefox"],lt=0,g=0;g=0){lt=1;break}at=ht&&window.Promise?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},lt))}};w=void 0;v=function(){return void 0===w&&(w=-1!==navigator.appVersion.indexOf("MSIE 10")),w};var ai=function(){function n(n,t){for(var i,r=0;rr[n]&&!t.escapeWithreference&&(f=Math.min(i[u],r[n]-("right"===n?i.width:i.height))),l({},u,f)}};return e.forEach(function(n){var t=-1!==["left","top"].indexOf(n)?"primary":"secondary";i=u({},i,o[t](n))}),n.offsets.popper=i,n},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=Math.floor,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,t){var a,r;if(!ei(n.instance.modifiers,"arrow","keepTogether"))return n;if(r=t.element,"string"==typeof r){if(!(r=n.instance.popper.querySelector(r)))return n}else if(!n.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var k=n.placement.split("-")[0],w=n.offsets,o=w.popper,u=w.reference,h=-1!==["left","right"].indexOf(k),v=h?"height":"width",y=h?"Top":"Left",i=y.toLowerCase(),d=h?"left":"top",c=h?"bottom":"right",f=gt(r)[v];u[c]-fo[c]&&(n.offsets.popper[i]+=u[i]+f-o[c]);n.offsets.popper=e(n.offsets.popper);var g=u[i]+u[v]/2-f/2,b=s(n.instance.popper),nt=parseFloat(b["margin"+y],10),tt=parseFloat(b["border"+y+"Width"],10),p=g-n.offsets.popper[i]-nt-tt;return p=Math.max(Math.min(o[v]-f,p),0),n.arrowElement=r,n.offsets.arrow=(l(a={},i,Math.round(p)),l(a,d,""),a),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(n,t){if(ii(n.instance.modifiers,"inner")||n.flipped&&n.placement===n.originalPlacement)return n;var e=ut(n.instance.popper,n.instance.reference,t.padding,t.boundariesElement),i=n.placement.split("-")[0],o=b(i),r=n.placement.split("-")[1]||"",f=[];switch(t.behavior){case ki:f=[i,o];break;case di:f=oi(i);break;case gi:f=oi(i,!0);break;default:f=t.behavior}return f.forEach(function(s,h){if(i!==s||f.length===h+1)return n;i=n.placement.split("-")[0];o=b(i);var l=n.offsets.popper,a=n.offsets.reference,c=Math.floor,y="left"===i&&c(l.right)>c(a.left)||"right"===i&&c(l.left)c(a.top)||"bottom"===i&&c(l.top)c(e.right),k=c(l.top)c(e.bottom),g="left"===i&&p||"right"===i&&w||"top"===i&&k||"bottom"===i&&d,v=-1!==["top","bottom"].indexOf(i),nt=!!t.flipVariations&&(v&&"start"===r&&p||v&&"end"===r&&w||!v&&"start"===r&&k||!v&&"end"===r&&d);(y||g||nt)&&(n.flipped=!0,(y||g)&&(i=f[h+1]),nt&&(r=function(n){return"end"===n?"start":"start"===n?"end":n}(r)),n.placement=i+(r?"-"+r:""),n.offsets.popper=u({},n.offsets.popper,ni(n.instance.popper,n.offsets.reference,n.placement)),n=ti(n.instance.modifiers,n,"flip"))}),n},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var r=n.placement,t=r.split("-")[0],u=n.offsets,i=u.popper,o=u.reference,f=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return i[f?"left":"top"]=o[t]-(s?i[f?"width":"height"]:0),n.placement=b(r),n.offsets.popper=e(i),n}},hide:{order:800,enabled:!0,fn:function(n){if(!ei(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=y(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottomi.right||t.top>i.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{},e;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.scheduleUpdate=function(){return requestAnimationFrame(r.update)};this.update=at(this.update.bind(this));this.options=u({},n.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=t&&t.jquery?t[0]:t;this.popper=i&&i.jquery?i[0]:i;this.options.modifiers={};Object.keys(u({},n.Defaults.modifiers,f.modifiers)).forEach(function(t){r.options.modifiers[t]=u({},n.Defaults.modifiers[t]||{},f.modifiers?f.modifiers[t]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(n){return u({name:n},r.options.modifiers[n])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&vt(n.onLoad)&&n.onLoad(r.reference,r.popper,r.options,n,r.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return ai(n,[{key:"update",value:function(){return vi.call(this)}},{key:"destroy",value:function(){return yi.call(this)}},{key:"enableEventListeners",value:function(){return wi.call(this)}},{key:"disableEventListeners",value:function(){return bi.call(this)}}]),n}();o.Utils=("undefined"!=typeof window?window:global).PopperUtils;o.placements=ot;o.Defaults=ir;var rr=function(n){var h="dropdown",c="bs.dropdown",u="."+c,a=".data-api",b=n.fn[h],k=new RegExp("38|40|27"),t={HIDE:"hide"+u,HIDDEN:"hidden"+u,SHOW:"show"+u,SHOWN:"shown"+u,CLICK:"click"+u,CLICK_DATA_API:"click"+u+a,KEYDOWN_DATA_API:"keydown"+u+a,KEYUP_DATA_API:"keyup"+u+a},p="disabled",s="show",w="dropup",d="dropright",g="dropleft",v="dropdown-menu-right",nt="dropdown-menu-left",tt="position-static",l='[data-toggle="dropdown"]',y=".dropdown-menu",it=".navbar-nav",rt=".dropdown-menu .dropdown-item:not(.disabled)",ut="top-start",ft="top-end",et="bottom-start",ot="bottom-end",st="right-start",ht="left-start",ct={offset:0,flip:!0,boundary:"scrollParent"},lt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},e=function(){function e(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var a=e.prototype;return a.toggle=function(){var i,h,r,u,f;if(!this._element.disabled&&!n(this._element).hasClass(p)&&(i=e._getParentFromElement(this._element),h=n(this._menu).hasClass(s),(e._clearMenus(),!h)&&(r={relatedTarget:this._element},u=n.Event(t.SHOW,r),n(i).trigger(u),!u.isDefaultPrevented()))){if(!this._inNavbar){if(void 0===o)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");f=this._element;n(i).hasClass(w)&&(n(this._menu).hasClass(nt)||n(this._menu).hasClass(v))&&(f=i);"scrollParent"!==this._config.boundary&&n(i).addClass(tt);this._popper=new o(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===n(i).closest(it).length&&n("body").children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(s);n(i).toggleClass(s).trigger(n.Event(t.SHOWN,r))}},a.dispose=function(){n.removeData(this._element,c);n(this._element).off(u);this._element=null;this._menu=null;null!==this._popper&&(this._popper.destroy(),this._popper=null)},a.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},a._addEventListeners=function(){var i=this;n(this._element).on(t.CLICK,function(n){n.preventDefault();n.stopPropagation();i.toggle()})},a._getConfig=function(t){return t=r({},this.constructor.Default,n(this._element).data(),t),i.typeCheckConfig(h,t,this.constructor.DefaultType),t},a._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);this._menu=n(t).find(y)[0]}return this._menu},a._getPlacement=function(){var i=n(this._element).parent(),t=et;return i.hasClass(w)?(t=ut,n(this._menu).hasClass(v)&&(t=ft)):i.hasClass(d)?t=st:i.hasClass(g)?t=ht:n(this._menu).hasClass(v)&&(t=ot),t},a._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},a._getPopperConfig=function(){var t=this,n={};return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=r({},n.offsets,t._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r="object"===_typeof(t)?t:null;if(i||(i=new e(this,r),n(this).data(c,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},e._clearMenus=function(i){var u,r,v,o;if(!i||3!==i.which&&("keyup"!==i.type||9===i.which))for(u=n.makeArray(n(l)),r=0;r0&&i--,40===t.which&&idocument.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},h._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},h._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right
<\/div>
<\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},e="show",v="out",nt={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},s="fade",h="show",tt=".tooltip-inner",it=".arrow",c="hover",y="focus",rt="click",ut="manual",a=function(){function w(n,t){if(void 0===o)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var a=w.prototype;return a.enable=function(){this._isEnabled=!0},a.disable=function(){this._isEnabled=!1},a.toggleEnabled=function(){this._isEnabled=!this._isEnabled},a.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(h))return void this._leave(null,this);this._enter(null,this)}},a.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;null!==this._popper&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},a.show=function(){var t=this,u,l,r,f,a,e,y,c;if("none"===n(this.element).css("display"))throw new Error("Please use show on visible elements");if(u=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(u),l=n.contains(this.element.ownerDocument.documentElement,this.element),u.isDefaultPrevented()||!l)return;r=this.getTipElement();f=i.getUID(this.constructor.NAME);r.setAttribute("id",f);this.element.setAttribute("aria-describedby",f);this.setContent();this.config.animation&&n(r).addClass(s);a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement;e=this._getAttachment(a);this.addAttachmentClass(e);y=!1===this.config.container?document.body:n(this.config.container);n(r).data(this.constructor.DATA_KEY,this);n.contains(this.element.ownerDocument.documentElement,this.tip)||n(r).appendTo(y);n(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new o(this.element,r,{placement:e,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:it},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}});n(r).addClass(h);"ontouchstart"in document.documentElement&&n("body").children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===v&&t._leave(null,t)};i.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(this.tip).one(i.TRANSITION_END,c).emulateTransitionEnd(w._TRANSITION_DURATION):c()}},a.hide=function(t){var r=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),o=function(){r._hoverState!==e&&u.parentNode&&u.parentNode.removeChild(u);r._cleanTipClass();r.element.removeAttribute("aria-describedby");n(r.element).trigger(r.constructor.Event.HIDDEN);null!==r._popper&&r._popper.destroy();t&&t()};n(this.element).trigger(f);f.isDefaultPrevented()||(n(u).removeClass(h),"ontouchstart"in document.documentElement&&n("body").children().off("mouseover",null,n.noop),this._activeTrigger[rt]=!1,this._activeTrigger[y]=!1,this._activeTrigger[c]=!1,i.supportsTransitionEnd()&&n(this.tip).hasClass(s)?n(u).one(i.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},a.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},a.isWithContent=function(){return Boolean(this.getTitle())},a.addAttachmentClass=function(t){n(this.getTipElement()).addClass(p+"-"+t)},a.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},a.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(tt),this.getTitle());t.removeClass(s+" "+h)},a.setElementContent=function(t,i){var r=this.config.html;"object"===_typeof(i)&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},a.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},a._getAttachment=function(n){return d[n.toUpperCase()]},a._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==ut){var r=i===c?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===c?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},a._fixTitle=function(){var n=_typeof(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},a._enter=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusin"===t.type?y:c]=!0);n(i.getTipElement()).hasClass(h)||i._hoverState===e?i._hoverState=e:(clearTimeout(i._timeout),i._hoverState=e,i.config.delay&&i.config.delay.show?i._timeout=setTimeout(function(){i._hoverState===e&&i.show()},i.config.delay.show):i.show())},a._leave=function(t,i){var r=this.constructor.DATA_KEY;(i=i||n(t.currentTarget).data(r))||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));t&&(i._activeTrigger["focusout"===t.type?y:c]=!1);i._isWithActiveTrigger()||(clearTimeout(i._timeout),i._hoverState=v,i.config.delay&&i.config.delay.hide?i._timeout=setTimeout(function(){i._hoverState===v&&i.hide()},i.config.delay.hide):i.hide())},a._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},a._getConfig=function(t){return"number"==typeof(t=r({},this.constructor.Default,n(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),i.typeCheckConfig(u,t,this.constructor.DefaultType),t},a._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},a._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(b);null!==t&&t.length>0&&i.removeClass(t.join(""))},a._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},a._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;null===t.getAttribute("x-placement")&&(n(t).removeClass(s),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},w._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r="object"===_typeof(t)&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new w(this,r),n(this).data(l,i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},f(w,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return g}},{key:"NAME",get:function(){return u}},{key:"DATA_KEY",get:function(){return l}},{key:"Event",get:function(){return nt}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return k}}]),w}();return n.fn[u]=a._jQueryInterface,n.fn[u].Constructor=a,n.fn[u].noConflict=function(){return n.fn[u]=w,a._jQueryInterface},a}(t),fr=function(n){var i="popover",u="bs.popover",t="."+u,s=n.fn[i],o="bs-popover",h=new RegExp("(^|\\s)"+o+"\\S+","g"),c=r({},d.Default,{placement:"right",trigger:"click",content:"",template:'