From 31c290c3fe24a7de51b8ff7ec63d374cc3a65c33 Mon Sep 17 00:00:00 2001 From: PCTipsGR Date: Sat, 6 Oct 2018 19:29:08 +0300 Subject: [PATCH 1/5] ReadMe Updates --- README.md | 41 ++++++++--------------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 94cb06d..73cbc5f 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,12 @@ -## Welcome to GitHub Pages +## UILog -You can use the [editor on GitHub](https://github.com/labdz/Reglog/edit/master/README.md) to maintain and preview the content for your website in Markdown files. +UILog is an advanced login and signup template for MyOwnFreeHost Users. -Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. +### How to install -### Markdown +You will have to upload the files via the web file manager or FTP to your website, and rename index.html to login.html, and then link to it trough your menu. +You will also have to go to the images logo and replace logo.png with your logo. -Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for - -```markdown -Syntax highlighted code block - -# Header 1 -## Header 2 -### Header 3 - -- Bulleted -- List - -1. Numbered -2. List - -**Bold** and _Italic_ and `Code` text - -[Link](url) and ![Image](src) -``` - -For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/). - -### Jekyll Themes - -Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/labdz/Reglog/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file. - -### Support or Contact - -Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out. +## Credits +Copyright 2018 [mofh](https://github.com/mofh), All rights reserved. +Available to be used for free. From 107385400818f8f4754407824b2c7861b310fdcf Mon Sep 17 00:00:00 2001 From: PCTipsGR Date: Sat, 6 Oct 2018 19:29:42 +0300 Subject: [PATCH 2/5] Remove Unnecesarry files --- CNAME | 1 - 1 file changed, 1 deletion(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index 71f0ec7..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -my.afreeka.ga \ No newline at end of file From b54edfceea66e76f773742ffb6e248a9052c96ca Mon Sep 17 00:00:00 2001 From: PCTipsGR Date: Sat, 6 Oct 2018 19:32:16 +0300 Subject: [PATCH 3/5] Replace cpanel.afreeka.ga with cpanel.byethost.com Since cpanel.afreeka.ga no longer works, replace it with the default cpanel.byethost.com --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a657796..29dded9 100644 --- a/index.html +++ b/index.html @@ -57,7 +57,7 @@
-
+
@@ -78,7 +78,7 @@
From 2204abd129b7827241938302c80a05917ca87e15 Mon Sep 17 00:00:00 2001 From: PCTipsGR Date: Fri, 18 Jan 2019 20:28:02 +0200 Subject: [PATCH 4/5] Minor Changes Remove unnecessary HTML and CSS code, update README by giving credit to UIkit, remove uikit.min.js at is is loaded via CDN. --- README.md | 2 ++ css/custom.css | 2 -- index.html | 29 +++++------------------------ js/uikit.min.js | 5 ----- 4 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 js/uikit.min.js diff --git a/README.md b/README.md index 73cbc5f..704dcdf 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ UILog is an advanced login and signup template for MyOwnFreeHost Users. +It is based on the popular [UIkit](https://getuikit.com/) framework. + ### How to install You will have to upload the files via the web file manager or FTP to your website, and rename index.html to login.html, and then link to it trough your menu. diff --git a/css/custom.css b/css/custom.css index 9cc8b6c..96a9d7d 100644 --- a/css/custom.css +++ b/css/custom.css @@ -19,5 +19,3 @@ .uk-button-primary { background-color: #5cd1df !important; } - -/* ---- Google translate ---- */ diff --git a/index.html b/index.html index 29dded9..7359af5 100644 --- a/index.html +++ b/index.html @@ -11,38 +11,19 @@ - - + + - + - +
diff --git a/js/uikit.min.js b/js/uikit.min.js deleted file mode 100644 index 2f0402a..0000000 --- a/js/uikit.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! UIkit 3.0.0-beta.9 | http://www.getuikit.com | (c) 2014 - 2016 YOOtheme | MIT License */ - -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):t.UIkit=e(t.jQuery)}(this,function(t){"use strict";function e(){return"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll}function i(t){var i=function(){o(document,"DOMContentLoaded",i),o(window,"load",i),t()};e()?t():(n(document,"DOMContentLoaded",i),n(window,"load",i))}function n(t,e,i,n){Ft(t)[0].addEventListener(e,i,n)}function o(t,e,i,n){Ft(t)[0].removeEventListener(e,i,n)}function s(t,e,i,n){void 0===i&&(i=400),void 0===n&&(n="linear");var o=C(function(s,r){t=Ft(t);for(var a in e)t.css(a,t.css(a));var l=setTimeout(function(){return t.trigger(ee||"transitionend")},i);t.one(ee||"transitionend",function(e,i){e.promise=o,clearTimeout(l),t.removeClass("uk-transition").css("transition",""),i?r():s()}).addClass("uk-transition").css("transition","all "+i+"ms "+n).css(e)}).catch(function(){});return o}function r(t,e,i,n,o){void 0===i&&(i=200);var s=C(function(r){function a(){t.css("animation-duration","").removeClass(l+" "+e)}var l=o?"uk-animation-leave":"uk-animation-enter";t=Ft(t),0===e.lastIndexOf("uk-animation-",0)&&(n&&(e+=" uk-animation-"+n),o&&(e+=" uk-animation-reverse")),a(),t.one(ie||"animationend",function(t){t.promise=s,s.then(a),r()}).css("animation-duration",i+"ms").addClass(e).addClass(l),ie||Xt(function(){return Yt.cancel(t)})});return s}function a(t,e){return t=Ft(t),t.is(e)||!!(D(e)?t.parents(e).length:Ft.contains(e instanceof Ft?e[0]:e,t[0]))}function l(t,e,i,n){return t=Ft(t),t.attr(e,function(t,e){return e?e.replace(i,n):e})}function h(t,e){return l(t,"class",new RegExp("(^|\\s)"+e+"(?!\\S)","g"),"")}function c(t,e,i,n){if(void 0===e&&(e=!0),void 0===i&&(i=!1),void 0===n&&(n=!1),D(t)){var o=document.createEvent("Event");o.initEvent(t,e,i),t=o}return n&&Ft.extend(t,n),t}function u(t,e,i){if(void 0===e&&(e=0),void 0===i&&(i=0),t=Ft(t),!t.is(":visible"))return!1;var n=Ut.scrollLeft(),o=Ut.scrollTop(),s=t.offset(),r=s.top,a=s.left;return r+t.height()>=o&&r-e<=o+Ut.height()&&a+t.width()>=n&&a-i<=n+Ut.width()}function d(t,e,i){void 0===i&&(i=0),e=Ft(e);var n=Ft(e).length;return t=(O(t)?t:"next"===t?i+1:"previous"===t?i-1:D(t)?parseInt(t,10):e.index(t))%n,t<0?t+n:t}function f(t){return t=Ft(t),Rt[t[0].tagName.toLowerCase()]}function m(t,e){var i=N(t);return i?i.reduce(function(t,e){return H(e,t)},e):H(t)}function g(t,e,i){return(window.getComputedStyle(t,i)||{})[e]}function p(t){var e,i=document.documentElement,n=i.appendChild(document.createElement("div"));n.classList.add("var-"+t);try{e=g(n,"content",":before").replace(/^["'](.*)["']$/,"$1"),e=JSON.parse(e)}catch(t){}return i.removeChild(n),e||void 0}function v(){var t=this;t.reads=[],t.writes=[],t.raf=Xt.bind(window)}function w(t){t.scheduled||(t.scheduled=!0,t.raf(b.bind(null,t)))}function b(t){var e,i=t.reads.splice(0,t.reads.length),n=t.writes.splice(0,t.writes.length);try{y(i),y(n)}catch(t){e=t}if(t.scheduled=!1,(t.reads.length||t.writes.length)&&w(t),e){if(!t.catch)throw e;t.catch(e)}}function y(t){for(var e;e=t.shift();)e()}function $(t,e){var i=t.indexOf(e);return!!~i&&!!t.splice(i,1)}function k(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])}function x(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function T(t,e){return oe.call(t,e)}function C(t){if(!P(window.Promise))return new window.Promise(t);var e=Ft.Deferred();return e.catch||(e.catch=function(t){return this.then(null,t)}),t(e.resolve,e.reject),e}function S(t){return t.replace(/(?:^|[-_\/])(\w)/g,function(t,e){return e?e.toUpperCase():""})}function E(t){return t.replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase()}function A(t){return t.replace(se,I)}function I(t,e){return e?e.toUpperCase():""}function D(t){return"string"==typeof t}function O(t){return"number"==typeof t}function P(t){return void 0===t}function _(t){return D(t)&&t.match(/^(!|>|\+|-)/)}function N(t){return _(t)&&t.split(/(?=\s(?:!|>|\+|-))/g).map(function(t){return t.trim()})}function H(t,e){if(t===!0)return null;try{t=e&&_(t)&&">"!==t[0]?Ft(e)[re[t[0]]](t.substr(1)):Ft(t,e)}catch(t){return null}return t.length?t:null}function M(t){return"boolean"==typeof t?t:"true"===t||"1"==t||""===t||"false"!==t&&"0"!=t&&t}function B(t){var e=Number(t);return!isNaN(e)&&e}function j(t){if(D(t)&&"@"==t[0]){var e="media-"+t.substr(1);t=ae[e]||(ae[e]=parseFloat(p(e)))}return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function F(t,e,i){return t===Boolean?M(e):t===Number?B(e):"jQuery"===t?m(e,i):"media"===t?j(e):t?t(e):e}function U(t,e,i){function n(n){s[n]=(le[n]||ge)(t[n],e[n],i,n)}var o,s={};if(e.mixins)for(var r=0,a=e.mixins.length;ra[f]){var p=c[d]+m+g-2*o[t];p>=a[d]&&p+l[s]<=a[f]&&(c[d]=p,["element","target"].forEach(function(e){u[e][t]=m?u[e][t]===pe[t][1]?pe[t][2]:pe[t][1]:u[e][t]}))}}}),t.offset({left:c.left,top:c.top}),u}function L(t){t=Ft(t);var e=Math.round(t.outerWidth()),i=Math.round(t.outerHeight()),n=t[0].getClientRects?t.offset():null,o=n?Math.round(n.left):t.scrollLeft(),s=n?Math.round(n.top):t.scrollTop();return{width:e,height:i,left:o,top:s,right:o+e,bottom:s+i}}function z(t,e,i,n){Ft.each(pe,function(o,s){var r=s[0],a=s[1],l=s[2];e[o]===l?t[a]+=i[r]*n:"center"===e[o]&&(t[a]+=i[r]*n/2)})}function W(t){var e=/left|center|right/,i=/top|center|bottom/;return t=(t||"").split(" "),1===t.length&&(t=e.test(t[0])?t.concat(["center"]):i.test(t[0])?["center"].concat(t):["center","center"]),{x:e.test(t[0])?t[0]:"center",y:i.test(t[1])?t[1]:"center"}}function Y(t,e,i){return t=(t||"").split(" "),{x:t[0]?parseFloat(t[0])*("%"===t[0][t[0].length-1]?e/100:1):0,y:t[1]?parseFloat(t[1])*("%"===t[1][t[1].length-1]?i/100:1):0}}function R(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top";default:return t}}function V(t,e,i,n){return Math.abs(t-e)>=Math.abs(i-n)?t-e>0?"Left":"Right":i-n>0?"Up":"Down"}function Q(){de=null,ve.last&&(void 0!==ve.el&&ve.el.trigger("longTap"),ve={})}function X(){de&&clearTimeout(de),de=null}function G(){he&&clearTimeout(he),ce&&clearTimeout(ce),ue&&clearTimeout(ue),de&&clearTimeout(de),he=ce=ue=de=null,ve={}}function J(t){var e=t.data;t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(e,i){i=(D(i)?t.components[i]:i)||this,i.options=U(i.options,e)},t.extend=function(t){t=t||{};var e=this,i=t.name||e.options.name,n=K(i||"UIkitComponent");return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.options=U(e.options,t),n.super=e,n.extend=e.extend,n},t.update=function(i,n,o){if(void 0===o&&(o=!1),i=c(i||"update"),!n)return void tt(t.instances,i);if(n=Ft(n)[0],o){do tt(n[e],i),n=n.parentNode;while(n)}else Z(n,function(t){return tt(t[e],i)})};var i;Object.defineProperty(t,"container",{get:function(){return i||document.body},set:function(t){i=t}})}function K(t){return new Function("return function "+S(t)+" (options) { this._init(options); }")()}function Z(t,e){if(t.nodeType===Node.ELEMENT_NODE)for(e(t),t=t.firstChild;t;)Z(t,e),t=t.nextSibling}function tt(t,e){if(t)for(var i in t)t[i]._isReady&&t[i]._callUpdate(e)}function et(e){var i=0;e.prototype.props={},e.prototype._init=function(t){t=t||{},t=this.$options=U(this.constructor.options,t,this),this.$el=null,this.$name=e.prefix+E(this.$options.name),this._uid=i++,this._initData(),this._initMethods(),this._callHook("created"),this._frames={reads:{},writes:{}},t.el&&this.$mount(t.el)},e.prototype._initData=function(){var e=this,i=t.extend(!0,{},this.$options.defaults),n=this.$options.data||{},o=this.$options.args||[],s=this.$options.props||{};if(i){o.length&&t.isArray(n)&&(n=n.slice(0,o.length).reduce(function(t,e,i){return t[o[i]]=e,t},{}));for(var r in i)e[r]=T(n,r)?F(s[r],n[r],e.$options.el):i[r]}},e.prototype._initProps=function(){var t,e,i=this,n=this.$el[0],o=this.$options.args||[],s=this.$options.props||{},r=n.getAttribute(this.$name)||n.getAttribute("data-"+this.$name);if(s){for(t in s)if(e=E(t),n.hasAttribute(e)){var a=F(s[t],n.getAttribute(e),n);if("target"===e&&(!a||0===a.lastIndexOf("_",0)))continue;i[t]=a}if(r){if("{"===r[0])try{r=JSON.parse(r)}catch(t){console.warn("Invalid JSON."),r={}}else if(o.length&&!~r.indexOf(":")){l={},l[o[0]]=r,r=l;var l}else{var h={};r.split(";").forEach(function(t){var e=t.split(/:(.+)/),i=e[0],n=e[1];i&&n&&(h[i.trim()]=n.trim())}),r=h}for(t in r||{})e=A(t),void 0!==s[e]&&(i[e]=F(s[e],r[t],n))}}},e.prototype._initMethods=function(){var t=this,e=this.$options.methods;if(e)for(var i in e)t[i]=x(e[i],t)},e.prototype._initEvents=function(e){var i=this,n=this.$options.events,o=function(n,o){t.isPlainObject(o)||(o={name:n,handler:o});var s=o.name,r=o.delegate,a=o.filter,l=o.handler;if(s+="."+i.$options.name,e)i.$el.off(s);else{if(a&&!a.call(i))return;l=D(l)?i[l]:x(l,i),r?i.$el.on(s,D(r)?r:r.call(i),l):i.$el.on(s,l)}};n&&n.forEach(function(e){if(t.isArray(e))e.forEach(function(t,e){return o(e,t)});else for(var i in e)o(i,e[i])})},e.prototype._callHook=function(t){var e=this,i=this.$options[t];i&&i.forEach(function(t){return t.call(e)})},e.prototype._callReady=function(){this._isReady=!0,this._callHook("ready"),this._callUpdate()},e.prototype._callConnected=function(){this._connected||(~e.elements.indexOf(this.$options.$el)||e.elements.push(this.$options.$el),e.instances[this._uid]=this,this._initEvents(),this._callHook("connected"),this._connected=!0)},e.prototype._callDisconnected=function(){if(this._connected){var t=e.elements.indexOf(this.$options.$el);~t&&e.elements.splice(t,1),delete e.instances[this._uid],this._initEvents(!0),this._callHook("disconnected"),this._connected=!1}},e.prototype._callUpdate=function(t){var e=this;t=c(t||"update");var i=this.$options.update;i&&i.forEach(function(i,n){if("update"===t.type||i.events&&~i.events.indexOf(t.type)){if(t.sync)return i.read&&i.read.call(e,t),void(i.write&&i.write.call(e,t));i.read&&!~ne.reads.indexOf(e._frames.reads[n])&&(e._frames.reads[n]=ne.measure(function(){return i.read.call(e,t)})),i.write&&!~ne.writes.indexOf(e._frames.writes[n])&&(e._frames.writes[n]=ne.mutate(function(){return i.write.call(e,t)}))}})}}function it(t){var e=t.data;t.prototype.$mount=function(t){var n=this,o=this.$options.name;return t[e]||(t[e]={}),t[e][o]?void console.warn('Component "'+o+'" is already mounted on element: ',t):(t[e][o]=this,this.$el=Ft(t),this._initProps(),this._callHook("init"),document.documentElement.contains(this.$el[0])&&this._callConnected(),void i(function(){return n._callReady()}))},t.prototype.$emit=function(t){this._callUpdate(t)},t.prototype.$emitSync=function(t){this._callUpdate(c(t||"update",!0,!1,{sync:!0}))},t.prototype.$update=function(e,i){t.update(e,this.$el,i)},t.prototype.$updateSync=function(e,i){t.update(c(e||"update",!0,!1,{sync:!0}),this.$el,i)},t.prototype.$destroy=function(t){void 0===t&&(t=!1);var i=this.$options.el;i&&this._callDisconnected(),this._callHook("destroy"),i&&i[e]&&(delete i[e][this.$options.name],Object.keys(i[e]).length||delete i[e],t&&this.$el.remove())}}function nt(e){var i=e.data;e.components={},e.component=function(n,o){var s=A(n);return t.isPlainObject(o)?(o.name=s,o=e.extend(o)):o.options.name=s,e.components[s]=o,e[s]=function(n,o){for(var r=arguments.length,a=Array(r);r--;)a[r]=arguments[r];if(t.isPlainObject(n))return new e.components[s]({data:n});if(e.components[s].options.functional)return new e.components[s]({data:[].concat(a)});var l=[];return o=o||{},Ft(n).each(function(t,n){return l.push(n[i]&&n[i][s]||new e.components[s]({el:n,data:o}))}),l},document.body&&!o.options.functional&&e[s]("[uk-"+n+"],[data-uk-"+n+"]"),e.components[s]},e.getComponents=function(t){return t&&t[i]||{}},e.getComponent=function(t,i){return e.getComponents(t)[i]},e.connect=function(t){var n;if(t[i])for(n in t[i])t[i][n]._callConnected();for(var o=0;o *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"uk-open",toggle:".uk-accordion-title",content:".uk-accordion-content",transition:"ease"},events:[{name:"click",delegate:function(){return this.targets+" "+this.toggle},handler:function(t){t.preventDefault(),this.show(this.items.find(this.toggle).index(t.currentTarget))}}],update:function(){var t=this,e=Ft(this.targets,this.$el),i=!this.items||e.length!==this.items.length||e.toArray().some(function(e,i){return e!==t.items.get(i)});if(this.items=e,i){this.items.each(function(e,i){i=Ft(i),t.toggleNow(i.find(t.content),i.hasClass(t.clsOpen))});var n=this.active!==!1&&H(this.items.eq(Number(this.active)))||!this.collapsible&&H(this.items.eq(0));n&&!n.hasClass(this.clsOpen)&&this.show(n,!1)}},methods:{show:function(t,e){var i=this;this.items||this.$emitSync();var n=d(t,this.items),o=this.items.filter("."+this.clsOpen);t=this.items.eq(n),t.add(!this.multiple&&o).each(function(n,s){s=Ft(s);var r=s.find(i.content),a=s.is(t),l=a&&!s.hasClass(i.clsOpen);!l&&a&&!i.collapsible&&o.length<2||(s.toggleClass(i.clsOpen,l),Wt.inProgress(r.parent())||r.wrap("
").parent().attr("hidden",l),i.toggleNow(r,!0),i.toggleElement(r.parent(),l,e).then(function(){s.hasClass(i.clsOpen)===l&&(l||i.toggleNow(r,!1),r.unwrap())}))})}}})}function at(t){t.component("alert",{mixins:[ke,xe],args:"animation",props:{animation:Boolean,close:String},defaults:{animation:!0,close:".uk-alert-close",duration:150,hideProps:{opacity:0}},events:[{name:"click",delegate:function(){return this.close},handler:function(t){t.preventDefault(),this.closeAlert()}}],methods:{closeAlert:function(){var t=this;this.toggleElement(this.$el).then(function(){return t.$destroy(!0)})}}})}function lt(t){t.component("cover",{mixins:[ke],props:{automute:Boolean,width:Number,height:Number},defaults:{automute:!0},ready:function(){if(this.$el.is("iframe")&&(this.$el.css("pointerEvents","none"),this.automute)){var t=this.$el.attr("src");this.$el.attr("src",""+t+(~t.indexOf("?")?"&":"?")+"enablejsapi=1&api=1").on("load",function(t){var e=t.target;return e.contentWindow.postMessage('{"event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")})}},update:{write:function(){0!==this.$el[0].offsetHeight&&this.$el.css({width:"",height:""}).css(Vt.cover({width:this.width||this.$el.width(),height:this.height||this.$el.height()},{width:this.$el.parent().outerWidth(),height:this.$el.parent().outerHeight()}))},events:["load","resize","orientationchange"]},events:{loadedmetadata:function(){this.$emit()}}})}function ht(t){var e;qt.on("click",function(t){!e||a(t.target,e.$el)||e.toggle&&a(t.target,e.toggle.$el)||e.hide(!1)}),t.component("drop",{mixins:[Ce,Se,xe],args:"pos",props:{mode:String,toggle:Boolean,boundary:"jQuery",boundaryAlign:Boolean,delayShow:Number,delayHide:Number,clsDrop:String},defaults:{mode:"hover",toggle:"- :first",boundary:window,boundaryAlign:!1,delayShow:0,delayHide:800,clsDrop:!1,hoverIdle:200,animation:"uk-animation-fade",cls:"uk-open"},init:function(){this.clsDrop=this.clsDrop||"uk-"+this.$options.name,this.clsPos=this.clsDrop,this.$el.addClass(this.clsDrop)},ready:function(){this.updateAria(this.$el),this.toggle&&(this.toggle=t.toggle(m(this.toggle,this.$el),{target:this.$el,mode:this.mode})[0])},events:[{name:"click",delegate:function(){return"."+this.clsDrop+"-close"},handler:function(t){t.preventDefault(),this.hide(!1)}},{name:"toggle",handler:function(t,e){t.preventDefault(),this.isToggled(this.$el)?this.hide(!1):this.show(e,!1)}},{name:"toggleShow mouseenter",handler:function(t,e){t.preventDefault(),this.show(e||this.toggle)}},{name:"toggleHide mouseleave",handler:function(t,e){t.preventDefault(),this.toggle&&"hover"===this.toggle.mode&&this.hide()}},{name:"show",handler:function(){this.initMouseTracker(),this.toggle.$el.addClass(this.cls).attr("aria-expanded","true"),this.clearTimers()}},{name:"hide",handler:function(){e=this.isActive()?null:e,this.toggle.$el.removeClass(this.cls).attr("aria-expanded","false").blur().find("a, button").blur(),this.cancelMouseTracker(),this.clearTimers()}}],update:{write:function(){if(this.$el.hasClass(this.cls)){h(this.$el,this.clsDrop+"-(stack|boundary)").css({top:"",left:""}),this.$el.toggleClass(this.clsDrop+"-boundary",this.boundaryAlign),this.dir=this.pos[0],this.align=this.pos[1];var t=L(this.boundary),e=this.boundaryAlign?t:L(this.toggle.$el);if("justify"===this.align){var i="y"===this.getAxis()?"width":"height";this.$el.css(i,e[i])}else this.$el.outerWidth()>Math.max(t.right-e.left,e.right-t.left)&&(this.$el.addClass(this.clsDrop+"-stack"),this.$el.trigger("stack",[this]));this.positionAt(this.$el,this.boundaryAlign?this.boundary:this.toggle.$el,this.boundary)}},events:["resize","orientationchange"]},methods:{show:function t(i,n){var o=this;void 0===n&&(n=!0);var t=function(){return o.toggleElement(o.$el,!0)},s=function(){if(o.toggle=i||o.toggle,o.clearTimers(),!o.isActive()){if(n&&e&&e!==o&&e.isDelaying)return void(o.showTimer=setTimeout(o.show,75));e&&e.hide(!1),n&&o.delayShow?o.showTimer=setTimeout(t,o.delayShow):t(),e=o}};i&&this.toggle&&!this.toggle.$el.is(i.$el)?(this.$el.one("hide",s),this.hide(!1)):s()},hide:function t(e){var i=this;void 0===e&&(e=!0);var t=function(){return i.toggleNow(i.$el,!1)};this.clearTimers(),this.isDelaying=this.movesTo(this.$el),e&&this.isDelaying?this.hideTimer=setTimeout(this.hide,this.hoverIdle):e&&this.delayHide?this.hideTimer=setTimeout(t,this.delayHide):t()},clearTimers:function(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null},isActive:function(){return e===this}}}),t.drop.getActive=function(){return e}}function ct(t){t.component("dropdown",t.components.drop.extend({name:"dropdown"}))}function ut(t){t.component("form-custom",{mixins:[ke],args:"target",props:{target:Boolean},defaults:{target:!1},ready:function(){this.input=this.$el.find(":input:first"),this.state=this.input.next(),this.target=this.target&&m(this.target===!0?"> :input:first + :first":this.target,this.$el),this.input.trigger("change")},events:[{name:"focus blur mouseenter mouseleave",delegate:":input:first",handler:function(t){var e=t.type;this.state.toggleClass("uk-"+(~["focus","blur"].indexOf(e)?"focus":"hover"),~["focus","mouseenter"].indexOf(e))}},{name:"change",handler:function(){this.target&&this.target[this.target.is(":input")?"val":"text"](this.input[0].files&&this.input[0].files[0]?this.input[0].files[0].name:this.input.is("select")?this.input.find("option:selected").text():this.input.val())}}]})}function dt(t){t.component("gif",{update:{read:function(){var t=u(this.$el);!this.isInView&&t&&(this.$el[0].src=this.$el[0].src),this.isInView=t},events:["scroll","load","resize","orientationchange"]}})}function ft(t){t.component("grid",t.components.margin.extend({mixins:[ke],name:"grid",defaults:{margin:"uk-grid-margin",clsStack:"uk-grid-stack"},update:{write:function(){this.$el.toggleClass(this.clsStack,this.stacks)},events:["load","resize","orientationchange"]}}))}function mt(t){t.component("height-match",{args:"target",props:{target:String,row:Boolean},defaults:{target:"> *",row:!0},update:{write:function(){var t=this,e=H(this.target,this.$el).css("min-height","");if(!this.row)return this.match(e),this;var i=!1,n=[];e.each(function(e,o){o=Ft(o);var s=o.offset().top;s!=i&&n.length&&(t.match(Ft(n)),n=[],s=o.offset().top),n.push(o),i=s}),n.length&&this.match(Ft(n))},events:["resize","orientationchange"]},methods:{match:function(t){if(!(t.length<2)){var e=0;t.each(function(t,i){i=Ft(i);var n;if("none"===i.css("display")){var o=i.attr("style");i.attr("style",o+";display:block !important;"),n=i.outerHeight(),i.attr("style",o||"")}else n=i.outerHeight();e=Math.max(e,n)}).each(function(t,i){i=Ft(i),i.css("min-height",e-(i.outerHeight()-parseFloat(i.css("height")))+"px")})}}}})}function gt(e){e.component("height-viewport",{props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean},defaults:{expand:!1,offsetTop:!1,offsetBottom:!1},init:function(){this.$emit()},update:{write:function(){this.$el.css("boxSizing","border-box");var e,i=window.innerHeight,n=0;if(this.expand){this.$el.css({height:"",minHeight:""});var o=i-document.documentElement.offsetHeight;o>0&&this.$el.css("min-height",e=this.$el.outerHeight()+o)}else{var s=this.$el.offset().top;s=this.$el.outerHeight()&&this.$el.css("height",e)},events:["load","resize","orientationchange"]}})}function pt(t){i(function(){if(Jt){var e="uk-hover";Lt.on("tap",function(t){var i=t.target;return Ft("."+e).filter(function(t,e){return!a(i,e)}).removeClass(e)}),Object.defineProperty(t,"hoverSelector",{set:function(t){Lt.on("tap",t,function(){this.classList.add(e)})}}),t.hoverSelector=".uk-animation-toggle, .uk-transition-toggle, [uk-hover]"}})}function vt(t){t.component("icon",t.components.svg.extend({mixins:[ke],name:"icon",args:"icon",props:["icon"],defaults:{exclude:["id","style","class","src"]},init:function(){this.$el.addClass("uk-icon")}})),["close","navbar-toggle-icon","overlay-icon","pagination-previous","pagination-next","search-icon","totop"].forEach(function(e){return t.component(e,t.components.icon.extend({name:e}))}),["slidenav-previous","slidenav-next"].forEach(function(e){return t.component(e,t.components.icon.extend({name:e,init:function(){this.$el.addClass("uk-slidenav")}}))})}function wt(t){t.component("margin",{props:{margin:String,firstColumn:Boolean},defaults:{margin:"uk-margin-small-top",firstColumn:"uk-first-column"},connected:function(){this.$emit()},update:{read:function(){var t=this;if(0===this.$el[0].offsetHeight)return void(this.hidden=!0);this.hidden=!1,this.stacks=!0;var e=this.$el.children().filter(function(t,e){return e.offsetHeight>0});this.rows=[[e.get(0)]],e.slice(1).each(function(e,i){for(var n=Math.ceil(i.offsetTop),o=n+i.offsetHeight,s=t.rows.length-1;s>=0;s--){var r=t.rows[s],a=Math.ceil(r[0].offsetTop);if(n>=a+r[0].offsetHeight){t.rows.push([i]);break}if(o>a){if(t.stacks=!1,i.offsetLeftthis.panel.outerHeight(!0)).css("display",this.$el.hasClass("uk-flex")?"":"block")},events:["resize","orientationchange"]},events:{beforeshow:function(t){this.$el.is(t.target)&&(Lt.addClass(this.clsPage),this.$el.css("display","block"),this.$el.height())},hide:function(t){this.$el.is(t.target)&&(this.getActive()||Lt.removeClass(this.clsPage),this.$el.css("display","").removeClass("uk-flex uk-flex-center uk-flex-middle"))}}}),e.component("overflow-auto",{mixins:[ke],ready:function(){this.panel=m("!.uk-modal-dialog",this.$el),this.$el.css("min-height",150)},update:{write:function(){var t=this.$el.css("max-height");this.$el.css("max-height",150).css("max-height",Math.max(150,150-(this.panel.outerHeight(!0)-window.innerHeight))),t!==this.$el.css("max-height")&&this.$el.trigger("resize")},events:["load","resize","orientationchange"]}}),e.modal.dialog=function(t,i){var n=e.modal('
\n
'+t+"
\n
",i)[0];return requestAnimationFrame(n.show),n.$el.on("hide",function(){return n.$destroy(!0)}),n},e.modal.alert=function(i,n){return n=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},n),C(function(t){return e.modal.dialog('\n
'+(D(i)?i:Ft(i).html())+'
\n \n ",n).$el.on("hide",t)})},e.modal.confirm=function(i,n){return n=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},n),C(function(t,o){return e.modal.dialog('\n
'+(D(i)?i:Ft(i).html())+'
\n \n ",n).$el.on("click",".uk-modal-footer button",function(e){return 0===Ft(e.target).index()?o():t()})})},e.modal.prompt=function(i,n,o){return o=t.extend({bgClose:!1,escClose:!1,labels:e.modal.labels},o),C(function(t,s){var r=!1,a=e.modal.dialog('\n \n
\n \n \n
\n \n \n ",o),l=a.$el.find("input").val(n);a.$el.on("submit","form",function(e){e.preventDefault(),t(l.val()),r=!0,a.hide()}).on("hide",function(){r||t(null)})})},e.modal.labels={ok:"Ok",cancel:"Cancel"}}function yt(t){t.component("nav",t.components.accordion.extend({name:"nav",defaults:{targets:"> .uk-parent",toggle:"> a",content:"ul:first"}}))}function $t(e){e.component("navbar",{mixins:[ke],props:{dropdown:String,mode:String,align:String,offset:Number,boundary:Boolean,boundaryAlign:Boolean,clsDrop:String,delayShow:Number,delayHide:Number,dropbar:Boolean,dropbarMode:String,dropbarAnchor:"jQuery",duration:Number},defaults:{dropdown:".uk-navbar-nav > li",mode:"hover",align:"left",offset:!1,boundary:!0,boundaryAlign:!1,clsDrop:"uk-navbar-dropdown",delayShow:0,delayHide:800,flip:"x",dropbar:!1,dropbarMode:"slide",dropbarAnchor:!1,duration:200},init:function(){this.boundary=this.boundary===!0||this.boundaryAlign?this.$el:this.boundary,this.pos="bottom-"+this.align},ready:function(){var t=this;this.$el.on("mouseenter",this.dropdown,function(e){var i=e.target,n=t.getActive();!n||a(i,n.toggle.$el)||n.isDelaying||n.hide(!1)}),this.dropbar&&(this.dropbar=m(this.dropbar,this.$el)||Ft("
").insertAfter(this.dropbarAnchor||this.$el),e.navbarDropbar(this.dropbar,{mode:this.dropbarMode,duration:this.duration,navbar:this}))},update:function(){var i=this;Ft(this.dropdown,this.$el).each(function(n,o){var s=H("."+i.clsDrop,o);!s||e.getComponent(s,"drop")||e.getComponent(s,"dropdown")||e.drop(s,t.extend({},i))})},events:{beforeshow:function(t,e){var i=e.$el,n=e.dir;this.dropbar&&"bottom"===n&&!a(i,this.dropbar)&&(i.appendTo(this.dropbar),this.dropbar.trigger("beforeshow",[{$el:i}]))}},methods:{getActive:function(){var t=e.drop.getActive();return t&&"click"!==t.mode&&a(t.toggle.$el,this.$el)&&t}}}),e.component("navbar-dropbar",{mixins:[ke],defaults:{mode:"slide",navbar:null,duration:200},init:function(){"slide"===this.mode&&this.$el.addClass("uk-navbar-dropbar-slide")},events:{mouseleave:function(){var t=this.navbar.getActive();t&&!this.$el.is(":hover")&&t.hide()},beforeshow:function(t,e){var i=e.$el;i.addClass(this.clsDrop+"-dropbar"),this.transitionTo(i.outerHeight(!0))},beforehide:function(t,e){var i=e.$el,n=this.navbar.getActive();if(this.$el.is(":hover")&&n&&n.$el.is(i))return!1},hide:function(t,e){var i=e.$el,n=this.navbar.getActive();(!n||n&&n.$el.is(i))&&this.transitionTo(0)}},methods:{transitionTo:function(t){var e=this;return this.$el.height(this.$el[0].offsetHeight?this.$el.height():0),Wt.cancel(this.$el).then(function(){return Wt.start(e.$el,{height:t},e.duration)})}}})}function kt(t){t.component("offcanvas",{mixins:[Te],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean},defaults:{mode:"slide",flip:!1,overlay:!1,clsPage:"uk-offcanvas-page",clsPanel:"uk-offcanvas-bar",clsFlip:"uk-offcanvas-flip",clsPageAnimation:"uk-offcanvas-page-animation",clsSidebarAnimation:"uk-offcanvas-bar-animation",clsMode:"uk-offcanvas",clsOverlay:"uk-offcanvas-overlay",clsPageOverlay:"uk-offcanvas-page-overlay",selClose:".uk-offcanvas-close"},init:function(){this.clsFlip=this.flip?this.clsFlip:"",this.clsOverlay=this.overlay?this.clsOverlay:"",this.clsPageOverlay=this.overlay?this.clsPageOverlay:"",this.clsMode=this.clsMode+"-"+this.mode,"none"!==this.mode&&"reveal"!==this.mode||(this.clsSidebarAnimation=""),"push"!==this.mode&&"reveal"!==this.mode&&(this.clsPageAnimation="")},update:{write:function(){this.isActive()&&Lt.width(window.innerWidth-this.getScrollbarWidth())},events:["resize","orientationchange"]},events:{beforeshow:function(t){this.$el.is(t.target)&&(Lt.addClass(this.clsPage+" "+this.clsFlip+" "+this.clsPageAnimation+" "+this.clsPageOverlay),this.panel.addClass(this.clsSidebarAnimation+" "+this.clsMode),this.$el.addClass(this.clsOverlay).css("display","block").height())},beforehide:function(t){this.$el.is(t.target)&&(Lt.removeClass(this.clsPageAnimation).css("margin-left",""),("none"===this.mode||this.getActive()&&this.getActive()!==this)&&this.panel.trigger(ee))},hide:function(t){this.$el.is(t.target)&&(Lt.removeClass(this.clsPage+" "+this.clsFlip+" "+this.clsPageOverlay).width(""),this.panel.removeClass(this.clsSidebarAnimation+" "+this.clsMode),this.$el.removeClass(this.clsOverlay).css("display",""))}}})}function xt(t){t.component("responsive",{props:["width","height"],init:function(){this.$el.addClass("uk-responsive-width")},update:{write:function(){this.$el.is(":visible")&&this.width&&this.height&&this.$el.height(Vt.fit({height:this.height,width:this.width},{width:this.$el.parent().width(),height:this.height||this.$el.height()}).height)},events:["load","resize","orientationchange"]}})}function Tt(t){t.component("scroll",{props:{duration:Number, -transition:String,offset:Number},defaults:{duration:1e3,transition:"easeOutExpo",offset:0},methods:{scrollToElement:function(t){var e=this;t=Ft(t);var i=t.offset().top-this.offset,n=qt.height(),o=window.innerHeight;i+o>n&&(i=n-o),Ft("html,body").stop().animate({scrollTop:parseInt(i,10)||1},this.duration,this.transition).promise().then(function(){return e.$el.trigger("scrolled",[e])})}},events:{click:function(t){t.isDefaultPrevented()||(t.preventDefault(),this.scrollToElement(Ft(this.$el[0].hash).length?this.$el[0].hash:"body"))}}}),Ft.easing.easeOutExpo||(Ft.easing.easeOutExpo=function(t,e,i,n,o){return e==o?i+n:n*(-Math.pow(2,-10*e/o)+1)+i})}function Ct(t){t.component("scrollspy",{args:"cls",props:{cls:String,target:String,hidden:Boolean,offsetTop:Number,offsetLeft:Number,repeat:Boolean,delay:Number},defaults:{cls:"uk-scrollspy-inview",target:!1,hidden:!0,offsetTop:0,offsetLeft:0,repeat:!1,delay:0,inViewClass:"uk-scrollspy-inview"},init:function(){this.$emit()},update:[{read:function(){this.elements=this.target&&Ft(this.target,this.$el)||this.$el},write:function(){this.hidden&&this.elements.filter(":not(."+this.inViewClass+")").css("visibility","hidden")}},{read:function(){var t=this;this.elements.each(function(e,i){i._scrollspy||(i._scrollspy={toggles:(Ft(i).attr("uk-scrollspy-class")||t.cls).split(",")}),i._scrollspy.show=u(i,t.offsetTop,t.offsetLeft)})},write:function(){var t=this,e=1===this.elements.length?1:0;this.elements.each(function(i,n){var o=Ft(n),s=n._scrollspy;s.show?s.inview||s.timer||(s.timer=setTimeout(function(){o.css("visibility","").addClass(t.inViewClass).toggleClass(s.toggles[0]).trigger("inview"),s.inview=!0,delete s.timer},t.delay*e++)):s.inview&&t.repeat&&(s.timer&&(clearTimeout(s.timer),delete s.timer),o.removeClass(t.inViewClass).toggleClass(s.toggles[0]).css("visibility",t.hidden?"hidden":"").trigger("outview"),s.inview=!1),s.toggles.reverse()})},events:["scroll","load","resize","orientationchange"]}]})}function St(t){t.component("scrollspy-nav",{props:{cls:String,closest:String,scroll:Boolean,overflow:Boolean,offset:Number},defaults:{cls:"uk-active",closest:!1,scroll:!1,overflow:!0,offset:0},update:[{read:function(){this.links=this.$el.find('a[href^="#"]').filter(function(t,e){return e.hash}),this.elements=this.closest?this.links.closest(this.closest):this.links,this.targets=Ft(Ft.map(this.links,function(t){return t.hash}).join(",")),this.scroll&&t.scroll(this.links,{offset:this.offset||0})}},{read:function(){var t=this,e=Ut.scrollTop()+this.offset,i=document.documentElement.scrollHeight-window.innerHeight+this.offset;this.active=!1,this.targets.each(function(n,o){o=Ft(o);var s=o.offset(),r=n+1===t.targets.length;if(!t.overflow&&(0===n&&s.top>e||r&&s.top+o.outerHeight()=i)for(var a=t.targets.length;a>n;a--)if(u(t.targets.eq(a))){o=t.targets.eq(a);break}return!(t.active=H(t.links.filter('[href="#'+o.attr("id")+'"]')))}})},write:function(){this.links.blur(),this.elements.removeClass(this.cls),this.active&&this.$el.trigger("active",[this.active,(this.closest?this.active.closest(this.closest):this.active).addClass(this.cls)])},events:["scroll","load","resize","orientationchange"]}]})}function Et(t){t.component("spinner",t.components.icon.extend({name:"spinner",connected:function(){var t=this;this.height=this.width=this.$el.width(),this.svg.then(function(e){var i=e.find("circle"),n=Math.floor(t.width/2);e[0].setAttribute("viewBox","0 0 "+t.width+" "+t.width),i.attr({cx:n,cy:n,r:n-parseFloat(i.css("stroke-width")||0)})})}}))}function At(e){e.component("sticky",{mixins:[ke],props:{top:null,bottom:Boolean,offset:Number,animation:String,clsActive:String,clsInactive:String,widthElement:"jQuery",showOnUp:Boolean,media:"media",target:Number},defaults:{top:0,bottom:!1,offset:0,animation:"",clsActive:"uk-active",clsInactive:"",widthElement:!1,showOnUp:!1,media:!1,target:!1},connected:function(){this.placeholder=Ft('
').insertAfter(this.$el).attr("hidden",!0),this._widthElement=this.widthElement||this.placeholder},ready:function(){var t=this;if(this.topProp=this.top,this.bottomProp=this.bottom,this.target&&location.hash&&Ut.scrollTop()>0){var e=m(location.hash);e&&Xt(function(){var i=e.offset().top,n=t.$el.offset().top,o=t.$el.outerHeight(),s=n+o;s>=i&&n<=i+e.outerHeight()&&window.scrollTo(0,i-o-t.target-t.offset)})}},update:[{write:function(){var e,i=this,n=this.$el.outerHeight(),o=this.isActive();this.placeholder.css("height","absolute"!==this.$el.css("position")?n:"").css(this.$el.css(["marginTop","marginBottom","marginLeft","marginRight"])),this.width=this._widthElement.attr("hidden",null).outerWidth(),this._widthElement.attr("hidden",!o),this.topOffset=(o?this.placeholder.offset():this.$el.offset()).top,this.bottomOffset=this.topOffset+n,["top","bottom"].forEach(function(n){i[n]=i[n+"Prop"],i[n]&&(t.isNumeric(i[n])?i[n]=i[n+"Offset"]+parseFloat(i[n]):D(i[n])&&i[n].match(/^-?\d+vh$/)?i[n]=window.innerHeight*parseFloat(i[n])/100:(e=i[n]===!0?i.$el.parent():m(i[n],i.$el),e&&(i[n]=e.offset().top+e.outerHeight())))}),this.top=Math.max(parseFloat(this.top),this.topOffset)-this.offset,this.bottom=this.bottom&&this.bottom-n,this.inactive=this.media&&!window.matchMedia(this.media).matches,o&&this.update()},events:["load","resize","orientationchange"]},{write:function(t){var e=this;void 0===t&&(t={});var i=t.dir,n=this.isActive(),o=Ut.scrollTop();if(!(o<0||!this.$el.is(":visible")||this.disabled))if(this.inactive||othis.bottom-this.offset&&(t=this.bottom-e),this.$el.css({position:"fixed",top:t+"px",width:this.width})},isActive:function(){return this.$el.hasClass(this.clsActive)&&!(this.animation&&this.$el.hasClass("uk-animation-leave"))}},disconnected:function(){this.placeholder.remove(),this.placeholder=null,this._widthElement=null}})}function It(t){t.component("svg",{props:{id:String,icon:String,src:String,class:String,style:String,width:Number,height:Number,ratio:Number},defaults:{ratio:1,id:!1,class:"",exclude:["src"]},init:function(){this.class+=" uk-svg"},connected:function(){var t=this;this.svg=C(function(e,i){t._resolver=e,t._rejecter=i}).catch(function(){}),this.$emitSync()},disconnected:function(){this.isSet=!1,f(this.$el)&&this.$el.attr({hidden:null,id:this.id||null}),this.svg&&(this.svg.then(function(t){return t&&t.remove()}),this.svg=null)},update:{read:function(){var t=this;if(this.src||(this.src=Dt(this.$el)),this.src&&!this.isSet){if(this.isSet=!0,!this.icon&&~this.src.indexOf("#")){var e=this.src.split("#");e.length>1&&(this.src=e[0],this.icon=e[1])}Pt(this.src).then(function(e){t._svg=e,t.$emit()},function(t){})}},write:function(){var t=this;if(this._svg){var e,i,n=this._svg;if(this._svg=null,this.icon)if(e=n.getElementById(this.icon)){var o=e.outerHTML;if(!o){var s=document.createElement("div");s.appendChild(e.cloneNode(!0)),o=s.innerHTML}o=o.replace(//g,"svg>"),i=Ie.parseFromString(o,"image/svg+xml").documentElement}else n.querySelector("symbol")||(i=n.documentElement.cloneNode(!0));else i=n.documentElement.cloneNode(!0);if(!i)return void this._rejecter("SVG not found.");var r=i.getAttribute("viewBox");r&&(r=r.split(" "),this.width=this.width||r[2],this.height=this.height||r[3]),i=Ft(i),this.width*=this.ratio,this.height*=this.ratio;for(var a in t.$options.props)t[a]&&!~t.exclude.indexOf(a)&&i.attr(a,t[a]);this.id||i.removeAttr("id"),this.width&&!this.height&&i.removeAttr("height"),this.height&&!this.width&&i.removeAttr("width"),f(this.$el)||"CANVAS"===this.$el[0].tagName?(this.$el.attr({hidden:!0,id:null}),i.insertAfter(this.$el)):i.appendTo(this.$el),this._resolver(i)}},events:["load"]}})}function Dt(t){var e=Ot(t);if(!e){if(t=t.clone().empty().attr({"uk-no-boot":"",style:t.attr("style")+";display:block !important;"}).appendTo(document.body),e=Ot(t),!e&&"CANVAS"===t[0].tagName){var i=Ft(t[0].outerHTML.replace(/canvas/g,"span")).insertAfter(t);e=Ot(i),i.remove()}t.remove()}return e&&e.slice(4,-1).replace(/"/g,"")}function Ot(t){var e=g(t[0],"backgroundImage","::before");return"none"!==e&&e}function Pt(t){return Ae[t]||(Ae[t]=C(function(e,i){if(0===t.lastIndexOf("data:",0))e(_t(decodeURIComponent(t.split(",")[1])));else{var n="uikit_"+UIkit.version+"_"+t;Ee[n]?e(_t(Ee[n])):Ft.ajax(t,{dataType:"html"}).then(function(t){Ee[n]=t,e(_t(t))},function(){i("SVG not found.")})}})),Ae[t]}function _t(t){return Ie.parseFromString(t,"image/svg+xml")}function Nt(t){t.component("switcher",{mixins:[xe],args:"connect",props:{connect:"jQuery",toggle:String,active:Number,swiping:Boolean},defaults:{connect:!1,toggle:" > *",active:0,swiping:!0,cls:"uk-active",clsContainer:"uk-switcher",attrItem:"uk-switcher-item",queued:!0},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(t.currentTarget)}}],update:function(){var t=this;this.toggles=Ft(this.toggle,this.$el),this.connects=this.connect||Ft(this.$el.next("."+this.clsContainer));var e="click."+this.$options.name;if(this.connects.off(e).on(e,"["+this.attrItem+"],[data-"+this.attrItem+"]",function(e){e.preventDefault(),t.show(Ft(e.currentTarget)[e.currentTarget.hasAttribute(t.attrItem)?"attr":"data"](t.attrItem))}),this.swiping){var i="swipeRight."+this.$options.name+" swipeLeft."+this.$options.name;this.connects.off(i).on(i,function(e){e.preventDefault(),window.getSelection().toString()||t.show("swipeLeft"==e.type?"next":"previous")})}this.updateAria(this.connects.children()),this.show(H(this.toggles.filter("."+this.cls+":first"))||H(this.toggles.eq(this.active))||this.toggles.first())},methods:{show:function(t){var e=this;this.toggles||this.$emitSync();for(var i,n=this.toggles.length,o=this.connects.children("."+this.cls).index(),s=o>=0,r=d(t,this.toggles,o),a="previous"===t?-1:1,l=0;l=0&&i.hasClass(this.cls)||o===r||(this.toggles.removeClass(this.cls).attr("aria-expanded",!1),i.addClass(this.cls).attr("aria-expanded",!0),s?this.toggleElement(this.connects.children(":nth-child("+(o+1)+"),:nth-child("+(r+1)+")")):this.toggleNow(this.connects.children(":nth-child("+(r+1)+")")))}}})}function Ht(t){t.component("tab",t.components.switcher.extend({mixins:[ke],name:"tab",defaults:{media:960,attrItem:"uk-tab-item"},init:function(){var e=this.$el.hasClass("uk-tab-left")&&"uk-tab-left"||this.$el.hasClass("uk-tab-right")&&"uk-tab-right";e&&t.toggle(this.$el,{cls:e,mode:"media",media:this.media})}}))}function Mt(t){t.component("toggle",{mixins:[t.mixin.toggable],args:"target",props:{href:"jQuery",target:"jQuery",mode:String,media:"media"},defaults:{href:!1,target:!1,mode:"click",queued:!0,media:!1},init:function(){this.mode=Jt&&"hover"==this.mode?"click":this.mode},events:[{name:"mouseenter mouseleave",filter:function(){return"hover"===this.mode},handler:function(t){var e=t.type;this.toggle("mouseenter"===e?"toggleShow":"toggleHide")}},{name:"click",filter:function(){return"media"!==this.mode},handler:function(t){(Ft(t.target).closest('a[href="#"], button').length||Ft(t.target).closest("a[href]")&&(this.cls||!this.target.is(":visible")))&&t.preventDefault(),this.toggle()}}],update:{write:function(){if(this.target=this.target||this.href||this.$el,"media"===this.mode&&this.media){var t=this.isToggled(this.target);(window.matchMedia(this.media).matches?!t:t)&&this.toggle()}},events:["load","resize","orientationchange"]},methods:{toggle:function(t){var e=Ft.Event(t||"toggle");this.target.triggerHandler(e,[this]),e.isDefaultPrevented()||this.toggleElement(this.target)}}})}function Bt(t){function e(t){return t?"ms"===t.substr(-2)?parseFloat(t):1e3*parseFloat(t):0}var i,o,s,r=null,a=0;Ut.on("load",t.update).on("resize orientationchange",function(e){s||(Xt(function(){t.update(e),s=!1}),s=!0)}).on("scroll",function(e){null===r&&(r=0),i=ri[t]?n.ratio(e,t,i[t]):e}),e},cover:function(e,i){var n=this;return e=this.fit(e,i),t.each(e,function(t){return e=e[t]0||navigator.pointerEnabled&&navigator.maxTouchPoints>0,Kt=Jt?window.PointerEvent?"pointerdown":"touchstart":"mousedown",Zt=Jt?window.PointerEvent?"pointermove":"touchmove":"mousemove",te=Jt?window.PointerEvent?"pointerup":"touchend":"mouseup",ee=function(){var t,e=document.body||document.documentElement,i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in i)if(void 0!==e.style[t])return i[t]}(),ie=function(){var t,e=document.body||document.documentElement,i={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in i)if(void 0!==e.style[t])return i[t]}();v.prototype={constructor:v,measure:function(t,e){var i=e?t.bind(e):t;return this.reads.push(i),w(this),i},mutate:function(t,e){var i=e?t.bind(e):t;return this.writes.push(i),w(this),i},clear:function(t){return $(this.reads,t)||$(this.writes,t)},extend:function(t){if("object"!=typeof t)throw new Error("expected object");var e=Object.create(this);return k(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var ne=new v,oe=Object.prototype.hasOwnProperty;C.resolve=function(t){return C(function(e){e(t)})},C.reject=function(t){return C(function(e,i){i(t)})},C.all=function(t){return P(window.Promise)?Ft.when.apply(Ft,t):window.Promise.all(t)};var se=/-(\w)/g,re={"!":"closest","+":"nextAll","-":"prevAll"},ae={},le={};le.args=le.created=le.init=le.ready=le.connected=le.disconnected=le.destroy=function(e,i){return i?e?e.concat(i):t.isArray(i)?i:[i]:e},le.update=function(e,i){return le.args(e,t.isFunction(i)?{write:i}:i)},le.events=function(t,e){return e?t?t.push(e)&&t:[e]:t},le.props=function(e,i){return t.isArray(i)&&(i=i.reduce(function(t,e){return t[e]=String,t},{})),le.methods(e,i)},le.defaults=le.methods=function(e,i){return i?e?t.extend(!0,{},e,i):i:e};var he,ce,ue,de,fe,me,ge=function(t,e){return P(e)?t:e},pe={x:["width","left","right"],y:["height","top","bottom"]},ve={},we=750;i(function(){var t,e,i,n=0,o=0;"MSGesture"in window&&(fe=new MSGesture,fe.target=document.body),document.addEventListener("click",function(){return me=!0},!0),qt.on("MSGestureEnd gestureend",function(t){var e=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;e&&void 0!==ve.el&&(ve.el.trigger("swipe"),ve.el.trigger("swipe"+e))}).on(Kt,function(n){i=n.originalEvent.touches?n.originalEvent.touches[0]:n,t=Date.now(),e=t-(ve.last||t),ve.el=Ft("tagName"in i.target?i.target:i.target.parentNode),he&&clearTimeout(he),ve.x1=i.pageX,ve.y1=i.pageY,e>0&&e<=250&&(ve.isDoubleTap=!0),ve.last=t,de=setTimeout(Q,we),!fe||"pointerdown"!=n.type&&"touchstart"!=n.type||fe.addPointer(n.originalEvent.pointerId),me=!1}).on(Zt,function(t){i=t.originalEvent.touches?t.originalEvent.touches[0]:t,X(),ve.x2=i.pageX,ve.y2=i.pageY,n+=Math.abs(ve.x1-ve.x2),o+=Math.abs(ve.y1-ve.y2)}).on(te,function(){X(),ve.x2&&Math.abs(ve.x1-ve.x2)>30||ve.y2&&Math.abs(ve.y1-ve.y2)>30?ue=setTimeout(function(){void 0!==ve.el&&(ve.el.trigger("swipe"),ve.el.trigger("swipe"+V(ve.x1,ve.x2,ve.y1,ve.y2))),ve={}},0):"last"in ve&&(isNaN(n)||n<30&&o<30?ce=setTimeout(function(){var t=Ft.Event("tap");t.cancelTouch=G,void 0!==ve.el&&ve.el.trigger(t),ve.isDoubleTap?(void 0!==ve.el&&ve.el.trigger("doubleTap"),ve={}):he=setTimeout(function(){he=null,void 0!==ve.el&&(ve.el.trigger("singleTap"),me||ve.el.trigger("click")),ve={}},300)}):ve={},n=o=0)}).on("touchcancel pointercancel",G),Ut.on("scroll",G)});var be=Object.freeze({win:Ut,doc:qt,docElement:Lt,langDirection:zt,isReady:e,ready:i,on:n,off:o,transition:s,Transition:Wt,animate:r,Animation:Yt,isWithin:a,attrFilter:l,removeClass:h,createEvent:c,isInView:u,getIndex:d,isVoidElement:f,Dimensions:Vt,query:m,Observer:Qt,requestAnimationFrame:Xt,cancelAnimationFrame:Gt,hasTouch:Jt,pointerDown:Kt,pointerMove:Zt,pointerUp:te,transitionend:ee,animationend:ie,getStyle:g,getCssVar:p,fastdom:ne,$:Ft,bind:x,hasOwn:T,promise:C,classify:S,hyphenate:E,camelize:A,isString:D,isNumber:O,isUndefined:P,isContextSelector:_,getContextSelectors:N,toJQuery:H,toBoolean:M,toNumber:B,toMedia:j,coerce:F,ajax:t.ajax,each:t.each,extend:t.extend,map:t.map,merge:t.merge,isArray:t.isArray,isNumeric:t.isNumeric,isFunction:t.isFunction,isPlainObject:t.isPlainObject,mergeOptions:U,position:q,getDimensions:L,flipPosition:R}),ye=function(t){this._init(t)};ye.util=be,ye.data="__uikit__",ye.prefix="uk-",ye.options={},ye.instances={},ye.elements=[],J(ye),et(ye),it(ye),nt(ye);var $e,ke={init:function(){this.$el.addClass(this.$name)}},xe={props:{cls:Boolean,animation:Boolean,duration:Number,origin:String,transition:String,queued:Boolean},defaults:{cls:!1,animation:!1,duration:200,origin:!1,transition:"linear",queued:!1,initProps:{overflow:"",height:"",paddingTop:"",paddingBottom:"",marginTop:"",marginBottom:""},hideProps:{overflow:"hidden",height:0,paddingTop:0,paddingBottom:0,marginTop:0,marginBottom:0}},ready:function(){D(this.animation)&&(this.animation=this.animation.split(","),1===this.animation.length&&(this.animation[1]=this.animation[0]),this.animation=this.animation.map(function(t){return t.trim()})),this.queued=this.queued&&!!this.animation},methods:{toggleElement:function(t,e,i){var n,o=this,s=document.body,r=s.scrollTop,a=function(t){return C.all(t.toArray().map(function(t){return o._toggleElement(t,e,i)})).catch(function(){})},l=function(t){var e=a(t);return o.queued=!0,s.scrollTop=r,e};return t=Ft(t),!this.queued||t.length<2?a(t):this.queued!==!0?l(t.not(this.queued)):(this.queued=t.not(n=t.filter(function(t,e){return o.isToggled(e)})),a(n).then(function(){return o.queued!==!0&&l(o.queued)}))},toggleNow:function(t,e){var i=this;return C.all(Ft(t).toArray().map(function(t){return i._toggleElement(t,e,!1)})).catch(function(){})},isToggled:function(t){return t=Ft(t),this.cls?t.hasClass(this.cls.split(" ")[0]):!t.attr("hidden")},updateAria:function(t){this.cls===!1&&t.attr("aria-hidden",!this.isToggled(t))},_toggleElement:function(t,e,i){var n=this;if(t=Ft(t),Yt.inProgress(t))return Yt.cancel(t).then(function(){return n._toggleElement(t,e,i)});e="boolean"==typeof e?e:!this.isToggled(t);var o=Ft.Event("before"+(e?"show":"hide"));if(t.trigger(o,[this]),o.result===!1)return s.reject();var s=(this.animation===!0&&i!==!1?this._toggleHeight:this.animation&&i!==!1?this._toggleAnimation:this._toggleImmediate)(t,e);return t.trigger(e?"show":"hide",[this]),s.then(function(){return t.trigger(e?"shown":"hidden",[n])})},_toggle:function(t,e){t=Ft(t),this.cls?t.toggleClass(this.cls,~this.cls.indexOf(" ")?void 0:e):t.attr("hidden",!e),t.find("[autofocus]:visible").focus(),this.updateAria(t),UIkit.update(null,t)},_toggleImmediate:function(t,e){return this._toggle(t,e),C.resolve()},_toggleHeight:function(e,i){var n,o=this,s=Wt.inProgress(e),r=parseFloat(e.children().first().css("margin-top"))+parseFloat(e.children().last().css("margin-bottom")),a=e[0].offsetHeight?e.height()+(s?0:r):0;return Wt.cancel(e).then(function(){return o.isToggled(e)||o._toggle(e,!0),e.css("height",""),n=e.height()+(s?0:r),e.height(a),i?Wt.start(e,t.extend(o.initProps,{overflow:"hidden",height:n}),Math.round(o.duration*(1-a/n)),o.transition):Wt.start(e,o.hideProps,Math.round(o.duration*(a/n)),o.transition).then(function(){o._toggle(e,!1),e.css(o.initProps)})})},_toggleAnimation:function(t,e){var i=this;return e?(this._toggle(t,!0),Yt.in(t,this.animation[0],this.duration,this.origin)):Yt.out(t,this.animation[1],this.duration,this.origin).then(function(){return i._toggle(t,!1)})}}};qt.on({click:function(t){$e&&$e.bgClose&&!t.isDefaultPrevented()&&!a(t.target,$e.panel)&&$e.hide()},keydown:function(t){27===t.keyCode&&$e&&$e.escClose&&(t.preventDefault(),$e.hide())}});var Te={mixins:[ke,xe],props:{clsPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean},defaults:{cls:"uk-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1},ready:function(){this.body=Ft(document.body),this.panel=H("."+this.clsPanel,this.$el)},events:[{name:"click",delegate:function(){return this.selClose},handler:function(t){t.preventDefault(),this.hide()}},{name:"toggle",handler:function(t){t.preventDefault(),this.toggleNow(this.$el)}},{name:"beforeshow",handler:function(t){var e=this,i=t.target;if(this.$el.is(i)){if(this.isActive())return!1;var n=$e&&$e!==this&&$e;$e||this.body.css("overflow-y",this.getScrollbarWidth()&&this.overlay?"scroll":""),$e=this,n&&(this.stack?this.prev=n:n.hide()),this.panel.one(ee,function(){var t=Ft.Event("show");t.isShown=!0,e.$el.trigger(t,[e])})}}},{name:"show",handler:function(t){this.$el.is(t.target)&&(t.isShown||t.stopImmediatePropagation())}},{name:"beforehide",handler:function(t){var e=this;if(this.$el.is(t.target)){$e=$e&&$e!==this&&$e||this.prev;var i=function(){var t=Ft.Event("hide");t.isHidden=!0,e.$el.trigger(t,[e])};parseFloat(this.panel.css("transition-duration"))?this.panel.one(ee,i):i()}}},{name:"hide",handler:function(t){if(this.$el.is(t.target))return t.isHidden?void($e||this.body.css("overflow-y","")):void t.stopImmediatePropagation()}}],methods:{isActive:function(){return this.$el.hasClass(this.cls)},toggle:function(){return this.isActive()?this.hide():this.show()},show:function(){var t=this;return C(function(e){t.$el.one("show",e),t.toggleNow(t.$el,!0)})},hide:function(){var t=this;return C(function(e){t.$el.one("hide",e),t.toggleNow(t.$el,!1)})},getActive:function(){return $e},getScrollbarWidth:function(){var t=Lt[0].style.width;Lt.css("width","");var e=window.innerWidth-Lt.outerWidth(!0);return t&&Lt.width(t),e}}},Ce={defaults:{positions:[],position:null},methods:{initMouseTracker:function(){var t=this;this.positions=[],this.position=null,this.mouseHandler=function(e){t.positions.push({x:e.pageX,y:e.pageY}),t.positions.length>5&&t.positions.shift()},qt.on("mousemove",this.mouseHandler)},cancelMouseTracker:function(){this.mouseHandler&&qt.off("mousemove",this.mouseHandler)},movesTo:function(t){var e=L(t),i=[[{x:e.left,y:e.top},{x:e.right,y:e.bottom}],[{x:e.right,y:e.top},{x:e.left,y:e.bottom}]],n=this.positions[this.positions.length-1],o=this.positions[0]||n;if(!n)return!1;e.right<=n.x||(e.left>=n.x?(i[0].reverse(),i[1].reverse()):e.bottom<=n.y?i[0].reverse():e.top>=n.y&&i[1].reverse());var s=n&&!(this.position&&n.x===this.position.x&&n.y===this.position.y)&&i.reduce(function(t,e){return t+(ot(o,e[0])ot(n,e[1]))},0);return this.position=s?n:null,s}}},Se={props:{pos:String,offset:null,flip:Boolean,clsPos:String},defaults:{pos:"bottom-left",flip:!0,offset:!1,clsPos:""},init:function(){this.pos=(this.pos+(~this.pos.indexOf("-")?"":"-center")).split("-"),this.dir=this.pos[0],this.align=this.pos[1]},methods:{positionAt:function(t,e,i){h(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?").css({top:"",left:""}),this.dir=this.pos[0],this.align=this.pos[1];var n=B(this.offset)||0,o=this.getAxis(),s=q(t,e,"x"===o?R(this.dir)+" "+this.align:this.align+" "+R(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-1*n:n):" "+("top"===this.dir?-1*n:n),null,this.flip,i);this.dir="x"===o?s.target.x:s.target.y,this.align="x"===o?s.target.y:s.target.x,t.css("display","").toggleClass(this.clsPos+"-"+this.dir+"-"+this.align,this.offset===!1)},getAxis:function(){return"top"===this.pos[0]||"bottom"===this.pos[0]?"y":"x"}}},Ee=window.sessionStorage||{},Ae={},Ie=new DOMParser;return ye.version="3.0.0",st(ye),Bt(ye),jt(ye),"undefined"!=typeof module&&(module.exports=ye),ye}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("uikit")):"function"==typeof define&&define.amd?define(["uikit"],e):e(t.UIkit)}(this,function(t){"use strict";var e,i=t.util.$,n=t.util.doc,o=t.util.extend,s=t.util.Dimensions,r=t.util.getIndex,a=t.util.Transition;n.on({keydown:function(t){if(e)switch(t.keyCode){case 37:e.show("previous");break;case 39:e.show("next")}}}),UIkit.component("lightbox",{name:"lightbox",props:{toggle:String,duration:Number,inverse:Boolean},defaults:{toggle:"a",duration:400,dark:!1,attrItem:"uk-lightbox-item",items:[],index:0},ready:function(){var t=this;this.toggles=i(this.toggle,this.$el).each(function(e,i){return t.items.push({source:i.getAttribute("href"),title:i.getAttribute("title"),type:i.getAttribute("type")})})},events:[{name:"click",delegate:function(){return this.toggle+":not(.uk-disabled)"},handler:function(t){t.preventDefault(),this.show(this.toggles.index(t.currentTarget))}},{name:"showitem",handler:function(t){var e=this.getItem();e.content&&(this.$update(),t.stopImmediatePropagation())}}],update:{write:function(){var t=this,e=this.getItem();if(this.modal&&e.content){var n=this.modal.panel,o={width:n.width(),height:n.height()},r={width:window.innerWidth-(n.outerWidth(!0)-o.width),height:window.innerHeight-(n.outerHeight(!0)-o.height)},l=s.fit({width:e.width,height:e.height},r);a.stop(n).stop(this.modal.content),this.modal.content&&this.modal.content.remove(),this.modal.content=i(e.content).css("opacity",0).appendTo(n),n.css(o),a.start(n,l,this.duration).then(function(){a.start(t.modal.content,{opacity:1},400).then(function(){n.find("[uk-transition-hide]").show(),n.find("[uk-transition-show]").hide()})})}},events:["resize","orientationchange"]},methods:{show:function(t){var n=this;this.index=r(t,this.items,this.index),this.modal||(this.modal=UIkit.modal.dialog('\n \n \n ',{center:!0}),this.modal.$el.css("overflow","hidden").addClass("uk-modal-lightbox"),this.modal.panel.css({width:200,height:200}),this.modal.caption=i('
').appendTo(this.modal.panel),this.items.length>1&&i('
\n \n \n
\n ').appendTo(this.modal.panel.addClass("uk-slidenav-position")),this.modal.$el.on("hide",this.hide).on("click","["+this.attrItem+"]",function(t){t.preventDefault(),n.show(i(t.currentTarget).attr(n.attrItem))}).on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||n.show("swipeLeft"==t.type?"next":"previous")})),e=this,this.modal.panel.find("[uk-transition-hide]").hide(),this.modal.panel.find("[uk-transition-show]").show(),this.modal.content&&this.modal.content.remove(),this.modal.caption.text(this.getItem().title);var o=i.Event("showitem");this.$el.trigger(o),o.isImmediatePropagationStopped()||this.setError(this.getItem())},hide:function(){var t=this;e=e&&e!==this&&e,this.modal.hide().then(function(){t.modal.$destroy(!0),t.modal=null})},getItem:function(){return this.items[this.index]||{source:"",title:"",type:""}},setItem:function(t,e,i,n){void 0===i&&(i=200),void 0===n&&(n=200),o(t,{content:e,width:i,height:n}),this.$update()},setError:function(t){this.setItem(t,'
Loading resource failed!
',400,300)}}}),UIkit.mixin({events:{showitem:function(t){var e=this,i=this.getItem();if("image"===i.type||!i.source||i.source.match(/\.(jp(e)?g|png|gif|svg)$/i)){var n=new Image;n.onerror=function(){return e.setError(i)},n.onload=function(){return e.setItem(i,'',n.width,n.height)},n.src=i.source, -t.stopImmediatePropagation()}}}},"lightbox"),UIkit.mixin({events:{showitem:function(t){var e=this,n=this.getItem();if("video"===n.type||!n.source||n.source.match(/\.(mp4|webm|ogv)$/i)){var o=i('').on("loadedmetadata",function(){return e.setItem(n,o.attr({width:o[0].videoWidth,height:o[0].videoHeight}),o[0].videoWidth,o[0].videoHeight)}).attr("src",n.source);t.stopImmediatePropagation()}}}},"lightbox"),UIkit.mixin({events:{showitem:function(t){var e,i=this,n=this.getItem();if((e=n.source.match(/\/\/.*?youtube\.[a-z]+\/watch\?v=([^&]+)&?(.*)/))||n.source.match(/youtu\.be\/(.*)/)){var o=e[1],s=new Image,r=!1,a=function(t,e){return i.setItem(n,'',t,e)};s.onerror=function(){return a(640,320)},s.onload=function(){120===s.width&&90===s.height?r?a(640,320):(r=!0,s.src="//img.youtube.com/vi/"+o+"/0.jpg"):a(s.width,s.height)},s.src="//img.youtube.com/vi/"+o+"/maxresdefault.jpg",t.stopImmediatePropagation()}}}},"lightbox"),UIkit.mixin({events:{showitem:function(t){var e,n=this,o=this.getItem();if(e=o.source.match(/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/)){var s=e[2],r=function(t,e){return n.setItem(o,'',t,e)};i.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(o.source),jsonp:"callback",dataType:"jsonp"}).then(function(t){return r(t.width,t.height)}),t.stopImmediatePropagation()}}}},"lightbox")}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("uikit")):"function"==typeof define&&define.amd?define(["uikit"],e):e(t.UIkit)}(this,function(t){"use strict";var e=t.util.$,i=t.util.each,n=t.util.Transition,o={};UIkit.component("notification",{functional:!0,args:["message","status"],defaults:{message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:null},created:function(){o[this.pos]||(o[this.pos]=e('
').appendTo(t.container)),this.$mount(e('
\n \n
'+this.message+"
\n
").appendTo(o[this.pos].show()))},ready:function(){var t=this,e=parseInt(this.$el.css("margin-bottom"),10);n.start(this.$el.css({opacity:0,marginTop:-1*this.$el.outerHeight(),marginBottom:0}),{opacity:1,marginTop:0,marginBottom:e}).then(function(){t.timeout&&(t.timer=setTimeout(t.close,t.timeout),t.$el.on("mouseenter",function(){return clearTimeout(t.timer)}).on("mouseleave",function(){return t.timer=setTimeout(t.close,t.timeout)}))})},events:{click:function(t){t.preventDefault(),this.close()}},methods:{close:function(t){var e=this,i=function(){e.onClose&&e.onClose(),e.$el.trigger("close",[e]).remove(),o[e.pos].children().length||o[e.pos].hide()};this.timer&&clearTimeout(this.timer),t?i():n.start(this.$el,{opacity:0,marginTop:-1*this.$el.outerHeight(),marginBottom:0}).then(i)}}}),UIkit.notification.closeAll=function(t,e){i(UIkit.instances,function(i,n){"notification"!==n.$options.name||t&&t!==n.group||n.close(e)})}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("uikit")):"function"==typeof define&&define.amd?define(["uikit"],e):e(t.UIkit)}(this,function(t){"use strict";function e(t){return UIkit.getComponent(t,"sortable")||t.parentNode&&e(t.parentNode)}function i(){var t=setTimeout(function(){return o.trigger("click")},0),e=function(i){i.preventDefault(),i.stopPropagation(),clearTimeout(t),l(o,"click",e,!0)};a(o,"click",e,!0)}var n=t.util.$,o=t.util.docElement,s=t.util.extend,r=t.util.isWithin,a=t.util.on,l=t.util.off,h=t.util.pointerDown,c=t.util.pointerMove,u=t.util.pointerUp,d=t.util.win;UIkit.component("sortable",{mixins:[t.mixin.class],props:{group:String,animation:Number,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},defaults:{group:!1,animation:150,threshold:5,clsItem:"uk-sortable-item",clsPlaceholder:"uk-sortable-placeholder",clsDrag:"uk-sortable-drag",clsDragState:"uk-drag",clsBase:"uk-sortable",clsNoDrag:"uk-sortable-nodrag",clsEmpty:"uk-sortable-empty",clsCustom:"",handle:!1},init:function(){var t=this;["init","start","move","end"].forEach(function(e){var i=t[e];t[e]=function(e){e=e.originalEvent||e,t.scrollY=window.scrollY;var n=e.touches&&e.touches[0]||e,o=n.pageX,s=n.pageY;t.pos={x:o,y:s},i(e)}})},events:(f={},f[h]="init",f),update:{write:function(){var t=this;if(this.clsEmpty&&this.$el.toggleClass(this.clsEmpty,!this.$el.children().length),this.drag){this.drag.offset({top:this.pos.y+this.origin.top,left:this.pos.x+this.origin.left});var e=this.drag.offset().top,i=e+this.drag[0].offsetHeight;e>0&&ewindow.innerHeight+this.scrollY&&setTimeout(function(){return d.scrollTop(t.scrollY+5)},5)}}},methods:{init:function(t){var e=n(t.target),i=this.$el.children().filter(function(e,i){return r(t.target,i)});!i.length||e.is(":input")||this.handle&&!r(e,this.handle)||t.button&&0!==t.button||r(e,"."+this.clsNoDrag)||(t.preventDefault(),t.stopPropagation(),this.touched=[this],this.placeholder=i,this.origin=s({target:e,index:this.placeholder.index()},this.pos),o.on(c,this.move),o.on(u,this.end),d.on("scroll",this.scroll),this.threshold||this.start(t))},start:function(e){this.drag=n(this.placeholder[0].outerHTML.replace(/^
  • $/i,"div>")).attr("uk-no-boot","").addClass(this.clsDrag+" "+this.clsCustom).css({boxSizing:"border-box",width:this.placeholder.outerWidth(),height:this.placeholder.outerHeight()}).css(this.placeholder.css(["paddingLeft","paddingRight","paddingTop","paddingBottom"])).appendTo(t.container),this.drag.children().first().height(this.placeholder.children().height());var i=this.placeholder.offset(),r=i.left,a=i.top;s(this.origin,{left:r-this.pos.x,top:a-this.pos.y}),this.placeholder.addClass(this.clsPlaceholder),this.$el.children().addClass(this.clsItem),o.addClass(this.clsDragState),this.$el.trigger("start",[this,this.placeholder,this.drag]),this.move(e)},move:function t(i){if(!this.drag)return void((Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(i));this.$emit();var o="mousemove"===i.type?i.target:document.elementFromPoint(this.pos.x-document.body.scrollLeft,this.pos.y-document.body.scrollTop),s=e(o),a=e(this.placeholder[0]),t=s!==a;if(s&&!r(o,this.placeholder)&&(!t||s.group&&s.group===a.group)){if(o=s.$el.is(o.parentNode)&&n(o)||s.$el.children().has(o),t)a.remove(this.placeholder);else if(!o.length)return;s.insert(this.placeholder,o),~this.touched.indexOf(s)||this.touched.push(s)}},scroll:function t(){var t=window.scrollY;t!==this.scrollY&&(this.pos.y+=t-this.scrollY,this.scrollY=t,this.$emit())},end:function(t){if(o.off(c,this.move),o.off(u,this.end),d.off("scroll",this.scroll),!this.drag)return void("mouseup"!==t.type&&r(t.target,"a[href]")&&(location.href=n(t.target).closest("a[href]").attr("href")));i();var s=e(this.placeholder[0]);this===s?this.origin.index!==this.placeholder.index()&&this.$el.trigger("change",[this,this.placeholder,"moved"]):(s.$el.trigger("change",[s,this.placeholder,"added"]),this.$el.trigger("change",[this,this.placeholder,"removed"])),this.$el.trigger("stop",[this]),this.drag.remove(),this.drag=null,this.touched.forEach(function(t){return t.$el.children().removeClass(t.clsPlaceholder+" "+t.clsItem)}),o.removeClass(this.clsDragState)},insert:function t(e,i){var n=this;this.$el.children().addClass(this.clsItem);var t=function(){i.length?!n.$el.has(e).length||e.prevAll().filter(i).length?e.insertBefore(i):e.insertAfter(i):n.$el.append(e)};this.animation?this.animate(t):t()},remove:function(t){this.$el.has(t).length&&(this.animation?this.animate(function(){return t.detach()}):t.detach())},animate:function(t){var e=this,i=[],o=this.$el.children().toArray().map(function(t){return t=n(t),i.push(s({position:"absolute",pointerEvents:"none",width:t.outerWidth(),height:t.outerHeight()},t.position())),t}),r={position:"",width:"",height:"",pointerEvents:"",top:"",left:""};t(),o.forEach(function(t){return t.stop()}),this.$el.children().css(r),this.$updateSync("update",!0),this.$el.css("min-height",this.$el.height());var a=o.map(function(t){return t.position()});n.when.apply(n,o.map(function(t,n){return t.css(i[n]).animate(a[n],e.animation).promise()})).then(function(){e.$el.css("min-height","").children().css(r),e.$updateSync("update",!0)})}}});var f}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("uikit")):"function"==typeof define&&define.amd?define(["uikit"],e):e(t.UIkit)}(this,function(t){"use strict";var e=t.util.$,i=t.util.flipPosition;UIkit.component("tooltip",{mixins:[t.mixin.toggable,t.mixin.position],props:{delay:Number},defaults:{pos:"top",delay:0,animation:"uk-animation-scale-up",duration:100,cls:"uk-active",clsPos:"uk-tooltip"},ready:function(){this.content=this.$el.attr("title"),this.$el.removeAttr("title").attr("aria-expanded",!1)},methods:{show:function(){var n=this;clearTimeout(this.showTimer),"true"!==this.$el.attr("aria-expanded")&&(this.tooltip=e('").appendTo(t.container),this.$el.attr("aria-expanded",!0),this.positionAt(this.tooltip,this.$el),this.origin="y"===this.getAxis()?i(this.dir)+"-"+this.align:this.align+"-"+i(this.dir),this.showTimer=setTimeout(function(){n.toggleElement(n.tooltip,!0),n.hideTimer=setInterval(function(){n.$el.is(":visible")||n.hide()},150)},this.delay))},hide:function(){this.$el.is("input")&&this.$el[0]===document.activeElement||(clearTimeout(this.showTimer),clearInterval(this.hideTimer),this.$el.attr("aria-expanded",!1),this.toggleElement(this.tooltip,!1),this.tooltip&&this.tooltip.remove(),this.tooltip=!1)}},events:{"focus mouseenter":"show","blur mouseleave":"hide"}})}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("uikit")):"function"==typeof define&&define.amd?define(["uikit"],e):e(t.UIkit)}(this,function(t){"use strict";function e(t,e){return e.match(new RegExp("^"+t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$","i"))}function i(t,e){for(var i=[],n=0;n Date: Fri, 18 Jan 2019 20:48:34 +0200 Subject: [PATCH 5/5] Some more changes Updated HTML code and added comments --- index.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 7359af5..160830e 100644 --- a/index.html +++ b/index.html @@ -13,14 +13,14 @@ - + - - + +