PageSourceSearch

https://ringuettemontreal.com/bundle/js/date-time-picker?v=CjMGtccOt5eMUET3A4-yeyABX4t8dmsHcHTAWgQbw5I1

js ringuettemontreal.com collected 2026-09-28 17:56:16 UTC 12,236 bytes, 1 lines download raw bytes

1(function(n,t){"use strict";if(typeof module!="undefined"&&module.exports){var i=typeof angular=="undefined"?require("angular"):angular,r=typeof moment=="undefined"?require("moment"):moment;t(i,r);module.exports="ui.bootstrap.datetimepicker"}else typeof define=="function"&&define.amd?define(["angular","moment"],t):t(n.angular,n.moment)})(this,function(n,t){"use strict";function i(i,r){function f(f,e,o){function p(n,t,i){var r,o,u,s,e,h;if(i&&(i.stopPropagation(),i.preventDefault()),n&&t.utcDateValue>-Infinity&&t.selectable&&l[n]){if(r=l[n](t.utcDateValue),o=[],r.weeks)for(u=0;u<r.weeks.length;u+=1)for(s=r.weeks[u],e=0;e<s.dates.length;e+=1)h=s.dates[e],o.push(h);f.beforeRender({$view:r.currentView,$dates:r.dates||o,$leftDate:r.leftDate,$upDate:r.previousViewDate,$rightDate:r.rightDate});f.data=r}}function w(n){for(var i,v,y=t.utc(n).startOf("year"),f=parseInt(y.year()/10,10)*10,e=t.utc(a(n)).subtract(1,"year").startOf("year"),r="YYYY",p=c(h.$modelValue,r),w=t().format(r),l={currentView:"year",nextView:s.minView==="year"?"setTime":"month",previousViewDate:new u({utcDateValue:null,display:f+"-"+(f+9)}),leftDate:new u({utcDateValue:t.utc(e).subtract(9,"year").valueOf()}),rightDate:new u({utcDateValue:t.utc(e).add(11,"year").valueOf()}),dates:[]},o=0;o<12;o+=1)i=t.utc(e).add(o,"years"),v={active:i.format(r)===p,current:i.format(r)===w,display:i.format(r),future:i.year()>f+9,past:i.year()<f,utcDateValue:i.valueOf()},l.dates.push(new u(v));return l}function b(n){for(var i,l,r=t.utc(n).startOf("year"),v=a(n),f="YYYY-MMM",y=c(h.$modelValue,f),p=t().format(f),o={previousView:"year",currentView:"month",nextView:s.minView==="month"?"setTime":"day",previousViewDate:new u({utcDateValue:v.valueOf(),display:r.format("YYYY")}),leftDate:new u({utcDateValue:t.utc(r).subtract(1,"year").valueOf()}),rightDate:new u({utcDateValue:t.utc(r).add(1,"year").valueOf()}),dates:[]},e=0;e<12;e+=1)i=t.utc(r).add(e,"months"),l={active:i.format(f)===y,current:i.format(f)===p,display:i.format("MMM"),utcDateValue:i.valueOf()},o.dates.push(new u(l));return o}function k(n){for(var e,y,o,i,p,l=t.utc(n),r=t.utc(l).startOf("month"),w=t.utc(l).startOf("year"),b=t.utc(l).endOf("month"),k=t.utc(r).subtract(Math.abs(r.weekday()),"days"),f="YYYY-MMM-DD",d=c(h.$modelValue,f),g=t().format(f),a={previousView:"month",currentView:"day",nextView:s.minView==="day"?"setTime":"hour",previousViewDate:new u({utcDateValue:w.valueOf(),display:r.format("YYYY-MMM")}),leftDate:new u({utcDateValue:t.utc(r).subtract(1,"months").valueOf()}),rightDate:new u({utcDateValue:t.utc(r).add(1,"months").valueOf()}),dayNames:[],weeks:[]},v=0;v<7;v+=1)a.dayNames.push(t.utc().weekday(v).format("dd"));for(e=0;e<6;e+=1){for(y={dates:[]},o=0;o<7;o+=1)i=t.utc(k).add(e*7+o,"days"),p={active:i.format(f)===d,current:i.format(f)===g,display:i.format("D"),future:i.isAfter(b),past:i.isBefore(r),utcDateValue:i.valueOf()},y.dates.push(new u(p));a.weeks.push(y)}return a}function d(n){for(var r,l,i=t.utc(n).startOf("day"),a=t.utc(i).startOf("month"),f="YYYY-MM-DD H",v=c(h.$modelValue,f),y=t().format(f),o={previousView:"day",currentView:"hour",nextView:s.minView==="hour"?"setTime":"minute",previousViewDate:new u({utcDateValue:a.valueOf(),display:i.format("ll")}),leftDate:new u({utcDateValue:t.utc(i).subtract(1,"days").valueOf()}),rightDate:new u({utcDateValue:t.utc(i).add(1,"days").valueOf()}),dates:[]},e=0;e<24;e+=1)r=t.utc(i).add(e,"hours"),l={active:r.format(f)===v,current:r.format(f)===y,display:r.format("LT"),utcDateValue:r.valueOf()},o.dates.push(new u(l));return o}function g(n){for(var r,l,i=t.utc(n).startOf("hour"),a=t.utc(i).startOf("day"),f="YYYY-MM-DD H:mm",v=c(h.$modelValue,f),y=t().format(f),o={previousView:"hour",currentView:"minute",nextView:"setTime",previousViewDate:new u({utcDateValue:a.valueOf(),display:i.format("lll")}),leftDate:new u({utcDateValue:t.utc(i).subtract(1,"hours").valueOf()}),rightDate:new u({utcDateValue:t.utc(i).add(1,"hours").valueOf()}),dates:[]},p=60/s.minuteStep,e=0;e<p;e+=1)r=t.utc(i).add(e*s.minuteStep,"minute"),l={active:r.format(f)===v,current:r.format(f)===y,display:r.format("LT"),utcDateValue:r.valueOf()},o.dates.push(new u(l));return o}function nt(n){var i=new Date(n),r=new Date(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),u;switch(s.modelType){case"Date":break;case"moment":r=t([i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()]);break;case"milliseconds":r=n;break;default:r=t([i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()]).format(s.modelType)}u=h.$modelValue;h.$setViewValue(r);s.dropdownSelector&&jQuery(s.dropdownSelector).dropdown("toggle");f.onSetTime({newDate:r,oldDate:u});return l[s.startView](n)}function tt(){f.changeView(s.startView,new u({utcDateValue:it(h.$viewValue)}))}function a(n){var i=parseInt(t.utc(n).year()/10,10)*10;return t.utc(n).year(i).startOf("year")}function c(n,t){return n?v(n).format(t):""}function v(i){return t(i,n.isString(i)?s.parseFormat:undefined)}function it(n){var t=new Date,i;if(n)if(i=v(n),i.isValid())t=i.toDate();else throw new Error("Invalid date: "+n);return t.getTime()-t.getTimezoneOffset()*6e4}function y(){var u={},t;return o.datetimepickerConfig&&(u=f.$parent.$eval(o.datetimepickerConfig)),t=n.extend({},i,u),r.validate(t),t}var h=e.controller("ngModel"),s=y(),l;f.screenReader=s.screenReader;f.changeView=p;h.$render=tt;s.configureOn&&f.$on(s.configureOn,function(){s=y();f.screenReader=s.screenReader;h.$render()});s.renderOn&&f.$on(s.renderOn,h.$render);l={year:w,month:b,day:k,hour:d,minute:g,setTime:nt}}function u(){var t=new Date(arguments[0].utcDateValue),r=t.getTimezoneOffset()*6e4,i,n;this.utcDateValue=t.getTime();this.selectable=!0;this.localDateValue=function(){return this.utcDateValue+r};i=["active","current","display","future","past","selectable","utcDateValue"];n=arguments[0];Object.keys(n).filter(function(n){return i.indexOf(n)>=0}
1).forEach(function(t){this[t]=n[t]},this)}var e={bindToController:!1,controller:f,controllerAs:"dateTimePickerController",replace:!0,require:"ngModel",restrict:"E",scope:{beforeRender:"&",onSetTime:"&"},templateUrl:"templates/datetimepicker.html"};return f.$inject=["$scope","$element","$attrs"],e}function u(){var i={bg:{previous:"предишна",next:"следваща"},ca:{previous:"anterior",next:"següent"},da:{previous:"forrige",next:"næste"},de:{previous:"vorige",next:"weiter"},"en-au":{previous:"previous",next:"next"},"en-gb":{previous:"previous",next:"next"},en:{previous:"previous",next:"next"},"es-us":{previous:"atrás",next:"siguiente"},es:{previous:"atrás",next:"siguiente"},fi:{previous:"edellinen",next:"seuraava"},fr:{previous:"précédent",next:"suivant"},hu:{previous:"előző",next:"következő"},it:{previous:"precedente",next:"successivo"},ja:{previous:"前へ",next:"次へ"},ml:{previous:"മുൻപുള്ളത്",next:"അടുത്തത്"},nl:{previous:"vorige",next:"volgende"},pl:{previous:"poprzednia",next:"następna"},"pt-br":{previous:"anteriores",next:"próximos"},pt:{previous:"anterior",next:"próximo"},ro:{previous:"anterior",next:"următor"},ru:{previous:"предыдущая",next:"следующая"},sk:{previous:"predošlá",next:"ďalšia"},sv:{previous:"föregående",next:"nästa"},tr:{previous:"önceki",next:"sonraki"},uk:{previous:"назад",next:"далі"},"zh-cn":{previous:"上一页",next:"下一页"},"zh-tw":{previous:"上一頁",next:"下一頁"}}[t.locale().toLowerCase()];return n.extend({},{configureOn:null,dropdownSelector:null,minuteStep:5,minView:"minute",modelType:"Date",parseFormat:"YYYY-MM-DDTHH:mm:ss.SSSZZ",renderOn:null,startView:"day"},{screenReader:i})}function r(t){function i(i){var f=["configureOn","dropdownSelector","minuteStep","minView","modelType","parseFormat","renderOn","startView","screenReader"],u=Object.keys(i).filter(function(n){return f.indexOf(n)<0}),r;if(u.length)throw new Error("Invalid options: "+u.join(", "));if(r=["minute","hour","day","month","year"],r.indexOf(i.startView)<0)throw new Error("invalid startView value: "+i.startView);if(r.indexOf(i.minView)<0)throw new Error("invalid minView value: "+i.minView);if(r.indexOf(i.minView)>r.indexOf(i.startView))throw new Error("startView must be greater than minView");if(!n.isNumber(i.minuteStep))throw new Error("minuteStep must be numeric");if(i.minuteStep<=0||i.minuteStep>=60)throw new Error("minuteStep must be greater than zero and less than 60");if(i.configureOn!==null&&!n.isString(i.configureOn))throw new Error("configureOn must be a string");if(i.configureOn!==null&&i.configureOn.length<1)throw new Error("configureOn must not be an empty string");if(i.renderOn!==null&&!n.isString(i.renderOn))throw new Error("renderOn must be a string");if(i.renderOn!==null&&i.renderOn.length<1)throw new Error("renderOn must not be an empty string");if(i.modelType!==null&&!n.isString(i.modelType))throw new Error("modelType must be a string");if(i.modelType!==null&&i.modelType.length<1)throw new Error("modelType must not be an empty string");if(i.modelType!=="Date"&&i.modelType!=="moment"&&i.modelType!=="milliseconds"&&(i.parseFormat=i.modelType),i.dropdownSelector!==null&&!n.isString(i.dropdownSelector))throw new Error("dropdownSelector must be a string");i.dropdownSelector!==null&&(typeof jQuery=="undefined"||typeof jQuery().dropdown!="function")&&(t.error("Please DO NOT specify the dropdownSelector option unless you are using jQuery AND Bootstrap.js. Please include jQuery AND Bootstrap.js, or write code to close the dropdown in the on-set-time callback. \n\nThe dropdownSelector configuration option is being removed because it will not function properly."),delete i.dropdownSelector)}return{validate:i}}n.module("ui.bootstrap.datetimepicker",[]).service("dateTimePickerConfig",u).service("dateTimePickerValidator",r).directive("datetimepicker",i);i.$inject=["dateTimePickerConfig","dateTimePickerValidator"];r.$inject=["$log"]});angular.module("ui.bootstrap.datetimepicker").run(["$templateCache",function(n){n.put("templates/datetimepicker.html",'<div class="datetimepicker table-responsive">\r\n    <table class="table table-condensed {{ data.currentView }}-view">\r\n        <thead>\r\n        <tr>\r\n            <th class="left" data-ng-click="changeView(data.currentView, data.leftDate, $event)" data-ng-show="data.leftDate.selectable"><i class="fas fa-chevron-left"><\/i><span class="sr-only">{{ screenReader.previous }}<\/span>\r\n            <\/th>\r\n            <th class="switch" colspan="5" data-ng-show="data.previousViewDate.selectable" data-ng-click="changeView(data.previousView, data.previousViewDate, $event)">{{ data.previousViewDate.display }}<\/th>\r\n            <th class="right" data-ng-click="changeView(data.currentView, data.rightDate, $event)" data-ng-show="data.rightDate.selectable"><i class="fas fa-chevron-right"><\/i><span class="sr-only">{{ screenReader.next }}<\/span>\r\n            <\/th>\r\n        <\/tr>\r\n        <tr>\r\n            <th class="dow" data-ng-repeat="day in data.dayNames">{{ day }}<\/th>\r\n        <\/tr>\r\n        <\/thead>\r\n        <tbody>\r\n        <tr data-ng-if="data.currentView !== \'day\'">\r\n            <td colspan="7">
1\r\n                          <span class="{{ data.currentView }}" data-ng-repeat="dateObject in data.dates" data-ng-class="{current: dateObject.current, active: dateObject.active, past: dateObject.past, future: dateObject.future, disabled: !dateObject.selectable}" data-ng-click="changeView(data.nextView, dateObject, $event)">{{ dateObject.display }}<\/span><\/td>\r\n        <\/tr>\r\n        <tr data-ng-if="data.currentView === \'day\'" data-ng-repeat="week in data.weeks">\r\n            <td data-ng-repeat="dateObject in week.dates" data-ng-click="changeView(data.nextView, dateObject, $event)" class="day" data-ng-class="{current: dateObject.current, active: dateObject.active, past: dateObject.past, future: dateObject.future, disabled: !dateObject.selectable}">{{ dateObject.display }}<\/td>\r\n        <\/tr>\r\n        <\/tbody>\r\n    <\/table>\r\n<\/div>\r\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.