PageSourceSearch

https://careers.ccs.spokane.edu/assets/railsujs-b26e7859.js

js spokane.edu collected 2026-10-01 11:59:07 UTC 13,767 bytes, 3 lines download raw bytes

1var e="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:global;var t={};(function(){var n=this||e;(function(){(function(){(this||e).Rails={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:{selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",formDisableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",formEnableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]"}}).call(this||e)}).call(n);var a=n.Rails;(function(){(function(){var e;e=null;a.loadCSPNonce=function(){var t;return e=null!=(t=document.querySelector("meta[name=csp-nonce]"))?t.content:void 0};a.cspNonce=function(){return null!=e?e:a.loadCSPNonce()}}).call(this||e);(function(){var e,t;t=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector;a.matches=function(e,n){return null!=n.exclude?t.call(e,n.selector)&&!t.call(e,n.exclude):t.call(e,n)};e="_ujsData";a.getData=function(t,n){var a;return null!=(a=t[e])?a[n]:void 0};a.setData=function(t,n,a){null==t[e]&&(t[e]={});return t[e][n]=a};a.$=function(e){return Array.prototype.slice.call(document.querySelectorAll(e))}}).call(this||e);(function(){var e,t,n;e=a.$;n=a.csrfToken=function(){var e;e=document.querySelector("meta[name=csrf-token]");return e&&e.content};t=a.csrfParam=function(){var e;e=document.querySelector("meta[name=csrf-param]");return e&&e.content};a.CSRFProtection=function(e){var t;t=n();if(null!=t)return e.setRequestHeader("X-CSRF-Token",t)};a.refreshCSRFTokens=function(){var a,r;r=n();a=t();if(null!=r&&null!=a)return e('form input[name="'+a+'"]').forEach((function(e){return e.value=r}))}}).call(this||e);(function(){var t,n,r,o;r=a.matches;t=window.CustomEvent;if("function"!==typeof t){t=function(e,t){var n;n=document.createEvent("CustomEvent");n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail);return n};t.prototype=window.Event.prototype;o=t.prototype.preventDefault;t.prototype.preventDefault=function(){var t;t=o.call(this||e);(this||e).cancelable&&!(this||e).defaultPrevented&&Object.defineProperty(this||e,"defaultPrevented",{get:function(){return true}});return t}}n=a.fire=function(e,n,a){var r;r=new t(n,{bubbles:true,cancelable:true,detail:a});e.dispatchEvent(r);return!r.defaultPrevented};a.stopEverything=function(e){n(e.target,"ujs:everythingStopped");e.preventDefault();e.stopPropagation();return e.stopImmediatePropagation()};a.delegate=function(e,t,n,a){return e.addEventListener(n,(function(e){var n;n=e.target;while(!(!(n instanceof Element)||r(n,t)))n=n.parentNode;if(n instanceof Element&&false===a.call(n,e)){e.preventDefault();return e.stopPropagation()}}))}}).call(this||e);(function(){var e,t,n,r,o,i;r=a.cspNonce,t=a.CSRFProtection,a.fire;e={"*":"*/*",text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript",script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"};a.ajax=function(e){var t;e=o(e);t=n(e,(function(){var n,a;a=i(null!=(n=t.response)?n:t.responseText,t.getResponseHeader("Content-Type"));2===Math.floor(t.status/100)?"function"===typeof e.success&&e.success(a,t.statusText,t):"function"===typeof e.error&&e.error(a,t.statusText,t);return"function"===typeof e.complete?e.complete(t,t.statusText):void 0}));return!(null!=e.beforeSend&&!e.beforeSend(t,e))&&(t.readyState===XMLHttpRequest.OPENED?t.send(e.data):void 0)};o=function(t){t.url=t.url||location.href;t.type=t.type.toUpperCase();"GET"===t.type&&t.data&&(t.url.indexOf("?")<0?t.url+="?"+t.data:t.url+="&"+t.data);null==e[t.dataType]&&(t.dataType="*");t.accept=e[t.dataType];"*"!==t.dataType&&(t.accept+=", */*; q=0.01");return t};n=function(e,n){var a;a=new XMLHttpRequest;a.open(e.type,e.url,true);a.setRequestHeader("Accept",e.accept);"string"===typeof e.data&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");if(!e.crossDomain){a.setRequestHeader("X-Requested-With","XMLHttpRequest");t(a)}a.withCredentials=!!e.withCredentials;a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE)return n(a)};return a};i=function(e,t){var n,a;if("string"===typeof e&&"string"===typeof t)if(t.match(/\bjson\b/))try{e=JSON.parse(e)}catch(e){}else if(t.match(/\b(?:java|ecma)script\b/)){a=document.createElement("script");a.setAttribute("nonce",r());a.text=e;document.head.appendChild(a).parentNode.removeChild(a)}else if(t.match(/\b(xml|html|svg)\b/)){n=new DOMParser;t=t.replace(/;.+/,"");try{e=n.parseFromString(e,t)}catch(e){}}return e};a.href=function(e){return e.href};a.isCrossDomain=function(e){var t,n;t=document.createElement("a");t.href=location.href;n=document.createElement("a");try{n.href=e;return!((!n.protocol||":"===n.protocol)&&!n.host||t.protocol+"//"+t.host===n.protocol+"//"+n.host)}catch(e){e;return true}}}).call(this||e);(function(){var e,t;e=a.matches;t=function(e){return Array.prototype.slice.call(e)};a.serializeElement=function(n,a){var r,o;r=[n];e(n,"form")&&(r=t(n.elements));o=[];r.forEach((function(n){if(n.name&&!n.disabled)return e(n,"select")?t(n.options).forEac
1h((function(e){if(e.selected)return o.push({name:n.name,value:e.value})})):n.checked||-1===["radio","checkbox","submit"].indexOf(n.type)?o.push({name:n.name,value:n.value}):void 0}));a&&o.push(a);return o.map((function(e){return null!=e.name?encodeURIComponent(e.name)+"="+encodeURIComponent(e.value):e})).join("&")};a.formElements=function(n,a){return e(n,"form")?t(n.elements).filter((function(t){return e(t,a)})):t(n.querySelectorAll(a))}}).call(this||e);(function(){var t,n,r;n=a.fire,r=a.stopEverything;a.handleConfirm=function(n){if(!t(this||e))return r(n)};t=function(e){var t,a,r;r=e.getAttribute("data-confirm");if(!r)return true;t=false;if(n(e,"confirm")){try{t=confirm(r)}catch(e){}a=n(e,"confirm:complete",[t])}return t&&a}}).call(this||e);(function(){var t,n,r,o,i,l,u,c,s,d,m;s=a.matches,c=a.getData,d=a.setData,m=a.stopEverything,u=a.formElements;a.handleDisabledElement=function(t){var n;n=this||e;if(n.disabled)return m(t)};a.enableElement=function(e){var t;t=e instanceof Event?e.target:e;return s(t,a.linkDisableSelector)?l(t):s(t,a.buttonDisableSelector)||s(t,a.formEnableSelector)?o(t):s(t,a.formSubmitSelector)?i(t):void 0};a.disableElement=function(e){var o;o=e instanceof Event?e.target:e;return s(o,a.linkDisableSelector)?r(o):s(o,a.buttonDisableSelector)||s(o,a.formDisableSelector)?t(o):s(o,a.formSubmitSelector)?n(o):void 0};r=function(e){var t;t=e.getAttribute("data-disable-with");if(null!=t){d(e,"ujs:enable-with",e.innerHTML);e.innerHTML=t}e.addEventListener("click",m);return d(e,"ujs:disabled",true)};l=function(e){var t;t=c(e,"ujs:enable-with");if(null!=t){e.innerHTML=t;d(e,"ujs:enable-with",null)}e.removeEventListener("click",m);return d(e,"ujs:disabled",null)};n=function(e){return u(e,a.formDisableSelector).forEach(t)};t=function(e){var t;t=e.getAttribute("data-disable-with");if(null!=t)if(s(e,"button")){d(e,"ujs:enable-with",e.innerHTML);e.innerHTML=t}else{d(e,"ujs:enable-with",e.value);e.value=t}e.disabled=true;return d(e,"ujs:disabled",true)};i=function(e){return u(e,a.formEnableSelector).forEach(o)};o=function(e){var t;t=c(e,"ujs:enable-with");if(null!=t){s(e,"button")?e.innerHTML=t:e.value=t;d(e,"ujs:enable-with",null)}e.disabled=false;return d(e,"ujs:disabled",null)}}).call(this||e);(function(){var t;t=a.stopEverything;a.handleMethod=function(n){var r,o,i,l,u,c,s;c=this||e;s=c.getAttribute("data-method");if(s){u=a.href(c);o=a.csrfToken();r=a.csrfParam();i=document.createElement("form");l="<input name='_method' value='"+s+"' type='hidden' />";null==r||null==o||a.isCrossDomain(u)||(l+="<input name='"+r+"' value='"+o+"' type='hidden' />");l+='<input type="submit" />';i.method="post";i.action=u;i.target=c.target;i.innerHTML=l;i.style.display="none";document.body.appendChild(i);i.querySelector('[type="submit"]').click();return t(n)}}}).call(this||e);(function(){var t,n,r,o,i,l,u,c,s,d=[].slice;l=a.matches,r=a.getData,c=a.setData,n=a.fire,s=a.stopEverything,t=a.ajax,o=a.isCrossDomain,u=a.serializeElement;i=function(e){var t;t=e.getAttribute("data-remote");return null!=t&&"false"!==t};a.handleRemote=function(m){var f,p,b,h,v,S,y;h=this||e;if(!i(h))return true;if(!n(h,"ajax:before")){n(h,"ajax:stopped");return false}y=h.getAttribute("data-with-credentials");b=h.getAttribute("data-type")||"script";if(l(h,a.formSubmitSelector)){f=r(h,"ujs:submit-button");v=r(h,"ujs:submit-button-formmethod")||h.method;S=r(h,"ujs:submit-button-formaction")||h.getAttribute("action")||location.href;"GET"===v.toUpperCase()&&(S=S.replace(/\?.*$/,""));if("multipart/form-data"===h.enctype){p=new FormData(h);null!=f&&p.append(f.name,f.value)}else p=u(h,f);c(h,"ujs:submit-button",null);c(h,"ujs:submit-button-formmethod",null);c(h,"ujs:submit-button-formaction",null)}else if(l(h,a.buttonClickSelector)||l(h,a.inputChangeSelector)){v=h.getAttribute("data-method");S=h.getAttribute("data-url");p=u(h,h.getAttribute("data-params"))}else{v=h.getAttribute("data-method");S=a.href(h);p=h.getAttribute("data-params")}t({type:v||"GET",url:S,data:p,dataType:b,beforeSend:function(e,t){if(n(h,"ajax:beforeSend",[e,t]))return n(h,"ajax:send",[e]);n(h,"ajax:stopped");return false},success:function(){var e;e=1<=arguments.length?d.call(arguments,0):[];return n(h,"ajax:success",e)},error:function(){var e;e=1<=arguments.length?d.call(arguments,0):[];return n(h,"ajax:error",e)},complete:function(){var e;e=1<=arguments.length?d.call(arguments,0):[];return n(h,"ajax:complete",e)},crossDomain:o(S),withCredentials:null!=y&&"false"!==y});return s(m)};a.formSubmitButtonClick=function(t){var n,a;n=this||e;a=n.form;if(a){n.name&&c(a,"ujs:submit-button",{name:n.name,value:n.value});c(a,"ujs:formnovalidate-button",n.formNoValidate);c(a,"ujs:submit-button-formaction",n.getAttribute("formaction"));return c(a,"ujs:submit-button-formmethod",n.getAttribute("formmethod"))}};a.preventInsignificantClick=function(t){var n,a,r,o,i,l;r=this||e;i=(r.getAttribute("data-method")||"GET").toUpperCase();n=r.getAttribute("data-params");o=t.metaKey||t.ctrlKey;a=o&&"GET"===i&&!n;l=null!=t.button&&0!==t.button;if(l||a)return t.stopImmediatePropagation()}}).call(this||e);(function(){var e,t,n,r,o,i,l,u,c,s,d,m,f,p,b;i=a.fire,n=a.delegate,u=a.getData,e=a.$,b=a.refreshCSRFTokens,t=a.CSRFProtection,f=a.loadCSPNonce,o=a.enableElement,r=a.disableElement,s=a.handleDisabledElement,c=a.handleConfirm,p=a.preventInsignificantClick,m=a.handleRemote,l=a.formSubmitButtonClick,d=a.handleMethod;if("undefined"!==typeof jQuery&&null!==jQuery&&null!=jQuery.ajax){if(jQuery.rails)throw new Error("If you load both jquery_ujs and rails-u
1js, use rails-ujs only.");jQuery.rails=a;jQuery.ajaxPrefilter((function(e,n,a){if(!e.crossDomain)return t(a)}))}a.start=function(){if(window._rails_loaded)throw new Error("rails-ujs has already been loaded!");window.addEventListener("pageshow",(function(){e(a.formEnableSelector).forEach((function(e){if(u(e,"ujs:disabled"))return o(e)}));return e(a.linkDisableSelector).forEach((function(e){if(u(e,"ujs:disabled"))return o(e)}))}));n(document,a.linkDisableSelector,"ajax:complete",o);n(document,a.linkDisableSelector,"ajax:stopped",o);n(document,a.buttonDisableSelector,"ajax:complete",o);n(document,a.buttonDisableSelector,"ajax:stopped",o);n(document,a.linkClickSelector,"click",p);n(document,a.linkClickSelector,"click",s);n(document,a.linkClickSelector,"click",c);n(document,a.linkClickSelector,"click",r);n(document,a.linkClickSelector,"click",m);n(document,a.linkClickSelector,"click",d);n(document,a.buttonClickSelector,"click",p);n(document,a.buttonClickSelector,"click",s);n(document,a.buttonClickSelector,"click",c);n(document,a.buttonClickSelector,"click",r);n(document,a.buttonClickSelector,"click",m);n(document,a.inputChangeSelector,"change",s);n(document,a.inputChangeSelector,"change",c);n(document,a.inputChangeSelector,"change",m);n(document,a.formSubmitSelector,"submit",s);n(document,a.formSubmitSelector,"submit",c);n(document,a.formSubmitSelector,"submit",m);n(document,a.formSubmitSelector,"submit",(function(e){return setTimeout((function(){return r(e)}),13)}));n(document,a.formSubmitSelector,"ajax:send",r);n(document,a.formSubmitSelector,"ajax:complete",o);n(document,a.formInputClickSelector,"click",p);n(document,a.formInputClickSelector,"click",s);n(document,a.formInputClickSelector,"click",c);n(document,a.formInputClickSelector,"click",l);document.addEventListener("DOMContentLoaded",b);document.addEventListener("DOMContentLoaded",f);return window._rails_loaded=true};window.Rails===a&&i(document,"rails:attachBindings")&&a.start()}).call(this||e)}).call(this||e);t&&(t=a)}).call(t);var n=t;export{n as default};
2
3//

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.