(function(){var el = document.createElement('style'); el.className='tracy-debug'; el.textContent="\/** * This file is part of the Tracy (https:\/\/tracy.nette.org) *\/ \/* common styles *\/ #tracy-debug { display: none; direction: ltr; line-height: 1.5; } body#tracy-debug { \/* in popup window *\/ margin: 0; display: block; } body #tracy-debug { position: absolute; bottom: 0; right: 0; } #tracy-debug * { font: inherit; line-height: inherit; color: inherit; background: transparent; margin: 0; padding: 0; border: none; text-align: inherit; list-style: inherit; opacity: 1; border-radius: 0; box-shadow: none; text-shadow: none; box-sizing: border-box; text-decoration: none; text-transform: inherit; white-space: inherit; float: none; clear: none; } #tracy-debug *:before, #tracy-debug *:after { all: unset; } #tracy-debug b, #tracy-debug strong { font-weight: bold; } #tracy-debug i, #tracy-debug em { font-style: italic; } #tracy-debug a { color: #125EAE; text-decoration: none; } #tracy-debug a:hover, #tracy-debug a:focus { background-color: #125EAE; color: white; } #tracy-debug h2, #tracy-debug h3, #tracy-debug p { margin: .4em 0; } #tracy-debug table { border-collapse: collapse; background: #FDF5CE; } #tracy-debug tr:nth-child(2n) td { background: #F7F0CB; } #tracy-debug td, #tracy-debug th { border: 1px solid #E6DFBF; padding: 2px 5px; vertical-align: top; text-align: left; } #tracy-debug th { background: #F4F3F1; color: #655E5E; font-size: 90%; font-weight: bold; } #tracy-debug pre, #tracy-debug code { font: 9pt\/1.5 Consolas, monospace; } #tracy-debug pre { white-space: pre; } #tracy-debug table .tracy-right { text-align: right; } #tracy-debug svg { display: inline; } \/* bar *\/ #tracy-debug-bar { font: normal normal 13px\/1.55 Tahoma, sans-serif; color: #333; border: 1px solid #c9c9c9; background: #EDEAE0 url('data:image\/png;base64,R0lGODlhAQAUALMAAOzq4e\/t5e7s4\/Dt5vDu5e3r4vDu5uvp4O\/t5AAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAABABQAAAQM0EgySEAYi1LA+UcEADs=') top; background-size: 1em; position: fixed; right: 0; bottom: 0; min-width: 50px; white-space: nowrap; z-index: 30000; opacity: .9; transition: opacity 0.2s; will-change: opacity, right, bottom; border-radius: 3px; box-shadow: 1px 1px 10px rgba(0, 0, 0, .15); } #tracy-debug-bar:hover { opacity: 1; transition: opacity 0.1s; } #tracy-debug-bar ul { list-style: none none; display: flex; flex-wrap: wrap; } #tracy-debug-bar ul:not(:first-child) li { opacity: .6; background: #F5F3EE; } #tracy-debug-bar ul:not(:first-child) li:first-child { width: 4.1em; text-align: center; } #tracy-debug-bar img { vertical-align: bottom; position: relative; top: -2px; } #tracy-debug-bar svg { vertical-align: bottom; width: 1.23em; height: 1.55em; } #tracy-debug-bar .tracy-label { margin-left: .2em; } #tracy-debug-bar li > a, #tracy-debug-bar li > span { color: #000; display: block; padding: 0 .4em; } #tracy-debug-bar li > a:hover { color: black; background: #c3c1b8; } #tracy-debug-bar li:first-child { cursor: move; } #tracy-debug-logo svg { width: 3.4em; margin: 0 .2em 0 .5em; } \/* panels *\/ #tracy-debug .tracy-panel { display: none; font: normal normal 12px\/1.5 sans-serif; background: white; color: #333; text-align: left; z-index: 20001; } body#tracy-debug .tracy-panel { \/* in popup window *\/ display: block; } #tracy-debug h1 { font: normal normal 23px\/1.4 Tahoma, sans-serif; color: #575753; margin: -5px -5px 5px; padding: 0 25px 0 5px; max-width: 700px; word-wrap: break-word; } #tracy-debug .tracy-mode-peek .tracy-inner, #tracy-debug .tracy-mode-float .tracy-inner { max-width: 700px; max-height: 500px; overflow: auto; } @media (max-height: 555px) { #tracy-debug .tracy-mode-peek .tracy-inner, #tracy-debug .tracy-mode-float .tracy-inner { max-height: calc(100vh - 55px); } } #tracy-debug .tracy-panel .tracy-icons { display: none; } #tracy-debug .tracy-mode-peek, #tracy-debug .tracy-mode-float { position: fixed; right: 0; bottom: 0; padding: 10px; min-width: 150px; min-height: 50px; border-radius: 5px; box-shadow: 1px 1px 20px rgba(102, 102, 102, 0.36); border: 1px solid rgba(0, 0, 0, 0.1); } #tracy-debug .tracy-mode-peek h1 { cursor: move; } #tracy-debug .tracy-mode-float { display: block; opacity: .95; transition: opacity 0.2s; will-change: opacity, right, bottom; } #tracy-debug .tracy-focused { display: block; opacity: 1; transition: opacity 0.1s; } #tracy-debug .tracy-mode-float h1 { cursor: move; } #tracy-debug .tracy-mode-float .tracy-icons { display: block; position: absolute; top: 0; right: 5px; font-size: 18px; } #tracy-debug .tracy-mode-window { padding: 10px; } #tracy-debug .tracy-icons a { color: #575753; } #tracy-debug .tracy-icons a:hover { color: white; } \/* dump *\/ #tracy-debug pre.tracy-dump div { padding-left: 3ex; } #tracy-debug pre.tracy-dump div div { border-left: 1px solid rgba(0, 0, 0, .1); margin-left: .5ex; } #tracy-debug pre.tracy-dump { background: #FDF5CE; padding: .4em .7em; border: 1px dotted silver; overflow: auto; } #tracy-debug table pre.tracy-dump { padding: 0; margin: 0; border: none; } #tracy-debug .tracy-dump-array, #tracy-debug .tracy-dump-object { color: #C22; } #tracy-debug .tracy-dump-string { color: #35D; } #tracy-debug .tracy-dump-number { color: #090; } #tracy-debug .tracy-dump-null, #tracy-debug .tracy-dump-bool { color: #850; } #tracy-debug .tracy-dump-visibility, #tracy-debug .tracy-dump-hash { font-size: 85%; color: #999; } #tracy-debug .tracy-dump-indent { display: none; } \/* toggle *\/ #tracy-debug .tracy-toggle:after { content: \"\\A0\\25BC\"; opacity: .4; } #tracy-debug .tracy-toggle.tracy-collapsed:after { content: \"\\A0\\25BA\"; } @media print { #tracy-debug * { display: none; } } \/** * This file is part of the Tracy (https:\/\/tracy.nette.org) *\/ .tracy-collapsed { display: none; } .tracy-toggle.tracy-collapsed { display: inline; } .tracy-toggle { cursor: pointer; } .tracy-toggle:after { content: \"\\A0\\25BC\"; opacity: .4; } .tracy-toggle.tracy-collapsed:after { content: \"\\A0\\25BA\"; } \/** * This file is part of the Tracy (https:\/\/tracy.nette.org) *\/ pre.tracy-dump { text-align: left; color: #444; background: white; } pre.tracy-dump div { padding-left: 3ex; } pre.tracy-dump div div { border-left: 1px solid rgba(0, 0, 0, .1); margin-left: .5ex; } .tracy-dump-array, .tracy-dump-object { color: #C22; } .tracy-dump-string { color: #35D; } .tracy-dump-number { color: #090; } .tracy-dump-null, .tracy-dump-bool { color: #850; } .tracy-dump-visibility, .tracy-dump-hash { font-size: 85%; color: #999; } .tracy-dump-indent { display: none; } span[data-tracy-href] { border-bottom: 1px dotted rgba(0, 0, 0, .2); } \/** * This file is part of the Tracy (https:\/\/tracy.nette.org) *\/ #tracy-bs { font: 9pt\/1.5 Verdana, sans-serif; background: white; color: #333; position: absolute; z-index: 20000; left: 0; top: 0; width: 100%; text-align: left; } #tracy-bs * { font: inherit; color: inherit; background: transparent; border: none; margin: 0; padding: 0; text-align: inherit; text-indent: 0; } #tracy-bs *:before, #tracy-bs *:after { all: unset; } #tracy-bs b { font-weight: bold; } #tracy-bs i { font-style: italic; } #tracy-bs a { text-decoration: none; color: #328ADC; padding: 2px 4px; margin: -2px -4px; } #tracy-bs a:hover, #tracy-bs a:focus { color: #085AA3; } #tracy-bs-toggle { position: absolute; right: .5em; top: .5em; text-decoration: none; background: #CD1818; color: white !important; padding: 3px; } #tracy-bs-error { background: #CD1818; color: white; font: 13pt\/1.5 Verdana, sans-serif !important; } #tracy-bs-error a { color: white !important; opacity: 0; font-size: .7em; } #tracy-bs-error:hover a { opacity: .6; } #tracy-bs-error a:hover { opacity: 1; } #tracy-bs-ie-warning { background: black; margin: 1em; padding: .5em; text-align: center; } #tracy-bs h1 { font-size: 15pt; font-weight: normal; text-shadow: 1px 1px 2px rgba(0, 0, 0, .3); margin: .7em 0; } #tracy-bs h1 span { white-space: pre-wrap; } #tracy-bs h2 { font: 14pt\/1.5 sans-serif !important; margin: .6em 0; } #tracy-bs h3 { font: bold 10pt\/1.5 Verdana, sans-serif !important; margin: 1em 0; padding: 0; } #tracy-bs p, #tracy-bs pre { margin: .8em 0 } #tracy-bs pre, #tracy-bs code, #tracy-bs table { font: 9pt\/1.5 Consolas, monospace !important; } #tracy-bs pre, #tracy-bs table { background: #FDF5CE; padding: .4em .7em; border: 1px dotted silver; overflow: auto; } #tracy-bs table pre { padding: 0; margin: 0; border: none; } #tracy-bs table { border-collapse: collapse; width: 100%; } #tracy-bs td, #tracy-bs th { vertical-align: top; text-align: left; padding: 2px 6px; border: 1px solid #e6dfbf; } #tracy-bs th { font-weight: bold; } #tracy-bs tr > :first-child { width: 20%; } #tracy-bs tr:nth-child(2n), #tracy-bs tr:nth-child(2n) pre { background-color: #F7F0CB; } #tracy-bs ol { margin: 1em 0; padding-left: 2.5em; } #tracy-bs ul { font: 7pt\/1.5 Verdana, sans-serif !important; padding: 2em 4em; margin: 1em 0 0; color: #777; background: #F6F5F3; border-top: 1px solid #DDD; } #tracy-bs-logo a { position: absolute; bottom: 0; right: 0; width: 100px; height: 50px; background: url('data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAAAUBAMAAAD\/1DctAAAAMFBMVEWupZzj39rEvbTy8O3X0sz9\/PvGwLu8tavQysHq6OS0rKP5+Pbd2dT29fPMxbzPx8DKErMJAAAACXBIWXMAAAsTAAALEwEAmpwYAAACGUlEQVQoFX3TQWgTQRQA0MWLIJJDYehBTykhG5ERTx56K1u8eEhCYtomE7x5L4iLh0ViF7egewuFFqSIYE6hIHsIYQ6CQSg9CDKn4QsNCRlB59C74J\/ZNHW1+An5+bOPyf6\/s46oz2P+A0yIeZZ2ieEHi6TOnLKTxvWq+b52mxlVO3xnM1s7xLX1504XQH65OnW2dBqn7cCkYsFsfYsWpyY\/2salmFTpEyzeR8zosYqMdiPDXdyU52K1wgEa\/SjGpdEwUAxqvRfckQCDOyFearsEHe2grvkh\/cFAHKvdtI3lcVceKQIOFpv+FOZaNPQBwJZLPp+hfrvT5JZXaUFsR8zqQc9qSgAharkfS5M\/5F6nGJJAtXq\/eLr3ucZpHccSxOOIPaQhtHohpCH2Xu6rLmQ0djnr4\/+J3C6v+AW8\/XWYxwYNdlhWj\/P5fPSTQwVr0T9lGxdaBCqErNZaqYnEwbkjEB3NasGF3lPdrHa1nnxNOMgj0+neePUPjd2v\/qVvUv29ifvc19huQ48qwXShy\/9o8o3OSk0cs37mOFd0Ydgvsf\/oZEnPVtggfd66lORn9mDyyzXU13SRtH2L6aR5T\/snGAcZPfAXz5J1YlJWBEuxdMYqQecpBrlM49xAbmqyHA+xlA1FxBtqT2xmJoNXZlIt74ZBLeJ9ZGDqByNI7p543idzJ23vXEv7IgnsxiS+eNtwNbFdLq7+Bi4wQ0I4SVb9AAAAAElFTkSuQmCC') no-repeat; opacity: .6; padding: 0; margin: 0; } #tracy-bs-logo a:hover, #tracy-bs-logo a:focus { opacity: 1; transition: opacity 0.1s; } #tracy-bs div.panel { padding: 1px 25px; } #tracy-bs div.inner { background: #F4F3F1; padding: .1em 1em 1em; border-radius: 8px; } #tracy-bs .outer { overflow: auto; } \/* source code *\/ #tracy-bs pre.code > div { min-width: 100%; float: left; white-space: pre; } #tracy-bs .highlight { background: #CD1818; color: white; font-weight: bold; font-style: normal; display: block; padding: 0 .4em; margin: 0 -.4em; } #tracy-bs .line { color: #9F9C7F; font-weight: normal; font-style: normal; } #tracy-bs pre:hover span[title] { border-bottom: 1px solid rgba(0, 0, 0, 0.2); } #tracy-bs a[href^=editor\\:] { color: inherit; border-bottom: 1px dotted rgba(0, 0, 0, .3); } #tracy-bs span[data-tracy-href] { border-bottom: 1px dotted rgba(0, 0, 0, .3); } \/* toggle *\/ html.tracy-js #tracy-bs .tracy-collapsed { display: none; } html.tracy-js #tracy-bs .tracy-toggle.tracy-collapsed { display: inline; } #tracy-bs .tracy-toggle { cursor: pointer; } #tracy-bs .tracy-toggle:after { content: \"\\A0\\25BC\"; opacity: .4; } #tracy-bs .tracy-toggle.tracy-collapsed:after { content: \"\\A0\\25BA\"; opacity: .4; } \/* dump *\/ #tracy-bs .tracy-dump-array, #tracy-bs .tracy-dump-object { color: #C22; } #tracy-bs .tracy-dump-string { color: #35D; } #tracy-bs .tracy-dump-number { color: #090; } #tracy-bs .tracy-dump-null, #tracy-bs .tracy-dump-bool { color: #850; } #tracy-bs .tracy-dump-visibility, #tracy-bs .tracy-dump-hash { font-size: 85%; color: #998; } #tracy-bs .tracy-dump-indent { display: none; } #tracy-bs pre.tracy-dump div { padding-left: 3ex; } #tracy-bs pre.tracy-dump div div { border-left: 1px solid rgba(0, 0, 0, .1); margin-left: .5ex; } #tracy-bs .caused { float: right; padding: .3em .6em; background: #df8075; border-radius: 0 0 0 8px; white-space: nowrap; } #tracy-bs .caused a { color: white; } "; document.head.appendChild(el);})(); /** * This file is part of the Tracy (https://tracy.nette.org) */ (function(){ Tracy = window.Tracy || {}; var layer = document.getElementById('tracy-debug'); Tracy.getAjaxHeader = function() { return layer.dataset.id; }; var Panel = Tracy.DebugPanel = function(id) { this.id = id; this.elem = document.getElementById(this.id); this.elem.Tracy = this.elem.Tracy || {}; }; Panel.PEEK = 'tracy-mode-peek'; Panel.FLOAT = 'tracy-mode-float'; Panel.WINDOW = 'tracy-mode-window'; Panel.FOCUSED = 'tracy-focused'; Panel.zIndex = 20000; Panel.prototype.init = function() { var _this = this, elem = this.elem; elem.innerHTML = elem.dataset.tracyContent; Tracy.Dumper.init(this.dumps, elem); delete elem.dataset.tracyContent; delete this.dumps; evalScripts(elem); draggable(elem, { handle: elem.querySelector('h1'), start: function() { _this.toFloat(); } }); elem.addEventListener('mouseover', function(e) { if (isTargetChanged(e.relatedTarget, this)) { _this.focus(); } }); elem.addEventListener('mouseout', function(e) { if (isTargetChanged(e.relatedTarget, this)) { _this.blur(); } }); elem.addEventListener('click', function() { _this.oldPosition = getPosition(elem); }); elem.addEventListener('tracy-toggle', function() { if (_this.oldPosition) { var pos = getPosition(elem); setPosition(elem, { right: pos.right - pos.width + _this.oldPosition.width, bottom: pos.bottom - pos.height + _this.oldPosition.height }); _this.oldPosition = null; } }); forEach(elem.querySelectorAll('.tracy-icons a'), function(a) { a.addEventListener('click', function(e) { if (this.rel === 'close') { _this.toPeek(); } else { _this.toWindow(); } e.preventDefault(); }); }); if (!this.is('tracy-ajax')) { Tracy.Toggle.persist(elem); } }; Panel.prototype.is = function(mode) { return this.elem.classList.contains(mode); }; Panel.prototype.focus = function(callback) { var elem = this.elem; if (this.is(Panel.WINDOW)) { elem.Tracy.window.focus(); } else { clearTimeout(elem.Tracy.displayTimeout); elem.Tracy.displayTimeout = setTimeout(function() { elem.classList.add(Panel.FOCUSED); elem.style.zIndex = Panel.zIndex++; if (callback) { callback(); } }, 50); } }; Panel.prototype.blur = function() { var elem = this.elem; if (this.is(Panel.PEEK)) { clearTimeout(elem.Tracy.displayTimeout); elem.Tracy.displayTimeout = setTimeout(function() { elem.classList.remove(Panel.FOCUSED); }, 50); } }; Panel.prototype.toFloat = function() { this.elem.classList.remove(Panel.WINDOW); this.elem.classList.remove(Panel.PEEK); this.elem.classList.add(Panel.FLOAT); this.reposition(); }; Panel.prototype.toPeek = function() { this.elem.classList.remove(Panel.WINDOW); this.elem.classList.remove(Panel.FLOAT); this.elem.classList.remove(Panel.FOCUSED); this.elem.classList.add(Panel.PEEK); }; Panel.prototype.toWindow = function() { var offset = getOffset(this.elem); offset.left += typeof window.screenLeft === 'number' ? window.screenLeft : (window.screenX + 10); offset.top += typeof window.screenTop === 'number' ? window.screenTop : (window.screenY + 50); var win = window.open('', this.id.replace(/-/g, '_'), 'left=' + offset.left + ',top=' + offset.top + ',width=' + this.elem.offsetWidth + ',height=' + this.elem.offsetHeight + ',resizable=yes,scrollbars=yes'); if (!win) { return false; } var doc = win.document; doc.write('' + '