7 lines
152 KiB
JavaScript
7 lines
152 KiB
JavaScript
|
var DOKU_BASE='/';var DOKU_TPL='/lib/tpl/sprintdoc/';var DOKU_COOKIE_PARAM={"path":"\/","secure":false};Object.defineProperty(window,'DOKU_UHN',{get:function(){console.warn('Using DOKU_UHN is deprecated. Please use JSINFO.useHeadingNavigation instead');return JSINFO.useHeadingNavigation;}});Object.defineProperty(window,'DOKU_UHC',{get:function(){console.warn('Using DOKU_UHC is deprecated. Please use JSINFO.useHeadingContent instead');return JSINFO.useHeadingContent;}});LANG={"search_toggle_tools":"Suchwerkzeuge umschalten","willexpire":"Die Sperre zur Bearbeitung dieser Seite l\u00e4uft in einer Minute ab.\\nUm Bearbeitungskonflikte zu vermeiden, sollten Sie sie durch einen Klick auf den Vorschau-Knopf verl\u00e4ngern.","notsavedyet":"Nicht gespeicherte \u00c4nderungen gehen verloren!","searchmedia":"Suche Dateien","keepopen":"Fenster nach Auswahl nicht schlie\u00dfen","hidedetails":"Details ausblenden","mediatitle":"Linkeinstellungen","mediadisplay":"Linktyp","mediaalign":"Ausrichtung","mediasize":"Bildgr\u00f6\u00dfe","mediatarget":"Linkziel","mediaclose":"Schlie\u00dfen","mediainsert":"Einf\u00fcgen","mediadisplayimg":"Bild anzeigen.","mediadisplaylnk":"Nur den Link anzeigen.","mediasmall":"Kleine Version","mediamedium":"Mittlere Version","medialarge":"Gro\u00dfe Version","mediaoriginal":"Originalversion","medialnk":"Link zur Detailseite","mediadirect":"Direktlink zum Original","medianolnk":"Kein Link","medianolink":"Bild nicht verlinken","medialeft":"Das Bild links ausrichten.","mediaright":"Das Bild rechts ausrichten.","mediacenter":"Das Bild in der Mitte ausrichten.","medianoalign":"Keine Ausrichtung benutzen.","nosmblinks":"Das Verlinken von Windows-Freigaben funktioniert nur im Microsoft Internet Explorer.\\nDer Link kann jedoch durch Kopieren und Einf\u00fcgen verwendet werden.","linkwiz":"Link-Assistent","linkto":"Link nach:","del_confirm":"Eintrag wirklich l\u00f6schen?","restore_confirm":"Wirklich diese Version wiederherstellen?","media_diff":"Unterschiede anzeigen:","media_diff_both":"Nebeneinander","media_diff_opacity":"\u00dcberblenden","media_diff_portions":"\u00dcbergang","media_select":"Dateien ausw\u00e4hlen\u2026","media_upload_btn":"Hochladen","media_done_btn":"Fertig","media_drop":"Dateien hier hinziehen, um sie hochzuladen","media_cancel":"Entfernen","media_overwrt":"Existierende Dateien \u00fcberschreiben","data_insecure":"WARNUNG: Es scheint, als w\u00e4re Ihr Datenverzeichnis nicht ausreichend gesch\u00fctzt. Bitte informieren Sie sich zur <a href=\"https:\/\/www.dokuwiki.org\/security#web_access_security\">Sicherheit von Webzugriffen in DokuWiki<\/a>","plugins":{"extension":{"reallydel":"Wollen Sie diese Erweiterung wirklich l\u00f6schen?","display_viewoptions":"Optionen anzeigen","display_enabled":"aktiviert","display_disabled":"deaktiviert","display_updatable":"aktualisierbar"},"logviewer":{"filter":"Zeilen filtern:"},"styling":{"loader":"Vorschau l\u00e4dt...<br \/>Falls diese Nachricht nicht verschwindet, k\u00f6nnten Ihre Werte fehlerhaft sein","popup":"\u00d6ffne als Popup"}}};var toolbar=[{"type":"format","title":"Markierten Text als Aufgabe\/Todo","icon":"..\/..\/plugins\/todo\/todo.png","open":"<todo>","close":"<\/todo>","block":false}];(function(factory){if(typeof define==='function'&&define.amd){define(['jquery'],factory);}else if(typeof exports==='object'){factory(require('jquery'));}else{factory(jQuery);}}(function($){var pluses=/\+/g;function encode(s){return config.raw?s:encodeURIComponent(s);}function decode(s){return config.raw?s:decodeURIComponent(s);}function stringifyCookieValue(value){return encode(config.json?JSON.stringify(value):String(value));}function parseCookieValue(s){if(s.indexOf('"')===0){s=s.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,'\\');}try{s=decodeURIComponent(s.replace(pluses,' '));return config.json?JSON.parse(s):s;}catch(e){}}function read(s,converter){var value=config.raw?s:parseCookieValue(s);return $.isFunction(converter)?converter(value):value;}var config=$.cookie=function(key,value,options){if(value!==undefined&&!$.isFunction(value)){options=$.
|
||
|
/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
|
||
|
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
|
||
|
!function(a){"use strict";function b(a){var b=a.length,d=c.type(a);return"function"!==d&&!c.isWindow(a)&&(!(1!==a.nodeType||!b)||("array"===d||0===b||"number"==typeof b&&b>0&&b-1 in a))}if(!a.jQuery){var c=function(a,b){return new c.fn.init(a,b)};c.isWindow=function(a){return a&&a===a.window},c.type=function(a){return a?"object"==typeof a||"function"==typeof a?e[g.call(a)]||"object":typeof a:a+""},c.isArray=Array.isArray||function(a){return"array"===c.type(a)},c.isPlainObject=function(a){var b;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!f.call(a,"constructor")&&!f.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}for(b in a);return b===undefined||f.call(a,b)},c.each=function(a,c,d){var e=0,f=a.length,g=b(a);if(d){if(g)for(;e<f&&c.apply(a[e],d)!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.apply(a[e],d)===!1)break}else if(g)for(;e<f&&c.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.call(a[e],e,a[e])===!1)break;return a},c.data=function(a,b,e){if(e===undefined){var f=a[c.expando],g=f&&d[f];if(b===undefined)return g;if(g&&b in g)return g[b]}else if(b!==undefined){var h=a[c.expando]||(a[c.expando]=++c.uuid);return d[h]=d[h]||{},d[h][b]=e,e}},c.removeData=function(a,b){var e=a[c.expando],f=e&&d[e];f&&(b?c.each(b,function(a,b){delete f[b]}):delete d[e])},c.extend=function(){var a,b,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[i]||{},i++),"object"!=typeof h&&"function"!==c.type(h)&&(h={}),i===j&&(h=this,i--);i<j;i++)if(f=arguments[i])for(e in f)f.hasOwnProperty(e)&&(a=h[e],d=f[e],h!==d&&(k&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,g=a&&c.isArray(a)?a:[]):g=a&&c.isPlainObject(a)?a:{},h[e]=c.extend(k,g,d)):d!==undefined&&(h[e]=d)));return h},c.queue=function(a,d,e){if(a){d=(d||"fx")+"queue";var f=c.data(a,d);return e?(!f||c.isArray(e)?f=c.data(a,d,function(a,c){var d=c||[];return a&&(b(Object(a))?function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;)a[e++]=b[d++];if(c!==c)for(;b[d]!==undefined;)a[e++]=b[d++];a.length=e,a}(d,"string"==typeof a?[a]:a):[].push.call(d,a)),d}(e)):f.push(e),f):f||[]}},c.dequeue=function(a,b){c.each(a.nodeType?[a]:a,function(a,d){b=b||"fx";var e=c.queue(d,b),f=e.shift();"inprogress"===f&&(f=e.shift()),f&&("fx"===b&&e.unshift("inprogress"),f.call(d,function(){c.dequeue(d,b)}))})},c.fn=c.prototype={init:function(a){if(a.nodeType)return this[0]=a,this;throw new Error("Not a DOM node.")},offset:function(){var b=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:b.top+(a.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:b.left+(a.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var a=this[0],b=function(a){for(var b=a.offsetParent;b&&"html"!==b.nodeName.toLowerCase()&&b.style&&"static"===b.style.position;)b=b.offsetParent;return b||document}(a),d=this.offset(),e=/^(?:body|html)$/i.test(b.nodeName)?{top:0,left:0}:c(b).offset();return d.top-=parseFloat(a.style.marginTop)||0,d.left-=parseFloat(a.style.marginLeft)||0,b.style&&(e.top+=parseFloat(b.style.borderTopWidth)||0,e.left+=parseFloat(b.style.borderLeftWidth)||0),{top:d.top-e.top,left:d.left-e.left}}};var d={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var e={},f=e.hasOwnProperty,g=e.toString,h="Boolean Number String Function Array Date RegExp Object Error".split(" "),i=0;i<h.length;i++)e["[object "+h[i]+"]"]=h[i].toLowerCase();c.fn.init.prototype=c.fn,a.Velocity={Utilities:c}}}(window),function(a){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a():"function"==typeof define&&define.amd?define(a):a()}(function(){"use strict";return function(a,b,c,d){function e(a){for(var b=-1,c=a?a.length:0,d=[];++b<c;){var e=a[b];e&&d.push(e)}return d}function f(a){return u.isWrapped(a)?a=s.call(a):u.isNode(a)&&(a=[a]),a}function g(a){var b=o.data(a,"velocity");return null===b?d:b}function h(a,b){var c=g(a);c&&c.delayTimer&&!c.delayPaused&&(c.delayRemaining=c.delay-b+c.delayBegin,c.del
|
||
|
;if(!(k&&k.isSVG||"tween"===l||A.Names.prefixCheck(l)[1]!==!1||A.Normalizations.registered[l]!==d))return void(y.debug&&console.log("Skipping ["+l+"] due to a lack of browser support."));(i.display!==d&&null!==i.display&&"none"!==i.display||i.visibility!==d&&"hidden"!==i.visibility)&&/opacity|filter/.test(e)&&!r&&0!==p&&(r=0),i._cacheValues&&n&&n[e]?(r===d&&(r=n[e].endValue+n[e].unitType),m=k.rootPropertyValueCache[l]):A.Hooks.registered[e]?r===d?(m=A.getPropertyValue(a,l),r=A.getPropertyValue(a,e,m)):m=A.Hooks.templates[l][1]:r===d&&(r=A.getPropertyValue(a,e));var s,t,v,w=!1,x=function(a,b){var c,d;return d=(b||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(a){return c=a,""}),c||(c=A.Values.getUnitType(a)),[d,c]};if(r!==p&&u.isString(r)&&u.isString(p)){g="";var z=0,B=0,C=[],D=[],E=0,F=0,G=0;for(r=A.Hooks.fixColors(r),p=A.Hooks.fixColors(p);z<r.length&&B<p.length;){var H=r[z],I=p[B];if(/[\d\.-]/.test(H)&&/[\d\.-]/.test(I)){for(var J=H,K=I,L=".",N=".";++z<r.length;){if((H=r[z])===L)L="..";else if(!/\d/.test(H))break;J+=H}for(;++B<p.length;){if((I=p[B])===N)N="..";else if(!/\d/.test(I))break;K+=I}var O=A.Hooks.getUnit(r,z),P=A.Hooks.getUnit(p,B);if(z+=O.length,B+=P.length,O===P)J===K?g+=J+O:(g+="{"+C.length+(F?"!":"")+"}"+O,C.push(parseFloat(J)),D.push(parseFloat(K)));else{var Q=parseFloat(J),R=parseFloat(K);g+=(E<5?"calc":"")+"("+(Q?"{"+C.length+(F?"!":"")+"}":"0")+O+" + "+(R?"{"+(C.length+(Q?1:0))+(F?"!":"")+"}":"0")+P+")",Q&&(C.push(Q),D.push(0)),R&&(C.push(0),D.push(R))}}else{if(H!==I){E=0;break}g+=H,z++,B++,0===E&&"c"===H||1===E&&"a"===H||2===E&&"l"===H||3===E&&"c"===H||E>=4&&"("===H?E++:(E&&E<5||E>=4&&")"===H&&--E<5)&&(E=0),0===F&&"r"===H||1===F&&"g"===H||2===F&&"b"===H||3===F&&"a"===H||F>=3&&"("===H?(3===F&&"a"===H&&(G=1),F++):G&&","===H?++G>3&&(F=G=0):(G&&F<(G?5:4)||F>=(G?4:3)&&")"===H&&--F<(G?5:4))&&(F=G=0)}}z===r.length&&B===p.length||(y.debug&&console.error('Trying to pattern match mis-matched strings ["'+p+'", "'+r+'"]'),g=d),g&&(C.length?(y.debug&&console.log('Pattern found "'+g+'" -> ',C,D,"["+r+","+p+"]"),r=C,p=D,t=v=""):g=d)}g||(s=x(e,r),r=s[0],v=s[1],s=x(e,p),p=s[0].replace(/^([+-\/*])=/,function(a,b){return w=b,""}),t=s[1],r=parseFloat(r)||0,p=parseFloat(p)||0,"%"===t&&(/^(fontSize|lineHeight)$/.test(e)?(p/=100,t="em"):/^scale/.test(e)?(p/=100,t=""):/(Red|Green|Blue)$/i.test(e)&&(p=p/100*255,t="")));if(/[\/*]/.test(w))t=v;else if(v!==t&&0!==r)if(0===p)t=v;else{h=h||function(){var d={myParent:a.parentNode||c.body,position:A.getPropertyValue(a,"position"),fontSize:A.getPropertyValue(a,"fontSize")},e=d.position===M.lastPosition&&d.myParent===M.lastParent,f=d.fontSize===M.lastFontSize;M.lastParent=d.myParent,M.lastPosition=d.position,M.lastFontSize=d.fontSize;var g={};if(f&&e)g.emToPx=M.lastEmToPx,g.percentToPxWidth=M.lastPercentToPxWidth,g.percentToPxHeight=M.lastPercentToPxHeight;else{var h=k&&k.isSVG?c.createElementNS("http://www.w3.org/2000/svg","rect"):c.createElement("div");y.init(h),d.myParent.appendChild(h),o.each(["overflow","overflowX","overflowY"],function(a,b){y.CSS.setPropertyValue(h,b,"hidden")}),y.CSS.setPropertyValue(h,"position",d.position),y.CSS.setPropertyValue(h,"fontSize",d.fontSize),y.CSS.setPropertyValue(h,"boxSizing","content-box"),o.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(a,b){y.CSS.setPropertyValue(h,b,"100%")}),y.CSS.setPropertyValue(h,"paddingLeft","100em"),g.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(A.getPropertyValue(h,"width",null,!0))||1)/100,g.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(A.getPropertyValue(h,"height",null,!0))||1)/100,g.emToPx=M.lastEmToPx=(parseFloat(A.getPropertyValue(h,"paddingLeft"))||1)/100,d.myParent.removeChild(h)}return null===M.remToPx&&(M.remToPx=parseFloat(A.getPropertyValue(c.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(b.innerWidth)/100,M.vhToPx=parseFloat(b.innerHeight)/100),g.remToPx=M.remToPx,g.vwToPx=M.vwToPx,g.vhToPx=M.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(g),a),g}();var S=/margin|padding|left|right|width|text|word|letter/i.test(e)||/
|
||
|
jQuery(function(){var $panel=jQuery('div.qc-output').hide();jQuery('.page-attributes .plugin_qc a').load(DOKU_BASE+'lib/exe/ajax.php',{call:'plugin_qc_short',id:JSINFO['id']},function(){jQuery(this).find('span span').addClass('num');}).click(function(e){e.preventDefault();if($panel.html()==''){$panel.load(DOKU_BASE+'lib/exe/ajax.php',{call:'plugin_qc_long',id:JSINFO['id']},function(){$panel.dw_show();});}else{$panel.dw_toggle();}});});(function($){var debugBookCreatorOnDetailTemplate=function(){var $detail=$('#dokuwiki__detail');if(!$detail.length)return;if(JSINFO.bookcreator===undefined){JSINFO.bookcreator={};JSINFO.bookcreator.areToolsVisible=false;}};$(function(){debugBookCreatorOnDetailTemplate();});})(jQuery);(function($){var debugFoldedOnDetailTemplate=function(){var $detail=$('#dokuwiki__detail');if(!$detail.length)return;if(JSINFO.plugin_folded===undefined){JSINFO.plugin_folded={};JSINFO.plugin_folded.reveal='';JSINFO.plugin_folded.hide='';}};$(function(){debugFoldedOnDetailTemplate();});})(jQuery);(function($){var registerClickForTabsInMetaBox=function($metaBox){$metaBox.on('click','.meta-tabs a',function(e){e.preventDefault();var $tab=$(this),isopen=$tab.attr('aria-expanded')==='true';disableExistingTabs($metaBox);if(isopen)return;$tab .attr('aria-expanded','true').closest('li').addClass('active');$metaBox.find($tab.attr('href')).addClass('active').attr('aria-hidden','false');}).find('.meta-content').on('click','a[href*="#"]',function(e){disableExistingTabs($metaBox);}).find('#tagging__edit').on('hide',function(e){disableExistingTabs($metaBox);});if($('body').hasClass('do-admin')){var $tocLink=$metaBox.find('a[href="#spr__tab-toc"]');if($tocLink.length===1){$tocLink.trigger('click');}}},disableExistingTabs=function($metaBox){$metaBox.find('.meta-tabs li').removeClass('active').find('a').attr('aria-expanded','false');$metaBox.find('.meta-content .tab-pane').removeClass('active').attr('aria-hidden','false');};var stickyBox=function($metaBox,topOffset,leftOffset){if(window.pageYOffset>=topOffset){$metaBox.addClass("sticky").attr("style","left: "+leftOffset+"px");}else{$metaBox.removeClass("sticky").removeAttr("style");}};$(function(){var $metaBox=$('#spr__meta-box');if(!$metaBox.length)return;registerClickForTabsInMetaBox($metaBox);var topOffset=$metaBox.offset().top;window.onscroll=function(){var leftOffset=$metaBox.offset().left;stickyBox($metaBox,topOffset,leftOffset)};});})(jQuery);jQuery(function(){var $nav=jQuery('#dokuwiki__aside');if(!$nav.length)return;var sidebarId='';var divId=jQuery('#sidebarId');if(typeof divId!=='undefined'){sidebarId=divId.attr('class').split(' ')[0];}var setWideContent=function(){$nav.find('div.nav-panel').hide();jQuery('body').addClass('wide-content');removeToggleStorage();window.sessionStorage.setItem('wide-content',true);},removeToggleStorage=function(){for(var index=0;index<=window.sessionStorage.length;index+=1){var item=window.sessionStorage.getItem('sidebar-section-'+sidebarId+'-'+index+'-open');if(!item){continue;}window.sessionStorage.setItem('sidebar-section-'+sidebarId+'-'+index+'-open','false');}},setDefaultContent=function(){jQuery('body').removeClass('wide-content');window.sessionStorage.setItem('wide-content',false);},focusFirstSubLink=function($elem){$elem.find('a').first().focus();},removeOpenStates=function(){$nav.find('.is-open').removeClass('is-open');},toggleNav=function($toggler){var $panel=$toggler.parent().next('div.nav-panel');var isOpen=$panel.is(':visible');setDefaultContent();$panel.dw_toggle(!isOpen,function(){if(!isOpen){focusFirstSubLink($panel);$toggler.addClass('is-open');}else{$toggler.removeClass('is-open');}});window.sessionStorage.setItem('sidebar-section-'+sidebarId+'-'+$toggler.data('index')+'-open',!isOpen);},initContentNav=function(){var $main=$nav.find('nav.nav-main');if(!$main.length)return;if(jQuery('body').hasClass('wide-content')){removeToggleStorage();}var ELEMENT=JSINFO.template.sprintdoc.sidebar_toggle_elements;var $elements=$main.find(ELEMENT);$elements.each(function(index){var $me=jQuery(this),data=$me.text().split('@',2),text=dat
|