PageSourceSearch

https://www.thebriscoe.com.au/common/js/ysi.datepicker.134291768800000000.js

js thebriscoe.com.au collected 2026-09-29 03:37:17 UTC 2,875 bytes, 1 lines download raw bytes

1!function(e,t){var i=t();e.ysi=e.ysi||{},e.ysi.datepicker=e.ysi.datepicker||{},e.ysi.datepicker.init=i.init,e.ysi.datepicker.set=i.set,e.ysi.datepicker.setDate=i.setDate}(this,function(){let e=[];return{init:function(t,a){let l="/common/js/ysi.flatpickr.js",s=window.matchMedia("(max-width: 576px)"),n=window.matchMedia("(max-width: 768px)");if(ysi.datepicker.queue=ysi.datepicker.queue||[],function(e){ysi.datepicker.queue.push(e)}([t,a]),t&&"BUTTON"===t.nodeName){let e=t,i=document.createElement("div");i.className="input-group";let a=document.createElement("input");a.type="text",a.setAttribute("tabindex","-1"),a.setAttribute("aria-labelledby",e.id),a.style.cssText="visibility:hidden;width:1px;height:1px;position:absolute;padding:0;",i.appendChild(a),e.parentNode.insertBefore(i,e),i.appendChild(e),t=a}function o(){ysi.datepicker.jsLoaded=!0,r()}function r(){for(;void 0!==(i=ysi.datepicker.queue.shift());)d(i[0],i[1])}function d(t,i){if(!t)return;let a=i&&i.mode?i.mode:"true"===t.dataset.range?"range":"single",l=i&&i.months?i.months:t.dataset.months?t.dataset.months:1,o=new Date,r=i&&i.minDate?i.minDate:o,d=!(!i||!i.maxDate)&&i.maxDate,c=d?d.getFullYear()-o.getFullYear():10,u=r?o.getFullYear()-r.getFullYear():0,p=i&&i.defaultDate?i.defaultDate:"";l>1&&s.matches&&(l=1),l>2&&n.matches&&(l=2);let f="m/d/Y";if(t.hasAttribute("placeholder")){let e=t.getAttribute("placeholder");if(window.ysi&&window.ysi.translations){let t=window.ysi.translations;if(t)for(const i in t)if(t.hasOwnProperty(i)&&t[i]===e){e=i;break}}f=e.replaceAll("D","d").replaceAll("dd","d").replaceAll("M","m").replaceAll("mm","m").replaceAll("y","Y").replaceAll("YY","Y").replaceAll("YY","Y")}var y=ysi.cookie.read("gtal_"+ysi.SiteId),m=y;y&&"ar-sa"===y.toLowerCase()&&(m="ar-ae");let h=flatpickr(t,{mode:a,allowInput:!(i&&!1===i.allowInput),dateFormat:f,showMonths:l,clickOpens:!1,minDate:r,maxDate:d,disableMobile:"true",prevArrow:"",nextArrow:"",locale:m||"default",disableDates:i?i.disabled:void 0,onChange:i?i.onChange:void 0,defaultDate:p,onClose:function(){let e=t.parentNode.querySelector("button");e&&(e.focus(),setTimeout(function(){e.focus()},0))},plugins:[new yearDropdownPlugin({yearStart:u,yearEnd:c}),new accessibilityPlugin,new floatingLabelsPlugin,new positionPlugin],static:!0});e.push(h)}ysi.datepicker.jsLoaded?r():ysi.scrollObserver.isSupported()?ysi.scrollObserver.init(t,{transit:"in",offset:"300px",once:!0,callback:function(){ysi.utils.loadScript(l,o)}}):setTimeout(function(){ysi.utils.loadScript(l,o)},1500)},set:function(t,i,a){if(ysi.datepicker.jsLoaded)for(let l=0;l<e.length;l++)e[l].element===t&&e[l].set(i,a);else for(let e=0;e<ysi.datepicker.queue.length;e++)t===ysi.datepicker.queue[e][0]&&(ysi.datepicker.queue[e][1][i]=a)},setDate:function(t,i){if(ysi.datepicker.jsLoaded)for(let a=0;a<e.length;a++)e[a].element===t&&(e[a].setDate(i,!0),e[a].close())}}});

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.