traintimesPWA/live/js/vendor.js

1 line
19 KiB
JavaScript
Raw Normal View History

2020-08-20 18:58:36 +00:00
!function t(e,i,n){function o(s,a){if(!i[s]){if(!e[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(r)return r(s,!0);throw new Error("Cannot find module '"+s+"'")}var u=i[s]={exports:{}};e[s][0].call(u.exports,function(t){var i=e[s][1][t];return o(i||t)},u,u.exports,t,e,i,n)}return i[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)o(n[s]);return o}({1:[function(t,e,i){!function(e){"use strict";if(!e._muiLoadedJS){e._muiLoadedJS=!0;var i=t("src/js/lib/jqLite"),n=t("src/js/dropdown"),o=t("src/js/overlay"),r=t("src/js/ripple"),s=t("src/js/select"),a=t("src/js/tabs"),l=t("src/js/textfield");e.mui={overlay:o,tabs:a.api},i.ready(function(){l.initListeners(),s.initListeners(),r.initListeners(),n.initListeners(),a.initListeners()})}}(window)},{"src/js/dropdown":7,"src/js/lib/jqLite":8,"src/js/overlay":9,"src/js/ripple":10,"src/js/select":11,"src/js/tabs":12,"src/js/textfield":13}],2:[function(t,e,i){e.exports={debug:!0}},{}],3:[function(t,e,i){"use strict";function n(t,e){var i=l[t];i||(i=l[t]=[]),i.push(e),this.init||(!function(){for(var t,e=[[".mui-btn","mui-btn-inserted"],['[data-mui-toggle="dropdown"]',"mui-dropdown-inserted"],['.mui-btn[data-mui-toggle="dropdown"]',"mui-btn-inserted,mui-dropdown-inserted"],['[data-mui-toggle="tab"]',"mui-tab-inserted"],[".mui-textfield > input","mui-textfield-inserted"],[".mui-textfield > textarea","mui-textfield-inserted"],[".mui-textfield > input:-webkit-autofill","mui-textfield-autofill"],[".mui-textfield > textarea:-webkit-autofill","mui-textfield-autofill"],[".mui-select > select","mui-select-inserted"],[".mui-select > select ~ .mui-event-trigger","mui-node-inserted"],[".mui-select > select:disabled ~ .mui-event-trigger","mui-node-disabled"]],i="",n=0,o=e.length;n<o;n++)i+="@keyframes "+(t=e[n])[1],i+="{from{transform:none;}to{transform:none;}}",i+=t[0],i+="{animation-duration:0.0001s;animation-name:"+t[1]+";}";s.loadStyle(i)}(),r.on(document,a,o,!0),this.init=!0)}function o(t){var e=l[t.animationName]||[],i=e.length;if(i)for(t.stopImmediatePropagation();i--;)e[i](t)}var r=t("./jqLite"),s=t("./util"),a="animationstart mozAnimationStart webkitAnimationStart",l={};e.exports={animationEvents:a,onAnimationStart:n}},{"./jqLite":5,"./util":6}],4:[function(t,e,i){"use strict";var n=t("./jqLite");e.exports={getMenuPositionalCSS:function(t,e,i){var o,r,s,a,l=document.documentElement.clientHeight,u=e.children.length,c=parseInt(e.offsetHeight),d=Math.min(c,l),m=parseInt(n.css(e,"padding-top")),f=(c-2*m)/u;r=-1*i*f,a=l-d+(s=-1*t.getBoundingClientRect().top),o=Math.min(Math.max(r,s),a);var p,h,v=0;return c>l&&(p=o+m+i*f,h=u*f+2*m-d,v=Math.min(p,h)),{height:d+"px",top:o+"px",scrollTop:v}}}},{"./jqLite":5}],5:[function(t,e,i){"use strict";function n(t){if(void 0===t)return"undefined";var e=Object.prototype.toString.call(t);if(0===e.indexOf("[object "))return e.slice(8,-1).toLowerCase();throw new Error("MUI: Could not understand type: "+e)}function o(t,e,i,n){n=void 0!==n&&n;var o=t._muiEventCache=t._muiEventCache||{};e.split(" ").map(function(e){t.addEventListener(e,i,n),o[e]=o[e]||[],o[e].push([i,n])})}function r(t,e,i,n){n=void 0!==n&&n;var o,r,s,a=t._muiEventCache=t._muiEventCache||{};e.split(" ").map(function(e){for(s=(o=a[e]||[]).length;s--;)r=o[s],(void 0===i||r[0]===i&&r[1]===n)&&(o.splice(s,1),t.removeEventListener(e,r[0],r[1]))})}function s(t,e){var i=window;if(void 0===e){if(t===i){var n=document.documentElement;return(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}return t.scrollLeft}t===i?i.scrollTo(e,a(i)):t.scrollLeft=e}function a(t,e){var i=window;if(void 0===e){if(t===i){var n=document.documentElement;return(i.pageYOffset||n.scrollTop)-(n.clientTop||0)}return t.scrollTop}t===i?i.scrollTo(s(i),e):t.scrollTop=e}function l(t){return" "+(t.getAttribute("class")||"").replace(/[\n\t]/g,"")+" "}function u(t){return t.replace(d,function(t,e,i,n){return n?i.toUpperCase():i}).replace(m,"Moz$1")}function c(t,e,i){var n;return""!==(n=i.getPropertyValue(e))||t.ownerDocument||(n=t.style[u(e)]),n}var d=/([\:\-\_]+(.))/g,m=/^moz([A-Z])/;e.exports={