From e1e025823c6e868e59cde9ecc8fa495ee45de7bc Mon Sep 17 00:00:00 2001 From: neodarz Date: Wed, 28 Aug 2019 12:21:29 +0200 Subject: Update theme to current shaarli version --- js/shaarli.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 js/shaarli.min.js (limited to 'js/shaarli.min.js') diff --git a/js/shaarli.min.js b/js/shaarli.min.js new file mode 100644 index 0000000..9f3b9ba --- /dev/null +++ b/js/shaarli.min.js @@ -0,0 +1 @@ +(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=4)})([,,,,function(a,b,c){c(5),c(7),c(8),c(9),a.exports=c(10)},function(a,b,c){'use strict';function d(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b&]/gim,function(a){return'&#'+a.charCodeAt(0)+';'})}function j(a,b){var c=2new Date().getTime()&&(v.style.display='none'),null!=u&&u.addEventListener('click',function(){localStorage.setItem('newVersionDismiss',new Date().getTime().toString())});var w=document.getElementsByName('returnurl');null!=w&&(w.value=window.location.href);var x=document.querySelectorAll('.autofocus'),y=!1;[].forEach.call(x,function(a){''!==a.value||y||(a.focus(),y=!0)});var z=document.getElementsByClassName('subheader-opener');if(null!=z&&[].concat(d(z)).forEach(function(a){a.addEventListener('click',function(b){b.preventDefault();var c=a.getAttribute('data-open-id'),e=document.getElementById(c);null!=e&&([].concat(d(document.getElementsByClassName('subheader-form'))).forEach(function(a){a!==e&&p(a,'open')}),e.classList.toggle('open'))})}),''!==location.hash){var A=document.getElementById(location.hash.substr(1));if(null!=A){var B=A.clientHeight;window.scroll(0,window.scrollY-B),A.style.paddingTop='0'}}var C=document.getElementById('lf_description');null!=C&&(q(C),C.addEventListener('keydown',function(a){a.ctrlKey&&13===a.keyCode&&document.getElementById('button-save-edit').click()}));var D=document.querySelectorAll('.bookmarklet-link'),E=document.getElementById('bookmarklet-alert');[].forEach.call(D,function(a){a.addEventListener('click',function(a){a.preventDefault(),alert(E.value)})});var F=document.getElementById('continent'),G=document.getElementById('city');null!=F&&null!=G&&(F.addEventListener('change',function(){j(G,F.options[F.selectedIndex].value,!0)}),j(G,F.options[F.selectedIndex].value,!1));var H=document.querySelectorAll('.link-checkbox'),I=document.getElementById('actions');[].concat(d(H)).forEach(function(a){a.style.display='inline-block',a.addEventListener('change',function(){var a=document.querySelectorAll('.link-checkbox:checked'),b=[].concat(d(a)).length;0===b&&I.classList.contains('open')?I.classList.toggle('open'):0=this.minChars&&this._list&&0$&');return d.create('li',{innerHTML:e,"aria-selected":'false',id:'awesomplete_list_'+this.count+'_item_'+c})},g.REPLACE=function(a){this.input.value=a.value},g.DATA=function(a){return a},Object.defineProperty(b.prototype=Object.create(String.prototype),'length',{get:function(){return this.label.length}}),b.prototype.toString=b.prototype.valueOf=function(){return''+this.label};var h=Array.prototype.slice;return d.create=function(a,b){var c=document.createElement(a);for(var e in b){var f=b[e];if('inside'==e)d(f).appendChild(c);else if('around'==e){var g=d(f);g.parentNode.insertBefore(c,g),c.appendChild(g),null!=g.getAttribute('autofocus')&&g.focus()}else e in c?c[e]=f:c.setAttribute(e,f)}return c},d.bind=function(a,b){if(a)for(var c in b){var d=b[c];c.split(/\s+/).forEach(function(b){a.addEventListener(b,d)})}},d.unbind=function(a,b){if(a)for(var c in b){var d=b[c];c.split(/\s+/).forEach(function(b){a.removeEventListener(b,d)})}},d.fire=function(a,b,c){var d=document.createEvent('HTMLEvents');for(var e in d.initEvent(b,!0,!0),c)d[e]=c[e];return a.dispatchEvent(d)},d.regExpEscape=function(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,'\\$&')},d.siblingIndex=function(a){for(var b=0;a=a.previousElementSibling;b++);return b},'undefined'!=typeof self&&(self.Awesomplete=g),'undefined'!=typeof Document&&('loading'===document.readyState?document.addEventListener('DOMContentLoaded',f):f()),g.$=d,g.$$=e,'object'==typeof a&&a.exports&&(a.exports=g),g})()},function(){},function(a){a.exports='tpl/default/img/../img/apple-touch-icon.png'},function(a){a.exports='tpl/default/img/../img/favicon.png'},function(a){a.exports='tpl/default/img/../img/sad_star.png'}]); \ No newline at end of file -- cgit v1.2.1