PageSourceSearch

https://hls-dhs-dss.ch/resources/uicomponents/suggest/suggestUsers…?cache-version%5Cx3d1741701578000

js hls-dhs-dss.ch collected 2026-10-01 11:24:59 UTC 2,195 bytes, 6 lines download raw bytes

1'use strict';define("xwiki-selectize-utils",["jquery"],function(b){var k=function(d,f){return function(c){return c.length<f.limit?d.call(null,f).then(function(a){Array.isArray(a)&&(c.push.apply(c,a.slice(0,f.limit-c.length)),c.sort(h));return c},function(){return c}):c}},h=function(d,f){return d.label.localeCompare(f.label)};return{loadSuggestions:function(d,f){return d.reduce(function(c,a){return c.then(k(a,f))},Promise.resolve([]))}}});
2define("xwiki-suggestUsers",["jquery","xwiki-selectize-utils","xwiki-selectize"],function(b,k){var h=function(a){return{create:!0,load:function(e,g){d(a.attr("data-userScope"),{input:e,limit:10}).then(g,g)},loadSelected:function(e,g){d(a.attr("data-userScope"),{input:e,limit:1,exactMatch:!0}).then(g,g)}}},d=function(a,e){return"LOCAL_AND_GLOBAL"===a?k.loadSuggestions([c,f],e):"GLOBAL_ONLY"===a?f(e):c(e)},f=function(a){return c(b.extend(a,{wiki:"global"}))},c=function(a){return b.getJSON(XWiki.currentDocument.getURL("get"),
3b.extend(a,{xpage:"uorgsuggest",media:"json",uorg:"user"}))};b.fn.suggestUsers=function(a){return this.each(function(){b(this).xwikiSelectize(b.extend(h(b(this)),a))})};return{loadUsers:d}});
4define("xwiki-suggestGroups",["jquery","xwiki-selectize-utils","xwiki-selectize"],function(b,k){var h=function(a){return{create:!0,load:function(e,g){d(a.attr("data-userScope"),{input:e,limit:10}).then(g,g)},loadSelected:function(e,g){d(a.attr("data-userScope"),{input:e,exactMatch:!0}).then(g,g)}}},d=function(a,e){return XWiki.currentWiki!==XWiki.mainWiki&&"LOCAL_ONLY"!==a?k.loadSuggestions([c,f],e):c(e)},f=function(a){return c(b.extend(a,{wiki:"global"}))},c=function(a){return b.getJSON(XWiki.currentDocument.getURL("get"),
5b.extend(a,{xpage:"uorgsuggest",media:"json",uorg:"group"}))};b.fn.suggestGroups=function(a){return this.each(function(){b(this).xwikiSelectize(b.extend(h(b(this)),a))})}});require(["jquery","xwiki-suggestUsers","xwiki-suggestGroups","xwiki-events-bridge"],function(b){var k=function(h,d){h=b(d&&d.elements||document);h.find(".suggest-users").suggestUsers();h.find(".suggest-groups").suggestGroups()};b(document).on("xwiki:dom:updated",k);b(k)});
6//# sourceMappingURL=suggestUsersAndGroups.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.