From d57c8a547d82f9fc4b8914b3530b2cd7c1912542 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 9 Mar 2020 11:04:25 +0400 Subject: wat --- day9/task5_vue/static/js/bundle.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 day9/task5_vue/static/js/bundle.js (limited to 'day9/task5_vue/static/js/bundle.js') diff --git a/day9/task5_vue/static/js/bundle.js b/day9/task5_vue/static/js/bundle.js new file mode 100644 index 0000000..ef9a564 --- /dev/null +++ b/day9/task5_vue/static/js/bundle.js @@ -0,0 +1,14 @@ +!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=51)}([function(t,e,n){"use strict";var r=n(11),o=n(22),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Function]"===i.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;nn.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o=200&&t<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){c.headers[t]={}}),r.forEach(["post","put","patch"],function(t){c.headers[t]=r.merge(i)}),t.exports=c}).call(this,n(15))},function(t,e){var n,r,o=t.exports={};function i(){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===i||!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:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],f=!1,l=-1;function d(){f&&c&&(f=!1,c.length?u=c.concat(u):l=-1,u.length&&p())}function p(){if(!f){var t=s(d);f=!0;for(var e=u.length;e;){for(c=u,u=[];++l1)for(var n=1;n=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===u?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),r=t.split(","),o=0;o-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,C=w(function(t){return t.replace(x,function(t,e){return e?e.toUpperCase():""})}),$=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),A=/\B([A-Z])/g,k=w(function(t){return t.replace(A,"-$1").toLowerCase()});var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function O(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function T(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n0,Q=K&&K.indexOf("edge/")>0,Y=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===X),tt=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(W)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var ot=function(){return void 0===z&&(z=!W&&!J&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),z},it=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,ct="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(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 ut=j,ft=0,lt=function(){this.id=ft++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){g(this.subs,t)},lt.prototype.depend=function(){lt.target&<.target.addDep(this)},lt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===k(t)){var c=Ut(String,o.type);(c<0||s0&&(fe((u=t(u,(n||"")+"_"+c))[0])&&fe(l)&&(r[f]=gt(l.text+u[0].text),u.shift()),r.push.apply(r,u)):s(u)?fe(l)?r[f]=gt(l.text+u):""!==u&&r.push(gt(u)):fe(u)&&fe(l)?r[f]=gt(l.text+u.text):(a(e._isVList)&&i(u.tag)&&o(u.key)&&i(n)&&(u.key="__vlist"+n+"_"+c+"__"),r.push(u)));return r}(t):void 0}function fe(t){return i(t)&&i(t.text)&&!1===t.isComment}function le(t,e){if(t){for(var n=Object.create(null),r=ct?Reflect.ownKeys(t):Object.keys(t),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=he(e,c,t[c]))}else o={};for(var u in e)u in o||(o[u]=me(e,u));return t&&Object.isExtensible(t)&&(t._normalized=o),q(o,"$stable",a),q(o,"$key",s),q(o,"$hasNormal",i),o}function he(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function me(t,e){return function(){return t[e]}}function ye(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(fn=function(){return ln.now()})}function dn(){var t,e;for(un=fn(),sn=!0,nn.sort(function(t,e){return t.id-e.id}),cn=0;cncn&&nn[n].id>t.id;)n--;nn.splice(n+1,0,t)}else nn.push(t);an||(an=!0,ee(dn))}}(this)},vn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){qt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:j,set:j};function mn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}function yn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&$t(!1);var i=function(i){o.push(i);var a=Lt(i,e,n,t);St(r,i,a),i in t||mn(t,"_props",i)};for(var a in e)i(a);$t(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?j:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;f(e=t._data="function"==typeof e?function(t,e){pt();try{return t.call(e,e)}catch(t){return qt(t,e,"data()"),{}}finally{vt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&b(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&mn(t,"_data",i))}var a;kt(e,!0)}(t):kt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new vn(t,a||j,j,gn)),o in t||_n(t,o,i)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Tn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Sn(a.componentOptions);s&&!e(s)&&En(n,i,r,o)}}}function En(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,g(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Cn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Dt($n(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&&Ge(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=de(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return Ue(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ue(t,e,n,r,o,!0)};var i=n&&n.data;St(t,"$attrs",i&&i.attrs||r,null,!0),St(t,"$listeners",e._parentListeners||r,null,!0)}(e),en(e,"beforeCreate"),function(t){var e=le(t.$options.inject,t);e&&($t(!1),Object.keys(e).forEach(function(n){St(t,n,e[n])}),$t(!0))}(e),yn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),en(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(An),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=Ot,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,n){if(f(e))return xn(this,t,e,n);(n=n||{}).user=!0;var r=new vn(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){qt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(An),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o1?O(n):n;for(var r=O(arguments,1),o='event handler for "'+t+'"',i=0,a=n.length;iparseInt(this.max)&&En(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:T,mergeOptions:Dt,defineReactive:St},t.set=Ot,t.delete=Tt,t.nextTick=ee,t.observable=function(t){return kt(t),t},t.options=Object.create(null),L.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,T(t.options.components,Rn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(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=Dt(this.options,t),this}}(t),kn(t),function(t){L.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&f(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)}(An),Object.defineProperty(An.prototype,"$isServer",{get:ot}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:Re}),An.version="2.6.10";var In=m("style,class"),Nn=m("input,textarea,option,select,progress"),Pn=m("contenteditable,draggable,spellcheck"),Dn=m("events,caret,typing,plaintext-only"),Fn=function(t,e){return qn(e)||"false"===e?"false":"contenteditable"===t&&Dn(e)?e:"true"},Ln=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"),Mn="http://www.w3.org/1999/xlink",Bn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Un=function(t){return Bn(t)?t.slice(6,t.length):""},qn=function(t){return null==t||!1===t};function Hn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=zn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=zn(e,n.data));return function(t,e){if(i(t)||i(e))return Vn(t,Wn(e));return""}(e.staticClass,e.class)}function zn(t,e){return{staticClass:Vn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Vn(t,e){return t?e?t+" "+e:t:e||""}function Wn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?hr(t,e,n):Ln(e)?qn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Pn(e)?t.setAttribute(e,Fn(e,n)):Bn(e)?qn(n)?t.removeAttributeNS(Mn,Un(e)):t.setAttributeNS(Mn,e,n):hr(t,e,n)}function hr(t,e,n){if(qn(n))t.removeAttribute(e);else{if(G&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var mr={create:pr,update:pr};function yr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Hn(e),c=n._transitionClasses;i(c)&&(s=Vn(s,Wn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gr,_r={create:yr,update:yr},br="__r",wr="__c";function xr(t,e,n){var r=gr;return function o(){var i=e.apply(null,arguments);null!==i&&Ar(t,o,n,r)}}var Cr=Jt&&!(tt&&Number(tt[1])<=53);function $r(t,e,n,r){if(Cr){var o=un,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}gr.addEventListener(t,e,nt?{capture:n,passive:r}:n)}function Ar(t,e,n,r){(r||gr).removeEventListener(t,e._wrapper||e,n)}function kr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};gr=e.elm,function(t){if(i(t[br])){var e=G?"change":"input";t[e]=[].concat(t[br],t[e]||[]),delete t[br]}i(t[wr])&&(t.change=[].concat(t[wr],t.change||[]),delete t[wr])}(n),ae(n,r,$r,Ar,xr,e.context),gr=void 0}}var Sr,Or={create:kr,update:kr};function Tr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=T({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var u=o(r)?"":String(r);Er(a,u)&&(a.value=u)}else if("innerHTML"===n&&Kn(a.tagName)&&o(a.innerHTML)){(Sr=Sr||document.createElement("div")).innerHTML=""+r+"";for(var f=Sr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;f.firstChild;)a.appendChild(f.firstChild)}else if(r!==s[n])try{a[n]=r}catch(t){}}}}function Er(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,r=t._vModifiers;if(i(r)){if(r.number)return h(n)!==h(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var jr={create:Tr,update:Tr},Rr=w(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Ir(t){var e=Nr(t.style);return t.staticStyle?T(t.staticStyle,e):e}function Nr(t){return Array.isArray(t)?E(t):"string"==typeof t?Rr(t):t}var Pr,Dr=/^--/,Fr=/\s*!important$/,Lr=function(t,e,n){if(Dr.test(e))t.style.setProperty(e,n);else if(Fr.test(n))t.style.setProperty(k(e),n.replace(Fr,""),"important");else{var r=Br(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(Hr).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 Vr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Hr).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")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Wr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,Jr(t.name||"v")),T(e,t),e}return"string"==typeof t?Jr(t):void 0}}var Jr=w(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"}}),Xr=W&&!Z,Kr="transition",Gr="animation",Zr="transition",Qr="transitionend",Yr="animation",to="animationend";Xr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Zr="WebkitTransition",Qr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Yr="WebkitAnimation",to="webkitAnimationEnd"));var eo=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function no(t){eo(function(){eo(t)})}function ro(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),zr(t,e))}function oo(t,e){t._transitionClasses&&g(t._transitionClasses,e),Vr(t,e)}function io(t,e,n){var r=so(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Kr?Qr:to,c=0,u=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Kr,f=a,l=i.length):e===Gr?u>0&&(n=Gr,f=u,l=c.length):l=(n=(f=Math.max(a,u))>0?a>u?Kr:Gr:null)?n===Kr?i.length:c.length:0,{type:n,timeout:f,propCount:l,hasTransform:n===Kr&&ao.test(r[Zr+"Property"])}}function co(t,e){for(;t.length1}function ho(t,e){!0!==e.data.show&&fo(e)}var mo=function(t){var e,n,r={},c=t.modules,u=t.nodeOps;for(e=0;ev?_(t,o(n[y+1])?null:n[y+1].elm,n,p,y,r):p>y&&w(0,e,d,v)}(d,m,y,n,f):i(y)?(i(t.text)&&u.setTextContent(d,""),_(d,null,y,0,y.length-1,n)):i(m)?w(0,m,0,m.length-1):i(t.text)&&u.setTextContent(d,""):t.text!==e.text&&u.setTextContent(d,e.text),i(v)&&i(p=v.hook)&&i(p=p.postpatch)&&p(t,e)}}}function A(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(N(wo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function bo(t,e){return e.every(function(e){return!N(e,t)})}function wo(t){return"_value"in t?t._value:t.value}function xo(t){t.target.composing=!0}function Co(t){t.target.composing&&(t.target.composing=!1,$o(t.target,"input"))}function $o(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ao(t){return!t.componentInstance||t.data&&t.data.transition?t:Ao(t.componentInstance._vnode)}var ko={model:yo,show:{bind:function(t,e,n){var r=e.value,o=(n=Ao(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,fo(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Ao(n)).data&&n.data.transition?(n.data.show=!0,r?fo(n,function(){t.style.display=t.__vOriginalDisplay}):lo(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},So={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 Oo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Oo(We(e.children)):t}function To(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[C(i)]=o[i];return e}function Eo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var jo=function(t){return t.tag||Ve(t)},Ro=function(t){return"show"===t.name},Io={name:"transition",props:So,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(jo)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=Oo(o);if(!i)return o;if(this._leaving)return Eo(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=To(this),u=this._vnode,f=Oo(u);if(i.data.directives&&i.data.directives.some(Ro)&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!Ve(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=T({},c);if("out-in"===r)return this._leaving=!0,se(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Eo(t,o);if("in-out"===r){if(Ve(i))return u;var d,p=function(){d()};se(c,"afterEnter",p),se(c,"enterCancelled",p),se(l,"delayLeave",function(t){d=t})}}return o}}},No=T({tag:String,moveClass:String},So);function Po(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Do(t){t.data.newPos=t.elm.getBoundingClientRect()}function Fo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete No.mode;var Lo={Transition:Io,TransitionGroup:{props:No,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Qe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=To(this),s=0;s-1?Zn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Zn[t]=/HTMLUnknownElement/.test(e.toString())},T(An.options.directives,ko),T(An.options.components,Lo),An.prototype.__patch__=W?mo:j,An.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=yt),en(t,"beforeMount"),r=function(){t._update(t._render(),n)},new vn(t,r,j,{before:function(){t._isMounted&&!t._isDestroyed&&en(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,en(t,"mounted")),t}(this,t=t&&W?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},W&&setTimeout(function(){B.devtools&&it&&it.emit("init",An)},0),e.a=An}).call(this,n(10),n(49).setImmediate)},function(t,e,n){"use strict";var r=n(0),o=n(11),i=n(23),a=n(18);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var c=s(n(14));c.Axios=i,c.create=function(t){return s(a(c.defaults,t))},c.Cancel=n(19),c.CancelToken=n(35),c.isCancel=n(13),c.all=function(t){return Promise.all(t)},c.spread=n(36),t.exports=c,t.exports.default=c},function(t,e){ +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ +t.exports=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},function(t,e,n){"use strict";var r=n(0),o=n(12),i=n(24),a=n(25),s=n(18);function c(t){this.defaults=t,this.interceptors={request:new i,response:new i}}c.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method=t.method?t.method.toLowerCase():"get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},c.prototype.getUri=function(t){return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],function(t){c.prototype[t]=function(e,n){return this.request(r.merge(n||{},{method:t,url:e}))}}),r.forEach(["post","put","patch"],function(t){c.prototype[t]=function(e,n,o){return this.request(r.merge(o||{},{method:t,url:e,data:n}))}}),t.exports=c},function(t,e,n){"use strict";var r=n(0);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";var r=n(0),o=n(26),i=n(13),a=n(14),s=n(33),c=n(34);function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return u(t),t.baseURL&&!s(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return u(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(u(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n){var o=n.config.validateStatus;!o||o(n.status)?t(n):e(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},function(t,e,n){"use strict";var r=n(0),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(19);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var r=n(4);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,'\n.formRow[data-v-fed7bff6] {\n width: 100%;\n display: flex;\n flex-direction: column;\n}\n.formRow-label[data-v-fed7bff6] {\n font-size: 20px;\n color: #404040;\n}\n.formRow-input > input[data-v-fed7bff6], .formRow-input > select[data-v-fed7bff6] {\n margin: 3px;\n width: 100%;\n border-radius: 5px;\n border: none;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);\n padding: 5px;\n font-size: 1.4em;\n\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n}\n.formRow-input > input[readonly="readonly"][data-v-fed7bff6] {\n background-color: #bebebe;\n color: #4b4b4b;\n}\n.formInput[type="date"][data-v-fed7bff6], .formInput[type="time"][data-v-fed7bff6] {\n padding: 5px;\n font-size: 1.6em;\n}\n.formRow-input > select[data-v-fed7bff6]:hover, .formRow-input > input[data-v-fed7bff6]:not([readonly="readonly"]):hover {\n background-color: #fbfbfb;\n}\n.formRow-error[data-v-fed7bff6] {\n font-size: 15px;\n color: #ff0000;\n}\n.formButtons[data-v-fed7bff6] {\n display: flex;\n flex-direction: row;\n margin-top: 5px;\n}\n.formButtons > button[data-v-fed7bff6] {\n margin: 5px;\n width: 50%;\n padding: 5px;\n border: none;\n border-radius: 7px;\n box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);\n}\n.formButtons > button[data-v-fed7bff6]:hover {\n background-color: #dadada;\n}\n.formButtons > button[data-v-fed7bff6]:focus {\n background-color: #d5d5d5;\n}\n.contentBox[data-v-fed7bff6] {\n padding: 20px;\n width: 500px;\n background-color: #f0f0f0;\n border-radius: 10px;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);\n}\n.backgroundTint[data-v-fed7bff6] {\n width: 100vw;\n height: 100vh;\n background-color: rgba(0, 0, 0, 0.6);\n}\n.shown[data-v-fed7bff6] {\n display: inline;\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n',""])},function(t,e,n){"use strict";var r=n(5);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,"\ntable[data-v-43408d33] {\n border-spacing: 0;\n box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);\n}\nth[data-v-43408d33] {\n background-color: #6c7ae0;\n padding: 7px 15px;\n font-size: 19px;\n color: white;\n}\ntd[data-v-43408d33] {\n padding: 6px;\n color: #505050;\n}\ntbody > tr[data-v-43408d33]:hover, tbody > tr[data-v-43408d33]:nth-child(2n):hover {\n background-color: rgba(0, 0, 0, 0.1);\n}\ntbody > tr[data-v-43408d33]:nth-child(2n) {\n background-color: #f8f6ff;\n}\nbutton[data-v-43408d33] {\n border: none;\n border-radius: 2px;\n}\nbutton[data-v-43408d33]:hover {\n background-color: #dadada;\n}\nbutton[data-v-43408d33]:focus {\n background-color: #d5d5d5;\n}\n",""])},function(t,e,n){"use strict";var r=n(6);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,"button[data-v-473281eb] {\n overflow: hidden;\n white-space: nowrap;\n position: fixed;\n padding: 5px;\n border-radius: 50px;\n width: 100px;\n height: 100px;\n border: none;\n background-color: #2871e2;\n color: white;\n font-size: 30px;\n transition-property: width;\n transition-duration: 0.6s;\n bottom: 175px;\n left: 50px;\n}\nbutton[data-v-473281eb]:hover {\n width: 300px;\n background-color: #286bd6;\n}\nbutton[data-v-473281eb]:focus {\n background-color: #2861c3;\n}\nimg[data-v-473281eb] {\n width: 70px;\n height: 70px;\n}\n",""])},function(t,e,n){"use strict";var r=n(7);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,"button[data-v-5309c5f9] {\n overflow: hidden;\n white-space: nowrap;\n position: fixed;\n padding: 5px;\n border-radius: 50px;\n width: 100px;\n height: 100px;\n border: none;\n background-color: #2871e2;\n color: white;\n font-size: 45px;\n transition-property: width;\n transition-duration: 0.6s;\n bottom: 50px;\n left: 50px;\n}\nbutton[data-v-5309c5f9]:hover {\n width: 300px;\n font-size: 30px;\n background-color: #286bd6;\n}\nbutton[data-v-5309c5f9]:focus {\n background-color: #2861c3;\n}\n",""])},function(t,e,n){"use strict";var r=n(8);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,"\n.popupContainer[data-v-02de670a] {\n padding: 30px;\n\n font-size: 30px;\n text-align: center;\n\n position: fixed;\n bottom: 0;\n\n left: 0;\n right: 0;\n}\n.type-success[data-v-02de670a] {\n background-color: #00ff5e;\n}\n.type-failure[data-v-02de670a] {\n background-color: #ff002d;\n}\n",""])},function(t,e,n){"use strict";var r=n(9);n.n(r).a},function(t,e,n){(t.exports=n(2)(!1)).push([t.i,"\n.fade-enter-active[data-v-3700955c], .fade-leave-active[data-v-3700955c] {\n transition: opacity .5s;\n}\n.fade-enter[data-v-3700955c], .fade-leave-to[data-v-3700955c] {\n opacity: 0;\n}\n",""])},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,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(50),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(10))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,c=1,u={},f=!1,l=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){v(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?((i=new MessageChannel).port1.onmessage=function(t){v(t.data)},r=function(t){i.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(o=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){v(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(v,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&v(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n({validationResponse:{error:!1,service_id:null,servtype:null,subtype:null,user_id:null,referrer_user_id:null,state:null,creation_date:null,creation_time:null,creation_request_sent_date:null,notified_about_expiration:null}}),methods:{submitForm(){let t=this.$refs.creation_request_sent_date.value,e=this.$refs.creation_request_sent_time.value,n=null;""!==t&&""!==e&&(n=t+" "+e);let r={service_id:parseInt(this.$refs.service_id.value),servtype:this.$refs.servtype.value,subtype:this.$refs.subtype.value,user_id:parseInt(this.$refs.user_id.value),referrer_user_id:parseInt(this.$refs.referrer_user_id.value),state:this.$refs.state.value,creation_date:this.$refs.creation_date.value,creation_time:this.$refs.creation_time.value,creation_request_sent_date:n,notified_about_expiration:parseInt(this.$refs.notified_about_expiration.value)};i.a.request({url:"/validate/",method:"post",headers:{"Content-Type":"application/json"},data:JSON.stringify(r)}).then(t=>{this.validationResponse=t.data}),!1===this.validationResponse.error&&i.a.request({url:"/api/update/",method:"post",headers:{"Content-Type":"application/json"},data:JSON.stringify(r)}).then(t=>{this.$emit("close-form"),this.$emit("show-popup",{type:"success",meg:"Database updated successfully"})})}}};n(37);function s(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}var c=s(a,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"backgroundTint shown"},[n("div",{staticClass:"contentBox shown"},[n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v("service_id")]),t._v(" "),n("div",{staticClass:"formRow-input"},["update"===t.formType?n("input",{ref:"service_id",staticClass:"formInput",attrs:{type:"text",readonly:"readonly"},domProps:{value:t.tableRow.service_id}}):"create"===t.formType?n("input",{ref:"service_id",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.service_id}}):t._e()])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" servtype ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"servtype",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.servtype}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" subtype ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"subtype",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.subtype}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" user_id ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"user_id",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.user_id}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" referrer_user_id ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"referrer_user_id",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.referrer_user_id}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" state ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("select",{ref:"state",domProps:{value:t.tableRow.state}},[n("option",[t._v("N")]),t._v(" "),n("option",[t._v("A")]),t._v(" "),n("option",[t._v("S")]),t._v(" "),n("option",[t._v("D")]),t._v(" "),n("option",[t._v("O")])])])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" creation_date ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"creation_date",staticClass:"formInput",attrs:{type:"date"},domProps:{value:t.tableRow.creation_date}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" creation_time ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"creation_time",staticClass:"formInput",attrs:{type:"time"},domProps:{value:t.tableRow.creation_time}})])]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" creation_request_sent_date ")]),t._v(" "),n("div",{staticClass:"formRow-input",staticStyle:{display:"flex","flex-direction":"row"}},[n("input",{ref:"creation_request_sent_date",staticClass:"formInput",staticStyle:{width:"50%"},attrs:{type:"date"},domProps:{value:t.tableRow.creation_request_sent_date.split(" ")[0]}}),t._v(" "),n("input",{ref:"creation_request_sent_time",staticClass:"formInput",staticStyle:{width:"50%"},attrs:{type:"time"},domProps:{value:t.tableRow.creation_request_sent_date.split(" ")[1]}})]),t._v(" "),null!==t.validationResponse.creation_request_sent_date?n("div",{staticClass:"formRow-error"},[t._v("\n "+t._s(t.validationResponse.creation_request_sent_date)+"\n ")]):t._e()]),t._v(" "),n("div",{staticClass:"formRow"},[n("div",{staticClass:"formRow-label"},[t._v(" notified_about_expiration ")]),t._v(" "),n("div",{staticClass:"formRow-input"},[n("input",{ref:"notified_about_expiration",staticClass:"formInput",attrs:{type:"text"},domProps:{value:t.tableRow.notified_about_expiration}})])]),t._v(" "),n("div",{staticClass:"formButtons"},[n("button",{attrs:{type:"button"},on:{click:function(e){return t.$emit("close-form")}}},[t._v("Cancel")]),t._v(" "),"update"===t.formType?n("button",{attrs:{type:"button"},on:{click:t.submitForm}},[t._v("Update")]):"create"===t.formType?n("button",{attrs:{type:"button"},on:{click:t.submitForm}},[t._v("Create")]):t._e()])])])},[],!1,null,"fed7bff6",null).exports,u={name:"Table",props:["tableData"],components:{EditFormBox:c},methods:{showEditForm(t){i.a.request({url:"/api/get/",method:"post",headers:{"Content-Type":"application/json"},data:JSON.stringify({type:"single_id",service_id:t})}).then(t=>{this.$emit("show-form",t.data)})},removeField(t){i.a.request({url:"/api/delete",method:"post",data:{service_id:parseInt(t)}}).then(e=>{if(200===e.status){e.data.error?this.$emit("show-popup",{type:"failure",msg:e.data.service_id}):this.tableData.content=this.tableData.content.filter(e=>e[0].toString()!==t)}})}}},f=(n(39),s(u,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",[n("thead",[n("tr",[t._l(t.tableData.headers,function(e){return n("th",[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),n("th"),t._v(" "),n("th")],2)]),t._v(" "),n("tbody",t._l(t.tableData.content,function(e){return n("tr",[n("td",[t._v(t._s(e[0]))]),t._v(" "),t._l(e.slice(1),function(e){return n("td",[t._v("\n "+t._s(e)+"\n ")])}),t._v(" "),n("td",[n("button",{on:{click:function(n){return t.showEditForm(""+e[0])}}},[t._v("✎")])]),t._v(" "),n("td",[n("button",{on:{click:function(n){return t.removeField(""+e[0])}}},[t._v("✖")])])],2)}),0)])},[],!1,null,"43408d33",null).exports),l={name:"UploadFileButton",data:()=>({isHovered:!1}),methods:{triggerUploadFile(){this.$refs.csvFileInput.click()}}},d=(n(41),s(l,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("form",{attrs:{action:"/api/upload",method:"post",enctype:"multipart/form-data"}},[n("input",{ref:"csvFileInput",staticStyle:{display:"none"},attrs:{type:"file",name:"csvFile",accept:"text/csv",onchange:"form.submit()"}})]),t._v(" "),n("button",{on:{mouseenter:function(e){t.isHovered=!0},mouseleave:function(e){t.isHovered=!1},click:t.triggerUploadFile}},[t.isHovered?n("div",[t._v("Upload File")]):n("div",[n("img",{attrs:{src:"/static/images/upload_icon.png"}})])])])},[],!1,null,"473281eb",null).exports),p={name:"AddNewEntryButton",components:{EditFormBox:c},data:()=>({isHovered:!1}),methods:{showForm(){this.$emit("show-form",{service_id:"",servtype:"",subtype:"",user_id:"",referrer_user_id:"",state:"",creation_date:"",creation_time:"",creation_request_sent_date:"",notified_about_expiration:""})}}},v=(n(43),s(p,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{on:{mouseenter:function(e){t.isHovered=!0},mouseleave:function(e){t.isHovered=!1},click:t.showForm}},[t.isHovered?n("div",[t._v("Add new entry")]):n("div",[t._v("+")])])},[],!1,null,"5309c5f9",null).exports),h={name:"PopupMessage",props:["message","data"]},m=(n(45),{name:"App",components:{PopupMessage:s(h,function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"container",staticClass:"popupContainer",class:{"type-success":"success"===this.data.type,"type-failure":"failure"===this.data.type}},[this._v("\n "+this._s(this.data.msg)+"\n")])},[],!1,null,"02de670a",null).exports,EditFormBox:c,Table:f,UploadFileButton:d,AddNewEntryButton:v},data:()=>({tableData:[],formType:null,formData:null,isFormShown:!1,isPopupShown:!1,popupData:null}),mounted(){this.updateTable()},methods:{updateTable(){i.a.request({url:"/api/get/",method:"post",headers:{"Content-Type":"application/json"},data:JSON.stringify({type:"full"})}).then(t=>{this.tableData=t.data})},showPopup(t){this.isPopupShown||(this.isPopupShown=!0,this.popupData=t,setTimeout(()=>{this.isPopupShown=!1,this.popupData=null},2e3))},showForm(t,e){this.formType=t,this.formData=e,this.isFormShown=!0},hideForm(){this.formType=null,this.formData=null,this.isFormShown=!1,this.updateTable()}}}),y=(n(47),s(m,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.isFormShown?n("EditFormBox",{attrs:{"form-type":t.formType,"table-row":t.formData},on:{"close-form":t.hideForm,"show-popup":function(e){return t.showPopup(e)}}}):t._e(),t._v(" "),n("Table",{attrs:{"table-data":t.tableData},on:{"show-form":function(e){return t.showForm("update",e)},"show-popup":function(e){return t.showPopup(e)}}}),t._v(" "),t.isFormShown?t._e():n("UploadFileButton"),t._v(" "),t.isFormShown?t._e():n("AddNewEntryButton",{on:{"show-form":function(e){return t.showForm("create",e)}}}),t._v(" "),n("transition",{attrs:{name:"fade"}},[t.isPopupShown?n("PopupMessage",{attrs:{data:t.popupData}}):t._e()],1)],1)},[],!1,null,"3700955c",null).exports);new r.a({render:t=>t(y)}).$mount("#app")}]); \ No newline at end of file -- cgit v1.2.3