PageSourceSearch

https://www.wgu.edu/etc.clientlibs/wgu/clientlibs/clientlib-list.min.js

js wgu.edu collected 2026-10-01 08:49:35 UTC 3,374 bytes, 1 lines download raw bytes

1!function(){var t={424:function(){!function(){const t=".cmp-list-dynamic",e="data-vue-initialized";function n(t,e){const n=parseInt(t,10);return Number.isFinite(n)?n:e}function o(t,e,n=""){const o=t.getAttribute(e);return null==o?n:o}function r(t){t&&1===t.nodeType&&!t.hasAttribute(e)&&(t.setAttribute(e,"true"),new Vue({el:t,data:{searchresults:[],listData:[],componentPath:"",ctaText:"Read More",offset:0,hasMore:!1,limit:6,html:"",tags:"",authorTags:"",reviewerTags:"",path:"",sortOrder:"",matchAny:""},mounted:function(){this.componentPath=o(this.$el,"data-componentPath",""),this.ctaText=o(this.$el,"data-ctaText","Read More"),this.tags=o(this.$el,"data-tags",""),this.authorTags=o(this.$el,"data-authorTags",""),this.reviewerTags=o(this.$el,"data-reviewerTags",""),this.path=o(this.$el,"data-tagssearchroot",""),this.sortOrder=o(this.$el,"data-sortOrder",""),this.limit=n(o(this.$el,"data-limit","6"),6),this.matchAny=o(this.$el,"data-matchAny",""),this.offset=n(o(this.$el,"data-offset","0"),0),this.doRequest()},methods:{doRequest:function(){let t=this,e="?path="+encodeURIComponent(t.path)+"&tags="+encodeURIComponent(t.tags)+"&authorTags="+encodeURIComponent(t.authorTags)+"&reviewerTags="+encodeURIComponent(t.reviewerTags)+"&limit="+encodeURIComponent(t.limit)+"&offset="+encodeURIComponent(t.offset)+"&sortOrder="+encodeURIComponent(t.sortOrder)+"&matchAny="+encodeURIComponent(t.matchAny);window.fetch(window.location.origin+"/bin/wgu-65/api/list"+e,{method:"GET",headers:new Headers({"Content-Type":"application/json;charset=utf-8"})}).then(function(t){return t.json()}).then(function(e){let n=t.setCTAText(e);0===t.searchresults.length?t.searchresults=n:n.forEach(e=>t.searchresults.push(e)),t.hasMore=!!e.hasMore,t.$nextTick(function(){!function(t){t&&t.dispatchEvent(new CustomEvent("wgu:list:updated",{bubbles:!0}))}(t.$el)})}).catch(function(t){console.error("Dynamic list fetch failed",t)})},setCTAText:function(t){const e=t&&t.items?t.items:[];for(let t=0;t<e.length;t++)e[t].ctaText=this.ctaText;return e},loadMore:function(){this.offset=this.offset+this.limit,this.doRequest()}}}))}function s(t){if(!("IntersectionObserver"in window))return void r(t);const e=new IntersectionObserver(n=>{n.forEach(n=>{n.isIntersecting&&(e.disconnect(),r(t))})},{root:null,rootMargin:"800px 0px",threshold:0});e.observe(t)}function i(){document.querySelectorAll(t).forEach(s)}if("loading"===document.readyState?document.addEventListener("DOMContentLoaded",i,{once:!0}):i(),"MutationObserver"in window){new MutationObserver(e=>{for(const n of e)for(const e of n.addedNodes||[])1===e.nodeType&&(e.matches?.(t)&&s(e),e.querySelectorAll?.(t).forEach(s))}).observe(document.documentElement,{childList:!0,subtree:!0})}}()}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={exports:{}};return t[o](s,s.exports,n),s.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){if(Array.isArray(e))for(var o=0;o<e.length;){var r=e[o++],s=e[o++];n.o(t,r)?0===s&&o++:0===s?Object.defineProperty(t,r,{enumerable:!0,value:e[o++]}):Object.defineProperty(t,r,{enumerable:!0,get:s})}else for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";n(424)}()}();

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.