From c65330cb91ed39467ed8eabfdbe3953034231027 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Fri, 19 Jun 2020 10:37:47 +0100 Subject: [PATCH] Update dependencies --- RIGS/static/js/alert.js | 2 +- RIGS/static/js/all.js | 4 +-- RIGS/static/js/bootstrap-select.js | 2 +- RIGS/static/js/dropdown.js | 2 +- RIGS/static/js/modal.js | 2 +- RIGS/static/js/moment.js | 4 +-- package.json | 20 +++++------ requirements.txt | 57 +++++++++++++++++++++++++++--- 8 files changed, 70 insertions(+), 23 deletions(-) diff --git a/RIGS/static/js/alert.js b/RIGS/static/js/alert.js index 3fad6a17..708dc5db 100644 --- a/RIGS/static/js/alert.js +++ b/RIGS/static/js/alert.js @@ -3,4 +3,4 @@ * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","./util.js"],t):(e=e||self).Alert=t(e.jQuery,e.Util)}(this,(function(e,t){"use strict";function n(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("fab",f)}))}(),function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),function(){try{return!0}catch(c){return!1}}());function s(c,l,h){return l in c?Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[l]=h,c}function e(c){for(var l=1;l2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("far",f)}))}(),function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),function(){try{return!0}catch(c){return!1}}());function s(c,l,h){return l in c?Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[l]=h,c}function e(c){for(var l=1;l2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("fas",f)}))}(),function(){"use strict";function c(l){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"==typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(l)}function l(c,l){for(var h=0;h-1;a--){var v=h[a],m=(v.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(m)>-1&&(z=v)}return n.head.insertBefore(l,z),c}}function mc(){for(var c=12,l="";c-- >0;)l+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return l}function sc(c){for(var l=[],h=(c||[]).length>>>0;h--;)l[h]=c[h];return l}function ec(c){return c.classList?sc(c.classList):(c.getAttribute("class")||"").split(" ").filter((function(c){return c}))}function tc(c,l){var h,z=l.split("-"),a=z[0],v=z.slice(1).join("-");return a!==c||""===v||(h=v,~_.indexOf(h))?null:v}function Mc(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function fc(c){return Object.keys(c||{}).reduce((function(l,h){return l+"".concat(h,": ").concat(c[h],";")}),"")}function rc(c){return c.size!==ac.size||c.x!==ac.x||c.y!==ac.y||c.rotate!==ac.rotate||c.flipX||c.flipY}function Hc(c){var l=c.transform,h=c.containerWidth,z=c.iconWidth,a={transform:"translate(".concat(h/2," 256)")},v="translate(".concat(32*l.x,", ").concat(32*l.y,") "),m="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),s="rotate(".concat(l.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(v," ").concat(m," ").concat(s)},path:{transform:"translate(".concat(z/2*-1," -256)")}}}var nc={x:0,y:0,width:"100%",height:"100%"};function ic(c){var l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return c.attributes&&(c.attributes.fill||l)&&(c.attributes.fill="black"),c}function Vc(c){var l=c.icons,h=l.main,a=l.mask,v=c.prefix,m=c.iconName,s=c.transform,e=c.symbol,t=c.title,M=c.maskId,f=c.titleId,r=c.extra,H=c.watchable,n=void 0!==H&&H,i=a.found?a:h,V=i.width,o=i.height,C="fa-w-".concat(Math.ceil(V/o*16)),L=[O.replacementClass,m?"".concat(O.familyPrefix,"-").concat(m):"",C].filter((function(c){return-1===r.classes.indexOf(c)})).concat(r.classes).join(" "),u={children:[],attributes:z({},r.attributes,{"data-prefix":v,"data-icon":m,class:L,role:r.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(V," ").concat(o)})};n&&(u.attributes["data-fa-i2svg"]=""),t&&u.children.push({tag:"title",attributes:{id:u.attributes["aria-labelledby"]||"title-".concat(f||mc())},children:[t]});var d=z({},u,{prefix:v,iconName:m,main:h,mask:a,maskId:M,transform:s,symbol:e,styles:r.styles}),p=a.found&&h.found?function(c){var l,h=c.children,a=c.attributes,v=c.main,m=c.mask,s=c.maskId,e=c.transform,t=v.width,M=v.icon,f=m.width,r=m.icon,H=Hc({transform:e,containerWidth:f,iconWidth:t}),n={tag:"rect",attributes:z({},nc,{fill:"white"})},i=M.children?{children:M.children.map(ic)}:{},V={tag:"g",attributes:z({},H.inner),children:[ic(z({tag:M.tag,attributes:z({},M.attributes,H.path)},i))]},o={tag:"g",attributes:z({},H.outer),children:[V]},C="mask-".concat(s||mc()),L="clip-".concat(s||mc()),u={tag:"mask",attributes:z({},nc,{id:C,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[n,o]},d={tag:"defs",children:[{tag:"clipPath",attributes:{id:L},children:(l=r,"g"===l.tag?l.children:[l])},u]};return h.push(d,{tag:"rect",attributes:z({fill:"currentColor","clip-path":"url(#".concat(L,")"),mask:"url(#".concat(C,")")},nc)}),{children:h,attributes:a}}(d):function(c){var l=c.children,h=c.attributes,a=c.main,v=c.transform,m=fc(c.styles);if(m.length>0&&(h.style=m),rc(v)){var s=Hc({transform:v,containerWidth:a.width,iconWidth:a.width});l.push({tag:"g",attributes:z({},s.outer),children:[{tag:"g",attributes:z({},s.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:z({},a.icon.attributes,s.path)}]}]})}else l.push(a.icon);return{children:l,attributes:h}}(d),b=p.children,g=p.attributes;return d.children=b,d.attributes=g,e?function(c){var l=c.prefix,h=c.iconName,a=c.children,v=c.attributes,m=c.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:z({},v,{id:!0===m?"".concat(l,"-").concat(O.familyPrefix,"-").concat(h):m}),children:a}]}]}(d):function(c){var l=c.children,h=c.main,a=c.mask,v=c.attributes,m=c.styles,s=c.transform;if(rc(s)&&h.found&&!a.found){var e={x:h.width/h.height/2,y:.5};v.style=fc(z({},m,{"transform-origin":"".concat(e.x+s.x/16,"em ").concat(e.y+s.y/16,"em")}))}return[{tag:"svg",attributes:v,children:l}]}(d)}function oc(c){var l=c.content,h=c.width,a=c.height,v=c.transform,m=c.title,s=c.extra,e=c.watchable,t=void 0!==e&&e,M=z({},s.attributes,m?{title:m}:{},{class:s.classes.join(" ")});t&&(M["data-fa-i2svg"]="");var f=z({},s.styles);rc(v)&&(f.transform=function(c){var l=c.transform,h=c.width,z=void 0===h?16:h,a=c.height,v=void 0===a?16:a,m=c.startCentered,s=void 0!==m&&m,e="";return e+=s&&L?"translate(".concat(l.x/zc-z/2,"em, ").concat(l.y/zc-v/2,"em) "):s?"translate(calc(-50% + ".concat(l.x/zc,"em), calc(-50% + ").concat(l.y/zc,"em)) "):"translate(".concat(l.x/zc,"em, ").concat(l.y/zc,"em) "),e+="scale(".concat(l.size/zc*(l.flipX?-1:1),", ").concat(l.size/zc*(l.flipY?-1:1),") "),e+="rotate(".concat(l.rotate,"deg) ")}({transform:v,startCentered:!0,width:h,height:a}),f["-webkit-transform"]=f.transform);var r=fc(f);r.length>0&&(M.style=r);var H=[];return H.push({tag:"span",attributes:M,children:[l]}),m&&H.push({tag:"span",attributes:{class:"sr-only"},children:[m]}),H}function Cc(c){var l=c.content,h=c.title,a=c.extra,v=z({},a.attributes,h?{title:h}:{},{class:a.classes.join(" ")}),m=fc(a.styles);m.length>0&&(v.style=m);var s=[];return s.push({tag:"span",attributes:v,children:[l]}),h&&s.push({tag:"span",attributes:{class:"sr-only"},children:[h]}),s}var Lc=function(){},uc=O.measurePerformance&&V&&V.mark&&V.measure?V:{mark:Lc,measure:Lc},dc='FA "5.13.0"',pc=function(c){uc.mark("".concat(dc," ").concat(c," ends")),uc.measure("".concat(dc," ").concat(c),"".concat(dc," ").concat(c," begins"),"".concat(dc," ").concat(c," ends"))},bc=function(c){return uc.mark("".concat(dc," ").concat(c," begins")),function(){return pc(c)}},gc=function(c,l,h,z){var a,v,m,s=Object.keys(c),e=s.length,t=void 0!==z?function(c,l){return function(h,z,a,v){return c.call(l,h,z,a,v)}}(l,z):l;for(void 0===h?(a=1,m=c[s[0]]):(a=0,m=h);a2&&void 0!==arguments[2]?arguments[2]:{},a=h.skipHooks,v=void 0!==a&&a,m=Object.keys(l).reduce((function(c,h){var z=l[h];return!!z.icon?c[z.iconName]=z.icon:c[h]=z,c}),{});"function"!=typeof E.hooks.addPack||v?E.styles[c]=z({},E.styles[c]||{},m):E.hooks.addPack(c,m),"fas"===c&&Sc("fa",l)}var yc=E.styles,wc=E.shims,kc={},_c={},Zc={},xc=function(){var c=function(c){return gc(yc,(function(l,h,z){return l[z]=gc(h,c,{}),l}),{})};kc=c((function(c,l,h){return l[3]&&(c[l[3]]=h),c})),_c=c((function(c,l,h){var z=l[2];return c[h]=h,z.forEach((function(l){c[l]=h})),c}));var l="far"in yc;Zc=gc(wc,(function(c,h){var z=h[0],a=h[1],v=h[2];return"far"!==a||l||(a="fas"),c[z]={prefix:a,iconName:v},c}),{})};function Oc(c,l){return(kc[c]||{})[l]}xc();var qc=E.styles;function Ec(c){return c.reduce((function(c,l){var h=tc(O.familyPrefix,l);if(qc[l])c.prefix=l;else if(O.autoFetchSvg&&["fas","far","fal","fad","fab","fa"].indexOf(l)>-1)c.prefix=l;else if(h){var z="fa"===c.prefix?Zc[h]||{prefix:null,iconName:null}:{};c.iconName=z.iconName||h,c.prefix=z.prefix||c.prefix}else l!==O.replacementClass&&0!==l.indexOf("fa-w-")&&c.rest.push(l);return c}),{prefix:null,iconName:null,rest:[]})}function jc(c,l,h){if(c&&c[l]&&c[l][h])return{prefix:l,iconName:h,icon:c[l][h]}}function Nc(c){var l=c.tag,h=c.attributes,z=void 0===h?{}:h,a=c.children,v=void 0===a?[]:a;return"string"==typeof c?Mc(c):"<".concat(l," ").concat(function(c){return Object.keys(c||{}).reduce((function(l,h){return l+"".concat(h,'="').concat(Mc(c[h]),'" ')}),"").trim()}(z),">").concat(v.map(Nc).join(""),"")}var Pc=function(){};function Tc(c){return"string"==typeof(c.getAttribute?c.getAttribute("data-fa-i2svg"):null)}var Fc={replace:function(c){var l=c[0],h=c[1].map((function(c){return Nc(c)})).join("\n");if(l.parentNode&&l.outerHTML)l.outerHTML=h+(O.keepOriginalSource&&"svg"!==l.tagName.toLowerCase()?"\x3c!-- ".concat(l.outerHTML," --\x3e"):"");else if(l.parentNode){var z=document.createElement("span");l.parentNode.replaceChild(z,l),z.outerHTML=h}},nest:function(c){var l=c[0],h=c[1];if(~ec(l).indexOf(O.replacementClass))return Fc.replace(c);var z=new RegExp("".concat(O.familyPrefix,"-.*"));delete h[0].attributes.style,delete h[0].attributes.id;var a=h[0].attributes.class.split(" ").reduce((function(c,l){return l===O.replacementClass||l.match(z)?c.toSvg.push(l):c.toNode.push(l),c}),{toNode:[],toSvg:[]});h[0].attributes.class=a.toSvg.join(" ");var v=h.map((function(c){return Nc(c)})).join("\n");l.setAttribute("class",a.toNode.join(" ")),l.setAttribute("data-fa-i2svg",""),l.innerHTML=v}};function Wc(c){c()}function Ic(c,l){var h="function"==typeof l?l:Pc;if(0===c.length)h();else{var z=Wc;"async"===O.mutateApproach&&(z=H.requestAnimationFrame||Wc),z((function(){var l=!0===O.autoReplaceSvg?Fc.replace:Fc[O.autoReplaceSvg]||Fc.replace,z=bc("mutate");c.map(l),z(),h()}))}}var Rc=!1;function Yc(){Rc=!1}var Dc=null;function Uc(c){if(i&&O.observeMutations){var l=c.treeCallback,h=c.nodeCallback,z=c.pseudoElementsCallback,a=c.observeMutationsRoot,v=void 0===a?n:a;Dc=new i((function(c){Rc||sc(c).forEach((function(c){if("childList"===c.type&&c.addedNodes.length>0&&!Tc(c.addedNodes[0])&&(O.searchPseudoElements&&z(c.target),l(c.target)),"attributes"===c.type&&c.target.parentNode&&O.searchPseudoElements&&z(c.target.parentNode),"attributes"===c.type&&Tc(c.target)&&~w.indexOf(c.attributeName))if("class"===c.attributeName){var a=Ec(ec(c.target)),v=a.prefix,m=a.iconName;v&&c.target.setAttribute("data-prefix",v),m&&c.target.setAttribute("data-icon",m)}else h(c.target)}))})),C&&Dc.observe(v,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Qc(c){var l,h,z=c.getAttribute("data-prefix"),a=c.getAttribute("data-icon"),v=void 0!==c.innerText?c.innerText.trim():"",m=Ec(ec(c));return z&&a&&(m.prefix=z,m.iconName=a),m.prefix&&v.length>1?m.iconName=(l=m.prefix,h=c.innerText,(_c[l]||{})[h]):m.prefix&&1===v.length&&(m.iconName=Oc(m.prefix,Ac(c.innerText))),m}var Xc=function(c){var l={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return c?c.toLowerCase().split(" ").reduce((function(c,l){var h=l.toLowerCase().split("-"),z=h[0],a=h.slice(1).join("-");if(z&&"h"===a)return c.flipX=!0,c;if(z&&"v"===a)return c.flipY=!0,c;if(a=parseFloat(a),isNaN(a))return c;switch(z){case"grow":c.size=c.size+a;break;case"shrink":c.size=c.size-a;break;case"left":c.x=c.x-a;break;case"right":c.x=c.x+a;break;case"up":c.y=c.y-a;break;case"down":c.y=c.y+a;break;case"rotate":c.rotate=c.rotate+a}return c}),l):l};function Bc(c){var l=Qc(c),h=l.iconName,z=l.prefix,a=l.rest,v=function(c){var l=c.getAttribute("style"),h=[];return l&&(h=l.split(";").reduce((function(c,l){var h=l.split(":"),z=h[0],a=h.slice(1);return z&&a.length>0&&(c[z]=a.join(":").trim()),c}),{})),h}(c),m=function(c){return Xc(c.getAttribute("data-fa-transform"))}(c),s=function(c){var l=c.getAttribute("data-fa-symbol");return null!==l&&(""===l||l)}(c),e=function(c){var l=sc(c.attributes).reduce((function(c,l){return"class"!==c.name&&"style"!==c.name&&(c[l.name]=l.value),c}),{}),h=c.getAttribute("title"),z=c.getAttribute("data-fa-title-id");return O.autoA11y&&(h?l["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(z||mc()):(l["aria-hidden"]="true",l.focusable="false")),l}(c),t=function(c){var l=c.getAttribute("data-fa-mask");return l?Ec(l.split(" ").map((function(c){return c.trim()}))):{prefix:null,iconName:null,rest:[]}}(c);return{iconName:h,title:c.getAttribute("title"),titleId:c.getAttribute("data-fa-title-id"),prefix:z,transform:m,symbol:s,mask:t,maskId:c.getAttribute("data-fa-mask-id"),extra:{classes:a,styles:v,attributes:e}}}function Kc(c){this.name="MissingIcon",this.message=c||"Icon unavailable",this.stack=(new Error).stack}Kc.prototype=Object.create(Error.prototype),Kc.prototype.constructor=Kc;var Gc={fill:"currentColor"},Jc={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},$c={tag:"path",attributes:z({},Gc,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},cl=z({},Jc,{attributeName:"opacity"}),ll={tag:"g",children:[$c,{tag:"circle",attributes:z({},Gc,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:z({},Jc,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:z({},cl,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:z({},Gc,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:[{tag:"animate",attributes:z({},cl,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:z({},Gc,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:z({},cl,{values:"0;0;1;1;0;0;"})}]}]},hl=E.styles;function zl(c){var l=c[0],h=c[1],z=a(c.slice(4),1)[0];return{found:!0,width:l,height:h,icon:Array.isArray(z)?{tag:"g",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.GROUP)},children:[{tag:"path",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.SECONDARY),fill:"currentColor",d:z[0]}},{tag:"path",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.PRIMARY),fill:"currentColor",d:z[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:z}}}}function al(l,h){return new hc((function(z,a){var v={found:!1,width:512,height:512,icon:ll};if(l&&h&&hl[h]&&hl[h][l])return z(zl(hl[h][l]));"object"===c(H.FontAwesomeKitConfig)&&"string"==typeof window.FontAwesomeKitConfig.token&&H.FontAwesomeKitConfig.token,l&&h&&!O.showMissingIcons?a(new Kc("Icon is missing for prefix ".concat(h," with icon name ").concat(l))):z(v)}))}var vl=E.styles;function ml(c){var l=Bc(c);return~l.extra.classes.indexOf("fa-layers-text")?function(c,l){var h=l.title,z=l.transform,a=l.extra,v=null,m=null;if(L){var s=parseInt(getComputedStyle(c).fontSize,10),e=c.getBoundingClientRect();v=e.width/s,m=e.height/s}return O.autoA11y&&!h&&(a.attributes["aria-hidden"]="true"),hc.resolve([c,oc({content:c.innerHTML,width:v,height:m,transform:z,title:h,extra:a,watchable:!0})])}(c,l):function(c,l){var h=l.iconName,z=l.title,v=l.titleId,m=l.prefix,s=l.transform,e=l.symbol,t=l.mask,M=l.maskId,f=l.extra;return new hc((function(l,r){hc.all([al(h,m),al(t.iconName,t.prefix)]).then((function(t){var r=a(t,2),H=r[0],n=r[1];l([c,Vc({icons:{main:H,mask:n},prefix:m,iconName:h,transform:s,symbol:e,mask:n,maskId:M,title:z,titleId:v,extra:f,watchable:!0})])}))}))}(c,l)}function sl(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(C){var h=n.documentElement.classList,z=function(c){return h.add("".concat("fontawesome-i2svg","-").concat(c))},a=function(c){return h.remove("".concat("fontawesome-i2svg","-").concat(c))},v=O.autoFetchSvg?Object.keys(p):Object.keys(vl),m=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(v.map((function(c){return".".concat(c,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0!==m.length){var s=[];try{s=sc(c.querySelectorAll(m))}catch(c){}if(s.length>0){z("pending"),a("complete");var e=bc("onTree"),t=s.reduce((function(c,l){try{var h=ml(l);h&&c.push(h)}catch(c){d||c instanceof Kc&&console.error(c)}return c}),[]);return new hc((function(c,h){hc.all(t).then((function(h){Ic(h,(function(){z("active"),z("complete"),a("pending"),"function"==typeof l&&l(),e(),c()}))})).catch((function(){e(),h()}))}))}}}}function el(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ml(c).then((function(c){c&&Ic([c],l)}))}function tl(c,l){var h="".concat("data-fa-pseudo-element-pending").concat(l.replace(":","-"));return new hc((function(a,v){if(null!==c.getAttribute(h))return a();var m=sc(c.children).filter((function(c){return c.getAttribute("data-fa-pseudo-element")===l}))[0],s=H.getComputedStyle(c,l),e=s.getPropertyValue("font-family").match(g),t=s.getPropertyValue("font-weight"),M=s.getPropertyValue("content");if(m&&!e)return c.removeChild(m),a();if(e&&"none"!==M&&""!==M){var f=~["Solid","Regular","Light","Duotone","Brands"].indexOf(e[1])?b[e[1].toLowerCase()]:A[t],r=Ac(3===M.length?M.substr(1,1):M),i=Oc(f,r),V=i;if(!i||m&&m.getAttribute("data-prefix")===f&&m.getAttribute("data-icon")===V)a();else{c.setAttribute(h,V),m&&c.removeChild(m);var o={iconName:null,title:null,titleId:null,prefix:null,transform:ac,symbol:!1,mask:null,maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=o.extra;C.attributes["data-fa-pseudo-element"]=l,al(i,f).then((function(v){var m=Vc(z({},o,{icons:{main:v,mask:{prefix:null,iconName:null,rest:[]}},prefix:f,iconName:V,extra:C,watchable:!0})),s=n.createElement("svg");":before"===l?c.insertBefore(s,c.firstChild):c.appendChild(s),s.outerHTML=m.map((function(c){return Nc(c)})).join("\n"),c.removeAttribute(h),a()})).catch(v)}}else a()}))}function Ml(c){return hc.all([tl(c,":before"),tl(c,":after")])}function fl(c){return!(c.parentNode===document.head||~u.indexOf(c.tagName.toUpperCase())||c.getAttribute("data-fa-pseudo-element")||c.parentNode&&"svg"===c.parentNode.tagName)}function rl(c){if(C)return new hc((function(l,h){var z=sc(c.querySelectorAll("*")).filter(fl).map(Ml),a=bc("searchPseudoElements");Rc=!0,hc.all(z).then((function(){a(),Yc(),l()})).catch((function(){a(),Yc(),h()}))}))}function Hl(){var c="svg-inline--fa",l=O.familyPrefix,h=O.replacementClass,z="svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}";if("fa"!==l||h!==c){var a=new RegExp("\\.".concat("fa","\\-"),"g"),v=new RegExp("\\--".concat("fa","\\-"),"g"),m=new RegExp("\\.".concat(c),"g");z=z.replace(a,".".concat(l,"-")).replace(v,"--".concat(l,"-")).replace(m,".".concat(h))}return z}function nl(){O.autoAddCss&&!Ll&&(vc(Hl()),Ll=!0)}function il(c,l){return Object.defineProperty(c,"abstract",{get:l}),Object.defineProperty(c,"html",{get:function(){return c.abstract.map((function(c){return Nc(c)}))}}),Object.defineProperty(c,"node",{get:function(){if(C){var l=n.createElement("div");return l.innerHTML=c.html,l.children}}}),c}function Vl(c){var l=c.prefix,h=void 0===l?"fa":l,z=c.iconName;if(z)return jc(Cl.definitions,h,z)||jc(E.styles,h,z)}var ol,Cl=new(function(){function c(){!function(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")}(this,c),this.definitions={}}var h,a,v;return h=c,(a=[{key:"add",value:function(){for(var c=this,l=arguments.length,h=new Array(l),a=0;a0&&void 0!==arguments[0]?arguments[0]:{};if(C){nl();var l=c.node,h=void 0===l?n:l,z=c.callback,a=void 0===z?function(){}:z;return O.searchPseudoElements&&rl(h),sl(h,a)}return hc.reject("Operation requires a DOM of some kind.")},css:Hl,insertCss:function(){Ll||(vc(Hl()),Ll=!0)},watch:function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=c.autoReplaceSvgRoot,h=c.observeMutationsRoot;!1===O.autoReplaceSvg&&(O.autoReplaceSvg=!0),O.observeMutations=!0,P((function(){bl({autoReplaceSvgRoot:l}),Uc({treeCallback:sl,nodeCallback:el,pseudoElementsCallback:rl,observeMutationsRoot:h})}))}},dl=(ol=function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.transform,a=void 0===h?ac:h,v=l.symbol,m=void 0!==v&&v,s=l.mask,e=void 0===s?null:s,t=l.maskId,M=void 0===t?null:t,f=l.title,r=void 0===f?null:f,H=l.titleId,n=void 0===H?null:H,i=l.classes,V=void 0===i?[]:i,o=l.attributes,C=void 0===o?{}:o,L=l.styles,u=void 0===L?{}:L;if(c){var d=c.prefix,p=c.iconName,b=c.icon;return il(z({type:"icon"},c),(function(){return nl(),O.autoA11y&&(r?C["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(n||mc()):(C["aria-hidden"]="true",C.focusable="false")),Vc({icons:{main:zl(b),mask:e?zl(e.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:z({},ac,a),symbol:m,title:r,maskId:M,titleId:n,extra:{attributes:C,styles:u,classes:V}})}))}},function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=(c||{}).icon?c:Vl(c||{}),a=l.mask;return a&&(a=(a||{}).icon?a:Vl(a||{})),ol(h,z({},l,{mask:a}))}),pl={noAuto:function(){O.autoReplaceSvg=!1,O.observeMutations=!1,Dc&&Dc.disconnect()},config:O,dom:ul,library:Cl,parse:{transform:function(c){return Xc(c)}},findIconDefinition:Vl,icon:dl,text:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.transform,a=void 0===h?ac:h,m=l.title,s=void 0===m?null:m,e=l.classes,t=void 0===e?[]:e,M=l.attributes,f=void 0===M?{}:M,r=l.styles,H=void 0===r?{}:r;return il({type:"text",content:c},(function(){return nl(),oc({content:c,transform:z({},ac,a),title:s,extra:{attributes:f,styles:H,classes:["".concat(O.familyPrefix,"-layers-text")].concat(v(t))}})}))},counter:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.title,z=void 0===h?null:h,a=l.classes,m=void 0===a?[]:a,s=l.attributes,e=void 0===s?{}:s,t=l.styles,M=void 0===t?{}:t;return il({type:"counter",content:c},(function(){return nl(),Cc({content:c.toString(),title:z,extra:{attributes:e,styles:M,classes:["".concat(O.familyPrefix,"-layers-counter")].concat(v(m))}})}))},layer:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.classes,z=void 0===h?[]:h;return il({type:"layer"},(function(){nl();var l=[];return c((function(c){Array.isArray(c)?c.map((function(c){l=l.concat(c.abstract)})):l=l.concat(c.abstract)})),[{tag:"span",attributes:{class:["".concat(O.familyPrefix,"-layers")].concat(v(z)).join(" ")},children:l}]}))},toHtml:Nc},bl=function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=c.autoReplaceSvgRoot,h=void 0===l?n:l;(Object.keys(E.styles).length>0||O.autoFetchSvg)&&C&&O.autoReplaceSvg&&pl.dom.i2svg({node:h})};!function(c){try{c()}catch(c){if(!d)throw c}}((function(){o&&(H.FontAwesome||(H.FontAwesome=pl),P((function(){bl(),Uc({treeCallback:sl,nodeCallback:el,pseudoElementsCallback:rl})}))),E.hooks=z({},E.hooks,{addPack:function(c,l){E.styles[c]=z({},E.styles[c]||{},l),xc(),bl()},addShims:function(c){var l;(l=E.shims).push.apply(l,v(c)),xc(),bl()}})}))}(); \ No newline at end of file +!function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),function(){try{return!0}catch(c){return!1}}());function s(c,l,h){return l in c?Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[l]=h,c}function e(c){for(var l=1;l2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("fab",f)}))}(),function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),function(){try{return!0}catch(c){return!1}}());function s(c,l,h){return l in c?Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[l]=h,c}function e(c){for(var l=1;l2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("far",f)}))}(),function(){"use strict";var c={},l={};try{"undefined"!=typeof window&&(c=window),"undefined"!=typeof document&&(l=document)}catch(c){}var h=(c.navigator||{}).userAgent,z=void 0===h?"":h,a=c,v=l,m=(a.document,!!v.documentElement&&!!v.head&&"function"==typeof v.addEventListener&&v.createElement,~z.indexOf("MSIE")||z.indexOf("Trident/"),function(){try{return!0}catch(c){return!1}}());function s(c,l,h){return l in c?Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}):c[l]=h,c}function e(c){for(var l=1;l2&&void 0!==arguments[2]?arguments[2]:{},a=z.skipHooks,v=void 0!==a&&a,m=Object.keys(h).reduce((function(c,l){var z=h[l];return!!z.icon?c[z.iconName]=z.icon:c[l]=z,c}),{});"function"!=typeof M.hooks.addPack||v?M.styles[l]=e({},M.styles[l]||{},m):M.hooks.addPack(l,m),"fas"===l&&c("fa",h)}("fas",f)}))}(),function(){"use strict";function c(l){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(c){return typeof c}:function(c){return c&&"function"==typeof Symbol&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(l)}function l(c,l){for(var h=0;h-1;a--){var v=h[a],m=(v.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(m)>-1&&(z=v)}return n.head.insertBefore(l,z),c}}function mc(){for(var c=12,l="";c-- >0;)l+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return l}function sc(c){for(var l=[],h=(c||[]).length>>>0;h--;)l[h]=c[h];return l}function ec(c){return c.classList?sc(c.classList):(c.getAttribute("class")||"").split(" ").filter((function(c){return c}))}function tc(c,l){var h,z=l.split("-"),a=z[0],v=z.slice(1).join("-");return a!==c||""===v||(h=v,~Z.indexOf(h))?null:v}function Mc(c){return"".concat(c).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function fc(c){return Object.keys(c||{}).reduce((function(l,h){return l+"".concat(h,": ").concat(c[h],";")}),"")}function rc(c){return c.size!==ac.size||c.x!==ac.x||c.y!==ac.y||c.rotate!==ac.rotate||c.flipX||c.flipY}function Hc(c){var l=c.transform,h=c.containerWidth,z=c.iconWidth,a={transform:"translate(".concat(h/2," 256)")},v="translate(".concat(32*l.x,", ").concat(32*l.y,") "),m="scale(".concat(l.size/16*(l.flipX?-1:1),", ").concat(l.size/16*(l.flipY?-1:1),") "),s="rotate(".concat(l.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(v," ").concat(m," ").concat(s)},path:{transform:"translate(".concat(z/2*-1," -256)")}}}var nc={x:0,y:0,width:"100%",height:"100%"};function ic(c){var l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return c.attributes&&(c.attributes.fill||l)&&(c.attributes.fill="black"),c}function Vc(c){var l=c.icons,h=l.main,a=l.mask,v=c.prefix,m=c.iconName,s=c.transform,e=c.symbol,t=c.title,M=c.maskId,f=c.titleId,r=c.extra,H=c.watchable,n=void 0!==H&&H,i=a.found?a:h,V=i.width,o=i.height,C="fa-w-".concat(Math.ceil(V/o*16)),L=[O.replacementClass,m?"".concat(O.familyPrefix,"-").concat(m):"",C].filter((function(c){return-1===r.classes.indexOf(c)})).concat(r.classes).join(" "),u={children:[],attributes:z({},r.attributes,{"data-prefix":v,"data-icon":m,class:L,role:r.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(V," ").concat(o)})};n&&(u.attributes["data-fa-i2svg"]=""),t&&u.children.push({tag:"title",attributes:{id:u.attributes["aria-labelledby"]||"title-".concat(f||mc())},children:[t]});var d=z({},u,{prefix:v,iconName:m,main:h,mask:a,maskId:M,transform:s,symbol:e,styles:r.styles}),p=a.found&&h.found?function(c){var l,h=c.children,a=c.attributes,v=c.main,m=c.mask,s=c.maskId,e=c.transform,t=v.width,M=v.icon,f=m.width,r=m.icon,H=Hc({transform:e,containerWidth:f,iconWidth:t}),n={tag:"rect",attributes:z({},nc,{fill:"white"})},i=M.children?{children:M.children.map(ic)}:{},V={tag:"g",attributes:z({},H.inner),children:[ic(z({tag:M.tag,attributes:z({},M.attributes,H.path)},i))]},o={tag:"g",attributes:z({},H.outer),children:[V]},C="mask-".concat(s||mc()),L="clip-".concat(s||mc()),u={tag:"mask",attributes:z({},nc,{id:C,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[n,o]},d={tag:"defs",children:[{tag:"clipPath",attributes:{id:L},children:(l=r,"g"===l.tag?l.children:[l])},u]};return h.push(d,{tag:"rect",attributes:z({fill:"currentColor","clip-path":"url(#".concat(L,")"),mask:"url(#".concat(C,")")},nc)}),{children:h,attributes:a}}(d):function(c){var l=c.children,h=c.attributes,a=c.main,v=c.transform,m=fc(c.styles);if(m.length>0&&(h.style=m),rc(v)){var s=Hc({transform:v,containerWidth:a.width,iconWidth:a.width});l.push({tag:"g",attributes:z({},s.outer),children:[{tag:"g",attributes:z({},s.inner),children:[{tag:a.icon.tag,children:a.icon.children,attributes:z({},a.icon.attributes,s.path)}]}]})}else l.push(a.icon);return{children:l,attributes:h}}(d),b=p.children,A=p.attributes;return d.children=b,d.attributes=A,e?function(c){var l=c.prefix,h=c.iconName,a=c.children,v=c.attributes,m=c.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:z({},v,{id:!0===m?"".concat(l,"-").concat(O.familyPrefix,"-").concat(h):m}),children:a}]}]}(d):function(c){var l=c.children,h=c.main,a=c.mask,v=c.attributes,m=c.styles,s=c.transform;if(rc(s)&&h.found&&!a.found){var e={x:h.width/h.height/2,y:.5};v.style=fc(z({},m,{"transform-origin":"".concat(e.x+s.x/16,"em ").concat(e.y+s.y/16,"em")}))}return[{tag:"svg",attributes:v,children:l}]}(d)}function oc(c){var l=c.content,h=c.width,a=c.height,v=c.transform,m=c.title,s=c.extra,e=c.watchable,t=void 0!==e&&e,M=z({},s.attributes,m?{title:m}:{},{class:s.classes.join(" ")});t&&(M["data-fa-i2svg"]="");var f=z({},s.styles);rc(v)&&(f.transform=function(c){var l=c.transform,h=c.width,z=void 0===h?16:h,a=c.height,v=void 0===a?16:a,m=c.startCentered,s=void 0!==m&&m,e="";return e+=s&&L?"translate(".concat(l.x/zc-z/2,"em, ").concat(l.y/zc-v/2,"em) "):s?"translate(calc(-50% + ".concat(l.x/zc,"em), calc(-50% + ").concat(l.y/zc,"em)) "):"translate(".concat(l.x/zc,"em, ").concat(l.y/zc,"em) "),e+="scale(".concat(l.size/zc*(l.flipX?-1:1),", ").concat(l.size/zc*(l.flipY?-1:1),") "),e+="rotate(".concat(l.rotate,"deg) ")}({transform:v,startCentered:!0,width:h,height:a}),f["-webkit-transform"]=f.transform);var r=fc(f);r.length>0&&(M.style=r);var H=[];return H.push({tag:"span",attributes:M,children:[l]}),m&&H.push({tag:"span",attributes:{class:"sr-only"},children:[m]}),H}function Cc(c){var l=c.content,h=c.title,a=c.extra,v=z({},a.attributes,h?{title:h}:{},{class:a.classes.join(" ")}),m=fc(a.styles);m.length>0&&(v.style=m);var s=[];return s.push({tag:"span",attributes:v,children:[l]}),h&&s.push({tag:"span",attributes:{class:"sr-only"},children:[h]}),s}var Lc=function(){},uc=O.measurePerformance&&V&&V.mark&&V.measure?V:{mark:Lc,measure:Lc},dc='FA "5.13.1"',pc=function(c){uc.mark("".concat(dc," ").concat(c," ends")),uc.measure("".concat(dc," ").concat(c),"".concat(dc," ").concat(c," begins"),"".concat(dc," ").concat(c," ends"))},bc=function(c){return uc.mark("".concat(dc," ").concat(c," begins")),function(){return pc(c)}},Ac=function(c,l,h,z){var a,v,m,s=Object.keys(c),e=s.length,t=void 0!==z?function(c,l){return function(h,z,a,v){return c.call(l,h,z,a,v)}}(l,z):l;for(void 0===h?(a=1,m=c[s[0]]):(a=0,m=h);a2&&void 0!==arguments[2]?arguments[2]:{},a=h.skipHooks,v=void 0!==a&&a,m=Object.keys(l).reduce((function(c,h){var z=l[h];return!!z.icon?c[z.iconName]=z.icon:c[h]=z,c}),{});"function"!=typeof E.hooks.addPack||v?E.styles[c]=z({},E.styles[c]||{},m):E.hooks.addPack(c,m),"fas"===c&&Sc("fa",l)}var yc=E.styles,wc=E.shims,kc={},Zc={},_c={},xc=function(){var c=function(c){return Ac(yc,(function(l,h,z){return l[z]=Ac(h,c,{}),l}),{})};kc=c((function(c,l,h){return l[3]&&(c[l[3]]=h),c})),Zc=c((function(c,l,h){var z=l[2];return c[h]=h,z.forEach((function(l){c[l]=h})),c}));var l="far"in yc;_c=Ac(wc,(function(c,h){var z=h[0],a=h[1],v=h[2];return"far"!==a||l||(a="fas"),c[z]={prefix:a,iconName:v},c}),{})};function Oc(c,l){return(kc[c]||{})[l]}xc();var qc=E.styles;function Ec(c){return c.reduce((function(c,l){var h=tc(O.familyPrefix,l);if(qc[l])c.prefix=l;else if(O.autoFetchSvg&&["fas","far","fal","fad","fab","fa"].indexOf(l)>-1)c.prefix=l;else if(h){var z="fa"===c.prefix?_c[h]||{prefix:null,iconName:null}:{};c.iconName=z.iconName||h,c.prefix=z.prefix||c.prefix}else l!==O.replacementClass&&0!==l.indexOf("fa-w-")&&c.rest.push(l);return c}),{prefix:null,iconName:null,rest:[]})}function jc(c,l,h){if(c&&c[l]&&c[l][h])return{prefix:l,iconName:h,icon:c[l][h]}}function Nc(c){var l=c.tag,h=c.attributes,z=void 0===h?{}:h,a=c.children,v=void 0===a?[]:a;return"string"==typeof c?Mc(c):"<".concat(l," ").concat(function(c){return Object.keys(c||{}).reduce((function(l,h){return l+"".concat(h,'="').concat(Mc(c[h]),'" ')}),"").trim()}(z),">").concat(v.map(Nc).join(""),"")}var Pc=function(){};function Tc(c){return"string"==typeof(c.getAttribute?c.getAttribute("data-fa-i2svg"):null)}var Fc={replace:function(c){var l=c[0],h=c[1].map((function(c){return Nc(c)})).join("\n");if(l.parentNode&&l.outerHTML)l.outerHTML=h+(O.keepOriginalSource&&"svg"!==l.tagName.toLowerCase()?"\x3c!-- ".concat(l.outerHTML," --\x3e"):"");else if(l.parentNode){var z=document.createElement("span");l.parentNode.replaceChild(z,l),z.outerHTML=h}},nest:function(c){var l=c[0],h=c[1];if(~ec(l).indexOf(O.replacementClass))return Fc.replace(c);var z=new RegExp("".concat(O.familyPrefix,"-.*"));delete h[0].attributes.style,delete h[0].attributes.id;var a=h[0].attributes.class.split(" ").reduce((function(c,l){return l===O.replacementClass||l.match(z)?c.toSvg.push(l):c.toNode.push(l),c}),{toNode:[],toSvg:[]});h[0].attributes.class=a.toSvg.join(" ");var v=h.map((function(c){return Nc(c)})).join("\n");l.setAttribute("class",a.toNode.join(" ")),l.setAttribute("data-fa-i2svg",""),l.innerHTML=v}};function Wc(c){c()}function Ic(c,l){var h="function"==typeof l?l:Pc;if(0===c.length)h();else{var z=Wc;"async"===O.mutateApproach&&(z=H.requestAnimationFrame||Wc),z((function(){var l=!0===O.autoReplaceSvg?Fc.replace:Fc[O.autoReplaceSvg]||Fc.replace,z=bc("mutate");c.map(l),z(),h()}))}}var Rc=!1;function Yc(){Rc=!1}var Dc=null;function Uc(c){if(i&&O.observeMutations){var l=c.treeCallback,h=c.nodeCallback,z=c.pseudoElementsCallback,a=c.observeMutationsRoot,v=void 0===a?n:a;Dc=new i((function(c){Rc||sc(c).forEach((function(c){if("childList"===c.type&&c.addedNodes.length>0&&!Tc(c.addedNodes[0])&&(O.searchPseudoElements&&z(c.target),l(c.target)),"attributes"===c.type&&c.target.parentNode&&O.searchPseudoElements&&z(c.target.parentNode),"attributes"===c.type&&Tc(c.target)&&~w.indexOf(c.attributeName))if("class"===c.attributeName){var a=Ec(ec(c.target)),v=a.prefix,m=a.iconName;v&&c.target.setAttribute("data-prefix",v),m&&c.target.setAttribute("data-icon",m)}else h(c.target)}))})),C&&Dc.observe(v,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Qc(c){var l,h,z=c.getAttribute("data-prefix"),a=c.getAttribute("data-icon"),v=void 0!==c.innerText?c.innerText.trim():"",m=Ec(ec(c));return z&&a&&(m.prefix=z,m.iconName=a),m.prefix&&v.length>1?m.iconName=(l=m.prefix,h=c.innerText,(Zc[l]||{})[h]):m.prefix&&1===v.length&&(m.iconName=Oc(m.prefix,gc(c.innerText))),m}var Xc=function(c){var l={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return c?c.toLowerCase().split(" ").reduce((function(c,l){var h=l.toLowerCase().split("-"),z=h[0],a=h.slice(1).join("-");if(z&&"h"===a)return c.flipX=!0,c;if(z&&"v"===a)return c.flipY=!0,c;if(a=parseFloat(a),isNaN(a))return c;switch(z){case"grow":c.size=c.size+a;break;case"shrink":c.size=c.size-a;break;case"left":c.x=c.x-a;break;case"right":c.x=c.x+a;break;case"up":c.y=c.y-a;break;case"down":c.y=c.y+a;break;case"rotate":c.rotate=c.rotate+a}return c}),l):l};function Bc(c){var l=Qc(c),h=l.iconName,z=l.prefix,a=l.rest,v=function(c){var l=c.getAttribute("style"),h=[];return l&&(h=l.split(";").reduce((function(c,l){var h=l.split(":"),z=h[0],a=h.slice(1);return z&&a.length>0&&(c[z]=a.join(":").trim()),c}),{})),h}(c),m=function(c){return Xc(c.getAttribute("data-fa-transform"))}(c),s=function(c){var l=c.getAttribute("data-fa-symbol");return null!==l&&(""===l||l)}(c),e=function(c){var l=sc(c.attributes).reduce((function(c,l){return"class"!==c.name&&"style"!==c.name&&(c[l.name]=l.value),c}),{}),h=c.getAttribute("title"),z=c.getAttribute("data-fa-title-id");return O.autoA11y&&(h?l["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(z||mc()):(l["aria-hidden"]="true",l.focusable="false")),l}(c),t=function(c){var l=c.getAttribute("data-fa-mask");return l?Ec(l.split(" ").map((function(c){return c.trim()}))):{prefix:null,iconName:null,rest:[]}}(c);return{iconName:h,title:c.getAttribute("title"),titleId:c.getAttribute("data-fa-title-id"),prefix:z,transform:m,symbol:s,mask:t,maskId:c.getAttribute("data-fa-mask-id"),extra:{classes:a,styles:v,attributes:e}}}function Kc(c){this.name="MissingIcon",this.message=c||"Icon unavailable",this.stack=(new Error).stack}Kc.prototype=Object.create(Error.prototype),Kc.prototype.constructor=Kc;var Gc={fill:"currentColor"},Jc={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},$c={tag:"path",attributes:z({},Gc,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},cl=z({},Jc,{attributeName:"opacity"}),ll={tag:"g",children:[$c,{tag:"circle",attributes:z({},Gc,{cx:"256",cy:"364",r:"28"}),children:[{tag:"animate",attributes:z({},Jc,{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:z({},cl,{values:"1;0;1;1;0;1;"})}]},{tag:"path",attributes:z({},Gc,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:[{tag:"animate",attributes:z({},cl,{values:"1;0;0;0;0;1;"})}]},{tag:"path",attributes:z({},Gc,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:z({},cl,{values:"0;0;1;1;0;0;"})}]}]},hl=E.styles;function zl(c){var l=c[0],h=c[1],z=a(c.slice(4),1)[0];return{found:!0,width:l,height:h,icon:Array.isArray(z)?{tag:"g",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.GROUP)},children:[{tag:"path",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.SECONDARY),fill:"currentColor",d:z[0]}},{tag:"path",attributes:{class:"".concat(O.familyPrefix,"-").concat(k.PRIMARY),fill:"currentColor",d:z[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:z}}}}function al(l,h){return new hc((function(z,a){var v={found:!1,width:512,height:512,icon:ll};if(l&&h&&hl[h]&&hl[h][l])return z(zl(hl[h][l]));"object"===c(H.FontAwesomeKitConfig)&&"string"==typeof window.FontAwesomeKitConfig.token&&H.FontAwesomeKitConfig.token,l&&h&&!O.showMissingIcons?a(new Kc("Icon is missing for prefix ".concat(h," with icon name ").concat(l))):z(v)}))}var vl=E.styles;function ml(c){var l=Bc(c);return~l.extra.classes.indexOf("fa-layers-text")?function(c,l){var h=l.title,z=l.transform,a=l.extra,v=null,m=null;if(L){var s=parseInt(getComputedStyle(c).fontSize,10),e=c.getBoundingClientRect();v=e.width/s,m=e.height/s}return O.autoA11y&&!h&&(a.attributes["aria-hidden"]="true"),hc.resolve([c,oc({content:c.innerHTML,width:v,height:m,transform:z,title:h,extra:a,watchable:!0})])}(c,l):function(c,l){var h=l.iconName,z=l.title,v=l.titleId,m=l.prefix,s=l.transform,e=l.symbol,t=l.mask,M=l.maskId,f=l.extra;return new hc((function(l,r){hc.all([al(h,m),al(t.iconName,t.prefix)]).then((function(t){var r=a(t,2),H=r[0],n=r[1];l([c,Vc({icons:{main:H,mask:n},prefix:m,iconName:h,transform:s,symbol:e,mask:n,maskId:M,title:z,titleId:v,extra:f,watchable:!0})])}))}))}(c,l)}function sl(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(C){var h=n.documentElement.classList,z=function(c){return h.add("".concat("fontawesome-i2svg","-").concat(c))},a=function(c){return h.remove("".concat("fontawesome-i2svg","-").concat(c))},v=O.autoFetchSvg?Object.keys(p):Object.keys(vl),m=[".".concat("fa-layers-text",":not([").concat("data-fa-i2svg","])")].concat(v.map((function(c){return".".concat(c,":not([").concat("data-fa-i2svg","])")}))).join(", ");if(0!==m.length){var s=[];try{s=sc(c.querySelectorAll(m))}catch(c){}if(s.length>0){z("pending"),a("complete");var e=bc("onTree"),t=s.reduce((function(c,l){try{var h=ml(l);h&&c.push(h)}catch(c){d||c instanceof Kc&&console.error(c)}return c}),[]);return new hc((function(c,h){hc.all(t).then((function(h){Ic(h,(function(){z("active"),z("complete"),a("pending"),"function"==typeof l&&l(),e(),c()}))})).catch((function(){e(),h()}))}))}}}}function el(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ml(c).then((function(c){c&&Ic([c],l)}))}function tl(c,l){var h="".concat("data-fa-pseudo-element-pending").concat(l.replace(":","-"));return new hc((function(a,v){if(null!==c.getAttribute(h))return a();var m=sc(c.children).filter((function(c){return c.getAttribute("data-fa-pseudo-element")===l}))[0],s=H.getComputedStyle(c,l),e=s.getPropertyValue("font-family").match(A),t=s.getPropertyValue("font-weight"),M=s.getPropertyValue("content");if(m&&!e)return c.removeChild(m),a();if(e&&"none"!==M&&""!==M){var f=~["Solid","Regular","Light","Duotone","Brands"].indexOf(e[1])?b[e[1].toLowerCase()]:g[t],r=gc(3===M.length?M.substr(1,1):M),i=Oc(f,r),V=i;if(!i||m&&m.getAttribute("data-prefix")===f&&m.getAttribute("data-icon")===V)a();else{c.setAttribute(h,V),m&&c.removeChild(m);var o={iconName:null,title:null,titleId:null,prefix:null,transform:ac,symbol:!1,mask:null,maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=o.extra;C.attributes["data-fa-pseudo-element"]=l,al(i,f).then((function(v){var m=Vc(z({},o,{icons:{main:v,mask:{prefix:null,iconName:null,rest:[]}},prefix:f,iconName:V,extra:C,watchable:!0})),s=n.createElement("svg");":before"===l?c.insertBefore(s,c.firstChild):c.appendChild(s),s.outerHTML=m.map((function(c){return Nc(c)})).join("\n"),c.removeAttribute(h),a()})).catch(v)}}else a()}))}function Ml(c){return hc.all([tl(c,":before"),tl(c,":after")])}function fl(c){return!(c.parentNode===document.head||~u.indexOf(c.tagName.toUpperCase())||c.getAttribute("data-fa-pseudo-element")||c.parentNode&&"svg"===c.parentNode.tagName)}function rl(c){if(C)return new hc((function(l,h){var z=sc(c.querySelectorAll("*")).filter(fl).map(Ml),a=bc("searchPseudoElements");Rc=!0,hc.all(z).then((function(){a(),Yc(),l()})).catch((function(){a(),Yc(),h()}))}))}function Hl(){var c="svg-inline--fa",l=O.familyPrefix,h=O.replacementClass,z="svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}";if("fa"!==l||h!==c){var a=new RegExp("\\.".concat("fa","\\-"),"g"),v=new RegExp("\\--".concat("fa","\\-"),"g"),m=new RegExp("\\.".concat(c),"g");z=z.replace(a,".".concat(l,"-")).replace(v,"--".concat(l,"-")).replace(m,".".concat(h))}return z}function nl(){O.autoAddCss&&!Ll&&(vc(Hl()),Ll=!0)}function il(c,l){return Object.defineProperty(c,"abstract",{get:l}),Object.defineProperty(c,"html",{get:function(){return c.abstract.map((function(c){return Nc(c)}))}}),Object.defineProperty(c,"node",{get:function(){if(C){var l=n.createElement("div");return l.innerHTML=c.html,l.children}}}),c}function Vl(c){var l=c.prefix,h=void 0===l?"fa":l,z=c.iconName;if(z)return jc(Cl.definitions,h,z)||jc(E.styles,h,z)}var ol,Cl=new(function(){function c(){!function(c,l){if(!(c instanceof l))throw new TypeError("Cannot call a class as a function")}(this,c),this.definitions={}}var h,a,v;return h=c,(a=[{key:"add",value:function(){for(var c=this,l=arguments.length,h=new Array(l),a=0;a0&&void 0!==arguments[0]?arguments[0]:{};if(C){nl();var l=c.node,h=void 0===l?n:l,z=c.callback,a=void 0===z?function(){}:z;return O.searchPseudoElements&&rl(h),sl(h,a)}return hc.reject("Operation requires a DOM of some kind.")},css:Hl,insertCss:function(){Ll||(vc(Hl()),Ll=!0)},watch:function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=c.autoReplaceSvgRoot,h=c.observeMutationsRoot;!1===O.autoReplaceSvg&&(O.autoReplaceSvg=!0),O.observeMutations=!0,P((function(){bl({autoReplaceSvgRoot:l}),Uc({treeCallback:sl,nodeCallback:el,pseudoElementsCallback:rl,observeMutationsRoot:h})}))}},dl=(ol=function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.transform,a=void 0===h?ac:h,v=l.symbol,m=void 0!==v&&v,s=l.mask,e=void 0===s?null:s,t=l.maskId,M=void 0===t?null:t,f=l.title,r=void 0===f?null:f,H=l.titleId,n=void 0===H?null:H,i=l.classes,V=void 0===i?[]:i,o=l.attributes,C=void 0===o?{}:o,L=l.styles,u=void 0===L?{}:L;if(c){var d=c.prefix,p=c.iconName,b=c.icon;return il(z({type:"icon"},c),(function(){return nl(),O.autoA11y&&(r?C["aria-labelledby"]="".concat(O.replacementClass,"-title-").concat(n||mc()):(C["aria-hidden"]="true",C.focusable="false")),Vc({icons:{main:zl(b),mask:e?zl(e.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:z({},ac,a),symbol:m,title:r,maskId:M,titleId:n,extra:{attributes:C,styles:u,classes:V}})}))}},function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=(c||{}).icon?c:Vl(c||{}),a=l.mask;return a&&(a=(a||{}).icon?a:Vl(a||{})),ol(h,z({},l,{mask:a}))}),pl={noAuto:function(){O.autoReplaceSvg=!1,O.observeMutations=!1,Dc&&Dc.disconnect()},config:O,dom:ul,library:Cl,parse:{transform:function(c){return Xc(c)}},findIconDefinition:Vl,icon:dl,text:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.transform,a=void 0===h?ac:h,m=l.title,s=void 0===m?null:m,e=l.classes,t=void 0===e?[]:e,M=l.attributes,f=void 0===M?{}:M,r=l.styles,H=void 0===r?{}:r;return il({type:"text",content:c},(function(){return nl(),oc({content:c,transform:z({},ac,a),title:s,extra:{attributes:f,styles:H,classes:["".concat(O.familyPrefix,"-layers-text")].concat(v(t))}})}))},counter:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.title,z=void 0===h?null:h,a=l.classes,m=void 0===a?[]:a,s=l.attributes,e=void 0===s?{}:s,t=l.styles,M=void 0===t?{}:t;return il({type:"counter",content:c},(function(){return nl(),Cc({content:c.toString(),title:z,extra:{attributes:e,styles:M,classes:["".concat(O.familyPrefix,"-layers-counter")].concat(v(m))}})}))},layer:function(c){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},h=l.classes,z=void 0===h?[]:h;return il({type:"layer"},(function(){nl();var l=[];return c((function(c){Array.isArray(c)?c.map((function(c){l=l.concat(c.abstract)})):l=l.concat(c.abstract)})),[{tag:"span",attributes:{class:["".concat(O.familyPrefix,"-layers")].concat(v(z)).join(" ")},children:l}]}))},toHtml:Nc},bl=function(){var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=c.autoReplaceSvgRoot,h=void 0===l?n:l;(Object.keys(E.styles).length>0||O.autoFetchSvg)&&C&&O.autoReplaceSvg&&pl.dom.i2svg({node:h})};!function(c){try{c()}catch(c){if(!d)throw c}}((function(){o&&(H.FontAwesome||(H.FontAwesome=pl),P((function(){bl(),Uc({treeCallback:sl,nodeCallback:el,pseudoElementsCallback:rl})}))),E.hooks=z({},E.hooks,{addPack:function(c,l){E.styles[c]=z({},E.styles[c]||{},l),xc(),bl()},addShims:function(c){var l;(l=E.shims).push.apply(l,v(c)),xc(),bl()}})}))}(); \ No newline at end of file diff --git a/RIGS/static/js/bootstrap-select.js b/RIGS/static/js/bootstrap-select.js index d3c8902c..7a829ad1 100644 --- a/RIGS/static/js/bootstrap-select.js +++ b/RIGS/static/js/bootstrap-select.js @@ -4,4 +4,4 @@ * Copyright 2012-2020 SnapAppointments, LLC * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) */ -!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e)})):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,(function(e){!function(e){"use strict";var t=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],s={"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function l(t,s){var l=t.nodeName.toLowerCase();if(-1!==e.inArray(l,s))return-1===e.inArray(l,i)||Boolean(t.nodeValue.match(n)||t.nodeValue.match(o));for(var r=e(s).filter((function(e,t){return t instanceof RegExp})),a=0,c=r.length;a1?arguments[1]:void 0,l=o?Number(o):0;l!=l&&(l=0);var r=Math.min(Math.max(l,0),i);if(n+r>i)return!1;for(var a=-1;++a]+>/g,"")),s&&(a=E(a)),a=a.toUpperCase(),o="contains"===i?a.indexOf(t)>=0:a.startsWith(t)))break}return o}function x(e){return parseInt(e,10)||0}e.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent?(w?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=e,i.fireEvent("on"+e,t)):this.trigger(e)};var k={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},y=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function S(e){return k[e]}function E(e){return(e=e.toString())&&e.replace(y,S).replace($,"")}var C,O,z,T,N,A=(C={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},O=function(e){return C[e]},z="(?:"+Object.keys(C).join("|")+")",T=RegExp(z),N=RegExp(z,"g"),function(e){return e=null==e?"":""+e,T.test(e)?e.replace(N,O):e}),L={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},D=27,H=13,P=32,W=9,B=38,R=40,M={success:!1,major:"3"};try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),M.major=M.full[0],M.success=!0}catch(e){}var U=0,j=".bs.select",V={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},F={MENU:"."+V.MENU},_={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};_.noResults=_.li.cloneNode(!1),_.noResults.className="no-results",_.a.setAttribute("role","option"),_.a.className="dropdown-item",_.subtext.className="text-muted",_.text=_.span.cloneNode(!1),_.text.className="text",_.checkMark=_.span.cloneNode(!1);var G=new RegExp(B+"|"+R),q=new RegExp("^"+W+"$|"+D),K={li:function(e,t,i){var s=_.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?s.appendChild(e):s.innerHTML=e),void 0!==t&&""!==t&&(s.className=t),null!=i&&s.classList.add("optgroup-"+i),s},a:function(e,t,i){var s=_.a.cloneNode(!0);return e&&(11===e.nodeType?s.appendChild(e):s.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&s.classList.add.apply(s.classList,t.split(/\s+/)),i&&s.setAttribute("style",i),s},text:function(e,t){var i,s,n=_.text.cloneNode(!1);if(e.content)n.innerHTML=e.content;else{if(n.textContent=e.text,e.icon){var o=_.whitespace.cloneNode(!1);(s=(!0===t?_.i:_.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,_.fragment.appendChild(s),_.fragment.appendChild(o)}e.subtext&&((i=_.subtext.cloneNode(!1)).textContent=e.subtext,n.appendChild(i))}if(!0===t)for(;n.childNodes.length>0;)_.fragment.appendChild(n.childNodes[0]);else _.fragment.appendChild(n);return _.fragment},label:function(e){var t,i,s=_.text.cloneNode(!1);if(s.innerHTML=e.display,e.icon){var n=_.whitespace.cloneNode(!1);(i=_.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,_.fragment.appendChild(i),_.fragment.appendChild(n)}return e.subtext&&((t=_.subtext.cloneNode(!1)).textContent=e.subtext,s.appendChild(t)),_.fragment.appendChild(s),_.fragment}};function Y(e,t){e.length||(_.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+A(t)+'"'),this.$menuInner[0].firstChild.appendChild(_.noResults))}var Z=function(t,i){var s=this;g.useDefault||(e.valHooks.select.set=g._set,g.useDefault=!0),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout((function(){s.selectpicker.keydown.keyHistory=""}),800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title"));var n=this.options.windowPadding;"number"==typeof n&&(this.options.windowPadding=[n,n,n,n]),this.val=Z.prototype.val,this.render=Z.prototype.render,this.refresh=Z.prototype.refresh,this.setStyle=Z.prototype.setStyle,this.selectAll=Z.prototype.selectAll,this.deselectAll=Z.prototype.deselectAll,this.destroy=Z.prototype.destroy,this.remove=Z.prototype.remove,this.show=Z.prototype.show,this.hide=Z.prototype.hide,this.init()};function J(i){var s,n=arguments,o=i;if([].shift.apply(n),!M.success){try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){Z.BootstrapVersion?M.full=Z.BootstrapVersion.split(" ")[0].split("."):(M.full=[M.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}M.major=M.full[0],M.success=!0}if("4"===M.major){var l=[];Z.DEFAULTS.style===V.BUTTONCLASS&&l.push({name:"style",className:"BUTTONCLASS"}),Z.DEFAULTS.iconBase===V.ICONBASE&&l.push({name:"iconBase",className:"ICONBASE"}),Z.DEFAULTS.tickIcon===V.TICKICON&&l.push({name:"tickIcon",className:"TICKICON"}),V.DIVIDER="dropdown-divider",V.SHOW="show",V.BUTTONCLASS="btn-light",V.POPOVERHEADER="popover-header",V.ICONBASE="",V.TICKICON="bs-ok-default";for(var r=0;r'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:s},Z.prototype={constructor:Z,init:function(){var e=this,t=this.$element.attr("id");U++,this.selectId="bs-select-"+U,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(F.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(V.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide"+j,(function(){if(e.isVirtual()){var t=e.$menuInner[0],i=t.firstChild.cloneNode(!1);t.replaceChild(i,t.firstChild),t.scrollTop=0}})),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){e.$element.trigger("hide"+j,t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden"+j,t)},"show.bs.dropdown":function(t){e.$element.trigger("show"+j,t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown"+j,t)}}),e.$element[0].hasAttribute("required")&&this.$element.on("invalid"+j,(function(){e.$button[0].classList.add("bs-invalid"),e.$element.on("shown"+j+".invalid",(function(){e.$element.val(e.$element.val()).off("shown"+j+".invalid")})).on("rendered"+j,(function(){this.validity.valid&&e.$button[0].classList.remove("bs-invalid"),e.$element.off("rendered"+j)})),e.$button.on("blur"+j,(function(){e.$element.trigger("focus").trigger("blur"),e.$button.off("blur"+j)}))})),setTimeout((function(){e.buildList(),e.$element.trigger("loaded"+j)}))},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",i=this.multiple?' aria-multiselectable="true"':"",s="",n=this.autofocus?" autofocus":"";M.major<4&&this.$element.parent().hasClass("input-group")&&(s=" input-group-btn");var o,l="",r="",a="",c="";return this.options.header&&(l='
'+this.options.header+"
"),this.options.liveSearch&&(r=''),this.multiple&&this.options.actionsBox&&(a='
"),this.multiple&&this.options.doneButton&&(c='
"),o='",e(o)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0;for(var e=0;e=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(t,i,s){var n,o,l=this,a=0,c=[];if(this.selectpicker.isSearching=t,this.selectpicker.current=t?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),i)if(s)a=this.$menuInner[0].scrollTop;else if(!l.multiple){var d=l.$element[0],h=(d.options[d.selectedIndex]||{}).liIndex;if("number"==typeof h&&!1!==l.options.size){var p=l.selectpicker.main.data[h],u=p&&p.position;u&&(a=u-(l.sizeInfo.menuInnerHeight+l.sizeInfo.liHeight)/2)}}function f(e,i){var s,a,d,h,p,u,f,m,v,g,b=l.selectpicker.current.elements.length,w=[],I=!0,x=l.isVirtual();l.selectpicker.view.scrollTop=e,s=Math.ceil(l.sizeInfo.menuInnerHeight/l.sizeInfo.liHeight*1.5),a=Math.round(b/s)||1;for(var k=0;kb-1?0:l.selectpicker.current.data[b-1].position-l.selectpicker.current.data[l.selectpicker.view.position1-1].position,E.firstChild.style.marginTop=$+"px",E.firstChild.style.marginBottom=S+"px"):(E.firstChild.style.marginTop=0,E.firstChild.style.marginBottom=0),E.firstChild.appendChild(C),!0===x&&l.sizeInfo.hasScrollBar){var H=E.firstChild.offsetWidth;if(i&&Hl.sizeInfo.selectWidth)E.firstChild.style.minWidth=l.sizeInfo.menuInnerInnerWidth+"px";else if(H>l.sizeInfo.menuInnerInnerWidth){l.$menu[0].style.minWidth=0;var P=E.firstChild.offsetWidth;P>l.sizeInfo.menuInnerInnerWidth&&(l.sizeInfo.menuInnerInnerWidth=P,E.firstChild.style.minWidth=l.sizeInfo.menuInnerInnerWidth+"px"),l.$menu[0].style.minWidth=""}}}if(l.prevActiveIndex=l.activeIndex,l.options.liveSearch){if(t&&i){var W,B=0;l.selectpicker.view.canHighlight[B]||(B=1+l.selectpicker.view.canHighlight.slice(1).indexOf(!0)),W=l.selectpicker.view.visibleElements[B],l.defocusItem(l.selectpicker.view.currentActive),l.activeIndex=(l.selectpicker.current.data[B]||{}).index,l.focusItem(W)}}else l.$menuInner.trigger("focus")}f(a,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",(function(e,t){l.noScroll||f(this.scrollTop,t),l.noScroll=!1})),e(window).off("resize"+j+"."+this.selectId+".createView").on("resize"+j+"."+this.selectId+".createView",(function(){l.$newElement.hasClass(V.SHOW)&&f(l.$menuInner[0].scrollTop)}))},focusItem:function(e,t,i){if(e){t=t||this.selectpicker.main.data[this.activeIndex];var s=e.firstChild;s&&(s.setAttribute("aria-setsize",this.selectpicker.view.size),s.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",s.id),e.classList.add("active"),s.classList.add("active")))}},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=this,t=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var i=this.$element[0],s=!1,n=!this.selectpicker.view.titleOption.parentNode,o=i.selectedIndex,l=i.options[o],r=window.performance&&window.performance.getEntriesByType("navigation");n&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",s=!l||0===o&&!1===l.defaultSelected&&void 0===this.$element.data("selected")),(n||0!==this.selectpicker.view.titleOption.index)&&i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),s&&r.length&&"back_forward"!==r[0].type?i.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",(function(){e.selectpicker.view.displayedValue!==i.value&&e.render()}))}return t},buildData:function(){var e=':not([hidden]):not([data-hidden="true"])',t=[],i=0,s=this.setPlaceholder()?1:0;this.options.hideDisabled&&(e+=":not(:disabled)");var n=this.$element[0].querySelectorAll("select > *"+e);function o(e){var i=t[t.length-1];i&&"divider"===i.type&&(i.optID||e.optID)||((e=e||{}).type="divider",t.push(e))}function l(e,i){if((i=i||{}).divider="true"===e.getAttribute("data-divider"),i.divider)o({optID:i.optID});else{var s=t.length,n=e.style.cssText,l=n?A(n):"",r=(e.className||"")+(i.optgroupClass||"");i.optID&&(r="opt "+r),i.optionClass=r.trim(),i.inlineStyle=l,i.text=e.textContent,i.content=e.getAttribute("data-content"),i.tokens=e.getAttribute("data-tokens"),i.subtext=e.getAttribute("data-subtext"),i.icon=e.getAttribute("data-icon"),e.liIndex=s,i.display=i.content||i.text,i.type="option",i.index=s,i.option=e,i.selected=!!e.selected,i.disabled=i.disabled||!!e.disabled,t.push(i)}}function r(n,r){var a=r[n],c=!(n-1s&&(s=o,e.selectpicker.view.widestOption=i[i.length-1])}!e.options.showTick&&!e.multiple||_.checkMark.parentNode||(_.checkMark.className=this.options.iconBase+" "+e.options.tickIcon+" check-mark",_.a.appendChild(_.checkMark));for(var o=t.length,l=0;l li")},render:function(){var e,t,i=this.$element[0],s=this.setPlaceholder()&&0===i.selectedIndex,n=m(i,this.options.hideDisabled),o=n.length,l=this.$button[0],a=l.querySelector(".filter-option-inner-inner"),c=document.createTextNode(this.options.multipleSeparator),d=_.fragment.cloneNode(!1),h=!1;if(l.classList.toggle("bs-placeholder",this.multiple?!o:!v(i,n)),this.multiple||1!==n.length||(this.selectpicker.view.displayedValue=v(i,n)),"static"===this.options.selectedTextFormat)d=K.text.call(this,{text:this.options.title},!0);else if((e=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&o>1)&&(e=(t=this.options.selectedTextFormat.split(">")).length>1&&o>t[1]||1===t.length&&o>=2),!1===e){if(!s){for(var p=0;p0&&d.appendChild(c.cloneNode(!1)),u.title?g.text=u.title:f&&(f.content&&this.options.showContent?(g.content=f.content.toString(),h=!0):(this.options.showIcon&&(g.icon=f.icon),this.options.showSubtext&&!this.multiple&&f.subtext&&(g.subtext=" "+f.subtext),g.text=u.textContent.trim())),d.appendChild(K.text.call(this,g,!0))}o>49&&d.appendChild(document.createTextNode("..."))}}else{var b=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(b+=":not(:disabled)");var w=this.$element[0].querySelectorAll("select > option"+b+", optgroup"+b+" option"+b).length,I="function"==typeof this.options.countSelectedText?this.options.countSelectedText(o,w):this.options.countSelectedText;d=K.text.call(this,{text:I.replace("{0}",o.toString()).replace("{1}",w.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),d.childNodes.length||(d=K.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),l.title=d.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&h&&r([d],this.options.whiteList,this.options.sanitizeFn),a.innerHTML="",a.appendChild(d),M.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var x=l.querySelector(".filter-expand"),k=a.cloneNode(!0);k.className="filter-expand",x?l.replaceChild(k,x):l.appendChild(k)}this.$element.trigger("rendered"+j)},setStyle:function(e,t){var i,s=this.$button[0],n=this.$newElement[0],o=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),M.major<4&&(n.classList.add("bs3"),n.parentNode.classList&&n.parentNode.classList.contains("input-group")&&(n.previousElementSibling||n.nextElementSibling)&&(n.previousElementSibling||n.nextElementSibling).classList.contains("input-group-addon")&&n.classList.add("bs3-has-addon")),i=e?e.trim():o,"add"==t?i&&s.classList.add.apply(s.classList,i.split(" ")):"remove"==t?i&&s.classList.remove.apply(s.classList,i.split(" ")):(o&&s.classList.remove.apply(s.classList,o.split(" ")),i&&s.classList.add.apply(s.classList,i.split(" ")))},liHeight:function(t){if(t||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var i,s=_.div.cloneNode(!1),n=_.div.cloneNode(!1),o=_.div.cloneNode(!1),l=document.createElement("ul"),r=_.li.cloneNode(!1),a=_.li.cloneNode(!1),c=_.a.cloneNode(!1),d=_.span.cloneNode(!1),h=this.options.header&&this.$menu.find("."+V.POPOVERHEADER).length>0?this.$menu.find("."+V.POPOVERHEADER)[0].cloneNode(!0):null,p=this.options.liveSearch?_.div.cloneNode(!1):null,u=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,f=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(m?m.className:""),s.className=this.$menu[0].parentNode.className+" "+V.SHOW,s.style.width=0,"auto"===this.options.width&&(n.style.minWidth=0),n.className=V.MENU+" "+V.SHOW,o.className="inner "+V.SHOW,l.className=V.MENU+" inner "+("4"===M.major?V.SHOW:""),r.className=V.DIVIDER,a.className="dropdown-header",d.appendChild(document.createTextNode("​")),this.selectpicker.current.data.length)for(var v=0;vthis.sizeInfo.menuExtras.vert&&r+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(a=this.selectpicker.dropup),this.$newElement.toggleClass(V.DROPUP,a),this.selectpicker.dropup=a),"auto"===this.options.size)n=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,s=n+h+p+u+f,l=Math.max(n-v.vert,0),this.$newElement.hasClass(V.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),o=i,t=i-h-p-u-f-v.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var b=0;bthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(V.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.options.size&&s.off("resize"+j+"."+this.selectId+".setMenuSize scroll"+j+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,t)},setWidth:function(){var e=this;"auto"===this.options.width?requestAnimationFrame((function(){e.$menu.css("min-width","0"),e.$element.on("loaded"+j,(function(){e.liHeight(),e.setMenuSize();var t=e.$newElement.clone().appendTo("body"),i=t.css("width","auto").children("button").outerWidth();t.remove(),e.sizeInfo.selectWidth=Math.max(e.sizeInfo.totalMenuWidth,i),e.$newElement.css("width",e.sizeInfo.selectWidth+"px")}))})):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=e('
');var t,i,s,n=this,o=e(this.options.container),l=function(l){var r={},a=n.options.display||!!e.fn.dropdown.Constructor.Default&&e.fn.dropdown.Constructor.Default.display;n.$bsContainer.addClass(l.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(V.DROPUP,l.hasClass(V.DROPUP)),t=l.offset(),o.is("body")?i={top:0,left:0}:((i=o.offset()).top+=parseInt(o.css("borderTopWidth"))-o.scrollTop(),i.left+=parseInt(o.css("borderLeftWidth"))-o.scrollLeft()),s=l.hasClass(V.DROPUP)?0:l[0].offsetHeight,(M.major<4||"static"===a)&&(r.top=t.top-i.top+s,r.left=t.left-i.left),r.width=l[0].offsetWidth,n.$bsContainer.css(r)};this.$button.on("click.bs.dropdown.data-api",(function(){n.isDisabled()||(l(n.$newElement),n.$bsContainer.appendTo(n.options.container).toggleClass(V.SHOW,!n.$button.hasClass(V.SHOW)).append(n.$menu))})),e(window).off("resize"+j+"."+this.selectId+" scroll"+j+"."+this.selectId).on("resize"+j+"."+this.selectId+" scroll"+j+"."+this.selectId,(function(){n.$newElement.hasClass(V.SHOW)&&l(n.$newElement)})),this.$element.on("hide"+j,(function(){n.$menu.data("height",n.$menu.height()),n.$bsContainer.detach()}))},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t3&&!t.dropdown&&(t.dropdown=t.$button.data("bs.dropdown"),t.dropdown._menu=t.$menu[0])})),this.$button.on("click.bs.dropdown.data-api",(function(){t.$newElement.hasClass(V.SHOW)||t.setSize()})),this.$element.on("shown"+j,(function(){t.$menuInner[0].scrollTop!==t.selectpicker.view.scrollTop&&(t.$menuInner[0].scrollTop=t.selectpicker.view.scrollTop),M.major>3?requestAnimationFrame(n):s()})),this.$menuInner.on("mouseenter","li a",(function(e){var i=this.parentElement,s=t.isVirtual()?t.selectpicker.view.position0:0,n=Array.prototype.indexOf.call(i.parentElement.children,i),o=t.selectpicker.current.data[n+s];t.focusItem(i,o,!0)})),this.$menuInner.on("click","li a",(function(i,s){var n=e(this),o=t.$element[0],l=t.isVirtual()?t.selectpicker.view.position0:0,r=t.selectpicker.current.data[n.parent().index()+l],a=r.index,c=v(o),d=o.selectedIndex,h=o.options[d],p=!0;if(t.multiple&&1!==t.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!t.isDisabled()&&!n.parent().hasClass(V.DISABLED)){var u=r.option,f=e(u),g=u.selected,w=f.parent("optgroup"),I=w.find("option"),x=t.options.maxOptions,k=w.data("maxOptions")||!1;if(a===t.activeIndex&&(s=!0),s||(t.prevActiveIndex=t.activeIndex,t.activeIndex=void 0),t.multiple){if(u.selected=!g,t.setSelected(a,!g),n.trigger("blur"),!1!==x||!1!==k){var y=x
');O[2]&&(z=z.replace("{var}",O[2][x>1?0:1]),T=T.replace("{var}",O[2][k>1?0:1])),u.selected=!1,t.$menu.append(N),x&&y&&(N.append(e("
"+z+"
")),p=!1,t.$element.trigger("maxReached"+j)),k&&$&&(N.append(e("
"+T+"
")),p=!1,t.$element.trigger("maxReachedGrp"+j)),setTimeout((function(){t.setSelected(a,!1)}),10),N[0].classList.add("fadeOut"),setTimeout((function(){N.remove()}),1050)}}}else h&&(h.selected=!1),u.selected=!0,t.setSelected(a,!0);!t.multiple||t.multiple&&1===t.options.maxOptions?t.$button.trigger("focus"):t.options.liveSearch&&t.$searchbox.trigger("focus"),p&&(t.multiple||d!==o.selectedIndex)&&(b=[u.index,f.prop("selected"),c],t.$element.triggerNative("change"))}})),this.$menu.on("click","li."+V.DISABLED+" a, ."+V.POPOVERHEADER+", ."+V.POPOVERHEADER+" :not(.close)",(function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),t.options.liveSearch&&!e(i.target).hasClass("close")?t.$searchbox.trigger("focus"):t.$button.trigger("focus"))})),this.$menuInner.on("click",".divider, .dropdown-header",(function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus")})),this.$menu.on("click","."+V.POPOVERHEADER+" .close",(function(){t.$button.trigger("click")})),this.$searchbox.on("click",(function(e){e.stopPropagation()})),this.$menu.on("click",".actions-btn",(function(i){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus"),i.preventDefault(),i.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll()})),this.$button.on("focus"+j,(function(e){var i=t.$element[0].getAttribute("tabindex");void 0!==i&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",i),t.$element[0].setAttribute("tabindex",-1),t.selectpicker.view.tabindex=i)})).on("blur"+j,(function(e){void 0!==t.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(t.$element[0].setAttribute("tabindex",t.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),t.selectpicker.view.tabindex=void 0)})),this.$element.on("change"+j,(function(){t.render(),t.$element.trigger("changed"+j,b),b=null})).on("focus"+j,(function(){t.options.mobile||t.$button.trigger("focus")}))},liveSearchListener:function(){var e=this;this.$button.on("click.bs.dropdown.data-api",(function(){e.$searchbox.val()&&e.$searchbox.val("")})),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",(function(e){e.stopPropagation()})),this.$searchbox.on("input propertychange",(function(){var t=e.$searchbox.val();if(e.selectpicker.search.elements=[],e.selectpicker.search.data=[],t){var i=[],s=t.toUpperCase(),n={},o=[],l=e._searchStyle(),r=e.options.liveSearchNormalize;r&&(s=E(s));for(var a=0;a0&&(n[c.headerIndex-1]=!0,o.push(c.headerIndex-1)),n[c.headerIndex]=!0,o.push(c.headerIndex),n[c.lastIndex+1]=!0),n[a]&&"optgroup-label"!==c.type&&o.push(a)}a=0;for(var d=o.length;a=112&&t.which<=123))if(!(s=c.$newElement.hasClass(V.SHOW))&&(u||t.which>=48&&t.which<=57||t.which>=96&&t.which<=105||t.which>=65&&t.which<=90)&&(c.$button.trigger("click.bs.dropdown.data-api"),c.options.liveSearch))c.$searchbox.trigger("focus");else{if(t.which===D&&s&&(t.preventDefault(),c.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),u){if(!d.length)return;-1!==(i=(n=c.selectpicker.main.elements[c.activeIndex])?Array.prototype.indexOf.call(n.parentElement.children,n):-1)&&c.defocusItem(n),t.which===B?(-1!==i&&i--,i+m<0&&(i+=d.length),c.selectpicker.view.canHighlight[i+m]||-1===(i=c.selectpicker.view.canHighlight.slice(0,i+m).lastIndexOf(!0)-m)&&(i=d.length-1)):(t.which===R||p)&&(++i+m>=c.selectpicker.view.canHighlight.length&&(i=0),c.selectpicker.view.canHighlight[i+m]||(i=i+1+c.selectpicker.view.canHighlight.slice(i+m+1).indexOf(!0))),t.preventDefault();var v=m+i;t.which===B?0===m&&i===d.length-1?(c.$menuInner[0].scrollTop=c.$menuInner[0].scrollHeight,v=c.selectpicker.current.elements.length-1):h=(l=(o=c.selectpicker.current.data[v]).position-o.height)f),n=c.selectpicker.current.elements[v],c.activeIndex=c.selectpicker.current.data[v].index,c.focusItem(n),c.selectpicker.view.currentActive=n,h&&(c.$menuInner[0].scrollTop=l),c.options.liveSearch?c.$searchbox.trigger("focus"):r.trigger("focus")}else if(!r.is("input")&&!q.test(t.which)||t.which===P&&c.selectpicker.keydown.keyHistory){var g,b,w=[];t.preventDefault(),c.selectpicker.keydown.keyHistory+=L[t.which],c.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(c.selectpicker.keydown.resetKeyHistory.cancel),c.selectpicker.keydown.resetKeyHistory.cancel=c.selectpicker.keydown.resetKeyHistory.start(),b=c.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(b)&&(b=b.charAt(0));for(var x=0;x0?(l=o.position-o.height,h=!0):(l=o.position-c.sizeInfo.menuInnerHeight,h=o.position>f+c.sizeInfo.menuInnerHeight),n=c.selectpicker.main.elements[g],c.activeIndex=w[y],c.focusItem(n),n&&n.firstChild.focus(),h&&(c.$menuInner[0].scrollTop=l),r.trigger("focus")}}s&&(t.which===P&&!c.selectpicker.keydown.keyHistory||t.which===H||t.which===W&&c.options.selectOnTab)&&(t.which!==P&&t.preventDefault(),c.options.liveSearch&&t.which===P||(c.$menuInner.find(".active a").trigger("click",!0),r.trigger("focus"),c.options.liveSearch||(t.preventDefault(),e(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var t=e.extend({},this.options,this.$element.data());this.options=t,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed"+j)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(j).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),e(window).off(j+"."+this.selectId)}};var Q=e.fn.selectpicker;function X(){if(e.fn.dropdown){var t=e.fn.dropdown.Constructor._dataApiKeydownHandler||e.fn.dropdown.Constructor.prototype.keydown;return t.apply(this,arguments)}}e.fn.selectpicker=J,e.fn.selectpicker.Constructor=Z,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=Q,this},e(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',X).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",X).on("keydown"+j,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',Z.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',(function(e){e.stopPropagation()})),e(window).on("load"+j+".data-api",(function(){e(".selectpicker").each((function(){var t=e(this);J.call(t,t.data())}))}))}(e)})); \ No newline at end of file +!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e)})):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,(function(e){!function(e){"use strict";var t=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],s={"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,o=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function l(t,s){var l=t.nodeName.toLowerCase();if(-1!==e.inArray(l,s))return-1===e.inArray(l,i)||Boolean(t.nodeValue.match(n)||t.nodeValue.match(o));for(var r=e(s).filter((function(e,t){return t instanceof RegExp})),a=0,c=r.length;a1?arguments[1]:void 0,l=o?Number(o):0;l!=l&&(l=0);var r=Math.min(Math.max(l,0),i);if(n+r>i)return!1;for(var a=-1;++a]+>/g,"")),s&&(a=E(a)),a=a.toUpperCase(),o="contains"===i?a.indexOf(t)>=0:a.startsWith(t)))break}return o}function x(e){return parseInt(e,10)||0}e.fn.triggerNative=function(e){var t,i=this[0];i.dispatchEvent?(w?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=e,i.fireEvent("on"+e,t)):this.trigger(e)};var k={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},y=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function S(e){return k[e]}function E(e){return(e=e.toString())&&e.replace(y,S).replace($,"")}var C,O,z,T,N,A=(C={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},O=function(e){return C[e]},z="(?:"+Object.keys(C).join("|")+")",T=RegExp(z),N=RegExp(z,"g"),function(e){return e=null==e?"":""+e,T.test(e)?e.replace(N,O):e}),L={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},D=27,H=13,P=32,W=9,B=38,R=40,M={success:!1,major:"3"};try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),M.major=M.full[0],M.success=!0}catch(e){}var U=0,j=".bs.select",V={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},F={MENU:"."+V.MENU},_={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};_.noResults=_.li.cloneNode(!1),_.noResults.className="no-results",_.a.setAttribute("role","option"),_.a.className="dropdown-item",_.subtext.className="text-muted",_.text=_.span.cloneNode(!1),_.text.className="text",_.checkMark=_.span.cloneNode(!1);var G=new RegExp(B+"|"+R),q=new RegExp("^"+W+"$|"+D),K={li:function(e,t,i){var s=_.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?s.appendChild(e):s.innerHTML=e),void 0!==t&&""!==t&&(s.className=t),null!=i&&s.classList.add("optgroup-"+i),s},a:function(e,t,i){var s=_.a.cloneNode(!0);return e&&(11===e.nodeType?s.appendChild(e):s.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&s.classList.add.apply(s.classList,t.split(/\s+/)),i&&s.setAttribute("style",i),s},text:function(e,t){var i,s,n=_.text.cloneNode(!1);if(e.content)n.innerHTML=e.content;else{if(n.textContent=e.text,e.icon){var o=_.whitespace.cloneNode(!1);(s=(!0===t?_.i:_.span).cloneNode(!1)).className=this.options.iconBase+" "+e.icon,_.fragment.appendChild(s),_.fragment.appendChild(o)}e.subtext&&((i=_.subtext.cloneNode(!1)).textContent=e.subtext,n.appendChild(i))}if(!0===t)for(;n.childNodes.length>0;)_.fragment.appendChild(n.childNodes[0]);else _.fragment.appendChild(n);return _.fragment},label:function(e){var t,i,s=_.text.cloneNode(!1);if(s.innerHTML=e.display,e.icon){var n=_.whitespace.cloneNode(!1);(i=_.span.cloneNode(!1)).className=this.options.iconBase+" "+e.icon,_.fragment.appendChild(i),_.fragment.appendChild(n)}return e.subtext&&((t=_.subtext.cloneNode(!1)).textContent=e.subtext,s.appendChild(t)),_.fragment.appendChild(s),_.fragment}};function Y(e,t){e.length||(_.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+A(t)+'"'),this.$menuInner[0].firstChild.appendChild(_.noResults))}var Z=function(t,i){var s=this;g.useDefault||(e.valHooks.select.set=g._set,g.useDefault=!0),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.options=i,this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout((function(){s.selectpicker.keydown.keyHistory=""}),800)}}}},this.sizeInfo={},null===this.options.title&&(this.options.title=this.$element.attr("title"));var n=this.options.windowPadding;"number"==typeof n&&(this.options.windowPadding=[n,n,n,n]),this.val=Z.prototype.val,this.render=Z.prototype.render,this.refresh=Z.prototype.refresh,this.setStyle=Z.prototype.setStyle,this.selectAll=Z.prototype.selectAll,this.deselectAll=Z.prototype.deselectAll,this.destroy=Z.prototype.destroy,this.remove=Z.prototype.remove,this.show=Z.prototype.show,this.hide=Z.prototype.hide,this.init()};function J(i){var s,n=arguments,o=i;if([].shift.apply(n),!M.success){try{M.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){Z.BootstrapVersion?M.full=Z.BootstrapVersion.split(" ")[0].split("."):(M.full=[M.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}M.major=M.full[0],M.success=!0}if("4"===M.major){var l=[];Z.DEFAULTS.style===V.BUTTONCLASS&&l.push({name:"style",className:"BUTTONCLASS"}),Z.DEFAULTS.iconBase===V.ICONBASE&&l.push({name:"iconBase",className:"ICONBASE"}),Z.DEFAULTS.tickIcon===V.TICKICON&&l.push({name:"tickIcon",className:"TICKICON"}),V.DIVIDER="dropdown-divider",V.SHOW="show",V.BUTTONCLASS="btn-light",V.POPOVERHEADER="popover-header",V.ICONBASE="",V.TICKICON="bs-ok-default";for(var r=0;r'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:s},Z.prototype={constructor:Z,init:function(){var e=this,t=this.$element.attr("id");U++,this.selectId="bs-select-"+U,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.buildData(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(F.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(V.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide.bs.select",(function(){if(e.isVirtual()){var t=e.$menuInner[0],i=t.firstChild.cloneNode(!1);t.replaceChild(i,t.firstChild),t.scrollTop=0}})),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){e.$element.trigger("hide.bs.select",t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden.bs.select",t)},"show.bs.dropdown":function(t){e.$element.trigger("show.bs.select",t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown.bs.select",t)}}),e.$element[0].hasAttribute("required")&&this.$element.on("invalid.bs.select",(function(){e.$button[0].classList.add("bs-invalid"),e.$element.on("shown.bs.select.invalid",(function(){e.$element.val(e.$element.val()).off("shown.bs.select.invalid")})).on("rendered.bs.select",(function(){this.validity.valid&&e.$button[0].classList.remove("bs-invalid"),e.$element.off("rendered.bs.select")})),e.$button.on("blur.bs.select",(function(){e.$element.trigger("focus").trigger("blur"),e.$button.off("blur.bs.select")}))})),setTimeout((function(){e.buildList(),e.$element.trigger("loaded.bs.select")}))},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",i=this.multiple?' aria-multiselectable="true"':"",s="",n=this.autofocus?" autofocus":"";M.major<4&&this.$element.parent().hasClass("input-group")&&(s=" input-group-btn");var o,l="",r="",a="",c="";return this.options.header&&(l='
'+this.options.header+"
"),this.options.liveSearch&&(r=''),this.multiple&&this.options.actionsBox&&(a='
"),this.multiple&&this.options.doneButton&&(c='
"),o='",e(o)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0;for(var e=0;e=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(t,i,s){var n,o,l=this,a=0,c=[];if(this.selectpicker.isSearching=t,this.selectpicker.current=t?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),i)if(s)a=this.$menuInner[0].scrollTop;else if(!l.multiple){var d=l.$element[0],h=(d.options[d.selectedIndex]||{}).liIndex;if("number"==typeof h&&!1!==l.options.size){var p=l.selectpicker.main.data[h],u=p&&p.position;u&&(a=u-(l.sizeInfo.menuInnerHeight+l.sizeInfo.liHeight)/2)}}function f(e,i){var s,a,d,h,p,u,f,m,v,g,b=l.selectpicker.current.elements.length,w=[],I=!0,x=l.isVirtual();l.selectpicker.view.scrollTop=e,s=Math.ceil(l.sizeInfo.menuInnerHeight/l.sizeInfo.liHeight*1.5),a=Math.round(b/s)||1;for(var k=0;kb-1?0:l.selectpicker.current.data[b-1].position-l.selectpicker.current.data[l.selectpicker.view.position1-1].position,E.firstChild.style.marginTop=$+"px",E.firstChild.style.marginBottom=S+"px"):(E.firstChild.style.marginTop=0,E.firstChild.style.marginBottom=0),E.firstChild.appendChild(C),!0===x&&l.sizeInfo.hasScrollBar){var H=E.firstChild.offsetWidth;if(i&&Hl.sizeInfo.selectWidth)E.firstChild.style.minWidth=l.sizeInfo.menuInnerInnerWidth+"px";else if(H>l.sizeInfo.menuInnerInnerWidth){l.$menu[0].style.minWidth=0;var P=E.firstChild.offsetWidth;P>l.sizeInfo.menuInnerInnerWidth&&(l.sizeInfo.menuInnerInnerWidth=P,E.firstChild.style.minWidth=l.sizeInfo.menuInnerInnerWidth+"px"),l.$menu[0].style.minWidth=""}}}if(l.prevActiveIndex=l.activeIndex,l.options.liveSearch){if(t&&i){var W,B=0;l.selectpicker.view.canHighlight[B]||(B=1+l.selectpicker.view.canHighlight.slice(1).indexOf(!0)),W=l.selectpicker.view.visibleElements[B],l.defocusItem(l.selectpicker.view.currentActive),l.activeIndex=(l.selectpicker.current.data[B]||{}).index,l.focusItem(W)}}else l.$menuInner.trigger("focus")}f(a,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",(function(e,t){l.noScroll||f(this.scrollTop,t),l.noScroll=!1})),e(window).off("resize.bs.select."+this.selectId+".createView").on("resize.bs.select."+this.selectId+".createView",(function(){l.$newElement.hasClass(V.SHOW)&&f(l.$menuInner[0].scrollTop)}))},focusItem:function(e,t,i){if(e){t=t||this.selectpicker.main.data[this.activeIndex];var s=e.firstChild;s&&(s.setAttribute("aria-setsize",this.selectpicker.view.size),s.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",s.id),e.classList.add("active"),s.classList.add("active")))}},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var e=this,t=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var i=this.$element[0],s=!1,n=!this.selectpicker.view.titleOption.parentNode,o=i.selectedIndex,l=i.options[o],r=window.performance&&window.performance.getEntriesByType("navigation");n&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",s=!l||0===o&&!1===l.defaultSelected&&void 0===this.$element.data("selected")),(n||0!==this.selectpicker.view.titleOption.index)&&i.insertBefore(this.selectpicker.view.titleOption,i.firstChild),s&&r.length&&"back_forward"!==r[0].type?i.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",(function(){e.selectpicker.view.displayedValue!==i.value&&e.render()}))}return t},buildData:function(){var e=':not([hidden]):not([data-hidden="true"])',t=[],i=0,s=this.setPlaceholder()?1:0;this.options.hideDisabled&&(e+=":not(:disabled)");var n=this.$element[0].querySelectorAll("select > *"+e);function o(e){var i=t[t.length-1];i&&"divider"===i.type&&(i.optID||e.optID)||((e=e||{}).type="divider",t.push(e))}function l(e,i){if((i=i||{}).divider="true"===e.getAttribute("data-divider"),i.divider)o({optID:i.optID});else{var s=t.length,n=e.style.cssText,l=n?A(n):"",r=(e.className||"")+(i.optgroupClass||"");i.optID&&(r="opt "+r),i.optionClass=r.trim(),i.inlineStyle=l,i.text=e.textContent,i.content=e.getAttribute("data-content"),i.tokens=e.getAttribute("data-tokens"),i.subtext=e.getAttribute("data-subtext"),i.icon=e.getAttribute("data-icon"),e.liIndex=s,i.display=i.content||i.text,i.type="option",i.index=s,i.option=e,i.selected=!!e.selected,i.disabled=i.disabled||!!e.disabled,t.push(i)}}function r(n,r){var a=r[n],c=!(n-1s&&(s=o,e.selectpicker.view.widestOption=i[i.length-1])}!e.options.showTick&&!e.multiple||_.checkMark.parentNode||(_.checkMark.className=this.options.iconBase+" "+e.options.tickIcon+" check-mark",_.a.appendChild(_.checkMark));for(var o=t.length,l=0;l li")},render:function(){var e,t,i=this.$element[0],s=this.setPlaceholder()&&0===i.selectedIndex,n=m(i,this.options.hideDisabled),o=n.length,l=this.$button[0],a=l.querySelector(".filter-option-inner-inner"),c=document.createTextNode(this.options.multipleSeparator),d=_.fragment.cloneNode(!1),h=!1;if(l.classList.toggle("bs-placeholder",this.multiple?!o:!v(i,n)),this.multiple||1!==n.length||(this.selectpicker.view.displayedValue=v(i,n)),"static"===this.options.selectedTextFormat)d=K.text.call(this,{text:this.options.title},!0);else if((e=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&o>1)&&(e=(t=this.options.selectedTextFormat.split(">")).length>1&&o>t[1]||1===t.length&&o>=2),!1===e){if(!s){for(var p=0;p0&&d.appendChild(c.cloneNode(!1)),u.title?g.text=u.title:f&&(f.content&&this.options.showContent?(g.content=f.content.toString(),h=!0):(this.options.showIcon&&(g.icon=f.icon),this.options.showSubtext&&!this.multiple&&f.subtext&&(g.subtext=" "+f.subtext),g.text=u.textContent.trim())),d.appendChild(K.text.call(this,g,!0))}o>49&&d.appendChild(document.createTextNode("..."))}}else{var b=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(b+=":not(:disabled)");var w=this.$element[0].querySelectorAll("select > option"+b+", optgroup"+b+" option"+b).length,I="function"==typeof this.options.countSelectedText?this.options.countSelectedText(o,w):this.options.countSelectedText;d=K.text.call(this,{text:I.replace("{0}",o.toString()).replace("{1}",w.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),d.childNodes.length||(d=K.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),l.title=d.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&h&&r([d],this.options.whiteList,this.options.sanitizeFn),a.innerHTML="",a.appendChild(d),M.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var x=l.querySelector(".filter-expand"),k=a.cloneNode(!0);k.className="filter-expand",x?l.replaceChild(k,x):l.appendChild(k)}this.$element.trigger("rendered.bs.select")},setStyle:function(e,t){var i,s=this.$button[0],n=this.$newElement[0],o=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),M.major<4&&(n.classList.add("bs3"),n.parentNode.classList&&n.parentNode.classList.contains("input-group")&&(n.previousElementSibling||n.nextElementSibling)&&(n.previousElementSibling||n.nextElementSibling).classList.contains("input-group-addon")&&n.classList.add("bs3-has-addon")),i=e?e.trim():o,"add"==t?i&&s.classList.add.apply(s.classList,i.split(" ")):"remove"==t?i&&s.classList.remove.apply(s.classList,i.split(" ")):(o&&s.classList.remove.apply(s.classList,o.split(" ")),i&&s.classList.add.apply(s.classList,i.split(" ")))},liHeight:function(t){if(t||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var i,s=_.div.cloneNode(!1),n=_.div.cloneNode(!1),o=_.div.cloneNode(!1),l=document.createElement("ul"),r=_.li.cloneNode(!1),a=_.li.cloneNode(!1),c=_.a.cloneNode(!1),d=_.span.cloneNode(!1),h=this.options.header&&this.$menu.find("."+V.POPOVERHEADER).length>0?this.$menu.find("."+V.POPOVERHEADER)[0].cloneNode(!0):null,p=this.options.liveSearch?_.div.cloneNode(!1):null,u=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,f=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(m?m.className:""),s.className=this.$menu[0].parentNode.className+" "+V.SHOW,s.style.width=0,"auto"===this.options.width&&(n.style.minWidth=0),n.className=V.MENU+" "+V.SHOW,o.className="inner "+V.SHOW,l.className=V.MENU+" inner "+("4"===M.major?V.SHOW:""),r.className=V.DIVIDER,a.className="dropdown-header",d.appendChild(document.createTextNode("​")),this.selectpicker.current.data.length)for(var v=0;vthis.sizeInfo.menuExtras.vert&&r+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(a=this.selectpicker.dropup),this.$newElement.toggleClass(V.DROPUP,a),this.selectpicker.dropup=a),"auto"===this.options.size)n=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,i=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,s=n+h+p+u+f,l=Math.max(n-v.vert,0),this.$newElement.hasClass(V.DROPUP)&&(i=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),o=i,t=i-h-p-u-f-v.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var b=0;bthis.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(V.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRightthis.options.size&&s.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+j+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,t)},setWidth:function(){var e=this;"auto"===this.options.width?requestAnimationFrame((function(){e.$menu.css("min-width","0"),e.$element.on("loaded.bs.select",(function(){e.liHeight(),e.setMenuSize();var t=e.$newElement.clone().appendTo("body"),i=t.css("width","auto").children("button").outerWidth();t.remove(),e.sizeInfo.selectWidth=Math.max(e.sizeInfo.totalMenuWidth,i),e.$newElement.css("width",e.sizeInfo.selectWidth+"px")}))})):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=e('
');var t,i,s,n=this,o=e(this.options.container),l=function(l){var r={},a=n.options.display||!!e.fn.dropdown.Constructor.Default&&e.fn.dropdown.Constructor.Default.display;n.$bsContainer.addClass(l.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(V.DROPUP,l.hasClass(V.DROPUP)),t=l.offset(),o.is("body")?i={top:0,left:0}:((i=o.offset()).top+=parseInt(o.css("borderTopWidth"))-o.scrollTop(),i.left+=parseInt(o.css("borderLeftWidth"))-o.scrollLeft()),s=l.hasClass(V.DROPUP)?0:l[0].offsetHeight,(M.major<4||"static"===a)&&(r.top=t.top-i.top+s,r.left=t.left-i.left),r.width=l[0].offsetWidth,n.$bsContainer.css(r)};this.$button.on("click.bs.dropdown.data-api",(function(){n.isDisabled()||(l(n.$newElement),n.$bsContainer.appendTo(n.options.container).toggleClass(V.SHOW,!n.$button.hasClass(V.SHOW)).append(n.$menu))})),e(window).off("resize.bs.select."+this.selectId+" scroll"+j+"."+this.selectId).on("resize.bs.select."+this.selectId+" scroll"+j+"."+this.selectId,(function(){n.$newElement.hasClass(V.SHOW)&&l(n.$newElement)})),this.$element.on("hide.bs.select",(function(){n.$menu.data("height",n.$menu.height()),n.$bsContainer.detach()}))},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t3&&!t.dropdown&&(t.dropdown=t.$button.data("bs.dropdown"),t.dropdown._menu=t.$menu[0])})),this.$button.on("click.bs.dropdown.data-api",(function(){t.$newElement.hasClass(V.SHOW)||t.setSize()})),this.$element.on("shown.bs.select",(function(){t.$menuInner[0].scrollTop!==t.selectpicker.view.scrollTop&&(t.$menuInner[0].scrollTop=t.selectpicker.view.scrollTop),M.major>3?requestAnimationFrame(n):s()})),this.$menuInner.on("mouseenter","li a",(function(e){var i=this.parentElement,s=t.isVirtual()?t.selectpicker.view.position0:0,n=Array.prototype.indexOf.call(i.parentElement.children,i),o=t.selectpicker.current.data[n+s];t.focusItem(i,o,!0)})),this.$menuInner.on("click","li a",(function(i,s){var n=e(this),o=t.$element[0],l=t.isVirtual()?t.selectpicker.view.position0:0,r=t.selectpicker.current.data[n.parent().index()+l],a=r.index,c=v(o),d=o.selectedIndex,h=o.options[d],p=!0;if(t.multiple&&1!==t.options.maxOptions&&i.stopPropagation(),i.preventDefault(),!t.isDisabled()&&!n.parent().hasClass(V.DISABLED)){var u=r.option,f=e(u),g=u.selected,w=f.parent("optgroup"),I=w.find("option"),x=t.options.maxOptions,k=w.data("maxOptions")||!1;if(a===t.activeIndex&&(s=!0),s||(t.prevActiveIndex=t.activeIndex,t.activeIndex=void 0),t.multiple){if(u.selected=!g,t.setSelected(a,!g),n.trigger("blur"),!1!==x||!1!==k){var y=x
');O[2]&&(z=z.replace("{var}",O[2][x>1?0:1]),T=T.replace("{var}",O[2][k>1?0:1])),u.selected=!1,t.$menu.append(N),x&&y&&(N.append(e("
"+z+"
")),p=!1,t.$element.trigger("maxReached.bs.select")),k&&$&&(N.append(e("
"+T+"
")),p=!1,t.$element.trigger("maxReachedGrp.bs.select")),setTimeout((function(){t.setSelected(a,!1)}),10),N[0].classList.add("fadeOut"),setTimeout((function(){N.remove()}),1050)}}}else h&&(h.selected=!1),u.selected=!0,t.setSelected(a,!0);!t.multiple||t.multiple&&1===t.options.maxOptions?t.$button.trigger("focus"):t.options.liveSearch&&t.$searchbox.trigger("focus"),p&&(t.multiple||d!==o.selectedIndex)&&(b=[u.index,f.prop("selected"),c],t.$element.triggerNative("change"))}})),this.$menu.on("click","li."+V.DISABLED+" a, ."+V.POPOVERHEADER+", ."+V.POPOVERHEADER+" :not(.close)",(function(i){i.currentTarget==this&&(i.preventDefault(),i.stopPropagation(),t.options.liveSearch&&!e(i.target).hasClass("close")?t.$searchbox.trigger("focus"):t.$button.trigger("focus"))})),this.$menuInner.on("click",".divider, .dropdown-header",(function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus")})),this.$menu.on("click","."+V.POPOVERHEADER+" .close",(function(){t.$button.trigger("click")})),this.$searchbox.on("click",(function(e){e.stopPropagation()})),this.$menu.on("click",".actions-btn",(function(i){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus"),i.preventDefault(),i.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll()})),this.$button.on("focus.bs.select",(function(e){var i=t.$element[0].getAttribute("tabindex");void 0!==i&&e.originalEvent&&e.originalEvent.isTrusted&&(this.setAttribute("tabindex",i),t.$element[0].setAttribute("tabindex",-1),t.selectpicker.view.tabindex=i)})).on("blur.bs.select",(function(e){void 0!==t.selectpicker.view.tabindex&&e.originalEvent&&e.originalEvent.isTrusted&&(t.$element[0].setAttribute("tabindex",t.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),t.selectpicker.view.tabindex=void 0)})),this.$element.on("change.bs.select",(function(){t.render(),t.$element.trigger("changed.bs.select",b),b=null})).on("focus.bs.select",(function(){t.options.mobile||t.$button.trigger("focus")}))},liveSearchListener:function(){var e=this;this.$button.on("click.bs.dropdown.data-api",(function(){e.$searchbox.val()&&e.$searchbox.val("")})),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",(function(e){e.stopPropagation()})),this.$searchbox.on("input propertychange",(function(){var t=e.$searchbox.val();if(e.selectpicker.search.elements=[],e.selectpicker.search.data=[],t){var i=[],s=t.toUpperCase(),n={},o=[],l=e._searchStyle(),r=e.options.liveSearchNormalize;r&&(s=E(s));for(var a=0;a0&&(n[c.headerIndex-1]=!0,o.push(c.headerIndex-1)),n[c.headerIndex]=!0,o.push(c.headerIndex),n[c.lastIndex+1]=!0),n[a]&&"optgroup-label"!==c.type&&o.push(a)}a=0;for(var d=o.length;a=112&&t.which<=123))if(!(s=c.$newElement.hasClass(V.SHOW))&&(u||t.which>=48&&t.which<=57||t.which>=96&&t.which<=105||t.which>=65&&t.which<=90)&&(c.$button.trigger("click.bs.dropdown.data-api"),c.options.liveSearch))c.$searchbox.trigger("focus");else{if(t.which===D&&s&&(t.preventDefault(),c.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),u){if(!d.length)return;-1!==(i=(n=c.selectpicker.main.elements[c.activeIndex])?Array.prototype.indexOf.call(n.parentElement.children,n):-1)&&c.defocusItem(n),t.which===B?(-1!==i&&i--,i+m<0&&(i+=d.length),c.selectpicker.view.canHighlight[i+m]||-1===(i=c.selectpicker.view.canHighlight.slice(0,i+m).lastIndexOf(!0)-m)&&(i=d.length-1)):(t.which===R||p)&&(++i+m>=c.selectpicker.view.canHighlight.length&&(i=0),c.selectpicker.view.canHighlight[i+m]||(i=i+1+c.selectpicker.view.canHighlight.slice(i+m+1).indexOf(!0))),t.preventDefault();var v=m+i;t.which===B?0===m&&i===d.length-1?(c.$menuInner[0].scrollTop=c.$menuInner[0].scrollHeight,v=c.selectpicker.current.elements.length-1):h=(l=(o=c.selectpicker.current.data[v]).position-o.height)f),n=c.selectpicker.current.elements[v],c.activeIndex=c.selectpicker.current.data[v].index,c.focusItem(n),c.selectpicker.view.currentActive=n,h&&(c.$menuInner[0].scrollTop=l),c.options.liveSearch?c.$searchbox.trigger("focus"):r.trigger("focus")}else if(!r.is("input")&&!q.test(t.which)||t.which===P&&c.selectpicker.keydown.keyHistory){var g,b,w=[];t.preventDefault(),c.selectpicker.keydown.keyHistory+=L[t.which],c.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(c.selectpicker.keydown.resetKeyHistory.cancel),c.selectpicker.keydown.resetKeyHistory.cancel=c.selectpicker.keydown.resetKeyHistory.start(),b=c.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(b)&&(b=b.charAt(0));for(var x=0;x0?(l=o.position-o.height,h=!0):(l=o.position-c.sizeInfo.menuInnerHeight,h=o.position>f+c.sizeInfo.menuInnerHeight),n=c.selectpicker.main.elements[g],c.activeIndex=w[y],c.focusItem(n),n&&n.firstChild.focus(),h&&(c.$menuInner[0].scrollTop=l),r.trigger("focus")}}s&&(t.which===P&&!c.selectpicker.keydown.keyHistory||t.which===H||t.which===W&&c.options.selectOnTab)&&(t.which!==P&&t.preventDefault(),c.options.liveSearch&&t.which===P||(c.$menuInner.find(".active a").trigger("click",!0),r.trigger("focus"),c.options.liveSearch||(t.preventDefault(),e(document).data("spaceSelect",!0))))}},mobile:function(){this.options.mobile=!0,this.$element[0].classList.add("mobile-device")},refresh:function(){var t=e.extend({},this.options,this.$element.data());this.options=t,this.checkDisabled(),this.buildData(),this.setStyle(),this.render(),this.buildList(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(j).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),e(window).off(".bs.select."+this.selectId)}};var Q=e.fn.selectpicker;function X(){if(e.fn.dropdown){var t=e.fn.dropdown.Constructor._dataApiKeydownHandler||e.fn.dropdown.Constructor.prototype.keydown;return t.apply(this,arguments)}}e.fn.selectpicker=J,e.fn.selectpicker.Constructor=Z,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=Q,this},e(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',X).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",X).on("keydown.bs.select",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',Z.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',(function(e){e.stopPropagation()})),e(window).on("load.bs.select.data-api",(function(){e(".selectpicker").each((function(){var t=e(this);J.call(t,t.data())}))}))}(e)})); \ No newline at end of file diff --git a/RIGS/static/js/dropdown.js b/RIGS/static/js/dropdown.js index adfaa8fb..745282dd 100644 --- a/RIGS/static/js/dropdown.js +++ b/RIGS/static/js/dropdown.js @@ -3,4 +3,4 @@ * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery"),require("popper.js"),require("./util.js")):"function"==typeof define&&define.amd?define(["jquery","popper.js","./util.js"],t):(e=e||self).Dropdown=t(e.jQuery,e.Popper,e.Util)}(this,(function(e,t,n){"use strict";function r(e,t){for(var n=0;n0},g._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s(s({},t.offsets),e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},g._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),s(s({},e),this._config.popperConfig)},o._jQueryInterface=function(t){return this.each((function(){var n=e(this).data(l);if(n||(n=new o(this,"object"==typeof t?t:null),e(this).data(l,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),r=0,i=n.length;r0&&s--,40===t.which&&s0},g._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=s(s({},t.offsets),e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},g._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),s(s({},e),this._config.popperConfig)},o._jQueryInterface=function(t){return this.each((function(){var n=e(this).data(l);if(n||(n=new o(this,"object"==typeof t?t:null),e(this).data(l,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},o._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),r=0,i=n.length;r0&&s--,40===t.which&&sdocument.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},u._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},u._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},u._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},u._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function H(e,t){return e.isValid()?(t=U(t,e.localeData()),R[t]=R[t]||function(e){var t,n,s,i=e.match(N);for(t=0,n=i.length;t=0&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,n-=1;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,s={};for(n in e)r(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var E={};function A(e,t){E[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=I(t)),n}function z(e,t){return function(s){return null!=s?(q(this,e,s),n.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(n=Z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ve(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var B,J=/\d/,Q=/\d\d/,X=/\d{3}/,K=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ce(e,t,n){B[e]=O(t)?t:function(e,s){return e&&n?n:t}}function fe(e,t){return r(B,e)?B[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,i){return t||n||s||i}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}B={};var _e={};function ye(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),u(t)&&(s=function(e,n){n[t]=Z(e)}),n=0;n68?1900:2e3)};var Pe=z("FullYear",!0);function Re(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function We(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ce(e,t,n){var s=7+t-n;return-((7+We(e,0,s).getUTCDay()-t)%7)+s-1}function He(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+Ce(e,s,i);return o<=0?a=Ne(r=e-1)+o:o>Ne(e)?(r=e+1,a=o-Ne(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Ue(e,t,n){var s,i,r=Ce(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Fe(i=e.year()-1,t,n):a>Fe(e.year(),t,n)?(s=a-Fe(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Fe(e,t,n){var s=Ce(e,t,n),i=Ce(e+1,t,n);return(Ne(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),A("week",5),A("isoWeek",5),ce("w",te),ce("ww",te,Q),ce("W",te),ce("WW",te,Q),ge(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=Z(e)}));function Le(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),C("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),C("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),ce("d",te),ce("e",te),ce("E",te),ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,s){t[s]=Z(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ge="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ee="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ae=de,je=de,Ie=de;function Ze(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=c([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=pe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=pe.call(this._weekdaysParse,a))||-1!==(i=pe.call(this._shortWeekdaysParse,a))||-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=pe.call(this._shortWeekdaysParse,a))||-1!==(i=pe.call(this._weekdaysParse,a))||-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=pe.call(this._minWeekdaysParse,a))||-1!==(i=pe.call(this._weekdaysParse,a))||-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:null}function ze(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),s=me(this.weekdaysMin(n,"")),i=me(this.weekdaysShort(n,"")),r=me(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function $e(){return this.hours()%12||12}function qe(e,t){C(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Be(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,$e),C("k",["kk",2],0,(function(){return this.hours()||24})),C("hmm",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)})),C("hmmss",0,0,(function(){return""+$e.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)})),C("Hmm",0,0,(function(){return""+this.hours()+T(this.minutes(),2)})),C("Hmmss",0,0,(function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)})),qe("a",!0),qe("A",!1),L("hour","h"),A("hour",13),ce("a",Be),ce("A",Be),ce("H",te),ce("h",te),ce("k",te),ce("HH",te,Q),ce("hh",te,Q),ce("kk",te,Q),ce("hmm",ne),ce("hmmss",se),ce("Hmm",ne),ce("Hmmss",se),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var s=Z(e);t[3]=24===s?0:s})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=Z(e),f(n).bigHour=!0})),ye("hmm",(function(e,t,n){var s=e.length-2;t[3]=Z(e.substr(0,s)),t[4]=Z(e.substr(s)),f(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=Z(e.substr(0,s)),t[4]=Z(e.substr(s,2)),t[5]=Z(e.substr(i)),f(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var s=e.length-2;t[3]=Z(e.substr(0,s)),t[4]=Z(e.substr(s))})),ye("Hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=Z(e.substr(0,s)),t[4]=Z(e.substr(s,2)),t[5]=Z(e.substr(i))}));var Je=z("Hours",!0);var Qe,Xe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:ke,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Ee,weekdaysShort:Ge,meridiemParse:/[ap]\.?m?\.?/i},Ke={},et={};function tt(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n0;){if(s=st(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&tt(i,n)>=t-1)break;t--}r++}return Qe}(e)}function ot(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ve(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,lt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ct=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ft=/^\/?Date\((-?\d+)/i,mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,s,i,r,a,o=e._i,u=ut.exec(o)||lt.exec(o);if(u){for(f(e).iso=!0,t=0,n=dt.length;t7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=Ue(St(),r,a),n=pt(t.gg,e._a[0],l.year),s=pt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r);s<1||s>Fe(n,r,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(o=He(n,s,i,r,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=pt(e._a[0],i[0]),(e._dayOfYear>Ne(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),s=We(a,0,e._dayOfYear),e._a[1]=s.getUTCMonth(),e._a[2]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?We:Re).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],f(e).empty=!0;var t,s,i,r,a,o,u=""+e._i,l=u.length,h=0;for(i=U(e._f,e._locale).match(N)||[],t=0;t0&&f(e).unusedInput.push(a),u=u.slice(u.indexOf(s)+s.length),h+=s.length),W[r]?(s?f(e).empty=!1:f(e).unusedTokens.push(r),we(r,s,e)):e._strict&&!s&&f(e).unusedTokens.push(r);f(e).charsLeftOver=l-h,u.length>0&&f(e).unusedInput.push(u),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(o=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(o,e._a[0])),vt(e),ot(e)}else wt(e);else yt(e)}function Mt(e){var t=e._i,r=e._f;return e._locale=e._locale||at(e._l),null===t||void 0===r&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new p(ot(t)):(l(t)?e._d=t:s(r)?function(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:_()}));function bt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return St();for(n=t[0],i=1;i=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function nn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function sn(e,t){return t.erasAbbrRegex(e)}function rn(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=Fe(e,s,i))&&(t=r),un.call(this,e,t,n,s,i))}function un(e,t,n,s,i){var r=He(e,t,n,s,i),a=We(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),ce("N",sn),ce("NN",sn),ce("NNN",sn),ce("NNNN",(function(e,t){return t.erasNameRegex(e)})),ce("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?f(n).era=i:f(n).invalidEra=e})),ce("y",oe),ce("yy",oe),ce("yyy",oe),ce("yyyy",oe),ce("yo",(function(e,t){return t._eraYearOrdinalRegex||oe})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),C(0,["gg",2],0,(function(){return this.weekYear()%100})),C(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),an("gggg","weekYear"),an("ggggg","weekYear"),an("GGGG","isoWeekYear"),an("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),ce("G",ue),ce("g",ue),ce("GG",te,Q),ce("gg",te,Q),ce("GGGG",re,K),ce("gggg",re,K),ce("GGGGG",ae,ee),ce("ggggg",ae,ee),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=Z(e)})),ge(["gg","GG"],(function(e,t,s,i){t[i]=n.parseTwoDigitYear(e)})),C("Q",0,"Qo","quarter"),L("quarter","Q"),A("quarter",7),ce("Q",J),ye("Q",(function(e,t){t[1]=3*(Z(e)-1)})),C("D",["DD",2],"Do","date"),L("date","D"),A("date",9),ce("D",te),ce("DD",te,Q),ce("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=Z(e.match(te)[0])}));var ln=z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),A("dayOfYear",4),ce("DDD",ie),ce("DDDD",X),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Z(e)})),C("m",["mm",2],0,"minute"),L("minute","m"),A("minute",14),ce("m",te),ce("mm",te,Q),ye(["m","mm"],4);var hn=z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),A("second",15),ce("s",te),ce("ss",te,Q),ye(["s","ss"],5);var dn,cn,fn=z("Seconds",!1);for(C("S",0,0,(function(){return~~(this.millisecond()/100)})),C(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),C(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),C(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),C(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),C(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),C(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),L("millisecond","ms"),A("millisecond",16),ce("S",ie,J),ce("SS",ie,Q),ce("SSS",ie,X),dn="SSSS";dn.length<=9;dn+="S")ce(dn,oe);function mn(e,t){t[6]=Z(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")ye(dn,mn);cn=z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var _n=p.prototype;function yn(e){return e}_n.add=Zt,_n.calendar=function(e,t){1===arguments.length&&(qt(arguments[0])?(e=arguments[0],t=void 0):Bt(arguments[0])&&(t=arguments[0],e=void 0));var s=e||St(),i=Ht(s,this).startOf("day"),r=n.calendarFormat(this,i)||"sameElse",a=t&&(O(t[r])?t[r].call(this,s):t[r]);return this.format(a||this.localeData().calendar(r,this,St(s)))},_n.clone=function(){return new p(this)},_n.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=Ht(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=V(t)){case"year":r=Jt(this,s)/12;break;case"month":r=Jt(this,s);break;case"quarter":r=Jt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:I(r)},_n.endOf=function(e){var t,s;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?nn:tn,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-en(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-en(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-en(t,1e3)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=H(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||St(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(St(),e)},_n.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||St(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(St(),e)},_n.get=function(e){return O(this[e=V(e)])?this[e]():this},_n.invalidAt=function(){return f(this).overflow},_n.isAfter=function(e,t){var n=v(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?H(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",H(n,"Z")):H(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY","-MM-DD[T]HH:mm:ss.SSS",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=Ft,_n.isUTC=Ft,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=M("dates accessor is deprecated. Use date instead.",ln),_n.months=M("months accessor is deprecated. Use month instead",xe),_n.years=M("years accessor is deprecated. Use year instead",Pe),_n.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),_n.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=Mt(t))._a?(e=t._isUTC?c(t._a):St(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=x.prototype;function wn(e,t,n,s){var i=at(),r=c().set(s,t);return i[n](r,e)}function pn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return wn(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=wn(e,s,n,"month");return i}function vn(e,t,n,s){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,r=at(),a=e?r._week.dow:0,o=[];if(null!=n)return wn(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=wn(t,(i+a)%7,s,"day");return o}gn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},gn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=yn,gn.postformat=yn,gn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)r(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gn.eras=function(e,t){var s,i,r,a=this._eras||at("en")._eras;for(s=0,i=a.length;s=0)return u[s]},gn.erasConvertYear=function(e,t){var s=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*s},gn.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||rn.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return r(this,"_erasNameRegex")||rn.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||rn.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[De.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=c([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},gn.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Ye),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=Se),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return Ue(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Le(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?Le(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?Le(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return Ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=c([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Ae),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ie),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",it),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",at);var kn=Math.abs;function Mn(e,t,n,s){var i=Gt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Dn(e){return e<0?Math.floor(e):Math.ceil(e)}function Sn(e){return 4800*e/146097}function Yn(e){return 146097*e/4800}function On(e){return function(){return this.as(e)}}var bn=On("ms"),xn=On("s"),Tn=On("m"),Nn=On("h"),Pn=On("d"),Rn=On("w"),Wn=On("M"),Cn=On("Q"),Hn=On("y");function Un(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fn=Un("milliseconds"),Ln=Un("seconds"),Vn=Un("minutes"),Gn=Un("hours"),En=Un("days"),An=Un("months"),jn=Un("years");var In=Math.round,Zn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function zn(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}var $n=Math.abs;function qn(e){return(e>0)-(e<0)||+e}function Bn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=$n(this._milliseconds)/1e3,l=$n(this._days),h=$n(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=qn(this._months)!==qn(d)?"-":"",a=qn(this._days)!==qn(d)?"-":"",o=qn(this._milliseconds)!==qn(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var Jn=Tt.prototype;return Jn.isValid=function(){return this._isValid},Jn.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},Jn.add=function(e,t){return Mn(this,e,t,1)},Jn.subtract=function(e,t){return Mn(this,e,t,-1)},Jn.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Sn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Yn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},Jn.asMilliseconds=bn,Jn.asSeconds=xn,Jn.asMinutes=Tn,Jn.asHours=Nn,Jn.asDays=Pn,Jn.asWeeks=Rn,Jn.asMonths=Wn,Jn.asQuarters=Cn,Jn.asYears=Hn,Jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},Jn._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*Dn(Yn(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(Sn(a)),a-=Dn(Yn(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},Jn.clone=function(){return Gt(this)},Jn.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},Jn.milliseconds=Fn,Jn.seconds=Ln,Jn.minutes=Vn,Jn.hours=Gn,Jn.days=En,Jn.weeks=function(){return I(this.days()/7)},Jn.months=An,Jn.years=jn,Jn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Zn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Zn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,n,s){var i=Gt(e).abs(),r=In(i.as("s")),a=In(i.as("m")),o=In(i.as("h")),u=In(i.as("d")),l=In(i.as("M")),h=In(i.as("w")),d=In(i.as("y")),c=r<=n.ss&&["s",r]||r0,c[4]=s,zn.apply(null,c)}(this,!i,r,n=this.localeData()),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},Jn.toISOString=Bn,Jn.toString=Bn,Jn.toJSON=Bn,Jn.locale=Qt,Jn.localeData=Kt,Jn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Bn),Jn.lang=Xt,C("X",0,0,"unix"),C("x",0,0,"valueOf"),ce("x",ue),ce("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(Z(e))})), //! moment.js -n.version="2.26.0",e=St,n.fn=_n,n.min=function(){var e=[].slice.call(arguments,0);return bt("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return bt("isAfter",e)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=c,n.unix=function(e){return St(1e3*e)},n.months=function(e,t){return pn(e,t,"months")},n.isDate=l,n.locale=it,n.invalid=_,n.duration=Gt,n.isMoment=v,n.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},n.parseZone=function(){return St.apply(null,arguments).parseZone()},n.localeData=at,n.isDuration=Nt,n.monthsShort=function(e,t){return pn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},n.defineLocale=rt,n.updateLocale=function(e,t){if(null!=t){var n,s,i=Xe;null!=Ke[e]&&null!=Ke[e].parentLocale?Ke[e].set(b(Ke[e]._config,t)):(null!=(s=st(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=Ke[e],Ke[e]=n),it(e)}else null!=Ke[e]&&(null!=Ke[e].parentLocale?(Ke[e]=Ke[e].parentLocale,e===it()&&it(e)):null!=Ke[e]&&delete Ke[e]);return Ke[e]},n.locales=function(){return D(Ke)},n.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},n.normalizeUnits=V,n.relativeTimeRounding=function(e){return void 0===e?In:"function"==typeof e&&(In=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Zn[e]&&(void 0===t?Zn[e]:(Zn[e]=t,"s"===e&&(Zn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=_n,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})); \ No newline at end of file +n.version="2.27.0",e=St,n.fn=_n,n.min=function(){var e=[].slice.call(arguments,0);return bt("isBefore",e)},n.max=function(){var e=[].slice.call(arguments,0);return bt("isAfter",e)},n.now=function(){return Date.now?Date.now():+new Date},n.utc=c,n.unix=function(e){return St(1e3*e)},n.months=function(e,t){return pn(e,t,"months")},n.isDate=l,n.locale=it,n.invalid=_,n.duration=Gt,n.isMoment=v,n.weekdays=function(e,t,n){return vn(e,t,n,"weekdays")},n.parseZone=function(){return St.apply(null,arguments).parseZone()},n.localeData=at,n.isDuration=Nt,n.monthsShort=function(e,t){return pn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return vn(e,t,n,"weekdaysMin")},n.defineLocale=rt,n.updateLocale=function(e,t){if(null!=t){var n,s,i=Xe;null!=Ke[e]&&null!=Ke[e].parentLocale?Ke[e].set(b(Ke[e]._config,t)):(null!=(s=st(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=Ke[e],Ke[e]=n),it(e)}else null!=Ke[e]&&(null!=Ke[e].parentLocale?(Ke[e]=Ke[e].parentLocale,e===it()&&it(e)):null!=Ke[e]&&delete Ke[e]);return Ke[e]},n.locales=function(){return D(Ke)},n.weekdaysShort=function(e,t,n){return vn(e,t,n,"weekdaysShort")},n.normalizeUnits=V,n.relativeTimeRounding=function(e){return void 0===e?In:"function"==typeof e&&(In=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Zn[e]&&(void 0===t?Zn[e]:(Zn[e]=t,"s"===e&&(Zn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=_n,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})); \ No newline at end of file diff --git a/package.json b/package.json index ef228a58..9d50e384 100644 --- a/package.json +++ b/package.json @@ -7,33 +7,33 @@ "dependencies": { "@activix/bootstrap-datetimepicker": "^2.0.7", "@forevolve/bootstrap-dark": "^1.0.0-alpha.1075", - "@fortawesome/fontawesome-free": "^5.12.1", + "@fortawesome/fontawesome-free": "^5.13.1", "ajax-bootstrap-select": "^1.4.5", - "autocompleter": "^6.0.2", - "autoprefixer": "^9.7.4", - "bootstrap": "^4.4.1", + "autocompleter": "^6.0.3", + "autoprefixer": "^9.8.0", + "bootstrap": "^4.5.0", "bootstrap-select": "^1.13.17", "dark-mode-switch": "^1.0.0", - "fullcalendar": "^3.10.1", + "fullcalendar": "^3.10.2", "gulp-if": "^3.0.0", "gulp-rename": "^2.0.0", - "jquery": "^3.4.1", + "jquery": "^3.5.1", "jquery-ui-dist": "^1.12.1", "konami": "^1.6.2", - "moment": "^2.24.0", + "moment": "^2.27.0", "popper.js": "^1.16.1", "raven-js": "^3.27.2" }, "devDependencies": { "browser-sync": "^2.26.7", "gulp": "^4.0.2", - "gulp-clean-css": "^4.2.0", + "gulp-clean-css": "^4.3.0", "gulp-flatten": "^0.4.0", "gulp-postcss": "^8.0.0", - "gulp-sass": "^4.0.2", + "gulp-sass": "^4.1.0", "gulp-sourcemaps": "^2.6.5", "gulp-terser": "^1.2.0", - "node-sass": "^4.13.1" + "node-sass": "^4.14.1" }, "scripts": { "gulp": "gulp" diff --git a/requirements.txt b/requirements.txt index 77cc653c..dd1683e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,26 +1,73 @@ +ansicolors==1.1.8 +asgiref==3.2.10 +backports.tempfile==1.0 +backports.weakref==1.0.post1 +beautifulsoup4==4.9.1 +cachetools==4.1.0 +certifi==2020.4.5.2 +chardet==3.0.4 +configparser==5.0.0 +contextlib2==0.6.0.post1 +coverage==5.1 +cssselect==1.1.0 +cssutils==1.0.2 diff-match-patch==20181111 dj-database-url==0.5.0 dj-static==0.0.6 Django==3.0.7 django-debug-toolbar==2.2 -django-ical==1.7.0 +django-filter==2.3.0 +django-gulp==4.1.0 +django-ical==1.7.1 +django-livereload==1.7 +django-livereload-server==0.3.2 django-recaptcha==2.0.6 +django-recurrence==1.10.3 django-registration-redux==2.8 django-reversion==3.0.7 +django-toolbelt==0.0.1 django-widget-tweaks==1.4.8 +env-tools==2.2.0 gunicorn==20.0.4 icalendar==4.0.6 +idna==2.9 +imgurpython==1.1.7 +importlib-metadata==1.6.1 lxml==4.5.1 +Markdown==3.2.2 +Pillow==7.1.2 +pluggy==0.13.1 premailer==3.7.0 +psutil==5.7.0 +psycopg2==2.8.5 psycopg2-binary==2.8.5 +Pygments==2.6.1 PyPDF2==1.26.0 PyPOM==2.2.0 +python-dateutil==2.8.1 pytz==2020.1 raven==6.10.0 -requests==2.23.0 +reportlab==3.5.42 +requests==2.24.0 selenium==3.141.0 simplejson==3.17.0 -whitenoise==5.0.1 -reportlab==3.5.42 +six==1.15.0 +soupsieve==2.0.1 +sqlparse==0.3.1 +static3==0.7.0 +svg2rlg==0.3 +tini==3.0.1 +tornado==6.0.4 +urllib3==1.25.9 +whitenoise==5.1.0 +yolk==0.4.3 z3c.rml==3.10.0 -imgurpython==1.1.7 +zipp==3.1.0 +zope.component==4.6.1 +zope.deferredimport==4.3.1 +zope.deprecation==4.4.0 +zope.event==4.4 +zope.hookable==5.0.1 +zope.interface==5.1.0 +zope.proxy==4.3.5 +zope.schema==6.0.0