mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
1 line
97 KiB
JavaScript
1 line
97 KiB
JavaScript
|
!function(b,a){"object"==typeof module&&"object"==typeof module.exports?module.exports=b.document?a(b,!0):function(c){if(!c.document){throw Error("jQuery requires a window with a document")}return a(c)}:a(b)}("undefined"!=typeof window?window:this,function(p,T){function Ca(a){var b=!!a&&"length" in a&&a.length,d=c.type(a);return"function"===d||c.isWindow(a)?!1:"array"===d||0===b||"number"==typeof b&&0<b&&b-1 in a}function Da(a,b,d){if(c.isFunction(b)){return c.grep(a,function(a,c){return !!b.call(a,c,a)!==d})}if(b.nodeType){return c.grep(a,function(a){return a===b!==d})}if("string"==typeof b){if(gc.test(b)){return c.filter(b,a,d)}b=c.filter(b,a)}return c.grep(a,function(a){return -1<c.inArray(a,b)!==d})}function cb(a,b){do{a=a[b]}while(a&&1!==a.nodeType);return a}function hc(a){var b={};return c.each(a.match(G)||[],function(a,c){b[c]=!0}),b}function db(){n.addEventListener?(n.removeEventListener("DOMContentLoaded",N),p.removeEventListener("load",N)):(n.detachEvent("onreadystatechange",N),p.detachEvent("onload",N))}function N(){(n.addEventListener||"load"===p.event.type||"complete"===n.readyState)&&(db(),c.ready())}function eb(a,b,d){if(void 0===d&&1===a.nodeType){var e="data-"+b.replace(ic,"-$1").toLowerCase();if(d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:jc.test(d)?c.parseJSON(d):d}catch(f){}c.data(a,b,d)}else{d=void 0}}return d}function Ea(a){for(var b in a){if(("data"!==b||!c.isEmptyObject(a[b]))&&"toJSON"!==b){return !1}}return !0}function fb(a,b,d,e){if(ka(a)){var f,g,h=c.expando,k=a.nodeType,l=k?c.cache:a,q=k?a[h]:a[h]&&h;if(q&&l[q]&&(e||l[q].data)||void 0!==d||"string"!=typeof b){return q||(q=k?a[h]=C.pop()||c.guid++:h),l[q]||(l[q]=k?{}:{toJSON:c.noop}),("object"==typeof b||"function"==typeof b)&&(e?l[q]=c.extend(l[q],b):l[q].data=c.extend(l[q].data,b)),g=l[q],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[c.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[c.camelCase(b)])):f=g,f}}}function gb(a,b,d){if(ka(a)){var e,f,g=a.nodeType,h=g?c.cache:a,k=g?a[c.expando]:c.expando;if(h[k]){if(b&&(e=d?h[k]:h[k].data)){c.isArray(b)?b=b.concat(c.map(b,c.camelCase)):b in e?b=[b]:(b=c.camelCase(b),b=b in e?[b]:b.split(" "));for(f=b.length;f--;){delete e[b[f]]}if(d?!Ea(e):!c.isEmptyObject(e)){return}}(d||(delete h[k].data,Ea(h[k])))&&(g?c.cleanData([a],!0):r.deleteExpando||h!=h.window?delete h[k]:h[k]=void 0)}}}function hb(a,b,d,e){var f,g=1,h=20,k=e?function(){return e.cur()}:function(){return c.css(a,b,"")},l=k(),q=d&&d[3]||(c.cssNumber[b]?"":"px"),s=(c.cssNumber[b]||"px"!==q&&+l)&&Fa.exec(c.css(a,b));if(s&&s[3]!==q){q=q||s[3];d=d||[];s=+l||1;do{g=g||".5",s/=g,c.style(a,b,s+q)}while(g!==(g=k()/l)&&1!==g&&--h)}return d&&(s=+s||+l||0,f=d[1]?s+(d[1]+1)*d[2]:+d[2],e&&(e.unit=q,e.start=s,e.end=f)),f}function ib(a){var b=jb.split("|");a=a.createDocumentFragment();if(a.createElement){for(;b.length;){a.createElement(b.pop())}}return a}function A(a,b){var d,e,f=0,g="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):void 0;if(!g){for(g=[],d=a.childNodes||a;null!=(e=d[f]);f++){!b||c.nodeName(e,b)?g.push(e):c.merge(g,A(e,b))}}return void 0===b||b&&c.nodeName(a,b)?c.merge([a],g):g}function Ga(a,b){for(var d,e=0;null!=(d=a[e]);e++){c._data(d,"globalEval",!b||c._data(b[e],"globalEval"))}}function kc(a){Ha.test(a.type)&&(a.defaultChecked=a.checked)}function kb(a,b,d,e,f){for(var g,h,k,l,q,s,m,n=a.length,p=ib(b),B=[],U=0;n>U;U++){if(h=a[U],h||0===h){if("object"===c.type(h)){c.merge(B,h.nodeType?[h]:h)}else{if(lc.test(h)){l=l||p.appendChild(b.createElement("div"));q=(mb.exec(h)||["",""])[1].toLowerCase();m=I[q]||I._default;l.innerHTML=m[1]+c.htmlPrefilter(h)+m[2];for(g=m[0];g--;){l=l.lastChild}if(!r.leadingWhitespace&&Ia.test(h)&&B.push(b.createTextNode(Ia.exec(h)[0])),!r.tbody){for(g=(h="table"!==q||nb.test(h)?"<table>"!==m[1]||nb.test(h)?0:l:l.firstChild)&&h.childNodes.length;g--;){c.nodeName(s=h.childNodes[g],"tbody")&&!s.childNodes.length&&h.removeChild(s)}}c.merge(B,l.childNodes);f
|