PageSourceSearch

https://rdv-histoire.com/themes/ssks/dist/js/ssks.js?tlrha3

js rdv-histoire.com collected 2026-09-24 18:49:20 UTC 16,559 bytes, 3 lines download raw bytes

1/*! For license information please see ssks.js.LICENSE.txt */
2(()=>{var t,e={245:()=>{!function(t,e){t.behaviors.a11yMisc={attach:function(t){e("ariaLivePolite",".views-no-result-text",t).forEach((function(t){t.setAttribute("aria-live","polite")})),e("titleAdded","iframe",t).forEach((function(t){t.title||function(t){var e=t.src,r="";e.includes("youtu")?r="Vidéo YouTube":e.includes("vimeo")?r="Vidéo Vimeo":e.includes("dailymotion")?r="Vidéo DailyMotion":e.includes("fanlink")&&(r="Playlist Fanlink");r&&t.setAttribute("title",r)}(t)}))}}}(Drupal,once)},413:()=>{function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(e){function r(){var t=document.createElement("div");return t.className="form-required-legend small text-xs mb-2",t.style.flexGrow="1",t.style.display="block",t.style.gridColumn="1 / -1",t.textContent="* ".concat(function(){var t=void 0!==e&&"function"==typeof e.t?e.t.bind(e):function(t){return t};switch(document.documentElement.lang.split("-")[0].toLowerCase()){case"fr":return t("Champ requis");case"de":return t("Pflichtfeld");case"es":return t("Campo requerido");case"it":return t("Campo obbligatorio");default:return t("Required field")}}()),t}function n(t){var e=t.querySelectorAll("input:not([type=submit]):not([type=image]):not([type=hidden]),textarea[required],select"),n=0,o=0;e.forEach((function(t){t.hasAttribute("required")?n++:o++}));var i=n&&o,a=t.querySelector(":scope > .form-required-legend");if(i&&!a){var c=r();if("prepend"===t.getAttribute("data-ssks-required-legend")){var u=t.querySelector(":scope > .ssks-form-error-summary");u?u.insertAdjacentElement("afterend",c):t.insertBefore(c,t.firstChild)}else t.appendChild(c)}else!i&&a&&a.remove()}e.behaviors.formRequiredMention={attach:function(e){(function(e){var r=e instanceof Document||e instanceof Element?e:document,n='form:not([id^="views-exposed-form"])',o=new Set;if(r instanceof Element&&r.matches(n)&&o.add(r),r.querySelectorAll(n).forEach((function(t){return o.add(t)})),r instanceof Element&&!o.size){var i=r.closest(n);i&&o.add(i)}return t(o)})(e).forEach(n)}}}(Drupal)},206:(t,e,r)=>{"use strict";r(532),r(290),r(35),r(381),r(413),r(245),r(795);console.log("%c✈️ Supersoniks","color:white;padding:5px;background:black;font-size:12px;border-radius:3px;")},795:()=>{function t(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}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,c=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==n.return||n.return()}finally{if(u)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(e){"use strict";var r=null;function n(e){var n=e.get(0),o=(!r&&"IntersectionObserver"in window&&(r=new IntersectionObserver((function(e){e.forEach((function(e){var n=e.target;if(document.contains(n)){if(e.isIntersecting){var o,i=t(n.children);try{for(i.s();!(o=i.n()).done;){var a=o.value;"string"==typeof a.tagName&&"SOURCE"===a.tagName&&a.dataset.src&&(a.src=a.dataset.src)}}catch(t){i.e(t)}finally{i.f()}n.load(),n.classList.remove("lazy"),r.unobserve(n)}}else r.unobserve(n)}))}))),r);o&&o.observe(n)}Drupal.behaviors.lazyloadVideo={attach:function(t){e(once("lazyloadVideo","video.lazy",t)).each((function(){n(e(this))}))}}}(jQuery)},381:()=>{!function(t,e){t.behaviors.linkAddIconOpenInNew={attach:function(t){var r=e("linkAddIconOpenInNew",'.text-formatted a[target="_blank"]',t);r.length>0&&r.forEach((function(t){t.insertAdjacentHTML("beforeend",'<span style="text-decoration: none;padding-left:.45em;font-size:.85em"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" viewBox="0 0 512 512" style="height:1em; display:inline-block;vertical-align:-.25" fill="currentColor ">\x3c!--!Font Awesome Pro 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--\x3e<path d="M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l121.4 0L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6 480 176c0 8.8 7.2 16 16 16s16-
27.2 16-16l0-160c0-8.8-7.2-16-16-16L336 0zM64 32C28.7 32 0 60.7 0 96L0 448c0 35.3 28.7 64 64 64l352 0c35.3 0 64-28.7 64-64l0-144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 144c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L64 32z"/></svg></span>')}))}}}(Drupal,once)},35:()=>{!function(t,e){t.behaviors.linkNoreferrerFix={attach:function(t){var r=e("linkNoreferrerFix","a",t);r.length>0&&r.forEach((function(t){location.hostname!==t.hostname&&t.setAttribute("rel","nofollow noopener noreferrer")}))}}}(Drupal,once)},532:()=>{!function(t){"use strict";var e={},r=function(r){r.bind("keypress keyup",(function(r){e.formid=t(this).closest("form").attr("id"),e.name=t(this).attr("name"),"keypress"==r.type?8!=r.keyCode?e.value=t(this).val()+String.fromCharCode(r.charCode):e.value=t(this).val().substr(0,t(this).val().length-1):e.value=t(this).val()}))};Drupal.behaviors.autosubmit_fix={attach:function(n){if(t(once("autosubmit_fix",'.views-exposed-form[class*=views-auto-submit] input[type=text]:not([data-autosubmit="false"])')).each((function(){r(t(this))})),void 0!==e.formid){var o=t("#"+e.formid+' input:text[name="'+e.name+'"]');o.val(e.value),function(t){var e=t.value.length;if(document.selection){t.focus();var r=document.selection.createRange();r.moveStart("character",-e),r.moveStart("character",e),r.moveEnd("character",0),r.select()}else(t.selectionStart||"0"==t.selectionStart)&&(t.selectionStart=e,t.selectionEnd=e,t.focus())}(o[0]),r(o),e={}}}}}(jQuery)},290:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof p?e:p,a=Object.create(o.prototype),c=new S(n||[]);return i(a,"_invoke",{value:E(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var d={};function p(){}function v(){}function y(){}var m={};l(m,c,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(j([])));b&&b!==n&&o.call(b,c)&&(m=b);var w=y.prototype=p.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(e,r){function n(i,a,c,u){var s=h(e[i],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return C()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=k(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,t.iterator,e.arg);
vendor: 1,756 bytes, line 2
2if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function j(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:C}}function C(){return{value:void 0,done:!0}}return v.prototype=y,i(w,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:v,configurable:!0}),v.displayName=l(y,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},x(A.prototype),l(A.prototype,u,(function(){return this})),r.AsyncIterator=A,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new A(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(w),l(w,s,"Generator"),l(w,c,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"}
2)),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=j,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}}!function(t){"use strict";var r=!0;function o(){return i.apply(this,arguments)}function i(){return(i=n(e().mark((function t(){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(self.createImageBitmap){t.next=2;break}return t.abrupt("return",!1);case 2:return"data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=",t.next=5,fetch("data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=").then((function(t){return t.blob()}));case 5:return r=t.sent,t.abrupt("return",createImageBitmap(r).then((function(){return!0}),(function(){return!1})));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}n(e().mark((function t(){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o();case 2:if(!t.sent){t.next=6;break}r=!0,t.next=7;break;case 6:r=!1;case 7:case"end":return t.stop()}}),t)})))();Drupal.behaviors.webpFallback={attach:function(e){1!=r&&t(once("webp-fallback","source[data-webp-fallback]")).each((function(){var e=t(this).data("srcset"),r="jpg";e.includes(".png.webp")?r="png":e.includes(".gif.webp")?r="gif":e.includes(".jpeg.webp")&&(r="jpeg");var n=e.replace(/.webp?/g,"?"),o='<source srcset="data:,x"  data-srcset="'.concat(n,'" type="image/').concat(r,'" >');t(this).after(o)}))}}}(jQuery)},258:()=>{},78:()=>{},149:()=>{}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var i=r[t]={exports:{}};return e[t](i,i.exports,n),i.exports}n.m=e,t=[],n.O=(e,r,o,i)=>{if(!r){var a=1/0;for(l=0;l<t.length;l++){for(var[r,o,i]=t[l],c=!0,u=0;u<r.length;u++)(!1&i||a>=i)&&Object.keys(n.O).every((t=>n.O[t](r[u])))?r.splice(u--,1):(c=!1,i<a&&(a=i));if(c){t.splice(l--,1);var s=o();void 0!==s&&(e=s)}}return e}i=i||0;for(var l=t.length;l>0&&t[l-1][2]>i;l--)t[l]=t[l-1];t[l]=[r,o,i]},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{var t={582:0,326:0,476:0,555:0};n.O.j=e=>0===t[e];var e=(e,r)=>{var o,i,[a,c,u]=r,s=0;if(a.some((e=>0!==t[e]))){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);if(u)var l=u(n)}for(e&&e(r);s<a.length;s++)i=a[s],n.o(t,i)&&t[i]&&t[i][0](),t[i]=0;return n.O(l)},r=self.webpackChunkssks=self.webpackChunkssks||[];
2r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),n.O(void 0,[326,476,555],(()=>n(206))),n.O(void 0,[326,476,555],(()=>n(258))),n.O(void 0,[326,476,555],(()=>n(78)));var o=n.O(void 0,[326,476,555],(()=>n(149)));o=n.O(o)})();
3//# sourceMappingURL=ssks.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.