!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=2)}({"/izM":function(t,e){$(document).ready(function(){var t=new Bloodhound({datumTokenizer:Bloodhound.tokenizers.obj.whitespace("value"),queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:"/api/search/%QUERY%",wildcard:"%QUERY%"}});$(".search-form .search-form-input").typeahead(null,{name:"search",display:"value",source:t,limit:40,templates:{empty:['
',"No Results Found","
"].join("\n"),suggestion:function(t){var e=!1;switch(t.type){case"hashtag":e='

'+t.value+'

'+t.count+" posts

";break;case"profile":e='

'+t.name+'

'+t.value+"

";break;case"status":e='

'+t.name+'

'+t.value+"

";break;default:e=!1}if(!1!==e)return e}}})})},"1Fl4":function(t,e){$(document).ready(function(){pixelfed.create={},pixelfed.filters={},pixelfed.create.hasGeneratedSelect=!1,pixelfed.create.selectedFilter=!1,pixelfed.create.currentFilterName=!1,pixelfed.create.currentFilterClass=!1,pixelfed.filters.list=[["1977","filter-1977"],["Aden","filter-aden"],["Amaro","filter-amaro"],["Ashby","filter-ashby"],["Brannan","filter-brannan"],["Brooklyn","filter-brooklyn"],["Charmes","filter-charmes"],["Clarendon","filter-clarendon"],["Crema","filter-crema"],["Dogpatch","filter-dogpatch"],["Earlybird","filter-earlybird"],["Gingham","filter-gingham"],["Ginza","filter-ginza"],["Hefe","filter-hefe"],["Helena","filter-helena"],["Hudson","filter-hudson"],["Inkwell","filter-inkwell"],["Kelvin","filter-kelvin"],["Kuno","filter-juno"],["Lark","filter-lark"],["Lo-Fi","filter-lofi"],["Ludwig","filter-ludwig"],["Maven","filter-maven"],["Mayfair","filter-mayfair"],["Moon","filter-moon"],["Nashville","filter-nashville"],["Perpetua","filter-perpetua"],["Poprocket","filter-poprocket"],["Reyes","filter-reyes"],["Rise","filter-rise"],["Sierra","filter-sierra"],["Skyline","filter-skyline"],["Slumber","filter-slumber"],["Stinson","filter-stinson"],["Sutro","filter-sutro"],["Toaster","filter-toaster"],["Valencia","filter-valencia"],["Vesper","filter-vesper"],["Walden","filter-walden"],["Willow","filter-willow"],["X-Pro II","filter-xpro-ii"]],$(document).on("change","#fileInput",function(){!function(t){if(t.files&&t.files[0]){var e=new FileReader;e.onload=function(t){$(".filterPreview").attr("src",t.target.result)},e.readAsDataURL(t.files[0])}}(this),$("#statusForm .form-filters.d-none").removeClass("d-none"),$("#statusForm .form-preview.d-none").removeClass("d-none"),$("#statusForm #collapsePreview").collapse("show"),pixelfed.create.hasGeneratedSelect||function(){for(var t=pixelfed.filters.list,e=0,n=t.length;e'+r+"";$("#filterSelectDropdown").append(o)}pixelfed.create.hasGeneratedSelect=!0}()}),$(document).on("change","#filterSelectDropdown",function(){var t=$(this),e=t.val(),n=pixelfed.create.currentFilterClass;return"none"==e?($("input[name=filter_class]").val(""),$("input[name=filter_name]").val(""),$(".filterContainer").removeClass(n),pixelfed.create.currentFilterClass=!1,pixelfed.create.currentFilterName="None",void $(".form-group.form-preview .form-text").text("Current Filter: No filter selected")):($(".filterContainer").removeClass(n).addClass(e),pixelfed.create.currentFilterClass=e,pixelfed.create.currentFilterName=t.find(":selected").text(),$(".form-group.form-preview .form-text").text("Current Filter: "+pixelfed.create.currentFilterName),$("input[name=filter_class]").val(pixelfed.create.currentFilterClass),void $("input[name=filter_name]").val(pixelfed.create.currentFilterName))}),$(document).on("keyup keydown","#statusForm textarea[name=caption]",function(){var t=$(this),e=t.val().length,n=t.data("limit");if(e>n){var i=n-e;$("#statusForm .caption-counter").text(i).addClass("text-danger")}else $("#statusForm .caption-counter").text(e).removeClass("text-danger")}),$(document).on("focus","#statusForm textarea[name=caption]",function(){$(this).attr("rows","3")})})},2:function(t,e,n){t.exports=n("9rzN")},"2Jpm":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",[n("details",{staticClass:"details-animated"},[n("summary",[n("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),n("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),n("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])])]):n("div",{staticClass:"embed-responsive embed-responsive-16by9"},[n("video",{staticClass:"video",attrs:{preload:"none",controls:"",loop:""}},[n("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},[],!1,null,null,null);e.default=o.exports},"4Toj":function(t,e,n){var i=n("54Wo");t.exports=function(t,e){var n=i(t,e)/1e3;return n>0?Math.floor(n):Math.ceil(n)}},"4Wae":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=9)}([function(t,e,n){var i=n(6);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("09280948",i,!0,{})},function(t,e,n){var i=n(8);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n(3).default)("65938a1f",i,!0,{})},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n,i=t[1]||"",r=t[3];if(!r)return i;if(e&&"function"==typeof btoa){var o=(n=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[i].concat(a).concat([o]).join("\n")}return[i].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;rn.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r',"\nscript:\n...\ninfiniteHandler($state) {\n ajax('https://www.example.com/api/news')\n .then((res) => {\n if (res.data.length) {\n $state.loaded();\n } else {\n $state.complete();\n }\n });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},a={INFINITE_LOOP:["executed the callback function more than ".concat(i.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n
\n ...\n \x3c!-- set force-use-infinite-wrapper --\x3e\n \n
\nor\n
\n ...\n \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n \n
\n ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},l={color:"#666",fontSize:"14px",padding:"10px 0"},c={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:i,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:o,ERRORS:a,STATUS:s},u=n(4),d=n.n(u),f={BUBBLES:{render:function(t){return t("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map(function(){return t("span",{attrs:{class:"bubble-item"}})}))}},CIRCLES:{render:function(t){return t("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map(function(){return t("span",{attrs:{class:"circle-item"}})}))}},DEFAULT:{render:function(t){return t("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(t){return t("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(t){return t("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map(function(){return t("span",{attrs:{class:"wave-item"}})}))}}};function p(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}var h=p({name:"Spinner",computed:{spinnerView:function(){return f[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return c.slots.spinner&&"string"==typeof c.slots.spinner?{render:function(){return this._v(c.slots.spinner)}}:"object"===d()(c.slots.spinner)?c.slots.spinner:f[c.props.spinner.toUpperCase()]||f.DEFAULT}}},function(){var t=this.$createElement;return(this._self._c||t)(this.spinnerView,{tag:"component"})},[],!1,function(t){var e=n(5);e.__inject__&&e.__inject__(t)},"46b20d22",null);h.options.__file="Spinner.vue";var m=h.exports;function v(t){"production"!==c.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(t))}var g={timers:[],caches:[],throttle:function(t){var e=this;-1===this.caches.indexOf(t)&&(this.caches.push(t),this.timers.push(setTimeout(function(){t(),e.caches.splice(e.caches.indexOf(t),1),e.timers.shift()},c.system.throttleLimit)))},reset:function(){this.timers.forEach(function(t){clearTimeout(t)}),this.timers.length=0,this.caches=[]}},b={isChecked:!1,timer:null,times:0,track:function(){var t=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout(function(){t.isChecked=!0},c.system.loopCheckTimeout),this.times>c.system.loopCheckMaxCalls&&(function(t){console.error("[Vue-infinite-loading error]: ".concat(t))}(a.INFINITE_LOOP),this.isChecked=!0)}},y={key:"_infiniteScrollHeight",getScrollElm:function(t){return t===window?document.documentElement:t},save:function(t){var e=this.getScrollElm(t);e[this.key]=e.scrollHeight},restore:function(t){var e=this.getScrollElm(t);"number"==typeof e[this.key]&&(e.scrollTop=e.scrollHeight-e[this.key]+e.scrollTop),this.remove(e)},remove:function(t){void 0!==t[this.key]&&delete t[this.key]}};function w(t){return t.offsetWidth+t.offsetHeight>0}var _=p({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:c.slots}},components:{Spinner:m},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var t=this,e={};return Object.keys(c.slots).forEach(function(n){var i=function(t){return t.replace(/[A-Z]/g,function(t){return"-".concat(t.toLowerCase())})}(n);(!t.$slots[i]&&!c.slots[n].render||t.$slots[i]&&!t.$slots[i][0].tag)&&(e[n]=l)}),e}},props:{distance:{type:Number,default:c.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:c.props.forceUseInfiniteWrapper},identifier:{default:+new Date},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var t=this;this.$watch("forceUseInfiniteWrapper",function(){t.scrollParent=t.getScrollParent()},{immediate:!0}),this.scrollHandler=function(t){this.status===s.READY&&(t&&t.constructor===Event&&w(this.$el)?g.throttle(this.attemptLoad):this.attemptLoad())}.bind(this),setTimeout(this.scrollHandler,1),this.scrollParent.addEventListener("scroll",this.scrollHandler,r),this.$on("$InfiniteLoading:loaded",function(e){t.isFirstLoad=!1,"top"===t.direction&&t.$nextTick(function(){y.restore(t.scrollParent)}),t.status===s.LOADING&&t.$nextTick(t.attemptLoad.bind(null,!0)),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:complete",function(e){t.status=s.COMPLETE,t.$nextTick(function(){t.$forceUpdate()}),t.scrollParent.removeEventListener("scroll",t.scrollHandler,r),e&&e.target===t||v(o.STATE_CHANGER)}),this.$on("$InfiniteLoading:reset",function(e){t.status=s.READY,t.isFirstLoad=!0,y.remove(t.scrollParent),t.scrollParent.addEventListener("scroll",t.scrollHandler,r),setTimeout(function(){g.reset(),t.scrollHandler()},1),e&&e.target===t||v(o.IDENTIFIER)}),this.stateChanger={loaded:function(){t.$emit("$InfiniteLoading:loaded",{target:t})},complete:function(){t.$emit("$InfiniteLoading:complete",{target:t})},reset:function(){t.$emit("$InfiniteLoading:reset",{target:t})},error:function(){t.status=s.ERROR,g.reset()}},this.onInfinite&&v(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,r)},methods:{attemptLoad:function(t){var e=this;this.status!==s.COMPLETE&&w(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick(function(){y.save(e.scrollParent)}),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!t||this.forceUseInfiniteWrapper||b.isChecked||b.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){return"top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom)},getScrollParent:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(t=e.querySelector(this.forceUseInfiniteWrapper)),t||("BODY"===e.tagName?t=window:!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(e).overflowY)>-1?t=e:(e.hasAttribute("infinite-wrapper")||e.hasAttribute("data-infinite-wrapper"))&&(t=e)),t||this.getScrollParent(e.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(g.reset(),y.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,r))}},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:t.slotStyles.spinner},[t._t("spinner",[n("spinner",{attrs:{spinner:t.spinner}})])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noResults},[t._t("no-results",[t.slots.noResults.render?n(t.slots.noResults,{tag:"component"}):[t._v(t._s(t.slots.noResults))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:t.slotStyles.noMore},[t._t("no-more",[t.slots.noMore.render?n(t.slots.noMore,{tag:"component"}):[t._v(t._s(t.slots.noMore))]])],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:t.slotStyles.error},[t._t("error",[t.slots.error.render?n(t.slots.error,{tag:"component",attrs:{trigger:t.attemptLoad}}):[t._v("\n "+t._s(t.slots.error)+"\n "),n("br"),t._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:t._s(t.slots.errorBtnText)},on:{click:t.attemptLoad}})]],{trigger:t.attemptLoad})],2)])},[],!1,function(t){var e=n(7);e.__inject__&&e.__inject__(t)},"358985eb",null);_.options.__file="InfiniteLoading.vue";var k=_.exports;function x(t){c.mode=t.config.productionTip?"development":"production"}Object.defineProperty(k,"install",{configurable:!1,enumerable:!1,value:function(t,e){Object.assign(c.props,e&&e.props),Object.assign(c.slots,e&&e.slots),Object.assign(c.system,e&&e.system),t.component("infinite-loading",k),x(t)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",k),x(window.Vue)),e.default=k}])},"4zuO":function(t,e){$(document).ready(function(){$(".status-card > .card-footer").each(function(){$(this).addClass("d-none")}),$(document).on("click",".status-comment-focus",function(t){$(this).parents().eq(2).find(".card-footer").removeClass("d-none"),$(this).parents().eq(2).find('input[name="comment"]').focus()}),$(document).on("submit",".comment-form",function(t,e){t.preventDefault();var n=$(this),i=n.data("id"),r=n.find('input[name="comment"]'),o={item:i,comment:r.val()};r.prop("disabled",!0),axios.post("/i/comment",o).then(function(t){var e=t.data.username,i=(t.data.url,t.data.profile),o=t.data.comment;if(1==$(".status-container").length)var a=n.parents().eq(3).find(".comments");else a=n.parents().eq(1).find(".comments");var s='

'+e+''+o+"

";a.prepend(s),r.val(""),r.blur(),r.prop("disabled",!1)}).catch(function(t){})})})},"54Wo":function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return n.getTime()-r.getTime()}},"5JIG":function(t,e){window.ls={},window.ls.get=function(t){return JSON.parse(localStorage.getItem(t))},window.ls.set=function(t,e){try{return localStorage.setItem(t,JSON.stringify(e)),!0}catch(t){return!1}},window.ls.del=function(t){try{return localStorage.removeItem(t),!0}catch(t){return!1}},window.ls.clear=function(){try{return localStorage.clear(),!0}catch(t){return!1}}},"6DAA":function(t,e,n){var i=n("kOWh");t.exports=function(){var t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],r=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],s=["am","pm"],l=["a.m.","p.m."],c={MMM:function(e){return t[e.getMonth()]},MMMM:function(t){return e[t.getMonth()]},dd:function(t){return n[t.getDay()]},ddd:function(t){return r[t.getDay()]},dddd:function(t){return o[t.getDay()]},A:function(t){return t.getHours()/12>=1?a[1]:a[0]},a:function(t){return t.getHours()/12>=1?s[1]:s[0]},aa:function(t){return t.getHours()/12>=1?l[1]:l[0]}};return["M","D","DDD","d","Q","W"].forEach(function(t){c[t+"o"]=function(e,n){return function(t){var e=t%100;if(e>20||e<10)switch(e%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"}(n[t](e))}}),{formatters:c,formattingTokensRegExp:i(c)}}},"8L3F":function(t,e,n){"use strict";n.r(e),function(t){for(var n="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Trident","Firefox"],r=0,o=0;o=0){r=1;break}var a=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function s(t){return t&&"[object Function]"==={}.toString.call(t)}function l(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function u(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=l(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:u(c(t))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?d:10===t?f:d||f}function h(t){if(!t)return document.documentElement;for(var e=p(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===l(n,"position")?h(n):n:t?t.ownerDocument.documentElement:document.documentElement}function m(t){return null!==t.parentNode?m(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,r=n?e:t,o=document.createRange();o.setStart(i,0),o.setEnd(r,0);var a,s,l=o.commonAncestorContainer;if(t!==l&&e!==l||i.contains(r))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(t);return c.host?v(c.host,e):v(t,m(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function b(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function y(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],p(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,i=p(10)&&getComputedStyle(n);return{height:y("Height",e,n,i),width:y("Width",e,n,i)}}var _=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},k=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=p(10),r="HTML"===e.nodeName,o=S(t),a=S(e),s=u(t),c=l(e),d=parseFloat(c.borderTopWidth,10),f=parseFloat(c.borderLeftWidth,10);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=T({top:o.top-a.top-d,left:o.left-a.left-f,width:o.width,height:o.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var m=parseFloat(c.marginTop,10),v=parseFloat(c.marginLeft,10);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(i&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),r=g(e,"left"),o=n?-1:1;return t.top+=i*o,t.bottom+=i*o,t.left+=r*o,t.right+=r*o,t}(h,e)),h}function E(t){if(!t||!t.parentElement||p())return document.documentElement;for(var e=t.parentElement;e&&"none"===l(e,"transform");)e=e.parentElement;return e||document.documentElement}function O(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=r?E(t):v(t,e);if("viewport"===i)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=$(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return T({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:r,height:o})}(a,r);else{var s=void 0;"scrollParent"===i?"BODY"===(s=u(c(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===i?t.ownerDocument.documentElement:i;var d=$(s,a,r);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===l(e,"position")||t(c(e)))}(a))o=d;else{var f=w(t.ownerDocument),p=f.height,h=f.width;o.top+=d.top-d.marginTop,o.bottom=p+d.top,o.left+=d.left-d.marginLeft,o.right=h+d.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function A(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=O(n,i,o,r),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(s).map(function(t){return C({key:t},s[t],{area:(e=s[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function P(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return $(n,i?E(e):v(e,n),i)}function L(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function B(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function I(t,e,n){n=n.split("-")[0];var i=L(t),r={width:i.width,height:i.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",l=o?"height":"width",c=o?"width":"height";return r[a]=e[a]+e[l]/2-i[l]/2,r[s]=n===s?e[s]-i[c]:e[B(s)],r}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function M(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=N(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&s(n)&&(e.offsets.popper=T(e.offsets.popper),e.offsets.reference=T(e.offsets.reference),e=n(e,t))}),e}function j(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=G.indexOf(t),i=G.slice(n+1).concat(G.slice(0,n));return e?i.reverse():i}var K={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function X(t,e,n,i){var r=[0,0],o=-1!==["right","left"].indexOf(i),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(N(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(t,i){var r=(1===i?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+r[1],a=r[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return T(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,r,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){H(n)&&(r[e]+=n*("-"===t[i-1]?-1:1))})}),r}var J={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets,o=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:x({},l,o[l]),end:x({},l,o[l]+o[c]-a[c])};t.offsets.popper=C({},a,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,r=t.offsets,o=r.popper,a=r.reference,s=i.split("-")[0],l=void 0;return l=H(+n)?[+n,0]:X(n,o,a,s),"left"===s?(o.top+=l[0],o.left-=l[1]):"right"===s?(o.top+=l[0],o.left+=l[1]):"top"===s?(o.left+=l[0],o.top-=l[1]):"bottom"===s&&(o.left+=l[0],o.top+=l[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var i=F("transform"),r=t.instance.popper.style,o=r.top,a=r.left,s=r[i];r.top="",r.left="",r[i]="";var l=O(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=o,r.left=a,r[i]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),x({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=C({},u,d[e](t))}),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,r=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]o(i[s])&&(t.offsets.popper[l]=o(i[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!W(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(r),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=L(i)[u];s[h]-ma[h]&&(t.offsets.popper[f]+=s[f]+m-a[h]),t.offsets.popper=T(t.offsets.popper);var v=s[f]+s[u]/2-m/2,g=l(t.instance.popper),b=parseFloat(g["margin"+d],10),y=parseFloat(g["border"+d+"Width"],10),w=v-t.offsets.popper[f]-b-y;return w=Math.max(Math.min(a[u]-m,w),0),t.arrowElement=i,t.offsets.arrow=(x(n={},f,Math.round(w)),x(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(j(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=O(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],r=B(i),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case K.FLIP:a=[i,r];break;case K.CLOCKWISE:a=Y(i);break;case K.COUNTERCLOCKWISE:a=Y(i,!0);break;default:a=e.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return t;i=t.placement.split("-")[0],r=B(i);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,f="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)d(u.top)||"bottom"===i&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),g="left"===i&&p||"right"===i&&h||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===o&&p||b&&"end"===o&&h||!b&&"start"===o&&m||!b&&"end"===o&&v);(f||g||y)&&(t.flipped=!0,(f||g)&&(i=a[l+1]),y&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=i+(o?"-"+o:""),t.offsets.popper=C({},t.offsets.popper,I(t.instance.popper,t.offsets.reference,t.placement)),t=M(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,r=i.popper,o=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=o[n]-(s?r[a?"width":"height"]:0),t.placement=B(e),t.offsets.popper=T(r),t}},hide:{order:800,enabled:!0,fn:function(t){if(!W(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=a(this.update.bind(this)),this.options=C({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return C({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&s(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return k(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=A(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=M(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=R(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();Z.Utils=("undefined"!=typeof window?window:t).PopperUtils,Z.placements=q,Z.Defaults=J,e.default=Z}.call(this,n("yLpj"))},"8oxB":function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d1)for(var n=1;nRead more',lessLink:'Hide'})})};try{document.createEvent("TouchEvent"),$("body").addClass("touch")}catch(t){}window.filesize=n("SdWe"),window.Plyr=n("T7iU"),n("5JIG"),n("4zuO"),n("/izM"),n("Pva4"),n("1Fl4"),window.pixelfed.n={},Vue.component("photo-presenter",n("d+I4").default),Vue.component("video-presenter",n("2Jpm").default),Vue.component("photo-album-presenter",n("Mrqh").default),Vue.component("video-album-presenter",n("9wGH").default),Vue.component("mixed-album-presenter",n("exej").default),Vue.component("post-menu",n("yric").default),Vue.component("passport-clients",n("MrZN").default),Vue.component("passport-authorized-clients",n("Dpv2").default),Vue.component("passport-personal-access-tokens",n("yx5A").default),$(document).ready(function(){$(function(){$('[data-toggle="tooltip"]').tooltip()})});console.log("%cStop!","color:red; font-size:60px; font-weight: bold; -webkit-text-stroke: 1px black;"),console.log('%cThis is a browser feature intended for developers. If someone told you to copy and paste something here to enable a Pixelfed feature or "hack" someone\'s account, it is a scam and will give them access to your Pixelfed account.',"font-size: 18px;")},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,i=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r,o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?t:(r=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:i+o.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},"9wGH":function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",[n("details",{staticClass:"details-animated"},[n("summary",[n("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),n("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,function(t,e){return n("b-carousel-slide",{key:t.id+"-media"},[n("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])}),1)],1)]):n("div",[n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:t.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,function(t,e){return n("b-carousel-slide",{key:t.id+"-media"},[n("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[n("source",{attrs:{src:t.url,type:t.mime}})])])}),1)],1)},[],!1,null,null,null);e.default=o.exports},AIiG:function(t,e,n){"use strict";var i=n("kPV1");n.n(i).a},DMLf:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'/* Special styling for type=range and type=color input */\ninput.form-control[type="range"],\ninput.form-control[type="color"] {\n height: 2.25rem;\n}\ninput.form-control.form-control-sm[type="range"],\ninput.form-control.form-control-sm[type="color"] {\n height: 1.9375rem;\n}\ninput.form-control.form-control-lg[type="range"],\ninput.form-control.form-control-lg[type="color"] {\n height: 3rem;\n}\n\n/* Less padding on type=color */\ninput.form-control[type="color"] {\n padding: 0.25rem 0.25rem;\n}\ninput.form-control.form-control-sm[type="color"] {\n padding: 0.125rem 0.125rem;\n}\n',""])},DT56:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),r=i(e).getTime();return nr?1:0}},Dpv2:function(t,e,n){"use strict";n.r(e);var i={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;axios.get("/oauth/tokens").then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;axios.delete("/oauth/tokens/"+t.id).then(function(t){e.getTokens()})}}},r=(n("hk+O"),n("KHd+")),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"card-body"},[n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}),0)])])])]):t._e()])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th")])])}],!1,null,"1b737fda",null);e.default=o.exports},F809:function(t,e,n){var i=n("yNUO"),r=n("sunR"),o=n("DT56");t.exports=function(t,e){var n=i(t),a=i(e),s=o(n,a),l=Math.abs(r(n,a));return n.setMonth(n.getMonth()-s*l),s*(l-(o(n,a)===-s))}},GUC0:function(t,e,n){(function(e,n){t.exports=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:i,CONFIRM_BUTTON:i+"--confirm",CANCEL_BUTTON:i+"--cancel",DANGER_BUTTON:i+"--danger",BUTTON_LOADING:i+"--loading",BUTTON_LOADER:i+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw"SweetAlert: "+(t=(t=t.replace(/ +(?= )/g,"")).trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function i(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),i(n(25));var r=n(26);e.overlayMarkup=r.default,i(n(27)),i(n(28)),i(n(29));var o=n(0),a=o.default.MODAL_TITLE,s=o.default.MODAL_TEXT,l=o.default.ICON,c=o.default.FOOTER;e.iconMarkup='\n
',e.titleMarkup='\n
\n',e.textMarkup='\n
',e.footerMarkup='\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var r={visible:!0,text:null,value:null,className:"",closeModal:!0},o=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:o,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return o;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{text:n,value:t})}},l=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):i.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},c=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},o,{visible:!1});break;case 2:n[e.CANCEL_KEY]=l(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t[1]);break;default:i.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=l(e.CONFIRM_KEY,t):Array.isArray(t)?n=c(t):i.isPlainObject(t)?n=function(t){for(var e={},n=0,i=Object.keys(t);n=0&&g.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),o(t,e),e}function l(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),o(t,e),e}function c(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function u(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o=e.transform(t.css)))return function(){};t.css=o}if(e.singleton){var c=v++;n=m||(m=s(e)),i=d.bind(null,n,c,!1),r=d.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=b(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),i=function(t,e){var n=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){a(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}function d(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var f={},p=function(t){var e;return function(){return void 0===e&&(e=function(){return window&&document&&document.all&&!window.atob}.apply(this,arguments)),e}}(),h=function(t){var e={};return function(t){return void 0===e[t]&&(e[t]=function(t){return document.querySelector(t)}.call(this,t)),e[t]}}(),m=null,v=0,g=[],b=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=p()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return i(n,e),function(t){for(var o=[],a=0;athis.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var r=0|e,o=Math.max(r>=0?r:i-Math.abs(r),0);o=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(19),i.setImmediate=e,i.clearImmediate=n},function(t,e,n){(function(t,e){!function(t,n){"use strict";function i(t){delete s[t]}function r(t){if(l)setTimeout(r,0,t);else{var e=s[t];if(e){l=!0;try{!function(t){var e=t.callback,i=t.args;switch(i.length){case 0:e();break;case 1:e(i[0]);break;case 2:e(i[0],i[1]);break;case 3:e(i[0],i[1],i[2]);break;default:e.apply(n,i)}}(e)}finally{i(t),l=!1}}}}if(!t.setImmediate){var o,a=1,s={},l=!1,c=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){r(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&r(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){r(t.data)},o=function(e){t.port2.postMessage(e)}}():c&&"onreadystatechange"in c.createElement("script")?function(){var t=c.documentElement;o=function(e){var n=c.createElement("script");n.onreadystatechange=function(){r(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(r,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.OVERLAY,o='
\n
';e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n
\n \n \n
\n '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n \n \n \n '},e.successIconMarkup=function(){var t=r+"--success";return'\n \n \n\n
\n
\n '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.CONTENT;e.contentMarkup='\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=i.default.BUTTON_CONTAINER,o=i.default.BUTTON,a=i.default.BUTTON_LOADER;e.buttonMarkup='\n
\n\n \n\n
\n
\n
\n
\n
\n\n
\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(4),r=n(2),o=n(0),a=o.default.ICON,s=o.default.ICON_CUSTOM,l=["error","warning","success","info"],c={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()};e.default=function(t){if(t){var e=i.injectElIntoModal(r.iconMarkup);l.includes(t)?function(t,e){var n=a+"--"+t;e.classList.add(n);var i=c[t];i&&(e.innerHTML=i)}(t,e):function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)}(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),r=n(4),o=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(i.titleMarkup);e.textContent=t,o(e)}},e.initText=function(t){if(t){var e=document.createDocumentFragment();t.split("\n").forEach(function(t,n,i){e.appendChild(document.createTextNode(t)),n0}).forEach(function(t){m.classList.add(t)}),n&&t===l.CONFIRM_KEY&&m.classList.add(s),m.textContent=r;var g={};return g[t]=o,d.setActionValue(g),d.setActionOptionsFor(t,{closeModal:p}),m.addEventListener("click",function(){return u.onAction(t)}),h};e.default=function(t,e){var n=r.injectElIntoModal(c.footerMarkup);for(var i in t){var o=t[i],a=f(i,o,e);o.visible&&n.appendChild(a)}0===n.children.length&&n.remove()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(3),r=n(4),o=n(2),a=n(5),s=n(6),l=n(0),c=l.default.CONTENT,u=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),t.addEventListener("keyup",function(t){if("Enter"===t.key)return s.onAction(i.CONFIRM_KEY)}),setTimeout(function(){t.focus(),a.setActionValue("")},0)};e.default=function(t){if(t){var e=r.injectElIntoModal(o.contentMarkup),n=t.element,i=t.attributes;"string"==typeof n?function(t,e,n){var i=document.createElement(e),r=c+"__"+e;for(var o in i.classList.add(r),n){var a=n[o];i[o]=a}"input"===e&&u(i),t.appendChild(i)}(e,n,i):e.appendChild(n)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(2);e.default=function(){var t=i.stringToNode(r.overlayMarkup);document.body.appendChild(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(5),r=n(6),o=n(1),a=n(3),s=n(0),l=s.default.MODAL,c=s.default.BUTTON,u=s.default.OVERLAY,d=function(t){if(i.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},f=function(t){if(i.default.isOpen)switch(t.key){case"Tab":return function(t){t.preventDefault(),h()}(t)}},p=function(t){if(i.default.isOpen)return"Tab"===t.key&&t.shiftKey?function(t){t.preventDefault(),m()}(t):void 0},h=function(){var t=o.getNode(c);t&&(t.tabIndex=0,t.focus())},m=function(){var t=o.getNode(l),e=t.querySelectorAll("."+c),n=e.length-1,i=e[n];i&&i.focus()},v=function(){var t=o.getNode(l),e=t.querySelectorAll("."+c);e.length&&(function(t){t[t.length-1].addEventListener("keydown",f)}(e),function(t){t[0].addEventListener("keydown",p)}(e))},g=function(t){if(o.getNode(u)===t.target)return r.onAction(a.CANCEL_KEY)};e.default=function(t){t.closeOnEsc?document.addEventListener("keyup",d):document.removeEventListener("keyup",d),t.dangerMode?h():m(),v(),function(t){var e=o.getNode(u);e.removeEventListener("click",g),t&&e.addEventListener("click",g)}(t.closeOnClickOutside),function(t){i.default.timer&&clearTimeout(i.default.timer),t&&(i.default.timer=window.setTimeout(function(){return r.onAction(a.CANCEL_KEY)},t))}(t.timer)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(3),o=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},l=Object.assign({},s);e.setDefaults=function(t){l=Object.assign({},s,t)};var c=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&i.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},u=function(t){return i.ordinalSuffixOf(t+1)},d=function(t,e){i.throwErr(u(e)+" argument ('"+t+"') is invalid")},f=function(t,e){var n=t+1,r=e[n];i.isPlainObject(r)||void 0===r||i.throwErr("Expected "+u(n)+" argument ('"+r+"') to be a plain object")},p=function(t,e,n,r){var o=typeof e,a="string"===o,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return f(n,r),{icon:e};d(e,n)}else{if(s&&0===n)return f(n,r),{content:e};if(i.isPlainObject(e))return function(t,e){var n=t+1,r=e[n];void 0!==r&&i.throwErr("Unexpected "+u(n)+" argument ("+r+")")}(n,r),e;d(e,n)}};e.getOpts=function(){for(var t=[],e=0;e .input-group-prepend > .b-dropdown > .btn,\n.input-group > .input-group-append:not(:last-child) > .b-dropdown > .btn,\n.input-group > .input-group-append:last-child > .b-dropdown:not(:last-child):not(.dropdown-toggle) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group > .input-group-append > .b-dropdown > .btn,\n.input-group > .input-group-prepend:not(:first-child) > .b-dropdown > .btn,\n.input-group > .input-group-prepend:first-child > .b-dropdown:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n",""])},LCiz:function(t,e,n){var i=n("KLJs");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},LZbM:function(t,e){t.exports=function(){var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:function(e,n,i){var r;return i=i||{},r="string"==typeof t[e]?t[e]:1===n?t[e].one:t[e].other.replace("{{count}}",n),i.addSuffix?i.comparison>0?"in "+r:r+" ago":r}}}},LkTU:function(t,e,n){var i=n("zvoo");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},Mnyw:function(t,e,n){var i=n("iBYA");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},MrZN:function(t,e,n){"use strict";n.r(e);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;axios.get("/oauth/clients").then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put","/oauth/clients/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,r){var o=this;n.errors=[],axios[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(r).modal("hide")}).catch(function(t){"object"===i(t.response.data)?n.errors=_.flatten(_.toArray(t.response.data.errors)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;axios.delete("/oauth/clients/"+t.id).then(function(t){e.getClients()})}}},o=(n("AIiG"),n("KHd+")),a=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.clients.length?n("p",{staticClass:"mb-0 font-weight-bold text-center lead p-5"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-secondary btn-sm py-1",attrs:{tabindex:"-1"},on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"btn btn-outline-danger btn-sm py-1",attrs:{href:""},on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text",autocomplete:"off"},domProps:{value:t.createForm.name},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.store(e):null},input:function(e){e.target.composing||t.$set(t.createForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),t._m(3),t._v(" "),t._m(4),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.store(e):null},input:function(e){e.target.composing||t.$set(t.createForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])]),t._v(" "),t._m(5)])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary font-weight-bold",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(6),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(7),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text"},domProps:{value:t.editForm.name},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.update(e):null},input:function(e){e.target.composing||t.$set(t.editForm,"name",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.update(e):null},input:function(e){e.target.composing||t.$set(t.editForm,"redirect",e.target.value)}}}),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Client ID")]),this._v(" "),e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Secret")]),this._v(" "),e("th"),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Description")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("textarea",{staticClass:"form-control",attrs:{rows:"3"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n A brief description of your app\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form-group row"},[e("label",{staticClass:"col-md-3 col-form-label"},[this._v("Website")]),this._v(" "),e("div",{staticClass:"col-md-9"},[e("input",{staticClass:"form-control",attrs:{type:"text",autocomplete:"off"}}),this._v(" "),e("span",{staticClass:"form-text text-muted"},[this._v("\n Your website url\n ")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-3 col-form-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-9"},[n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch1"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}},[t._v("Read")])]),t._v(" "),n("div",{staticClass:"custom-control custom-switch"},[n("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",id:"customSwitch2"}}),t._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}},[t._v("Write")])]),t._v(" "),n("span",{staticClass:"form-text text-muted"},[t._v("\n Your application's scopes.\n ")])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}],!1,null,"d71fe564",null);e.default=a.exports},Mrqh:function(t,e,n){"use strict";n.r(e);var i={props:["status"]},r=n("KHd+"),o=Object(r.a)(i,function(){var t=this,e=t.$createElement,n=t._self._c||e;return 1==t.status.sensitive?n("div",[n("details",{staticClass:"details-animated"},[n("summary",[n("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),n("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{id:t.status.id+"-carousel",controls:"",indicators:"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,function(t,e){return n("b-carousel-slide",{key:t.id},[n("img",{staticClass:"d-block img-fluid w-100",attrs:{slot:"img",src:t.url,alt:t.description,title:t.description},slot:"img"})])}),1)],1)]):n("div",[n("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{id:t.status.id+"-carousel",controls:"",indicators:"",background:"#ffffff",interval:0}},t._l(t.status.media_attachments,function(t,e){return n("b-carousel-slide",{key:t.id},[n("img",{staticClass:"d-block img-fluid w-100",attrs:{slot:"img",src:t.url,alt:t.description,title:t.description},slot:"img"})])}),1)],1)},[],!1,null,null,null);e.default=o.exports},NmtT:function(t,e,n){var i=n("yHON"),r=n("yNUO"),o=n("4Toj"),a=n("F809"),s=n("Us+F"),l=1440,c=2520,u=43200,d=86400;t.exports=function(t,e,n){var f=n||{},p=i(t,e),h=f.locale,m=s.distanceInWords.localize;h&&h.distanceInWords&&h.distanceInWords.localize&&(m=h.distanceInWords.localize);var v,g,b={addSuffix:Boolean(f.addSuffix),comparison:p};p>0?(v=r(t),g=r(e)):(v=r(e),g=r(t));var y,w=o(g,v),_=g.getTimezoneOffset()-v.getTimezoneOffset(),k=Math.round(w/60)-_;if(k<2)return f.includeSeconds?w<5?m("lessThanXSeconds",5,b):w<10?m("lessThanXSeconds",10,b):w<20?m("lessThanXSeconds",20,b):w<40?m("halfAMinute",null,b):m(w<60?"lessThanXMinutes":"xMinutes",1,b):0===k?m("lessThanXMinutes",1,b):m("xMinutes",k,b);if(k<45)return m("xMinutes",k,b);if(k<90)return m("aboutXHours",1,b);if(k1&&void 0!==arguments[1]?arguments[1]:{},b=[],y=0,w=void 0,_=void 0;if(isNaN(t))throw new Error("Invalid arguments");return o=!0===g.bits,f=!0===g.unix,e=g.base||2,d=void 0!==g.round?g.round:f?1:2,p=void 0!==g.separator&&g.separator||"",h=void 0!==g.spacer?g.spacer:f?"":" ",v=g.symbols||g.suffixes||{},m=2===e&&g.standard||"jedec",u=g.output||"string",s=!0===g.fullform,l=g.fullforms instanceof Array?g.fullforms:[],w=void 0!==g.exponent?g.exponent:-1,a=e>2?1e3:1024,(c=(_=Number(t))<0)&&(_=-_),(-1===w||isNaN(w))&&(w=Math.floor(Math.log(_)/Math.log(a)))<0&&(w=0),w>8&&(w=8),0===_?(b[0]=0,b[1]=f?"":i[m][o?"bits":"bytes"][w]):(y=_/(2===e?Math.pow(2,10*w):Math.pow(1e3,w)),o&&(y*=8)>=a&&w<8&&(y/=a,w++),b[0]=Number(y.toFixed(w>0?d:0)),b[1]=10===e&&1===w?o?"kb":"kB":i[m][o?"bits":"bytes"][w],f&&(b[1]="jedec"===m?b[1].charAt(0):w>0?b[1].replace(/B$/,""):b[1],n.test(b[1])&&(b[0]=Math.floor(b[0]),b[1]=""))),c&&(b[0]=-b[0]),b[1]=v[b[1]]||b[1],"array"===u?b:"exponent"===u?w:"object"===u?{value:b[0],suffix:b[1],symbol:b[1]}:(s&&(b[1]=l[w]?l[w]:r[m][w]+(o?"bit":"byte")+(1===b[0]?"":"s")),p.length>0&&(b[0]=b[0].toString().replace(".",p)),b.join(h))}o.partial=function(t){return function(e){return o(e,t)}},t.exports=o}("undefined"!=typeof window&&window)}).call(this,n("yLpj"))},T7iU:function(t,e,n){(function(e){"object"==typeof navigator&&(t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n3&&void 0!==arguments[3]&&arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!h.empty(e)&&h.function(n)){var s=e.split(" "),l=a;m&&(l={passive:o,capture:a}),s.forEach(function(e){i&&i.eventListeners&&r&&i.eventListeners.push({element:t,type:e,callback:n,options:l}),t[r?"addEventListener":"removeEventListener"](e,n,l)})}}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,t,e,n,!0,i,r)}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,t,e,n,!1,i,r)}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];v.call(this,t,e,function o(){b(t,e,o,i,r);for(var a=arguments.length,s=new Array(a),l=0;l1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(h.element(t)&&!h.empty(e)){var r=new CustomEvent(e,{bubbles:n,detail:Object.assign({},i,{plyr:this})});t.dispatchEvent(r)}}function _(t,e){var n=t.length?t:[t];Array.from(n).reverse().forEach(function(t,n){var i=n>0?e.cloneNode(!0):e,r=t.parentNode,o=t.nextSibling;i.appendChild(t),o?r.insertBefore(i,o):r.appendChild(i)})}function k(t,e){h.element(t)&&!h.empty(e)&&Object.entries(e).filter(function(t){var e=o(t,2)[1];return!h.nullOrUndefined(e)}).forEach(function(e){var n=o(e,2),i=n[0],r=n[1];return t.setAttribute(i,r)})}function x(t,e,n){var i=document.createElement(t);return h.object(e)&&k(i,e),h.string(n)&&(i.innerText=n),i}function C(t,e,n,i){h.element(e)&&e.appendChild(x(t,n,i))}function T(t){h.nodeList(t)||h.array(t)?Array.from(t).forEach(T):h.element(t)&&h.element(t.parentNode)&&t.parentNode.removeChild(t)}function S(t){if(h.element(t))for(var e=t.childNodes.length;e>0;)t.removeChild(t.lastChild),e-=1}function $(t,e){return h.element(e)&&h.element(e.parentNode)&&h.element(t)?(e.parentNode.replaceChild(t,e),t):null}function E(t,e){if(!h.string(t)||h.empty(t))return{};var n={},i=e;return t.split(",").forEach(function(t){var e=t.trim(),r=e.replace(".",""),o=e.replace(/[[\]]/g,"").split("="),a=o[0],s=o.length>1?o[1].replace(/["']/g,""):"";switch(e.charAt(0)){case".":h.object(i)&&h.string(i.class)&&(i.class+=" ".concat(r)),n.class=r;break;case"#":n.id=e.replace("#","");break;case"[":n[a]=s}}),n}function O(t,e){if(h.element(t)){var n=e;h.boolean(n)||(n=!t.hidden),n?t.setAttribute("hidden",""):t.removeAttribute("hidden")}}function A(t,e,n){if(h.nodeList(t))return Array.from(t).map(function(t){return A(t,e,n)});if(h.element(t)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),t.classList[i](e),t.classList.contains(e)}return!1}function P(t,e){return h.element(t)&&t.classList.contains(e)}function L(t,e){return function(){return Array.from(document.querySelectorAll(e)).includes(this)}.call(t,e)}function B(t){return this.elements.container.querySelectorAll(t)}function I(t){return this.elements.container.querySelector(t)}function N(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h.element(t)&&(t.focus({preventScroll:!0}),e&&A(t,this.config.classNames.tabFocus))}var M,j,F,D=(M=document.createElement("span"),j={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},F=Object.keys(j).find(function(t){return void 0!==M.style[t]}),!!h.string(F)&&j[F]);function R(t){setTimeout(function(){try{O(t,!0),t.offsetHeight,O(t,!1)}catch(t){}},0)}var V,H={isIE:!!document.documentMode,isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},U={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},z={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(t,e,n){var i=H.isIPhone&&n&&z.playsinline,r=z[t]||"html5"!==e;return{api:r,ui:r&&z.rangeInput&&("video"!==t||!H.isIPhone||i)}},pip:!(H.isIPhone||!h.function(x("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||x("video").disablePictureInPicture)),airplay:h.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(t){var e=o(t.split("/"),1)[0],n=t;if(!this.isHTML5||e!==this.type)return!1;Object.keys(U).includes(n)&&(n+='; codecs="'.concat(U[t],'"'));try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(t){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(V=document.createElement("input"),V.type="range","range"===V.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==D,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},W={getSources:function(){var t=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(function(e){return z.mime.call(t,e.getAttribute("type"))}):[]},getQualityOptions:function(){return W.getSources.call(this).map(function(t){return Number(t.getAttribute("size"))}).filter(Boolean)},extend:function(){if(this.isHTML5){var t=this;Object.defineProperty(t.media,"quality",{get:function(){var e=W.getSources.call(t).find(function(e){return e.getAttribute("src")===t.source});return e&&Number(e.getAttribute("size"))},set:function(e){var n=W.getSources.call(t).find(function(t){return Number(t.getAttribute("size"))===e});if(n){var i=t.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState;t.media.src=n.getAttribute("src"),("none"!==a||s)&&(t.once("loadedmetadata",function(){t.currentTime=r,o||t.play()}),t.media.load()),w.call(t,t.media,"qualitychange",!1,{quality:e})}}})}},cancelRequests:function(){this.isHTML5&&(T(W.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function q(t){return h.array(t)?t.filter(function(e,n){return t.indexOf(e)===n}):t}function G(t,e){return e.split(".").reduce(function(t,e){return t&&t[e]},t)}function Y(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=new Array(e>1?e-1:0),i=1;i1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.replace(new RegExp(e.toString().replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),"g"),n.toString())}function J(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()})}function Z(t){var e=document.createElement("div");return e.appendChild(t),e.innerHTML}var Q={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},tt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(h.empty(t)||h.empty(e))return"";var n=G(e.i18n,t);if(h.empty(n))return Object.keys(Q).includes(t)?Q[t]:"";var i={"{seektime}":e.seekTime,"{title}":e.title};return Object.entries(i).forEach(function(t){var e=o(t,2),i=e[0],r=e[1];n=X(n,i,r)}),n},et=function(){function e(n){t(this,e),this.enabled=n.config.storage.enabled,this.key=n.config.storage.key}return i(e,[{key:"get",value:function(t){if(!e.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(h.empty(n))return null;var i=JSON.parse(n);return h.string(t)&&t.length?i[t]:i}},{key:"set",value:function(t){if(e.supported&&this.enabled&&h.object(t)){var n=this.get();h.empty(n)&&(n={}),Y(n,t),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(t){return!1}}}]),e}();function nt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise(function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",function(){if("text"===e)try{n(JSON.parse(r.responseText))}catch(t){n(r.responseText)}else n(r.response)}),r.addEventListener("error",function(){throw new Error(r.status)}),r.open("GET",t,!0),r.responseType=e,r.send()}catch(t){i(t)}})}function it(t,e){if(h.string(t)){var n=h.string(e),i=function(){return null!==document.getElementById(e)},r=function(t,e){t.innerHTML=e,n&&i()||document.body.insertAdjacentElement("afterbegin",t)};if(!n||!i()){var o=et.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",e),o){var s=window.localStorage.getItem("".concat("cache","-").concat(e));if(null!==s){var l=JSON.parse(s);r(a,l.content)}}nt(t).then(function(t){h.empty(t)||(o&&window.localStorage.setItem("".concat("cache","-").concat(e),JSON.stringify({content:t})),r(a,t))}).catch(function(){})}}}var rt=function(t){return parseInt(t/60/60%60,10)},ot=function(t){return parseInt(t/60%60,10)},at=function(t){return parseInt(t%60,10)};function st(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!h.number(t))return st(null,e,n);var i=function(t){return"0".concat(t).slice(-2)},r=rt(t),o=ot(t),a=at(t);return r=e||r>0?"".concat(r,":"):"","".concat(n&&t>0?"-":"").concat(r).concat(i(o),":").concat(i(a))}var lt={getIconUrl:function(){var t=new URL(this.config.iconUrl,window.location).host!==window.location.host||H.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements:function(){try{return this.elements.controls=I.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:B.call(this,this.config.selectors.buttons.play),pause:I.call(this,this.config.selectors.buttons.pause),restart:I.call(this,this.config.selectors.buttons.restart),rewind:I.call(this,this.config.selectors.buttons.rewind),fastForward:I.call(this,this.config.selectors.buttons.fastForward),mute:I.call(this,this.config.selectors.buttons.mute),pip:I.call(this,this.config.selectors.buttons.pip),airplay:I.call(this,this.config.selectors.buttons.airplay),settings:I.call(this,this.config.selectors.buttons.settings),captions:I.call(this,this.config.selectors.buttons.captions),fullscreen:I.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=I.call(this,this.config.selectors.progress),this.elements.inputs={seek:I.call(this,this.config.selectors.inputs.seek),volume:I.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:I.call(this,this.config.selectors.display.buffer),currentTime:I.call(this,this.config.selectors.display.currentTime),duration:I.call(this,this.config.selectors.display.duration)},h.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(".".concat(this.config.classNames.tooltip))),!0}catch(t){return this.debug.warn("It looks like there is a problem with your custom controls HTML",t),this.toggleNativeControls(!0),!1}},createIcon:function(t,e){var n=lt.getIconUrl.call(this),i="".concat(n.cors?"":n.url,"#").concat(this.config.iconPrefix),r=document.createElementNS("http://www.w3.org/2000/svg","svg");k(r,Y(e,{role:"presentation",focusable:"false"}));var o=document.createElementNS("http://www.w3.org/2000/svg","use"),a="".concat(i,"-").concat(t);return"href"in o&&o.setAttributeNS("http://www.w3.org/1999/xlink","href",a),o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),r.appendChild(o),r},createLabel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=tt(t,this.config);return x("span",Object.assign({},e,{class:[e.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(t){if(h.empty(t))return null;var e=x("span",{class:this.config.classNames.menu.value});return e.appendChild(x("span",{class:this.config.classNames.menu.badge},t)),e},createButton:function(t,e){var n=Object.assign({},e),i=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return t=X(t,"-"," "),t=X(t,"_"," "),X(t=J(t)," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}(t),r={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(function(t){Object.keys(n).includes(t)&&(r[t]=n[t],delete n[t])}),"button"!==r.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.includes(this.config.classNames.control)||(n.class+=" ".concat(this.config.classNames.control)):n.class=this.config.classNames.control,t){case"play":r.toggle=!0,r.label="play",r.labelPressed="pause",r.icon="play",r.iconPressed="pause";break;case"mute":r.toggle=!0,r.label="mute",r.labelPressed="unmute",r.icon="volume",r.iconPressed="muted";break;case"captions":r.toggle=!0,r.label="enableCaptions",r.labelPressed="disableCaptions",r.icon="captions-off",r.iconPressed="captions-on";break;case"fullscreen":r.toggle=!0,r.label="enterFullscreen",r.labelPressed="exitFullscreen",r.icon="enter-fullscreen",r.iconPressed="exit-fullscreen";break;case"play-large":n.class+=" ".concat(this.config.classNames.control,"--overlaid"),i="play",r.label="play",r.icon="play";break;default:h.empty(r.label)&&(r.label=i),h.empty(r.icon)&&(r.icon=t)}var o=x(r.element);return r.toggle?(o.appendChild(lt.createIcon.call(this,r.iconPressed,{class:"icon--pressed"})),o.appendChild(lt.createIcon.call(this,r.icon,{class:"icon--not-pressed"})),o.appendChild(lt.createLabel.call(this,r.labelPressed,{class:"label--pressed"})),o.appendChild(lt.createLabel.call(this,r.label,{class:"label--not-pressed"}))):(o.appendChild(lt.createIcon.call(this,r.icon)),o.appendChild(lt.createLabel.call(this,r.label))),Y(n,E(this.config.selectors.buttons[i],n)),k(o,n),"play"===i?(h.array(this.elements.buttons[i])||(this.elements.buttons[i]=[]),this.elements.buttons[i].push(o)):this.elements.buttons[i]=o,o},createRange:function(t,e){var n=x("input",Y(E(this.config.selectors.inputs[t]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":tt(t,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},e));return this.elements.inputs[t]=n,lt.updateRangeFill.call(this,n),n},createProgress:function(t,e){var n=x("progress",Y(E(this.config.selectors.display[t]),{min:0,max:100,value:0,role:"presentation","aria-hidden":!0},e));if("volume"!==t){n.appendChild(x("span",null,"0"));var i={played:"played",buffer:"buffered"}[t],r=i?tt(i,this.config):"";n.innerText="% ".concat(r.toLowerCase())}return this.elements.display[t]=n,n},createTime:function(t){var e=E(this.config.selectors.display[t]),n=x("div",Y(e,{class:"".concat(this.config.classNames.display.time," ").concat(e.class?e.class:"").trim(),"aria-label":tt(t,this.config)}),"00:00");return this.elements.display[t]=n,n},bindMenuItemShortcuts:function(t,e){var n=this;g(t,"keydown keyup",function(i){if([32,38,39,40].includes(i.which)&&(i.preventDefault(),i.stopPropagation(),"keydown"!==i.type)){var r,o=L(t,'[role="menuitemradio"]');!o&&[32,39].includes(i.which)?lt.showMenuPanel.call(n,e,!0):32!==i.which&&(40===i.which||o&&39===i.which?(r=t.nextElementSibling,h.element(r)||(r=t.parentNode.firstElementChild)):(r=t.previousElementSibling,h.element(r)||(r=t.parentNode.lastElementChild)),N.call(n,r,!0))}},!1),g(t,"keyup",function(t){13===t.which&<.focusFirstMenuItem.call(n,null,!0)})},createMenuItem:function(t){var e=this,n=t.value,i=t.list,r=t.type,o=t.title,a=t.badge,s=void 0===a?null:a,l=t.checked,c=void 0!==l&&l,u=E(this.config.selectors.inputs[r]),d=x("button",Y(u,{type:"button",role:"menuitemradio",class:"".concat(this.config.classNames.control," ").concat(u.class?u.class:"").trim(),"aria-checked":c,value:n})),f=x("span");f.innerHTML=o,h.element(s)&&f.appendChild(s),d.appendChild(f),Object.defineProperty(d,"checked",{enumerable:!0,get:function(){return"true"===d.getAttribute("aria-checked")},set:function(t){t&&Array.from(d.parentNode.children).filter(function(t){return L(t,'[role="menuitemradio"]')}).forEach(function(t){return t.setAttribute("aria-checked","false")}),d.setAttribute("aria-checked",t?"true":"false")}}),this.listeners.bind(d,"click keyup",function(t){if(!h.keyboardEvent(t)||32===t.which){switch(t.preventDefault(),t.stopPropagation(),d.checked=!0,r){case"language":e.currentTrack=Number(n);break;case"quality":e.quality=n;break;case"speed":e.speed=parseFloat(n)}lt.showMenuPanel.call(e,"home",h.keyboardEvent(t))}},r,!1),lt.bindMenuItemShortcuts.call(this,d,r),i.appendChild(d)},formatTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return h.number(t)?st(t,rt(this.duration)>0,e):t},updateTimeDisplay:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];h.element(t)&&h.number(e)&&(t.innerText=lt.formatTime(e,n))},updateVolume:function(){this.supported.ui&&(h.element(this.elements.inputs.volume)&<.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),h.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;h.element(t)&&(t.value=e,lt.updateRangeFill.call(this,t))},updateProgress:function(t){var e=this;if(this.supported.ui&&h.event(t)){var n,i,r=0;if(t)switch(t.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===t.type&<.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(t,n){var i=h.number(n)?n:0,r=h.element(t)?t:e.elements.display.buffer;if(h.element(r)){r.value=i;var o=r.getElementsByTagName("span")[0];h.element(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(t){var e=h.event(t)?t.target:t;if(h.element(e)&&"range"===e.getAttribute("type")){if(L(e,this.config.selectors.inputs.seek)){e.setAttribute("aria-valuenow",this.currentTime);var n=lt.formatTime(this.currentTime),i=lt.formatTime(this.duration),r=tt("seekLabel",this.config);e.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(L(e,this.config.selectors.inputs.volume)){var o=100*e.value;e.setAttribute("aria-valuenow",o),e.setAttribute("aria-valuetext","".concat(o.toFixed(1),"%"))}else e.setAttribute("aria-valuenow",e.value);H.isWebkit&&e.style.setProperty("--value","".concat(e.value/e.max*100,"%"))}},updateSeekTooltip:function(t){var e=this;if(this.config.tooltips.seek&&h.element(this.elements.inputs.seek)&&h.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r="".concat(this.config.classNames.tooltip,"--visible"),o=function(t){A(e.elements.display.seekTooltip,r,t)};if(this.touch)o(!1);else{if(h.event(t))n=100/i.width*(t.pageX-i.left);else{if(!P(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),lt.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left="".concat(n,"%"),h.event(t)&&["mouseenter","mouseleave"].includes(t.type)&&o("mouseenter"===t.type)}}},timeUpdate:function(t){var e=!h.element(this.elements.display.duration)&&this.config.invertTime;lt.updateTimeDisplay.call(this,this.elements.display.currentTime,e?this.duration-this.currentTime:this.currentTime,e),t&&"timeupdate"===t.type&&this.media.seeking||lt.updateProgress.call(this,t)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return O(this.elements.display.currentTime,!0),void O(this.elements.progress,!0);h.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=h.element(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&<.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&<.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),lt.updateSeekTooltip.call(this)}},toggleMenuButton:function(t,e){O(this.elements.settings.buttons[t],!e)},updateSetting:function(t,e,n){var i=this.elements.settings.panels[t],r=null,o=e;if("captions"===t)r=this.currentTrack;else{if(r=h.empty(n)?this[t]:n,h.empty(r)&&(r=this.config[t].default),!h.empty(this.options[t])&&!this.options[t].includes(r))return void this.debug.warn("Unsupported value of '".concat(r,"' for ").concat(t));if(!this.config[t].options.includes(r))return void this.debug.warn("Disabled value of '".concat(r,"' for ").concat(t))}if(h.element(o)||(o=i&&i.querySelector('[role="menu"]')),h.element(o)){this.elements.settings.buttons[t].querySelector(".".concat(this.config.classNames.menu.value)).innerHTML=lt.getLabel.call(this,t,r);var a=o&&o.querySelector('[value="'.concat(r,'"]'));h.element(a)&&(a.checked=!0)}},getLabel:function(t,e){switch(t){case"speed":return 1===e?tt("normal",this.config):"".concat(e,"×");case"quality":if(h.number(e)){var n=tt("qualityLabel.".concat(e),this.config);return n.length?n:"".concat(e,"p")}return J(e);case"captions":return dt.getLabel.call(this);default:return null}},setQualityMenu:function(t){var e=this;if(h.element(this.elements.settings.panels.quality)){var n=this.elements.settings.panels.quality.querySelector('[role="menu"]');h.array(t)&&(this.options.quality=q(t).filter(function(t){return e.config.quality.options.includes(t)}));var i=!h.empty(this.options.quality)&&this.options.quality.length>1;if(lt.toggleMenuButton.call(this,"quality",i),S(n),lt.checkMenu.call(this),i){var r=function(t){var n=tt("qualityBadge.".concat(t),e.config);return n.length?lt.createBadge.call(e,n):null};this.options.quality.sort(function(t,n){var i=e.config.quality.options;return i.indexOf(t)>i.indexOf(n)?1:-1}).forEach(function(t){lt.createMenuItem.call(e,{value:t,list:n,type:"quality",title:lt.getLabel.call(e,"quality",t),badge:r(t)})}),lt.updateSetting.call(this,"quality",n)}}},setCaptionsMenu:function(){var t=this;if(h.element(this.elements.settings.panels.captions)){var e=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=dt.getTracks.call(this),i=Boolean(n.length);if(lt.toggleMenuButton.call(this,"captions",i),S(e),lt.checkMenu.call(this),i){var r=n.map(function(n,i){return{value:i,checked:t.captions.toggled&&t.currentTrack===i,title:dt.getLabel.call(t,n),badge:n.language&<.createBadge.call(t,n.language.toUpperCase()),list:e,type:"language"}});r.unshift({value:-1,checked:!this.captions.toggled,title:tt("disabled",this.config),list:e,type:"language"}),r.forEach(lt.createMenuItem.bind(this)),lt.updateSetting.call(this,"captions",e)}}},setSpeedMenu:function(t){var e=this;if(h.element(this.elements.settings.panels.speed)){var n=this.elements.settings.panels.speed.querySelector('[role="menu"]');h.array(t)?this.options.speed=t:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter(function(t){return e.config.speed.options.includes(t)});var i=!h.empty(this.options.speed)&&this.options.speed.length>1;lt.toggleMenuButton.call(this,"speed",i),S(n),lt.checkMenu.call(this),i&&(this.options.speed.forEach(function(t){lt.createMenuItem.call(e,{value:t,list:n,type:"speed",title:lt.getLabel.call(e,"speed",t)})}),lt.updateSetting.call(this,"speed",n))}},checkMenu:function(){var t=this.elements.settings.buttons,e=!h.empty(t)&&Object.values(t).some(function(t){return!t.hidden});O(this.elements.settings.menu,!e)},focusFirstMenuItem:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.elements.settings.popup.hidden){var n=t;h.element(n)||(n=Object.values(this.elements.settings.panels).find(function(t){return!t.hidden}));var i=n.querySelector('[role^="menuitem"]');N.call(this,i,e)}},toggleMenu:function(t){var e=this.elements.settings.popup,n=this.elements.buttons.settings;if(h.element(e)&&h.element(n)){var i=e.hidden,r=i;if(h.boolean(t))r=t;else if(h.keyboardEvent(t)&&27===t.which)r=!1;else if(h.event(t)){var o=e.contains(t.target);if(o||!o&&t.target!==n&&r)return}n.setAttribute("aria-expanded",r),O(e,!r),A(this.elements.container,this.config.classNames.menu.open,r),r&&h.keyboardEvent(t)?lt.focusFirstMenuItem.call(this,null,!0):r||i||N.call(this,n,h.keyboardEvent(t))}},getMenuSize:function(t){var e=t.cloneNode(!0);e.style.position="absolute",e.style.opacity=0,e.removeAttribute("hidden"),t.parentNode.appendChild(e);var n=e.scrollWidth,i=e.scrollHeight;return T(e),{width:n,height:i}},showMenuPanel:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.getElementById("plyr-settings-".concat(this.id,"-").concat(e));if(h.element(i)){var r=i.parentNode,o=Array.from(r.children).find(function(t){return!t.hidden});if(z.transitions&&!z.reducedMotion){r.style.width="".concat(o.scrollWidth,"px"),r.style.height="".concat(o.scrollHeight,"px");var a=lt.getMenuSize.call(this,i);g.call(this,r,D,function e(n){n.target===r&&["width","height"].includes(n.propertyName)&&(r.style.width="",r.style.height="",b.call(t,r,D,e))}),r.style.width="".concat(a.width,"px"),r.style.height="".concat(a.height,"px")}O(o,!0),O(i,!1),lt.focusFirstMenuItem.call(this,i,n)}},setDownloadLink:function(){var t=this.elements.buttons.download;h.element(t)&&t.setAttribute("href",this.download)},create:function(t){var e=this,n=x("div",E(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(lt.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(lt.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(lt.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(lt.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=x("div",E(this.config.selectors.progress));if(i.appendChild(lt.createRange.call(this,"seek",{id:"plyr-seek-".concat(t.id)})),i.appendChild(lt.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=x("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(lt.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(lt.createTime.call(this,"duration")),this.config.controls.includes("mute")||this.config.controls.includes("volume")){var o=x("div",{class:"plyr__volume"});if(this.config.controls.includes("mute")&&o.appendChild(lt.createButton.call(this,"mute")),this.config.controls.includes("volume")){var a={max:1,step:.05,value:this.config.volume};o.appendChild(lt.createRange.call(this,"volume",Y(a,{id:"plyr-volume-".concat(t.id)}))),this.elements.volume=o}n.appendChild(o)}if(this.config.controls.includes("captions")&&n.appendChild(lt.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!h.empty(this.config.settings)){var s=x("div",{class:"plyr__menu",hidden:""});s.appendChild(lt.createButton.call(this,"settings",{"aria-haspopup":!0,"aria-controls":"plyr-settings-".concat(t.id),"aria-expanded":!1}));var l=x("div",{class:"plyr__menu__container",id:"plyr-settings-".concat(t.id),hidden:""}),c=x("div"),u=x("div",{id:"plyr-settings-".concat(t.id,"-home")}),d=x("div",{role:"menu"});u.appendChild(d),c.appendChild(u),this.elements.settings.panels.home=u,this.config.settings.forEach(function(n){var i=x("button",Y(E(e.config.selectors.buttons.settings),{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--forward"),role:"menuitem","aria-haspopup":!0,hidden:""}));lt.bindMenuItemShortcuts.call(e,i,n),g(i,"click",function(){lt.showMenuPanel.call(e,n,!1)});var r=x("span",null,tt(n,e.config)),o=x("span",{class:e.config.classNames.menu.value});o.innerHTML=t[n],r.appendChild(o),i.appendChild(r),d.appendChild(i);var a=x("div",{id:"plyr-settings-".concat(t.id,"-").concat(n),hidden:""}),s=x("button",{type:"button",class:"".concat(e.config.classNames.control," ").concat(e.config.classNames.control,"--back")});s.appendChild(x("span",{"aria-hidden":!0},tt(n,e.config))),s.appendChild(x("span",{class:e.config.classNames.hidden},tt("menuBack",e.config))),g(a,"keydown",function(t){37===t.which&&(t.preventDefault(),t.stopPropagation(),lt.showMenuPanel.call(e,"home",!0))},!1),g(s,"click",function(){lt.showMenuPanel.call(e,"home",!1)}),a.appendChild(s),a.appendChild(x("div",{role:"menu"})),c.appendChild(a),e.elements.settings.buttons[n]=i,e.elements.settings.panels[n]=a}),l.appendChild(c),s.appendChild(l),n.appendChild(s),this.elements.settings.popup=l,this.elements.settings.menu=s}if(this.config.controls.includes("pip")&&z.pip&&n.appendChild(lt.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&z.airplay&&n.appendChild(lt.createButton.call(this,"airplay")),this.config.controls.includes("download")){var f={element:"a",href:this.download,target:"_blank"},p=this.config.urls.download;!h.url(p)&&this.isEmbed&&Y(f,{icon:"logo-".concat(this.provider),label:this.provider}),n.appendChild(lt.createButton.call(this,"download",f))}return this.config.controls.includes("fullscreen")&&n.appendChild(lt.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(lt.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&<.setQualityMenu.call(this,W.getQualityOptions.call(this)),lt.setSpeedMenu.call(this),n},inject:function(){var t=this;if(this.config.loadSprite){var e=lt.getIconUrl.call(this);e.cors&&it(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;h.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,i)),this.config.controls||(this.config.controls=[]),h.element(this.config.controls)||h.string(this.config.controls)?n=this.config.controls:(n=lt.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:dt.getLabel.call(this)}),r=!1);var a,s=function(t){var e=t;return Object.entries(i).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e=X(e,"{".concat(i,"}"),r)}),e};if(r&&(h.string(this.config.controls)?n=s(n):h.element(n)&&(n.innerHTML=s(n.innerHTML))),h.string(this.config.selectors.controls.container)&&(a=document.querySelector(this.config.selectors.controls.container)),h.element(a)||(a=this.elements.container),a[h.element(n)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",n),h.element(this.elements.controls)||lt.findElements.call(this),!h.empty(this.elements.buttons)){var l=function(e){var n=t.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:function(){return P(e,n)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];A(e,n,t)}})};Object.values(this.elements.buttons).filter(Boolean).forEach(function(t){h.array(t)||h.nodeList(t)?Array.from(t).filter(Boolean).forEach(l):l(t)})}if(window.navigator.userAgent.includes("Edge")&&R(a),this.config.tooltips.controls){var c=this.config,u=c.classNames,d=c.selectors,f="".concat(d.controls.wrapper," ").concat(d.labels," .").concat(u.hidden),p=B.call(this,f);Array.from(p).forEach(function(e){A(e,t.config.classNames.hidden,!1),A(e,t.config.classNames.tooltip,!0)})}}};function ct(t){var e=t;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=e,e=n.href}try{return new URL(e)}catch(t){return null}}function ut(t){var e=new URLSearchParams;return h.object(t)&&Object.entries(t).forEach(function(t){var n=o(t,2),i=n[0],r=n[1];e.set(i,r)}),e}var dt={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!z.textTracks)h.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&<.setCaptionsMenu.call(this);else{var t,e;if(h.element(this.elements.captions)||(this.elements.captions=x("div",E(this.config.selectors.captions)),t=this.elements.captions,e=this.elements.wrapper,h.element(t)&&h.element(e)&&e.parentNode.insertBefore(t,e.nextSibling)),H.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach(function(t){var e=t.getAttribute("src"),n=ct(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&nt(e,"blob").then(function(e){t.setAttribute("src",window.URL.createObjectURL(e))}).catch(function(){T(t)})})}var i=q((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(function(t){return t.split("-")[0]})),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=o(i,1)[0]);var a=this.storage.get("captions");if(h.boolean(a)||(a=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:a,language:r,languages:i}),this.isHTML5){var s=this.config.captions.update?"addtrack removetrack":"removetrack";g.call(this,this.media.textTracks,s,dt.update.bind(this))}setTimeout(dt.update.bind(this),0)}},update:function(){var t=this,e=dt.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(e.find(function(t){return t.language===r}));this.isHTML5&&this.isVideo&&e.filter(function(t){return!o.get(t)}).forEach(function(e){t.debug.log("Track added",e),o.set(e,{default:"showing"===e.mode}),e.mode="hidden",g.call(t,e,"cuechange",function(){return dt.updateCues.call(t)})}),(s&&this.language!==r||!e.includes(a))&&(dt.setLanguage.call(this,r),dt.toggle.call(this,i&&s)),A(this.elements.container,this.config.classNames.captions.enabled,!h.empty(e)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&<.setCaptionsMenu.call(this)},toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=h.nullOrUndefined(t)?!n:t;if(r!==n){if(e||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!e){var o=dt.getTracks.call(this),a=dt.findTrack.call(this,[this.captions.language].concat(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e1&&void 0!==arguments[1])||arguments[1],n=dt.getTracks.call(this);if(-1!==t)if(h.number(t))if(t in n){if(this.captions.currentTrack!==t){this.captions.currentTrack=t;var i=n[t],r=(i||{}).language;this.captions.currentTrackNode=i,lt.updateSetting.call(this,"captions"),e||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),w.call(this,this.media,"languagechange")}dt.toggle.call(this,!0,e),this.isHTML5&&this.isVideo&&dt.updateCues.call(this)}else this.debug.warn("Track not found",t);else this.debug.warn("Invalid caption argument",t);else dt.toggle.call(this,!1,e)},setLanguage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(h.string(t)){var n=t.toLowerCase();this.captions.language=n;var i=dt.getTracks.call(this),r=dt.findTrack.call(this,[n]);dt.set.call(this,i.indexOf(r),e)}else this.debug.warn("Invalid language argument",t)},getTracks:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter(function(n){return!t.isHTML5||e||t.captions.meta.has(n)}).filter(function(t){return["captions","subtitles"].includes(t.kind)})},findTrack:function(t){var e,n=this,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=dt.getTracks.call(this),o=function(t){return Number((n.captions.meta.get(t)||{}).default)},a=Array.from(r).sort(function(t,e){return o(e)-o(t)});return t.every(function(t){return!(e=a.find(function(e){return e.language===t}))}),e||(i?a[0]:void 0)},getCurrentTrack:function(){return dt.getTracks.call(this)[this.currentTrack]},getLabel:function(t){var e=t;return!h.track(e)&&z.textTracks&&this.captions.toggled&&(e=dt.getCurrentTrack.call(this)),h.track(e)?h.empty(e.label)?h.empty(e.language)?tt("enabled",this.config):t.language.toUpperCase():e.label:tt("disabled",this.config)},updateCues:function(t){if(this.supported.ui)if(h.element(this.elements.captions))if(h.nullOrUndefined(t)||Array.isArray(t)){var e=t;if(!e){var n=dt.getCurrentTrack.call(this);e=Array.from((n||{}).activeCues||[]).map(function(t){return t.getCueAsHTML()}).map(Z)}var i=e.map(function(t){return t.trim()}).join("\n");if(i!==this.elements.captions.innerHTML){S(this.elements.captions);var r=x("span",E(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),w.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",t);else this.debug.warn("No captions element to render to")}},ft={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.4.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus"},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:""}},pt="picture-in-picture",ht={html5:"html5",youtube:"youtube",vimeo:"vimeo"},mt={audio:"audio",video:"video"},vt=function(){},gt=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t(this,e),this.enabled=window.console&&n,this.enabled&&this.log("Debugging enabled")}return i(e,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):vt}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):vt}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):vt}}]),e}();function bt(){if(this.enabled){var t=this.player.elements.buttons.fullscreen;h.element(t)&&(t.pressed=this.active),w.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),H.isIos||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(h.element(t)){var n=B.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];v.call(this,this.elements.container,"keydown",function(t){if("Tab"===t.key&&9===t.keyCode){var e=document.activeElement;e!==r||t.shiftKey?e===i&&t.shiftKey&&(r.focus(),t.preventDefault()):(i.focus(),t.preventDefault())}},e,!1)}}.call(this.player,this.target,this.active)}}function yt(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",A(this.target,this.player.config.classNames.fullscreen.fallback,e),H.isIos){var n=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";n||(n=document.createElement("meta")).setAttribute("name","viewport");var r=h.string(n.content)&&n.content.includes(i);e?(this.cleanupViewport=!r,r||(n.content+=",".concat(i))):this.cleanupViewport&&(n.content=n.content.split(",").filter(function(t){return t.trim()!==i}).join(",")),setTimeout(function(){return R(t.target)},100)}bt.call(this)}var wt=function(){function e(n){var i=this;t(this,e),this.player=n,this.prefix=e.prefix,this.property=e.property,this.scrollPosition={x:0,y:0},g.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":"".concat(this.prefix,"fullscreenchange"),function(){bt.call(i)}),g.call(this.player,this.player.elements.container,"dblclick",function(t){h.element(i.player.elements.controls)&&i.player.elements.controls.contains(t.target)||i.toggle()}),this.update()}return i(e,[{key:"update",value:function(){this.enabled?this.player.debug.log("".concat(e.native?"Native":"Fallback"," fullscreen enabled")):this.player.debug.log("Fullscreen not supported and fallback disabled"),A(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(H.isIos&&this.player.config.fullscreen.iosNative?this.target.webkitEnterFullscreen():e.native?this.prefix?h.empty(this.prefix)||this.target["".concat(this.prefix,"Request").concat(this.property)]():this.target.requestFullscreen():yt.call(this,!0))}},{key:"exit",value:function(){if(this.enabled)if(H.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(e.native)if(this.prefix){if(!h.empty(this.prefix)){var t="moz"===this.prefix?"Cancel":"Exit";document["".concat(this.prefix).concat(t).concat(this.property)]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document);else yt.call(this,!1)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"enabled",get:function(){return(e.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(e.native?(this.prefix?document["".concat(this.prefix).concat(this.property,"Element")]:document.fullscreenElement)===this.target:P(this.target,this.player.config.classNames.fullscreen.fallback))}},{key:"target",get:function(){return H.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(h.function(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some(function(e){return!(!h.function(document["".concat(e,"ExitFullscreen")])&&!h.function(document["".concat(e,"CancelFullScreen")])||(t=e,0))}),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),e}();function _t(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise(function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=e?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:t})})}var kt={addStyleHook:function(){A(this.elements.container,this.config.selectors.container.replace(".",""),!0),A(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var t=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for ".concat(this.provider," ").concat(this.type)),void kt.toggleNativeControls.call(this,!0);h.element(this.elements.controls)||(lt.inject.call(this),this.listeners.controls()),kt.toggleNativeControls.call(this),this.isHTML5&&dt.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,lt.updateVolume.call(this),lt.timeUpdate.call(this),kt.checkPlaying.call(this),A(this.elements.container,this.config.classNames.pip.supported,z.pip&&this.isHTML5&&this.isVideo),A(this.elements.container,this.config.classNames.airplay.supported,z.airplay&&this.isHTML5),A(this.elements.container,this.config.classNames.isIos,H.isIos),A(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(function(){w.call(t,t.media,"ready")},0),kt.setTitle.call(this),this.poster&&kt.setPoster.call(this,this.poster,!1).catch(function(){}),this.config.duration&<.durationUpdate.call(this)},setTitle:function(){var t=tt("play",this.config);if(h.string(this.config.title)&&!h.empty(this.config.title)&&(t+=", ".concat(this.config.title)),Array.from(this.elements.buttons.play||[]).forEach(function(e){e.setAttribute("aria-label",t)}),this.isEmbed){var e=I.call(this,"iframe");if(!h.element(e))return;var n=h.empty(this.config.title)?"video":this.config.title,i=tt("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(t){A(this.elements.container,this.config.classNames.posterEnabled,t)},setPoster:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",t),function(){var t=this;return new Promise(function(e){return t.ready?setTimeout(e,0):g.call(t,t.elements.container,"ready",e)}).then(function(){})}.call(this).then(function(){return _t(t)}).catch(function(n){throw t===e.poster&&kt.togglePoster.call(e,!1),n}).then(function(){if(t!==e.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(function(){return Object.assign(e.elements.poster.style,{backgroundImage:"url('".concat(t,"')"),backgroundSize:""}),kt.togglePoster.call(e,!0),t})):Promise.reject(new Error("Poster already set"))},checkPlaying:function(t){var e=this;A(this.elements.container,this.config.classNames.playing,this.playing),A(this.elements.container,this.config.classNames.paused,this.paused),A(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(function(t){t.pressed=e.playing}),h.event(t)&&"timeupdate"===t.type||kt.toggleControls.call(this)},checkLoading:function(t){var e=this;this.loading=["stalled","waiting"].includes(t.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(function(){A(e.elements.container,e.config.classNames.loading,e.loading),kt.toggleControls.call(e)},this.loading?250:0)},toggleControls:function(t){var e=this.elements.controls;if(e&&this.config.hideControls){var n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover||n))}}},xt=function(){function e(n){t(this,e),this.player=n,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}return i(e,[{key:"handleKey",value:function(t){var e=this.player,n=e.elements,i=t.keyCode?t.keyCode:t.which,r="keydown"===t.type,o=r&&i===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&h.number(i))if(r){var a=document.activeElement;if(h.element(a)){var s=e.config.selectors.editable;if(a!==n.inputs.seek&&L(a,s))return;if(32===t.which&&L(a,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(i)&&(t.preventDefault(),t.stopPropagation()),i){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:o||(e.currentTime=e.duration/10*(i-48));break;case 32:case 75:o||e.togglePlay();break;case 38:e.increaseVolume(.1);break;case 40:e.decreaseVolume(.1);break;case 77:o||(e.muted=!e.muted);break;case 39:e.forward();break;case 37:e.rewind();break;case 70:e.fullscreen.toggle();break;case 67:o||e.toggleCaptions();break;case 76:e.loop=!e.loop}!e.fullscreen.enabled&&e.fullscreen.active&&27===i&&e.fullscreen.toggle(),this.lastKey=i}else this.lastKey=null}},{key:"toggleMenu",value:function(t){lt.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){var t=this.player,e=t.elements;t.touch=!0,A(e.container,t.config.classNames.isTouch,!0)}},{key:"setTabFocus",value:function(t){var e=this.player,n=e.elements;if(clearTimeout(this.focusTimer),"keydown"!==t.type||9===t.which){"keydown"===t.type&&(this.lastKeyDown=t.timeStamp);var i,r=t.timeStamp-this.lastKeyDown<=20;("focus"!==t.type||r)&&(i=e.config.classNames.tabFocus,A(B.call(e,".".concat(i)),i,!1),this.focusTimer=setTimeout(function(){var t=document.activeElement;n.container.contains(t)&&A(document.activeElement,e.config.classNames.tabFocus,!0)},10))}}},{key:"global",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.player;e.config.keyboard.global&&v.call(e,window,"keydown keyup",this.handleKey,t,!1),v.call(e,document.body,"click",this.toggleMenu,t),y.call(e,document.body,"touchstart",this.firstTouch),v.call(e,document.body,"keydown focus blur",this.setTabFocus,t,!1,!0)}},{key:"container",value:function(){var t=this.player,e=t.elements;!t.config.keyboard.global&&t.config.keyboard.focused&&g.call(t,e.container,"keydown keyup",this.handleKey,!1),g.call(t,e.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",function(n){var i=e.controls;i&&"enterfullscreen"===n.type&&(i.pressed=!1,i.hover=!1);var r=0;["touchstart","touchmove","mousemove"].includes(n.type)&&(kt.toggleControls.call(t,!0),r=t.touch?3e3:2e3),clearTimeout(t.timers.controls),t.timers.controls=setTimeout(function(){return kt.toggleControls.call(t,!1)},r)})}},{key:"media",value:function(){var t=this.player,e=t.elements;if(g.call(t,t.media,"timeupdate seeking seeked",function(e){return lt.timeUpdate.call(t,e)}),g.call(t,t.media,"durationchange loadeddata loadedmetadata",function(e){return lt.durationUpdate.call(t,e)}),g.call(t,t.media,"canplay loadeddata",function(){O(e.volume,!t.hasAudio),O(e.buttons.mute,!t.hasAudio)}),g.call(t,t.media,"ended",function(){t.isHTML5&&t.isVideo&&t.config.resetOnEnd&&t.restart()}),g.call(t,t.media,"progress playing seeking seeked",function(e){return lt.updateProgress.call(t,e)}),g.call(t,t.media,"volumechange",function(e){return lt.updateVolume.call(t,e)}),g.call(t,t.media,"playing play pause ended emptied timeupdate",function(e){return kt.checkPlaying.call(t,e)}),g.call(t,t.media,"waiting canplay seeked playing",function(e){return kt.checkLoading.call(t,e)}),g.call(t,t.media,"playing",function(){t.ads&&t.ads.enabled&&!t.ads.initialized&&t.ads.managerPromise.then(function(){return t.ads.play()}).catch(function(){return t.play()})}),t.supported.ui&&t.config.clickToPlay&&!t.isAudio){var n=I.call(t,".".concat(t.config.classNames.video));if(!h.element(n))return;g.call(t,e.container,"click",function(i){([e.container,n].includes(i.target)||n.contains(i.target))&&(t.touch&&t.config.hideControls||(t.ended?(t.restart(),t.play()):t.togglePlay()))})}t.supported.ui&&t.config.disableContextMenu&&g.call(t,e.wrapper,"contextmenu",function(t){t.preventDefault()},!1),g.call(t,t.media,"volumechange",function(){t.storage.set({volume:t.volume,muted:t.muted})}),g.call(t,t.media,"ratechange",function(){lt.updateSetting.call(t,"speed"),t.storage.set({speed:t.speed})}),g.call(t,t.media,"qualitychange",function(e){lt.updateSetting.call(t,"quality",null,e.detail.quality)}),g.call(t,t.media,"ready qualitychange",function(){lt.setDownloadLink.call(t)});var i=t.config.events.concat(["keyup","keydown"]).join(" ");g.call(t,t.media,i,function(n){var i=n.detail,r=void 0===i?{}:i;"error"===n.type&&(r=t.media.error),w.call(t,e.container,n.type,!0,r)})}},{key:"proxy",value:function(t,e,n){var i=this.player,r=i.config.listeners[n],o=!0;h.function(r)&&(o=r.call(i,t)),o&&h.function(e)&&e.call(i,t)}},{key:"bind",value:function(t,e,n,i){var r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.player,s=a.config.listeners[i],l=h.function(s);g.call(a,t,e,function(t){return r.proxy(t,n,i)},o&&!l)}},{key:"controls",value:function(){var t=this,e=this.player,n=e.elements,i=H.isIE?"change":"input";if(n.buttons.play&&Array.from(n.buttons.play).forEach(function(n){t.bind(n,"click",e.togglePlay,"play")}),this.bind(n.buttons.restart,"click",e.restart,"restart"),this.bind(n.buttons.rewind,"click",e.rewind,"rewind"),this.bind(n.buttons.fastForward,"click",e.forward,"fastForward"),this.bind(n.buttons.mute,"click",function(){e.muted=!e.muted},"mute"),this.bind(n.buttons.captions,"click",function(){return e.toggleCaptions()}),this.bind(n.buttons.download,"click",function(){w.call(e,e.media,"download")},"download"),this.bind(n.buttons.fullscreen,"click",function(){e.fullscreen.toggle()},"fullscreen"),this.bind(n.buttons.pip,"click",function(){e.pip="toggle"},"pip"),this.bind(n.buttons.airplay,"click",e.airplay,"airplay"),this.bind(n.buttons.settings,"click",function(t){t.stopPropagation(),lt.toggleMenu.call(e,t)}),this.bind(n.buttons.settings,"keyup",function(t){var n=t.which;[13,32].includes(n)&&(13!==n?(t.preventDefault(),t.stopPropagation(),lt.toggleMenu.call(e,t)):lt.focusFirstMenuItem.call(e,null,!0))},null,!1),this.bind(n.settings.menu,"keydown",function(t){27===t.which&<.toggleMenu.call(e,t)}),this.bind(n.inputs.seek,"mousedown mousemove",function(t){var e=n.progress.getBoundingClientRect(),i=100/e.width*(t.pageX-e.left);t.currentTarget.setAttribute("seek-value",i)}),this.bind(n.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",function(t){var n=t.currentTarget,i=t.keyCode?t.keyCode:t.which;if(!h.keyboardEvent(t)||39===i||37===i){e.lastSeekTime=Date.now();var r=n.hasAttribute("play-on-seeked"),o=["mouseup","touchend","keyup"].includes(t.type);r&&o?(n.removeAttribute("play-on-seeked"),e.play()):!o&&e.playing&&(n.setAttribute("play-on-seeked",""),e.pause())}}),H.isIos){var r=B.call(e,'input[type="range"]');Array.from(r).forEach(function(e){return t.bind(e,i,function(t){return R(t.target)})})}this.bind(n.inputs.seek,i,function(t){var n=t.currentTarget,i=n.getAttribute("seek-value");h.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),e.currentTime=i/n.max*e.duration},"seek"),this.bind(n.progress,"mouseenter mouseleave mousemove",function(t){return lt.updateSeekTooltip.call(e,t)}),H.isWebkit&&Array.from(B.call(e,'input[type="range"]')).forEach(function(n){t.bind(n,"input",function(t){return lt.updateRangeFill.call(e,t.target)})}),e.config.toggleInvert&&!h.element(n.display.duration)&&this.bind(n.display.currentTime,"click",function(){0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,lt.timeUpdate.call(e))}),this.bind(n.inputs.volume,i,function(t){e.volume=t.target.value},"volume"),this.bind(n.controls,"mouseenter mouseleave",function(t){n.controls.hover=!e.touch&&"mouseenter"===t.type}),this.bind(n.controls,"mousedown mouseup touchstart touchend touchcancel",function(t){n.controls.pressed=["mousedown","touchstart"].includes(t.type)}),this.bind(n.controls,"focusin",function(){var n=e.config,i=e.elements,r=e.timers;A(i.controls,n.classNames.noTransition,!0),kt.toggleControls.call(e,!0),setTimeout(function(){A(i.controls,n.classNames.noTransition,!1)},0);var o=t.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(function(){return kt.toggleControls.call(e,!1)},o)}),this.bind(n.inputs.volume,"wheel",function(t){var n=t.webkitDirectionInvertedFromDevice,i=o([t.deltaX,-t.deltaY].map(function(t){return n?-t:t}),2),r=i[0],a=i[1],s=Math.sign(Math.abs(r)>Math.abs(a)?r:a);e.increaseVolume(s/50);var l=e.media.volume;(1===s&&l<1||-1===s&&l>0)&&t.preventDefault()},"volume",!1)}}]),e}();"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var Ct,Tt=(function(t,e){t.exports=function(){var t=function(){},e={},n={},i={};function r(t,e){if(t){var r=i[t];if(n[t]=e,r)for(;r.length;)r[0](t,e),r.splice(0,1)}}function o(e,n){e.call&&(e={success:e}),n.length?(e.error||t)(n):(e.success||t)(e)}function a(e,n,i,r){var o,s,l=document,c=i.async,u=(i.numRetries||0)+1,d=i.before||t,f=e.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(e)?(o=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(e)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=e,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(t){var l=t.type[0];if(o&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(t){18!=t.code&&(l="e")}if("e"==l&&(r+=1)r[1]?"width":"height";n.style[a]=i?"".concat(Et.padding,"%"):null}}),setTimeout(function(){return kt.build.call(e)},0)}};function Ot(t){t&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===t&&(this.media.paused=!t,w.call(this,this.media,t?"play":"pause"))}var At,Pt={setup:function(){var t=this;A(this.elements.wrapper,this.config.classNames.embed,!0),Pt.setAspectRatio.call(this),h.object(window.YT)&&h.function(window.YT.Player)?Pt.ready.call(this):(St(this.config.urls.youtube.sdk).catch(function(e){t.debug.warn("YouTube API failed to load",e)}),window.onYouTubeReadyCallbacks=window.onYouTubeReadyCallbacks||[],window.onYouTubeReadyCallbacks.push(function(){Pt.ready.call(t)}),window.onYouTubeIframeAPIReady=function(){window.onYouTubeReadyCallbacks.forEach(function(t){t()})})},getTitle:function(t){var e=this;if(h.function(this.embed.getVideoData)){var n=this.embed.getVideoData().title;if(h.empty(n))return this.config.title=n,void kt.setTitle.call(this)}var i=this.config.keys.google;h.string(i)&&!h.empty(i)&&nt(K(this.config.urls.youtube.api,t,i)).then(function(t){h.object(t)&&(e.config.title=t.items[0].snippet.title,kt.setTitle.call(e))}).catch(function(){})},setAspectRatio:function(){var t=this.config.ratio.split(":");this.elements.wrapper.style.paddingBottom="".concat(100/t[0]*t[1],"%")},ready:function(){var t=this,e=t.media.getAttribute("id");if(h.empty(e)||!e.startsWith("youtube-")){var n=t.media.getAttribute("src");h.empty(n)&&(n=t.media.getAttribute(this.config.attributes.embed.id));var i,r,o=(i=n,h.empty(i)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i),a=(r=t.provider,"".concat(r,"-").concat(Math.floor(1e4*Math.random()))),s=x("div",{id:a,poster:t.poster});t.media=$(s,t.media);var l=function(t){return"https://img.youtube.com/vi/".concat(o,"/").concat(t,"default.jpg")};_t(l("maxres"),121).catch(function(){return _t(l("sd"),121)}).catch(function(){return _t(l("hq"))}).then(function(e){return kt.setPoster.call(t,e.src)}).then(function(e){e.includes("maxres")||(t.elements.poster.style.backgroundSize="cover")}).catch(function(){}),t.embed=new window.YT.Player(a,{videoId:o,playerVars:{autoplay:t.config.autoplay?1:0,hl:t.config.hl,controls:t.supported.ui?0:1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,disablekb:1,playsinline:1,widget_referrer:window?window.location.href:null,cc_load_policy:t.captions.active?1:0,cc_lang_pref:t.config.captions.language},events:{onError:function(e){if(!t.media.error){var n=e.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";t.media.error={code:n,message:i},w.call(t,t.media,"error")}},onPlaybackRateChange:function(e){var n=e.target;t.media.playbackRate=n.getPlaybackRate(),w.call(t,t.media,"ratechange")},onReady:function(e){if(!h.function(t.media.play)){var n=e.target;Pt.getTitle.call(t,o),t.media.play=function(){Ot.call(t,!0),n.playVideo()},t.media.pause=function(){Ot.call(t,!1),n.pauseVideo()},t.media.stop=function(){n.stopVideo()},t.media.duration=n.getDuration(),t.media.paused=!0,t.media.currentTime=0,Object.defineProperty(t.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(e){t.paused&&!t.embed.hasPlayed&&t.embed.mute(),t.media.seeking=!0,w.call(t,t.media,"seeking"),n.seekTo(e)}}),Object.defineProperty(t.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(t){n.setPlaybackRate(t)}});var i=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return i},set:function(e){i=e,n.setVolume(100*i),w.call(t,t.media,"volumechange")}});var r=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return r},set:function(e){var i=h.boolean(e)?e:r;r=i,n[i?"mute":"unMute"](),w.call(t,t.media,"volumechange")}}),Object.defineProperty(t.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),t.options.speed=n.getAvailablePlaybackRates(),t.supported.ui&&t.media.setAttribute("tabindex",-1),w.call(t,t.media,"timeupdate"),w.call(t,t.media,"durationchange"),clearInterval(t.timers.buffering),t.timers.buffering=setInterval(function(){t.media.buffered=n.getVideoLoadedFraction(),(null===t.media.lastBuffered||t.media.lastBuffered0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(function(){var e=st(Math.max(t.manager.getRemainingTime(),0)),n="".concat(tt("advertisement",t.player.config)," - ").concat(e);t.elements.container.setAttribute("data-badge-text",n)},100)}},{key:"onAdsManagerLoaded",value:function(t){var e=this;if(this.enabled){var n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=t.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),h.empty(this.cuePoints)||this.cuePoints.forEach(function(t){if(0!==t&&-1!==t&&t1?n-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",e.embed=null,n?(Object.keys(e.elements).length&&(T(e.elements.buttons.play),T(e.elements.captions),T(e.elements.controls),T(e.elements.wrapper),e.elements.buttons.play=null,e.elements.captions=null,e.elements.controls=null,e.elements.wrapper=null),h.function(t)&&t()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach(function(t){var e=t.element,n=t.type,i=t.callback,r=t.options;e.removeEventListener(n,i,r)}),this.eventListeners=[])}.call(e),$(e.elements.original,e.elements.container),w.call(e,e.elements.original,"destroyed",!0),h.function(t)&&t.call(e.elements.original),e.ready=!1,setTimeout(function(){e.elements=null,e.media=null},200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),kt.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&h.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(t){return z.mime.call(this,t)}},{key:"isHTML5",get:function(){return Boolean(this.provider===ht.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===ht.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===ht.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===mt.video)}},{key:"isAudio",get:function(){return Boolean(this.type===mt.audio)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(t){if(this.duration){var e=h.number(t)&&t>0;this.media.currentTime=e?Math.min(t,this.duration):0,this.debug.log("Seeking to ".concat(this.currentTime," seconds"))}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var t=this.media.buffered;return h.number(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var t=parseFloat(this.config.duration),e=(this.media||{}).duration,n=h.number(e)&&e!==1/0?e:0;return t||n}},{key:"volume",set:function(t){var e=t;h.string(e)&&(e=Number(e)),h.number(e)||(e=this.storage.get("volume")),h.number(e)||(e=this.config.volume),e>1&&(e=1),e<0&&(e=0),this.config.volume=e,this.media.volume=e,!h.empty(t)&&this.muted&&e>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(t){var e=t;h.boolean(e)||(e=this.storage.get("muted")),h.boolean(e)||(e=this.config.muted),this.config.muted=e,this.media.muted=e},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(t){var e=null;h.number(t)&&(e=t),h.number(e)||(e=this.storage.get("speed")),h.number(e)||(e=this.config.speed.selected),e<.1&&(e=.1),e>2&&(e=2),this.config.speed.options.includes(e)?(this.config.speed.selected=e,this.media.playbackRate=e):this.debug.warn("Unsupported speed (".concat(e,")"))},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(t){var e=this.config.quality,n=this.options.quality;if(n.length){var i=[!h.empty(t)&&Number(t),this.storage.get("quality"),e.selected,e.default].find(h.number),r=!0;if(!n.includes(i)){var o=function(t,e){return h.array(t)&&t.length?t.reduce(function(t,n){return Math.abs(n-e)1&&void 0!==arguments[1]?arguments[1]:{},i=null;return h.string(t)?i=Array.from(document.querySelectorAll(t)):h.nodeList(t)?i=Array.from(t):h.array(t)&&(i=t.filter(h.element)),h.empty(i)?null:i.map(function(t){return new e(t,n)})}}]),e}();return Nt.defaults=(At=ft,JSON.parse(JSON.stringify(At))),Nt}())}).call(this,n("yLpj"))},URgk:function(t,e,n){(function(t){var i=void 0!==t&&t||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(r.call(setTimeout,i,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,i,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(i,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n("YBdB"),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n("yLpj"))},"Us+F":function(t,e,n){var i=n("LZbM"),r=n("6DAA");t.exports={distanceInWords:i(),format:r()}},VAx7:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.text-lighter[data-v-9f65de0e] {\n\tcolor:#B8C2CC !important;\n}\n.modal-body[data-v-9f65de0e] {\n\tpadding: 0;\n}\n",""])},VJHJ:function(t,e,n){"use strict";var i=n("kMkX");n.n(i).a},VPBk:function(t,e,n){var i=n("VAx7");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},VSBI:function(t,e,n){var i=n("XbPC");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},Ww0M:function(t,e,n){(function(e){var n=1/0,i="[object Symbol]",r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="[\\ud800-\\udfff]",l="["+a+"]",c="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",u="\\d+",d="[\\u2700-\\u27bf]",f="[a-z\\xdf-\\xf6\\xf8-\\xff]",p="[^\\ud800-\\udfff"+a+u+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",h="\\ud83c[\\udffb-\\udfff]",m="[^\\ud800-\\udfff]",v="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",b="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+f+"|"+p+")",w="(?:"+b+"|"+p+")",_="(?:"+c+"|"+h+")"+"?",k="[\\ufe0e\\ufe0f]?"+_+("(?:\\u200d(?:"+[m,v,g].join("|")+")[\\ufe0e\\ufe0f]?"+_+")*"),x="(?:"+[d,v,g].join("|")+")"+k,C="(?:"+[m+c+"?",c,v,g,s].join("|")+")",T=RegExp("['’]","g"),S=RegExp(c,"g"),$=RegExp(h+"(?="+h+")|"+C+k,"g"),E=RegExp([b+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[l,b,"$"].join("|")+")",w+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[l,b+y,"$"].join("|")+")",b+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",b+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",u,x].join("|"),"g"),O=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),A=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,P="object"==typeof e&&e&&e.Object===Object&&e,L="object"==typeof self&&self&&self.Object===Object&&self,B=P||L||Function("return this")();var I,N=(I={"À":"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","ſ":"ss"},function(t){return null==I?void 0:I[t]});function M(t){return O.test(t)}function j(t){return M(t)?function(t){return t.match($)||[]}(t):function(t){return t.split("")}(t)}var F=Object.prototype.toString,D=B.Symbol,R=D?D.prototype:void 0,V=R?R.toString:void 0;function H(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&F.call(t)==i}(t))return V?V.call(t):"";var e=t+"";return"0"==e&&1/t==-n?"-0":e}function U(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:function(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(r);++i=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var k=/-(\w)/g,x=_(function(t){return t.replace(k,function(t,e){return e?e.toUpperCase():""})}),C=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),T=/\B([A-Z])/g,S=_(function(t){return t.replace(T,"-$1").toLowerCase()});var $=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function E(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function O(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,J=Y&&Y.indexOf("edge/")>0,Z=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===G),Q=(Y&&/chrome\/\d+/.test(Y),{}.watch),tt=!1;if(W)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===U&&(U=!W&&!q&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),U},it=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=P,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){b(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===S(t)){var l=Dt(String,r.type);(l<0||s0&&(le((c=t(c,(n||"")+"_"+l))[0])&&le(d)&&(i[u]=vt(d.text+c[0].text),c.shift()),i.push.apply(i,c)):s(c)?le(d)?i[u]=vt(d.text+c):""!==c&&i.push(vt(c)):le(c)&&le(d)?i[u]=vt(d.text+c.text):(a(e._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+l+"__"),i.push(c)));return i}(t):void 0}function le(t){return o(t)&&o(t.text)&&!1===t.isComment}function ce(t,e){return(t.__esModule||at&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function ue(t){return t.isComment&&t.asyncFactory}function de(t){if(Array.isArray(t))for(var e=0;eOe&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);$e||($e=!0,Zt(Ae))}}(this)},Le.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Rt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Le.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Le.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Le.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Be={enumerable:!0,configurable:!0,get:P,set:P};function Ie(t,e,n){Be.get=function(){return this[e][n]},Be.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Be)}function Ne(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&kt(!1);var o=function(o){r.push(o);var a=Mt(o,e,n,t);Tt(i,o,a),o in t||Ie(t,"_props",o)};for(var a in e)o(a);kt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?P:$(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Rt(t,e,"data()"),{}}finally{ft()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&w(i,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Ie(t,"_data",o))}var a;Ct(e,!0)}(t):Ct(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=nt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new Le(t,a||P,P,Me)),r in t||je(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Q&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function gn(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=mn(a.componentOptions);s&&!e(s)&&bn(n,o,i,r)}}}function bn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,b(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=dn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=It(fn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&me(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ve(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return un(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return un(t,e,n,i,r,!0)};var o=n&&n.data;Tt(t,"$attrs",o&&o.attrs||i,null,!0),Tt(t,"$listeners",e._parentListeners||i,null,!0)}(e),xe(e,"beforeCreate"),function(t){var e=Ve(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach(function(n){Tt(t,n,e[n])}),kt(!0))}(e),Ne(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(pn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=St,t.prototype.$delete=$t,t.prototype.$watch=function(t,e,n){if(u(e))return Re(this,t,e,n);(n=n||{}).user=!0;var i=new Le(this,t,e,n);if(n.immediate)try{e.call(this,i.value)}catch(t){Rt(t,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(pn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r1?E(e):e;for(var n=E(arguments,1),i=0,r=e.length;iparseInt(this.max)&&bn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:O,mergeOptions:It,defineReactive:Tt},t.set=St,t.delete=$t,t.nextTick=Zt,t.options=Object.create(null),F.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,O(t.options.components,wn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=It(this.options,t),this}}(t),hn(t),function(t){F.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:nt}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:tn}),pn.version="2.5.22";var _n=m("style,class"),kn=m("input,textarea,option,select,progress"),xn=function(t,e,n){return"value"===n&&kn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Cn=m("contenteditable,draggable,spellcheck"),Tn=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Sn="http://www.w3.org/1999/xlink",$n=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},En=function(t){return $n(t)?t.slice(6,t.length):""},On=function(t){return null==t||!1===t};function An(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Pn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Pn(e,n.data));return function(t,e){if(o(t)||o(e))return Ln(t,Bn(e));return""}(e.staticClass,e.class)}function Pn(t,e){return{staticClass:Ln(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Ln(t,e){return t?e?t+" "+e:t:e||""}function Bn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?ri(t,e,n):Tn(e)?On(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Cn(e)?t.setAttribute(e,On(n)||"false"===n?"false":"true"):$n(e)?On(n)?t.removeAttributeNS(Sn,En(e)):t.setAttributeNS(Sn,e,n):ri(t,e,n)}function ri(t,e,n){if(On(n))t.removeAttribute(e);else{if(K&&!X&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var oi={create:ni,update:ni};function ai(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=An(e),l=n._transitionClasses;o(l)&&(s=Ln(s,Bn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var si,li,ci,ui,di,fi,pi={create:ai,update:ai},hi=/[\w).+\-_$\]]/;function mi(t){var e,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,d=0,f=0,p=0;for(i=0;i=0&&" "===(m=t.charAt(h));h--);m&&hi.test(m)||(c=!0)}}else void 0===r?(p=i+1,r=t.slice(0,i).trim()):v();function v(){(o||(o=[])).push(t.slice(p,i).trim()),p=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==p&&v(),o)for(i=0;i-1?{exp:t.slice(0,ui),key:'"'+t.slice(ui+1)+'"'}:{exp:t,key:null};li=t,ui=di=fi=0;for(;!Oi();)Ai(ci=Ei())?Li(ci):91===ci&&Pi(ci);return{exp:t.slice(0,di),key:t.slice(di+1,fi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ei(){return li.charCodeAt(++ui)}function Oi(){return ui>=si}function Ai(t){return 34===t||39===t}function Pi(t){var e=1;for(di=ui;!Oi();)if(Ai(t=Ei()))Li(t);else if(91===t&&e++,93===t&&e--,0===e){fi=ui;break}}function Li(t){for(var e=t;!Oi()&&(t=Ei())!==e;);}var Bi,Ii="__r",Ni="__c";function Mi(t,e,n){var i=Bi;return function r(){null!==e.apply(null,arguments)&&Fi(t,r,n,i)}}function ji(t,e,n,i){var r;e=(r=e)._withTask||(r._withTask=function(){Yt=!0;try{return r.apply(null,arguments)}finally{Yt=!1}}),Bi.addEventListener(t,e,tt?{capture:n,passive:i}:n)}function Fi(t,e,n,i){(i||Bi).removeEventListener(t,e._withTask||e,n)}function Di(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Bi=e.elm,function(t){if(o(t[Ii])){var e=K?"change":"input";t[e]=[].concat(t[Ii],t[e]||[]),delete t[Ii]}o(t[Ni])&&(t.change=[].concat(t[Ni],t.change||[]),delete t[Ni])}(n),re(n,i,ji,Fi,Mi,e.context),Bi=void 0}}var Ri={create:Di,update:Di};function Vi(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=O({},l)),s)r(l[n])&&(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);Hi(a,c)&&(a.value=c)}else a[n]=i}}}function Hi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.lazy)return!1;if(i.number)return h(n)!==h(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Ui={create:Vi,update:Vi},zi=_(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function Wi(t){var e=qi(t.style);return t.staticStyle?O(t.staticStyle,e):e}function qi(t){return Array.isArray(t)?A(t):"string"==typeof t?zi(t):t}var Gi,Yi=/^--/,Ki=/\s*!important$/,Xi=function(t,e,n){if(Yi.test(e))t.style.setProperty(e,n);else if(Ki.test(n))t.style.setProperty(e,n.replace(Ki,""),"important");else{var i=Zi(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(er).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ir(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(er).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function rr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,or(t.name||"v")),O(e,t),e}return"string"==typeof t?or(t):void 0}}var or=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),ar=W&&!X,sr="transition",lr="animation",cr="transition",ur="transitionend",dr="animation",fr="animationend";ar&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(cr="WebkitTransition",ur="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(dr="WebkitAnimation",fr="webkitAnimationEnd"));var pr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function hr(t){pr(function(){pr(t)})}function mr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),nr(t,e))}function vr(t,e){t._transitionClasses&&b(t._transitionClasses,e),ir(t,e)}function gr(t,e,n){var i=yr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===sr?ur:fr,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l0&&(n=sr,u=a,d=o.length):e===lr?c>0&&(n=lr,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?sr:lr:null)?n===sr?o.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===sr&&br.test(i[cr+"Property"])}}function wr(t,e){for(;t.length1}function Sr(t,e){!0!==e.data.show&&kr(e)}var $r=function(t){var e,n,i={},l=t.modules,c=t.nodeOps;for(e=0;eh?y(t,r(n[g+1])?null:n[g+1].elm,n,p,g,i):p>g&&_(0,e,f,h)}(f,m,g,n,u):o(g)?(o(t.text)&&c.setTextContent(f,""),y(f,null,g,0,g.length-1,n)):o(m)?_(0,m,0,m.length-1):o(t.text)&&c.setTextContent(f,""):t.text!==e.text&&c.setTextContent(f,e.text),o(h)&&o(p=h.hook)&&o(p=p.postpatch)&&p(t,e)}}}function T(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(I(Lr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Pr(t,e){return e.every(function(e){return!I(e,t)})}function Lr(t){return"_value"in t?t._value:t.value}function Br(t){t.target.composing=!0}function Ir(t){t.target.composing&&(t.target.composing=!1,Nr(t.target,"input"))}function Nr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Mr(t){return!t.componentInstance||t.data&&t.data.transition?t:Mr(t.componentInstance._vnode)}var jr={model:Er,show:{bind:function(t,e,n){var i=e.value,r=(n=Mr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,kr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=Mr(n)).data&&n.data.transition?(n.data.show=!0,i?kr(n,function(){t.style.display=t.__vOriginalDisplay}):xr(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Fr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Dr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Dr(de(e.children)):t}function Rr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[x(o)]=r[o];return e}function Vr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Hr=function(t){return t.tag||ue(t)},Ur=function(t){return"show"===t.name},zr={name:"transition",props:Fr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Hr)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=Dr(r);if(!o)return r;if(this._leaving)return Vr(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=Rr(this),c=this._vnode,u=Dr(c);if(o.data.directives&&o.data.directives.some(Ur)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!ue(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,oe(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Vr(t,r);if("in-out"===i){if(ue(o))return c;var f,p=function(){f()};oe(l,"afterEnter",p),oe(l,"enterCancelled",p),oe(d,"delayLeave",function(t){f=t})}}return r}}},Wr=O({tag:String,moveClass:String},Fr);function qr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Gr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Yr(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete Wr.mode;var Kr={Transition:zr,TransitionGroup:{props:Wr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=we(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Rr(this),s=0;s-1?Dn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Dn[t]=/HTMLUnknownElement/.test(e.toString())},O(pn.options.directives,jr),O(pn.options.components,Kr),pn.prototype.__patch__=W?$r:P,pn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=mt),xe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new Le(t,i,P,{before:function(){t._isMounted&&!t._isDestroyed&&xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,xe(t,"mounted")),t}(this,t=t&&W?Vn(t):void 0,e)},W&&setTimeout(function(){R.devtools&&it&&it.emit("init",pn)},0);var Xr=/\{\{((?:.|\r?\n)+?)\}\}/g,Jr=/[-.*+?^${}()|[\]\/\\]/g,Zr=_(function(t){var e=t[0].replace(Jr,"\\$&"),n=t[1].replace(Jr,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});var Qr={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Ti(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=Ci(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var to,eo={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Ti(t,"style");n&&(t.staticStyle=JSON.stringify(zi(n)));var i=Ci(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},no=function(t){return(to=to||document.createElement("div")).innerHTML=t,to.textContent},io=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ro=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),oo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ao=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,so="[a-zA-Z_][\\w\\-\\.]*",lo="((?:"+so+"\\:)?"+so+")",co=new RegExp("^<"+lo),uo=/^\s*(\/?)>/,fo=new RegExp("^<\\/"+lo+"[^>]*>"),po=/^]+>/i,ho=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},yo=/&(?:lt|gt|quot|amp);/g,wo=/&(?:lt|gt|quot|amp|#10|#9);/g,_o=m("pre,textarea",!0),ko=function(t,e){return t&&_o(t)&&"\n"===e[0]};function xo(t,e){var n=e?wo:yo;return t.replace(n,function(t){return bo[t]})}var Co,To,So,$o,Eo,Oo,Ao,Po,Lo=/^@|^v-on:/,Bo=/^v-|^@|^:/,Io=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,No=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Mo=/^\(|\)$/g,jo=/:(.*)$/,Fo=/^:|^v-bind:/,Do=/\.[^.]+/g,Ro=_(no);function Vo(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Go(e),parent:n,children:[]}}function Ho(t,e){Co=e.warn||gi,Oo=e.isPreTag||L,Ao=e.mustUseProp||L,Po=e.getTagNamespace||L,So=bi(e.modules,"transformNode"),$o=bi(e.modules,"preTransformNode"),Eo=bi(e.modules,"postTransformNode"),To=e.delimiters;var n,i,r=[],o=!1!==e.preserveWhitespace,a=!1,s=!1;function l(t){t.pre&&(a=!1),Oo(t.tag)&&(s=!1);for(var n=0;n]*>)","i")),f=t.replace(d,function(t,n,i){return c=i.length,vo(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),ko(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-f.length,t=f,S(u,l-c,l)}else{var p=t.indexOf("<");if(0===p){if(ho.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),x(h+3);continue}}if(mo.test(t)){var m=t.indexOf("]>");if(m>=0){x(m+2);continue}}var v=t.match(po);if(v){x(v[0].length);continue}var g=t.match(fo);if(g){var b=l;x(g[0].length),S(g[1],b,l);continue}var y=C();if(y){T(y),ko(y.tagName,t)&&x(1);continue}}var w=void 0,_=void 0,k=void 0;if(p>=0){for(_=t.slice(p);!(fo.test(_)||co.test(_)||ho.test(_)||mo.test(_)||(k=_.indexOf("<",1))<0);)p+=k,_=t.slice(p);w=t.substring(0,p),x(p)}p<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===n){e.chars&&e.chars(t);break}}function x(e){l+=e,t=t.substring(e)}function C(){var e=t.match(co);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(x(e[0].length);!(n=t.match(uo))&&(i=t.match(ao));)x(i[0].length),r.attrs.push(i);if(n)return r.unarySlash=n[1],x(n[0].length),r.end=l,r}}function T(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&oo(n)&&S(i),s(n)&&i===n&&S(n));for(var c=a(n)||!!l,u=t.attrs.length,d=new Array(u),f=0;f=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)e.end&&e.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}S()}(t,{warn:Co,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,o,c){var u=i&&i.ns||Po(t);K&&"svg"===u&&(o=function(t){for(var e=[],n=0;nl&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var c=mi(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),xi(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+$i(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+$i(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+$i(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Ci(t,"value")||"null";yi(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),xi(t,"change",$i(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Ii:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=$i(e,u);l&&(d="if($event.target.composing)return;"+d),yi(t,"value","("+e+")"),xi(t,c,d,null,!0),(s||a)&&xi(t,"blur","$forceUpdate()")}(t,i,r);else if(!R.isReservedTag(o))return Si(t,i,r),!1;return!0},text:function(t,e){e.value&&yi(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&yi(t,"innerHTML","_s("+e.value+")")}},isPreTag:function(t){return"pre"===t},isUnaryTag:io,mustUseProp:xn,canBeLeftOpenTag:ro,isReservedTag:jn,getTagNamespace:Fn,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Jo)},ea=_(function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))});function na(t,e){t&&(Zo=ea(e.staticKeys||""),Qo=e.isReservedTag||L,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||v(t.tag)||!Qo(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Zo)))}(e);if(1===e.type){if(!Qo(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n|^function\s*\(/,ra=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,oa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},aa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},sa=function(t){return"if("+t+")return null;"},la={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:sa("$event.target !== $event.currentTarget"),ctrl:sa("!$event.ctrlKey"),shift:sa("!$event.shiftKey"),alt:sa("!$event.altKey"),meta:sa("!$event.metaKey"),left:sa("'button' in $event && $event.button !== 0"),middle:sa("'button' in $event && $event.button !== 1"),right:sa("'button' in $event && $event.button !== 2")};function ca(t,e){var n=e?"nativeOn:{":"on:{";for(var i in t)n+='"'+i+'":'+ua(i,t[i])+",";return n.slice(0,-1)+"}"}function ua(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ua(t,e)}).join(",")+"]";var n=ra.test(e.value),i=ia.test(e.value);if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)if(la[s])o+=la[s],oa[s]&&a.push(s);else if("exact"===s){var l=e.modifiers;o+=sa(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+=function(t){return"if(!('button' in $event)&&"+t.map(da).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(n?"return "+e.value+"($event)":i?"return ("+e.value+")($event)":e.value)+"}"}return n||i?e.value:"function($event){"+e.value+"}"}function da(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=oa[t],i=aa[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var fa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:P},pa=function(t){this.options=t,this.warn=t.warn||gi,this.transforms=bi(t.modules,"transformCode"),this.dataGenFns=bi(t.modules,"genData"),this.directives=O(O({},fa),t.directives);var e=t.isReservedTag||L;this.maybeComponent=function(t){return!(e(t.tag)&&!t.component)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ha(t,e){var n=new pa(e);return{render:"with(this){return "+(t?ma(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function ma(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return va(t,e);if(t.once&&!t.onceProcessed)return ga(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";0;return t.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||ma)(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return ba(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=_a(t,e),r="_t("+n+(i?","+i:""),o=t.attrs&&"{"+t.attrs.map(function(t){return x(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=","+o);a&&(r+=(o?"":",null")+","+a);return r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:_a(e,n,!0);return"_c("+t+","+ya(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=ya(t,e));var r=t.inlineTemplate?null:_a(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o':'
',Oa.innerHTML.indexOf(" ")>0}var Ba=!!W&&La(!1),Ia=!!W&&La(!0),Na=_(function(t){var e=Vn(t);return e&&e.innerHTML}),Ma=pn.prototype.$mount;pn.prototype.$mount=function(t,e){if((t=t&&Vn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Na(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=Pa(i,{shouldDecodeNewlines:Ba,shouldDecodeNewlinesForHref:Ia,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Ma.call(this,t,e)},pn.compile=Pa,t.exports=pn}).call(this,n("yLpj"),n("URgk").setImmediate)},YBdB:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var i,r,o,a,s,l=1,c={},u=!1,d=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,"[object process]"==={}.toString.call(t.process)?i=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){h(t.data)},i=function(t){o.port2.postMessage(t)}):d&&"onreadystatechange"in d.createElement("script")?(r=d.documentElement,i=function(t){var e=d.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):i=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),i=function(e){t.postMessage(a+e,"*")}),f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=0&&u.splice(e,1)}function v(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return n.nc}();i&&(t.attrs.nonce=i)}return g(e,t.attrs),h(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,i,r,o;if(e.transform&&t.css){if(!(o="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=o}if(e.singleton){var a=c++;n=l||(l=v(e)),i=_.bind(null,n,a,!1),r=_.bind(null,n,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),h(t,e),e}(e),i=function(t,e,n){var i=n.css,r=n.sourceMap,o=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||o)&&(i=d(i));r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([i],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,e),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(e),i=function(t,e){var n=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=a()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return f(n,e),function(t){for(var i=[],r=0;r
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},Hr={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Ur=1;var zr=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id="__BV_"+this.constructor.NAME+"_"+Ur+++"__",this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this.updateConfig(n)}return Pr(t,[{key:"updateConfig",value:function(t){var e=w({},this.constructor.Default,t);t.delay&&"number"==typeof t.delay&&(e.delay={show:t.delay,hide:t.delay}),t.title&&"number"==typeof t.title&&(e.title=t.title.toString()),t.content&&"number"==typeof t.content&&(e.content=t.content.toString()),this.fixTitle(),this.$config=e,this.unListen(),this.listen()}},{key:"destroy",value:function(){this.unListen(),this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null,this.$popper&&this.$popper.destroy(),this.$popper=null,this.$tip&&this.$tip.parentElement&&this.$tip.parentElement.removeChild(this.$tip),this.$tip=null,this.$id=null,this.$isEnabled=null,this.$root=null,this.$element=null,this.$config=null,this.$hoverState=null,this.$activeTrigger=null,this.$forceHide=null,this.$doHide=null,this.$doShow=null,this.$doDisable=null,this.$doEnable=null}},{key:"enable",value:function(){var t=new ln("enabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!0,this.emitEvent(t)}},{key:"disable",value:function(){var t=new ln("disabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!1,this.emitEvent(t)}},{key:"toggle",value:function(t){this.$isEnabled&&(t?(this.$activeTrigger.click=!this.$activeTrigger.click,this.isWithActiveTrigger()?this.enter(null):this.leave(null)):nt(this.getTipElement(),Fr)?this.leave(null):this.enter(null))}},{key:"show",value:function(){var t=this;if(document.body.contains(this.$element)&&G(this.$element)){var e=this.getTipElement();if(this.fixTitle(),this.setContent(e),this.isWithContent(e)){it(e,"id",this.$id),this.addAriaDescribedby(),this.$config.animation?tt(e,jr):et(e,jr);var n=this.getPlacement(),i=this.constructor.getAttachment(n);this.addAttachmentClass(i);var r=new ln("show",{cancelable:!0,target:this.$element,relatedTarget:e});if(this.emitEvent(r),r.defaultPrevented)this.$tip=null;else{var o=this.getContainer();document.body.contains(e)||o.appendChild(e),this.removePopper(),this.$popper=new on.default(this.$element,e,this.getPopperConfig(n,e));this.setWhileOpenListeners(!0),tt(e,Fr),this.transitionOnce(e,function(){t.$config.animation&&t.fixTransition(e);var n=t.$hoverState;t.$hoverState=null,n===Mr&&t.leave(null);var i=new ln("shown",{cancelable:!1,target:t.$element,relatedTarget:e});t.emitEvent(i)})}}else this.$tip=null}}},{key:"visibleCheck",value:function(t){var e=this;clearInterval(this.$visibleInterval),this.$visibleInterval=null,t&&(this.$visibleInterval=setInterval(function(){var t=e.getTipElement();t&&!G(e.$element)&&nt(t,Fr)&&e.forceHide()},100))}},{key:"setWhileOpenListeners",value:function(t){this.setModalListener(t),this.visibleCheck(t),this.setRouteWatcher(t),this.setOnTouchStartListener(t),t&&/(focus|blur)/.test(this.$config.trigger)?dt(this.$tip,"focusout",this):ft(this.$tip,"focusout",this)}},{key:"forceHide",value:function(){this.$tip&&nt(this.$tip,Fr)&&(this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,this.$hoverState="",this.hide(null,!0))}},{key:"hide",value:function(t,e){var n=this,i=this.$tip;if(i){var r=new ln("hide",{cancelable:!e,target:this.$element,relatedTarget:i});if(this.emitEvent(r),!r.defaultPrevented){this.setWhileOpenListeners(!1),e&&et(i,jr),et(i,Fr),this.$activeTrigger.click=!1,this.$activeTrigger.focus=!1,this.$activeTrigger.hover=!1,this.transitionOnce(i,function(){n.$hoverState!==Nr&&i.parentNode&&(i.parentNode.removeChild(i),n.removeAriaDescribedby(),n.removePopper(),n.$tip=null),t&&t();var e=new ln("hidden",{cancelable:!1,target:n.$element,relatedTarget:null});n.emitEvent(e)}),this.$hoverState=""}}}},{key:"emitEvent",value:function(t){var e=t.type;this.$root&&this.$root.$emit&&this.$root.$emit("bv::"+this.constructor.NAME+"::"+e,t);var n=this.$config.callbacks||{};"function"==typeof n[e]&&n[e](t)}},{key:"getContainer",value:function(){var t=this.$config.container,e=document.body;return!1===t?Q(".modal-content",this.$element)||e:J(t,e)||e}},{key:"addAriaDescribedby",value:function(){var t=ot(this.$element,"aria-describedby")||"";t=t.split(/\s+/).concat(this.$id).join(" ").trim(),it(this.$element,"aria-describedby",t)}},{key:"removeAriaDescribedby",value:function(){var t=this,e=ot(this.$element,"aria-describedby")||"";(e=e.split(/\s+/).filter(function(e){return e!==t.$id}).join(" ").trim())?it(this.$element,"aria-describedby",e):rt(this.$element,"aria-describedby")}},{key:"removePopper",value:function(){this.$popper&&this.$popper.destroy(),this.$popper=null}},{key:"transitionOnce",value:function(t,e){var n=this,i=this.getTransitionEndEvents(),r=!1;clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null;var o=function o(){r||(r=!0,clearTimeout(n.$fadeTimeout),n.$fadeTimeout=null,i.forEach(function(e){ft(t,e,o)}),e())};nt(t,jr)?(i.forEach(function(e){dt(t,e,o)}),this.$fadeTimeout=setTimeout(o,150)):o()}},{key:"getTransitionEndEvents",value:function(){for(var t in Hr)if(void 0!==this.$element.style[t])return Hr[t];return[]}},{key:"update",value:function(){null!==this.$popper&&this.$popper.scheduleUpdate()}},{key:"isWithContent",value:function(t){return!!(t=t||this.$tip)&&Boolean((J(Dr,t)||{}).innerHTML)}},{key:"addAttachmentClass",value:function(t){tt(this.getTipElement(),"bs-tooltip-"+t)}},{key:"getTipElement",value:function(){return this.$tip||(this.$tip=this.compileTemplate(this.$config.template)||this.compileTemplate(this.constructor.Default.template)),this.$tip.tabIndex=-1,this.$tip}},{key:"compileTemplate",value:function(t){if(!t||"string"!=typeof t)return null;var e=document.createElement("div");e.innerHTML=t.trim();var n=e.firstElementChild?e.removeChild(e.firstElementChild):null;return e=null,n}},{key:"setContent",value:function(t){this.setElementContent(J(Dr,t),this.getTitle()),et(t,jr),et(t,Fr)}},{key:"setElementContent",value:function(t,e){if(t){var n=this.$config.html;"object"===(void 0===e?"undefined":Ar(e))&&e.nodeType?n?e.parentElement!==t&&(t.innerHtml="",t.appendChild(e)):t.innerText=e.innerText:t[n?"innerHTML":"innerText"]=e}}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":Ar(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=ot(this.$element,"title")||ot(this.$element,"data-original-title")||"").trim()),t}},{key:"listen",value:function(){var t=this,e=this.$config.trigger.trim().split(/\s+/),n=this.$element;this.setRootListener(!0),e.forEach(function(e){"click"===e?dt(n,"click",t):"focus"===e?(dt(n,"focusin",t),dt(n,"focusout",t)):"blur"===e?dt(n,"focusout",t):"hover"===e&&(dt(n,"mouseenter",t),dt(n,"mouseleave",t))},this)}},{key:"unListen",value:function(){var t=this;["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(e){ft(t.$element,e,t)},this),this.setRootListener(!1)}},{key:"handleEvent",value:function(t){if(!Y(this.$element)&&this.$isEnabled){var e=t.type,n=t.target,i=t.relatedTarget,r=this.$element,o=this.$tip;if("click"===e)this.toggle(t);else if("focusin"===e||"mouseenter"===e)this.enter(t);else if("focusout"===e){if(o&&r&&r.contains(n)&&o.contains(i))return;if(o&&r&&o.contains(n)&&r.contains(i))return;if(o&&o.contains(n)&&o.contains(i))return;if(r&&r.contains(n)&&r.contains(i))return;this.leave(t)}else"mouseleave"===e&&this.leave(t)}}},{key:"setRouteWatcher",value:function(t){var e=this;t?(this.setRouteWatcher(!1),this.$root&&Boolean(this.$root.$route)&&(this.$routeWatcher=this.$root.$watch("$route",function(t,n){t!==n&&e.forceHide()}))):this.$routeWatcher&&(this.$routeWatcher(),this.$routeWatcher=null)}},{key:"setModalListener",value:function(t){Q(".modal-content",this.$element)&&this.$root&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.$forceHide)}},{key:"setRootListener",value:function(t){this.$root&&(this.$root[t?"$on":"$off"]("bv::hide::"+this.constructor.NAME,this.$doHide),this.$root[t?"$on":"$off"]("bv::show::"+this.constructor.NAME,this.$doShow),this.$root[t?"$on":"$off"]("bv::disable::"+this.constructor.NAME,this.$doDisable),this.$root[t?"$on":"$off"]("bv::enable::"+this.constructor.NAME,this.$doEnable))}},{key:"doHide",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.hide():this.forceHide()}},{key:"doShow",value:function(t){t?t&&this.$element&&this.$element.id&&this.$element.id===t&&this.show():this.show()}},{key:"doDisable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.disable():this.disable()}},{key:"doEnable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.enable():this.enable()}},{key:"setOnTouchStartListener",value:function(t){var e=this;"ontouchstart"in document.documentElement&&T(document.body.children).forEach(function(n){t?dt(n,"mouseover",e._noop):ft(n,"mouseover",e._noop)})}},{key:"_noop",value:function(){}},{key:"fixTitle",value:function(){var t=this.$element,e=Ar(ot(t,"data-original-title"));(ot(t,"title")||"string"!==e)&&(it(t,"data-original-title",ot(t,"title")||""),it(t,"title",""))}},{key:"enter",value:function(t){var e=this;t&&(this.$activeTrigger["focusin"===t.type?"focus":"hover"]=!0),nt(this.getTipElement(),Fr)||this.$hoverState===Nr?this.$hoverState=Nr:(clearTimeout(this.$hoverTimeout),this.$hoverState=Nr,this.$config.delay&&this.$config.delay.show?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Nr&&e.show()},this.$config.delay.show):this.show())}},{key:"leave",value:function(t){var e=this;t&&(this.$activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&/blur/.test(this.$config.trigger)&&(this.$activeTrigger.click=!1,this.$activeTrigger.hover=!1)),this.isWithActiveTrigger()||(clearTimeout(this.$hoverTimeout),this.$hoverState=Mr,this.$config.delay&&this.$config.delay.hide?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Mr&&e.hide()},this.$config.delay.hide):this.hide())}},{key:"getPopperConfig",value:function(t,e){var n=this;return{placement:this.constructor.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t,e)},flip:{behavior:this.$config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.$config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n.handlePopperPlacementChange(t)},onUpdate:function(t){n.handlePopperPlacementChange(t)}}}},{key:"getOffset",value:function(t,e){if(!this.$config.offset){var n=J(Rr,e),i=parseFloat(lt(n).width)+parseFloat(this.$config.arrowPadding);switch(Ir[t.toUpperCase()]){case 1:return"+50%p - "+i+"px";case-1:return"-50%p + "+i+"px";default:return 0}}return this.$config.offset}},{key:"getPlacement",value:function(){var t=this.$config.placement;return"function"==typeof t?t.call(this,this.$tip,this.$element):t}},{key:"isWithActiveTrigger",value:function(){for(var t in this.$activeTrigger)if(this.$activeTrigger[t])return!0;return!1}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Lr);null!==e&&e.length>0&&e.forEach(function(e){et(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;null===ot(t,"x-placement")&&(et(t,jr),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}],[{key:"getAttachment",value:function(t){return Br[t.toUpperCase()]}},{key:"Default",get:function(){return Vr}},{key:"NAME",get:function(){return"tooltip"}}]),t}(),Wr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qr=function(){function t(t,e){for(var n=0;n

'}),Kr="fade",Xr="show",Jr=".popover-header",Zr=".popover-body",Qr=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,zr),qr(e,[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((J(Jr,t)||{}).innerHTML),n=Boolean((J(Zr,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){tt(this.getTipElement(),"bs-popover-"+t)}},{key:"setContent",value:function(t){this.setElementContent(J(Jr,t),this.getTitle()),this.setElementContent(J(Zr,t),this.getContent()),et(t,Kr),et(t,Xr)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Gr);null!==e&&e.length>0&&e.forEach(function(e){et(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":Wr(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=ot(this.$element,"title")||ot(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":Wr(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}],[{key:"Default",get:function(){return Yr}},{key:"NAME",get:function(){return"popover"}}]),e}(),to="undefined"==typeof window?Object:window.HTMLElement,eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},no={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},io={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},ro={props:{target:{type:[String,Object,to,Function]},delay:{type:[Number,Object,String],default:0},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},boundary:{type:[String,Object],default:"scrollParent"},show:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},watch:{show:function(t,e){t!==e&&(t?this.onOpen():this.onClose())},disabled:function(t,e){t!==e&&(t?this.onDisable():this.onEnable())}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var t=this;this.$nextTick(function(){t.createToolpop()&&(t.disabled&&t.onDisable(),t.$on("open",t.onOpen),t.$on("close",t.onClose),t.$on("disable",t.onDisable),t.$on("enable",t.onEnable),t.setObservers(!0),t.show&&t.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("open",this.onOpen),this.$off("close",this.onClose),this.$off("disable",this.onDisable),this.$off("enable",this.onEnable),this.setObservers(!1),this.bringItBack(),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null)},computed:{baseConfig:function(){var t=this.container,e="object"===eo(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:no[this.placement]||"auto",container:!!t&&(/^#/.test(t)?t:"#"+t),boundary:this.boundary,delay:e||0,offset:this.offset||0,animation:!this.noFade,trigger:S(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden,enabled:this.onEnabled,disabled:this.onDisabled}}}},methods:{getConfig:function(){var t=w({},this.baseConfig);return this.$refs.title&&this.$refs.title.innerHTML.trim()&&(t.title=this.$refs.title,t.html=!0),this.$refs.content&&this.$refs.content.innerHTML.trim()&&(t.content=this.$refs.content,t.html=!0),t},onOpen:function(){this._toolpop&&this._toolpop.show()},onClose:function(t){this._toolpop?this._toolpop.hide(t):"function"==typeof t&&t()},onDisable:function(){this._toolpop&&this._toolpop.disable()},onEnable:function(){this._toolpop&&this._toolpop.enable()},updatePosition:function(){this._toolpop&&this._toolpop.update()},getTarget:function(){var t,e=this.target;return"function"==typeof e&&(e=e()),"string"==typeof e?(t=e,document.getElementById(/^#/.test(t)?t.slice(1):t)||null):"object"===(void 0===e?"undefined":eo(e))&&q(e.$el)?e.$el:"object"===(void 0===e?"undefined":eo(e))&&q(e)?e:null},onShow:function(t){this.$emit("show",t)},onShown:function(t){this.setObservers(!0),this.$emit("update:show",!0),this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.setObservers(!1),this.bringItBack(),this.$emit("update:show",!1),this.$emit("hidden",t)},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("disabled"))},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("enabled"))},bringItBack:function(){this.$el&&this.$refs.title&&this.$el.appendChild(this.$refs.title),this.$el&&this.$refs.content&&this.$el.appendChild(this.$refs.content)},setObservers:function(t){t?(this.$refs.title&&(this._obs_title=ue(this.$refs.title,this.updatePosition.bind(this),io)),this.$refs.content&&(this._obs_content=ue(this.$refs.content,this.updatePosition.bind(this),io))):(this._obs_title&&(this._obs_title.disconnect(),this._obs_title=null),this._obs_content&&(this._obs_content.disconnect(),this._obs_content=null))}}},oo={bPopover:{mixins:[ro],render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.title),t("div",{ref:"content"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},content:{type:String,default:""},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new Qr(t,this.getConfig(),this.$root):(this._toolpop=null,be("b-popover: 'target' element not found!")),this._toolpop}}}},ao={install:function(t){c(t,oo)}};f(ao);var so=ao,lo={render:function(t){var e=t(!1);return this.$slots.default?e=this.$slots.default:this.label?e=t("span",{domProps:{innerHTML:this.label}}):this.computedShowProgress?e=this.progress.toFixed(this.computedPrecision):this.computedShowValue&&(e=this.value.toFixed(this.computedPrecision)),t("div",{class:this.progressBarClasses,style:this.progressBarStyles,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":this.computedMax.toString(),"aria-valuenow":this.value.toFixed(this.computedPrecision)}},[e])},computed:{progressBarClasses:function(){return["progress-bar",this.computedVariant?"bg-"+this.computedVariant:"",this.computedStriped||this.computedAnimated?"progress-bar-striped":"",this.computedAnimated?"progress-bar-animated":""]},progressBarStyles:function(){return{width:this.value/this.computedMax*100+"%"}},progress:function(){var t=Math.pow(10,this.computedPrecision);return Math.round(100*t*this.value/this.computedMax)/t},computedMax:function(){return"number"==typeof this.max?this.max:this.$parent.max||100},computedVariant:function(){return this.variant||this.$parent.variant},computedPrecision:function(){return"number"==typeof this.precision?this.precision:this.$parent.precision||0},computedStriped:function(){return"boolean"==typeof this.striped?this.striped:this.$parent.striped||!1},computedAnimated:function(){return"boolean"==typeof this.animated?this.animated:this.$parent.animated||!1},computedShowProgress:function(){return"boolean"==typeof this.showProgress?this.showProgress:this.$parent.showProgress||!1},computedShowValue:function(){return"boolean"==typeof this.showValue?this.showValue:this.$parent.showValue||!1}},props:{value:{type:Number,default:0},label:{type:String,default:null},max:{type:Number,default:null},precision:{type:Number,default:null},variant:{type:String,default:null},striped:{type:Boolean,default:null},animated:{type:Boolean,default:null},showProgress:{type:Boolean,default:null},showValue:{type:Boolean,default:null}}},co={bProgress:{components:{bProgressBar:lo},render:function(t){var e=this.$slots.default;return e||(e=t("b-progress-bar",{props:{value:this.value,max:this.max,precision:this.precision,variant:this.variant,animated:this.animated,striped:this.striped,showProgress:this.showProgress,showValue:this.showValue}})),t("div",{class:["progress"],style:this.progressHeight},[e])},props:{variant:{type:String,default:null},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1},height:{type:String,default:null},precision:{type:Number,default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},max:{type:Number,default:100},value:{type:Number,default:0}},computed:{progressHeight:function(){return{height:this.height||null}}}},bProgressBar:lo},uo={install:function(t){c(t,co)}};f(uo);var fo=uo,po=n("Ww0M"),ho=n.n(po),mo=n("yDJ3"),vo=n.n(mo);n("Mnyw");var go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function bo(t){return t?t instanceof Object?_(t).map(function(e){return bo(t[e])}).join(" "):String(t):""}function yo(t,e){var n=null;return"string"==typeof e?n={key:t,label:e}:"function"==typeof e?n={key:t,formatter:e}:"object"===(void 0===e?"undefined":go(e))?(n=w({},e)).key=n.key||t:!1!==e&&(n={key:t}),n}var wo={bTable:{mixins:[de,Ue],render:function(t){var e=this,n=this.$slots,i=this.$scopedSlots,r=this.computedFields,o=this.computedItems,a=t(!1);if(this.caption||n["table-caption"]){var s={style:this.captionStyles};n["table-caption"]||(s.domProps={innerHTML:this.caption}),a=t("caption",s,n["table-caption"])}var l=n["table-colgroup"]?t("colgroup",{},n["table-colgroup"]):t(!1),c=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.map(function(r,o){var a={key:r.key,class:e.fieldClasses(r),style:r.thStyle||{},attrs:{tabindex:r.sortable?"0":null,abbr:r.headerAbbr||null,title:r.headerTitle||null,"aria-colindex":String(o+1),"aria-label":r.sortable?e.localSortDesc&&e.localSortBy===r.key?e.labelSortAsc:e.labelSortDesc:null,"aria-sort":r.sortable&&e.localSortBy===r.key?e.localSortDesc?"descending":"ascending":null},on:{click:function(t){t.stopPropagation(),t.preventDefault(),e.headClicked(t,r)},keydown:function(t){var n=t.keyCode;n!==St.ENTER&&n!==St.SPACE||(t.stopPropagation(),t.preventDefault(),e.headClicked(t,r))}}},s=n&&i["FOOT_"+r.key]?i["FOOT_"+r.key]:i["HEAD_"+r.key];return s?s=[s({label:r.label,column:r.key,field:r})]:a.domProps={innerHTML:r.label},t("th",a,s)})},u=t(!1);!0!==this.isStacked&&(u=t("thead",{class:this.headClasses},[t("tr",{class:this.theadTrClass},c(!1))]));var d=t(!1);this.footClone&&!0!==this.isStacked&&(d=t("tfoot",{class:this.footClasses},[t("tr",{class:this.tfootTrClass},c(!0))]));var f=[];if(i["top-row"]&&!0!==this.isStacked?f.push(t("tr",{key:"top-row",class:["b-table-top-row",this.tbodyTrClass]},[i["top-row"]({columns:r.length,fields:r})])):f.push(t(!1)),o.forEach(function(n,o){var a=i["row-details"],s=Boolean(n._showDetails&&a),l=s?e.safeId("_details_"+o+"_"):null,c=function(){a&&e.$set(n,"_showDetails",!n._showDetails)},u=r.map(function(r,a){var s={key:"row-"+o+"-cell-"+a,class:e.tdClasses(r,n),attrs:e.tdAttrs(r,n,a),domProps:{}},l=void 0;if(i[r.key])l=[i[r.key]({item:n,index:o,field:r,unformatted:vo()(n,r.key),value:e.getFormattedValue(n,r),toggleDetails:c,detailsShowing:Boolean(n._showDetails)})],e.isStacked&&(l=[t("div",{},[l])]);else{var u=e.getFormattedValue(n,r);l=e.isStacked?[t("div",u)]:u}return t(r.isRowHeader?"th":"td",s,l)}),d=null;if(e.currentPage&&e.perPage&&e.perPage>0&&(d=(e.currentPage-1)*e.perPage+o+1),f.push(t("tr",{key:"row-"+o,class:[e.rowClasses(n),{"b-table-has-details":s}],attrs:{"aria-describedby":l,"aria-rowindex":d,role:e.isStacked?"row":null},on:{click:function(t){e.rowClicked(t,n,o)},dblclick:function(t){e.rowDblClicked(t,n,o)},mouseenter:function(t){e.rowHovered(t,n,o)}}},u)),s){var p={colspan:String(r.length)},h={id:l};e.isStacked&&(p.role="cell",h.role="row");var m=t("td",{attrs:p},[a({item:n,index:o,fields:r,toggleDetails:c})]);f.push(t("tr",{key:"details-"+o,class:["b-table-details",e.tbodyTrClass],attrs:h},[m]))}else a&&f.push(t(!1))}),!this.showEmpty||o&&0!==o.length)f.push(t(!1));else{var p=this.filter?n.emptyfiltered:n.empty;p||(p=t("div",{class:["text-center","my-2"],domProps:{innerHTML:this.filter?this.emptyFilteredText:this.emptyText}})),p=t("td",{attrs:{colspan:String(r.length),role:this.isStacked?"cell":null}},[t("div",{attrs:{role:"alert","aria-live":"polite"}},[p])]),f.push(t("tr",{key:"empty-row",class:["b-table-empty-row",this.tbodyTrClass],attrs:this.isStacked?{role:"row"}:{}},[p]))}i["bottom-row"]&&!0!==this.isStacked?f.push(t("tr",{key:"bottom-row",class:["b-table-bottom-row",this.tbodyTrClass]},[i["bottom-row"]({columns:r.length,fields:r})])):f.push(t(!1));var h=t("tbody",{class:this.bodyClasses,attrs:this.isStacked?{role:"rowgroup"}:{}},f),m=t("table",{class:this.tableClasses,attrs:{id:this.safeId(),role:this.isStacked?"table":null,"aria-busy":this.computedBusy?"true":"false","aria-colcount":String(r.length),"aria-rowcount":this.$attrs["aria-rowcount"]||this.items.length>this.perPage?this.items.length:null}},[a,l,u,d,h]);return this.isResponsive?t("div",{class:this.responsiveClass},[m]):m},data:function(){return{localSortBy:this.sortBy||"",localSortDesc:this.sortDesc||!1,localItems:[],filteredItems:[],localBusy:!1}},props:{items:{type:[Array,Function],default:function(){return[]}},fields:{type:[Object,Array],default:null},sortBy:{type:String,default:null},sortDesc:{type:Boolean,default:!1},sortDirection:{type:String,default:"asc",validator:function(t){return $(["asc","desc","last"],t)}},caption:{type:String,default:null},captionTop:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},dark:{type:Boolean,default:function(){return!(!this||"boolean"!=typeof this.inverse)&&(be("b-table: prop 'inverse' has been deprecated. Use 'dark' instead"),this.dark)}},inverse:{type:Boolean,default:null},hover:{type:Boolean,default:!1},small:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},footClone:{type:Boolean,default:!1},responsive:{type:[Boolean,String],default:!1},stacked:{type:[Boolean,String],default:!1},headVariant:{type:String,default:""},footVariant:{type:String,default:""},theadClass:{type:[String,Array],default:null},theadTrClass:{type:[String,Array],default:null},tbodyClass:{type:[String,Array],default:null},tbodyTrClass:{type:[String,Array],default:null},tfootClass:{type:[String,Array],default:null},tfootTrClass:{type:[String,Array],default:null},perPage:{type:Number,default:0},currentPage:{type:Number,default:1},filter:{type:[String,RegExp,Function],default:null},sortCompare:{type:Function,default:null},noLocalSorting:{type:Boolean,default:!1},noProviderPaging:{type:Boolean,default:!1},noProviderSorting:{type:Boolean,default:!1},noProviderFiltering:{type:Boolean,default:!1},noSortReset:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},value:{type:Array,default:function(){return[]}},labelSortAsc:{type:String,default:"Click to sort Ascending"},labelSortDesc:{type:String,default:"Click to sort Descending"},showEmpty:{type:Boolean,default:!1},emptyText:{type:String,default:"There are no records to show"},emptyFilteredText:{type:String,default:"There are no records matching your request"},apiUrl:{type:String,default:""}},watch:{items:function(t,e){e!==t&&this._providerUpdate()},context:function(t,e){Un(t,e)||this.$emit("context-changed",t)},filteredItems:function(t,e){this.localFiltering&&t.length!==e.length&&this.$emit("filtered",t)},sortDesc:function(t,e){t!==this.localSortDesc&&(this.localSortDesc=t||!1)},localSortDesc:function(t,e){t!==e&&(this.$emit("update:sortDesc",t),this.noProviderSorting||this._providerUpdate())},sortBy:function(t,e){t!==this.localSortBy&&(this.localSortBy=t||null)},localSortBy:function(t,e){t!==e&&(this.$emit("update:sortBy",t),this.noProviderSorting||this._providerUpdate())},perPage:function(t,e){e===t||this.noProviderPaging||this._providerUpdate()},currentPage:function(t,e){e===t||this.noProviderPaging||this._providerUpdate()},filter:function(t,e){e===t||this.noProviderFiltering||this._providerUpdate()},localBusy:function(t,e){t!==e&&this.$emit("update:busy",t)}},mounted:function(){var t=this;this.localSortBy=this.sortBy,this.localSortDesc=this.sortDesc,this.hasProvider&&this._providerUpdate(),this.listenOnRoot("bv::refresh::table",function(e){e!==t.id&&e!==t||t._providerUpdate()})},computed:{isStacked:function(){return""===this.stacked||this.stacked},isResponsive:function(){var t=""===this.responsive||this.responsive;return!this.isStacked&&t},responsiveClass:function(){return!0===this.isResponsive?"table-responsive":this.isResponsive?"table-responsive-"+this.responsive:""},tableClasses:function(){return["table","b-table",this.striped?"table-striped":"",this.hover?"table-hover":"",this.dark?"table-dark":"",this.bordered?"table-bordered":"",this.small?"table-sm":"",this.outlined?"border":"",this.fixed?"b-table-fixed":"",!0===this.isStacked?"b-table-stacked":this.isStacked?"b-table-stacked-"+this.stacked:""]},headClasses:function(){return[this.headVariant?"thead-"+this.headVariant:"",this.theadClass]},bodyClasses:function(){return[this.tbodyClass]},footClasses:function(){var t=this.footVariant||this.headVariant||null;return[t?"thead-"+t:"",this.tfootClass]},captionStyles:function(){return this.captionTop?{captionSide:"top"}:{}},hasProvider:function(){return this.items instanceof Function},localFiltering:function(){return!this.hasProvider||this.noProviderFiltering},localSorting:function(){return this.hasProvider?this.noProviderSorting:!this.noLocalSorting},localPaging:function(){return!this.hasProvider||this.noProviderPaging},context:function(){return{perPage:this.perPage,currentPage:this.currentPage,filter:this.filter,sortBy:this.localSortBy,sortDesc:this.localSortDesc,apiUrl:this.apiUrl}},computedFields:function(){var t=this,e=[];if(S(this.fields)?this.fields.filter(function(t){return t}).forEach(function(t){if("string"==typeof t)e.push({key:t,label:ho()(t)});else if("object"===(void 0===t?"undefined":go(t))&&t.key&&"string"==typeof t.key)e.push(w({},t));else if("object"===(void 0===t?"undefined":go(t))&&1===_(t).length){var n=_(t)[0],i=yo(n,t[n]);i&&e.push(i)}}):this.fields&&"object"===go(this.fields)&&_(this.fields).length>0&&_(this.fields).forEach(function(n){var i=yo(n,t.fields[n]);i&&e.push(i)}),0===e.length&&this.computedItems.length>0){var n=this.computedItems[0],i=["_rowVariant","_cellVariants","_showDetails"];_(n).forEach(function(t){i.includes(t)||e.push({key:t,label:ho()(t)})})}var r={};return e.filter(function(t){return!r[t.key]&&(r[t.key]=!0,t.label="string"==typeof t.label?t.label:ho()(t.key),!0)})},computedItems:function(){var t,e=this.perPage,n=this.currentPage,i=this.filter,r=this.localSortBy,o=this.localSortDesc,a=this.sortCompare,s=this.localFiltering,l=this.localSorting,c=this.localPaging,u=this.hasProvider?this.localItems:this.items;if(!u)return this.$nextTick(this._providerUpdate),[];if(u=u.slice(),i&&s)if(i instanceof Function)u=u.filter(i);else{var d=void 0;d=i instanceof RegExp?i:new RegExp(".*"+i+".*","ig"),u=u.filter(function(t){var e,n=d.test((e=t)instanceof Object?bo(_(e).reduce(function(t,n){return/^_/.test(n)||(t[n]=e[n]),t},{})):"");return d.lastIndex=0,n})}return s&&(this.filteredItems=u.slice()),r&&l&&(t=function(t,e){var n=null;return"function"==typeof a&&(n=a(t,e,r)),null==n&&(n=function(t,e,n){return"number"==typeof t[n]&&"number"==typeof e[n]?(t[n]e[n]&&1)||0:bo(t[n]).localeCompare(bo(e[n]),void 0,{numeric:!0})}(t,e,r)),(n||0)*(o?-1:1)},u=u.map(function(t,e){return[e,t]}).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(t)).map(function(t){return t[1]})),Boolean(e)&&c&&(u=u.slice((n-1)*e,n*e)),this.$emit("input",u),u},computedBusy:function(){return this.busy||this.localBusy}},methods:{keys:_,fieldClasses:function(t){return[t.sortable?"sorting":"",t.sortable&&this.localSortBy===t.key?"sorting_"+(this.localSortDesc?"desc":"asc"):"",t.variant?"table-"+t.variant:"",t.class?t.class:"",t.thClass?t.thClass:""]},tdClasses:function(t,e){var n="";return e._cellVariants&&e._cellVariants[t.key]&&(n=(this.dark?"bg":"table")+"-"+e._cellVariants[t.key]),[t.variant&&!n?(this.dark?"bg":"table")+"-"+t.variant:"",n,t.class?t.class:"",this.getTdValues(e,t.key,t.tdClass,"")]},tdAttrs:function(t,e,n){var i={};return i["aria-colindex"]=String(n+1),this.isStacked&&(i["data-label"]=t.label,t.isRowHeader?i.role="rowheader":i.role="cell"),w({},i,this.getTdValues(e,t.key,t.tdAttr,{}))},rowClasses:function(t){return[t._rowVariant?(this.dark?"bg":"table")+"-"+t._rowVariant:"",this.tbodyTrClass]},rowClicked:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-clicked",e,n,t)},rowDblClicked:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-dblclicked",e,n,t)},rowHovered:function(t,e,n){this.stopIfBusy(t)||this.$emit("row-hovered",e,n,t)},headClicked:function(t,e){var n=this;if(!this.stopIfBusy(t)){var i=!1,r=function(){var t=e.sortDirection||n.sortDirection;"asc"===t?n.localSortDesc=!1:"desc"===t&&(n.localSortDesc=!0)};e.sortable?(e.key===this.localSortBy?this.localSortDesc=!this.localSortDesc:(this.localSortBy=e.key,r()),i=!0):this.localSortBy&&!this.noSortReset&&(this.localSortBy=null,r(),i=!0),this.$emit("head-clicked",e.key,e,t),i&&this.$emit("sort-changed",this.context)}},stopIfBusy:function(t){return!!this.computedBusy&&(t.preventDefault(),t.stopPropagation(),!0)},refresh:function(){this.hasProvider&&this._providerUpdate()},_providerSetLocal:function(t){this.localItems=t&&t.length>0?t.slice():[],this.localBusy=!1,this.$emit("refreshed"),this.emitOnRoot("table::refreshed",this.id),this.id&&this.emitOnRoot("bv::table::refreshed",this.id)},_providerUpdate:function(){var t=this;if(!this.computedBusy&&this.hasProvider){this.localBusy=!0;var e=this.items(this.context,this._providerSetLocal);e&&e.then&&"function"==typeof e.then?e.then(function(e){t._providerSetLocal(e)}):this._providerSetLocal(e)}},getTdValues:function(t,e,n,i){var r=this.$parent;if(n){if("function"==typeof n)return n(vo()(t,e),e,t);if("string"==typeof n&&"function"==typeof r[n]){var o=vo()(t,e);return r[n](o,e,t)}return n}return i},getFormattedValue:function(t,e){var n=e.key,i=e.formatter,r=this.$parent,o=vo()(t,n);return i&&("function"==typeof i?o=i(o,n,t):"string"==typeof i&&"function"==typeof r[i]&&(o=r[i](o,n,t))),o}}}},_o={install:function(t){c(t,wo)}};f(_o);var ko=_o;function xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Co={name:"bTabButtonHelper",props:{content:{type:[String,Array],default:""},href:{type:String,default:"#"},posInSet:{type:Number,default:null},setSize:{type:Number,default:null},controls:{type:String,default:null},id:{type:String,default:null},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},linkClass:{default:null},itemClass:{default:null},noKeyNav:{type:Boolean,default:!1}},render:function(t){var e=t("a",{class:["nav-link",{active:this.active,disabled:this.disabled},this.linkClass],attrs:{role:"tab",tabindex:this.noKeyNav?null:"-1",href:this.href,id:this.id,disabled:this.disabled,"aria-selected":this.active?"true":"false","aria-setsize":this.setSize,"aria-posinset":this.posInSet,"aria-controls":this.controls},on:{click:this.handleClick,keydown:this.handleClick}},this.content);return t("li",{class:["nav-item",this.itemClass],attrs:{role:"presentation"}},[e])},methods:{handleClick:function(t){function e(){t.preventDefault(),t.stopPropagation()}"click"!==t.type&&this.noKeyNav||(this.disabled?e():"click"!==t.type&&t.keyCode!==St.ENTER&&t.keyCode!==St.SPACE||(e(),this.$emit("click",t)))}}},To={bTabs:{mixins:[de],render:function(t){var e,n=this,i=this.tabs,r=i.map(function(e,r){return t(Co,{key:r,props:{content:e.$slots.title||e.title,href:e.href,id:e.controlledBy||n.safeId("_BV_tab_"+(r+1)+"_"),active:e.localActive,disabled:e.disabled,setSize:i.length,posInSet:r+1,controls:n.safeId("_BV_tab_container_"),linkClass:e.titleLinkClass,itemClass:e.titleItemClass,noKeyNav:n.noKeyNav},on:{click:function(t){n.setTab(r)}}})}),o=t("ul",{class:["nav",(e={},xo(e,"nav-"+this.navStyle,!this.noNavStyle),xo(e,"card-header-"+this.navStyle,this.card&&!this.vertical),xo(e,"card-header",this.card&&this.vertical),xo(e,"h-100",this.card&&this.vertical),xo(e,"flex-column",this.vertical),xo(e,"border-bottom-0",this.vertical),xo(e,"rounded-0",this.vertical),xo(e,"small",this.small),e),this.navClass],attrs:{role:"tablist",tabindex:this.noKeyNav?null:"0",id:this.safeId("_BV_tab_controls_")},on:{keydown:this.onKeynav}},[r,this.$slots.tabs]);o=t("div",{class:[{"card-header":this.card&&!this.vertical&&!(this.end||this.bottom),"card-footer":this.card&&!this.vertical&&(this.end||this.bottom),"col-auto":this.vertical},this.navWrapperClass]},[o]);var a=void 0;a=i&&i.length?t(!1):t("div",{class:["tab-pane","active",{"card-body":this.card}]},this.$slots.empty);var s=t("div",{ref:"tabsContainer",class:["tab-content",{col:this.vertical},this.contentClass],attrs:{id:this.safeId("_BV_tab_container_")}},[this.$slots.default,a]);return t(this.tag,{class:["tabs",{row:this.vertical,"no-gutters":this.vertical&&this.card}],attrs:{id:this.safeId()}},[this.end||this.bottom?s:t(!1),[o],this.end||this.bottom?t(!1):s])},data:function(){return{currentTab:this.value,tabs:[]}},props:{tag:{type:String,default:"div"},card:{type:Boolean,default:!1},small:{type:Boolean,default:!1},value:{type:Number,default:null},pills:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},bottom:{type:Boolean,default:!1},end:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noNavStyle:{type:Boolean,default:!1},noKeyNav:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:null},navClass:{type:[String,Array,Object],default:null},navWrapperClass:{type:[String,Array,Object],default:null}},watch:{currentTab:function(t,e){t!==e&&(this.$root.$emit("changed::tab",this,t,this.tabs[t]),this.$emit("input",t),this.tabs[t].$emit("click"))},value:function(t,e){if(t!==e){"number"!=typeof e&&(e=0);var n=t0?1:-1},onKeynav:function(t){if(!this.noKeyNav){var e=t.keyCode,n=t.shiftKey;e===St.UP||e===St.LEFT?(i(),n?this.setTab(0,!1,1):this.previousTab()):e!==St.DOWN&&e!==St.RIGHT||(i(),n?this.setTab(this.tabs.length-1,!1,-1):this.nextTab())}function i(){t.preventDefault(),t.stopPropagation()}},nextTab:function(){this.setTab(this.currentTab+1,!1,1)},previousTab:function(){this.setTab(this.currentTab-1,!1,-1)},setTab:function(t,e,n){var i=this;if(n=this.sign(n||0),t=t||0,e||t!==this.currentTab){var r=this.tabs[t];r?r.disabled?n&&this.setTab(t+n,e,n):(this.tabs.forEach(function(t){t===r?i.$set(t,"localActive",!0):i.$set(t,"localActive",!1)}),this.currentTab=t):this.$emit("input",this.currentTab)}},updateTabs:function(){this.tabs=this.$children.filter(function(t){return t._isTab});var t=null;if(this.tabs.forEach(function(e,n){e.localActive&&!e.disabled&&(t=n)}),null===t){if(this.currentTab>=this.tabs.length)return void this.setTab(this.tabs.length-1,!0,-1);this.tabs[this.currentTab]&&!this.tabs[this.currentTab].disabled&&(t=this.currentTab)}null===t&&this.tabs.forEach(function(e,n){e.disabled||null!==t||(t=n)}),this.setTab(t||0,!0,0)}},mounted:function(){this.updateTabs(),ue(this.$refs.tabsContainer,this.updateTabs.bind(this),{subtree:!1})}},bTab:{mixins:[de],render:function(t){var e=t(!1);return!this.localActive&&this.computedLazy||(e=t(this.tag,{ref:"panel",class:this.tabClasses,directives:[{name:"show",value:this.localActive}],attrs:{role:"tabpanel",id:this.safeId(),"aria-hidden":this.localActive?"false":"true","aria-expanded":this.localActive?"true":"false","aria-lablelledby":this.controlledBy||null}},[this.$slots.default])),t("transition",{props:{mode:"out-in"},on:{beforeEnter:this.beforeEnter,beforeLeave:this.beforeLeave}},[e])},methods:{beforeEnter:function(){var t=this;window.requestAnimationFrame(function(){t.show=!0})},beforeLeave:function(){this.show=!1}},data:function(){return{localActive:this.active&&!this.disabled,show:!1}},mounted:function(){this.show=this.localActive},computed:{tabClasses:function(){return["tab-pane",this.$parent&&this.$parent.card&&!this.noBody?"card-body":"",this.show?"show":"",this.computedFade?"fade":"",this.disabled?"disabled":"",this.localActive?"active":""]},controlledBy:function(){return this.buttonId||this.safeId("__BV_tab_button__")},computedFade:function(){return this.$parent.fade},computedLazy:function(){return this.$parent.lazy},_isTab:function(){return!0}},props:{active:{type:Boolean,default:!1},tag:{type:String,default:"div"},buttonId:{type:String,default:""},title:{type:String,default:""},titleItemClass:{type:[String,Array,Object],default:null},titleLinkClass:{type:[String,Array,Object],default:null},headHtml:{type:String,default:null},disabled:{type:Boolean,default:!1},noBody:{type:Boolean,default:!1},href:{type:String,default:"#"}}}},So={install:function(t){c(t,To)}};f(So);var $o=So,Eo={bTooltip:{mixins:[ro],render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},triggers:{type:[String,Array],default:"hover focus"},placement:{type:String,default:"top"}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new zr(t,this.getConfig(),this.$root):(this._toolpop=null,be("b-tooltip: 'target' element not found!")),this._toolpop}}}},Oo={install:function(t){c(t,Eo)}};f(Oo);var Ao=Oo,Po=function(){function t(t,e){for(var n=0;n=n){var i=this.$targets[this.$targets.length-1];this.$activeTarget!==i&&this.activate(i)}else{if(this.$activeTarget&&t0)return this.$activeTarget=null,void this.clear();for(var r=this.$offsets.length;r--;){this.$activeTarget!==this.$targets[r]&&t>=this.$offsets[r]&&(void 0===this.$offsets[r+1]||t0&&this.$root&&this.$root.$emit("bv::scrollspy::activate",t,n)}},{key:"clear",value:function(){var t=this;X(this.$selector+", "+Mo.NAV_ITEMS,this.$el).filter(function(t){return nt(t,No)}).forEach(function(e){return t.setActiveState(e,!1)})}},{key:"setActiveState",value:function(t,e){t&&(e?tt(t,No):et(t,No))}}],[{key:"Name",get:function(){return"v-b-scrollspy"}},{key:"Default",get:function(){return Lo}},{key:"DefaultType",get:function(){return Bo}}]),t}(),Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uo=!("undefined"!=typeof window),zo="__BV_ScrollSpy__";function Wo(t,e,n){if(!Uo){var i=function(t){var e={};return t.arg&&(e.element="#"+t.arg),_(t.modifiers).forEach(function(t){/^\d+$/.test(t)?e.offset=parseInt(t,10):/^(auto|position|offset)$/.test(t)&&(e.method=t)}),"string"==typeof t.value?e.element=t.value:"number"==typeof t.value?e.offset=Math.round(t.value):"object"===Ho(t.value)&&_(t.value).filter(function(t){return Boolean(Vo.DefaultType[t])}).forEach(function(n){e[n]=t.value[n]}),e}(e);return t[zo]?t[zo].updateConfig(i,n.context.$root):t[zo]=new Vo(t,i,n.context.$root),t[zo]}}var qo={bScrollspy:{bind:function(t,e,n){Wo(t,e,n)},inserted:function(t,e,n){Wo(t,e,n)},update:function(t,e,n){Wo(t,e,n)},componentUpdated:function(t,e,n){Wo(t,e,n)},unbind:function(t){Uo||function(t){t[zo]&&(t[zo].dispose(),t[zo]=null)}(t)}}},Go={install:function(t){d(t,qo)}};f(Go);var Yo=Go,Ko="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xo="undefined"!=typeof window&&"undefined"!=typeof document,Jo="__BV_ToolTip__",Zo={focus:!0,hover:!0,click:!0,blur:!0};function Qo(t){var e={};"string"==typeof t.value?e.title=t.value:"function"==typeof t.value?e.title=t.value:"object"===Ko(t.value)&&(e=w(t.value)),t.arg&&(e.container="#"+t.arg),_(t.modifiers).forEach(function(t){if(/^html$/.test(t))e.html=!0;else if(/^nofade$/.test(t))e.animation=!1;else if(/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/.test(t))e.placement=t;else if(/^(window|viewport)$/.test(t))e.boundary=t;else if(/^d\d+$/.test(t)){var n=parseInt(t.slice(1),10)||0;n&&(e.delay=n)}else if(/^o-?\d+$/.test(t)){var i=parseInt(t.slice(1),10)||0;i&&(e.offset=i)}});var n={};return("string"==typeof e.trigger?e.trigger.trim().split(/\s+/):[]).forEach(function(t){Zo[t]&&(n[t]=!0)}),_(Zo).forEach(function(e){t.modifiers[e]&&(n[e]=!0)}),e.trigger=_(n).join(" "),"blur"===e.trigger&&(e.trigger="focus"),e.trigger||delete e.trigger,e}function ta(t,e,n){Xo&&(on.default?t[Jo]?t[Jo].updateConfig(Qo(e)):t[Jo]=new zr(t,Qo(e),n.context.$root):be("v-b-tooltip: Popper.js is required for tooltips to work"))}var ea={bTooltip:{bind:function(t,e,n){ta(t,e,n)},inserted:function(t,e,n){ta(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&ta(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&ta(t,e,n)},unbind:function(t){!function(t){Xo&&t[Jo]&&(t[Jo].destroy(),t[Jo]=null,delete t[Jo])}(t)}}},na={install:function(t){d(t,ea)}};f(na);var ia=na,ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oa="undefined"!=typeof window&&"undefined"!=typeof document,aa="__BV_PopOver__",sa={focus:!0,hover:!0,click:!0,blur:!0};function la(t){var e={};"string"==typeof t.value?e.content=t.value:"function"==typeof t.value?e.content=t.value:"object"===ra(t.value)&&(e=w(t.value)),t.arg&&(e.container="#"+t.arg),_(t.modifiers).forEach(function(t){if(/^html$/.test(t))e.html=!0;else if(/^nofade$/.test(t))e.animation=!1;else if(/^(auto|top(left|right)?|bottom(left|right)?|left(top|bottom)?|right(top|bottom)?)$/.test(t))e.placement=t;else if(/^(window|viewport)$/.test(t))e.boundary=t;else if(/^d\d+$/.test(t)){var n=parseInt(t.slice(1),10)||0;n&&(e.delay=n)}else if(/^o-?\d+$/.test(t)){var i=parseInt(t.slice(1),10)||0;i&&(e.offset=i)}});var n={};return("string"==typeof e.trigger?e.trigger.trim().split(/\s+/):[]).forEach(function(t){sa[t]&&(n[t]=!0)}),_(sa).forEach(function(e){t.modifiers[e]&&(n[e]=!0)}),e.trigger=_(n).join(" "),"blur"===e.trigger&&(e.trigger="focus"),e.trigger||delete e.trigger,e}function ca(t,e,n){oa&&(on.default?t[aa]?t[aa].updateConfig(la(e)):t[aa]=new Qr(t,la(e),n.context.$root):be("v-b-popover: Popper.js is required for popovers to work"))}var ua={bPopover:{bind:function(t,e,n){ca(t,e,n)},inserted:function(t,e,n){ca(t,e,n)},update:function(t,e,n){e.value!==e.oldValue&&ca(t,e,n)},componentUpdated:function(t,e,n){e.value!==e.oldValue&&ca(t,e,n)},unbind:function(t){!function(t){oa&&t[aa]&&(t[aa].destroy(),t[aa]=null,delete t[aa])}(t)}}},da={install:function(t){d(t,ua)}};f(da);var fa=da,pa={install:function(t){if(!t._bootstrap_vue_installed){for(var e in t._bootstrap_vue_installed=!0,i)t.use(i[e]);for(var n in r)t.use(r[n])}}};f(pa);e.a=pa},pzWd:function(t,e){t.exports=function(t){return t instanceof Date}},sr1N:function(t,e,n){"use strict";var i=n("VPBk");n.n(i).a},sunR:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t),r=i(e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}},xu15:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.action-link[data-v-d71fe564] {\n cursor: pointer;\n}\n",""])},yDJ3:function(t,e,n){(function(e){var n="Expected a function",i="__lodash_hash_undefined__",r=1/0,o="[object Function]",a="[object GeneratorFunction]",s="[object Symbol]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,u=/^\./,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,h="object"==typeof e&&e&&e.Object===Object&&e,m="object"==typeof self&&self&&self.Object===Object&&self,v=h||m||Function("return this")();var g,b=Array.prototype,y=Function.prototype,w=Object.prototype,_=v["__core-js_shared__"],k=(g=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",x=y.toString,C=w.hasOwnProperty,T=w.toString,S=RegExp("^"+x.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=v.Symbol,E=b.splice,O=R(v,"Map"),A=R(Object,"create"),P=$?$.prototype:void 0,L=P?P.toString:void 0;function B(t){var e=-1,n=t?t.length:0;for(this.clear();++e-1},I.prototype.set=function(t,e){var n=this.__data__,i=M(n,t);return i<0?n.push([t,e]):n[i][1]=e,this},N.prototype.clear=function(){this.__data__={hash:new B,map:new(O||I),string:new B}},N.prototype.delete=function(t){return D(this,t).delete(t)},N.prototype.get=function(t){return D(this,t).get(t)},N.prototype.has=function(t){return D(this,t).has(t)},N.prototype.set=function(t,e){return D(this,t).set(t,e),this};var V=U(function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(q(t))return L?L.call(t):"";var e=t+"";return"0"==e&&1/t==-r?"-0":e}(e);var n=[];return u.test(t)&&n.push(""),t.replace(d,function(t,e,i,r){n.push(i?r.replace(f,"$1"):e||t)}),n});function H(t){if("string"==typeof t||q(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}function U(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(n);var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var a=t.apply(this,n);return i.cache=o.set(r,a),a};return i.cache=new(U.Cache||N),i}U.Cache=N;var z=Array.isArray;function W(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function q(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&T.call(t)==s}t.exports=function(t,e,n){var i=null==t?void 0:j(t,e);return void 0===i?n:i}}).call(this,n("yLpj"))},yHON:function(t,e,n){var i=n("yNUO");t.exports=function(t,e){var n=i(t).getTime(),r=i(e).getTime();return n>r?-1:n=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;axios.delete("/oauth/personal-access-tokens/"+t.id).then(function(t){e.getTokens()})}}},o=(n("VJHJ"),n("KHd+")),a=Object(o.a)(r,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"card card-default mb-4"},[n("div",{staticClass:"card-header font-weight-bold bg-white"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",attrs:{tabindex:"-1"},on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"card-body"},[0===t.tokens.length?n("p",{staticClass:"mb-0"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless mb-0"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Delete\n ")])])])}),0)]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}),0)]):t._e(),t._v(" "),n("form",{attrs:{role:"form"},on:{submit:function(e){return e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-4 col-form-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text",name:"name",autocomplete:"off"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group row"},[n("label",{staticClass:"col-md-4 col-form-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])}),0)]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-secondary font-weight-bold",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("textarea",{staticClass:"form-control",attrs:{rows:"10"}},[t._v(t._s(t.accessToken))])]),t._v(" "),t._m(4)])])])])},[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",{staticClass:"mb-0"},[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")]),this._v(" "),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}],!1,null,"bf6d3a58",null);e.default=a.exports},zvoo:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".fade-enter-active, .fade-leave-active {\n transition: opacity .15s linear;\n}\n.fade-enter, .fade-leave-to {\n opacity: 0;\n}\n",""])}});