PageSourceSearch

https://yourcloudlibrary.com/apps/oclc/components/page/oclcbase/ggclientlibs.min.js

js yourcloudlibrary.com collected 2026-10-01 10:27:48 UTC 2,981 bytes, 6 lines download raw bytes

1(function(d){d(function(){function h(){return(new Date).getTime()}function u(a){var b=c.attr("aria-expanded");a=a?"true":"false";b!==a&&c.attr("aria-expanded",a)}function n(){h()<k||c.hasClass("gateway-open")||(c.addClass("gateway-open"),e.show(),u(!0),e.attr("aria-hidden","false"),e.find(".language a[role\x3d'menuitem']").removeAttr("tabindex"))}function g(){c.hasClass("gateway-open")&&(c.removeClass("gateway-open"),e.hide(),u(!1),e.attr("aria-hidden","true"),e.find(".language a[role\x3d'menuitem']").attr("tabindex",
2"-1"))}function v(a){a=a.attr("id");d.cookie("oclc_website",null,{path:"/"});d.cookie("oclc_website",a,{expires:365,path:"/;SameSite\x3dLax",secure:!0})}function w(){return d('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex\x3d"-1"])').filter(function(){return d(this).is(":visible")&&"hidden"!==d(this).css("visibility")})}function x(){var a=w(),b=a.index(c[0]);return 0<=b&&b<a.length-1?a.eq(b+1):null}function y(){var a=
3w(),b=a.index(c[0]);return 0<b?a.eq(b-1):null}var c=d("#region-select"),e=d("#global-gateway"),l=d(".region-language"),k=0,p="ontouchstart"in window||0<navigator.maxTouchPoints,q=!1;l.bind("clickoutside",function(){c.hasClass("gateway-open")&&(g(),c.focus())});if(p)d(document).on("touchend",function(a){if(c.hasClass("gateway-open")){var b=a.target,f=d(b);a=l.is(f)||l.has(b).length||d.contains(l[0],b);var m=e.is(f)||e.has(b).length||d.contains(e[0],b);b=c.is(f)||c.has(b).length||d.contains(c[0],b);
4a||m||b||(g(),c.focus())}});d(window).on("blur",function(){g()});if(p)c.on("touchend",function(a){a.preventDefault();q=!0;c.hasClass("gateway-open")?(g(),k=h()+200):n();setTimeout(function(){q=!1},300)});c.on("click",function(a){p&&q?a.preventDefault():(a.preventDefault(),c.hasClass("gateway-open")?(g(),k=h()+200):n())});l.on("focusout",function(a){(a=a.relatedTarget)&&d.contains(this,a)||g()});c.on("keydown",function(a){var b=a.which||a.keyCode;if(13===b||32===b)if(a.preventDefault(),c.hasClass("gateway-open"))g(),
5k=h()+200;else{n();var f=e.find(".language a").first();f.length&&setTimeout(function(){f.focus()},0)}else 27===b&&c.hasClass("gateway-open")&&(a.preventDefault(),g(),k=h()+200,c.focus())});l.on("keydown",".language a",function(a){var b=a.which||a.keyCode,f=e.find(".language a"),m=f.index(this);if(27===b)a.preventDefault(),g(),k=h()+200,c.focus();else if(38===b)a.preventDefault(),0<m&&f.eq(m-1).focus();else if(40===b)a.preventDefault(),m<f.length-1&&f.eq(m+1).focus();else if(9===b)if(a.preventDefault(),
6g(),k=h()+200,a.shiftKey){var r=y();r&&r.length&&setTimeout(function(){r.focus()},0)}else{var t=x();t&&t.length&&setTimeout(function(){t.focus()},0)}else 32===b&&(a.preventDefault(),a=d(this),b=a.attr("href"),"function"===typeof d.cookie&&v(a),b&&(window.location.href=b))});d(document.body).on("click",".language a",function(){v(d(this))});e.find(".language a[role\x3d'menuitem']").attr("tabindex","-1")})})(jQuery);

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.