mirror of
https://github.com/YunoHost-Apps/keeweb_ynh.git
synced 2024-09-03 19:26:33 +02:00
21 lines
944 KiB
HTML
21 lines
944 KiB
HTML
|
<!DOCTYPE html><html><head lang="en"><meta charset="UTF-8"><title>KeeWeb</title><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel="shortcut icon" href="data:image/png;base64,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
|
|||
|
for(var t=n&&m.max(n,O).length||0,r=Array(t),e=0;t>e;e++)r[e]=m.pluck(n,e);return r},m.object=function(n,t){for(var r={},e=0,u=O(n);u>e;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},m.findIndex=t(1),m.findLastIndex=t(-1),m.sortedIndex=function(n,t,r,e){r=x(r,e,1);for(var u=r(t),i=0,o=O(n);o>i;){var a=Math.floor((i+o)/2);r(n[a])<u?i=a+1:o=a}return i},m.indexOf=r(1,m.findIndex,m.sortedIndex),m.lastIndexOf=r(-1,m.findLastIndex),m.range=function(n,t,r){null==t&&(t=n||0,n=0),r=r||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),i=0;e>i;i++,n+=r)u[i]=n;return u};var E=function(n,t,r,e,u){if(!(e instanceof t))return n.apply(r,u);var i=j(n.prototype),o=n.apply(i,u);return m.isObject(o)?o:i};m.bind=function(n,t){if(g&&n.bind===g)return g.apply(n,l.call(arguments,1));if(!m.isFunction(n))throw new TypeError("Bind must be called on a function");var r=l.call(arguments,2),e=function(){return E(n,e,t,this,r.concat(l.call(arguments)))};return e},m.partial=function(n){var t=l.call(arguments,1),r=function(){for(var e=0,u=t.length,i=Array(u),o=0;u>o;o++)i[o]=t[o]===m?arguments[e++]:t[o];for(;e<arguments.length;)i.push(arguments[e++]);return E(n,r,this,this,i)};return r},m.bindAll=function(n){var t,r,e=arguments.length;if(1>=e)throw new Error("bindAll must be passed function names");for(t=1;e>t;t++)r=arguments[t],n[r]=m.bind(n[r],n);return n},m.memoize=function(n,t){var r=function(e){var u=r.cache,i=""+(t?t.apply(this,arguments):e);return m.has(u,i)||(u[i]=n.apply(this,arguments)),u[i]};return r.cache={},r},m.delay=function(n,t){var r=l.call(arguments,2);return setTimeout(function(){return n.apply(null,r)},t)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,t,r){var e,u,i,o=null,a=0;r||(r={});var c=function(){a=r.leading===!1?0:m.now(),o=null,i=n.apply(e,u),o||(e=u=null)};return function(){var f=m.now();a||r.leading!==!1||(a=f);var l=t-(f-a);return e=this,u=arguments,0>=l||l>t?(o&&(clearTimeout(o),o=null),a=f,i=n.apply(e,u),o||(e=u=null)):o||r.trailing===!1||(o=setTimeout(c,l)),i}},m.debounce=function(n,t,r){var e,u,i,o,a,c=function(){var f=m.now()-o;t>f&&f>=0?e=setTimeout(c,t-f):(e=null,r||(a=n.apply(i,u),e||(i=u=null)))};return function(){i=this,u=arguments,o=m.now();var f=r&&!e;return e||(e=setTimeout(c,t)),f&&(a=n.apply(i,u),i=u=null),a}},m.wrap=function(n,t){return m.partial(t,n)},m.negate=function(n){return function(){return!n.apply(this,arguments)}},m.compose=function(){var n=arguments,t=n.length-1;return function(){for(var r=t,e=n[t].apply(this,arguments);r--;)e=n[r].call(this,e);return e}},m.after=function(n,t){return function(){return--n<1?t.apply(this,arguments):void 0}},m.before=function(n,t){var r;return function(){return--n>0&&(r=t.apply(this,arguments)),1>=n&&(t=null),r}},m.once=m.partial(m.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];m.keys=function(n){if(!m.isObject(n))return[];if(v)return v(n);var t=[];for(var r in n)m.has(n,r)&&t.push(r);return M&&e(n,t),t},m.allKeys=function(n){if(!m.isObject(n))return[];var t=[];for(var r in n)t.push(r);return M&&e(n,t),t},m.values=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=n[t[u]];return e},m.mapObject=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=u.length,o={},a=0;i>a;a++)e=u[a],o[e]=t(n[e],e,n);return o},m.pairs=function(n){for(var t=m.keys(n),r=t.length,e=Array(r),u=0;r>u;u++)e[u]=[t[u],n[t[u]]];return e},m.invert=function(n){for(var t={},r=m.keys(n),e=0,u=r.length;u>e;e++)t[n[r[e]]]=r[e];return t},m.functions=m.methods=function(n){var t=[];for(var r in n)m.isFunction(n[r])&&t.push(r);return t.sort()},m.extend=_(m.allKeys),m.extendOwn=m.assign=_(m.keys),m.findKey=function(n,t,r){t=x(t,r);for(var e,u=m.keys(n),i=0,o=u.length;o>i;i++)if(e=u[i],t(n[e],e,n))return e},m.pick=function(n,t,r){var e,u,i={},o=n;if(null==o)return i;m.isFunction(t)?(u=m.allKeys(o),e=b(t,r)):(u=S(arguments,!1,!1,1),e=function(n,t,r){return t in r},o=Object(o));for(var a=0,c=u.length;c>a;a++){var f=u[a],l=o[f];e(l,f,o)&&(i[f]=l)}return i},m.omit=functi
|
|||
|
"#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling"
|
|||
|
return K(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ca(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Qa(this,!0)},hide:function(){return Qa(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function Ra(a,b,c,d,e){return new Ra.prototype.init(a,b,c,d,e)}n.Tween=Ra,Ra.prototype={constructor:Ra,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ra.propHooks[this.prop];return a&&a.get?a.get(this):Ra.propHooks._default.get(this)},run:function(a){var b,c=Ra.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ra.propHooks._default.set(this),this}},Ra.prototype.init.prototype=Ra.prototype,Ra.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},Ra.propHooks.scrollTop=Ra.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=Ra.prototype.init,n.fx.step={};var Sa,Ta,Ua=/^(?:toggle|show|hide)$/,Va=/queueHooks$/;function Wa(){return a.setTimeout(function(){Sa=void 0}),Sa=n.now()}function Xa(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=U[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ya(a,b,c){for(var d,e=(_a.tweeners[b]||[]).concat(_a.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Za(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&V(a),q=N.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?N.get(a,"olddisplay")||za(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Ua.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?za(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=N.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;N.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ya(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function $a(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function _a(a,b,c){var d,e,f=0,g=_a.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Sa||Wa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.ext
|
|||
|
i.loaded=true;return i.exports}__webpack_require__.m=e;__webpack_require__.c=t;__webpack_require__.p="";return __webpack_require__(0)}([function(e,t,r){e.exports.Kdbx=r(32),e.exports.KdbxUuid=r(6),e.exports.KdbxError=r(8),e.exports.Credentials=r(14),e.exports.Consts=r(1),e.exports.ProtectedValue=r(10),e.exports.ByteUtils=r(2),e.exports.Random=r(9)},function(e,t){"use strict";e.exports.ErrorCodes={NotImplemented:"NotImplemented",InvalidArg:"InvalidArg",BadSignature:"BadSignature",InvalidVersion:"InvalidVersion",Unsupported:"Unsupported",FileCorrupt:"FileCorrupt",InvalidKey:"InvalidKey",MergeError:"MergeError"},e.exports.CompressionAlgorithm={None:0,GZip:1},e.exports.CrsAlgorithm={Null:0,ArcFourVariant:1,Salsa20:2},e.exports.AutoTypeObfuscationOptions={None:0,UseClipboard:1},e.exports.Defaults={KeyEncryptionRounds:6e3,MntncHistoryDays:365,HistoryMaxItems:10,HistoryMaxSize:6291456,RecycleBinName:"Recycle Bin"},e.exports.Icons={Key:0,World:1,Warning:2,NetworkServer:3,MarkedDirectory:4,UserCommunication:5,Parts:6,Notepad:7,WorldSocket:8,Identity:9,PaperReady:10,Digicam:11,IRCommunication:12,MultiKeys:13,Energy:14,Scanner:15,WorldStar:16,CDRom:17,Monitor:18,EMail:19,Configuration:20,ClipboardReady:21,PaperNew:22,Screen:23,EnergyCareful:24,EMailBox:25,Disk:26,Drive:27,PaperQ:28,TerminalEncrypted:29,Console:30,Printer:31,ProgramIcons:32,Run:33,Settings:34,WorldComputer:35,Archive:36,Homebanking:37,DriveWindows:39,Clock:39,EMailSearch:40,PaperFlag:41,Memory:42,TrashBin:43,Note:44,Expired:45,Info:46,Package:47,Folder:48,FolderOpen:49,FolderPackage:50,LockOpen:51,PaperLocked:52,Checked:53,Pen:54,Thumbnail:55,Book:56,List:57,UserKey:58,Tool:59,Home:60,Star:61,Tux:62,Feather:63,Apple:64,Wiki:65,Money:66,Certificate:67,BlackBerry:68}},function(e,t,r){"use strict";function arrayBufferEquals(e,t){if(e.byteLength!==t.byteLength)return!1;for(var r=new Uint8Array(e),i=new Uint8Array(t),n=0,o=r.length;o>n;n++)if(r[n]!==i[n])return!1;return!0}function bytesToString(e){return e instanceof ArrayBuffer&&(e=new Uint8Array(e)),i.bytes_to_string(e,!0)}function stringToBytes(e){return i.string_to_bytes(e,!0)}function base64ToBytes(e){if("undefined"==typeof atob){var t=new Buffer(e,"base64");return new Uint8Array(t)}return i.base64_to_bytes(e)}function bytesToBase64(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),"undefined"==typeof btoa){var t=new Buffer(e);return t.toString("base64")}return i.bytes_to_base64(e)}function arrayToBuffer(e){if(e instanceof ArrayBuffer)return e;var t=e.buffer;return 0===e.byteOffset&&e.byteLength===t.byteLength?t:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function zeroBuffer(e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));for(var t=0,r=e.length;r>t;t++)e[t]=0}var i=r(4);e.exports.arrayBufferEquals=arrayBufferEquals,e.exports.bytesToString=bytesToString,e.exports.stringToBytes=stringToBytes,e.exports.base64ToBytes=base64ToBytes,e.exports.bytesToBase64=bytesToBase64,e.exports.arrayToBuffer=arrayToBuffer,e.exports.zeroBuffer=zeroBuffer},function(e,t){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)r.hasOwnProperty(i)&&(e[i]=r[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,i,n){if(t.subarray&&e.subarray)return void e.set(t.subarray(r,r+i),n);for(var o=0;i>o;o++)e[n+o]=t[r+o]},flattenChunks:function(e){var t,r,i,n,o,a;for(i=0,t=0,r=e.length;r>t;t++)i+=e[t].length;for(a=new Uint8Array(i),n=0,t=0,r=e.length;r>t;t++)o=e[t],a.set(o,n),n+=o.length;return a}},n={arraySet:function(e,t,r,i,n){for(var o=0;i>o;o++)e[n+o]=t[r+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,n))},t.setTyped(r)},function(e,t,r){var i,n;!
|
|||
|
var z=new e.Uint32Array(r),V=new e.Uint8Array(r);function A(e,t,r,s,l,d,u,h){e=e|0;t=t|0;r=r|0;s=s|0;l=l|0;d=d|0;u=u|0;h=h|0;var c=0,f=0,p=0,m=0,_=0,y=0,g=0,b=0;c=r|1024,f=r|2048,p=r|3072;l=l^z[(e|0)>>2],d=d^z[(e|4)>>2],u=u^z[(e|8)>>2],h=h^z[(e|12)>>2];for(b=16;(b|0)<=s<<4;b=b+16|0){m=z[(r|l>>22&1020)>>2]^z[(c|d>>14&1020)>>2]^z[(f|u>>6&1020)>>2]^z[(p|h<<2&1020)>>2]^z[(e|b|0)>>2],_=z[(r|d>>22&1020)>>2]^z[(c|u>>14&1020)>>2]^z[(f|h>>6&1020)>>2]^z[(p|l<<2&1020)>>2]^z[(e|b|4)>>2],y=z[(r|u>>22&1020)>>2]^z[(c|h>>14&1020)>>2]^z[(f|l>>6&1020)>>2]^z[(p|d<<2&1020)>>2]^z[(e|b|8)>>2],g=z[(r|h>>22&1020)>>2]^z[(c|l>>14&1020)>>2]^z[(f|d>>6&1020)>>2]^z[(p|u<<2&1020)>>2]^z[(e|b|12)>>2];l=m,d=_,u=y,h=g}i=z[(t|l>>22&1020)>>2]<<24^z[(t|d>>14&1020)>>2]<<16^z[(t|u>>6&1020)>>2]<<8^z[(t|h<<2&1020)>>2]^z[(e|b|0)>>2],n=z[(t|d>>22&1020)>>2]<<24^z[(t|u>>14&1020)>>2]<<16^z[(t|h>>6&1020)>>2]<<8^z[(t|l<<2&1020)>>2]^z[(e|b|4)>>2],o=z[(t|u>>22&1020)>>2]<<24^z[(t|h>>14&1020)>>2]<<16^z[(t|l>>6&1020)>>2]<<8^z[(t|d<<2&1020)>>2]^z[(e|b|8)>>2],a=z[(t|h>>22&1020)>>2]<<24^z[(t|l>>14&1020)>>2]<<16^z[(t|d>>6&1020)>>2]<<8^z[(t|u<<2&1020)>>2]^z[(e|b|12)>>2]}function B(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;A(0,2048,4096,x,e,t,r,i)}function C(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;var o=0;A(1024,3072,8192,x,e,i,r,t);o=n,n=a,a=o}function D(e,t,r,h){e=e|0;t=t|0;r=r|0;h=h|0;A(0,2048,4096,x,s^e,l^t,d^r,u^h);s=i,l=n,d=o,u=a}function E(e,t,r,h){e=e|0;t=t|0;r=r|0;h=h|0;var c=0;A(1024,3072,8192,x,e,h,r,t);c=n,n=a,a=c;i=i^s,n=n^l,o=o^d,a=a^u;s=e,l=t,d=r,u=h}function F(e,t,r,h){e=e|0;t=t|0;r=r|0;h=h|0;A(0,2048,4096,x,s,l,d,u);s=i=i^e,l=n=n^t,d=o=o^r,u=a=a^h}function G(e,t,r,h){e=e|0;t=t|0;r=r|0;h=h|0;A(0,2048,4096,x,s,l,d,u);i=i^e,n=n^t,o=o^r,a=a^h;s=e,l=t,d=r,u=h}function H(e,t,r,h){e=e|0;t=t|0;r=r|0;h=h|0;A(0,2048,4096,x,s,l,d,u);s=i,l=n,d=o,u=a;i=i^e,n=n^t,o=o^r,a=a^h}function I(e,t,r,s){e=e|0;t=t|0;r=r|0;s=s|0;A(0,2048,4096,x,h,c,f,p);p=~g&p|g&p+1,f=~y&f|y&f+((p|0)==0),c=~_&c|_&c+((f|0)==0),h=~m&h|m&h+((c|0)==0);i=i^e,n=n^t,o=o^r,a=a^s}function J(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;var n=0,o=0,a=0,h=0,c=0,f=0,p=0,m=0,_=0,y=0;e=e^s,t=t^l,r=r^d,i=i^u;n=b|0,o=v|0,a=w|0,h=k|0;for(;(_|0)<128;_=_+1|0){if(n>>>31){c=c^e,f=f^t,p=p^r,m=m^i}n=n<<1|o>>>31,o=o<<1|a>>>31,a=a<<1|h>>>31,h=h<<1;y=i&1;i=i>>>1|r<<31,r=r>>>1|t<<31,t=t>>>1|e<<31,e=e>>>1;if(y)e=e^3774873600}s=c,l=f,d=p,u=m}function K(e){e=e|0;x=e}function L(e,t,r,s){e=e|0;t=t|0;r=r|0;s=s|0;i=e,n=t,o=r,a=s}function M(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;s=e,l=t,d=r,u=i}function N(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;h=e,c=t,f=r,p=i}function O(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;m=e,_=t,y=r,g=i}function P(e,t,r,i){e=e|0;t=t|0;r=r|0;i=i|0;p=~g&p|g&i,f=~y&f|y&r,c=~_&c|_&t,h=~m&h|m&e}function Q(e){e=e|0;if(e&15)return-1;V[e|0]=i>>>24,V[e|1]=i>>>16&255,V[e|2]=i>>>8&255,V[e|3]=i&255,V[e|4]=n>>>24,V[e|5]=n>>>16&255,V[e|6]=n>>>8&255,V[e|7]=n&255,V[e|8]=o>>>24,V[e|9]=o>>>16&255,V[e|10]=o>>>8&255,V[e|11]=o&255,V[e|12]=a>>>24,V[e|13]=a>>>16&255,V[e|14]=a>>>8&255,V[e|15]=a&255;return 16}function R(e){e=e|0;if(e&15)return-1;V[e|0]=s>>>24,V[e|1]=s>>>16&255,V[e|2]=s>>>8&255,V[e|3]=s&255,V[e|4]=l>>>24,V[e|5]=l>>>16&255,V[e|6]=l>>>8&255,V[e|7]=l&255,V[e|8]=d>>>24,V[e|9]=d>>>16&255,V[e|10]=d>>>8&255,V[e|11]=d&255,V[e|12]=u>>>24,V[e|13]=u>>>16&255,V[e|14]=u>>>8&255,V[e|15]=u&255;return 16}function S(){B(0,0,0,0);b=i,v=n,w=o,k=a}function T(e,t,r){e=e|0;t=t|0;r=r|0;var s=0;if(t&15)return-1;while((r|0)>=16){j[e&7](V[t|0]<<24|V[t|1]<<16|V[t|2]<<8|V[t|3],V[t|4]<<24|V[t|5]<<16|V[t|6]<<8|V[t|7],V[t|8]<<24|V[t|9]<<16|V[t|10]<<8|V[t|11],V[t|12]<<24|V[t|13]<<16|V[t|14]<<8|V[t|15]);V[t|0]=i>>>24,V[t|1]=i>>>16&255,V[t|2]=i>>>8&255,V[t|3]=i&255,V[t|4]=n>>>24,V[t|5]=n>>>16&255,V[t|6]=n>>>8&255,V[t|7]=n&255,V[t|8]=o>>>24,V[t|9]=o>>>16&255,V[t|10]=o>>>8&255,V[t|11]=o&255,V[t|12]=a>>>24,V[t|13]=a>>>16&255,V[t|14]=a>>>8&255,V[t|15]=a&255;s=s+16|0,t=t+16|0,r=r-16|0}return s|0}function U(e,t,r){e=e|0;t=t|0;r=r|0;var i=0;if(t&15)return-1;while((r|0)>=16){Z[e&1](V[t|0]<<24|V[t|1]<<16|V[t|2]<<8|V[t|3],V[t|4]<<24|V[t|5]<<16|V[t|6]<<8|V[t|7],V[t|8]<<24|V[t|9]<<16|V[t|10]<<8|V[t|11],V[t|12]<<24|V[
|
|||
|
return r}var i=r(3),n=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(a){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(a){o=!1}for(var s=new i.Buf8(256),l=0;256>l;l++)s[l]=l>=252?6:l>=248?5:l>=240?4:l>=224?3:l>=192?2:1;s[254]=s[254]=1,t.string2buf=function(e){var t,r,n,o,a,s=e.length,l=0;for(o=0;s>o;o++)r=e.charCodeAt(o),55296===(64512&r)&&s>o+1&&(n=e.charCodeAt(o+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),o++)),l+=128>r?1:2048>r?2:65536>r?3:4;for(t=new i.Buf8(l),a=0,o=0;l>a;o++)r=e.charCodeAt(o),55296===(64512&r)&&s>o+1&&(n=e.charCodeAt(o+1),56320===(64512&n)&&(r=65536+(r-55296<<10)+(n-56320),o++)),128>r?t[a++]=r:2048>r?(t[a++]=192|r>>>6,t[a++]=128|63&r):65536>r?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|63&r):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|63&r);return t},t.buf2binstring=function(e){return buf2binstring(e,e.length)},t.binstring2buf=function(e){for(var t=new i.Buf8(e.length),r=0,n=t.length;n>r;r++)t[r]=e.charCodeAt(r);return t},t.buf2string=function(e,t){var r,i,n,o,a=t||e.length,l=new Array(2*a);for(i=0,r=0;a>r;)if(n=e[r++],128>n)l[i++]=n;else if(o=s[n],o>4)l[i++]=65533,r+=o-1;else{for(n&=2===o?31:3===o?15:7;o>1&&a>r;)n=n<<6|63&e[r++],o--;o>1?l[i++]=65533:65536>n?l[i++]=n:(n-=65536,l[i++]=55296|n>>10&1023,l[i++]=56320|1023&n)}return buf2binstring(l,i)},t.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&128===(192&e[r]);)r--;return 0>r?t:0===r?t:r+s[e[r]]>t?r:t}},function(e,t){"use strict";function adler32(e,t,r,i){for(var n=65535&e|0,o=e>>>16&65535|0,a=0;0!==r;){a=r>2e3?2e3:r,r-=a;do n=n+t[i++]|0,o=o+n|0;while(--a);n%=65521,o%=65521}return n|o<<16|0}e.exports=adler32},function(e,t){e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t){"use strict";function makeTable(){for(var e,t=[],r=0;256>r;r++){e=r;for(var i=0;8>i;i++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}function crc32(e,t,i,n){var o=r,a=n+i;e=-1^e;for(var s=n;a>s;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}var r=makeTable();e.exports=crc32},function(e,t){"use strict";function ZStream(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}e.exports=ZStream},function(e,t,r){function DOMParser(e){this.options=e||{locator:{}}}function buildErrorHandler(e,t,i){function r(t){var r=e[t];if(!r)if(o)r=2==e.length?function(r){e(t,r)}:e;else for(var a=arguments.length;--a&&!(r=e[arguments[a]]););n[t]=r&&function(e){r(e+_locator(i))}||function(){}}if(!e){if(t instanceof DOMHandler)return t;e=t}var n={},o=e instanceof Function;return i=i||{},r("warning","warn"),r("error","warn","warning"),r("fatalError","warn","warning","error"),n}function DOMHandler(){this.cdata=!1}function position(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function _locator(e){return e?"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]":void 0}function _toString(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function appendElement(e,t){e.currentElement?e.currentElement.appendChild(t):e.document.appendChild(t)}if(DOMParser.prototype.parseFromString=function(e,t){var r=this.options,n=new i,o=r.domBuilder||new DOMHandler,a=r.errorHandler,s=r.locator,l=r.xmlns||{},d={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return s&&o.setDocumentLocator(s),n.errorHandler=buildErrorHandler(a,o,s),n.domBuilder=r.domBuilder||o,/\/x?html?$/.test(t)&&(d.nbsp=" ",d.copy="©",l[""]="http://www.w3.org/1999/xhtml"),e?n.parse(e,l,d):n.errorHandler.error("invalid document source"),o.document},DOMHandler.prototype={startDocument:function(){this.docu
|
|||
|
var t=new DataView(e).getUint32(e,!0);if(t!==n.CrsAlgorithm.Salsa20)throw new o(n.ErrorCodes.Unsupported,"algorithm");this.crsAlgorithm=t},u.prototype._writeInnerRandomStreamID=function(e){this._writeFieldSize(e,4),e.setUint32(this.crsAlgorithm,!0)},u.prototype._writeEndOfHeader=function(e){this._writeFieldSize(e,4),e.setUint32(13675786)},u.prototype._readField=function(e){var t,r=e.getUint8(),i=e.getUint16(!0);i>0&&(t=e.readBytes(i));var n=l[r];if(n){var o=this["_read"+n];o&&o.call(this,t)}return 0!==r},u.prototype._writeField=function(e,t){var r=l[t];if(r){var i=this["_write"+r];i&&(e.setUint8(t),i.call(this,e))}},u.prototype._writeFieldSize=function(e,t){e.setUint16(t,!0)},u.prototype._writeFieldBytes=function(e,t){this._writeFieldSize(e,t.byteLength),e.writeBytes(t)},u.prototype._validate=function(){if(void 0===this.dataCipherUuid)throw new o(n.ErrorCodes.FileCorrupt,"no cipher in header");if(void 0===this.compression)throw new o(n.ErrorCodes.FileCorrupt,"no compression in header");if(!this.masterSeed)throw new o(n.ErrorCodes.FileCorrupt,"no master seed in header");if(!this.transformSeed)throw new o(n.ErrorCodes.FileCorrupt,"no transform seed in header");if(!this.keyEncryptionRounds)throw new o(n.ErrorCodes.FileCorrupt,"no key encryption rounds in header");if(!this.encryptionIV)throw new o(n.ErrorCodes.FileCorrupt,"no encryption iv in header");if(!this.protectedStreamKey)throw new o(n.ErrorCodes.FileCorrupt,"no protected stream key in header");if(!this.streamStartBytes)throw new o(n.ErrorCodes.FileCorrupt,"no stream start bytes in header");if(void 0===this.crsAlgorithm)throw new o(n.ErrorCodes.FileCorrupt,"no crs algorithm in header")},u.prototype.write=function(e){this._writeSignature(e),this._writeVersion(e);for(var t=1;t<l.length;t++)this._writeField(e,t);this._writeField(e,0),this.endPos=e.pos},u.prototype.generateSalts=function(){this.masterSeed=s.getBytes(32),this.transformSeed=s.getBytes(32),this.encryptionIV=s.getBytes(16),this.protectedStreamKey=s.getBytes(32),this.streamStartBytes=s.getBytes(32)},u.create=function(){var e=new u;return e.version=d.FileVersion,e.dataCipherUuid=d.AesCipherUuid,e.compression=n.CompressionAlgorithm.GZip,e.keyEncryptionRounds=n.Defaults.KeyEncryptionRounds,e.crsAlgorithm=n.CrsAlgorithm.Salsa20,e},u.read=function(e){var t=new u;for(t._readSignature(e),t._readVersion(e);t._readField(e););return t.endPos=e.pos,t._validate(),t},e.exports=u},function(e,t,r){"use strict";function createProperty(e,t){var r="_"+e;Object.defineProperty(l.prototype,e,{enumerable:!0,get:function(){return this[r]},set:function(i){i!==this[r]&&(this[r]=i,t?this[t]=new Date:this._setPropModDate(e))}})}var i=r(5),n=r(6),o=r(7),a=r(1),s={Generator:"KdbxWeb"},l=function(){this.generator=void 0,this.headerHash=void 0,this._name=void 0,this.nameChanged=void 0,this._desc=void 0,this.descChanged=void 0,this._defaultUser=void 0,this.defaultUserChanged=void 0,this._mntncHistoryDays=void 0,this._color=void 0,this.keyChanged=void 0,this._keyChangeRec=void 0,this._keyChangeForce=void 0,this._recycleBinEnabled=void 0,this._recycleBinUuid=void 0,this.recycleBinChanged=void 0,this._entryTemplatesGroup=void 0,this.entryTemplatesGroupChanged=void 0,this._historyMaxItems=void 0,this._historyMaxSize=void 0,this._lastSelectedGroup=void 0,this._lastTopVisibleGroup=void 0,this._memoryProtection={title:void 0,userName:void 0,password:void 0,url:void 0,notes:void 0},this.binaries={},this.customData={},this.customIcons={},this._editState=void 0,Object.preventExtensions(this)},d={name:"nameChanged",desc:"descChanged",defaultUser:"defaultUserChanged",mntncHistoryDays:null,color:null,keyChangeRec:null,keyChangeForce:null,recycleBinEnabled:"recycleBinChanged",recycleBinUuid:"recycleBinChanged",entryTemplatesGroup:"entryTemplatesGroupChanged",historyMaxItems:null,historyMaxSize:null,lastSelectedGroup:null,lastTopVisibleGroup:null,memoryProtection:null};Object.keys(d).forEach(function(e){createProperty(e,d[e])}),l.prototype._setPropModDate=function(e){this._editState||(this._editState={}),this._editState[e]=(new Date).getTime()},l.prototyp
|
|||
|
e.prev_length-=2;do++e.strstart<=o&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+z-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(0!==--e.prev_length);if(e.match_available=0,e.match_length=z-1,e.strstart++,i&&(flush_block_only(e,!1),0===e.strm.avail_out))return q}else if(e.match_available){if(i=n._tr_tally(e,0,e.window[e.strstart-1]),i&&flush_block_only(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return q}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=n._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<z-1?e.strstart:z-1,t===h?(flush_block_only(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?q:W}function deflate_rle(e,t){for(var r,i,o,a,s=e.window;;){if(e.lookahead<=R){if(fill_window(e),e.lookahead<=R&&t===l)return q;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=z&&e.strstart>0&&(o=e.strstart-1,i=s[o],i===s[++o]&&i===s[++o]&&i===s[++o])){a=e.strstart+R;do;while(i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&i===s[++o]&&a>o);e.match_length=R-(a-o),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=z?(r=n._tr_tally(e,1,e.match_length-z),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(flush_block_only(e,!1),0===e.strm.avail_out))return q}return e.insert=0,t===h?(flush_block_only(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?q:W}function deflate_huff(e,t){for(var r;;){if(0===e.lookahead&&(fill_window(e),0===e.lookahead)){if(t===l)return q;break}if(e.match_length=0,r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(flush_block_only(e,!1),0===e.strm.avail_out))return q}return e.insert=0,t===h?(flush_block_only(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(flush_block_only(e,!1),0===e.strm.avail_out)?q:W}function lm_init(e){e.window_size=2*e.w_size,zero(e.head),e.max_lazy_match=J[e.level].max_lazy,e.good_match=J[e.level].good_length,e.nice_match=J[e.level].nice_length,e.max_chain_length=J[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=z-1,e.match_available=0,e.ins_h=0}function DeflateState(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=N,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*M),this.dyn_dtree=new i.Buf16(2*(2*I+1)),this.bl_tree=new i.Buf16(2*(2*U+1)),zero(this.dyn_ltree),zero(this.dyn_dtree),zero(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(O+1),this.heap=new i.Buf16(2*A+1),zero(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*A+1),zero(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function deflateResetKeep(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=k,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?H:j,e.adler=2===t.wrap?0:1,t.last_flush=l,n._tr_init(t),f):err(e,m)}function deflateReset(e){var t=deflateResetKeep(e);return t===f&&lm_init(e.state),t}function deflateSetHeader(e,t){return e&&e.state?2!==e.state.wrap?m:(e.state.gzhead=t,f):m}function deflateInit2(e,t,r,n,o,a){if(!e)return m;var s=1;if(t===g&&(t=6),0>n?(s=0,n=-n):n>15&&(s=2,n-=16),1>o||o>x||r!==N||8>n||n>15|
|
|||
|
e.dyn_dtree[2*d_code(t)]++),e.last_lit===e.lit_bufsize-1}var i=r(3),n=4,o=0,a=1,s=2,l=0,d=1,u=2,h=3,c=258,f=29,p=256,m=p+1+f,_=30,y=19,g=2*m+1,b=15,v=16,w=7,E=256,C=16,k=17,N=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],S=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=512,A=new Array(2*(m+2));zero(A);var I=new Array(2*_);zero(I);var U=new Array(D);zero(U);var M=new Array(c-h+1);zero(M);var O=new Array(f);zero(O);var z=new Array(_);zero(z);var R=function(e,t,r,i,n){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=i,this.max_length=n,this.has_stree=e&&e.length},F,P,H,L=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t},V=!1;t._tr_init=_tr_init,t._tr_stored_block=_tr_stored_block,t._tr_flush_block=_tr_flush_block,t._tr_tally=_tr_tally,t._tr_align=_tr_align},function(e,t,r){function XMLReader(){}function parse(e,t,r,n,a){function s(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}function i(e){var t=e.slice(1,-1);return t in r?r[t]:"#"===t.charAt(0)?s(parseInt(t.substr(1).replace("x","0x"))):(a.error("entity not found:"+e),e)}function c(t){var r=e.substring(m,t).replace(/&#?\w+;/g,i);h&&o(m),n.characters(r,0,t-m),m=t}function o(t,r){for(;t>=d&&(r=u.exec(e));)l=r.index,d=l+r[0].length,h.lineNumber++;h.columnNumber=t-l+1}for(var l=0,d=0,u=/.+(?:\r\n?|\n)|.*$/g,h=n.locator,f=[{currentNSMap:t}],p={},m=0;;){var _=e.indexOf("<",m);if(0>_){if(!e.substr(m).match(/^\s*$/)){var y=n.document,g=y.createTextNode(e.substr(m));y.appendChild(g),n.currentElement=g}return}switch(_>m&&c(_),e.charAt(_+1)){case"/":var b=e.indexOf(">",_+3),v=e.substring(_+2,b),w=f.pop(),E=w.localNSMap;if(w.tagName!=v&&a.fatalError("end tag name: "+v+" is not match the current start tagName:"+w.tagName),n.endElement(w.uri,w.localName,v),E)for(var C in E)n.endPrefixMapping(C);b++;break;case"?":h&&o(_),b=parseInstruction(e,_,n);break;case"!":h&&o(_),b=parseDCC(e,_,n,a);break;default:try{h&&o(_);var k=new ElementAttributes,b=parseElementStartPart(e,_,k,i,a),N=k.length;if(N&&h){for(var x=copyLocator(h,{}),_=0;N>_;_++){var T=k[_];o(T.offset),T.offset=copyLocator(h,{})}copyLocator(x,h)}!k.closed&&fixSelfClosed(e,b,k.tagName,p)&&(k.closed=!0,r.nbsp||a.warning("unclosed xml attribute")),appendElement(k,n,f),"http://www.w3.org/1999/xhtml"!==k.uri||k.closed?b++:b=parseHtmlSpecialContent(e,b,k.tagName,i,n)}catch(S){a.error("element parse error: "+S),b=-1}}0>b?c(_+1):m=b}}function copyLocator(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function parseElementStartPart(e,t,r,i,n){for(var o,p,m=++t,_=a;;){var y=e.charAt(m);switch(y){case"=":if(_===s)o=e.slice(t,m),_=d;else{if(_!==l)throw new Error("attribute equal must after attrName");_=d}break;case"'":case'"':if(_===d){if(t=m+1,m=e.indexOf(y,t),!(m>0))throw new Error("attribute value no end '"+y+"' match");p=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(o,p,t-1),_=h}else{if(_!=u)throw new Error('attribute value must after "="');p=e.slice(t,m).replace(/&#?\w+;/g,i),r.add(o,p,t),n.warning('attribute "'+o+'" missed start quot('+y+")!!"),t=m+1,_=h}break;case"/":switch(_){case a:r.setTagName(e.slice(t,m));case h:case c:case f:_=f,r.closed=!0;case u:case s:case l:break;default:throw new Error("attribute invalid close char('/')")}break;case"":n.error("unexpected end of input");case">":switch(_){case a:r.setTagName(e.slice(t,m));case h:case c:case f:break;case u:case s:p=e.slice(t,m),"/"===p.slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case l:_===l&&(p=o),_==u?(n.warning('attribute "'+p+'" missed quot(")!!'),r.add(o,p.replace(/&#?\w+;/g,i),t)):(n.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),r.add(p,p,t));break;case d:throw new Error("attribute value missed!!")}return m;case"":y=" ";default:if(" ">=y)switch(_){case a:r.setTagName(e.slice(t,m)),_=c;break;case s:o=e.slice(t,m),_=l;break;case u:var p=e.slice(t,m).replace(/&#?\w+;/g,i);n.warning('attribute "'+p+'" mi
|
|||
|
e.arrayBuffer?u="arraybuffer":e.blob?u="blob":e.buffer?u="buffer":e.binary&&(u="b"),e.length?(null!=e.start?(a=e.start,o=e.start+e.length-1):(a="",o=e.length),s="bytes="+a+"-"+o):null!=e.start&&(s="bytes="+e.start+"-"),e.httpCache&&(n=!0)),l=new h.Util.Xhr("GET",this._urls.getFile+"/"+this._urlEncodePath(t)),l.setParams(i).signWithOauth(this._oauth,n),l.setResponseType(u),s&&(s&&l.setHeader("Range",s),l.reportResponseHeaders()),this._dispatchXhr(l,function(t,e,n,i){var o;return o=i?h.Http.RangeInfo.parse(i["content-range"]):null,r(t,e,h.File.Stat.parse(n),o)})},e.prototype.writeFile=function(t,e,r,n){var i;return n||"function"!=typeof r||(n=r,r=null),i=h.Util.Xhr.canSendForms&&"object"==typeof e,i?this._writeFileUsingForm(t,e,r,n):this._writeFileUsingPut(t,e,r,n)},e.prototype._writeFileUsingForm=function(t,e,r,n){var i,o,s,a;return s=t.lastIndexOf("/"),-1===s?(i=t,t=""):(i=t.substring(s),t=t.substring(0,s)),o={file:i},r&&(r.noOverwrite&&(o.overwrite="false"),r.lastVersionTag?o.parent_rev=r.lastVersionTag:(r.parentRev||r.parent_rev)&&(o.parent_rev=r.parentRev||r.parent_rev),r.noAutoRename&&(o.autorename="false")),a=new h.Util.Xhr("POST",this._urls.postFile+"/"+this._urlEncodePath(t)),a.setParams(o).signWithOauth(this._oauth).setFileField("file",i,e,"application/octet-stream"),delete o.file,this._dispatchXhr(a,function(t,e){return n?n(t,h.File.Stat.parse(e)):void 0})},e.prototype._writeFileUsingPut=function(t,e,r,n){var i,o;return i={},r&&(r.noOverwrite&&(i.overwrite="false"),r.lastVersionTag?i.parent_rev=r.lastVersionTag:(r.parentRev||r.parent_rev)&&(i.parent_rev=r.parentRev||r.parent_rev),r.noAutoRename&&(i.autorename="false")),o=new h.Util.Xhr("POST",this._urls.putFile+"/"+this._urlEncodePath(t)),o.setBody(e).setParams(i).signWithOauth(this._oauth),this._dispatchXhr(o,function(t,e){return n?n(t,h.File.Stat.parse(e)):void 0})},e.prototype.resumableUploadStep=function(t,e,r){var n,i;return e?(n={offset:e.offset},e.tag&&(n.upload_id=e.tag)):n={offset:0},i=new h.Util.Xhr("POST",this._urls.chunkedUpload),i.setBody(t).setParams(n).signWithOauth(this._oauth),this._dispatchXhr(i,function(t,e){return t&&t.status===h.ApiError.INVALID_PARAM&&t.response&&t.response.upload_id&&t.response.offset?r(null,h.Http.UploadCursor.parse(t.response)):r(t,h.Http.UploadCursor.parse(e))})},e.prototype.resumableUploadFinish=function(t,e,r,n){var i,o;return n||"function"!=typeof r||(n=r,r=null),i={upload_id:e.tag},r&&(r.lastVersionTag?i.parent_rev=r.lastVersionTag:(r.parentRev||r.parent_rev)&&(i.parent_rev=r.parentRev||r.parent_rev),r.noOverwrite&&(i.overwrite="false")),o=new h.Util.Xhr("POST",this._urls.commitChunkedUpload+"/"+this._urlEncodePath(t)),o.setParams(i).signWithOauth(this._oauth),this._dispatchXhr(o,function(t,e){return n?n(t,h.File.Stat.parse(e)):void 0})},e.prototype.stat=function(t,e,r){var n,i,o;return r||"function"!=typeof e||(r=e,e=null),i={},n=!1,e&&(e.versionTag?i.rev=e.versionTag:e.rev&&(i.rev=e.rev),e.contentHash?i.hash=e.contentHash:e.hash&&(i.hash=e.hash),(e.removed||e.deleted)&&(i.include_deleted="true"),e.readDir&&(i.list="true",e.readDir!==!0&&(i.file_limit=e.readDir.toString())),e.cacheHash&&(i.hash=e.cacheHash),e.httpCache&&(n=!0)),i.include_deleted||(i.include_deleted="false"),i.list||(i.list="false"),o=new h.Util.Xhr("GET",this._urls.metadata+"/"+this._urlEncodePath(t)),o.setParams(i).signWithOauth(this._oauth,n),this._dispatchXhr(o,function(t,e){var n,i,o;return o=h.File.Stat.parse(e),n=(null!=e?e.contents:void 0)?function(){var t,r,n,o;for(n=e.contents,o=[],t=0,r=n.length;r>t;t++)i=n[t],o.push(h.File.Stat.parse(i));return o}():void 0,r(t,o,n)})},e.prototype.readdir=function(t,e,r){var n;return r||"function"!=typeof e||(r=e,e=null),n={readDir:!0},e&&(null!=e.limit&&(n.readDir=e.limit),e.versionTag?n.versionTag=e.versionTag:e.rev&&(n.versionTag=e.rev),e.contentHash?n.contentHash=e.contentHash:e.hash&&(n.contentHash=e.hash),(e.removed||e.deleted)&&(n.removed=e.removed||e.deleted),e.httpCache&&(n.httpCache=e.httpCache)),this.stat(t,n,function(t,e,n){var i,o;return i=n?function(){var t,e,r;for(r=[],t=0,e=n.length;e>t;t
|
|||
|
if(this.isGet)throw new Error("setFileField cannot be called on GET requests");if("object"==typeof r){"undefined"!=typeof ArrayBuffer&&(r instanceof ArrayBuffer?h.Util.Xhr.sendArrayBufferView&&(r=new Uint8Array(r)):!h.Util.Xhr.sendArrayBufferView&&0===r.byteOffset&&r.buffer instanceof ArrayBuffer&&(r=r.buffer)),n||(n="application/octet-stream");try{r=new Blob([r],{type:n})}catch(u){o=u,window.WebKitBlobBuilder&&(a=new WebKitBlobBuilder,a.append(r),(i=a.getBlob(n))&&(r=i))}"undefined"!=typeof File&&r instanceof File&&(r=new Blob([r],{type:r.type})),l=r instanceof Blob}else l=!1;return l?(this.body=new FormData,this.body.append(t,r,e)):(n||(n="application/octet-stream"),s=this.multipartBoundary(),this.headers["Content-Type"]="multipart/form-data; boundary="+s,this.body=["--",s,"\r\n",'Content-Disposition: form-data; name="',t,'"; filename="',e,'"\r\n',"Content-Type: ",n,"\r\n","Content-Transfer-Encoding: binary\r\n\r\n",r,"\r\n","--",s,"--","\r\n"].join(""))},t.prototype.multipartBoundary=function(){return[Date.now().toString(36),Math.random().toString(36)].join("----")},t.prototype.paramsToUrl=function(){var t;return this.params&&(t=h.Util.Xhr.urlEncode(this.params),0!==t.length&&(this.url=[this.url,"?",t].join("")),this.params=null),this},t.prototype.paramsToBody=function(){if(this.params){if(null!==this.body)throw new Error("Request already has a body");if(this.isGet)throw new Error("paramsToBody cannot be called on GET requests");this.headers["Content-Type"]="application/x-www-form-urlencoded",this.body=h.Util.Xhr.urlEncode(this.params),this.params=null}return this},t.prototype.prepare=function(){var t,e,r,n;if(e=h.Util.Xhr.ieXdr,this.isGet||null!==this.body||e?(this.paramsToUrl(),null!==this.body&&"string"==typeof this.body&&(this.headers["Content-Type"]="text/plain; charset=utf8")):this.paramsToBody(),this.xhr=new h.Util.Xhr.Request,e?(this.xhr.onload=function(t){return function(){return t.onXdrLoad()}}(this),this.xhr.onerror=function(t){return function(){return t.onXdrError()}}(this),this.xhr.ontimeout=function(t){return function(){return t.onXdrError()}}(this),this.xhr.onprogress=function(){}):this.xhr.onreadystatechange=function(t){return function(){return t.onReadyStateChange()}}(this),this.xhr.open(this.method,this.url,!0),!e){r=this.headers;for(t in r)l.call(r,t)&&(n=r[t],this.xhr.setRequestHeader(t,n))}return this.responseType&&("b"===this.responseType?this.xhr.overrideMimeType&&this.xhr.overrideMimeType("text/plain; charset=x-user-defined"):this.xhr.responseType=this.responseType),this},t.prototype.send=function(t){var e,r,n;if(this.callback=t||this.callback,null!==this.body){e=this.body,h.Util.Xhr.sendArrayBufferView?e instanceof ArrayBuffer&&(e=new Uint8Array(e)):0===e.byteOffset&&e.buffer instanceof ArrayBuffer&&(e=e.buffer);try{this.xhr.send(e)}catch(r){if(n=r,h.Util.Xhr.sendArrayBufferView||!h.Util.Xhr.wrapBlob)throw n;e=new Blob([e],{type:"application/octet-stream"}),this.xhr.send(e)}}else this.xhr.send();return this},t.urlEncode=function(t){var e,r,n;e=[];for(r in t)n=t[r],e.push(this.urlEncodeValue(r)+"="+this.urlEncodeValue(n));return e.sort().join("&")},t.urlEncodeValue=function(t){return encodeURIComponent(t.toString()).replace(/\!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")},t.urlDecode=function(t){var e,r,n,i,o,s;for(o={},i=t.split("&"),e=0,n=i.length;n>e;e++)s=i[e],r=s.split("="),o[decodeURIComponent(r[0])]=decodeURIComponent(r[1]);return o},t.prototype.onReadyStateChange=function(){var t,e,r,n,i,o,s,a,u,l,p,c,d,f,_,y,v;if(4!==this.xhr.readyState)return!0;if(this.completed)return!0;if(this.completed=!0,this.xhr.status<200||this.xhr.status>=300)return e=new h.ApiError(this.xhr,this.method,this.url),this.onError?this.onError(e,this.callback):this.callback(e),!0;if(this.wantHeaders?(t=this.xhr.getAllResponseHeaders(),u=t?h.Util.Xhr.parseResponseHeaders(t):this.guessResponseHeaders(),f=u["x-dropbox-metadata"]):(u=void 0,f=this.xhr.getResponseHeader("x-dropbox-metadata")),null!=f?f.length:void 0)try{d=JSON.parse(f)}catch(s){if(p=s,o=f.search(/\}\,\s*\{
|
|||
|
"h"==i.direction?_="paddingBottom":i.rtl&&(_="paddingLeft");var T=parseInt(O,10);T!=T&&(T=0),x[_]=v+T+"px",f(this.scroller).css(x)}return this},update:function(t){return a.call(this,"upd",t),this.resize(1),this.updatePositions(),this},dispose:function(t){o(this,this.event,"off"),n(this.root,t.direction,"off"),"v"==t.direction?this._setCrossSizes(this.scroller,""):this._setCrossSizes(this.clipper,""),this._dumbCss(!1),this.barOn(!0),a.call(this,"dispose"),this._disposed=!0},on:function(t,s,i){for(var e=t.split(" "),r=0;r<e.length;r++)"init"==e[r]?s.call(this,i):(this.events[e[r]]=this.events[e[r]]||[],this.events[e[r]].push(function(t){s.call(this,t||i)}))}},i.fn.constructor.prototype=i.fn,C.prototype.constructor.prototype=C.prototype,i.noConflict=function(){return t.baron=u,i},i.version="2.0.1",h&&h.fn&&(h.fn.baron=i),t.baron=i,"undefined"!=typeof module&&(module.exports=i.noConflict())}}(window),function(t,s){var e=function(t){function e(t,i,e){var r=1==e?"pos":"oppos";l<(c.minView||0)&&(i=s),this.$(n[t]).css(this.origin.pos,"").css(this.origin.oppos,"").removeClass(c.outside),i!==s&&(i+="px",this.$(n[t]).css(this.origin[r],i).addClass(c.outside))}function r(t){try{i=document.createEvent("WheelEvent"),i.initWebKitWheelEvent(t.originalEvent.wheelDeltaX,t.originalEvent.wheelDeltaY),f.dispatchEvent(i),t.preventDefault()}catch(t){}}function o(t){var s;for(var i in t)c[i]=t[i];if(n=this.$(c.elements,this.scroller)){l=this.scroller[this.origin.client];for(var e=0;e<n.length;e++)s={},s[this.origin.size]=n[e][this.origin.offset],n[e].parentNode!==this.scroller&&this.$(n[e].parentNode).css(s),s={},s[this.origin.crossSize]=n[e].parentNode[this.origin.crossClient],this.$(n[e]).css(s),l-=n[e][this.origin.offset],u[e]=n[e].parentNode[this.origin.offsetPos],a[e]=a[e-1]||0,h[e]=h[e-1]||Math.min(u[e],0),n[e-1]&&(a[e]+=n[e-1][this.origin.offset],h[e]+=n[e-1][this.origin.offset]),(0!=e||0!=u[e])&&(this.event(n[e],"mousewheel",r,"off"),this.event(n[e],"mousewheel",r));c.limiter&&n[0]&&(this.track&&this.track!=this.scroller?(s={},s[this.origin.pos]=n[0].parentNode[this.origin.offset],this.$(this.track).css(s)):this.barTopLimit=n[0].parentNode[this.origin.offset],this.scroll()),c.limiter===!1&&(this.barTopLimit=0)}var o={element:n,handler:function(){for(var t,s=d(this)[0].parentNode,i=s.offsetTop,e=0;e<n.length;e++)n[e]===this&&(t=e);var r=i-a[t];c.scroll?c.scroll({x1:g.scroller.scrollTop,x2:r}):g.scroller.scrollTop=r},type:"click"};c.clickable&&(this._eventHandlers.push(o),p(o.element,o.type,o.handler,"on"))}var n,l,c={outside:"",inside:"",before:"",after:"",past:"",future:"",radius:0,minView:0},a=[],h=[],u=[],f=this.scroller,p=this.event,d=this.$,g=this;this.on("init",o,t);var v=[],m=[];this.on("init scroll",function(){var t,i,r;if(n){for(var o,f=0;f<n.length;f++)t=0,u[f]-this.pos()<h[f]+c.radius?(t=1,i=a[f]):u[f]-this.pos()>h[f]+l-c.radius?(t=2,i=this.scroller[this.origin.client]-n[f][this.origin.offset]-a[f]-l):(t=3,i=s),r=!1,(u[f]-this.pos()<h[f]||u[f]-this.pos()>h[f]+l)&&(r=!0),(t!=v[f]||r!=m[f])&&(e.call(this,f,i,t),v[f]=t,m[f]=r,o=!0);if(o)for(f=0;f<n.length;f++)1==v[f]&&c.past&&this.$(n[f]).addClass(c.past).removeClass(c.future),2==v[f]&&c.future&&this.$(n[f]).addClass(c.future).removeClass(c.past),3==v[f]?((c.future||c.past)&&this.$(n[f]).removeClass(c.past).removeClass(c.future),c.inside&&this.$(n[f]).addClass(c.inside)):c.inside&&this.$(n[f]).removeClass(c.inside),v[f]!=v[f+1]&&1==v[f]&&c.before?this.$(n[f]).addClass(c.before).removeClass(c.after):v[f]!=v[f-1]&&2==v[f]&&c.after?this.$(n[f]).addClass(c.after).removeClass(c.before):this.$(n[f]).removeClass(c.before).removeClass(c.after),c.grad&&(m[f]?this.$(n[f]).addClass(c.grad):this.$(n[f]).removeClass(c.grad))}}),this.on("resize upd",function(t){o.call(this,t&&t.fix)})};baron.fn.fix=function(t){for(var s=0;this[s];)e.call(this[s],t),s++;return this}}(window),function(t){var s=t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver||null,i=function(){function t(){o.root[o.origin.offset]?e():i()}function i(){r||(r=setInterval(function(){o.root[o.origin.offset]&&(e(),
|
|||
|
break;case"error":this.callback(b.params)}}},n.prototype.checkClose=function(){this.popup.closed&&(clearInterval(this.closeInt),window.removeEventListener("message",this.onMessage),this.result||this.callback("closed"))},n.prototype.success=function(a){return a&&a[0]&&a[0].link&&!a[0].is_dir?(this.result=a[0],void this.readFile(this.result.link)):this.callback("bad result")},n.prototype.readFile=function(a){var b=new XMLHttpRequest;b.addEventListener("load",function(){this.callback(null,{name:this.result.name,data:b.response})}.bind(this)),b.addEventListener("error",this.callback.bind(this,"download error")),b.addEventListener("abort",this.callback.bind(this,"download abort")),b.open("GET",a),b.responseType="arraybuffer",b.send()};var o={ERROR_CONFLICT:e.ApiError.CONFLICT,ERROR_NOT_FOUND:e.ApiError.NOT_FOUND,_getClient:function(a){if(this._dropboxClient&&this._dropboxClient.isAuthenticated())return void a(null,this._dropboxClient);if(!d())return f.error({icon:"dropbox",header:i.dropboxNotConfigured,body:i.dropboxNotConfiguredBody1+"<br/>"+i.dropboxNotConfiguredBody2.replace("{}",'<a href="'+j.SelfHostedDropbox+'" target="blank">'+i.dropboxNotConfiguredLink+"</a>")}),a(m.BadKey);var b=new e.Client({key:l.AppFolder});g?b.authDriver(new e.AuthDriver.Electron({receiverUrl:location.href})):b.authDriver(new e.AuthDriver.Popup({receiverUrl:location.href})),b.authenticate(function(b,c){b||(this._dropboxClient=c),a(b,c)}.bind(this))},_handleUiError:function(a,b,c){switch(b||f.alertDisplayed||(b=f.error.bind(f)),k.error("Dropbox error",a),a.status){case e.ApiError.INVALID_TOKEN:if(!f.alertDisplayed)return void f.yesno({icon:"dropbox",header:i.dropboxLogin,body:i.dropboxLoginBody,buttons:[{result:"yes",title:i.alertSignIn},{result:"",title:i.alertCancel}],success:function(){this.authenticate(function(a){c(!a)})}.bind(this),cancel:function(){c(!1)}});break;case e.ApiError.NOT_FOUND:b({header:i.dropboxSyncError,body:i.dropboxNotFoundBody});break;case e.ApiError.OVER_QUOTA:b({header:i.dropboxFull,body:i.dropboxFullBody});break;case e.ApiError.RATE_LIMITED:b({header:i.dropboxSyncError,body:i.dropboxRateLimitedBody});break;case e.ApiError.NETWORK_ERROR:b({header:i.dropboxNetError,body:i.dropboxNetErrorBody});break;case e.ApiError.INVALID_PARAM:case e.ApiError.OAUTH_ERROR:case e.ApiError.INVALID_METHOD:b({header:i.dropboxSyncError,body:i.dropboxErrorBody+a.status});break;case e.ApiError.CONFLICT:break;default:b({header:i.dropboxSyncError,body:i.dropboxErrorRepeatBody+a})}c(!1)},_callAndHandleError:function(a,b,c,d){var e=this;this._getClient(function(f,g){if(f)return c(f);var h=k.ts();k.debug("Call",a),g[a].apply(g,b.concat(function(f){k.debug("Result",a,k.ts(h),arguments),f?e._handleUiError(f,d,function(g){g?e._callAndHandleError(a,b,c,d):c(f)}):c.apply(null,arguments)}))})},authenticate:function(a){this._getClient(function(b){a(b)})},receive:function(){e.AuthDriver.Popup.oauthReceiver()},saveFile:function(a,b,c,d,e){if(c){var f="string"==typeof c?{lastVersionTag:c,noOverwrite:!0,noAutoRename:!0}:void 0;this._callAndHandleError("writeFile",[a,b,f],d,e)}else this.getFileList(function(c,e){if(c)return d(c);var f=e.some(function(b){return b.toLowerCase()===a.toLowerCase()});return f?d({exists:!0}):void this._callAndHandleError("writeFile",[a,b],d)}.bind(this))},openFile:function(a,b,c){this._callAndHandleError("readFile",[a,{arrayBuffer:!0}],b,c)},stat:function(a,b,c){this._callAndHandleError("stat",[a],b,c)},getFileList:function(a){this._callAndHandleError("readdir",[""],function(b,c,d,e){c&&(c=c.filter(function(a){return/\.kdbx$/i.test(a)})),a(b,c,d,e)})},deleteFile:function(a,b){this._callAndHandleError("remove",[a],b)},chooseFile:function(a){new n(a).choose()}};a.exports=o},function(a,b,c){(function(b){"use strict";var d,e,f=c(46),g=c(32),h=c(29),i=c(34),j=c(9),k=j.Consts.Icons,l=f.extend({defaults:b.extend({},f.prototype.defaults,{iconId:0,entries:null,filterKey:"group",editable:!0,top:!1,drag:!0,drop:!0,enableSearching:!0}),initialize:function(){d||(d=c(21)),e||(e=c(38))},setGroup:function(a,b,c){var f=b.db.meta.recycleBinUuid&&b.db.
|
|||
|
}))},forEachGroup:function(a,b){this.get("groups").forEach(function(c){a(c)!==!1&&c.forEachGroup(a,b)})},getTrashGroup:function(){return this.db.meta.recycleBinEnabled?this.getGroup(this.db.meta.recycleBinUuid.id):null},setModified:function(){this.get("demo")||this.set({modified:!0,dirty:!0})},getData:function(a){this.db.cleanup({historyRules:!0,customIcons:!0,binaries:!0});var b=this;this.db.cleanup({binaries:!0}),this.db.save(function(c,d){d&&k.error("Error saving file",b.get("name"),d),a(c,d)})},getXml:function(a){this.db.saveXml(a)},setSyncProgress:function(){this.set({syncing:!0})},setSyncComplete:function(a,b,c,d){c||this.db.removeLocalEditState();var e=this.get("modified")&&!!c,f=this.get("dirty")&&!d;this.set({created:!1,path:a||this.get("path"),storage:b||this.get("storage"),modified:e,dirty:f,syncing:!1,syncError:c}),this.setOpenFile({passwordLength:this.get("passwordLength")}),this.forEachEntry({},function(a){a.unsaved=!1})},setPassword:function(a){this.db.credentials.setPassword(a),this.db.meta.keyChanged=new Date,this.set({passwordLength:a.textLength,passwordChanged:!0}),this.setModified()},resetPassword:function(){this.db.credentials.passwordHash=this._oldPasswordHash,this.db.credentials.keyFileHash===this._oldKeyFileHash&&(this.db.meta.keyChanged=this._oldKeyChangeDate),this.set({passwordLength:this.get("oldPasswordLength"),passwordChanged:!1})},setKeyFile:function(a,b){this.db.credentials.setKeyFile(a),this.db.meta.keyChanged=new Date,this.set({keyFileName:b,keyFileChanged:!0}),this.setModified()},generateAndSetKeyFile:function(){var a=i.Credentials.createRandomKeyFile(),b="Generated";return this.setKeyFile(a,b),a},resetKeyFile:function(){this.db.credentials.keyFileHash=this._oldKeyFileHash,this.db.credentials.passwordHash===this._oldPasswordHash&&(this.db.meta.keyChanged=this._oldKeyChangeDate),this.set({keyFileName:this.get("oldKeyFileName"),keyFileChanged:!1})},removeKeyFile:function(){this.db.credentials.keyFileHash=null;var a=!!this._oldKeyFileHash;a||this.db.credentials.passwordHash!==this._oldPasswordHash||(this.db.meta.keyChanged=this._oldKeyChangeDate),this.set({keyFileName:"",keyFileChanged:a})},setName:function(a){this.db.meta.name=a,this.db.meta.nameChanged=new Date,this.set("name",a),this.get("groups").first().setName(a),this.setModified(),this.reload()},setDefaultUser:function(a){this.db.meta.defaultUser=a,this.db.meta.defaultUserChanged=new Date,this.set("defaultUser",a),this.setModified()},setRecycleBinEnabled:function(a){a=!!a,this.db.meta.recycleBinEnabled=a,a&&this.db.createRecycleBin(),this.set("setRecycleBinEnabled",a),this.setModified()},setHistoryMaxItems:function(a){this.db.meta.historyMaxItems=a,this.set("historyMaxItems",a),this.setModified()},setHistoryMaxSize:function(a){this.db.meta.historyMaxSize=a,this.set("historyMaxSize",a),this.setModified()},setKeyEncryptionRounds:function(a){this.db.header.keyEncryptionRounds=a,this.set("keyEncryptionRounds",a),this.setModified()},emptyTrash:function(){var a=this.getTrashGroup();a&&(a.getOwnSubGroups().slice().forEach(function(a){this.db.move(a,null)},this),a.group.entries.forEach(function(a){this.db.move(a,null)},this),a.get("entries").reset())},getCustomIcons:function(){return b.mapObject(this.db.meta.customIcons,function(a){return g.toDataUrl(a)})},addCustomIcon:function(a){var b=i.KdbxUuid.random();return this.db.meta.customIcons[b]=i.ByteUtils.arrayToBuffer(i.ByteUtils.base64ToBytes(a)),b.toString()}});a.exports=l}).call(b,c(2))},function(a,b,c){"use strict";var d,e=c(1),f=c(60),g=e.Model.extend({defaults:{title:"",icon:"",customIcon:null,active:!1,expanded:!0,items:null,shortcut:null,options:null,cls:null,disabled:!1,visible:!0,drag:!1,drop:!1,filterKey:null,filterValue:null},initialize:function(a){a&&a.file&&this.listenTo(a.file,"change:name",this.changeTitle,this)},_loadItemCollectionType:function(){return c(39)},addItem:function(a){d||(d=this._loadItemCollectionType());var b=this.get("items");b||(b=new d,this.set("items",b)),b.add(a)},addOption:function(a){var b=this.get("options");b||(b=new f,this.set("options",b)),b.add(a)},
|
|||
|
case"bmp":case"tiff":case"svg":case"ico":case"psd":return"file-image-o";case"avi":case"mp4":case"3gp":case"m4v":case"mov":case"mpeg":case"mpg":case"mpe":return"file-video-o";case"mp3":case"wav":case"flac":return"file-audio-o"}return"file-o"},_getMimeType:function(a){switch(a){case"txt":case"log":case"html":case"htm":case"js":case"css":case"xml":case"config":case"json":case"yaml":case"cpp":case"c":case"h":case"cc":case"hpp":case"mm":case"cs":case"php":case"sh":case"py":case"java":case"rb":case"cfg":case"properties":case"yml":case"asm":return"text/plain";case"pdf":return"application/pdf";case"jpeg":case"jpg":case"png":case"gif":case"bmp":case"tiff":case"svg":return"image/"+a}},getBinary:function(){var a=this.data;return a&&a.ref&&(a=a.value),a&&a.getBinary&&(a=a.getBinary()),a instanceof ArrayBuffer&&a.byteLength&&(a=new Uint8Array(a)),a instanceof Uint8Array?a:void 0}});e.fromAttachment=function(a){var b=new e;return b.setAttachment(a),b},a.exports=e},function(a,b,c){(function(b){"use strict";var d=c(33),e=c(21),f=d.extend({defaults:b.extend({},d.prototype.defaults,{scrollable:!0,grow:!0}),initialize:function(){this.set("items",new e)},_loadItemCollectionType:function(){return c(21)}});a.exports=f}).call(b,c(2))},function(a,b,c){"use strict";var d=c(1),e=c(61),f=c(33),g=c(73),h=c(5),i=c(6),j=c(43),k=d.Model.extend({defaults:{sections:null},menus:null,initialize:function(){this.menus={},this.allItemsSection=new f([{title:h.menuAllItems,icon:"th-large",active:!0,shortcut:i.DOM_VK_A,filterKey:"*"}]),this.groupsSection=new g,this.colorsSection=new f([{title:h.menuColors,icon:"bookmark",shortcut:i.DOM_VK_C,cls:"menu__item-colors",filterKey:"color",filterValue:!0}]),this.colorsItem=this.colorsSection.get("items").models[0];var a=[{title:h.menuTags,icon:"tags",defaultItem:!0,disabled:{header:h.menuAlertNoTags,body:h.menuAlertNoTagsBody,icon:"tags"}}];this.tagsSection=new f(a),this.tagsSection.set({scrollable:!0,drag:!0}),this.tagsSection.defaultItems=a,this.trashSection=new f([{title:h.menuTrash,icon:"trash",shortcut:i.DOM_VK_D,filterKey:"trash",filterValue:!0,drop:!0}]),j.AllColors.forEach(function(a){this.colorsSection.get("items").models[0].addOption({cls:"fa "+a+"-color",value:a,filterValue:a})},this),this.menus.app=new e([this.allItemsSection,this.colorsSection,this.tagsSection,this.groupsSection,this.trashSection]),this.generalSection=new f([{title:h.menuSetGeneral,icon:"cog",page:"general",active:!0}]),this.shortcutsSection=new f([{title:h.menuSetShortcuts,icon:"keyboard-o",page:"shortcuts"}]),this.aboutSection=new f([{title:h.menuSetAbout,icon:"info",page:"about"}]),this.helpSection=new f([{title:h.menuSetHelp,icon:"question",page:"help"}]),this.filesSection=new f,this.filesSection.set({scrollable:!0,grow:!0}),this.menus.settings=new e([this.generalSection,this.shortcutsSection,this.aboutSection,this.helpSection,this.filesSection]),this.set("sections",this.menus.app)},select:function(a){var b=this.get("sections");if(b.forEach(function(b){this._select(b,a.item)},this),b===this.menus.app){this.colorsItem.get("options").forEach(function(b){b.set("active",b===a.option)});var c=a.item===this.colorsItem&&a.option?a.option.get("value")+"-color":"";this.colorsItem.set("cls","menu__item-colors "+c);var e=a.item.get("filterKey"),f=(a.option||a.item).get("filterValue"),g={};g[e]=f,d.trigger("set-filter",g)}else b===this.menus.settings&&d.trigger("set-page",{page:a.item.get("page"),file:a.item.get("file")})},_select:function(a,b){var c=a.get("items");c&&c.forEach(function(a){a.set("active",a===b),this._select(a,b)},this)},setMenu:function(a){this.set("sections",this.menus[a])}});a.exports=k},function(a,b,c){"use strict";var d=c(1),e=d.Model.extend({defaults:{title:"",cls:"",value:"",active:!1,filterValue:null}});a.exports=e},function(a,b,c){"use strict";var d=c(16),e=c(5),f=function(a,b,c){this.entry=null,this.descField=a,this.noColor=b||"",this.activeEntryId=c};f.prototype={present:function(a){return a.entry?this.entry=a:this.group=a,this},get id(){return this.entry?this.entry.id:this.group.get("id")},get icon(){return this.entry?
|
|||
|
var a=this.model;this.fieldViews.push(new i({model:{name:"$UserName",title:x.detUser,value:function(){return a.user}}})),this.passEditView=new i({model:{name:"$Password",title:x.detPassword,canGen:!0,value:function(){return a.password}}}),this.fieldViews.push(this.passEditView),this.fieldViews.push(new l({model:{name:"$URL",title:x.detWebsite,value:function(){return a.url}}})),this.fieldViews.push(new i({model:{name:"$Notes",title:x.detNotes,multiline:"true",value:function(){return a.notes}}})),this.fieldViews.push(new k({model:{name:"Tags",title:x.detTags,tags:this.appModel.tags,value:function(){return a.tags}}})),this.fieldViews.push(new j({model:{name:"Expires",title:x.detExpires,lessThanNow:"("+x.detExpired+")",value:function(){return a.expires}}})),this.fieldViews.push(new m({model:{name:"File",title:x.detFile,value:function(){return a.fileName}}})),this.fieldViews.push(new m({model:{name:"Created",title:x.detCreated,value:function(){return w.dtStr(a.created)}}})),this.fieldViews.push(new m({model:{name:"Updated",title:x.detUpdated,value:function(){return w.dtStr(a.updated)}}})),this.fieldViews.push(new n({model:{name:"History",title:x.detHistory,value:function(){return{length:a.historyLength,unsaved:a.unsaved}}}})),d.forEach(a.fields,function(b,c){this.fieldViews.push(new o({model:{name:"$"+c,title:c,value:function(){return a.fields[c]}}}))},this);var b=x.detNetField;if(a.fields[b])for(var c=1;;c++){var e=b+c;if(!a.fields[e]){b=e;break}}this.addNewFieldView=new o({model:{name:"$",title:x.detAddField,newField:b,value:function(){return""}}}),this.fieldViews.push(this.addNewFieldView);var f=this.$el.find(".details__body-fields"),g=this.$el.find(".details__body-aside");this.fieldViews.forEach(function(a){a.setElement(a.readonly?g:f).render(),a.on("change",this.fieldChanged.bind(this))},this)},setSelectedColor:function(a){this.$el.find(".details__colors-popup > .details__colors-popup-item").removeClass("details__colors-popup-item--active");var b=this.$el.find(".details__header-color")[0];d.forEach(b.classList,function(a){a.indexOf("color")>0&&0!==a.lastIndexOf("details",0)&&b.classList.remove(a)}),a&&(this.$el.find(".details__colors-popup > ."+a+"-color").addClass("details__colors-popup-item--active"),b.classList.add(a+"-color"))},selectColor:function(a){var c=b(a.target).closest(".details__colors-popup-item").data("color");c&&(c===this.model.color&&(c=null),this.model.setColor(c),this.entryUpdated())},toggleIcons:function(){if(this.views.sub&&this.views.sub instanceof p)return void this.render();this.removeSubView();var a=new p({el:this.scroller,model:{iconId:this.model.customIconId||this.model.iconId,url:this.model.url,file:this.model.file}});this.listenTo(a,"select",this.iconSelected),a.render(),this.pageResized(),this.views.sub=a},toggleAttachment:function(a){var c=b(a.target).closest(".details__attachment"),d=c.data("id"),e=this.model.attachments[d];if(a.altKey||a.shiftKey||a.ctrlKey||a.metaKey)return void this.downloadAttachment(e);if(this.views.sub&&this.views.sub.attId===d)return void this.render();this.removeSubView();var f=new r({el:this.scroller,model:e});f.attId=d,f.render(this.pageResized.bind(this)),this.views.sub=f,c.addClass("details__attachment--active")},removeSubView:function(){this.$el.find(".details__attachment").removeClass("details__attachment--active"),this.views.sub&&(this.views.sub.remove(),delete this.views.sub)},downloadAttachment:function(a){var b=a.getBinary();if(b){var c=a.mimeType||"application/octet-stream",d=new Blob([b],{type:c});A.saveAs(d,a.title)}},iconSelected:function(a){a.custom?a.id!==this.model.customIconId?(this.model.setCustomIcon(a.id),this.entryUpdated()):this.render():a.id!==this.model.iconId?(this.model.setIcon(+a.id),this.entryUpdated()):this.render()},showEntry:function(a){this.model=a,this.render(),a&&!a.title&&a.isJustCreated&&this.editTitle()},copyKeyPress:function(){if(!window.getSelection().toString()){var a=this.model.password,b=a.isProtected?a.getText():a;v.simpleCopy||v.createHiddenInput(b);var c=v.copy(b);if(c&&!this.passCopyTip){var d=this.passEditView.labelE
|
|||
|
},setTableView:function(){var a=this.model.settings.get("tableView");this.dragView.setCoord(a?"y":"x"),this.setDefaultSize()},setDefaultSize:function(){this.setSize(this.model.settings.get("listViewWidth"))},setSize:function(a){this.$el.css({width:null,height:null}),a?this.$el.css("flex","0 0 "+a+"px"):this.$el.css("flex",null)},viewResized:function(a){this.setSize(a),this.throttleSetViewSizeSetting(a)},throttleSetViewSizeSetting:d.throttle(function(a){k.instance.set("listViewWidth",a)},1e3),filterChanged:function(a){this.items=a.entries,this.render()},entryUpdated:function(){var a=this.itemsEl[0].scrollTop;this.render(),this.itemsEl[0].scrollTop=a},itemDragStart:function(a){a.stopPropagation();var c=b(a.target).closest(".list__item").attr("id");a.originalEvent.dataTransfer.setData("text/entry",c),a.originalEvent.dataTransfer.effectAllowed="move",j.dragObject=this.items.get(c)}});d.extend(l.prototype,f),d.extend(l.prototype,g),a.exports=l}).call(b,c(4),c(2))},function(a,b,c){"use strict";var d=c(1),e=d.View.extend({events:{},initialize:function(){this.listenTo(this.model.settings,"change:tableView",this.setListLayout)},render:function(){this.setListLayout()},setListLayout:function(){var a=this.model.settings.get("tableView");this.$el.toggleClass("app__list-wrap--table",a)}});a.exports=e},function(a,b,c){(function(b){"use strict";var d=c(1),e=c(10),f=c(6),g=c(11),h=c(40),i=c(5),j=d.View.extend({template:c(134),events:{mouseover:"mouseover",mouseout:"mouseout","click .menu__item-option":"selectOption",click:"selectItem",dblclick:"expandItem","click .menu__item-edit":"editItem","click .menu__item-empty-trash":"emptyTrash",dragstart:"dragstart",dragover:"dragover",dragleave:"dragleave",drop:"drop"},iconEl:null,itemViews:null,initialize:function(){this.itemViews=[],this.listenTo(this.model,"change:title",this.changeTitle),this.listenTo(this.model,"change:icon",this.changeIcon),this.listenTo(this.model,"change:customIconId",this.render),this.listenTo(this.model,"change:active",this.changeActive),this.listenTo(this.model,"change:expanded",this.changeExpanded),this.listenTo(this.model,"change:cls",this.changeCls),this.listenTo(this.model,"delete",this.remove),this.listenTo(this.model,"insert",this.insertItem);var a=this.model.get("shortcut");a&&(e.onKey(a,this.selectItem,this,e.SHORTCUT_OPT),a!==f.DOM_VK_C&&e.onKey(a,this.selectItem,this,e.SHORTCUT_ACTION))},render:function(){this.removeInnerViews(),this.renderTemplate(this.model.attributes),this.iconEl=this.$el.find("i");var a=this.model.get("items");return a&&a.forEach(function(a){a.get("visible")&&this.insertItem(a)},this),this.$el.toggleClass("menu__item--collapsed",!this.model.get("expanded")),this},insertItem:function(a){this.itemViews.push(new j({el:this.$el,model:a}).render())},remove:function(){this.removeInnerViews();var a=this.model.get("shortcut");a&&(e.offKey(a,this.selectItem,this,e.SHORTCUT_OPT),a!==f.DOM_VK_C&&e.offKey(a,this.selectItem,this,e.SHORTCUT_ACTION)),d.View.prototype.remove.apply(this,arguments)},removeInnerViews:function(){this.itemViews.forEach(function(a){a.remove()}),this.itemViews=[]},changeTitle:function(a,b){this.$el.find(".menu__item-title").first().text(b||"(no title)")},changeIcon:function(a,b){this.iconEl[0].className="menu__item-icon fa "+(b?"fa-"+b:"menu__item-icon--no-icon")},changeActive:function(a,b){this.$el.toggleClass("menu__item--active",b)},changeExpanded:function(a,b){this.$el.toggleClass("menu__item--collapsed",!b),this.model.setExpanded(b)},changeCls:function(a,b){var c=a.previousAttributes().cls;c&&this.$el.removeClass(c),this.$el.addClass(b)},mouseover:function(a){a.button||(this.$el.addClass("menu__item--hover"),a.stopPropagation())},mouseout:function(a){this.$el.removeClass("menu__item--hover"),a.stopPropagation()},selectItem:function(a){a.stopPropagation(),a.preventDefault(),this.model.get("active")||(this.model.get("disabled")?g.info(this.model.get("disabled")):d.trigger("menu-select",{item:this.model}))},selectOption:function(a){var c=this.model.get("options"),e=b(a.target).data("value");if(c&&c.length){var f=c.find(func
|
|||
|
},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="app">\n<div class="app__body">\n<div class="app__menu"></div>\n<div class="app__menu-drag"></div>\n<div class="app__list-wrap">\n<div class="app__list"></div>\n<div class="app__list-drag"></div>\n<div class="app__details"></div>\n</div>\n<div class="app__grp"></div>\n</div>\n<div class="app__footer"></div>\n</div>\n'},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){var f=null!=b?b:{},g=c.helperMissing,h=a.escapeExpression;return'<div class="details__attachment-preview">\n<div class="details__attachment-preview-data"></div>\n<i class="fa details__attachment-preview-icon"></i>\n<div class="details__attachment-preview-download-text">'+h((c.res||b&&b.res||g).call(f,"detAttDownload",{name:"res",hash:{},data:e}))+'\n<span class="details__attachment-preview-download-text-shortcut"></span>'+h((c.res||b&&b.res||g).call(f,"detAttDelToRemove",{name:"res",hash:{},data:e}))+"</div>\n</div>\n"},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="empty-block muted-color">\n<h1 class="empty-block__title">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(null!=b?b:{},"detEmpty",{name:"res",hash:{},data:e}))+"</h1>\n</div>\n"},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="empty-block muted-color">\n<h1 class="empty-block__title">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(null!=b?b:{},"detGroupRestore",{name:"res",hash:{},data:e}))+'</h1>\n<div class="empty-block__lower-btns">\n<i class="details__buttons-trash-del fa fa-minus-circle"></i>\n</div>\n</div>\n'},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){var f=null!=b?b:{},g=c.helperMissing,h=a.escapeExpression;return'<div class="details__history">\n<div class="details__history-desc muted-color">'+h((c.res||b&&b.res||g).call(f,"detHistoryClickPoint",{name:"res",hash:{},data:e}))+'</div>\n<div class="details__history-top">\n<div class="details__history-timeline">\n<div class="details__history-timeline-axis"></div>\n<div class="details__history-arrow-prev"><i class="fa fa-long-arrow-left"></i></div>\n<div class="details__history-arrow-next"><i class="fa fa-long-arrow-right"></i></div>\n</div>\n<a class="details__history-close">'+h((c.res||b&&b.res||g).call(f,"detHistoryReturn",{name:"res",hash:{},data:e}))+' <i class="fa fa-external-link-square"></i></a>\n</div>\n<div class="details__history-body">\n<div class="details__field">\n<div class="details__field-label">'+h((c.Res||b&&b.Res||g).call(f,"title",{name:"Res",hash:{},data:e}))+'</div>\n<div class="details__field-value"><i class="fa fa-key"></i> </div>\n</div>\n</div>\n<div class="details__history-buttons">\n<button class="details__history-button details__history-button-revert btn-silent">'+h((c.res||b&&b.res||g).call(f,"detHistoryRevert",{name:"res",hash:{},data:e}))+'</button>\n<button class="details__history-button details__history-button-delete btn-error">'+h((c.res||b&&b.res||g).call(f,"detHistoryDel",{name:"res",hash:{},data:e}))+'</button>\n<button class="details__history-button details__history-button-discard btn-error">'+h((c.res||b&&b.res||g).call(f,"detHistoryDiscard",{name:"res",hash:{},data:e}))+"</button>\n</div>\n</div>\n"},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({1:function(a,b,c,d,e){var f;return a.escapeExpression((f=null!=(f=c.title||(null!=b?b.title:b))?f:c.helperMissing,"function"==typeof f?f.call(null!=b?b:{},{name:"title",hash:{},data:e}):f))},3:function(a,b,c,d,e){return"(no title)"},5:function(a,b,c,d,e){var f,g,h=null!=b?b:{},i=c.helperMissing;return'<div class="details__header-icon details__header-icon--icon" style="background-image: url('+(null!=(g=null!=(g=c.cu
|
|||
|
inverse:a.noop,data:e}))?f:"")+'><label for="list__search-adv-check-notes">'+i((c.Res||b&&b.Res||h).call(g,"notes",{name:"Res",hash:{},data:e}))+'</label></div>\n<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-pass" data-id="pass"\n'+(null!=(f=c["if"].call(g,null!=(f=null!=b?b.adv:b)?f.pass:f,{name:"if",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?f:"")+'><label for="list__search-adv-check-pass">'+i((c.Res||b&&b.Res||h).call(g,"password",{name:"Res",hash:{},data:e}))+'</label></div>\n<div class="list__search-adv-text">'+i((c.res||b&&b.res||h).call(g,"searchOptions",{name:"res",hash:{},data:e}))+':</div>\n<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-cs" data-id="cs"\n'+(null!=(f=c["if"].call(g,null!=(f=null!=b?b.adv:b)?f.cs:f,{name:"if",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?f:"")+'><label for="list__search-adv-check-cs">'+i((c.res||b&&b.res||h).call(g,"searchCase",{name:"res",hash:{},data:e}))+'</label></div>\n<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-regex" data-id="regex"\n'+(null!=(f=c["if"].call(g,null!=(f=null!=b?b.adv:b)?f.regex:f,{name:"if",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?f:"")+'><label for="list__search-adv-check-regex">'+i((c.res||b&&b.res||h).call(g,"searchRegex",{name:"res",hash:{},data:e}))+'</label></div>\n<div class="list__search-check"><input type="checkbox" id="list__search-adv-check-history" data-id="history"\n'+(null!=(f=c["if"].call(g,null!=(f=null!=b?b.adv:b)?f.history:f,{name:"if",hash:{},fn:a.program(1,e,0),inverse:a.noop,data:e}))?f:"")+'><label for="list__search-adv-check-history">'+i((c.res||b&&b.res||h).call(g,"searchHistory",{name:"res",hash:{},data:e}))+"</label></div>\n</div>\n</div>\n</div>\n"},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){var f,g,h=null!=b?b:{},i=c.helperMissing,j=a.escapeExpression;return'<table class="list__table">\n<thead>\n<tr>\n<th></th>\n<th>'+j((c.Res||b&&b.Res||i).call(h,"title",{name:"Res",hash:{},data:e}))+"</th>\n<th>"+j((c.Res||b&&b.Res||i).call(h,"user",{name:"Res",hash:{},data:e}))+"</th>\n<th>"+j((c.Res||b&&b.Res||i).call(h,"website",{name:"Res",hash:{},data:e}))+"</th>\n<th>"+j((c.Res||b&&b.Res||i).call(h,"tags",{name:"Res",hash:{},data:e}))+"</th>\n<th>"+j((c.Res||b&&b.Res||i).call(h,"notes",{name:"Res",hash:{},data:e}))+"</th>\n</tr>\n</thead>\n<tbody>\n"+(null!=(g=null!=(g=c.items||(null!=b?b.items:b))?g:i,f="function"==typeof g?g.call(h,{name:"items",hash:{},data:e}):g)?f:"")+"\n</tbody>\n</table>\n"},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({compiler:[7,">= 4.0.0"],main:function(a,b,c,d,e){return'<div class="list">\n<div class="list__header"></div>\n<div class="list__items">\n<div class="scroller"></div>\n<div class="scroller__bar-wrapper"><div class="scroller__bar"></div></div>\n</div>\n</div>'},useData:!0})},function(a,b,c){var d=c(3);a.exports=(d["default"]||d).template({1:function(a,b,c,d,e){return" menu__item--active"},3:function(a,b,c,d,e){return" menu__item--disabled"},5:function(a,b,c,d,e){return" menu__item--with-options "},7:function(a,b,c,d,e){var f;return" "+a.escapeExpression((f=null!=(f=c.cls||(null!=b?b.cls:b))?f:c.helperMissing,"function"==typeof f?f.call(null!=b?b:{},{name:"cls",hash:{},data:e}):f))},9:function(a,b,c,d,e){return'draggable="true"'},11:function(a,b,c,d,e){var f,g;return'<img src="'+(null!=(g=null!=(g=c.customIcon||(null!=b?b.customIcon:b))?g:c.helperMissing,f="function"==typeof g?g.call(null!=b?b:{},{name:"customIcon",hash:{},data:e}):g)?f:"")+'" class="menu__item-icon menu__item-icon--image" />'},13:function(a,b,c,d,e){var f;return'<i class="menu__item-icon fa '+(null!=(f=c["if"].call(null!=b?b:{},null!=b?b.icon:b,{name:"if",hash:{},fn:a.program(14,e,0),inverse:a.program(16,e,0),data:e}))?f:"")+'"></i>'},14:function(a,b,c,d,e){var f;return"fa-"+a.escapeExpression((f=null!=(f=c.icon||(null!=b?b.icon:b))?f:c.helperMissing,"function"==typeof f?f.call(null
|
|||
|
data:e}))+"</button>\n"},11:function(a,b,c,d,e){return'<button class="settings__general-update-btn btn-silent">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(null!=b?b:{},"setGenCheckUpdate",{name:"res",hash:{},data:e}))+"</button>\n"},13:function(a,b,c,d,e){return'<button class="settings__general-restart-btn">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(null!=b?b:{},"setGenRestartToUpdate",{name:"res",hash:{},data:e}))+"</button>"},15:function(a,b,c,d,e){return'<button class="settings__general-update-found-btn">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(null!=b?b:{},"setGenDownloadAndRestart",{name:"res",hash:{},data:e}))+"</button>"},17:function(a,b,c,d,e,f,g){var h,i=a.lambda,j=a.escapeExpression;return'<option value="'+j(i(f[0][1],b))+'" '+(null!=(h=(c.ifeq||b&&b.ifeq||c.helperMissing).call(null!=b?b:{},f[0][1],null!=g[1]?g[1].activeTheme:g[1],{name:"ifeq",hash:{},fn:a.program(7,e,0,f,g),inverse:a.noop,data:e,blockParams:f}))?h:"")+">"+j(i(f[0][0],b))+"</option>\n"},19:function(a,b,c,d,e){return"checked"},21:function(a,b,c,d,e){var f,g=null!=b?b:{};return'<div>\n<input type="checkbox" class="settings__input input-base settings__general-table-view" id="settings__general-table-view" '+(null!=(f=c["if"].call(g,null!=b?b.tableView:b,{name:"if",hash:{},fn:a.program(19,e,0),inverse:a.noop,data:e}))?f:"")+' />\n<label for="settings__general-table-view">'+a.escapeExpression((c.res||b&&b.res||c.helperMissing).call(g,"setGenTableView",{name:"res",hash:{},data:e}))+"</label>\n</div>\n"},23:function(a,b,c,d,e){return"5"},25:function(a,b,c,d,e){return"10"},27:function(a,b,c,d,e){return"15"},29:function(a,b,c,d,e){var f,g=null!=b?b:{},h=c.helperMissing,i=a.escapeExpression;return'<div>\n<label for="settings__general-clipboard">'+i((c.res||b&&b.res||h).call(g,"setGenClearClip",{name:"res",hash:{},data:e}))+':</label>\n<select class="settings__general-clipboard settings__select input-base" id="settings__general-clipboard">\n<option value="0" '+(null!=(f=c.unless.call(g,null!=b?b.clipboardSeconds:b,{name:"unless",hash:{},fn:a.program(7,e,0),inverse:a.noop,data:e}))?f:"")+">"+i((c.res||b&&b.res||h).call(g,"setGenNoClear",{name:"res",hash:{},data:e}))+'</option>\n<option value="5" '+(null!=(f=(c.ifeq||b&&b.ifeq||h).call(g,null!=b?b.clipboardSeconds:b,5,{name:"ifeq",hash:{},fn:a.program(7,e,0),inverse:a.noop,data:e}))?f:"")+">"+(null!=(f=(c.res||b&&b.res||h).call(g,"setGenClearSeconds",{name:"res",hash:{},fn:a.program(23,e,0),inverse:a.noop,data:e}))?f:"")+'</option>\n<option value="10" '+(null!=(f=(c.ifeq||b&&b.ifeq||h).call(g,null!=b?b.clipboardSeconds:b,10,{name:"ifeq",hash:{},fn:a.program(7,e,0),inverse:a.noop,data:e}))?f:"")+">"+(null!=(f=(c.res||b&&b.res||h).call(g,"setGenClearSeconds",{name:"res",hash:{},fn:a.program(25,e,0),inverse:a.noop,data:e}))?f:"")+'</option>\n<option value="15" '+(null!=(f=(c.ifeq||b&&b.ifeq||h).call(g,null!=b?b.clipboardSeconds:b,15,{name:"ifeq",hash:{},fn:a.program(7,e,0),inverse:a.noop,data:e}))?f:"")+">"+(null!=(f=(c.res||b&&b.res||h).call(g,"setGenClearSeconds",{name:"res",hash:{},fn:a.program(27,e,0),inverse:a.noop,data:e}))?f:"")+'</option>\n<option value="60" '+(null!=(f=(c.ifeq||b&&b.ifeq||h).call(g,null!=b?b.clipboardSeconds:b,60,{name:"ifeq",hash:{},fn:a.program(7,e,0),inverse:a.noop,data:e}))?f:"")+">"+i((c.res||b&&b.res||h).call(g,"setGenClearMinute",{name:"res",hash:{},data:e}))+"</option>\n</select>\n</div>\n"},31:function(a,b,c,d,e){var f,g=null!=b?b:{},h=c.helperMissing,i=a.escapeExpression;return'<div>\n<input type="checkbox" class="settings__input input-base settings__general-minimize" id="settings__general-minimize"\n'+(null!=(f=c["if"].call(g,null!=b?b.minimizeOnClose:b,{name:"if",hash:{},fn:a.program(19,e,0),inverse:a.noop,data:e}))?f:"")+' />\n<label for="settings__general-minimize">'+i((c.res||b&&b.res||h).call(g,"setGenMinInstead",{name:"res",hash:{},data:e}))+'</label>\n</div>\n<div>\n<input type="checkbox" class="settings__input input-base settings__general-lock-on-minimize" id="settings__general-lock-on-minimize"\n'+(null!=(f=c["
|