PageSourceSearch

https://cancer.be/wp-content/themes/fcc/assets/build/ResourcesJS.9c5edbc5.js?ver=1.0.0

js cancer.be collected 2026-09-24 18:19:47 UTC 17,458 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={6799(e,t,r){var n=()=>r(43724),o=()=>r(46518),a=()=>r(79039),i=()=>r(79504),u=()=>r(39297),c=()=>r(24913),s=r.cw(function(e,t){var o=n(),u=a(),c=i(),s=r(42787),f=r(71072),h=l(),v=c(r(48773).f),d=c([].push),p=o&&u(function(){var e=Object.create(null);return e[2]=2,!v(e,2)}),y=function(e){return function(t){for(var r,n=h(t),a=f(n),i=p&&null===s(n),u=a.length,c=0,l=[];u>c;)r=a[c++],o&&!(i?r in n:v(n,r))||d(l,e?[r,n[r]]:n[r]);return l}};e.exports={j:y(!0),...void y(!1)}}),l=()=>r(25397),f=()=>r(78227),h=r.cw(function(e,t){var n=u(),o=r(36840),a=r(53640),i=f()("toPrimitive"),c=Date.prototype;n(c,i)||o(c,i,a)}),v=r.cw(function(e,t){var s=o(),l=r(96395),f=n(),h=r(44576),v=r(19167),d=i(),p=r(92796),y=u(),g=r(23167),m=r(1625),b=r(10757),w=r(72777),S=a(),x=r(38480).f,j=r(77347).f,I=c().f,O=r(31240),k=r(43802).Bq,E="Number",_=h[E],A=v[E],T=_.prototype,L=h.TypeError,N=d("".slice),P=d("".charCodeAt),C=function(e){var t,r,n,o,a,i,u,c,s=w(e,"number");if(b(s))throw new L("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=k(s),43===(t=P(s,0))||45===t){if(88===(r=P(s,2))||120===r)return NaN}else if(48===t){switch(P(s,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(i=(a=N(s,2)).length,u=0;u<i;u++)if((c=P(a,u))<48||c>o)return NaN;return parseInt(a,n)}return+s},R=p(E,!_(" 0o1")||!_("0b1")||_("+0x1")),U=function(e){var t,r=arguments.length<1?0:_(function(e){var t=w(e,"number");return"bigint"==typeof t?t:C(t)}(e));return m(T,t=this)&&S(function(){O(t)})?g(Object(r),this,U):r};U.prototype=T,R&&!l&&(T.constructor=U),s({global:!0,constructor:!0,wrap:!0,forced:R},{Number:U});var $=function(e,t){for(var r,n=f?x(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),o=0;n.length>o;o++)y(t,r=n[o])&&!y(e,r)&&I(e,r,j(t,r))};l&&A&&$(v[E],A),(R||l)&&$(v[E],_)}),d=r.cw(function(e,t){var r=o(),a=n(),i=c().f;r({target:"Object",stat:!0,forced:Object.defineProperty!==i,sham:!a},{defineProperty:i})}),p=r.cw(function(e,t){var r=o(),n=s().j;r({target:"Object",stat:!0},{entries:function(e){return n(e)}})}),y=r.cw(function(e,t){var n=r(18745),o=r(69565),u=i(),c=r(89228),s=a(),l=r(28551),h=r(94901),v=r(20034),d=r(91291),p=r(18014),y=r(655),g=r(67750),m=r(57829),b=r(55966),w=r(2478),S=r(61034),x=r(56682),j=f()("replace"),I=Math.max,O=Math.min,k=u([].concat),E=u([].push),_=u("".indexOf),A=u("".slice),T=function(e){return void 0===e?e:String(e)},L="$0"==="a".replace(/./,"$0"),N=!!/./[j]&&""===/./[j]("a","$0");c("replace",function(e,t,r){var a=N?"$":"$0";return[function(e,r){var n=g(this),a=v(e)?b(e,j):void 0;return a?o(a,e,n,r):o(t,y(n),e,r)},function(e,o){var i=l(this),u=y(e),c=h(o);c||(o=y(o));var s=y(S(i));if("string"==typeof o&&!~_(o,a)&&!~_(o,"$<")&&!~_(s,"y")){var f=r(t,i,u,o);if(f.done)return f.value}var v,g=!!~_(s,"g");g&&(v=!!~_(s,"u")||!!~_(s,"v"),i.lastIndex=0);for(var b,j=[];null!==(b=x(i,u))&&(E(j,b),g);){""===y(b[0])&&(i.lastIndex=m(u,p(i.lastIndex),v))}for(var L="",N=0,P=0;P<j.length;P++){for(var C,R=y((b=j[P])[0]),U=I(O(d(b.index),u.length),0),$=[],F=1;F<b.length;F++)E($,T(b[F]));var M=b.groups;if(c){var q=k([R],$,U,u);void 0!==M&&E(q,M),C=y(n(o,void 0,q))}else C=w(R,u,U,$,M,o);U>=N&&(L+=A(u,N,U)+C,N=U+R.length)}return L+A(u,N)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!L||N)}),g=r.cw(function(e,t){var n=r(70511),o=r(58242);n("toPrimitive"),o()});r(52675),r(89463),r(2259);g();r(23418),r(64346),r(23792),r(34782);h();r(23288),r(62010);v(),d(),p();r(26099),r(3362),r(27495),r(38781),r(47764);y();r(62953),r(48408);var m=r(78019),b=r.n(m);function w(e){return w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w(e)}function S(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=w(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=w(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==w(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,u=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;
1!(c=(n=a.call(r)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return u}}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){if(e){if("string"==typeof e)return I(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(e,t):void 0}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var O=new(b())(document.getElementById("tool__filter_subjects"),{searchEnabled:!1}),k=new(b())(document.getElementById("tool__filter_cat3"),{searchEnabled:!1}),E=new URLSearchParams(window.location.href.toString().split("?")[1]),_={};if(Array.from(E).length>0){var A,T=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=j(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw a}}}}(E.entries());try{for(T.s();!(A=T.n()).done;){var L=x(A.value,2),N=L[0],P=L[1];_[N]=P}}catch(e){T.e(e)}finally{T.f()}}function C(){var e=event.target.closest(".c-select").dataset.filterGroup,t=event.target.value;_[e]=event.target.value,function(e,t){var r=history.state;r?r[e]=t:r=S({},e,t);t||delete r[e];for(var n="",o=0,a=Object.entries(r);o<a.length;o++){var i=x(a[o],2);n+="&"+i[0]+"="+i[1]}(n=n.replace(/&/,"?")).length>0?history.pushState(r,"",n):history.replaceState({},"",location.pathname)}(e,t),function(e){var t="";for(var r in e)t+=e[r]}(_)}document.addEventListener("change",function(e){e.target&&e.target.matches(".js-form_filter")&&($(1),C()),e.target&&e.target.matches("#post-types-filter")&&(!function(){var e=new FormData(document.querySelector(".news-filter-form"));e.append("action","filter-subject");var t=new URLSearchParams(e);fetch(urls.ajax,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:t}).then(function(e){return e.json()}).then(function(e){e.success&&O.setChoices(e.data.subjects,"slug","name",!0)})}(),F(),C()),e.target&&e.target.matches("#tool__filter_subjects")&&(F(),C())}),document.addEventListener("click",function(e){e.target&&e.target.matches(".paginate")&&$(e.target.dataset.pagination)});var R=document.querySelector(".news__grid"),U=document.querySelector(".news__pagination");function $(e){var t=new FormData(document.querySelector(".news-filter-form"));t.append("action","filter-resources"),t.append("pagination",e);var r=new URLSearchParams(t);fetch(urls.ajax,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:r}).then(function(e){return e.json()}).then(function(t){t.success?(e>1?R.insertAdjacentHTML("beforeend",t.data.results):R.innerHTML=t.data.results,U.innerHTML=t.data.pagination,document.querySelector(".search__results__count").innerHTML=t.data.total_results):console.log("error")})}function F(){var e=new FormData(document.querySelector(".news-filter-form"));e.append("action","filter-years");var t=new URLSearchParams(e);fetch(urls.ajax,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache"},body:t}).then(function(e){return e.json()}).then(function(e){e.success&&k.setChoices(e.data.years,"slug","name",!0)})}},57829(e,t,r){var n=r(68183).o;e.exports=function(e,t,r){return t+(r&&n(e,t).length||1)}},59213(e,t,r){var n=r(76080),o=r(47055),a=r(48981),i=r(26198),u=r(1469),c=r(97040),s=function(e){var t=1===e,r=2===e,s=3===e,l=4===e,f=6===e,h=7===e,v=5===e||f;return function(d,p,y){for(var g,m,b=a(d),w=o(b),S=i(w),x=n(p,y),j=0,I=0,O=t?u(d,S):r||h?u(d,0):void 0;S>j;j++)if((v||j in w)&&(m=x(g=w[j],j,b),e))if(t)c(O,j,m);else if(m)switch(e){case 3:return!0;case 5:return g;case 6:return j;case 2:c(O,I++,g)}else switch(e){case 4:return!1;case 7:c(O,I++,g)}return f?-1:s||l?l:O}};e.exports={jJ:s(0),...void s(1),...void s(2),...void s(3),...void s(4),...void s(5),...void s(6),...void s(7)}},87433(e,t,r){var n=r(34376),o=r(33517),a=r(20034),i=r(78227)("species"),u=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===u||n(t.prototype))||a(t)&&null===(t=t[i]))&&(t=void 0)),void 0===t?u:t}},1469(e,t,r){var n=r(87433);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},97040(e,t,r){var n=r(43724),o=r(24913),a=r(6980);e.exports=function(e,t,r){n?o.f(e,t,a(0,r)):e[t]=r}},53640(e,t,r){var n=r(28551),o=r(84270),a=TypeError;e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw new a("Incorrect hint");return o(this,e)}},2478(e,t,r){var n=r(79504),o=r(48981),a=Math.floor,i=n("".charAt),u=n("".replace),c=n("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,h){var v=r+e.length,d=n.length,p=l;return void 0!==f&&(f=o(f),p=s),u(h,p,function(o,u){var s;switch(i(u,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,v);case"<":s=f[c(u,1,-1)];break;default:var l=+u;if(0===l)return o;if(l>d){var h=a(l/10);return 0===h?o:h<=d?void 0===n[h-1]?i(u,1):n[h-1]+i(u,1):o}s=n[l-1]}return void 0===s?"":s})}},23167(e,t,r){var n=r(94901),o=r(20034),a=r(52967);e.exports=function(e,t,r){var i,u;return a&&n(i=t.constructor)&&i!==r&&o(u=i.prototype)&&u!==r.prototype&&a(e,u),e}},34376(e,t,r){var n=r(22195);e.exports=Array.isArray||function(e){return"Array"===n(e)}},48773(e,t){var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},68183(e,t,r){var n=r(79504),o=r(91291),a=r(655),i=r(67750),u=n("".charAt),c=n("".charCodeAt),s=n("".slice),l=function(e){return function(t,r){var n,l,f=a(i(t)),h=o(r),v=f.length;return h<0||h>=v?e?"":void 0:(n=c(f,h))<55296||n>56319||h+1===v||(l=c(f,h+1))<56320||l>57343?e?u(f,h):n:e?s(f,h,h+2):l-56320+(n-55296<<10)+65536}};e.exports={...void l(!1),o:l(!0)}},98406(e,t,r){r(23792);var n=r(46518),o=r(44576),a=r(93389),i=r(69565),u=r(79504),c=r(43724),s=r(67416),l=r(70918),f=r(36840),h=r(62106),v=r(56279),d=r
vendor: 3,191 bytes, line 1
1(10687),p=r(33994),y=r(91181),g=r(90679),m=r(94901),b=r(39297),w=r(76080),S=r(36955),x=r(28551),j=r(20034),I=r(655),O=r(2360),k=r(6980),E=r(18563),_=r(63085),A=r(62529),T=r(22812),L=r(78227),N=r(74488),P=L("iterator"),C="URLSearchParams",R=C+"Iterator",U=y.set,$=y.getterFor(C),F=y.getterFor(R),M=l.decode,q=l.encode,z=a("fetch"),G=a("Request"),D=a("Headers"),H=G&&G.prototype,V=D&&D.prototype,B=o.TypeError,Q=u("".charAt),X=u([].join),Y=u([].push),J=u("".replace),K=u([].shift),W=u([].splice),Z=u("".split),ee=u("".slice),te=/\+/g,re=function(e){return M(J(e,te," "))},ne=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ae=function(e){return oe[e]},ie=function(e){return J(q(e),ne,ae)},ue=p(function(e,t){U(this,{type:R,target:$(e).entries,index:0,kind:t})},C,function(){var e=F(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,A(void 0,!0);var n=t[r];switch(e.kind){case"keys":return A(n.key,!1);case"values":return A(n.value,!1)}return A([n.key,n.value],!1)},!0),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(j(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Q(e,0)?ee(e,1):e:I(e)))};ce.prototype={type:C,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,o,a,u,c,s=this.entries,l=_(e);if(l)for(r=(t=E(e,l)).next;!(n=i(r,t)).done;){if(a=(o=E(x(n.value))).next,(u=i(a,o)).done||(c=i(a,o)).done||!i(a,o).done)throw new B("Expected sequence with length 2");Y(s,{key:I(u.value),value:I(c.value)})}else for(var f in e)b(e,f)&&Y(s,{key:f,value:I(e[f])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,o=Z(e,"&"),a=0;a<o.length;)(t=o[a++]).length&&(r=Z(t,"="),Y(n,{key:re(K(r)),value:re(X(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],Y(r,ie(e.key)+"="+ie(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var se=function(){g(this,le);var e=U(this,new ce(arguments.length>0?arguments[0]:void 0));c||(this.size=e.entries.length)},le=se.prototype;if(v(le,{append:function(e,t){var r=$(this);T(arguments.length,2),Y(r.entries,{key:I(e),value:I(t)}),c||this.size++,r.updateURL()},delete:function(e){for(var t=$(this),r=T(arguments.length,1),n=t.entries,o=I(e),a=r<2?void 0:arguments[1],i=void 0===a?a:I(a),u=0;u<n.length;){var s=n[u];s.key!==o||void 0!==i&&s.value!==i?u++:W(n,u,1)}c||(this.size=n.length),t.updateURL()},get:function(e){var t=$(this).entries;T(arguments.length,1);for(var r=I(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=$(this).entries;T(arguments.length,1);for(var r=I(e),n=[],o=0;o<t.length;o++)t[o].key===r&&Y(n,t[o].value);return n},has:function(e){for(var t=$(this).entries,r=T(arguments.length,1),n=I(e),o=r<2?void 0:arguments[1],a=void 0===o?o:I(o),i=0;i<t.length;){var u=t[i++];if(u.key===n&&(void 0===a||u.value===a))return!0}return!1},set:function(e,t){var r=$(this);T(arguments.length,2);for(var n,o=r.entries,a=!1,i=I(e),u=I(t),s=0;s<o.length;s++)(n=o[s]).key===i&&(a?W(o,s--,1):(a=!0,n.value=u));a||Y(o,{key:i,value:u}),c||(this.size=o.length),r.updateURL()}
1,sort:function(){var e=$(this);N(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,r=$(this).entries,n=w(e,arguments.length>1?arguments[1]:void 0),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new ue(this,"keys")},values:function(){return new ue(this,"values")},entries:function(){return new ue(this,"entries")}},{enumerable:!0}),f(le,P,le.entries,{name:"entries"}),f(le,"toString",function(){return $(this).serialize()},{enumerable:!0}),c&&h(le,"size",{get:function(){return $(this).entries.length},configurable:!0,enumerable:!0}),d(se,C),n({global:!0,constructor:!0,forced:!s},{URLSearchParams:se}),!s&&m(D)){var fe=u(V.has),he=u(V.set),ve=function(e){if(j(e)){var t,r=e.body;if(S(r)===C)return t=e.headers?new D(e.headers):new D,fe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(e,{body:k(0,I(r)),headers:k(0,t)})}return e};if(m(z)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return z(e,arguments.length>1?ve(arguments[1]):{})}}),m(G)){var de=function(e){return g(this,H),new G(e,arguments.length>1?ve(arguments[1]):{})};H.constructor=de,de.prototype=H,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:de})}}e.exports={}}};const t={};function r(n){const o=t[n];if(void 0!==o)return o.exports;const a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.m=e,(()=>{const e=[];r.O=(t,n,o,a)=>{if(n){a=a||0;for(var i=e.length;i>0&&e[i-1][2]>a;i--)e[i]=e[i-1];return void(e[i]=[n,o,a])}let u=1/0;for(i=0;i<e.length;i++){let[n,o,a]=e[i],s=!0;for(var c=0;c<n.length;c++)1&a&&!(u>=a)||!Object.keys(r.O).every(e=>r.O[e](n[c]))?(s=!1,a<u&&(u=a)):n.splice(c--,1);if(s){e.splice(i--,1);const r=o();void 0!==r&&(t=r)}}return t}})(),r.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.cw=e=>{var t;return()=>{if(e){var r=e;e=0,t={exports:{}},r.call(t.exports,t,t.exports)}return t.exports}},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={563:0};r.O.j=t=>0===e[t];const t=(t,n)=>{let[o,a,i]=n;var u,c,s=0;if(o.some(t=>0!==e[t])){for(u in a)r.o(a,u)&&(r.m[u]=a[u]);if(i)var l=i(r)}for(t&&t(n);s<o.length;s++)c=o[s],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return r.O(l)},n=self.webpackChunkfcc=self.webpackChunkfcc||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();let n=r.O(void 0,[714,63,2,13,765,209],()=>r(6799));n=r.O(n)})();

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.