honkoma/priv/static/packs/flavours/glitch/settings.js

2 lines
15 KiB
JavaScript
Raw Normal View History

2020-05-20 05:55:14 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[91],{220:function(t,e,n){"use strict";function a(t){["interactive","complete"].includes(document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}n.r(e),n.d(e,"default",(function(){return a}))},223:function(t,e,n){"use strict";e.a=function(){var t=!(Array.prototype.includes&&HTMLCanvasElement.prototype.toBlob&&window.Intl&&Number.isNaN&&Object.assign&&Object.values&&window.Symbol&&Promise.prototype.finally),e=!(window.IntersectionObserver&&window.IntersectionObserverEntry&&"isIntersecting"in IntersectionObserverEntry.prototype&&window.requestIdleCallback&&"object-fit"in(new Image).style);return Promise.all([t&&Promise.all([n.e(1),n.e(3)]).then(n.bind(null,470)),e&&Promise.all([n.e(1),n.e(14)]).then(n.bind(null,467))])}},393:function(t,e,n){"use strict";function a(){return/KAIOS/.test(navigator.userAgent)?n.e(2).then(n.bind(null,738)).then((function(t){t.register()})):Promise.resolve()}n.d(e,"a",(function(){return a}))},61:function(t,e,n){var a,r;(function(){(function(){(function(){this.Rails={linkClickSelector:"a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]",buttonClickSelector:{selector:"button[data-remote]:not([form]), button[data-confirm]:not([form])",exclude:"form button"},inputChangeSelector:"select[data-remote], input[data-remote], textarea[data-remote]",formSubmitSelector:"form",formInputClickSelector:"form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])",formDisableSelector:"input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled",formEnableSelector:"input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled",fileInputSelector:"input[name][type=file]:not([disabled])",linkDisableSelector:"a[data-disable-with], a[data-disable]",buttonDisableSelector:"button[data-remote][data-disable-with], button[data-remote][data-disable]"}}).call(this)}).call(this);var o=this.Rails;(function(){(function(){var t;t=null,o.loadCSPNonce=function(){var e;return t=null!=(e=document.querySelector("meta[name=csp-nonce]"))?e.content:void 0},o.cspNonce=function(){return null!=t?t:o.loadCSPNonce()}}).call(this),function(){var t;t=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector,o.matches=function(e,n){return null!=n.exclude?t.call(e,n.selector)&&!t.call(e,n.exclude):t.call(e,n)},o.getData=function(t,e){var n;return null!=(n=t._ujsData)?n[e]:void 0},o.setData=function(t,e,n){return null==t._ujsData&&(t._ujsData={}),t._ujsData[e]=n},o.$=function(t){return Array.prototype.slice.call(document.querySelectorAll(t))}}.call(this),function(){var t,e,n;t=o.$,n=o.csrfToken=function(){var t;return(t=document.querySelector("meta[name=csrf-token]"))&&t.content},e=o.csrfParam=function(){var t;return(t=document.querySelector("meta[name=csrf-param]"))&&t.content},o.CSRFProtection=function(t){var e;if(null!=(e=n()))return t.setRequestHeader("X-CSRF-Token",e)},o.refreshCSRFTokens=function(){var a,r;if(r=n(),a=e(),null!=r&&null!=a)return t('form input[name="'+a+'"]').forEach((function(t){return t.value=r}))}}.call(this),function(){var t,e,n,a;n=o.matches,"function"!=typeof(t=window.CustomEvent)&&((t=function(t,e){var n;return(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}).prototype=window.Event.prototype,a=t.prototype.preventDefault,t.prototype.preventDefault=function(){var t;return t=a.call(this),this.cancelable&&!this.defaultPrevented&&Object.defineProperty(this,"defaultPrevented",{get:function(){return!
2020-01-22 15:00:23 +00:00
//# sourceMappingURL=settings.js.map