PageSourceSearch

https://hls-dhs-dss.ch/skin/resources/js/xwiki/xwiki.bundle.min.js…=1741701588000&defer=false&language=de

js hls-dhs-dss.ch collected 2026-09-24 09:20:44 UTC 60,964 bytes, 124 lines download raw bytes

1'use strict';var XWiki=function(b){b.widgets=b.widgets||{};Object.extend(b,{constants:{anchorSeparator:"#",docextraCommentsAnchor:"Comments",docextraAttachmentsAnchor:"Attachments",docextraHistoryAnchor:"History",docextraInformationAnchor:"Information"},resource:{get:function(d,a){for(var c="",e=["Attachments"],g=[b.EntityType.DOCUMENT],f=0;f<e.length;f++)if(d.endsWith(b.constants.anchorSeparator+e[f])){c=e[f];d=d.substr(0,d.length-(c.length+1));a=a||g[f];break}a?a=b.Model.resolve(d,a):(a=b.Model.resolve(d,
2b.EntityType.ATTACHMENT),a.parent||(a=b.Model.resolve(d,b.EntityType.DOCUMENT),a.parent||(d=b.Model.resolve(d,b.EntityType.SPACE),d.parent&&(a=d))));return this.fromEntityReference(a,c)},fromEntityReference:function(d,a){var c=d.extractReference(b.EntityType.WIKI);c=c&&c.name||b.currentWiki;var e=d.extractReference(b.EntityType.SPACE);e=e&&e.name||b.currentSpace;var g=d.extractReference(b.EntityType.DOCUMENT);g=g&&g.name||b.currentPage;d=(d=d.extractReference(b.EntityType.ATTACHMENT))&&d.name||"";
3var f=new b.DocumentReference(c,e,g),h=b.Model.serialize(f.relativeTo(new b.WikiReference(c))),k=b.Model.serialize(f.parent);f=b.Model.serialize(f);return{wiki:c,space:e,prefixedSpace:k,fullName:h,prefixedFullName:f,name:g,attachment:d,anchor:a}},asEntityReference:function(d){var a;d=[d.wiki,d.space,d.name,d.attachment];for(var c=0;c<d.length;c++)d[c]&&(a=new b.EntityReference(d[c],c,a));return a},serialize:function(d){var a=b.Model.serialize(this.asEntityReference(d));d.anchor&&(0<a.length&&(a+=
4b.constants.anchorSeparator),a+=d.anchor);return a}},getResource:function(d){return this.resource.get(d)},displayDocExtra:function(d,a,c){var e=function(h){var k=document.getElementById(h+"tab"),l=document.getElementById(h+"pane");null!=window.activeDocExtraTab&&(window.activeDocExtraTab.className="",window.activeDocExtraPane.className="hidden");window.activeDocExtraTab=k;window.activeDocExtraPane=l;window.activeDocExtraTab.className="active";window.activeDocExtraPane.className="";k.blur();document.fire("xwiki:docextra:activated",
5{id:h})};if(-1!=$(d+"pane").className.indexOf("empty")){null!=window.activeDocExtraPane&&(window.activeDocExtraPane.className="invisible");$("docextrapanes").className="loading";var g="",f=window.location.search.toQueryParams().minify;f&&"false"==f&&(g="&minify=false");
5new Ajax.Request(window.docgeturl+"?xpage=xpart&vm="+a+g,{method:"get",onSuccess:function(h){var k=document.body.previous("head");h=h.responseText;var l=new Element("div");l.innerHTML=h;l.select("link").each(function(m){0==k.select('link[href="'+
6m.readAttribute("href")+'"][type="'+m.readAttribute("type")+'"]').length&&k.insert(new Element("link",{rel:"stylesheet",type:m.type,href:m.readAttribute("href")}));m.remove()});l.select("script").each(function(m){m.src&&0==k.select('script[src="'+m.readAttribute("src")+'"][type="'+m.readAttribute("type")+'"]').length&&k.insert(new Element("script",{type:m.type,src:m.readAttribute("src")}))});var n=$(d+"pane");l.childElements().forEach(function(m){n.insert(m)});document.fire("xwiki:dom:updated",{elements:[$(d+
7"pane")]})},onComplete:function(h){401==h.status&&document.location.reload();$("docextrapanes").className="";document.fire("xwiki:docextra:loaded",{id:d,element:$(d+"pane")});e(d);c&&($(d+"anchor").id=d,location.href="#"+d,$(d).id=d+"anchor")}})}else e(d),c&&($(d+"anchor").id=d,location.href="#"+d,$(d).id=d+"anchor")},makeRenderingErrorsExpandable:function(d){$(d||"body").select(".xwikirenderingerror").each(function(a){var c=a.next(".xwikirenderingerrordescription");""!==c.innerHTML&&c.hasClassName("xwikirenderingerrordescription")&&
8(a.style.cursor="pointer",a.title="Lesen Sie die technischen Informationen zu diesem Fehler",Event.observe(a,"click",function(e){e.element().closest(".xwikirenderingerror").next(".xwikirenderingerrordescription").toggleClassName("hidden")}))})},fixLinksTargetAttribute:function(d){d=$(d||"body").select("a[rel]");for(var a=0;a<d.length;a++){var c=d[a];if(!c.up(".xRichTextEditor")&&c.getAttribute("href")&&c.getAttribute("rel")){for(var e=c.getAttribute("rel").split(" "),
9g=0;g<e.length;g++)if("_"==e[g].charAt(0)){c.target=e[g].substring(1);break}else if("external"==e[g]){c.target="_blank";break}c.target&&"_self"!=c.target&&"_parent"!=c.target&&"_top"!=c.target&&(g=function(f,h){for(var k=0;k<f.length;++k)if(f[k]==h)return!0;return!1},g(e,"noopener")||e.push("noopener"),g(e,"noreferrer")||e.push("noreferrer"),c.setAttribute("rel",e.join(" ")))}}},insertSectionEditLinks:function(d){if(false&&"xwiki/1.0"!=b.docsyntax&&"view"==b.contextaction&&b.hasEdit){var a=
101;d=$(d||"body");if(d="xwikicontent"==d.id?d:d.down("#xwikicontent")){d=d.childNodes;for(var c=new RegExp("H[1-"+2+"]"),e=0;e<d.length;e++){var g=$(d[e]);if(c.test(g.nodeName)&&!g.classList.contains("wikigeneratedheader")&&!g.down("a.edit_section")){var f=document.createElement("a");f.className="edit_section";f.toggle(g.visible()&&!g.hasClassName("hidden"));f.setAttribute("role","button");f.title="Bearbeiten";f.innerHTML=
11"<span class=\"fa fa-pencil\" aria-hidden=\"true\"><\/span>";var h=document.createElement("span");h.className="sr-only";h.textContent="Bearbeiten";f.appendChild(h);b.hasRenderer?(h=document.documentElement.getAttribute("data-xwiki-form-token"),f.href=window.docediturl+"?section="+a+"&form_token="+h):(f.className+=" disabled",f.setAttribute("aria-disabled","true"),f.setAttribute("tabindex","-1"),f.title="Die Syntax des Dokumentes unterstützt leider kein absatzweises Bearbeiten!",
12f.href="#"+(g.id||""));g.appendChild(f);a++}}}}},cookies:{create:function(d,a,c){if(c){var e=new Date;e.setTime(e.getTime()+864E5*c);c="; expires="+e.toGMTString()}else c="";document.cookie=d+"="+encodeURIComponent(a)+c+"; path=/"},read:function(d){d+="=";for(var a=document.cookie.split(";"),c=0;c<a.length;c++){for(var e=a[c];" "==e.charAt(0);)e=e.substring(1,e.length);if(0==e.indexOf(d))return decodeURIComponent(e.substring(d.length,e.length))}return null},erase:function(d){b.cookies.create(d,"",
13-1)}},togglePanelVisibility:function(d){d=$(d);d.toggleClassName("collapsed")},registerPanelToggle:function(d){$(d||"body").select(".panel .xwikipaneltitle").each(function(a){a.observe("click",this.togglePanelVisibility.bind(this,a.up(".panel")))}.bind(this))},initialize:function(){if("undefined"==typeof this.isInitialized||0==this.isInitialized)"undefined"==typeof b.lastScriptLoaded?b.failedInit=!0:(this.isInitialized=!0,document.fire("xwiki:dom:loading"),document.observe("xwiki:dom:updated",function(d){d.memo.elements.each(this._addBehaviour.bind(this))}.bindAsEventListener(this)),
14this._addBehaviour(),this.domIsLoaded=!0,document.fire("xwiki:dom:loaded"))},_addBehaviour:function(d){d=d||$("body");this.makeRenderingErrorsExpandable(d);this.fixLinksTargetAttribute(d);this.insertSectionEditLinks(d);this.registerPanelToggle(d)}});return b}(XWiki||{});document.observe("dom:loaded",XWiki.initialize.bind(XWiki));
15function showsubmenu(b){if("span"==b.lastChild.tagName.toLowerCase()){window.hidetimer&&(window.hideelement==b.lastChild?(clearTimeout(window.hidetimer),window.hidetimer=null,window.hideelement=null):doHide());var d=Element.positionedOffset(b);
15b.lastChild.style.left=d[0]-10+"px";b.lastChild.style.top=d[1]+b.offsetHeight+"px";b.lastChild.className=b.lastChild.className.replace("hidden","visible")}}
16function hidesubmenu(b){"span"==b.lastChild.tagName.toLowerCase()&&(window.hideelement=b.lastChild,window.hidetimer=setTimeout(doHide,100))}function doHide(){window.hideelement.className=window.hideelement.className.replace("visible","hidden");clearTimeout(window.hidetimer);window.hidetimer=null;window.hideelement=null}function toggleClass(b,d){eltHasClass(b,d)?rmClass(b,d):b.className+=" "+d}function addClass(b,d){eltHasClass(b,d)||(b.className+=" "+d)}
17function eltHasClass(b,d){return b.className?(new RegExp("\\b"+d+"\\b")).test(b.className):!1}function rmClass(b,d){b.className=b.className.replace(new RegExp("\\s*\\b"+d+"\\b"),"")}function openURL(b){(b=open(b,"win","titlebar=0,width=990,height=500,resizable,scrollbars"))&&b.focus()}
18function openHelp(){var b=open("http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiSyntax/WebHome?xpage=print","XWikiSyntax","titlebar=0,width=750,height=480,resizable,scrollbars");b&&b.focus()}function updateName(b,d,a){var c=b.value;c=noaccent(c);0!=a&&(c=c.replace(/class$/gi,""));null==d?b.value=c:d.value=c;return""==c?!1:!0}
19function noaccent(b){b=b.replace(/[\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u0100\u0102\u0104\u01cd\u01de\u01e0\u01fa\u0200\u0202\u0226]/g,"A");b=b.replace(/[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u0101\u0103\u0105\u01ce\u01df\u01e1\u01fb\u0201\u0203\u0227]/g,"a");b=b.replace(/[\u00c6\u01e2\u01fc]/g,"AE");b=b.replace(/[\u00e6\u01e3\u01fd]/g,"ae");b=b.replace(/[\u008c\u0152]/g,"OE");b=b.replace(/[\u009c\u0153]/g,"oe");b=b.replace(/[\u00c7\u0106\u0108\u010a\u010c]/g,"C");b=b.replace(/[\u00e7\u0107\u0109\u010b\u010d]/g,
20"c");b=b.replace(/[\u00d0\u010e\u0110]/g,"D");b=b.replace(/[\u00f0\u010f\u0111]/g,"d");b=b.replace(/[\u00c8\u00c9\u00ca\u00cb\u0112\u0114\u0116\u0118\u011a\u0204\u0206\u0228]/g,"E");b=b.replace(/[\u00e8\u00e9\u00ea\u00eb\u0113\u0115\u0117\u0119\u011b\u01dd\u0205\u0207\u0229]/g,"e");b=b.replace(/[\u011c\u011e\u0120\u0122\u01e4\u01e6\u01f4]/g,"G");b=b.replace(/[\u011d\u011f\u0121\u0123\u01e5\u01e7\u01f5]/g,"g");b=b.replace(/[\u0124\u0126\u021e]/g,"H");b=b.replace(/[\u0125\u0127\u021f]/g,"h");b=b.replace(/[\u00cc\u00cd\u00ce\u00cf\u0128\u012a\u012c\u012e\u0130\u01cf\u0208\u020a]/g,
21"I");b=b.replace(/[\u00ec\u00ed\u00ee\u00ef\u0129\u012b\u012d\u012f\u0131\u01d0\u0209\u020b]/g,"i");b=b.replace(/[\u0132]/g,"IJ");b=b.replace(/[\u0133]/g,"ij");b=b.replace(/[\u0134]/g,"J");b=b.replace(/[\u0135]/g,"j");b=b.replace(/[\u0136\u01e8]/g,"K");b=b.replace(/[\u0137\u0138\u01e9]/g,"k");b=b.replace(/[\u0139\u013b\u013d\u013f\u0141]/g,"L");b=b.replace(/[\u013a\u013c\u013e\u0140\u0142\u0234]/g,"l");b=b.replace(/[\u00d1\u0143\u0145\u0147\u014a\u01f8]/g,"N");b=b.replace(/[\u00f1\u0144\u0146\u0148\u0149\u014b\u01f9\u0235]/g,
22"n");b=b.replace(/[\u00d2\u00d3\u00d4\u00d5\u00d6\u00d8\u014c\u014e\u0150\u01d1\u01ea\u01ec\u01fe\u020c\u020e\u022a\u022c\u022e\u0230]/g,"O");b=b.replace(/[\u00f2\u00f3\u00f4\u00f5\u00f6\u00f8\u014d\u014f\u0151\u01d2\u01eb\u01ed\u01ff\u020d\u020f\u022b\u022d\u022f\u0231]/g,"o");b=b.replace(/[\u0156\u0158\u0210\u0212]/g,"R");b=b.replace(/[\u0157\u0159\u0211\u0213]/g,"r");b=b.replace(/[\u015a\u015c\u015e\u0160\u0218]/g,"S");b=b.replace(/[\u015b\u015d\u015f\u0161\u0219]/g,"s");b=b.replace(/[\u00de\u0162\u0164\u0166\u021a]/g,
23"T");b=b.replace(/[\u00fe\u0163\u0165\u0167\u021b\u0236]/g,"t");b=b.replace(/[\u00d9\u00da\u00db\u00dc\u0168\u016a\u016c\u016e\u0170\u0172\u01d3\u01d5\u01d7\u01d9\u01db\u0214\u0216]/g,"U");b=b.replace(/[\u00f9\u00fa\u00fb\u00fc\u0169\u016b\u016d\u016f\u0171\u0173\u01d4\u01d6\u01d8\u01da\u01dc\u0215\u0217]/g,"u");b=b.replace(/[\u0174]/g,"W");b=b.replace(/[\u0175]/g,"w");b=b.replace(/[\u00dd\u0176\u0178\u0232]/g,"Y");b=b.replace(/[\u00fd\u00ff\u0177\u0233]/g,"y");b=b.replace(/[\u0179\u017b\u017d]/g,
24"Z");b=b.replace(/[\u017a\u017c\u017e]/g,"z");b=b.replace(/[\u00df]/g,"SS");return b=b.replace(/[^a-zA-Z0-9_]/g,"")}function prepareName(b){var d=b.register_first_name.value,a=b.register_last_name.value;b=b.xwikiname;""!=d&&(d=d.substring(0,1).toUpperCase()+d.substring(1));""!=a&&(a=a.substring(0,1).toUpperCase()+a.substring(1));""==b.value&&(b.value=noaccent(d+a))}
25function checkAdvancedContent(b){if(!document.forms.edit)return!0;var d=document.forms.edit.content.value,a=d.match(RegExp("</?(html|body|img|a|i|b|embed|script|form|input|textarea|object|font|li|ul|ol|table|center|hr|br|p) ?([^>]*)>","ig")),c=a&&a.length;a=d.match(RegExp("(#(set|include|if|end|for)|#(#) Advanced content|public class|/* Advanced content */)","ig"));return(c=c||a&&a.length)?confirm(b):!0}
26window.shortcut=Object({all_shortcuts:function(){var b=[];
26Object.values(this._listeners).forEach(function(d,a){Object.values(d).forEach(function(c,e){b=b.concat(c.get_registered_combos())})});return b},type:Object({SIMPLE:"simple",COUNTING:"counting",SEQUENCE:"sequence"}),add:function(b,d,a){require(["/webjars/wiki%3Ahlsdhsdss/Keypress/2.1.5/keypress.min.js?r=1","jquery"],function(c){a=a?a:{};var e={keys:shortcut._format_shortcut_combination(b),is_solitary:!0};c=shortcut._get_or_create_listener("target"in
27a?a.target:document,"disable_in_input"in a&&a.disable_in_input?shortcut._listeners.disabled_in_inputs:shortcut._listeners.enabled_in_inputs,c);if("type"in a&&-1<Object.values(shortcut.type).indexOf(a.type)){switch(a.type){case shortcut.type.COUNTING:e.is_counting=!0;e.is_unordered=!1;break;case shortcut.type.SEQUENCE:e.is_sequence=!0,e.is_exclusive=!0}e.on_keydown=shortcut._wrap_shortcut_call(d,a.type)}else"type"in a&&console.warn("The parameter ["+a.type+"] for the shortcut ["+b+"] type deprecated."),
28e.on_keydown=shortcut._wrap_shortcut_call(d,shortcut.type.SIMPLE);c.register_combo(e);var g=["target","disable_in_input","type"];Object.keys(a).forEach(function(f){-1===g.indexOf(f)&&console.warn("The parameter ["+f+"] for the shortcut ["+b+"] is deprecated.")})})},remove:function(b){var d=shortcut._format_shortcut_combination(b);Object.values(this._listeners).forEach(function(a,c){Object.values(a).forEach(function(e,g){e.unregister_combo(d)})})},_listeners:{disabled_in_inputs:{},enabled_in_inputs:{}},
29_is_sequence_shortcut_triggered:!1,_wrap_shortcut_call:function(b,d){return d===shortcut.type.SEQUENCE?function(a){shortcut._is_sequence_shortcut_triggered=!0;setTimeout(function(){shortcut._is_sequence_shortcut_triggered=!1},500);b.apply(this,[a])}:function(a){shortcut._is_sequence_shortcut_triggered||b.apply(this,[a])}},_get_or_create_listener:function(b,d,a){if(b in d)return d[b];var c=new a.Listener(b);if(d===this._listeners.disabled_in_inputs)jQuery(document).on("focus","input, textarea, [contenteditable=true], .CodeMirror-code",
30function(){c.stop_listening()}).on("blur","input, textarea, [contenteditable=true], .CodeMirror-code",function(){c.listen()});return d[b]=c},_format_shortcut_combination:function(b){return b.toLowerCase().replace(/\+/g," ")}});
31function BrowserDetect(){var b=navigator.userAgent.toLowerCase();this.isGecko=-1!=b.indexOf("gecko")&&-1==b.indexOf("safari");this.isAppleWebKit=-1!=b.indexOf("applewebkit");this.isKonqueror=-1!=b.indexOf("konqueror");this.isSafari=-1!=b.indexOf("safari");this.isOmniweb=-1!=b.indexOf("omniweb");this.isOpera=-1!=b.indexOf("opera");this.isIcab=-1!=b.indexOf("icab");this.isAol=-1!=b.indexOf("aol");this.isIE=-1!=b.indexOf("msie")&&!this.isOpera&&-1==b.indexOf("webtv");this.isMozilla=this.isGecko&&b.indexOf("gecko/")+
3214==b.length;this.isFirefox=-1!=b.indexOf("firefox/")||-1!=b.indexOf("firebird/");this.isNS=this.isGecko?-1!=b.indexOf("netscape"):-1!=b.indexOf("mozilla")&&!this.isOpera&&!this.isSafari&&-1==b.indexOf("spoofer")&&-1==b.indexOf("compatible")&&-1==b.indexOf("webtv")&&-1==b.indexOf("hotjava");this.isIECompatible=-1!=b.indexOf("msie")&&!this.isIE;this.isNSCompatible=-1!=b.indexOf("mozilla")&&!this.isNS&&!this.isMozilla;this.geckoVersion=this.isGecko?b.substring(b.lastIndexOf("gecko/")+6,b.lastIndexOf("gecko/")+
3314):-1;this.equivalentMozilla=this.isGecko?parseFloat(b.substring(b.indexOf("rv:")+3)):-1;this.appleWebKitVersion=this.isAppleWebKit?parseFloat(b.substring(b.indexOf("applewebkit/")+12)):-1;this.versionMinor=parseFloat(navigator.appVersion);this.isGecko&&!this.isMozilla?this.versionMinor=parseFloat(b.substring(b.indexOf("/",b.indexOf("gecko/")+6)+1)):this.isMozilla?this.versionMinor=parseFloat(b.substring(b.indexOf("rv:")+3)):this.isIE&&4<=this.versionMinor?this.versionMinor=parseFloat(b.substring(b.indexOf("msie ")+
345)):this.isKonqueror?this.versionMinor=parseFloat(b.substring(b.indexOf("konqueror/")+10)):this.isSafari?this.versionMinor=parseFloat(b.substring(b.lastIndexOf("safari/")+7)):this.isOmniweb?this.versionMinor=parseFloat(b.substring(b.lastIndexOf("omniweb/")+8)):this.isOpera?this.versionMinor=parseFloat(b.substring(b.indexOf("opera")+6)):this.isIcab&&(this.versionMinor=parseFloat(b.substring(b.indexOf("icab")+5)));this.versionMajor=parseInt(this.versionMinor);this.isDOM1=document.getElementById;this.isDOM2Event=
35document.addEventListener&&document.removeEventListener;this.mode=document.compatMode?document.compatMode:"BackCompat";this.isWin32=(this.isWin=-1!=b.indexOf("win"))&&(-1!=b.indexOf("95")||-1!=b.indexOf("98")||-1!=b.indexOf("nt")||-1!=b.indexOf("win32")||-1!=b.indexOf("32bit")||-1!=b.indexOf("xp"));this.isMac=-1!=b.indexOf("mac");this.isUnix=-1!=b.indexOf("unix")||-1!=b.indexOf("sunos")||-1!=b.indexOf("bsd")||-1!=b.indexOf("x11");this.isLinux=-1!=b.indexOf("linux");this.isNS40x=(this.isNS4x=this.isNS&&
364==this.versionMajor)&&4.5>this.versionMinor;this.isNS47x=this.isNS4x&&4.7<=this.versionMinor;this.isNS4up=this.isNS&&4<=this.versionMinor;this.isNS6x=this.isNS&&6==this.versionMajor;this.isNS6up=this.isNS&&6<=this.versionMajor;this.isNS7x=this.isNS&&7==this.versionMajor;this.isNS7up=this.isNS&&7<=this.versionMajor;
36this.isIE4x=this.isIE&&4==this.versionMajor;this.isIE4up=this.isIE&&4<=this.versionMajor;this.isIE5x=this.isIE&&5==this.versionMajor;this.isIE55=this.isIE&&5.5==this.versionMinor;this.isIE5up=
37this.isIE&&5<=this.versionMajor;this.isIE6x=this.isIE&&6==this.versionMajor;this.isIE6up=this.isIE&&6<=this.versionMajor;this.isIE4xMac=this.isIE4x&&this.isMac;this.isIE11up=(b=/trident\/(\d+)/.exec(b))&&7<=parseInt(b[1])}var browser=new BrowserDetect;
38XWiki.Document=Class.create({initialize:function(b,d,a){"string"===typeof b||"string"===typeof d||"string"===typeof a?this.initializeFromStrings(b,d,a):this.initializeFromReference(b)},initializeFromReference:function(b){this.documentReference=b||XWiki.Document.currentDocumentReference;b=this.documentReference.extractReference(XWiki.EntityType.WIKI);b=this.documentReference.extractReference(XWiki.EntityType.SPACE).relativeTo(b);this.page=this.documentReference.extractReferenceValue(XWiki.EntityType.DOCUMENT);
39this.space=XWiki.Model.serialize(b);this.spaces=b.getReversedReferenceChain().map(function(d){return d.getName()});this.wiki=this.documentReference.extractReferenceValue(XWiki.EntityType.WIKI)},initializeFromStrings:function(b,d,a){this.page=b||XWiki.Document.currentPage;this.space=d||XWiki.Document.currentSpace;this.spaces=XWiki.Model.resolve(this.space,XWiki.EntityType.SPACE).getReversedReferenceChain().map(function(c){return c.getName()});this.wiki=a||XWiki.Document.currentWiki;this.documentReference=
40new XWiki.DocumentReference(this.wiki,this.spaces,this.page)},getURL:function(b,d,a){b=b||"view";var c="view"==b?XWiki.Document.ViewURLTemplate:XWiki.Document.URLTemplate,e=this.spaces.map(function(g){return encodeURIComponent(g)}).join("/");c=c.replace("__space__",e);c=c.replace("__page__","WebHome"==this.page?"":encodeURIComponent(this.page));c=c.replace("__action__/",encodeURIComponent(b)+"/");d&&(c+="?"+d);a&&(c+="#"+a);return c},getRestURL:function(b,d){b=b||"";var a=XWiki.Document.RestURLTemplate;
41a=a.replace("__wiki__",this.wiki);var c=this.spaces.map(function(e){return encodeURIComponent(e)}).join("/spaces/");a=a.replace("__space__",c);a=a.replace("__page__",encodeURIComponent(this.page));b&&(a+="/"+b);d&&(a+="?"+d);return a},getDocumentReference:function(){return this.documentReference}});
42XWiki.Attachment=Class.create({initialize:function(b,d){"string"===typeof b?(this.filename=b,this.document=d):this.initializeFromReference(b)},initializeFromReference:function(b){this.filename=b.name;this.document=new XWiki.Document(b.parent)},getURL:function(b,d){var a=this.document.getURL("download");a=a+(a.endsWith("/")?"WebHome/":"/")+encodeURIComponent(this.filename);b&&(a+="?"+b);d&&(a+="#"+d);return a}});var htmlElement=$(document.documentElement);
43if(null!=htmlElement.readAttribute("data-xwiki-reference")){var documentReference=XWiki.Model.resolve(htmlElement.readAttribute("data-xwiki-reference"),XWiki.EntityType.DOCUMENT),spaceReference=documentReference.extractReference(XWiki.EntityType.SPACE),wikiReference=documentReference.extractReference(XWiki.EntityType.WIKI);XWiki.Document.currentDocumentReference=documentReference;XWiki.Document.currentPage=XWiki.Document.currentDocumentReference.getName();XWiki.Document.currentSpace=XWiki.Model.serialize(spaceReference.relativeTo(wikiReference));
44XWiki.Document.currentWiki=wikiReference.getName();XWiki.currentDocument=new XWiki.Document}else XWiki.Document.currentWiki=XWiki.currentWiki||"xwiki",XWiki.Document.currentSpace=XWiki.currentSpace||"Main",XWiki.Document.currentPage=XWiki.currentPage||"WebHome",0<$$("meta[name=wiki]").length&&(XWiki.Document.currentWiki=$$("meta[name=wiki]")[0].content),0<$$("meta[name=space]").length&&(XWiki.Document.currentSpace=$$("meta[name=space]")[0].content),0<$$("meta[name=page]").length&&(XWiki.Document.currentPage=
45$$("meta[name=page]")[0].content),XWiki.currentDocument=new XWiki.Document(XWiki.Document.currentPage,XWiki.Document.currentSpace,XWiki.Document.currentWiki),XWiki.Document.currentDocumentReference=XWiki.currentDocument.getDocumentReference();XWiki.Document.URLTemplate="/__action__/__space__/__page__";XWiki.Document.ViewURLTemplate="/__space__/__page__";XWiki.Document.RestURLTemplate="/rest/wikis/__wiki__/spaces/__space__/pages/__page__";
46XWiki.Document.WikiSearchURLStub="/rest/wikis/__wiki__/search";XWiki.Document.SpaceSearchURLStub="/rest/wikis/__wiki__/spaces/__space__/search";XWiki.Document.getRestSearchURL=function(b,d,a){a=a||XWiki.Document.currentWiki;d=d?Array.isArray(d)?d:[d]:[];0<d.length?(d=d.join("/spaces/"),a=XWiki.Document.SpaceSearchURLStub.replace("__wiki__",a).replace("__space__",d)):a=XWiki.Document.WikiSearchURLStub.replace("__wiki__",a);b&&(a+="?"+b);return a};
47(function(){document.observe("xwiki:addBehavior:withTip",function(b){b=b.memo.element;""===b.placeholder&&(b.hasClassName("useTitleAsTip")?b.placeholder=b.title:(b.placeholder=b.defaultValue,b.value=""))});document.observe("xwiki:dom:loaded",function(){$$("input.withTip","textarea.withTip","[placeholder]").each(function(b){document.fire("xwiki:addBehavior:withTip",{element:b})})});document.observe("xwiki:dom:updated",function(b){b.memo.elements.each(function(d){d.select("input.withTip","textarea.withTip",
48"[placeholder]").each(function(a){document.fire("xwiki:addBehavior:withTip",{element:a})})})})})();
49document.observe("xwiki:dom:loaded",function(){var b={documents:{script:XWiki.Document.getRestSearchURL("scope=name&number=10&"),varname:"q",icon:"/resources/icons/silk/page_white_text.png?cache-version=1741700714000",noresults:"Document not found",json:!0,resultsParameter:"searchResults",resultId:"id",resultValue:"pageFullName",resultInfo:"pageFullName"},spaces:{script:XWiki.Document.getRestSearchURL("scope=spaces&number=10&"),varname:"q",icon:"/resources/icons/silk/folder.png?cache-version=1741700714000",noresults:"Space not found",
50json:!0,resultsParameter:"searchResults",resultId:"id",resultValue:"space",resultInfo:"space"},propertyValues:{script:function(a){return["/rest/wikis",encodeURIComponent(XWiki.currentWiki),"classes",encodeURIComponent(a.getAttribute("data-className")),"properties",encodeURIComponent(a.getAttribute("data-propertyName")),"values"].join("/")},varname:"fp",noresults:"Value not found",json:!0,resultsParameter:"propertyValues",resultId:"value",resultValue:"value",resultInfo:"metaData.label",
51minchars:0}}
51,d=function(a){if("undefined"!=typeof XWiki.widgets.Suggest)for(var c=Object.keys(b),e=0;e<c.length;e++){var g="input.suggest"+c[e].substr(0,1).toUpperCase()+c[e].substr(1);a.each(function(f){$(f).select(g).each(function(h){if(!h.hasClassName("initialized")){var k={timeout:3E4};Object.extend(k,b[c[e]]);"function"===typeof k.script&&(k.script=k.script(h));new XWiki.widgets.Suggest(h,k);h.addClassName("initialized")}})})}};d([$(document.documentElement)]);document.observe("xwiki:dom:updated",
52function(a){d(a.memo.elements)})});["xwiki:dom:loaded","xwiki:dom:updated"].each(function(b){document.observe(b,function(d){"undefined"!=typeof XWiki.widgets.Suggest&&(d.memo&&d.memo.elements||[document.documentElement]).each(function(a){a.select(".suggested").each(function(c){c.setAttribute("autocomplete","off");"function"===typeof c.onfocus&&(c.onfocus(),c.removeAttribute("onfocus"))})})})});
53document.observe("xwiki:dom:loaded",function(){function b(){var f=$$(".annotationsettings"),h=0;f&&f.length&&(e.__fm_extra=f[0],d(e.__fm_extra),h=e.__fm_extra.getHeight());f=e.getHeight();h=g.cumulativeOffset().top-h;if(document.viewport.getScrollOffsets().top>=h){h=g.getWidth();var k=g.cumulativeOffset().left;a(e,0,k,h);
53e.__fm_extra&&a(e.__fm_extra,f,k,h-e.__fm_extra.getStyle("border-left-width").replace(/[^0-9]/g,"")-e.__fm_extra.getStyle("border-right-width").replace(/[^0-9]/g,"")-e.__fm_extra.getStyle("padding-right").replace(/[^0-9]/g,
54"")-e.__fm_extra.getStyle("padding-left").replace(/[^0-9]/g,""))}else c(e),c(e.__fm_extra)}function d(f){"undefined"==typeof f.__fm_ghost&&(f.__fm_ghost=new Element("div"),f.__fm_ghost.hide(),f.insert({after:f.__fm_ghost}));f.__fm_ghost.clonePosition(f,{setWidth:!1})}function a(f,h,k,l){f&&(f.addClassName("floating-menu"),f.style.position="fixed",f.style.top=h+"px",f.style.left=k+"px",f.style.width=l+"px",f.__fm_ghost.show())}function c(f){f&&(f.removeClassName("floating-menu"),f.style.position="",
55f.style.top="",f.style.left="",f.style.width="",f.__fm_ghost.hide())}if($("body").hasClassName("skin-colibri")){var e=$("contentmenu")||$("editmenu"),g=$("mainContentArea")||$("mainEditArea");e&&g&&(d(e),Event.observe(window,"resize",function(){if("fixed"==e.style.position&&(e.style.width=g.getWidth()+"px","undefined"!=typeof e.__fm_extra)){if("px"==e.__fm_extra.get
55Style("padding-left").replace(/[^a-z]/g,"")){var f=e.__fm_extra.getStyle("border-left-width").replace(/[^0-9.]/g,"")-0;f+=e.__fm_extra.getStyle("padding-left").replace(/[^0-9.]/g,
56"")-0;f+=e.__fm_extra.getStyle("padding-right").replace(/[^0-9.]/g,"")-0;f+=e.__fm_extra.getStyle("border-right-width").replace(/[^0-9.]/g,"")-0}else f=50;e.__fm_extra.style.width=g.getWidth()-f+"px"}}),Event.observe(window,"scroll",b),document.observe("xwiki:annotations:settings:loaded",b))}});
57(function(){var b=function(){var c=[];[...document.querySelectorAll("link[href], script[src]")].forEach(function(e){c.push(e.getAttribute("href")||e.getAttribute("src"))});return c},d=function(c){var e,g=document.createRange();g.setStart(document.head,0);[...g.createContextualFragment(c).querySelectorAll("link[href], script[src]")].forEach(function(f){e||=b();var h=f.getAttribute("href")||f.getAttribute("src");0>e.indexOf(h)&&(f.getAttribute("src")&&!f.hasAttribute("async")&&(f.async=!1),document.head.appendChild(f))})},
58a=function(c){d(c("X-XWIKI-HTML-HEAD"));setTimeout(function(){d(c("X-XWIKI-HTML-SCRIPTS"))},0)};(function(){var c=window.XMLHttpRequest.prototype.open;window.XMLHttpRequest.prototype.open=function(){this.addEventListener("load",function(){a(this.getResponseHeader.bind(this))});const e=c.apply(this,arguments);if(2<=arguments.length&&window.location.origin===(new URL(arguments[1],window.location.href)).origin){const g=document?.documentElement?.dataset?.xwikiFormToken;g&&this.setRequestHeader("XWiki-Form-Token",
59g)}return e}})();(function(){var c=window.fetch;c&&(window.fetch=function(){let e=arguments;const g=document?.documentElement?.dataset?.xwikiFormToken;if(g){let f=null;1===arguments.length&&arguments[0]instanceof Request?f=arguments[0]:arguments.length&&(f=new Request(...arguments));null!==f&&window.location.origin===(new URL(f.url,window.location.href)).origin&&(f.headers.append("XWiki-Form-Token",g),e=[f])}return c.apply(this,e).then(function(f){a(f.headers.get.bind(f.headers));return f})})})()})();
60require(["jquery"],b=>{function d(a){b(a).find("form.xwiki-submit-once").off("submit.xwiki-submit-once").on("submit.xwiki-submit-once",c=>{b(c.target).find('input[type="submit"], input[type="image"], button[type="submit"]').prop("disabled",!0)})}b(document).on("xwiki:dom:updated",(a,c)=>
60{(c?.elements||[document.documentElement]).forEach(d)});b(()=>d(document.documentElement))});
61require(["jquery","xwiki-meta","bootstrap"],(b,d)=>{function a(e){if("xwiki/1.0"!==XWiki.docsyntax&&"view"===XWiki.contextaction&&XWiki.hasEdit)b(e).find("span.wikicreatelink:not(.skipCreatePagePopup) a").on("click",c)}function c(e){e.preventDefault();e=b(this).attr("href").replace(/#.*$/,"");let g=new XWiki.widgets.Notification("Lade...","inprogress");b.get(e,{xpage:"createinline",ajax:1,form_token:d.form_token}).done(function(f,
62h,k){(h=k.getResponseHeader("redirect"))?window.location=h:(h=b("#createModalContainer"),0===h.length&&(h=b('<div id="createModalContainer">'),b("body").append(h)),h.html(f),b(document).trigger("xwiki:dom:updated",{elements:h.toArray()}),h.find(".modal").modal("show"),g.hide())}).fail(function(f){g.replace(new XWiki.widgets.Notification("Ein Fehler ist aufgetreten, bitte aktualisieren Sie die Seite und versuchen Sie es erneut","error",{inactive:!0}))})}b(document).on("xwiki:dom:updated",(e,g)=>{(g?.elements||
63[document.documentElement]).forEach(a)});b(()=>a(document.documentElement))});XWiki=function(b){var d=b.widgets=b.widgets||{};d.ModalPopup=Class.create({options:{globalDialog:!0,title:"",displayCloseButton:!0,extraClassName:!1,screenColor:"",borderColor:"",titleColor:"",backgroundColor:"",screenOpacity:"0.5",verticalPosition:"center",horizontalPosition:"center",removeOnClose:!1,onClose:Prototype.emptyFunction},initialize:function(a,c,e){this.shortcuts={show:{method:this.showDialog,keys:["Ctrl+G","Meta+G"]},close:{method:this.closeDialog,keys:["Esc"]}};this.content=a||"Hello world!";
64this.shortcuts=Object.extend(Object.clone(this.shortcuts),c||{});this.options=Object.extend(Object.clone(this.options),e||{});this.registerShortcuts("show")},createDialog:function(a){this.dialog=new Element("div",{"class":"xdialog-modal-container"});a=(new Element("div",{"class":"xdialog-screen"})).setStyle({opacity:this.options.screenOpacity,backgroundColor:this.options.screenColor});this.dialog.update(a);this.dialogBox=new Element("div",{"class":"xdialog-box"});this.options.extraClassName&&this.dialogBox.addClassName(this.options.extraClassName);
65this.dialogBox._x_contentPlug=new Element("div",{"class":"xdialog-content"});this.dialogBox.update(this.dialogBox._x_contentPlug);this.dialogBox._x_contentPlug.update(this.content);if(this.options.title){var c=(new Element("div",{"class":"xdialog-title"})).update(this.options.title);c.setStyle({color:this.options.titleColor});this.dialogBox.insertBefore(c,this.dialogBox.firstChild)}this.options.displayCloseButton&&(a=(new Element("button",{"class":"close xdialog-close",title:"Close"})).update("<span class=\"fa fa-times\" aria-hidden=\"true\"><\/span>"),
66a.observe("click",this.closeDialog.bindAsEventListener(this)),this.options.title?(c.insert({bottom:a}),this.options.titleColor&&a.setStyle({color:this.options.titleColor})):this.dialogBox.insertBefore(a,this.dialogBox.firstChild));this.dialog.appendChild(this.dialogBox);this.dialogBox.setStyle({textAlign:"left",borderColor:this.options.borderColor,backgroundColor:this.options.backgroundColor});switch(this.options.verticalPosition){case "top":this.dialogBox.setStyle({top:"30px"});break;case "bottom":this.dialogBox.setStyle({bottom:"30px"});
67break;default:this.dialogBox.setStyle({top:"35%"})}switch(this.options.horizontalPosition){case "left":this.dialog.setStyle({textAlign:"left"});break;case "right":this.dialog.setStyle({textAlign:"right"});break;default:this.dialog.setStyle({textAlign:"center"}),this.dialogBox.setStyle({margin:"auto"})}$("body").appendChild(this.dialog);this.dialog.hide()},setClass:function(a){this.dialogBox.addClassName("xdialog-box-"+a)},removeClass:function(a){this.dialogBox.removeClassName("xdialog-box-"+a)},setContent:function(a){this.content=
68a;this.dialogBox._x_contentPlug.update(this.content)},showDialog:function(a){a&&Event.stop(a);if(this.options.globalDialog){if(d.ModalPopup.active)return;d.ModalPopup.active=!0}else{if(this.active)return;this.active=!0}this.dialog||this.createDialog();this.attachKeyListeners();this.dialog.show()},closeDialog:function(a){a&&Event.stop(a);this.options.onClose.call(this);this.dialog.hide();this.options.removeOnClose&&this.dialog.remove();this.detachKeyListeners();this.options.globalDialog?d.ModalPopup.active=
69!1:this.active=!1},attachKeyListeners:function(){for(var a in this.shortcuts)"show"!=a&&this.registerShortcuts(a)},detachKeyListeners:function(){for(var a in this.shortcuts)"show"!=a&&this.unregisterShortcuts(a)},registerShortcuts:function(a){var c=this.shortcuts[a].keys,e=this.shortcuts[a].method.bindAsEventListener(this,a);a=this.shortcuts[a].options;for(var g=0;g<c.length;++g)shortcut.add(c[g],e,a)},unregisterShortcuts:function(a){for(var c=0;c<this.shortcuts[a].keys.length;++c)shortcut.remove(this.shortcuts[a].keys[c])},
70createButton:function(a,c,e,g,f){var h=new Element("span",{"class":"buttonwrapper"});a=new Element("input",{type:a,"class":"button",value:c,title:e,id:g});f&&a.addClassName(f);h.update(a);return h}});d.ModalPopup.active=!1;return b}(XWiki||{});/*
71                                                                         */
72(function(b,d,a){require.config({paths:b.js});window.XWiki=window.XWiki||{};var c=XWiki.widgets=XWiki.widgets||{};if(XWiki.widgets.ModalPopup){c.JumpToPage=Class.create(c.ModalPopup,{urlTemplate:(new XWiki.Document("__document__","__space__")).getURL("__action__"),initialize:function($super){var f=new Element("div");this.input=new Element("input",{type:"text",id:"jmp_target",title:d.inputTooltip});this.input.placeholder=this.input.title;f.appendChild(this.input);this.viewButton=this.createButton("button",
73d.viewLabel,d.viewTooltip,"jmp_view");this.editButton=this.createButton("button",d.editLabel,d.editTooltip,"jmp_edit","secondary");var h=new Element("div",{"class":"buttons"});h.appendChild(this.viewButton);h.appendChild(this.editButton);f.appendChild(h);$super(f,{show:{method:this.showDialog,keys:a.show},view:{method:this.openDocument,keys:a.view,options:{propagate:!0}},edit:{method:this.openDocument,keys:a.edit}},{title:d.content,extraClassName:"jump-dialog",verticalPosition:"top"});this.shortcuts.close.options=
74{propagate:!0}},createDialog:function($super,f){Event.observe(this.viewButton,"click",this.openDocument.bindAsEventListener(this,"view"));Event.observe(this.editButton,"click",this.openDocument.bindAsEventListener(this,"edit"));$super(f);this.input.up(".xdialog-modal-container").addClassName("jump-dialog-container");var h=this;require(["jquery","xwiki-suggestPages"],function(k){b.css.selectize.forEach(function(m){k("<link/>").attr({type:"text/css",rel:"stylesheet",href:m}).appendTo("head")});var l=
75function(m){var p=k(h.viewButton).add(h.editButton).find("input");!1===m?p.prop("disabled",!0):setTimeout(function(){p.prop("disabled",!1)},0)},n=function(m){l(""!==k(h.input).val())};k(h.input).on("change",n).suggestPages({maxItems:1});h.input.selectize.on("dropdown_open",l.bind(null,!1));h.input.selectize.on("dropdown_close",n);h.input.selectize.focus();n()})},showDialog:function($super){$super();this.input.selectize?(this.input.selectize.clear(),this.input.selectize.focus()):(this.input.value=
76"",this.input.focus())},openDocument:function(g,f){this[(f||"view")+"Button"].down("input").disabled||(Event.stop(g),g=XWiki.Model.resolve(this.input.value,XWiki.EntityType.DOCUMENT,XWiki.currentDocument.documentReference),window.location=(new XWiki.Document(g)).getURL(f))}});function e(){return new c.JumpToPage}
76XWiki.domIsLoaded&&e()||document.observe("xwiki:dom:loaded",e)}else console&&console.warn&&console.warn("[JumpToPage widget] Required class missing: XWiki.widgets.ModalPopup")}).apply("",
77[{"js":{"xwiki-suggestPages":"\/skin\/resources\/uicomponents\/suggest\/suggestPages.min.js?cache-version=1741701576000"},"css":{"selectize":["\/webjars\/wiki%3Ahlsdhsdss\/selectize.js\/0.13.3\/css\/selectize.bootstrap3.css","\/skin\/resources\/uicomponents\/suggest\/xwiki.selectize.min.css?cache-version=1741701588000"]}},{"inputTooltip":"Bereich.Dokument","viewLabel":"Ansehen","viewTooltip":"Seite ansehen (Enter)","editLabel":"Bearbeiten","editTooltip":"Bearbeite Dokument mit dem Standardeditor (Meta+E)","content":"Gehe zu:"},{"show":["Meta+G","Strg+G","Strg+\/","Meta+\/"],"view":["Enter"],"edit":["Meta+E"]}]);"undefined"==typeof XWiki||"undefined"==typeof XWiki.widgets||"undefined"==typeof XWiki.widgets.ModalPopup?"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("[ConfirmationBox widget] Required class missing: XWiki.widgets.ModalPopup"):XWiki.widgets.ConfirmationBox=Class.create(XWiki.widgets.ModalPopup,{defaultInteractionParameters:{confirmationText:"Sind Sie sicher?",yesButtonText:"Ja",
78noButtonText:"Nein",cancelButtonText:"Abbrechen",showCancelButton:!1},initialize:function($super,d,a){this.interactionParameters=Object.extend(Object.clone(this.defaultInteractionParameters),a||{});a={show:{method:this.showDialog,keys:[]},yes:{method:this.onYes,keys:["Enter","Space","y"]},no:{method:this.onNo,keys:["n"]},close:{method:this.closeDialog,keys:["c"]}};this.interactionParameters.showCancelButton?
79a.close.keys.push("Esc"):a.no.keys.push("Esc");$super(this.createContent(this.interactionParameters),a,{displayCloseButton:!1,removeOnClose:!0});this.showDialog();this.setClass("confirmation");this.behavior=d||{}},createContent:function(b){var d=(new Element("div",{"class":"question"})).update(b.confirmationText),a=new Element("div",{"class":"buttons"}),c=this.createButton("button",b.yesButtonText,"(Enter)","");Event.observe(c,"click",this.onYes.bindAsEventListener(this));a.insert(c);c=this.createButton("button",
80b.noButtonText,b.showCancelButton?"(n)":"(Esc)","","secondary");Event.observe(c,"click",this.onNo.bindAsEventListener(this));a.insert(c);b.showCancelButton&&(b=this.createButton("button",b.cancelButtonText,"(Esc)","","cancel secondary"),Event.observe(b,"click",this.onCancel.bindAsEventListener(this)),a.insert(b));b=new Element("div");b.insert(d).insert(a);return b},onYes:function(b){this.closeDialog();if("function"==typeof this.behavior.onYes)this.behavior.onYes(b)},onNo:function(b){this.closeDialog();
81if("function"==typeof this.behavior.onNo)this.behavior.onNo(b)},onCancel:function(b){this.closeDialog();if("function"==typeof this.behavior.onCancel)this.behavior.onCancel(b)}});"undefined"==typeof XWiki||"undefined"==typeof XWiki.widgets||"undefined"==typeof XWiki.widgets.ConfirmationBox?"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("[MessageBox widget] Required class missing: XWiki.widgets.ModalPopup"):XWiki.widgets.ConfirmedAjaxRequest=Class.create(XWiki.widgets.ConfirmationBox,{defaultAjaxRequestParameters:{on0:function(b){b.request.options.onFailure(b)}},initialize:function($super,d,a,c){this.interactionParameters=Object.extend({displayProgressMessage:!0,
82progressMessageText:"Sende Anfrage...",displaySuccessMessage:!0,successMessageText:"Fertig!",displayFailureMessage:!0,failureMessageText:"Fehlgeschlagen:"},c||{});this.requestUrl=d;this.ajaxRequestParameters=Object.extend(Object.clone(this.defaultAjaxRequestParameters),a||{});Object.extend(this.ajaxRequestParameters,
83{onSuccess:function(){this.interactionParameters.displaySuccessMessage?this.progressNotification?this.progressNotification.replace(new XWiki.widgets.Notification(this.interactionParameters.successMessageText,"done")):new XWiki.widgets.Notification(this.interactionParameters.successMessageText,"done"):this.progressNotification&&this.progressNotification.hide();a.onSuccess&&a.onSuccess.apply(this,arguments)}.bind(this),onFailure:function(e){if(this.interactionParameters.displayFailureMessage){var g=
84e.statusText||"Server not responding";this.progressNotification?this.progressNotification.replace(new XWiki.widgets.Notification(this.interactionParameters.failureMessageText+g,"error")):new XWiki.widgets.Notification(this.interactionParameters.failureMessageText+g,"error")}else this.progressNotification&&this.progressNotification.hide();a.onFailure&&a.onFailure.apply(this,arguments)}.bind(this)});$super({onYes:function(){this.interactionParameters.displayProgressMessage&&(this.progressNotification=
85new XWiki.widgets.Notification(this.interactionParameters.progressMessageText,"inprogress"));new Ajax.Request(this.requestUrl,this.ajaxRequestParameters)}.bind(this)},this.interactionParameters)}});XWiki=function(b){var d=b.widgets=b.widgets||{};d.Notification=Class.create({text:"Hello world!",defaultOptions:{plain:{timeout:5},info:{timeout:5},warning:{timeout:5},error:{timeout:10},inprogress:{timeout:!1},done:{timeout:2}},initialize:function(a,c,e){this.text=a||this.text;this.type="undefined"!=typeof this.defaultOptions[c]?c:"plain";this.options=Object.extend(Object.clone(this.defaultOptions[this.type]),e||{});this.createElement();this.options.inactive||this.show()},createElement:function(){this.element||
86(this.element=(new Element("div",{"class":"xnotification xnotification-"+this.t
86ype,role:"alert"})).update(this.text),this.options.icon&&this.element.setStyle({backgroundImage:this.options.icon,paddingLeft:"22px"}),this.options.backgroundColor&&this.element.setStyle({backgroundColor:this.options.backgroundColor}),this.options.color&&this.element.setStyle({color:this.options.color}),this.element=this.element.wrap(new Element("div",{"class":"xnotification-wrapper"})),Event.observe(this.element,"click",
87this.hide.bindAsEventListener(this)))},show:function(){this.element.descendantOf(d.Notification.getContainer())||d.Notification.getContainer().insert({top:this.element});this.element.show();this.options.timeout&&(this.timer=window.setTimeout(this.hide.bind(this),1E3*this.options.timeout))},hide:function(){this.element.hide();this.element.parentNode&&this.element.remove();this.timer&&(window.clearTimeout(this.timer),this.timer=null);"function"==typeof this.options.onHide&&this.options.onHide()},replace:function(a){this.element.parentNode&&
88this.element.replace(a.element);this.timer&&(window.clearTimeout(this.timer),this.timer=null);a.show();return a}});d.Notification.container=null;d.Notification.getContainer=function(){d.Notification.container||(d.Notification.container=new Element("div",{"class":"xnotification-container"}),d.Notification.container.writeAttribute("role","alert"),$("body").insert(d.Notification.container));return d.Notification.container};return b}(XWiki||{});XWiki=function(b){var d=b.widgets=b.widgets||{};d.XList=Class.create({initialize:function(a,c){this.items=a||[];this.options=c||{};this.listElement=new Element(this.options.ordered?"ol":"ul",{"class":"xlist"+(this.options.classes?" "+this.options.classes:"")});if(this.items&&0<this.items.length)for(a=0;a<this.items.length;a++)this.addItem(this.items[a])},addItem:function(a){a&&a instanceof b.widgets.XListItem||(a=new b.widgets.XListItem(a));var c=a.getElement();this.options.itemClasses&&!this.options.itemClasses.blank()&&
89c.addClassName(this.options.itemClasses);this.listElement.insert(c);"object"==typeof this.options.eventListeners&&a.bindEventListeners(this.options.eventListeners);this.options.icon&&!this.options.icon.blank()&&a.setIcon(this.options.icon,this.options.overrideItemIcon);a.list=this},getElement:function(){return this.listElement}});d.XListItem=Class.create({initialize:function(a,c){this.options=c||{};c="xitem "+(this.options.noHighlight?"":"xhighlight ");c+=this.options.classes?this.options.classes:
90"";this.containerElement=(new Element(this.options.containerTagName||"div",{"class":"xitemcontainer"})).insert(a||"");this.containerElement.addClassName(this.options.containerClasses||"");this.containerElement.setStyle({textIndent:"0px"});this.options.value&&this.containerElement.insert((new Element("div",{"class":"hidden value"})).insert(this.options.value));this.listItemElement=(new Element("li",{"class":c})).update(this.containerElement);this.options.icon&&!this.options.icon.blank()&&(this.setIcon(this.options.icon),
91this.hasIcon=!0);"object"==typeof this.options.eventListeners&&this.bindEventListeners(this.options.eventListeners)},getElement:function(){return this.listItemElement},setIcon:function(a,c){if(!this.hasIcon||c)this.iconImage=new Image,this.iconImage.onload=function(){this.listItemElement.setStyle({backgroundImage:"url("+this.iconImage.src+")",backgroundRepeat:"no-repeat",backgroundPosition:"3px 3px"});this.listItemElement.down(".xitemcontainer").setStyle({textIndent:this.iconImage.width+6+"px"})}.bind(this),
92this.iconImage.src=a},bindEventListeners:function(a){for(var c=Object.keys(a),e=0;e<c.length;e++)this.listItemElement.observe(c[e],a[c[e]].bindAsEventListener(this.options.eventCallbackScope?this.options.eventCallbackScope:this))}});return b}(XWiki||{});XWiki=function(b){var d=b.widgets=b.widgets||{};"undefined"==typeof d.XList?"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("[Suggest widget] Required class missing: XWiki.widgets.XList"):d.Suggest=Class.create({options:{minchars:1,method:"get",varname:"input",className:"ajaxsuggest",timeout:2500,delay:500,offsety:0,shownoresults:!0,noresults:"Keine Resultate!",maxheight:250,cache:!1,seps:"",icon:null,resultsParameter:"results",
93resultId:"id",resultValue:"value",resultInfo:"info",resultInfoHTML:!1,resultIcon:"icon",resultHint:"hint",resultType:"type",resultURL:"url",parentContainer:"body",highlight:!0,fadeOnClear:!0,hideButton:{positions:["top"],text:"Vorschl\u00E4ge ausblenden"},insertBeforeSuggestions:null,displayValue:!1,displayValueText:"Wert:",align:"left",unifiedLoader:!1,loaderNode:null,propagateEventKeyCodes:[]},
94sInput:"",nInputChars:0,aSuggestions:{},iHighlighted:null,isActive:!1,initialize:function(a,c){if(!a)return!1;this.setInputField(a);this.options=Object.extend(Object.clone(this.options),c||{});"object"==typeof this.options.sources?(this.isInMultiSourceMode=!0,this.sources=this.options.sources):this.sources=this.options;this.sources=[this.sources].flatten().compact();0==this.sources.length&&this.sources.push({script:function(e,g){g([])}});$(this.options.parentContainer)||(this.options.parentContainer=
95$(document.body));this.seps=this.options.seps?this.options.seps:"";this.latestRequest=0},setInputField:function(a){this.detach();
95this.fld=$(a);this.fld.__x_suggest&&this.fld.__x_suggest.detach();this.fld.__x_suggest=this;this.onKeyUp=this.onKeyUp.bindAsEventListener(this);this.fld.observe("keyup",this.onKeyUp);this.onKeyPress=this.onKeyPress.bindAsEventListener(this);Prototype.Browser.IE||Prototype.Browser.WebKit||browser.isIE11up?this.fld.observe("keydown",this.onKeyPress):this.fld.observe("keypress",
96this.onKeyPress);this.fld.setAttribute("autocomplete","off");this.fld.observe("blur",function(c){this.latestRequest++}.bind(this))},onKeyUp:function(a){switch(a.keyCode){case Event.KEY_RETURN:case Event.KEY_ESC:case Event.KEY_UP:case Event.KEY_DOWN:break;default:if(this.seps){a=-1;for(var c=0;c<this.seps.length;c++)this.fld.value.lastIndexOf(this.seps.charAt(c))>a&&(a=this.fld.value.lastIndexOf(this.seps.charAt(c)));-1==a?this.getSuggestions(this.fld.value):this.getSuggestions(this.fld.value.substring(a+
971))}else this.getSuggestions(this.fld.value)}},onKeyPress:function(a){if($(this.isActive)){var c=a.keyCode,e=!0;switch(c){case Event.KEY_RETURN:this.iHighlighted||1!=Object.keys(this.aSuggestions).length||1!=this.aSuggestions[Object.keys(this.aSuggestions)[0]].length||this.highlightFirst();this.setHighlightedValue(a);break;case Event.KEY_ESC:this.clearSuggestions();break;case Event.KEY_UP:this.changeHighlight(c);break;case Event.KEY_DOWN:this.changeHighlight(c);break;default:e=!1}e&&this.options.propagateEventKeyCodes&&
98-1==this.options.propagateEventKeyCodes.indexOf(c)&&Event.stop(a)}},getSuggestions:function(a){a=a.strip().toLowerCase();if(a==this.sInput)return!1;if(a.length<this.options.minchars)return this.sInput="",this.clearSuggestions(),!1;if(a.length>this.nInputChars&&Object.keys(this.aSuggestions).length&&this.options.cache){for(var c={},e=0;e<Object.keys(this.aSuggestions).length;e++){for(var g=Object.keys(this.aSuggestions)[e],f=[],h=0;h<this.aSuggestions[g].length;h++){var k=this.aSuggestions[g][h];k.value.substr(0,
99a.length).toLowerCase()==a&&f.push(k)}f.length&&(c[g]=f)}this.sInput=a;this.nInputChars=a.length;this.aSuggestions=c;for(e=0;e<sources.length;e++)a=sources[e],(c=this.aSuggestions[a.id])&&this.createList(c,a)}else{this.sInput=a;this.nInputChars=a.length;this.prepareContainer();this.latestRequest++;var l=this,n=this.latestRequest;clearTimeout(this.ajID);this.container.select(".hide-button-wrapper").invoke("hide");this.ajID=setTimeout(function(){l.doAjaxRequests(n)},this.options.delay)}return!1},doAjaxRequests:function(a,
100c){if(!(this.fld.value.length<this.options.minchars))for(var e=0;e<this.sources.length;e++){var g=this.sources[e];"function"==typeof g.script?(this.fld.addClassName("loading"),g.script(this.fld.value.strip(),function(f){a==this.latestRequest&&(this.aSuggestions[g.id]=f||[],f&&this.createList(this.aSuggestions[g.id],g),this.fld.removeClassName("loading"))}.bind(this))):this.doAjaxRequest(g,a,c)}},doAjaxRequest:function(a,c,e){var g=a.script+(0>a.script.indexOf("?")?"?":"&")+a.varname+"="+encodeURIComponent(this.fld.value.strip()),
101f=a.method||"get",h={};h.Accept=a.json?"application/json":"application/xml";a={method:f,requestHeaders:h,onCreate:this.fld.addClassName.bind(this.fld,"loading"),onSuccess:this.setSuggestions.bindAsEventListener(this,a,c),onFailure:function(k){new b.widgets.Notification("Es konnten keine Vorschläge ermittelt werden:"+k.statusText,"error",{timeout:5})},onComplete:this.fld.removeClassName.bind(this.fld,"loading")};a.defaultValues=Object.clone(a);new Ajax.Request(g,Object.extend(a,
102e||{}))},setSuggestions:function(a,c,e){e<this.latestRequest||(a=this.parseResponse(a,c),this.aSuggestions[c.id]=a||[],a&&this.createList(this.aSuggestions[c.id],c))},_getNestedProperty:function(a,c){for(c=c.split(".");c.length&&(a=a[c.shift()]););return 0<c.length?null:a},parseResponse:function(a,c){var e=[];if(c.json){a=a.responseJSON;if(!a)return null;a=Array.isArray(a)?a:this._getNestedProperty(a,c.resultsParameter||this.options.resultsParameter);for(var g=0;g<a.length;g++){var f=a[g];e.push({id:this._getNestedProperty(f,
103c.resultId||this.options.resultId),value:this._getNestedProperty(f,c.resultValue||this.options.resultValue),info:this._getNestedProperty(f,c.resultInfo||this.options.resultInfo),icon:this._getNestedProperty(f,c.resultIcon||this.options.resultIcon),hint:this._getNestedProperty(f,c.resultHint||this.options.resultHint),type:this._getNestedProperty(f,c.resultType||this.options.resultType),url:this._getNestedProperty(f,c.resultURL||this.options.resultURL)})}}else for(a=a.responseXML.getElementsByTagName(c.resultsParameter||
104this.options.resultsParameter)[0].childNodes,g=0;g<a.length;g++)a[g].hasChildNodes()&&e.push({id:a[g].getAttribute("id"),value:a[g].childNodes[0].nodeValue,info:a[g].getAttribute("info"),icon:a[g].getAttribute("icon"),hint:a[g].getAttribute("hint"),type:a[g].getAttribute("type"),url:a[g].getAttribute("url")});return e},prepareContainer:function(){if(!$(this.options.parentContainer).down(".suggestItems")){var a=new Element("div",{"class":"suggestItems "+this.options.className}),c="body"==$(this.options.parentContainer).tagName.toLowerCase()?
105this.fld.cumulativeOffset():this.fld.positionedOffset(),e=this.fld.offsetWidth-2,g=this.options.width||e,f=this.fld.viewportOffset().left,h=$("body").getWidth();a.style.left="left"==this.options.align||"auto"==this.options.align&&f+this.options.width<h?c.left+"px":"
105center"==this.options.align?c.left+(e-g)/2+"px":c.left+e-g+"px";a.style.top=c.top+this.fld.offsetHeight+this.options.offsety+"px";a.style[this.options.width?"width":"minWidth"]=g+"px";var k=this;a.addEventListener("focusin",()=>k.killTimeout());
106a.addEventListener("focusout",()=>k.resetTimeout());a.addEventListener("mouseout",()=>k.clearHighlight());this.resultContainer=new Element("div",{"class":"resultContainer"});a.appendChild(this.resultContainer);$(this.options.parentContainer).insert(a);this.container=a;this.options.insertBeforeSuggestions&&this.resultContainer.insert(this.options.insertBeforeSuggestions);document.fire("xwiki:suggest:containerCreated",{container:this.container,suggest:this})}if(this.isInMultiSourceMode)for(a=0;a<this.sources.length;a++)c=
107this.sources[a],c.id=c.id||a,this.resultContainer.down(".results"+c.id)?(this.resultContainer.down(".results"+c.id).down("ul")&&this.resultContainer.down(".results"+c.id).down("ul").remove(),this.options.unifiedLoader?((this.options.loaderNode||this.fld).addClassName("loading"),this.resultContainer.down(".results"+c.id).addClassName("hidden").addClassName("loading")):this.resultContainer.down(".results"+c.id).down(".sourceContent").addClassName("loading")):(e=new Element("div",{"class":"results results"+
108c.id}),g=new Element("div",{"class":"sourceName"}),this.options.unifiedLoader&&e.addClassName("hidden").addClassName("loading"),"undefined"!=typeof c.icon&&(f=new Image,f.onload=function(){this.sourceHeader.setStyle({backgroundImage:"url("+this.iconImage.src+")"});this.sourceHeader.setStyle({textIndent:this.iconImage.width+6+"px"})}.bind({sourceHeader:g,iconImage:f}),f.src=c.icon),g.insert(c.name),e.insert(g),e.insert(new Element("div",{"class":"sourceContent "+(this.options.unifiedLoader?"":"loading")})),
109"undefined"!==typeof c.before&&this.resultContainer.insert(c.before),this.resultContainer.insert(e),"undefined"!==typeof c.after&&this.resultContainer.insert(c.after));else this.resultContainer.down("ul")&&this.resultContainer.down("ul").remove();if("undefined"!==typeof this.options.hideButton&&"object"===typeof this.options.hideButton.positions&&0<this.options.hideButton.positions.length&&!this.container.down(".hide-button"))for(c=this.options.hideButton.positions,a=0;a<c.length;a++)e=(new Element("button",
110{"class":"hide-button",type:"button"})).update(this.options.hideButton.text),g={},g[c[a]]=(new Element("div",{"class":"hide-button-wrapper"})).update(e),e.observe("click",this.clearSuggestions.bindAsEventListener(this)),this.container.insert(g);this.container.fire("xwiki:suggest:containerPrepared",{container:this.container,suggest:this});return this.container},createList:function(a,c){this._createList(a,c);this.isInMultiSourceMode&&this.resultContainer.down(".results.loading")||document.fire("xwiki:suggest:updated",
111{container:this.container,suggest:this})},_createList:function(a,c){this.isActive=!0;var e=this;this.killTimeout();if(this.isInMultiSourceMode){var g=this.resultContainer.down(".results"+c.id);g.removeClassName("loading");g.down(".sourceContent").removeClassName("loading");(0<a.length||this.options.shownoresults)&&g.removeClassName("hidden");this.options.unifiedLoader&&!this.resultContainer.down(".results.loading")&&(this.options.loaderNode||this.fld).removeClassName("loading")}else g=this.resultContainer;
112if(0==a.length&&!this.options.shownoresults)return!1;g.down("ul")&&g.down("ul").remove();this.container.select(".hide-button-wrapper").invoke("show");for(var f=new b.widgets.XList([],{icon:this.options.icon,classes:"suggestList",eventListeners:{click:function(n){e.setHighlightedValue(n);return!1},mouseover:function(){e.setHighlight(this.getElement())}}}),h=0,k=a.length;h<k;h++){var l=function(n){return((n||"")+"").escapeHTML()};l=(new Element("div")).insert((new Element("span",{"class":"suggestId"})).update(l(a[h].id))).insert((new Element("span",
113{"class":"suggestValue"})).update(l(a[h].value))).insert((new Element("span",{"class":"suggestInfo"})).update(l(a[h].info))).insert((new Element("span",{"class":"suggestURL"})).update(l(a[h].url)));l=new b.widgets.XListItem(this.createItemDisplay(a[h],c),{containerClasses:"suggestItem "+(a[h].type||""),value:l,noHighlight:!0,containerTagName:"a"});l.containerElement.setAttribute("href",a[h].url||"javascript:void(0)");l.listItemElement.addEventListener("focusin",n=>e.setHighlight(n.currentTarget));
114f.addItem(l)}0==a.length&&f.addItem(new b.widgets.XListItem(this.options.noresults,{classes:"noSuggestion",noHighlight:!0}));g.appendChild(f.getElement());this.suggest=g;e=this;0<this.options.timeout&&(this.toID=setTimeout(function(){e.clearSuggestions()},this.options.timeout))},createItemDisplay:function(a,c){var e=this.sInput?this.sInput.escapeHTML():this.sInput,g=((a.value||"")+"").escapeHTML();e=c.highlight?this.emphasizeMatches(e,g):g;a.hint&&(g=(a.hint+"").escapeHTML(),e+="<span class='hint'>"+
115g+"</span>");this.options.displayValue?(e=(new Element("div")).insert((new Element("div",{"class":"value"})).update(e)),a.info&&(g=a.info+"",(void 0===c.resultInfoHTML?this.options.resultInfoHTML:c.resultInfoHTML)||(g=g.escapeHTML()),e.insert((new Element("div",{"class":"info"})).update("<span class='legend'>"+this.options.displayValueText+"</span>"+g)))):e=(new Element("span",{"class":"info"})).update(e);a.icon&&(a=0<=a.icon.indexOf(".")||0<=a.icon.indexOf("/")?new Element("img",{src:a.icon,"class":"icon"}):
116new Element("i",{"class":"icon "+a.icon}),e.insert({top:a}));return e},emphasizeMatches:function(a,c){if(!a)return c;var e=c;a=a.split(/\s+/).uniq().compact();var g=0,f={};c=0;for(var h=a.length;c<h;c++)for(var k=e.toLowerCase().indexOf(a[c].toLowerCase());0<=k;){var l=e.substring(k,k+a[c].length),n="";a[c].length.times(function(){n+=" "});f[k]=l;e=e.substring(0,k)+n+e.substring(k+a[c].length);k=e.toLowerCase().indexOf(a[c].toLowerCase())}Object.keys(f).sortBy(function(m){return parseInt(m)}).each(function(m){var p=
117e.substring(0,parseInt(m)+g),q=e.substring(parseInt(m)+f[m].length+g);e=p+"<em>"+f[m]+"</em>"+q;g+=9});return e},changeHighlight:function(a){var c=this.resultContainer;if(!c)return!1;if(this.iHighlighted)if(a==Event.KEY_DOWN){var e=this.iHighlighted.next();if(!e&&this.iHighlighted.up("div.results"))for(a=this.iHighlighted.up("div.results").next();a&&!e;)e=a.down("li"),a=a.next();e||=c.down("li")}else{if(a==Event.KEY_UP){e=this.iHighlighted.previous();if(!e&&this.iHighlighted.up("div.results"))for(a=
118this.iHighlighted.up("div.results").previous();a&&!e;)e=a.down("li:last-child"),a=a.previous();e||=c.select("ul")[c.select("ul").length-1].down("li:last-child")}}else a==Event.KEY_DOWN?e=c.down("div.results")?c.down("div.results").down("li"):c.down("li"):a==Event.KEY_UP&&0<c.select("li")&&(e=c.select("li")[c.select("li").length-1]);e&&this.setHighlight(e)},setHighlight:function(a){this.iHighlighted&&this.clearHighlight();a.addClassName("xhighlight");this.iHighlighted=a;this.killTimeout()},clearHighlight:function(){this.iHighlighted&&
119(this.iHighlighted.removeClassName("xhighlight"),delete this.iHighlighted)},highlightFirst:function(){if(this.suggest&&this.suggest.down("ul")){var a=this.suggest.down("ul").down("li");a&&this.setHighlight(a)}},hasActiveSelection:function(){return this.iHighlighted},setHighlightedValue:function(a){if(this.iHighlighted&&!this.iHighlighted.hasClassName("noSuggestion")){var c=function(f){return f.textContent||f.innerText},e=this.iHighlighted.down("img.icon");c={suggest:this,id:c(this.iHighlighted.down(".suggestId")),
120value:c(this.iHighlighted.down(".suggestValue")),info:c(this.iHighlighted.down(".suggestInfo")),url:c(this.iHighlighted.down(".suggestURL")),icon:e?e.src:"",originalEvent:a};if(""==this.sInput&&""==this.fld.value)var g=e=c.value;else if(this.seps){a=-1;for(e=0;e<this.seps.length;e++)this.fld.value.lastIndexOf(this.seps.charAt(e))>a&&(a=this.fld.value.lastIndexOf(this.seps.charAt(e)));-1==a?g=e=c.value:(e=this.fld.value.substring(0,a+1)+c.value,g=e.substring(a+1))}else g=e=c.value;a=Event.fire(this.fld,
121"xwiki:suggest:selected",Object.clone(c));!a.stopped&&(this.sInput=g,this.fld.value=e,this.fld.focus(),this.clearSuggestions(),"function"==typeof this.options.callback&&this.options.callback(Object.clone(c)),0<this.fld.id.indexOf("_suggest")&&(a=this.fld.id.substring(0,this.fld.id.indexOf("_suggest")),a=$(a)))&&(a.value=c.info)}},killTimeout:function(){clearTimeout(this.toID)},resetTimeout:function(a){a||=1E3;clearTimeout(this.toID);var c=this;this.toID=setTimeout(function(){c.clearSuggestions()},
122a)},clearSuggestions:function(){this.clearHighlight();this.killTimeout();this.isActive=!1;var a=$(this.container),c=this;a&&a.parentNode&&(this.options.fadeOnClear&&window.Effect?new Effect.Fade(a,{duration:"0.25",afterFinish:function(){$(c.container)&&$(c.container).remove()}}):$(this.container).remove(),document.fire("xwiki:suggest:clearSuggestions",{suggest:this}))},detach:function(){this.fld&&(Event.stopObserving(this.fld,"keyup",this.onKeyUp),Prototype.Browser.IE||Prototype.Browser.WebKit?Event.stopObserving(this.fld,
123"keydown",this.onKeyPress):Event.stopObserving(this.fld,"keypress",this.onKeyPress),this.clearSuggestions(),this.fld.__x_suggest=null,this.fld.setAttribute("autocomplete","on"))}});return b}(XWiki||{});
124//# sourceMappingURL=xwiki.bundle.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.